aboutsummaryrefslogtreecommitdiff
path: root/src/client
Commit message (Collapse)AuthorAgeFilesLines
...
* Update examples for OOP updateAustin Hellyer2017-01-261-4/+4
|
* Make Guild::create_channel return a GuildChannelAustin Hellyer2017-01-251-2/+2
| | | | | | | | | | | Instead of returning a generic `Channel` enum, make the following functions return an explicit GuildChannel instead of a more "generic" Channel enum: - Guild::create_channel - GuildId::create_channel - PartialGuild::create_channel - rest::create_channel
* Add guild chunkingAustin Hellyer2017-01-251-0/+13
|
* Fix shard immediately rebooting on handle startAustin Hellyer2017-01-241-0/+2
|
* Fix no-framework compilesAustin Hellyer2017-01-242-8/+8
|
* Fix docs linksAustin Hellyer2017-01-246-21/+28
|
* Properly drop on bindsAustin Hellyer2017-01-242-3/+3
| | | | | | | Instead of binding to `_why`, bind to `_`, dropping the value. This is pretty much just leftover from when the library was being rapidly developed before being released.
* Avoid a lot of Arc/Message/RwLock clonesAustin Hellyer2017-01-242-343/+170
| | | | | | | When passing monitoring info from the shard handler to the dispatch function, pass arguments by reference instead of by cloning and passing by reference. Additionally, don't re-clone handler Arcs and temporary Messages.
* Avoid a needless clone on loginAustin Hellyer2017-01-241-20/+11
|
* Abstract large threshold number to a constantAustin Hellyer2017-01-241-2/+2
|
* Code styleAustin Hellyer2017-01-241-56/+26
|
* 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
|