aboutsummaryrefslogtreecommitdiff
path: root/src/client
Commit message (Collapse)AuthorAgeFilesLines
...
* Change rest::execute_webhooks to a POSTAustin Hellyer2017-01-241-1/+1
|
* Make BootInfo/MonitorInfo privateAustin Hellyer2017-01-231-3/+3
|
* Switch to a mostly-fully OOP approachAustin Hellyer2017-01-232-1133/+276
| | | | | | The context is now strictly in relation to the context of the current channel related to the event, if any. See Context::say for a list of events that the context can be used for.
* Fix no-framework compilationAustin Hellyer2017-01-211-12/+28
|
* Dispatch Ready eventsAustin Hellyer2017-01-211-6/+23
|
* Reboot shard on broken pipeAustin Hellyer2017-01-203-108/+211
| | | | | | If the receiver or sender breaks the pipe for one reason or another, shutdown both. Afterwards, close down the keepalive and perform a reboot of the shard.
* Make a single POST on guild role createAustin Hellyer2017-01-182-15/+3
| | | | | The endpoint to create a role no longer returns an empty role which must be PATCHed, and can be completed in the initial request.
* TRACE-log on shard handler event receivalAustin Hellyer2017-01-181-0/+4
|
* Credit Shard::latencyAustin Hellyer2017-01-161-0/+2
|
* Set internal seq to number received on dispatchesAustin Hellyer2017-01-151-0/+2
|
* Don't reconnect on WS error within some timeAustin Hellyer2017-01-151-0/+7
| | | | Wait until at least one heartbeat has been sent before doing so.
* Reconnect on any websocket errorAustin Hellyer2017-01-151-2/+0
|
* Add shard latency trackingAustin Hellyer2017-01-142-7/+38
|
* Clarify that messages can't be older than 2 weeks.Illia2017-01-141-0/+2
|
* Fix a payload decodeAustin Hellyer2017-01-091-6/+1
| | | | Resume doesn't have a heartbeat_interval, so don't try to decode it.
* Add more shard loggingAustin Hellyer2017-01-081-6/+32
|
* Slightly modify close resume logicAustin Hellyer2017-01-081-1/+4
|
* Wait 5s between shard bootsAustin Hellyer2017-01-071-0/+3
|
* Fix shard boot indexAustin Hellyer2017-01-071-4/+4
|
* Make Client.shards privateAustin Hellyer2017-01-051-1/+1
|
* Fix rs suffixIllia2017-01-052-2/+2
|
* Simplify a small bit of ContextAustin Hellyer2017-01-041-21/+14
|
* Simplify Context::get_reaction_usersAustin Hellyer2017-01-041-5/+1
|
* Fix Context::get_reaction_users docsAustin Hellyer2017-01-041-6/+0
|
* Add Context::get_userAustin Hellyer2017-01-041-0/+22
|
* Return a User from rest::get_userAustin Hellyer2017-01-041-2/+2
|
* 4011 is not handableLaura2017-01-041-1/+2
|
* Remove user logout endpointAustin Hellyer2017-01-012-26/+0
|
* Implement context message queueingTaavi2017-01-011-1/+38
| | | Also the dreaded `ctx <<= "something"` which is actually a mistake.
* Convert heartbeat debug to a traceAustin Hellyer2016-12-311-1/+1
|
* Fix typoIllia2016-12-313-5/+5
|
* Remove use of struct pattern matchAustin Hellyer2016-12-291-1/+1
|
* Slightly simplify Shard::set_presenceAustin Hellyer2016-12-291-5/+4
|
* "Fix" clippy lintsAustin Hellyer2016-12-291-0/+1
|
* Add guild and channel searchAustin Hellyer2016-12-294-2/+155
|
* Rework some event handlesAustin Hellyer2016-12-291-3/+24
|
* Heartbeat recv: send null d valueAustin Hellyer2016-12-291-1/+1
|
* A bit more loggingAustin Hellyer2016-12-291-0/+4
|
* Round 1Austin Hellyer2016-12-295-61/+123
|
* Use conditional blocks over macrosAustin Hellyer2016-12-294-34/+54
|
* Update current user presence in cache on setAustin Hellyer2016-12-281-1/+20
| | | | | | | | Update the presence of the current user in the cache - if enabled - when the current user updates their presence through a Shard. Additionally, instead of sending an idle "since" of 0, use the current time.
* Accept u64 shard countsAustin Hellyer2016-12-263-9/+12
|
* Add `on_message` exampleindiv02016-12-211-0/+16
|
* Fix current application decodingAustin Hellyer2016-12-181-4/+13
| | | | | | | | | The endpoint for retrieving the current application does not return a `flags`, so don't try to decode it. Additionally, rename `get_application_info` to `get_current_application_info` and create a new `get_application_info` for getting the current user's applications by Id.
* Remove cache feature dependency for frameworkAustin Hellyer2016-12-161-0/+12
|
* Make 'voice' feature not require 'cache'Austin Hellyer2016-12-161-1/+1
| | | | | | | | The voice module required the cache feature in order to access the current user's Id. Instead, just copy the Id into the VoiceManager and distribute it from there -- the memory impact will be very minimal in comparison to the benefits of not needing to constantly unlock the Cache and not needing the user to be forced to use the Cache.
* Simplify gateway identify compressionAustin Hellyer2016-12-161-7/+2
|
* Don't mutate token for bots on profile changezeyla2016-12-131-2/+4
|
* Implement command groups and bucketsIllia2016-12-131-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement command groups * change to ref mut * Implement framework API. * Remove commands field * Make it all work * Make example use command groups * Requested changes * Implement adding buckets * Add ratelimit check function * Finish everything * Fix voice example * Actually fix it * Fix doc tests * Switch to result * Savage examples * Fix docs * Fixes * Accidental push * 👀 * Fix an example * fix some example * Small cleanup * Abstract ratelimit bucket logic
* Cleanup gateway prepAustin Hellyer2016-12-121-4/+1
|