Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/twilight-rs/twilight

Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.
https://github.com/twilight-rs/twilight

Add method to fetch sets describing guilds in the cache (#528)

* Add method to get the channels in a guild.

* add methods to fetch the other sets in the cac...

943de56f6ac2b67187db5ae1faa40b8c9f57b5f9 authored about 4 years ago by Erk <[email protected]>
http: bump to v0.1.5

Added

- Add `AuditLogReason` trait, deprecate existing `reason` request
methods ([#522] - [@Erk...

3e1c6976c6fe1d17c56d0166c63258c8f75dd3de authored about 4 years ago by Vivian Hellyer <[email protected]>
gateway: bump to v0.1.2

Added

- Add `Cluster::shards` method to retrieve all shards of a cluster ([#521] - [@dvtkrlbs])...

653615a498262b6e212ffe09c72d29b5c5e3748f authored about 4 years ago by Vivian Hellyer <[email protected]>
http/api_error: handle invalid timestamp (#529)

Handle invalid timestamp errors in responses when sending embeds.

f93425902ea7473cf7c7db5744c6c5e1260ed590 authored about 4 years ago by Colin Adler <[email protected]>
http: add auditlogreason trait (#522)

Add an `AuditLogReason` trait and implement it for all requests that
are auditable with reasons...

a46dcca4554dbbea22fc2e0cc50031be3c8aa2f4 authored about 4 years ago by Erk <[email protected]>
gateway/cluster: add 'shards' method (#521)

Add a `Cluster::shards` method which returns a vector of all shards
managed by the cluster.

654cde9644ad0058df2007b0f62d6f20ce15ca6d authored about 4 years ago by David <[email protected]>
standby: bump to v0.1.1

Fixes

- Fix typo in documentation link ([#523] - [@nickelc])

[@nickelc]: https://github.com/ni...

44c6c8da70e224d5cc18c3e70bf772b310fde843 authored about 4 years ago by Vivian Hellyer <[email protected]>
model: bump to v0.1.3

Added

- Support deserializing user discriminators from integers ([#526] - [@vivian])

[@vivian]...

f436c8014f0b2db1cfd3b2b5b0b0431c8296950b authored about 4 years ago by Vivian Hellyer <[email protected]>
model/user: support discrim deser from integers (#526)

For the `CurrentUser`, `UserProfile`, and `User` model types, support
deserializing discriminat...

d00df643cac5aa8ddeb34a451a9c267406e1cb86 authored about 4 years ago by Vivian <[email protected]>
standby: fix typo in link (#523)

0ccd98ef62b0111987bdccd50045a04b60b701da authored over 4 years ago by nickelc <[email protected]>
lavalink: bump to v0.1.1

Fixes

- Correct type of `http::PlaylistInfo::selected_track` ([#518] - [@MOZGIII])

[@MOZGIII]:...

29e02bd49a6e1978848d82d9eca0cec012f91b0a authored over 4 years ago by Vivian Hellyer <[email protected]>
http: correct changelog

Signed-off-by: Vivian Hellyer <[email protected]>

135362a347437a38a875dfffa34eeb1796bd5b2a authored over 4 years ago by Vivian Hellyer <[email protected]>
http: bump to v0.1.4

Fixes

- Take `CreateReactionType` in ([#520] - [@7596ff])
- Set `content-length` header for `P...

1d23be86fa797cebd4efe813648eaa288dbbc5e1 authored over 4 years ago by Vivian Hellyer <[email protected]>
twilight: add all crates as dev dependencies (#516)

Add all of the crates as development dependencies for easy linking on
crates.io.

Signed-off-...

73cb812bc2c28d8d54f3bdae67bb978bb3731e00 authored over 4 years ago by Vivian <[email protected]>
http/client/reactions: take createreactiontype (#520)

http/client/reactions: take createreactiontype (#520)

9413014ed257bf5ecd1452d260a4c6d914cf5694 authored over 4 years ago by Cassandra McCarthy <[email protected]>
http: set content-length for patch/post/put (#519)

Set the `content-length` header when sending requests with `PATCH`,
`POST`, or `PUT` verbs. Thi...

1e41209ac94221eb437cd0a93a6a5194da373cd3 authored over 4 years ago by AEnterprise <[email protected]>
Correct the type of twilight_lavalink::http::PlaylistInfo.selected_track (#518)

829a15cf92f14369bf8e1092efeb0a8725f42a15 authored over 4 years ago by MOZGIII <[email protected]>
mention: bump to v0.1.1

Added

- Add mention parsing functionality ([#513] - [@vivian])

[@vivian]: https://github.com/v...

44546e2c6731aa35172e9320d56fb740bcd08583 authored over 4 years ago by Vivian Hellyer <[email protected]>
mention: update docs link and description (#517)

Update the documentation link to accurately reflect the current link and
update the description...

67d39abfdbf631c9def9688eb91a39d373bbf1b0 authored over 4 years ago by Vivian <[email protected]>
mention: add parsing functionality (#513)

* mention: add parsing functionality

Add parsing functionality to the `twilight-mention` crat...

9d5d865c0fe36271cf1150ad2f1b7d2a747b8456 authored over 4 years ago by Vivian <[email protected]>
twilight: bump to v0.1.1

Fixes

- Fix links to first party crates ([#498] - [@vivian])

[@vivian]: https://github.com/viv...

f6d93c4ff826ebf531f7dcb8acfce79304702f06 authored over 4 years ago by Vivian Hellyer <[email protected]>
command-parser,embed-builder,gateway,http: fix typos in links (#515)

1472dba0423ea1f5fddf1ec64de4f447e2213231 authored over 4 years ago by nickelc <[email protected]>
http: bump to v0.1.3

Signed-off-by: Vivian Hellyer <[email protected]>

a4acd4f920429a040688b8670cdd6b0b3237ad53 authored over 4 years ago by Vivian Hellyer <[email protected]>
gateway: bump to v0.1.1

Enhancements

- Add doubling delay between reconnect attempts ([#512] - [@vivian])

[@vivian]: h...

43c27f0128b8dad806172ee380024a6719f72190 authored over 4 years ago by Vivian Hellyer <[email protected]>
gateway/shard: add reconnect delay (#512)

Add a multiplying delay when performing a reconnect on a shard. The
reconnect will first wait on...

fb7957aca0d845ce07ccef20ca93df8338b425f1 authored over 4 years ago by Vivian <[email protected]>
http: only set content headers if there's a body (#514)

Only set the content headers when there's a body to send with the
request. This resolves 400 BA...

baaf37033b6f141b62337e6a4bb2b23c8723fcf8 authored over 4 years ago by AEnterprise <[email protected]>
http: undo 'publish = true' in cargo.toml

While publishing crates the `publish` key was accidentally set to
`true`.

Signed-off-by: Vivian...

094017fe3a106e429e4501c556bd0d168c5a36f7 authored over 4 years ago by Vivian Hellyer <[email protected]>
project: unify changelogs

Signed-off-by: Vivian Hellyer <[email protected]>

1203772e41f57ac2db5087b01b52cdf7762bb7d8 authored over 4 years ago by Vivian Hellyer <[email protected]>
model: bump to v0.1.2

Added

- Implement `serde_mappable_seq::Key` for UserOrId ([#509] - [@coadler])

Fixed

- Fix co...

5e37f9ca5a51b25876555211b1929acfc8216f7a authored over 4 years ago by Vivian Hellyer <[email protected]>
http: bump to v0.1.2

Added

- Impl Eq, PartialEq, From for RequestReactionType ([#507] - [@7596ff])
- Support `/oauth...

7311f84d40e6b866960c8e5eaa9958427d5f3871 authored over 4 years ago by Vivian Hellyer <[email protected]>
command-parser: bump to v0.1.1

Changelog:

Fixes

- Fix benchmark compilation ([#511] - [@Erk-])

[@Erk-]: https://github.com/E...

386fdc394a8b4be1c5f8c7d68812ddea1f834d9b authored over 4 years ago by Vivian Hellyer <[email protected]>
http: support /oauth2/applications/@me endpoint (#510)

aa321ab41c02b44b6351525550ec6fcc015d6a02 authored over 4 years ago by AEnterprise <[email protected]>
Fix compilation and running of command and deserialization benchmarks (#511)

* Fix compilation of command bench

* actually fix it

* fix compilation

* remove trailin...

779a07737436f981a29345b5592503df7104b9ef authored over 4 years ago by Erk <[email protected]>
lavalink: add additional static-assertions tests (#508)

Add additional tests for types in the lavalink crate via the
`static-assertions`. Many types we...

05f3f228d53ccf91abbea1507dceaf4fbc660604 authored over 4 years ago by Vivian <[email protected]>
gateway: add static-assertions tests (#506)

Add tests for all public types in the gateway crate via the
`static-assertions` crate.

Signe...

904a812fab0e9e4ddc59e8ac237141dc862b4a8a authored over 4 years ago by Vivian <[email protected]>
model/gateway: impl Key for UserOrId (#509)

5078f594c9f29d41ae0e6aa1ab9d15df29d49d2a authored over 4 years ago by Colin Adler <[email protected]>
model/activity_type: document 'competing' variant (#504)

Document the "Competing" activity type with value 5.

Documentation:
<https://github.com/discord...

3b8b08f85dbc3cca0e8eacdcd1ae01641f161301 authored over 4 years ago by Vivian <[email protected]>
http: derive Eq, PartialEq, impl From for RequestReactionType (#507)

4e046a54853d44dfd6a8ef454306a37e816ea59b authored over 4 years ago by Cassandra McCarthy <[email protected]>
model: bump to v0.1.1 (#503)

Changelog:

Fixes

- Handle webhooks with tokens in path parsing ([#499] - [@vivian])

[@v...

9faf53db2701dd0717067258c8d4a937202cf755 authored over 4 years ago by Vivian <[email protected]>
http: bump to v0.1.1 (#502)

Changelog:

Fixes

- Handle webhooks with tokens in path parsing ([#495] - [@AEnterprise])
...

023c79ff86e4714f6eba38a533ee4187e56693c6 authored over 4 years ago by Vivian <[email protected]>
command-parser: add static-assertions tests (#500)

Add tests for all types in the command parser crate via the
`static-assertions` crate.

Signe...

a41550a03782b2b60bbab4150867a51ff9809e59 authored over 4 years ago by Vivian <[email protected]>
model/id: support deserializing from integers (#499)

In the model's `id` and `oauth::id` crates support the deserialization
of IDs from integers. Th...

859677d51d45fc8e531a4d50345c02213094789c authored over 4 years ago by Vivian <[email protected]>
twilight: fix links to first party crates (#498)

Fix the links to the first party crates (embed builder, lavalink,
mention) in the advertisement...

c7d084cc6c1e6cb8e39e4791d62d1d31b9c4b9c3 authored over 4 years ago by Vivian <[email protected]>
model: add bench path to cargo.toml (#497)

Add the path for the benchmark to the model crate's Cargo.toml bench
entries.

If this isn't ...

2155cca858bfff18e77a077a0349fbbc12438ef1 authored over 4 years ago by Vivian <[email protected]>
command-parser: add bench paths to cargo.toml (#496)

Add the paths for the benchmarks to the command parser's `Cargo.toml`
bench entries.

If this...

0c4b978c1de8f44cbe3b4fc9b8df0c4f1073e7e7 authored over 4 years ago by Vivian <[email protected]>
correctly match webhook route with token for the proxy (#495)

* correctly match webhook route with token for the proxy

* combine arms

84f32ec100166f338ecae30b09a5d2cb831792cc authored over 4 years ago by AEnterprise <[email protected]>
project: prepare 0.1 for publishing (#493)

Prepare version 0.1 for publishing on crates.io.

Closes #459.

Signed-off-by: Vivian Hellye...

8d241283ef8f4e33dc5dd40515458997a17846e8 authored over 4 years ago by Vivian <[email protected]>
gateway: make 'intents' methods non-optional (#494)

Make the cluster and shard builders' `intents` methods take an `Intents`
instead of an `Option<...

4c460efa5ee763cc745b126b2969647debdb3c40 authored over 4 years ago by Vivian <[email protected]>
gateway/shard/processor: deserialize ready once (#492)

Deserialize the ready event only once. Ready events were being specially
handled and deserializ...

f7654a43052be81434d9023c335ddd565daa60dd authored over 4 years ago by Vivian <[email protected]>
add ReactionType to http module without redundant animated property (#468)

* add ReactionType to http module without redundant animated property

* fix formatting

* move ...

9da141c2bb139a0778784e7f3b301734262821ef authored over 4 years ago by AEnterprise <[email protected]>
Change default zlib backend to be system zlib. (#483)

* Change default zlib backend to be system zlib.

This change was made to make the library not n...

d760f9b2d0d2162b3ed61cd96bf34d1a71c2c03d authored over 4 years ago by Erk <[email protected]>
cache/in-memory: document crate, design (#490)

* cache/in-memory: document crate, design

Document the crate in a style similar to that of ot...

862b04bd8c71b6712b3d11fcdbcf3be61b4e647c authored over 4 years ago by Vivian <[email protected]>
project: fill out cargo.toml's (#488)

Fill out the Cargo.toml files for each crate, adding in descriptions,
categories, and linking t...

4b30c3708e43e7efd7c7408290b32de1588ac8b1 authored over 4 years ago by Vivian <[email protected]>
project: turn main crate into advertisement crate (#485)

Turn the "main crate" - `twilight` - into an advertisement crate that
documents the existence a...

45b4220ba27895159506946f9f7189ee92dbeea5 authored over 4 years ago by Vivian <[email protected]>
project: sprinkle around non_exhaustive (#484)

Sprinkle around `#[non_exhaustive]`, especially on things like
validation error enums. Some typ...

c2c3e8cf1734969c046cb409fb99a19c44a67f77 authored over 4 years ago by Vivian <[email protected]>
command-parser: refactor config prefixes (#454)

* refactor command-parser config

Signed-off-by: Erk <[email protected]>

* Appl...

77cd4e52b64f154eb6bf3a2e5c591f546968e452 authored over 4 years ago by Erk <[email protected]>
gateway: fix integer underflow (#473)

1ee79e95a4dffa2ef608364886a018f06b6425e6 authored over 4 years ago by Erk <[email protected]>
Remove Copy and Ordering derives from ShardScheme (#472)

* Remove Copy and Ordering derives from ShardScheme

Copy: We want to be able to add non-copy ...

e50e6f0a8055f27a3c34616c7aec40b2ce681033 authored over 4 years ago by Erk <[email protected]>
Make DeleteChannelPermission work the same way as the UpdateChannelPermission (#478)

* Make DeleteChannelPermission work the same way as the Update

Signed-off-by: Valdemar Erk <v...

e6b5583cde5218ccdb99a0c7fc4fb5df447e0627 authored over 4 years ago by Erk <[email protected]>
use zlib-ng as default (#455)

* use zlib-ng as default

This changeset may look a bit strange in that the zlib-ng-compat
fe...

56158d9f87192490d7534cdeead65855ff7f0328 authored over 4 years ago by Erk <[email protected]>
Downgrade gateway warnings (#482)

* Downgrade resume log from warn to debug

* Downgrade close code and reconnects to info

d60daa286c1ae437d44554b9fb3eb1e40baf5117 authored over 4 years ago by Jens Reidel <[email protected]>
Use UserId for GetUser (#479)

* Use UserId for GetUser

Signed-off-by: Valdemar Erk <[email protected]>

* use userid's disp...

a23d7a01678f94c93fa6b5169df922d9fa2bf3fa authored over 4 years ago by Erk <[email protected]>
gateway: add {cluster,shard}::command_raw (#477)

* Add shard.raw_command

* Run cargo fmt

* apply suggestions

23d8dcec249a6abc4128558fd062774c2dd56214 authored over 4 years ago by Jens Reidel <[email protected]>
Remove rust-toolchain (#481)

f972be12e53ac44d87e18bc7461a9f6c35a8bb00 authored over 4 years ago by Jens Reidel <[email protected]>
Derive from Serialize for cache structs (#474)

ad30b2ff9990da565af0d880b5991c888c90b36b authored over 4 years ago by Jens Reidel <[email protected]>
gateway/cluster: mark shard scheme non exhaustive (#471)

Mark the cluster's shard scheme as non-exhaustive. This change is so we
can add more shard sche...

7432810ec8e1cbcbf1538a184ab9c04818d96794 authored over 4 years ago by Erk <[email protected]>
model/gateway: rename 'gatewayintents' (#469)

Rename `twilight_model::gateway::GatewayIntents` to just `Intents`. It's
not necessary to repea...

89dadc756a9a2c995a3ded869abf17653fcdd519 authored over 4 years ago by Vivian <[email protected]>
gateway/examples/metrics: reduce features (#470)

In the gateway's "metrics" example, reduce the features of dependencies,
mainly `tracing-log` a...

ef71222f5f9d495336a570aff2073e46cc5748cb authored over 4 years ago by Vivian <[email protected]>
gateway/shard: make json payload debug line trace (#465)

Change the tracing line emitting received JSON from a DEBUG to a TRACE.

Signed-off-by: Vivian...

5820dc44d4141e79f5ba6836079531942bc600eb authored over 4 years ago by Vivian <[email protected]>
model/presence: use deserializer for map deser (#462)

When deserializing a map of presences from a sequence of presences,
default the guild ID of the...

fd2d51c2f80ad5cd20ae967b9537bbb870a8357d authored over 4 years ago by Vivian <[email protected]>
project: fix all broken links (#463)

Fix all broken links via `cargo deadlinks`. This fixes links in the
following crates:

- embe...

68eb424e9dc3427ab5165b7f74c66319fa6426f7 authored over 4 years ago by Vivian <[email protected]>
project: clarify example documentation (#461)

Signed-off-by: Vivian Hellyer <[email protected]>

41717b626ccd17b54d6a454aae0d241966b03a6e authored over 4 years ago by Vivian <[email protected]>
gateway: conditionally deserialize received events (#449)

In the gateway's shard processor, conditionally deserialize received
events if the user has spe...

9fdcecbbd9b1b144bae461fa9a0ab2b946d47fff authored over 4 years ago by Vivian <[email protected]>
project: update example to use individual crates (#460)

Update the primary example to use individual crates rather than the
deprecated main one.

Sig...

daacccb73ed5aa63d352d9887c47b679be8599d9 authored over 4 years ago by Vivian <[email protected]>
actions: use api.twilight.rs for cname (#458)

Signed-off-by: Valdemar Erk <[email protected]>

f320b0551b159a87fca3342c5cc8bd149b06ae6c authored over 4 years ago by Erk <[email protected]>
Fix CNAME in workflow (#457)

Signed-off-by: Valdemar Erk <[email protected]>

6114ab7b2da7a3b952204a0d1a5524bf8cf69b9b authored over 4 years ago by Erk <[email protected]>
project: add cname file (#456)

Add a CNAME file pointing to the domain, twilight.rs.

5f8b3f2c97d5378b6feee972028b8c621fe4ead0 authored over 4 years ago by Vivian <[email protected]>
gateway: remove 'queue' example application (#453)

Remove the example 'queue' application for the gateway. This application
implements a "BadQueue...

2e8695d283d269f47269a001504ed72adc8f6887 authored over 4 years ago by Vivian <[email protected]>
standby: test with static_assertions (#452)

In the `twilight-standby` crate, test implementations with
`static_assertions`.

Signed-off-b...

bbef007a774ff03dc8149b29441c6703b18101ab authored over 4 years ago by Vivian <[email protected]>
utils/embed-builder: test with static_assertions (#451)

In the `twilight-embed-builder` crate, test implementations with
`static_assertions`.

Signed...

d15020a855b162c248f7718d63f22ca4e815aec7 authored over 4 years ago by Vivian <[email protected]>
utils/mention: test with static_assertions (#450)

In the `twilight-mention` crate, test implementations with
`static_assertions`.

Signed-off-b...

c6322fcd79e8263462326779c7ab81cab083018b authored over 4 years ago by Vivian <[email protected]>
http: replace calls to request with verify (#448)

Some request future implementations called `Client::request` when
starting requests, while thei...

505dbc6eb681a46f771dc4d3f398d4bbb6cdca98 authored over 4 years ago by Cassandra McCarthy <[email protected]>
command-parser: allow dynamic prefixes (#430)

Allow the user to parse a message with a dynamic prefix not in the
configured list. This allows...

cb990b5dbd7d39d89525640adf5aa44026b55fca authored over 4 years ago by Erk <[email protected]>
gateway/shard: simplify processor (#440)

Simplify the `twilight_gateway::shard::processor` module in its
entirety. This commit breaks up...

fd991cf68d6c89af691a019e020af5b91e543e9e authored over 4 years ago by Vivian <[email protected]>
model: rework request guild members (#442)

Rework the `twilight_model::gateway::payload::RequestGuildMembers` type
by no longer using a va...

4e52db05e145bb39503e6f72a54003950546a191 authored over 4 years ago by Vivian <[email protected]>
model/guild: add missing permissions_new (#444)

After the initial commit
(<https://github.com/discord/discord-api-docs/commit/29ec3458f5c561172...

128d8ba83dad6e720ef3c58ba37d03c2ce7c181d authored over 4 years ago by Vivian <[email protected]>
model/permissions: make bitflags u64 (#445)

It has been confirmed that the permissions bitflags won't go above 64
bits, so this reduces the...

cbe032c9d336f4a7db8e4545e323a857949e9dee authored over 4 years ago by Vivian <[email protected]>
gateway/shard: use configured large threshold (#441)

In the gateway's `ShardProcessor`, actually use the configured
`large_threshold` value. It wasn'...

d989fb1cd2e94980d97157258341bfd05312858b authored over 4 years ago by Vivian <[email protected]>
gateway/shard: simplify closes on shutdown (#439)

Simplify sending close codes on shard shutdown by using `Session::close`
instead of sending ove...

e3a0d1a4e385fc3a22757e39c349a7c7b5965cae authored over 4 years ago by Vivian <[email protected]>
gateway/shard: make 'session' private (#438)

Make the `Shard::session` method private. The Session itself that's
returned is private and una...

58b0508c1e867d1da95a5fd62a6a0652fb65e664 authored over 4 years ago by Vivian <[email protected]>
cache/in-memory: make unnecessary methods private (#437)

Hide unnecessarily public methods in the `InMemoryCache` that should
only be used internally. T...

ef881fa02fe846f174f28343f1a6e38a8b5674e0 authored over 4 years ago by Vivian <[email protected]>
cache,model: make presence guild id required (#435)

Make `twilight_model::gateway::Presence::guild_id` a non-Optional field.
Also make `twilight_mo...

c2496b419c90661a4282b6d6656a12f1cedf2de7 authored over 4 years ago by Vivian <[email protected]>
gateway: document everything (#432)

Document everything in the gateway, updating much of the old
documentation and adding documenta...

e5b4802a17c3dfb6b7cea71c6f02799880529e72 authored over 4 years ago by Vivian <[email protected]>
command-parser,model,twilight: correct readmes (#436)

Correct the readmes in the command-parser, model, and twilight crates
by specifying that the la...

ba9f99e48dccff7089105201f2831954917ab8f1 authored over 4 years ago by Vivian <[email protected]>
lavalink: update dependencies (#434)

- async-tungstenite 0.7 -> 0.8

3c7bc4727f151cfd55b3db498c77ca7723625bdf authored over 4 years ago by nickelc <[email protected]>
model: fix bad merge from permission change (#433)

Fix a bad merge caused by #428.

Signed-off-by: Vivian Hellyer <[email protected]>

25b90adab861c8889a962afccfb77efd8e309b27 authored over 4 years ago by Vivian <[email protected]>
model: add tests to most types (#400)

Add tests to the (de)serialization of all types: models, enums,
bitflags, everything. Additiona...

da88520f9786accff01a14ca99563415aa328981 authored over 4 years ago by Vivian <[email protected]>
Remove mentions of allow_old and deny_old (#431)

Signed-off-by: Valdemar Erk <[email protected]>

6a77ecb79e4d4fc9659c93c534900565019966cc authored over 4 years ago by Erk <[email protected]>
gateway/inflater: refactor internals (#419)

Refactor the internals of the inflater to be clearer and to split a few
more pieces of function...

95eb61e6710cc7a85e7945f1633f699a854dba67 authored over 4 years ago by Vivian <[email protected]>
cache: rework crates (#427)

Rework the cache crate setup to simplify down from 3 (4, kind of) crates
to just 1 crate.

Th...

aafc11b9147bdf7e5917ed913e502c7f21a0651e authored over 4 years ago by Vivian <[email protected]>