Commit graph

73 commits

Author SHA1 Message Date
c3eeee81ec Added some mitigations to spamming the login system by restricting it to one active login per user 2024-06-25 01:39:51 +01:00
fb4b5ca57e Fixed typo 2024-06-25 01:35:05 +01:00
b7ac5d3534 Update the schema as well 2024-06-25 01:33:18 +01:00
b200da5453 Use a memory database to store logins instead of database.db 2024-06-25 01:32:47 +01:00
3752648c78 Revert "BETA: Use a session cookie rather than a SQL database for login"
This reverts commit 447fb7a4fa.
2024-06-25 01:19:49 +01:00
2f49361c76 Revert "Made the JSON marshal and unmarshal properly"
This reverts commit 10c6848c5c.
2024-06-25 01:19:44 +01:00
73506b8aee Revert "Accidentally got false and true mixed up in checkUsernameTaken"
This reverts commit 7dfa018fe6.
2024-06-25 01:16:46 +01:00
d833d90c59 Revert "Put the longer codes into different cookies for easier storage"
This reverts commit 5f8bf52194.
2024-06-25 01:16:41 +01:00
7dfa018fe6 Accidentally got false and true mixed up in checkUsernameTaken 2024-06-25 00:34:32 +01:00
5f8bf52194 Put the longer codes into different cookies for easier storage 2024-06-25 00:22:41 +01:00
10c6848c5c Made the JSON marshal and unmarshal properly 2024-06-24 22:59:53 +01:00
447fb7a4fa BETA: Use a session cookie rather than a SQL database for login 2024-06-24 22:53:53 +01:00
96d145b174 Merge remote-tracking branch 'origin/main' 2024-06-24 20:59:02 +01:00
c7d213be87 Fix spelling errors, fixed a misuse of genSalt and fixed a SQL QueryRow using the incorrect schema 2024-06-24 20:58:55 +01:00
ee30b1d443 Add the small 5px padding in main.html for the account button 2024-06-21 19:32:53 +01:00
d2d33e6a13 Merge remote-tracking branch 'origin/main' 2024-06-21 19:17:53 +01:00
8bbbed7d2b Made some database optimizations and made logs consistent with Burgernotes & CTAMail 2024-06-21 19:17:45 +01:00
e23a415dd8 Fixed the confirmation dialouge 2024-05-18 00:55:45 +01:00
c3452e92c7 Some extra padding and a confirmation dialouge 2024-05-18 00:51:36 +01:00
3818691924 Added slight padding to not cover the credits text in the dashboard 2024-05-18 00:41:45 +01:00
aa026d3e19 Made the background transparent in the account dialog 2024-05-16 19:17:47 +01:00
fb0a298ae3 Accidentally put redirect uri check before scanning it in 2024-05-16 19:12:25 +01:00
52dcc8c282 Made nicer input boxes out of inoutdiv 2024-05-16 19:09:47 +01:00
650bd4fad9 Prevent open redirects from being possible 2024-05-16 19:07:54 +01:00
007941feda Merge all the css files into one, unifying styles 2024-05-16 17:58:11 +01:00
a5b32c32b8 Made the account manager get the name and date created of the user 2024-05-16 17:48:35 +01:00
153b53f48a Added account management 2024-05-16 17:35:01 +01:00
f840e627de Mor privacy 2024-05-16 13:20:16 +01:00
52a688b4e7 Privacy go brr 2024-05-16 13:19:45 +01:00
5f0a1a6a04 More policy 2024-05-16 13:12:38 +01:00
8999d3a52a Privacy and terms 2024-05-16 13:11:11 +01:00
852e19f93a Added 2 lines 2024-05-13 11:38:09 +01:00
469bd13b58 Finished CAPTCHA 2024-05-09 16:33:01 +01:00
b43d48d997 CAPTCHA support 2024-05-09 17:27:47 +01:00
4191af1cbd Added Authorisation code header, set samesite on cookie to strict 2024-05-09 01:24:54 +01:00
780c614263 fixed aeskeyshare 2024-05-06 18:03:15 +01:00
a904885023 Fixed names 2024-05-06 12:22:13 +01:00
66cd1defd8 Make name optional 2024-05-06 12:55:04 +01:00
85b2af8225 BETA: Add name support instead of relying on the appId 2024-05-06 12:53:04 +01:00
0db0bb5094 Fixed broken newlines 2024-05-06 10:24:18 +01:00
57128304c7 Fixed the sub being longer than 255 characters 2024-05-06 11:22:39 +01:00
bef5624ff7 Made user return correctly from userinfo and make the sub correct in the id token 2024-05-04 19:18:15 +01:00
9c57a49f0c Added a sub to user for it to be more easily mappable to matrix 2024-05-04 19:01:51 +01:00
402c310677 Pass through the nonce in the /app proxy 2024-05-04 18:58:41 +01:00
1f39df281d Merge remote-tracking branch 'origin/main' 2024-05-04 18:50:55 +01:00
22b50cba73 Make the nonce be based off the nonce specified by the app 2024-05-04 18:50:44 +01:00
1e797f5b5c Correctly display large integers instead of rounding off to base64 in the base64 encoding of the modulus 2024-05-04 18:36:39 +01:00
7974b78b66 Updated gitignore, fixed openid uri 2024-05-04 17:41:43 +01:00
36123f3eee Made the m and e the PRIVKEY's n and e 2024-05-04 16:37:43 +01:00
606a0f18cc Add KID in tokens 2024-05-04 16:32:49 +01:00