aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | | | | | | | | | | | | | | | Add option for user to delete the not found message before it's auto deleted.Gravatar Numerlor2020-06-29-4/+11
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Trigger typing in converter instead of command.Gravatar Numerlor2020-06-29-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The converter does a web request so triggering typing in the command itself left out a period where the bot seemed inactive.
| | * | | | | | | | | | | | | | | | | | | | Add stat for packages of fetched symbols.Gravatar Numerlor2020-06-29-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An additional variable is added to the DocItem named tuple to accommodate this. The `_package_name` is separated from `api_package_name` it previously overwrote and is now used for the stats and renamed symbols because the names are in a friendlier format.
| | * | | | | | | | | | | | | | | | | | | | Only update added inventory instead of all.Gravatar Numerlor2020-06-28-1/+1
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Only include one newline for `p` tags in `li` elements.Gravatar Numerlor2020-06-27-0/+7
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Redesign `find_all_text_until_tag` to search through all direct children.Gravatar Numerlor2020-06-27-27/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous approach didn't work for arbitrary tags with text.
| | * | | | | | | | | | | | | | | | | | | | Strip backticks from symbol input.Gravatar Numerlor2020-06-21-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the user to wrap symbols in codeblocks to avoid markdown.
| | * | | | | | | | | | | | | | | | | | | | Correct return when a module symbol could not be parsed.Gravatar Numerlor2020-06-21-9/+8
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Fix typehint.Gravatar Numerlor2020-06-21-1/+1
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Renamed existing symbols from `NO_OVERRIDE_GROUPS` instead of replacing.Gravatar Numerlor2020-06-21-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, when a symbol from the group shared the name with a symbol outside of it the symbol was simply replaced and lost. The new implementation renames the old symbols to the group_name.symbol format before the new symbol takes their place.
| | * | | | | | | | | | | | | | | | | | | | Add symbol group name to symbol inventory entries.Gravatar Numerlor2020-06-21-10/+17
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Remove unnecessary join.Gravatar Numerlor2020-06-21-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `find_all_text_until_tag` already returns a string so a join is not needed.
| | * | | | | | | | | | | | | | | | | | | | Also check signatures before selected symbol when collecting 3 signatures.Gravatar Numerlor2020-06-21-1/+5
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Account for `NavigableString`s when gathering text.Gravatar Numerlor2020-06-21-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `find_next()` only goes to tags, leaving out text outside of them when parsing.
| | * | | | | | | | | | | | | | | | | | | | Make sure only class contents are included, without methods.Gravatar Numerlor2020-06-18-13/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When parsing classes, methods would sometimes get included causing bad looking markdown to be included in the description, this is solved by collecting all text *up to* the next dt tag. fixes: #990
| | * | | | | | | | | | | | | | | | | | | | Move symbol parsing into separate methods.Gravatar Numerlor2020-06-18-23/+43
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Skip symbols with slashes in them.Gravatar Numerlor2020-06-17-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The symbols mostly point to autogenerated pages, and do not link to specific symbols on their pages and are thus unreachable with the current implementation.
| | * | | | | | | | | | | | | | | | | | | | Make doc get greedy.Gravatar Numerlor2020-06-17-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to find docs for symbols with spaces in them.
| | * | | | | | | | | | | | | | | | | | | | Resolve relative href urls in a html elements.Gravatar Numerlor2020-06-17-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most docs will use relative urls to link across their pages, without resolving them ourselves the links remain unusable in discord's markdown and break out of codeblocks on mobile.
| | | | | | | | | | * | | | | | | | | | | | Use == instead of str.startswithGravatar ToxicKidz2021-04-12-2/+3
| | |_|_|_|_|_|_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | Update error handler tests to match with recent changesGravatar ks1292021-02-19-9/+72
| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | Remove unnecessary ResponseCodeError suppressGravatar ks1292021-02-19-4/+2
| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | Remove verification channel special case from error handler testsGravatar ks1292021-02-19-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't have a verification channel anymore, so this have no point and this just give errors.
| | | | | | | | | | | | | | | | | | * | | Merge branch 'master' into error-handler-testGravatar ks1292021-02-19-2907/+3859
| | | | | | | | | | | | | | | | | | |\ \ \
| | | | | | | | | | | | | | | | | | * \ \ \ Merge branch 'master' into error-handler-testGravatar ks1292020-11-21-2526/+3832
| | | | | | | | | | | | | | | | | | |\ \ \ \
| | | | | | | | | | | | | | | | | | * | | | | EH tests: Fix InWhitelistCheckFailure import pathGravatar ks1292020-09-27-1/+1
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | EH Tests: Fix order of importsGravatar ks1292020-09-27-2/+2
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | Merge remote-tracking branch 'upstream/master' into error-handler-testGravatar ks1292020-09-27-4304/+8809
| | | | | | | | | | | | | | | | | | |\ \ \ \ \
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Create test for `handle_unexpected_error`Gravatar ks1292020-05-19-2/+37
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Create test for `ErrorHandler` `setup` functionGravatar ks1292020-05-19-1/+11
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Create tests for `handle_api_error`Gravatar ks1292020-05-19-0/+33
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Merge test classesGravatar ks1292020-05-19-11/+4
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Create test for `handle_check_failure`Gravatar ks1292020-05-19-0/+48
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Create test for `handle_input_error`Gravatar ks1292020-05-19-6/+36
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | Error Handler: Changed way of help command get + send to avoid warningGravatar ks1292020-05-19-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only get coroutine when this is gonna be awaited.
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Created test for `handle_user_input_error` `get_help_command`Gravatar ks1292020-05-19-0/+16
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Added test for `try_get_tag` `ResponseCodeError` ignoreGravatar ks1292020-05-19-0/+6
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Added test for `try_get_tag` `ctx.invoke` callingGravatar ks1292020-05-19-0/+7
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Added test for `try_get_tag` tag name converting failingGravatar ks1292020-05-19-0/+9
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Added test for `try_get_tag` successful tag name convertingGravatar ks1292020-05-19-0/+9
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Added test for `try_get_tag` error handlingGravatar ks1292020-05-19-2/+11
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Added test for `try_get_tag` checks failGravatar ks1292020-05-19-2/+8
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Added test for `try_get_tag` `invoked_from_error_handler`Gravatar ks1292020-05-19-0/+7
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Added test for `try_get_tag` `get_command` callingGravatar ks1292020-05-19-0/+19
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Added tests for `get_help_command`in `OtherErrorHandlerTests`Gravatar ks1292020-05-19-0/+32
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Cleanup `try_silence` testsGravatar ks1292020-05-18-39/+27
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Added test for `try_silence` no match messageGravatar ks1292020-05-18-0/+6
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Created `try_silence` test to test unsilence command callingGravatar ks1292020-05-18-0/+17
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Created `try_silence` test to test silence command callingGravatar ks1292020-05-18-0/+17
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | EH Tests: Created `try_silence` test to check no permission with exceptGravatar ks1292020-05-18-0/+8
| | | | | | | | | | | | | | | | | | | | | | | |