leander and Claude Opus 5.5
c744794a37
upgrade aiohttp to 3.14 and list it in the bot requirements
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 22:04:56 +02:00
leander and Claude Opus 5.5
b24fb03af2
upgrade python-dotenv to 1.2
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 22:04:55 +02:00
leander and Claude Opus 5.5
5f78de8631
upgrade asyncpg to 0.32
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 22:04:55 +02:00
leander and Claude Opus 5.5
f6468b0d7b
upgrade the docker images to python 3.14
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 22:04:55 +02:00
leander and Claude Opus 5.5
be64ced94e
use the request-first TemplateResponse signature
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 22:04:45 +02:00
leander and Claude Opus 5.5
967ae4bd5e
add doctype and viewport to the verification pages
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 21:38:10 +02:00
leander and Claude Opus 5.5
a5e7590cfc
fix doubled word in error messages and use 502 for token failures
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 21:36:05 +02:00
leander and Claude Opus 5.5
f0039ee240
show an error page when galtinn redirects back without a code
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 21:34:37 +02:00
leander
b87a617a55
nårsk r vanskeli
2026-10-23 20:50:40 +02:00
leander and Claude Opus 5.5
2b5abc14d8
show an error page when galtinn returns no access token
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 02:48:59 +02:00
leander and Claude Opus 5.5
30558eaa45
share one http session with a timeout for galtinn requests in the verification server
...
Unreachable or slow Galtinn requests now show an error page instead of a 500
or hanging the request.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 02:48:47 +02:00
leander and Claude Opus 5.5
268f593e69
replace deprecated on_event hooks with a lifespan handler
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 02:48:06 +02:00
leander and Claude Opus 5.5
0849f069d1
fix GALTIINN_CLIENT_ID typo in verification server
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 02:47:20 +02:00
leander and Claude Opus 5.5
13703c35a2
use S256 pkce challenge instead of plain
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 02:38:43 +02:00
leander and Claude Opus 5.5
ed66636c34
send verification notification with pg_notify instead of f-string NOTIFY
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 02:37:19 +02:00
leander and Claude Opus 5.5
5537c7a343
claim verification state atomically and reject expired ones
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 02:37:12 +02:00
leander
c7711c579a
specify http error codes when verification server fails
2026-09-17 20:37:50 +02:00
leander
26c01b470f
add verification server setup guide
2024-10-11 16:22:18 +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
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
cb234764af
write discord_id to galtinn on auth success
2024-04-19 19:49:16 +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
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
Leander Furumo
d0ea61a5be
run pre-commit
2024-04-11 05:12:26 +02:00
Leander Furumo
ba6bcbca8a
Closes #7
2024-04-11 04:46:34 +02:00
Leander Furumo
6192bbd8d4
mark autocommit as scary
2024-04-11 02:35:43 +02:00
Leander Furumo
ab9a0adb4d
add emergency verification table cleanup loop
2024-04-11 01:36:34 +02:00
Leander Furumo
d2e014a9c5
add newline in success message
2024-04-11 01:11:14 +02:00
Leander Furumo
31b5f13cf8
improve variable naming
2024-04-11 01:10:44 +02:00
Leander Furumo
4fb6d98f8c
fix typos
2024-04-11 01:10:14 +02:00
Leander Furumo
85713eb11a
add state param
2024-04-11 01:08:59 +02:00
Leander Furumo
206c1fac91
use username instead of name for success page
2024-04-11 01:07:25 +02:00
Leander Furumo
92fa2ef7e3
suffix / to oauth api calls
2024-04-10 03:09:10 +02:00
Leander Furumo
a6ca3fd361
change default port as to not conflict with galtinn
2024-04-10 03:07:21 +02:00
Leander Furumo
1354cd7c81
add verification server to monorepo
2024-04-04 02:13:25 +02:00