|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| | 
| 
| | Co-authored-by: ToxicKidz <[email protected]> | 
| | |  | 
| | 
| 
| 
| | This caused unicode errors in Discord attachment previews. | 
| | 
| 
| 
| | This can be used when an information should be added to the post, or someone wants to review the user. | 
| |\  
| | 
| | | Ignore colourless roles for the `!user` embed color | 
| | |\  
| |/  
|/| |  | 
| |\ \  
| | | 
| | | | Don't create an instance of intents before calling its classmethod | 
| | |\ \  
| |/ /  
|/| | |  | 
| |\ \ \  
| | | | 
| | | | | Migrate GHCR_TOKEN -> GITHUB_TOKEN in Docker build action | 
| |/ / /  
| | |   
| | | | GITHUB_TOKEN has now enough permissions to be used for pushing to GHCR, so we don't need PAT anymore. | 
| |/ / |  | 
| |\ \  
| | | 
| | | | Limit nominate command channels | 
| | |\ \  
| |/ /  
|/| | |  | 
| | | | 
| | | 
| | | 
| | | | Added moderators category to constants.py, and removed mods and mod_spam from config as no longer used | 
| | | | 
| | | 
| | | 
| | | | Added a forcenominate command to allow mods to override this if necessary | 
| | | | 
| | | 
| | | 
| | | 
| | | | This was not done previously as the defcon channel in the category was viewable by helpers, but now it is mods+
I also removed the now unnecessary constants for whitelisted channels | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | |/  
|/| |  | 
| |\ \  
| | | 
| | | | Blacklist staff_info for duckpond | 
| |/ / |  | 
| |\ \  
| | | 
| | | | Allow !poll to leads | 
| | |\ \  
| |/ /  
|/| | |  | 
| |\ \ \  
| | | | 
| | | | | Use deleted reason if help channel is closed due to being empty | 
| | |\ \ \  
| |/ / /  
|/| | | |  | 
| |\ \ \ \  
| | | | | 
| | | | | | Update our policy documents | 
| |/ / / / |  | 
| |\ \ \ \ |  | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | Co-authored-by: Shivansh-007 <[email protected]>
Co-authored-by: Joe Banks <[email protected]> | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | No code changes in this commit.
Co-authored-by: Shivansh-007 <[email protected]>
Co-authored-by: Joe Banks <[email protected]> | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | With the branding-side PR merged, we can now target the production
branch. | 
| | |\ \ \ \  
| |/ / / /  
|/| | | |   
| | | | | | Lockfile conflict resolved by re-locking on the merged Pipfile. | 
| | |\ \ \ \  
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Conflict in the lockfile resolved by re-locking the merged Pipfile.
Conflict in Branding constants resolved by keeping my local version.
Change in the cog's target branch to 'main' from 'master' is currently
irrelevant as we targets a development branch anyway. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | It would be strange to just send the embed with no explanation of what
it means. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | The fallback event should not produce a notification. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | 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. | 
| | | | | | | |  | 
| | | | | | | |  | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | No reason for this to be async. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | 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. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | 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. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | 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. | 
| | | | | | | |  | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | After previous changes, the docstring was no longer accurate.
See: 1d5625a2f47a1d4d050f9eb0eb7a18e7d6fe171b | 
| | | | | | | |  | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | 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. | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Fresh stable release, just in time! | 
| | | | | | | |  | 
| | | | | | | |  |