aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | (Space Cog): Fix `DateConverter`'s docstringGravatar ks1232020-03-11-2/+2
| | | | | | |
| * | | | | | (Space Cog): Add `self.rovers` using to `.space mars` command check.Gravatar ks1232020-03-11-2/+7
| | | | | | |
| * | | | | | (Space Cog): Removed unnecessary part of `.space mars` docstring due `.space ↵Gravatar ks1232020-03-11-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mars dates` adding
| * | | | | | (Space Cog): Added `.space mars dates` command to see what rovers is ↵Gravatar ks1232020-03-11-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | currently available and their date ranges.
| * | | | | | (Space Cog): Created task for `.mars` command rovers fetching one time in dayGravatar ks1232020-03-11-0/+15
| | | | | | |
| * | | | | | (Space Cog): Add base URL parameter to helper function `fetch_from_nasa`Gravatar ks1232020-03-11-2/+3
| | | | | | |
| * | | | | | (Space Cog): Removed unnecessary sentence from `.mars` command docstringGravatar ks1232020-03-10-1/+1
| |/ / / / /
| * | | | | (Space Cog): Added optional search term to `.space nasa` command, removed ↵Gravatar ks1232020-03-07-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | random page due no way to fetch how much pages is really there with specific search term.
| * | | | | (Space Cog): Added date parameter to `.space epic` command.Gravatar ks1232020-03-07-3/+19
| | | | | |
| * | | | | (Space Cog): Added `invoke_without_command` parameter to `.space` command to ↵Gravatar ks1232020-03-07-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | not call head command when trying to use subcommand.
| * | | | | (Space Cog): Improved `.space mars` command, added possibility for SOL date ↵Gravatar ks1232020-03-07-13/+42
| | | | | | | | | | | | | | | | | | | | | | | | and way to change rover. Added custom converter for SOL and standard date.
| * | | | | (Space Cog): Renamed `.space earth` command to `.space epic` for upcoming ↵Gravatar ks1232020-03-07-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | new command.
| * | | | | (Space Cog): Created head command `.space` and added all other commands under itGravatar ks1232020-03-07-5/+10
| | | | | |
| * | | | | (Space Cog): Fixes with random module. Removed manual random list item ↵Gravatar ks1232020-03-02-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | getting with random.choice
| * | | | | (Space Cog): .apod Command Fixes: Renamed default parameters constant, ↵Gravatar ks1232020-03-02-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | changed embed title, removed HD parameter + changed img from hdurl to url.
| * | | | | (Space Cog): Renamed + fixed base URLs constantsGravatar ks1232020-03-02-8/+7
| | | | | |
| * | | | | (Space Cog): Modified base URLs (removed slash at end, added to queries), ↵Gravatar Karlis. S2020-02-29-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | modified .mars command result check, some very small fixes.
| * | | | | (Space Cog): Added .mars command, removed get_random_nasa_command (no need ↵Gravatar Karlis. S2020-02-29-11/+35
| | | | | | | | | | | | | | | | | | | | | | | | for it) and moved all what this do to .nasa command.
| * | | | | (Space Cog): Added .earth command, created new base URL: NASA Epic API base URLGravatar Karlis. S2020-02-29-0/+23
| | | | | |
| * | | | | (Space Cog): Added .nasa command that show information and facts about NASA ↵Gravatar Karlis. S2020-02-29-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | and/or space
| * | | | | (Space Cog): Created get_random_nasa_item function what will be used in ↵Gravatar Karlis. S2020-02-29-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | (upcoming) .nasa command.
| * | | | | (Space Cog): Created .apod command that support date parameter.Gravatar Karlis. S2020-02-29-2/+27
| | | | | |
| * | | | | (Space Cog): Added fetch_from_nasa function to space.py, what do request to ↵Gravatar Karlis. S2020-02-29-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | NASA API and support arguments endpoint and params.
| * | | | | (Space Cog): Added NASA API base URL and .apod command HTTP request default ↵Gravatar Karlis. S2020-02-29-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | parameters
| * | | | | (Space Cog): Added NASA API key check on load, added loggerGravatar Karlis. S2020-02-29-0/+10
| | | | | |
| * | | | | Added NASA API Key to constants.pyGravatar Karlis. S2020-02-29-0/+1
| | | | | |
| * | | | | Added Space CogGravatar Karlis. S2020-02-29-0/+16
| | | | | |
| | | | * | (Games Cog): Updated task repeating cooldown time.Gravatar Karlis S2020-03-31-1/+1
| | | | | | | | | | | | | | | | | | Changed `hours` argument in `refresh_genres_task` from `1.0` to `24.0` due no need for so fast updating.
| | | | * | (Games Cog): Removed unnecessary check on possibilities showing.Gravatar ks1232020-03-31-1/+1
| | | | | |
| | | | * | (Games Cog): Added ratio filtering to `get_best_results`, simplified ↵Gravatar ks1232020-03-31-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | matching in `.games` command.
| | | | * | (Games Cog): Added check is there more than 1 possibility of genre matching ↵Gravatar ks1232020-03-31-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | that have higher than 0.60 ratio.
| | | | * | (Games Cog): Fixed matching not found messageGravatar ks1232020-03-24-1/+3
| | | | | |
| | | | * | (Games Cog): Removed unnecessary parameter from matching helper function.Gravatar ks1232020-03-23-2/+2
| | | | | |
| | | | * | (Games Cog): Added wrong genre matching to `.games <genre>` command.Gravatar ks1232020-03-23-3/+15
| | | | | |
| | | | * | (Games Cog): Created new helper function `get_best_results` to match not ↵Gravatar ks1232020-03-23-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | correct genres.
| | | | | * Docstring: remove dots from list entriesGravatar kwzrd2020-04-01-8/+8
| | | | | |
| | | | | * Deseasonify: remove redundant log level setterGravatar kwzrd2020-04-01-1/+0
| | | | | |
| | | | | * Deseasonify: implement __str__ for Month enumGravatar kwzrd2020-04-01-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way, we can standardize the way Months are shown to both the user and the developer. Note that if passing a Month member to an f-string, the `!s` format code must be specified to ensure our __str__ is used. Co-authored-by: MarkKoz <[email protected]>
| | | | | * Deseasonify: yield ints representing days since cycleGravatar kwzrd2020-03-31-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the `should_cycle` iterator would signal that it is time to cycle by yielding True. As per Mark's suggestion, this is adjusted to yield either None, or ints representing days since last cycle. This is more transparent, as the daemon can now perform the comparison against the configured cycle frequency itself, rather than relying on being fed the correct value from a "black box". See `_reset_should_cycle` docstring for further clarification. Co-authored-by: MarkKoz <[email protected]>
| | | | | * Deseasonify: validate season setupGravatar kwzrd2020-03-31-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a static check confirming that no seasons overlap. This avoids having to deal with ambiguities in `get_current_season` at runtime, as we can now rely on `len(active_seasons)` always being 0 or 1. Co-authored-by: MarkKoz <[email protected]>
| | | | | * Deseasonify: adjust 'Merrybot' to 'MerryBot'Gravatar kwzrd2020-03-31-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the sake of consistency - all other seasonal bot names have the B capitalized. Co-authored-by: MarkKoz <[email protected]>
| | | | | * Deseasonify: set target branch to masterGravatar kwzrd2020-03-31-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the 'seasonal-structure' branch being merged in the branding repository, we can start polling master.
| | | | | * Deseasonify: title-case month names in frontendGravatar kwzrd2020-03-31-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After 00af207de3087a41270f216ad86e06ba7dbf9d42, we should ensure that the month names aren't shown to the user in all caps. Co-authored-by: MarkKoz <[email protected]>
| | | | | * Deseasonify: turn helpers into regular functionsGravatar kwzrd2020-03-31-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not necessary for these to be coroutines. Co-authored-by: MarkKoz <[email protected]>
| | | | | * Deseasonify: `pop` from remaining icons rather than unpackGravatar kwzrd2020-03-31-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should be more readable. Co-authored-by: MarkKoz <[email protected]>
| | | | | * Deseasonify: delegate refresh to dedicated commandGravatar kwzrd2020-03-31-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduces code duplication. Co-authored-by: MarkKoz <[email protected]>
| | | | | * Refactor: Github to GitHubGravatar kwzrd2020-03-31-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: MarkKoz <[email protected]>
| | | | | * Refactor: adjust docstrings based on feedbackGravatar kwzrd2020-03-31-17/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Capitalize month names * Add backticks to `sha` attr reference * Avoid misusing the term 'poll' Co-authored-by: MarkKoz <[email protected]>
| | | | | * Refactor: capitalize AssetType enum membersGravatar kwzrd2020-03-31-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: MarkKoz <[email protected]>
| | | | | * Refactor: capitalize Month enum membersGravatar kwzrd2020-03-31-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: MarkKoz <[email protected]>