Skip to content

NEW DISCORD SETUP - #1

Merged
topsinoty merged 199 commits into
mainfrom
fix/consolidate-foundation
Nov 18, 2026
Merged

topsinoty merged 199 commits into
mainfrom
fix/consolidate-foundation

Conversation

@topsinoty

@topsinoty topsinoty commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

This is a remade discord bot.

It adds a couple of features

  • Web UI (sign in with discord)
  • commands
  • events with RSVPs and reminders
  • announcements (long ones get split into multiple messages)
  • birthdays (posted in estonian)
  • polls
  • movie nights
  • role management
  • bot permissions per role

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

@topsinoty

Copy link
Copy Markdown
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.
@topsinoty
topsinoty merged commit 671a671 into main Nov 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant