| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'fix-default-command-upon-shortcut-prefix' of ↵fix-default-command-upon-shortcut-prefix | Mishio595 | 2018-08-06 | 1 | -11/+23 |
| |\ | | | | | | | https://github.com/Lakelezz/serenity into fix-default-command-upon-shortcut-prefix | ||||
| | * | Create `Args` only when needed. | Lake Lezz | 2018-08-06 | 1 | -9/+20 |
| | | | | | | | | | Modify `Args` accordingly upon failed sub-command. | ||||
| | * | Prevent sub-group-prefixes to picked. | Lake Lezz | 2018-08-06 | 1 | -2/+3 |
| | | | |||||
| * | | Merge branch 'upstream' | Mishio595 | 2018-08-06 | 11 | -1168/+2423 |
| |\ \ | |||||
| | * | | Dereference a destructure instead | Zeyla Hellyer | 2018-08-06 | 1 | -3/+3 |
| | | | | |||||
| | * | | Remove match ergonomics usage | Zeyla Hellyer | 2018-08-06 | 1 | -4/+4 |
| | |/ | | | | | | | We support rustc 1.25.0, but match ergonomics are a 1.26.0 feature. | ||||
| | * | Remove usage of inclusive range syntax | Zeyla Hellyer | 2018-08-06 | 1 | -1/+1 |
| | | | | | | | | | We target 1.25.0, but inclusive range is 1.26.0 syntax. | ||||
| | * | Pass failed sub-command to default-command (#357) | Lakelezz | 2018-08-06 | 1 | -1/+2 |
| | | | | | | | | | Pass failed sub-command to default-command. | ||||
| | * | Add simple no-parse getters and advancer to `Args` | acdenisSK | 2018-08-05 | 1 | -1/+67 |
| | | | |||||
| | * | Fix Game From impls on no-model compilation | Zeyla Hellyer | 2018-08-05 | 1 | -2/+10 |
| | | | |||||
| | * | Make http::fire, http::request public | Zeyla Hellyer | 2018-08-05 | 2 | -48/+207 |
| | | | |||||
| | * | [http] Abstract out routing methods and paths | Zeyla Hellyer | 2018-08-05 | 3 | -654/+1694 |
| | | | |||||
| | * | Make http::wind perform requests | Zeyla Hellyer | 2018-08-05 | 1 | -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 method | Zeyla Hellyer | 2018-08-04 | 1 | -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 signature | Zeyla Hellyer | 2018-08-04 | 1 | -1/+1 |
| | | | |||||
| | * | Redo how requests are formed in HTTP module | Zeyla Hellyer | 2018-08-04 | 3 | -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 client | Zeyla Hellyer | 2018-08-04 | 2 | -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 listings | Zeyla Hellyer | 2018-08-03 | 1 | -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 little | acdenisSK | 2018-08-03 | 1 | -12/+7 |
| | | | |||||
| | * | Fix potential dispatch cache deadlocking + log it | Zeyla Hellyer | 2018-08-02 | 1 | -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. | ||||
| * | | Merge branch 'upstream' | Mishio595 | 2018-08-02 | 2 | -8/+22 |
| |\| | |||||
| | * | Add a test-case for no delimiters | acdenisSK | 2018-08-02 | 1 | -0/+9 |
| | | | |||||
| | * | Check if message is empty too | acdenisSK | 2018-08-02 | 1 | -1/+1 |
| | | | |||||
| | * | Add missing `mut` | acdenisSK | 2018-08-02 | 1 | -1/+1 |
| | | | |||||
| | * | Handle no delimiters | acdenisSK | 2018-08-02 | 1 | -7/+12 |
| | | | |||||
| * | | fix a line in cache/mod.rs | Mishio595 | 2018-08-02 | 1 | -2/+2 |
| | | | |||||
| * | | Merge branch 'upstream' | Mishio595 | 2018-08-01 | 20 | -82/+1362 |
| |\| | |||||
| | * | Don't delay Ready with cache enabled | Zeyla Hellyer | 2018-08-01 | 1 | -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 comment | acdenisSK | 2018-08-01 | 1 | -3/+3 |
| | | | |||||
| | * | Add From impls for Game, generify Game params | Zeyla Hellyer | 2018-08-01 | 4 | -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 source | Zeyla Hellyer | 2018-08-01 | 12 | -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` | acdenisSK | 2018-08-01 | 1 | -11/+15 |
| | | | |||||
| | * | Deprecate Context::edit_profile | Zeyla Hellyer | 2018-07-31 | 1 | -0/+1 |
| | | | | | | | | | This method won't exist in v0.6.x. | ||||
| | * | Make GuildId::member use the cache when possible (#356) | Maiddog | 2018-07-31 | 1 | -1/+11 |
| | | | |||||
| | * | Reduce minimal Rust version to 1.25 | Zeyla Hellyer | 2018-07-29 | 2 | -4/+4 |
| | | | |||||
| | * | Add note about cache in UserId::get docs | Zeyla Hellyer | 2018-07-29 | 1 | -2/+3 |
| | | | |||||
| | * | Add `impl AsRef<MessageId> for Message` (#355) | Adelyn | 2018-07-25 | 1 | -0/+6 |
| | | | |||||
| | * | Fix `ChannelId::send_message`'s dead links | acdenisSK | 2018-07-25 | 1 | -3/+3 |
| | | | |||||
| * | | Merge branch 'asref_messageid_for_message' | Mishio595 | 2018-07-24 | 1 | -0/+6 |
| |\ \ | |||||
| | * | | Add `impl AsRef<MessageId> for Message`asref_messageid_for_message | Mishio595 | 2018-07-24 | 1 | -0/+6 |
| | |/ | |||||
| * | | Merge branch 'old_message_on_update' | Mishio595 | 2018-07-24 | 4 | -27/+64 |
| |\ \ | |||||
| | * | | EventHandler::message_update with cache feature sends old message if available | Mishio595 | 2018-07-24 | 4 | -27/+64 |
| | |/ | |||||
| * / | add method Colour::hexcolour_hex | Mishio595 | 2018-07-24 | 1 | -0/+14 |
| |/ | |||||
| * | Fallback to default-command if passed sub-command is wrong | Lakelezz | 2018-07-24 | 1 | -50/+59 |
| | | |||||
| * | Compare built up length with original user-input instead of iterations | Lakelezz | 2018-07-24 | 1 | -5/+16 |
| | | |||||
| * | Some minor changes to `Args` | acdenisSK | 2018-07-21 | 1 | -10/+9 |
| | | | | | | | | - use `?` rather than unwrap - Remove the `PartialEq<TokenKind> impl; it's not needed anymore. - Inline `at_end` because why not. - Split the second part of the while condition as an if inside the body. | ||||
| * | Add default-commands for command-groups (#351) | Lakelezz | 2018-07-21 | 3 | -7/+51 |
| | | |||||
| * | Do not suggest command if no command is actually related to input. (#350) | Lakelezz | 2018-07-20 | 1 | -1/+1 |
| | | |||||
| * | Use `current` to figure out the end quote | acdenisSK | 2018-07-19 | 1 | -17/+4 |
| | | |||||
| * | Style Line | acdenisSK | 2018-07-19 | 1 | -0/+1 |
| | | |||||