aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | Merge PR #1460 - compose: read all env vars from '.env'Gravatar Mark2021-03-11-3/+2
| |\ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | |
| | * | | | | | Compose: read all environment variables from '.env'Gravatar kwzrd2021-03-12-4/+2
| | | | | | | |
| | * | | | | | Compose: read GitHub API key from '.env'Gravatar kwzrd2021-03-11-0/+1
| | | |_|_|/ / | | |/| | | |
| | | * | | | Remove invoked command and message after failure.Gravatar xithrius2021-03-11-27/+35
| | |/ / / / | |/| | | |
| * | | | | Delete repo specific FUNDING.yml file in favour of org one in ↵Gravatar Joe Banks2021-03-09-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | python-discord/.github
| * | | | | Fix typo in stars.jsonGravatar Matteo Bertucci2021-03-09-1/+1
| | | | | | | | | | | | | | | | | | Please have a bit of respect to the baguette land. Also this is a good way to test the new deploy approval system.
| * | | | | DevOps team reviews for bot deploymentsGravatar Joe Banks2021-03-09-0/+1
| | | | | |
| * | | | | Resolving KeyError on infractions that don't purge.Gravatar xithrius2021-03-08-1/+1
| | | | | |
| * | | | | Merge pull request #1453 from python-discord/ban-vs-pbanGravatar Xithrius2021-03-08-3/+7
| |\ \ \ \ \ | | | | | | | | | | | | | | Purge ban now shows that user was purge banned within infraction message.
| | * \ \ \ \ Merge branch 'master' into ban-vs-pbanGravatar Matteo Bertucci2021-03-08-225/+201
| | |\ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge pull request #1456 from python-discord/revert-1449-json-loggingGravatar Hassan Abouelela2021-03-08-196/+114
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Revert "Use JSON logging in production"
| | * | | | | | Revert "Use JSON logging in production"Gravatar Hassan Abouelela2021-03-08-196/+114
| |/ / / / / /
| * | | | | | Merge pull request #1445 from python-discord/ks123/talentpool/migrateGravatar Boris Muratov2021-03-08-29/+87
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Migrate talentpool to new API schema
| | * \ \ \ \ \ Merge branch 'master' into ks123/talentpool/migrateGravatar Boris Muratov2021-03-08-303/+510
| | |\ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| | * | | | | | Limit maximum characters for reasons to 1000Gravatar ks1292021-03-08-1/+19
| | | | | | | |
| | * | | | | | Shorten reason of nomination string to 1000 charactersGravatar ks1292021-03-08-1/+1
| | | | | | | |
| | * | | | | | Don't mention watching anymore in talent pool add messageGravatar ks1292021-03-08-1/+1
| | | | | | | |
| | * | | | | | Improve nomination string representationGravatar ks1292021-03-07-2/+2
| | | | | | | |
| | * | | | | | Use actor mention instead of username in nomination stringGravatar ks1292021-03-06-1/+3
| | | | | | | |
| | * | | | | | Fix grammar of nomination cogGravatar ks1292021-03-06-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]>
| | * | | | | | Fix trace logging of nomination 404Gravatar ks1292021-03-06-2/+2
| | | | | | | |
| | * | | | | | Add parentheses back to previous nominations countGravatar ks1292021-03-06-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]>
| | * | | | | | Migrate talentpool to new schemaGravatar ks1292021-03-03-27/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add disable_header to watchchannel initialization. We don't have root actor field anymore, so headers give error and there is no point to rewrite this, because this will be removed soon. - Removed duplicates check of nominations of one user. Now as API allows this, multiple actors can nomination one user. - Add special error message if same actor have already nominated user Every actor can only have 1 nomination entry. - Remove previous reason from watch command We don't store reason that way anymore, and we don't want that this message spam whole channel. - Split end reason and reason editing commands. API PATCH request buildup have been changed, so changing both of them in one command don't make sense anymore. - Migrate nomination string generation
| | * | | | | | Add disable_header to watchchannel to disable talentpool headersGravatar ks1292021-03-03-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to disable this, because new format of nominations don't match with it.
| | | * | | | | Fixed unittest for purge infraction.Gravatar xithrius2021-03-08-1/+1
| | | | | | | |
| | | * | | | | Purge ban now says 'purge ban' on user purge ban.Gravatar xithrius2021-03-08-2/+6
| | |/ / / / / | |/| | | | |
| | | | * | | Restrict non-staffer to one snowflake at the timeGravatar Matteo Bertucci2021-03-08-1/+5
| | | | | | |
| | | | * | | Make the snowflake command accept many snowflakesGravatar Matteo Bertucci2021-03-08-12/+13
| | |_|/ / / | |/| | | |
| * | | | | Mark #appeals as a mod channelGravatar Matteo Bertucci2021-03-07-0/+2
| | | | | |
| * | | | | Merge pull request #1450 from python-discord/pypi-url-formatter-patchGravatar scragly2021-03-07-0/+9
| |\ \ \ \ \ | | |_|/ / / | |/| | | | Only allow some characters within a request URL to PyPi.
| | * | | | Added filter.Gravatar xithrius2021-03-06-0/+9
| |/ / / /
| | | | * Branding: add contextual message to #changelog notificationsGravatar kwzrd2021-03-28-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | It would be strange to just send the embed with no explanation of what it means.
| | | | * Branding: omit notification when entering evergreenGravatar kwzrd2021-03-27-3/+3
| | | | | | | | | | | | | | | | | | | | The fallback event should not produce a notification.
| | | | * Branding: revise log messages & levelsGravatar kwzrd2021-03-27-49/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logs are now proper sentences ended with full stops. Exceptions are logged with full tracebacks, and log level are revised to be more sensible and consistent across the extension.
| | | | * Branding: revise documentationGravatar kwzrd2021-03-27-97/+80
| | | | |
| | | | * Branding: ensure daemon logs exceptionsGravatar kwzrd2021-03-27-5/+8
| | | | |
| | | | * Branding: make 'meta.md' parser synchronousGravatar kwzrd2021-03-26-2/+2
| | | | | | | | | | | | | | | | | | | | No reason for this to be async.
| | | | * Branding: raise custom error when constructing remote objectsGravatar kwzrd2021-03-26-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The default KeyError message from dict lookup is just the missing key. In order to give more context in the log message, we raise our own.
| | | | * Branding: raise on non-200 responsesGravatar kwzrd2021-03-26-23/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fetch helpers will now raise when the request fails rather than logging a warning and returning a fallback value. This allows better error logging as the caller is able to log the propagated exception while adding its own context. Additionally, the caller in some cases no longer needs to check for the None return and raise its own exception.
| | | | * Branding: cache fresh event description in daemonGravatar kwzrd2021-03-25-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the event description & duration strings were only stored on event entry. In the case that the description or duration change for an on-going event, the cached values wouldn't be updated. After this commit, the cache is refreshed daily by the daemon.
| | | | * Branding: improve 'compound_hash' docstringGravatar kwzrd2021-03-25-1/+5
| | | | |
| | | | * Branding: update 'synchronise' docsGravatar kwzrd2021-03-18-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After previous changes, the docstring was no longer accurate. See: 1d5625a2f47a1d4d050f9eb0eb7a18e7d6fe171b
| | | | * Branding: extend command aliasesGravatar kwzrd2021-03-17-2/+2
| | | | |
| | | | * Branding: adjust daemon start-up behaviourGravatar kwzrd2021-03-17-35/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The daemon will now perform a sync iteration immediately when started, and then every UTC midnight. Previously, it would only perform the initial iteration when started for the first time, which is odd. It is also believed that splitting the daemon's logic into three separate functions is beneficial: before, loop, and main. This commit makes log and doc adjustments where appropriate.
| | | | * Pipenv: bump 'python-frontmatter' pin & re-lockGravatar kwzrd2021-03-15-19/+35
| | | | | | | | | | | | | | | | | | | | Fresh stable release, just in time!
| | | | * Branding: decode 'meta.md' using UTF-8Gravatar kwzrd2021-03-15-1/+1
| | | | |
| | | | * Branding: suppress 'ValueError' on empty-dict updateGravatar kwzrd2021-03-14-4/+6
| | | | |
| | | | * Branding: check for empty icon cacheGravatar kwzrd2021-03-14-0/+4
| | | | |
| | | | * Branding: add embed length cut-offs for safetyGravatar kwzrd2021-03-14-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should never do anything, but it's better to be safe. Values taken from Discord developer docs.
| | | | * Branding: provide class documentationGravatar kwzrd2021-03-14-2/+43
| | | | |