aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Correct the endpoint for bulk-delete to POST from DELETErouting-fixesMishio5952018-08-171-1/+1
|
* Fix routing for http::create_private_channelZeyla Hellyer2018-08-131-1/+1
|
* Use `to_`- and `as_`-methods instead of `get` and `find` on Id newtypesLakelezz2018-08-1215-52/+173
|
* Revert "Send silence frames upon connection (Fix #301)"Zeyla Hellyer2018-08-112-5/+3
| | | | | | This reverts commit 83a0c85b0bf87cb4272b5d6e189d139fc31a6d23. This makes voice sending work again.
* Add Colour::hexMishio5952018-08-111-0/+16
| | | | (cherry picked from commit 6c94e05f6a8de131d0ffc913fd6ccbad602b339e)
* Make default-command receive every bit of the command upon failureLakelezz2018-08-111-4/+3
|
* Use one macro instead of the same code twice, avoid seperated changes. (#365)Lakelezz2018-08-111-18/+13
|
* Fix `iter_quoted`'s doctestacdenisSK2018-08-101-2/+3
|
* Fix all the dead links in the docsErk-2018-08-0946-558/+551
|
* [routing] Fix various incorrect routes. (#364)Lymia Aluysia2018-08-081-4/+4
|
* [http] Fix some routing issuesZeyla Hellyer2018-08-081-4/+4
| | | | | | | | | | | Fix the following issues with the routing: - AddMemberRole now POSTs instead of DELETEs - GuildBanUser now POSTs instead of DELETEs - CreateRole now POSTs instead of DELETEs - CreateWebhook now POSTs instead of DELETEs These issues arose from commit hash bbbf63868a8ef3c0f21c1896f7afb96f4d8fbcc1.
* Fix erroneous deadlock detected messages. (#363)Lymia Aluysia2018-08-081-10/+10
|
* Decringe an old commentacdenisSK2018-08-081-2/+1
|
* TypoacdenisSK2018-08-071-1/+1
|
* Capitalise iacdenisSK2018-08-071-4/+4
|
* Refactor docs in `Args`acdenisSK2018-08-071-83/+102
| | | | Use Note headings also.
* Reword `ArgError`'s docs a littleacdenisSK2018-08-071-3/+2
|
* Unwrap `rfind`acdenisSK2018-08-071-6/+1
|
* Fix a usage of a private function in a testZeyla Hellyer2018-08-071-1/+1
|
* Fix compilation + tests on certain feature combosZeyla Hellyer2018-08-077-81/+132
| | | | | | | | On certain feature combinations, compilation and tests would not function correctly. This commit goes through a number of feature combinations and gates some tests behind the required features and fixes other compilation errors.
* Fix some documentation spacingZeyla Hellyer2018-08-071-17/+11
|
* Fixes all of the dead links in permissions. (#359)Erk-2018-08-071-75/+75
|
* Added support for the new PRIORITY_SPEAKER permission (#360)Erk-2018-08-071-0/+8
|
* Fix default command upon shortcut prefix and passing sub-commands to ↵Lakelezz2018-08-071-11/+28
| | | | default-command (#358)
* Do not return Result from main in testsacdenisSK2018-08-071-2/+10
| | | | This feature is special to 1.26, but we support 1.25
* Dereference a destructure insteadZeyla Hellyer2018-08-061-3/+3
|
* Remove match ergonomics usageZeyla Hellyer2018-08-061-4/+4
| | | | We support rustc 1.25.0, but match ergonomics are a 1.26.0 feature.
* Remove usage of inclusive range syntaxZeyla Hellyer2018-08-061-1/+1
| | | | We target 1.25.0, but inclusive range is 1.26.0 syntax.
* Pass failed sub-command to default-command (#357)Lakelezz2018-08-061-1/+2
| | | | Pass failed sub-command to default-command.
* Add simple no-parse getters and advancer to `Args`acdenisSK2018-08-051-1/+67
|
* Fix Game From impls on no-model compilationZeyla Hellyer2018-08-051-2/+10
|
* Make http::fire, http::request publicZeyla Hellyer2018-08-052-48/+207
|
* [http] Abstract out routing methods and pathsZeyla Hellyer2018-08-053-654/+1694
|
* Make http::wind perform requestsZeyla Hellyer2018-08-051-57/+64
| | | | | | | Instead of making it take response objects and verifying the status code, it now performs requests itself. This further simplifies HTTP function code.
* Add an internal http::fire methodZeyla Hellyer2018-08-041-259/+117
| | | | | | | Add an internal `http::fire` method, which performs a request and then deserializes the response reader as the provided type bound. This simplifies a lot of request function code.
* Remove an unnecessary lifetime on fn signatureZeyla Hellyer2018-08-041-1/+1
|
* Redo how requests are formed in HTTP moduleZeyla Hellyer2018-08-043-616/+688
| | | | | | | | | | Instead of passing around a function that builds an HTTP client request builder, pass around a struct that contains the necessary information _to_ build that request builder. Additionally, instead of using a macro to generate requests, just call a request function. This saves some required code expansion and is just easier to read and maintain.
* Maintain a single, re-used HTTP clientZeyla Hellyer2018-08-042-35/+21
| | | | | | | Instead of creating a new HTTP client for each request, keep a single one for every HTTP request. This will make things faster due to keepalives.
* Update Configuration default value listingsZeyla Hellyer2018-08-031-32/+84
| | | | | | Update the default value for each method on the builder, as well as making the list of default values in the `Default` implementation's documentation up-to-date.
* Refactor `command::positions` a littleacdenisSK2018-08-031-12/+7
|
* Fix potential dispatch cache deadlocking + log itZeyla Hellyer2018-08-021-1/+12
| | | | | | Fix the dispatch functionality potentially deadlocking when a deadlock has occurred elsewhere (or a read/write lock is forever held elsewhere), and log when it happens, WARNing the user that a possible deadlock has happened.
* Add a test-case for no delimitersacdenisSK2018-08-021-0/+9
|
* Check if message is empty tooacdenisSK2018-08-021-1/+1
|
* Add missing `mut`acdenisSK2018-08-021-1/+1
|
* Handle no delimitersacdenisSK2018-08-021-7/+12
|
* Don't delay Ready with cache enabledZeyla Hellyer2018-08-011-46/+5
| | | | | | | | | | | When the cache is enabled, don't delay the Ready until all guilds have been received. This never really worked in the first place and duplicates the "cached" logic that fires when all guilds have been received. This presumably fixes the "silent death" bug, as this appears to stall the thread on certain conditions.
* De-cringe a commentacdenisSK2018-08-011-3/+3
|
* Add From impls for Game, generify Game paramsZeyla Hellyer2018-08-014-13/+76
| | | | | Add more `impl From<T> for Game` implementations, and make `Into<Game>` trait bounds for all function parameters accepting a Game.
* Move unit tests into sourceZeyla Hellyer2018-08-0112-0/+1242
| | | | | | | | | Move the unit tests into the relevant source files. There's no need for them to be seprate, especially when the `tests` directory is meant to be for integration tests. The deserialization tests that include JSON files are still in the `tests` dir, along with the public prelude re-export tests.
* Reword the inner doc comment in `complex_bucket`acdenisSK2018-08-011-11/+15
|