Commit Graph

89 Commits

Author SHA1 Message Date
Tracker-Friendly 7758c8f2a6 Move from RSA to Ed25519. This breaks backwards compatibility and therefore a new semantic release. 2024-08-05 19:56:29 +01:00
Tracker-Friendly d11e173f97 Updated JWT to maintained fork 2024-08-04 14:47:21 +01:00
Tracker-Friendly d55a4ea191 Fixed /api/auth not working because != wasn't ==, removed some debug functions 2024-07-28 14:29:44 +01:00
Tracker-Friendly 45e2db0e2d Fix variable typo in login.js 2024-07-28 14:21:12 +01:00
Tracker-Friendly 0f880980bc Fixed /api/auth's weird session issue and password migration 2024-07-28 14:19:12 +01:00
Tracker-Friendly 93cd8f3cdd a message doesn't cover this one. just read the code. it speaks for itself. 2024-07-26 19:25:41 +01:00
Tracker-Friendly 9cb2e309de Added example configuration, updated README.md, updated background image to Public Domain image, updated styles to be in accordance with the New Burgerware Design, fixed pages displaying poorly on phones, fixed server panics being caused by incorrect JSON, made it clear AESKeyShare is not in working order, made the application not hard-code the URL, made the application not hard-code the app name, updated the CAPTCHA module to the newest version and URL, removed crypto-js, removed unneeded broken code left over from Burgernotes, removed unneeded CSS left over from Burgernotes, made page titles consistant, changed some formatting to be using camel instead of snake case, fixed various JS bad-practices, used a really long commit message. 2024-07-10 18:43:17 +01:00
Tracker-Friendly f29a4de59c Debian compatiblity via older go version 2024-06-28 19:35:36 +01:00
Tracker-Friendly eb75483a86 Joke added 2024-06-26 00:05:10 +01:00
Tracker-Friendly 81f0a7fae0 Typo 2024-06-26 00:02:47 +01:00
Tracker-Friendly ae288f19d7 Add README.md 2024-06-26 00:02:25 +01:00
Tracker-Friendly 1c6f66c3ae Add ERRORS.md 2024-06-25 23:57:17 +01:00
Tracker-Friendly 14deebd553 Fixed silly error in checkusernametaken 2024-06-25 16:29:40 +01:00
Tracker-Friendly d04785d2d3 Made /api/auth clear out the database of any ongoing login attempts before proceeding 2024-06-25 01:49:45 +01:00
Tracker-Friendly 277c343a1b Used the correct error 2024-06-25 01:44:53 +01:00
Tracker-Friendly 54f78cf36e Made it an else to prevent some problems with it returning 500 2024-06-25 01:43:58 +01:00
Tracker-Friendly 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
Tracker-Friendly fb4b5ca57e Fixed typo 2024-06-25 01:35:05 +01:00
Tracker-Friendly b7ac5d3534 Update the schema as well 2024-06-25 01:33:18 +01:00
Tracker-Friendly b200da5453 Use a memory database to store logins instead of database.db 2024-06-25 01:32:47 +01:00
Tracker-Friendly 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
Tracker-Friendly 2f49361c76 Revert "Made the JSON marshal and unmarshal properly"
This reverts commit 10c6848c5c.
2024-06-25 01:19:44 +01:00
Tracker-Friendly 73506b8aee Revert "Accidentally got false and true mixed up in checkUsernameTaken"
This reverts commit 7dfa018fe6.
2024-06-25 01:16:46 +01:00
Tracker-Friendly d833d90c59 Revert "Put the longer codes into different cookies for easier storage"
This reverts commit 5f8bf52194.
2024-06-25 01:16:41 +01:00
Tracker-Friendly 7dfa018fe6 Accidentally got false and true mixed up in checkUsernameTaken 2024-06-25 00:34:32 +01:00
Tracker-Friendly 5f8bf52194 Put the longer codes into different cookies for easier storage 2024-06-25 00:22:41 +01:00
Tracker-Friendly 10c6848c5c Made the JSON marshal and unmarshal properly 2024-06-24 22:59:53 +01:00
Tracker-Friendly 447fb7a4fa BETA: Use a session cookie rather than a SQL database for login 2024-06-24 22:53:53 +01:00
Tracker-Friendly 96d145b174 Merge remote-tracking branch 'origin/main' 2024-06-24 20:59:02 +01:00
Tracker-Friendly 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
Tracker-Friendly ee30b1d443 Add the small 5px padding in main.html for the account button 2024-06-21 19:32:53 +01:00
Tracker-Friendly d2d33e6a13 Merge remote-tracking branch 'origin/main' 2024-06-21 19:17:53 +01:00
Tracker-Friendly 8bbbed7d2b Made some database optimizations and made logs consistent with Burgernotes & CTAMail 2024-06-21 19:17:45 +01:00
Tracker-Friendly e23a415dd8 Fixed the confirmation dialouge 2024-05-18 00:55:45 +01:00
Tracker-Friendly c3452e92c7 Some extra padding and a confirmation dialouge 2024-05-18 00:51:36 +01:00
Tracker-Friendly 3818691924 Added slight padding to not cover the credits text in the dashboard 2024-05-18 00:41:45 +01:00
Tracker-Friendly aa026d3e19 Made the background transparent in the account dialog 2024-05-16 19:17:47 +01:00
Tracker-Friendly fb0a298ae3 Accidentally put redirect uri check before scanning it in 2024-05-16 19:12:25 +01:00
Tracker-Friendly 52dcc8c282 Made nicer input boxes out of inoutdiv 2024-05-16 19:09:47 +01:00
Tracker-Friendly 650bd4fad9 Prevent open redirects from being possible 2024-05-16 19:07:54 +01:00
Tracker-Friendly 007941feda Merge all the css files into one, unifying styles 2024-05-16 17:58:11 +01:00
Tracker-Friendly a5b32c32b8 Made the account manager get the name and date created of the user 2024-05-16 17:48:35 +01:00
Tracker-Friendly 153b53f48a Added account management 2024-05-16 17:35:01 +01:00
Tracker-Friendly f840e627de Mor privacy 2024-05-16 13:20:16 +01:00
Tracker-Friendly 52a688b4e7 Privacy go brr 2024-05-16 13:19:45 +01:00
Tracker-Friendly 5f0a1a6a04 More policy 2024-05-16 13:12:38 +01:00
Tracker-Friendly 8999d3a52a Privacy and terms 2024-05-16 13:11:11 +01:00
Tracker-Friendly 852e19f93a Added 2 lines 2024-05-13 11:38:09 +01:00
Tracker-Friendly 469bd13b58 Finished CAPTCHA 2024-05-09 16:33:01 +01:00
Tracker-Friendly b43d48d997 CAPTCHA support 2024-05-09 17:27:47 +01:00