Repository navigation
NEW DISCORD SETUP - #1
Merged
Merged
Conversation
Contributor
Author
|
ik it's a long commit history... i did it for a while and had to switch architecture a couple of times to not make it complicated or overengineered... also it's a really big diff so i had to make sure it was not dead code alot of times |
Scope readiness to the restarted service invocation and verify rollback. Consolidate deployment regression coverage in Python.
Require a dedicated test database name before destructive schema setup and reject the configured application database.
Require create permission for edits and recheck scheduled authors and channel access. Preserve transient Discord failures for retries.
Combine personal and role permissions while preserving delegation limits. Treat current Juhatus members as application admins and prevent role-panel self-assignment. Preserve role grants with an additive subject-type migration.
Persist public suggestions with an authorized dashboard inbox and gate optional calendar crossposting by permission. Isolate repository and queue construction behind injectable application infrastructure. Add suggestion storage with an additive migration.
Allow Mention Everyone on self-assignable roles while retaining moderator and Juhatus restrictions. Recheck scheduled announcements against the scheduling actor and allow retrying failed calendar removal after local event cancellation.
Load channel and role lists only when a page needs them, sharing in-flight requests and cached metadata. Keep membership, authorization and channel visibility checks per request. Link section navigation directly to the first permitted page.
Keep filters and pagination visible around a scrollable log table. Use SQL LIMIT/OFFSET and matching counts for previous/next pages, preserving filters and Unicode substring search without browser scripts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a remade discord bot.
It adds a couple of features
Uses typescript and postgres, and is extendable to work with a lot of extensions.
Added google calendar sync for events.
Deploys like proliige: CI on PRs, main gets mirrored to gitea and deployed on proxmox
Takes over the old role message, so nobody loses their roles. Use the same bot token and role IDs. No migration loss.
web ui access is only for admins... they can then add people