aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-11-10Simplify duplicate symbol name handling codeGravatar Numerlor-10/+4
With the catchall else condition and symbols from FORCE_PREFIX_GROUPS getting renamed even when being overwritten, we can ignore the package handling and let it go to the else which adds the package prefix instead of a group
2020-11-10Add package in front of symbol as default fallbackGravatar Numerlor-2/+1
Previously weo nly added the package name for symbols that shared are named name with an another symbol, but in some edge cases we can get to this point with symbols that weren't renamed but have name conflicts, causing some to get overwritten completely without the capturing condition
2020-11-10Cache user fetched symbols through redis.Gravatar Numerlor-2/+43
2020-10-18Handle escaped backslashes in stringsGravatar Numerlor-3/+3
2020-10-10Exclude headerlinks outside of current sectionGravatar Numerlor-9/+13
2020-10-10Use more descriptive name for end_tag_filterGravatar Numerlor-5/+5
2020-10-10Handle non dt fallback together with modulesGravatar Numerlor-6/+1
2020-10-10Reschedule failed inventory updatesGravatar Numerlor-4/+35
2020-10-10Remove sphinx and requests from PipfileGravatar Numerlor-2/+0
With our own implementation of sphinx's inventory fetching we no longer need the sphinx package, and requests which were used inside of it.
2020-10-10Use new async inventory fetchingGravatar Numerlor-64/+7
2020-10-10Handle errors on inventory fetchingGravatar Numerlor-2/+35
2020-10-10Add async implementation of sphinx fetch_inventoryGravatar Numerlor-0/+117
The sphinx version of the function does a lot of checks that are unnecessary for the bot because it's not working with anything else related to docs. The custom implementation means we can throw some of the code out and get rid of sphinx as a dependency.
2020-10-10Add parentheses for clarityGravatar Numerlor-1/+1
2020-10-10Make amount of included signatures configurableGravatar Numerlor-7/+10
2020-10-10Collapse signatures between args instead of spacesGravatar Numerlor-3/+92
The signature length needed more logic and shorter limits to ensure messages would fit in a discord message in a nice way.
2020-10-08Fix millisecond time for command processing timeGravatar Gustav Odinger-1/+1
- For the `.ping` command - Fixes a faulty convertion from seconds to milliseconds
2020-10-08Update bot/exts/moderation/infraction/infractions.pyGravatar scragly-1/+1
Co-authored-by: Dennis Pham <[email protected]>
2020-10-08update documentationGravatar RohanJnr-1/+14
2020-10-08remove redundant if statementGravatar RohanJnr-1/+1
2020-10-08remove redundant if statementGravatar RohanJnr-2/+1
2020-10-07made sure to use sub_clyde on username passed to send_attachmentsGravatar wookie184-1/+2
2020-10-07Refactor tests to use updated changes to syncer.py and API.Gravatar RohanJnr-58/+59
2020-10-07improve code efficiency and use updated API changes to paginationGravatar RohanJnr-98/+48
2020-10-07Add the ability to purge and ban in one command.Gravatar scragly-2/+26
2020-10-06Include rolled over logs in gitignoreGravatar Numerlor-0/+1
RotatingFileHandler appends .# to log names when rolling over to a new file.
2020-10-06Fix old nick in superstarify reasonGravatar Boris Muratov-2/+3
2020-10-06Use .get() instead of index for fetching is_pending propertyGravatar Joe Banks-1/+1
2020-10-06Correct raw_member to member in verification on_joinGravatar Joe Banks-1/+1
2020-10-06Reword on_join comment for alternate gate membersGravatar Joe Banks-1/+4
2020-10-06Clear up comment around DM sendGravatar Joe Banks-0/+4
2020-10-06Reword cache creation commentGravatar Joe Banks-1/+1
2020-10-06Use clearer variable names in list comprehensionsGravatar Joe Banks-2/+2
2020-10-06Merge get and pop into one conditionalGravatar Joe Banks-3/+1
2020-10-06Add type annotation to on_member_update listenerGravatar Joe Banks-1/+1
2020-10-06Support users with alternate gating methodsGravatar Joe Banks-0/+42
2020-10-04Sort rules before determining invalid indices.Gravatar Den4200-14/+5
This is to avoid sorting twice - once for invalid indices and again for send the rules.
2020-10-03Use `url` argument instead of setting it outside.Gravatar Den4200-2/+1
2020-10-03Use `Greedy` converter instead of the splat operator.Gravatar Den4200-2/+2
2020-10-03Remove duplicates from given rule indices and sort them in order.Gravatar Den4200-4/+11
2020-10-03Replace `map` with a more pythonic list comprehension.Gravatar Den4200-1/+1
2020-10-03Use invite for tracking offline presences instead of `ctx`Gravatar Senjan21-2/+2
2020-10-03Add trailing comma to intentsGravatar Senjan21-1/+1
2020-10-03Lock: make LockGuard.locked a propertyGravatar MarkKoz-1/+2
2020-10-03Lock: rename variable to avoid shadowingGravatar MarkKoz-3/+3
2020-10-03add missing test for `user` commandGravatar Senjan21-0/+5
2020-10-03Cap most_common to 25 to not go over the embed fields limitGravatar Joe Banks-1/+1
2020-10-03Add a socket stats commandGravatar Joe Banks-5/+37
2020-10-02Changed dm_relay to include user id in webhook when sending attachments.Gravatar wookie184-1/+5
2020-10-02 Add use_cached argument to send_attachments, and change it to default to FalseGravatar wookie184-1/+2
2020-10-02Changed send_attachments so kwargs could be given and would be passed to send()Gravatar wookie184-14/+13