leander
c5c36ac464
verify payload data sent over db listener
2026-09-17 20:16:00 +02:00
leander
26c01b470f
add verification server setup guide
2024-10-11 16:22:18 +02:00
leander
f2d09e54f9
remove deprecated version number
2024-10-11 16:16:18 +02:00
leander
d2210a2520
translate to english
2024-10-11 16:15:53 +02:00
leander
3bae17f4f1
refer to new docker compose command
2024-10-11 16:15:07 +02:00
leander
109d9cb611
improve phrasing
2024-10-11 16:14:27 +02:00
leander
975261175e
improve title
2024-10-11 16:13:13 +02:00
leander
78f326de55
refer to new docker compose command in docs
2024-10-11 16:12:16 +02:00
leander
2afd2344f4
make group profiles optional
...
because some groups apparently lack profiles >:
2024-09-09 19:33:36 +02:00
Leander Furumo
98006a51dc
stop db event listener on cog unload
2024-05-08 00:05:14 +02:00
Leander Furumo
100aaf26ba
convert static discord ids from .env to int
2024-04-29 23:45:02 +02:00
Leander Furumo
90fc0c37a1
remove redundant models and fields
2024-04-22 02:43:15 +02:00
Leander Furumo
11a8b33285
log at root level instead of 'discord' level
2024-04-22 02:41:22 +02:00
Leander Furumo
1762125788
change return type of fetch_all_galtinn_roles
...
since member and volunteer roles are fetches independently of api we need to return them regardless of group status.
2024-04-22 02:39:19 +02:00
Leander Furumo
b93b055a06
make utc datetime now naive
2024-04-22 02:32:37 +02:00
Leander Furumo
4c4a35d4f7
log completion of db listener trigger function
2024-04-22 02:08:48 +02:00
Leander Furumo
93bd59e62a
replace deprecated datetime.utcnow
2024-04-22 02:06:32 +02:00
Leander Furumo
4c6fb019fe
log roles to add and remove before attempting to do so
2024-04-22 02:03:51 +02:00
Leander Furumo
aecddf7708
make sure member and volunteer roles are removed, even when a user does not have any groups
2024-04-22 02:02:19 +02:00
Leander Furumo
b944550bd6
make active_member_card registration date optional
2024-04-22 01:55:55 +02:00
Leander Furumo
83a1a2966e
log roles set instead role setter function instead of outside
2024-04-22 01:43:41 +02:00
Leander Furumo
8b5ac02b0f
fix active_member_card type
2024-04-22 01:42:39 +02:00
Leander Furumo
616f987924
make membership order and end date optional
2024-04-22 01:40:04 +02:00
Leander Furumo
a7f59bc89a
include contact info in error page and remove contact from error messages
2024-04-22 01:15:07 +02:00
Leander Furumo
022e0ebce2
include contact info & rephrase success message
2024-04-22 01:14:31 +02:00
LBlend
d70f6afb23
set emoji globally
2024-04-21 16:45:17 +02:00
Leander Furumo
60b34cc40f
replace buggy galtinn delete confirmation button with no confirmation, for now
2024-04-20 13:57:47 +02:00
Leander Furumo
ebca55efed
fetch discord profiles instead of users in galtinn register
2024-04-20 13:57:02 +02:00
Leander Furumo
c88e71fdb5
rewrite galtinn membership check loop using new util functions
2024-04-20 13:56:04 +02:00
Leander Furumo
6a2d8106d6
rewrite galtinn db listener using new util functions
2024-04-20 13:55:25 +02:00
Leander Furumo
ce02c80455
add various galtinn util functions
2024-04-20 13:54:52 +02:00
Leander Furumo
5392274bde
add discord object fetcher util functions
...
due to there being two separate ways of fetching discord objects, one from cache and one as an API call we want to call the latter one if not found in cache. To avoid repeating the same process multiple times I have packed it into functions for the objects in interest
2024-04-20 13:48:49 +02:00
Leander Furumo
287248cf8b
use correct env names for hardcoded roles
2024-04-20 13:45:42 +02:00
Leander Furumo
171e33f1ec
make success message more specific
...
specify that roles are only given if a user doesn't have them already
2024-04-20 13:44:36 +02:00
Leander Furumo
f20612cc52
add models.py
2024-04-20 13:43:24 +02:00
Leander Furumo
b537a9fd30
add galtinn active and member roles
2024-04-19 19:50:40 +02:00
Leander Furumo
cb234764af
write discord_id to galtinn on auth success
2024-04-19 19:49:16 +02:00
Leander Furumo
cc12b32006
add auth token to galtinn user requests
2024-04-17 02:12:41 +02:00
Leander Furumo
10c22754b7
use new util functions
2024-04-16 04:24:41 +02:00
Leander Furumo
0c036765be
initial role remover/adder util function
2024-04-16 04:23:46 +02:00
Leander Furumo
8fd3bf0651
initial get_roles util function
2024-04-16 04:23:22 +02:00
Leander Furumo
d3011a6d55
initial fetch_galtinn_user util function
2024-04-16 04:22:36 +02:00
Leander Furumo
91d4c4015b
move galtinn_group declaration
2024-04-15 20:16:03 +02:00
Leander Furumo
9f4cc931cb
add GALTINN_AUTH_TOKEN env var
2024-04-15 20:14:28 +02:00
Leander Furumo
1af28ddcbb
fix NOTIFY query
...
asyncpg does not allow for arguments in NOTIFY queries, hence we have to use f-strings
2024-04-15 20:12:32 +02:00
Leander Furumo
0f90e9bbf8
make sure ephemeral messages are actually ephemeral
...
oopsie woopsie we leaked the auth link. the security team is working very hard to fix this
2024-04-12 04:11:21 +02:00
Leander Furumo
02e3b0601f
vertically center content
2024-04-12 03:55:30 +02:00
Leander Furumo
f934ea3569
Closes #8
2024-04-12 03:35:23 +02:00
Leander Furumo
b8f70479a9
Closes #3
2024-04-12 02:57:28 +02:00
Leander Furumo
16a319876b
remove galtinn_user and galtinn_role db tables
...
will be replaced with galtinn API calls in the future™️
2024-04-12 01:16:43 +02:00