Commit graph

  • 7758c8f2a6 Move from RSA to Ed25519. This breaks backwards compatibility and therefore a new semantic release. main Arzumify 2024-08-05 19:56:29 +01:00
  • d11e173f97 Updated JWT to maintained fork Arzumify 2024-08-04 14:47:21 +01:00
  • d55a4ea191 Fixed /api/auth not working because != wasn't ==, removed some debug functions v1.0 Arzumify 2024-07-28 14:29:44 +01:00
  • 45e2db0e2d Fix variable typo in login.js Arzumify 2024-07-28 14:21:12 +01:00
  • 0f880980bc Fixed /api/auth's weird session issue and password migration Arzumify 2024-07-28 14:19:12 +01:00
  • 93cd8f3cdd a message doesn't cover this one. just read the code. it speaks for itself. Arzumify 2024-07-26 19:25:41 +01:00
  • 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. Arzumify 2024-07-10 18:43:17 +01:00
  • f29a4de59c Debian compatiblity via older go version Arzumify 2024-06-28 19:35:33 +01:00
  • eb75483a86 Joke added Tracker-Friendly 2024-06-26 00:05:10 +01:00
  • 81f0a7fae0 Typo Tracker-Friendly 2024-06-26 00:02:47 +01:00
  • ae288f19d7 Add README.md Tracker-Friendly 2024-06-26 00:02:25 +01:00
  • 1c6f66c3ae Add ERRORS.md Tracker-Friendly 2024-06-25 23:57:17 +01:00
  • 14deebd553 Fixed silly error in checkusernametaken Arzumify 2024-06-25 16:29:40 +01:00
  • d04785d2d3 Made /api/auth clear out the database of any ongoing login attempts before proceeding Arzumify 2024-06-25 01:49:45 +01:00
  • 277c343a1b Used the correct error Arzumify 2024-06-25 01:44:53 +01:00
  • 54f78cf36e Made it an else to prevent some problems with it returning 500 Arzumify 2024-06-25 01:43:58 +01:00
  • c3eeee81ec Added some mitigations to spamming the login system by restricting it to one active login per user Arzumify 2024-06-25 01:39:51 +01:00
  • fb4b5ca57e Fixed typo Arzumify 2024-06-25 01:35:05 +01:00
  • b7ac5d3534 Update the schema as well Arzumify 2024-06-25 01:33:18 +01:00
  • b200da5453 Use a memory database to store logins instead of database.db Arzumify 2024-06-25 01:32:47 +01:00
  • 3752648c78 Revert "BETA: Use a session cookie rather than a SQL database for login" Arzumify 2024-06-25 01:19:49 +01:00
  • 2f49361c76 Revert "Made the JSON marshal and unmarshal properly" Arzumify 2024-06-25 01:19:44 +01:00
  • 73506b8aee Revert "Accidentally got false and true mixed up in checkUsernameTaken" Arzumify 2024-06-25 01:16:46 +01:00
  • d833d90c59 Revert "Put the longer codes into different cookies for easier storage" Arzumify 2024-06-25 01:16:41 +01:00
  • 7dfa018fe6 Accidentally got false and true mixed up in checkUsernameTaken Arzumify 2024-06-25 00:34:32 +01:00
  • 5f8bf52194 Put the longer codes into different cookies for easier storage Arzumify 2024-06-25 00:22:41 +01:00
  • 10c6848c5c Made the JSON marshal and unmarshal properly Arzumify 2024-06-24 22:59:53 +01:00
  • 447fb7a4fa BETA: Use a session cookie rather than a SQL database for login Arzumify 2024-06-24 22:53:53 +01:00
  • 96d145b174 Merge remote-tracking branch 'origin/main' Arzumify 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 Arzumify 2024-06-24 20:58:55 +01:00
  • ee30b1d443 Add the small 5px padding in main.html for the account button arzumify 2024-06-21 19:32:53 +01:00
  • d2d33e6a13 Merge remote-tracking branch 'origin/main' Arzumify 2024-06-21 19:17:53 +01:00
  • 8bbbed7d2b Made some database optimizations and made logs consistent with Burgernotes & CTAMail Arzumify 2024-06-21 19:17:45 +01:00
  • e23a415dd8 Fixed the confirmation dialouge arzumify 2024-05-18 00:55:45 +01:00
  • c3452e92c7 Some extra padding and a confirmation dialouge Arzumify 2024-05-18 00:51:36 +01:00
  • 3818691924 Added slight padding to not cover the credits text in the dashboard Arzumify 2024-05-18 00:41:45 +01:00
  • aa026d3e19 Made the background transparent in the account dialog Arzumify 2024-05-16 19:17:47 +01:00
  • fb0a298ae3 Accidentally put redirect uri check before scanning it in arzumify 2024-05-16 19:12:25 +01:00
  • 52dcc8c282 Made nicer input boxes out of inoutdiv arzumify 2024-05-16 19:09:47 +01:00
  • 650bd4fad9 Prevent open redirects from being possible Arzumify 2024-05-16 19:07:54 +01:00
  • 007941feda Merge all the css files into one, unifying styles Arzumify 2024-05-16 17:58:11 +01:00
  • a5b32c32b8 Made the account manager get the name and date created of the user Arzumify 2024-05-16 17:48:35 +01:00
  • 153b53f48a Added account management Arzumify 2024-05-16 17:34:51 +01:00
  • f840e627de Mor privacy Tracker-Friendly 2024-05-16 13:20:16 +01:00
  • 52a688b4e7 Privacy go brr Tracker-Friendly 2024-05-16 13:19:45 +01:00
  • 5f0a1a6a04 More policy Tracker-Friendly 2024-05-16 13:12:38 +01:00
  • 8999d3a52a Privacy and terms Tracker-Friendly 2024-05-16 13:11:11 +01:00
  • 852e19f93a Added 2 lines Tracker-Friendly 2024-05-13 11:38:09 +01:00
  • 469bd13b58 Finished CAPTCHA arzumify 2024-05-09 16:33:01 +01:00
  • b43d48d997 CAPTCHA support Arzumify 2024-05-09 17:27:47 +01:00
  • 4191af1cbd Added Authorisation code header, set samesite on cookie to strict Arzumify 2024-05-09 01:24:54 +01:00
  • 780c614263 fixed aeskeyshare Arzumify 2024-05-06 18:03:11 +01:00
  • a904885023 Fixed names arzumify 2024-05-06 12:22:13 +01:00
  • 66cd1defd8 Make name optional Arzumify 2024-05-06 12:55:04 +01:00
  • 85b2af8225 BETA: Add name support instead of relying on the appId Arzumify 2024-05-06 12:53:04 +01:00
  • 0db0bb5094 Fixed broken newlines arzumify 2024-05-06 10:24:18 +01:00
  • 57128304c7 Fixed the sub being longer than 255 characters Arzumify 2024-05-06 11:22:39 +01:00
  • bef5624ff7 Made user return correctly from userinfo and make the sub correct in the id token Arzumify 2024-05-04 19:18:15 +01:00
  • 9c57a49f0c Added a sub to user for it to be more easily mappable to matrix Arzumify 2024-05-04 19:01:51 +01:00
  • 402c310677 Pass through the nonce in the /app proxy Arzumify 2024-05-04 18:58:41 +01:00
  • 1f39df281d Merge remote-tracking branch 'origin/main' Arzumify 2024-05-04 18:50:55 +01:00
  • 22b50cba73 Make the nonce be based off the nonce specified by the app Arzumify 2024-05-04 18:50:44 +01:00
  • 7974b78b66 Updated gitignore, fixed openid uri arzumify 2024-05-04 17:41:43 +01:00
  • 1e797f5b5c Correctly display large integers instead of rounding off to base64 in the base64 encoding of the modulus Arzumify 2024-05-04 18:36:39 +01:00
  • 36123f3eee Made the m and e the PRIVKEY's n and e Arzumify 2024-05-04 16:37:43 +01:00
  • 606a0f18cc Add KID in tokens Arzumify 2024-05-04 16:32:49 +01:00
  • 94662329e1 Fixed openid, finally Arzumify 2024-05-04 16:15:40 +01:00
  • 59a4ef0994 Added the weird padding authlib needs Arzumify 2024-05-03 20:38:08 +01:00
  • 81606b5aeb Added JWKS discovery URI Arzumify 2024-05-03 20:22:00 +01:00
  • 04af6c00fb Fixed RS256, again Arzumify 2024-05-03 20:18:45 +01:00
  • 728279ec63 Fixed RS256 Arzumify 2024-05-03 20:15:46 +01:00
  • af9b94f3e1 Used JWT RS256 for matrix compatibility, fixed /userinfo endpoint Arzumify 2024-05-03 19:07:28 +01:00
  • b333137ee3 Fixed typo Arzumify 2024-04-29 21:28:18 +01:00
  • 2f490ee3ee Fixed typo Arzumify 2024-04-29 21:23:15 +01:00
  • 6e87268930 Made aeskeyshare work properly Arzumify 2024-04-29 21:18:46 +01:00
  • 8299915502 Added aeskeyshare and fixed html files to be more standard-complient Arzumify 2024-04-29 01:45:22 +01:00
  • a1ae521b56 Fixed various issues and added /api/loggedin Arzumify 2024-04-29 00:59:33 +01:00
  • 754048e3d6 More error handling Arzumify 2024-04-28 21:24:50 +01:00
  • 8e014312e2 Update main.go Arzumify 2024-04-28 11:20:54 +01:00
  • 5a76b78d77 Yet another broken schema fix Arzumify 2024-04-28 11:13:06 +01:00
  • 74230607a3 Drop tables properly Arzumify 2024-04-28 11:09:38 +01:00
  • 498d1975e7 Fixed schema Arzumify 2024-04-28 11:08:57 +01:00
  • 394bea3507 Use JSON instead of form for uniqueid Arzumify 2024-04-28 11:01:04 +01:00
  • 4ee58e69ff Fixed CORS Arzumify 2024-04-28 10:55:38 +01:00
  • 262293a2db Better token format Arzumify 2024-04-28 10:45:58 +01:00
  • f8cb4c3f86 Removed deprecated ioutil and switched to more secure crypto/rand Arzumify 2024-04-27 10:35:16 +01:00
  • 5d3022f1cc Fix various issues Arzumify 2024-04-26 21:39:57 +01:00
  • 7579d35b4a Migrate from internal test domain Arzumify 2024-04-26 20:15:43 +00:00
  • 4345e849fc Open source and release to the public Arzumify 2024-04-26 20:12:56 +00:00