| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Metabase generates report from site and metricity data. Quite often we export
these reports to csv, transform them and the pipe into an int e. This cog aims to
reduce the time taken for that, by giving admins the ability to export data from
a report directly into a hastebin.
The auth flow is cached, as the login endpoint is ratelimitted. We want to ensure
that we use a valid session token until it expires to reduce the number of calls
to this endpoint.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Updates Pipfile and pipenv lock file to poetry equivalents in
CODEOWNERS.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Updates the Dockerfile, pre-commit, CI, and documentation to reflect the
new dependency manager. Dockerfile is also updated to 3.9.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Adds python dotenv to emulate the default .env file loading behavior
from pipenv.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |_|/ / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Migrates package manager to poetry, and updates python version to 3.9.
Some packages are updated where needed.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Code snippet: support the two dots syntax
|
| | |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| |\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
feat: add dotenv tag
|
| | | | | | | |
|
| |/ / / / / |
|
| |/ / / /
| | | |
| | | | |
Lines can be highlighted in GitHub using the `L00..L42` syntax, currently not supported by the regex. This commits adds it.
|
| |\ \ \ \
| | | | |
| | | | | |
Annihilate reddit cog
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
Fix Ping Bugs On Localhost
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Mostly affects linux machines not running as root.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Improves parsing of site URL, so the ping command works locally and in
prod.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
|
| | | | | |
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Allow `!ban`, `!vban`, and `!pban` to take a duration
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Escape markdown in the edited message contents before getting their diff.
|
| | |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add a newline character in code-blocks to ensure content isn't interpreted as the language.
|
| |/ / / / / / |
|
| |/ / / / / |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Add logging and restart config to docker compose
|
| | |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
python-discord/sebastiaan/prevent-accidental-addition-talentpool-cache
Prevent accidental addition of users to talentpool cache when using `!talentpool get_review`
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: When asking for a review for a user that isn't currently nominated
using the `!talentpool get_review <userid>` command, the user is added
to the talentpool `watched_users` cache, causing their messages to be
relayed to the talentpool watch channel.
Steps to reproduce: Use `!talentpool get_review <user_id>`, where
`<user_id>` is the ID of a user not currently nominated. The command
will correctly reply that the user isn't nominated, but their ID will be
added as a key to the defaultdict nonetheless.
Solution: replace all regular getitem usages with `.get(<user_id>)`, as
the Reviewer should never insert IDs using the regular defaultdict path.
Additional note: I've replaced all occurrences of regular getitem access
into the defaultdict, even those that are normally not reachable with
the id of a user that's currently not nominated, to prevent a future
refactor from accidentally introducing this bug again.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add New Celebrities to `!superstarify`.
|
| | |\ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Redirect output to bot-commands channel for the !eval command
|
| | |\ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
|
| | |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
eval-redirect-output
|
| | | | | | | | | | |
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
users twice
|
| | | | | | | | | |
|
| | | |\ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Unescape html escape characters in reddit text and titles
|
| | |\ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Create identity.md
|
| | |\ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Tag to demonstrate the difference between `is` and `==`.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|