Commit Graph

432 Commits

Author SHA1 Message Date
JSH32 28ff9bd5b8 Use caddy instead of nginx (fixes 404 handling issues) 2022-09-23 00:09:32 -05:00
JSH32 065f440db1 Add .env to .dockerignore for frontend 2022-09-22 14:52:14 -05:00
JSH32 5b5d911067 Handle CORS properly 2022-09-22 14:35:06 -05:00
JSH32 3f3c9b1477 `ToOption` trait for `ServiceResult` 2022-09-22 09:14:37 -05:00
JSH32 e228f11c01 Fix docker configs. 2022-09-21 23:39:51 -05:00
J.SH 6bd35b9d35
Merge pull request #28 from JSH32/auth_methods
Decouple auth system from account system to allow for multiple auth methods
2022-09-21 22:10:08 -05:00
JSH32 cee68afb5f Login conditional rendering 2022-09-21 22:09:52 -05:00
JSH32 1ad6119f2d Dynamic linking/unlinking with OAuth 2022-09-21 21:50:24 -05:00
JSH32 2a14beb776 Allow unlinking accounts. 2022-09-21 16:58:50 -05:00
JSH32 c247873a1b Rename `AuthRequest` to `OAuthRequest` 2022-09-21 12:20:42 -05:00
JSH32 778c85ad52 Store cached OAuth username and add to `AuthMethods` 2022-09-21 11:43:59 -05:00
JSH32 c4d4a8245c Exhaust key on usage 2022-09-21 10:53:59 -05:00
JSH32 d91d044fd6 Post registration page. 2022-09-21 10:01:23 -05:00
JSH32 f6260a94a7 Move `verify_password_action` 2022-09-21 00:55:56 -05:00
JSH32 6745ad5d8b Name generator if not up to spec or found. 2022-09-21 00:50:33 -05:00
JSH32 27806b9bcf Require verified email when doing OAuth. 2022-09-20 20:06:36 -05:00
JSH32 0fe638f7e9 Update `last_accessed` 2022-09-20 19:54:00 -05:00
JSH32 73c54b0ce2 Change authentication system to allow multiple methods. 2022-09-20 19:44:45 -05:00
JSH32 2117d44b42 Admin routes and added created field to Application and User table 2022-09-20 10:49:35 -05:00
JSH32 39de451069 Move `new_client` to `OAuthProvider` enum and fix `callback_url` 2022-09-19 16:19:30 -05:00
JSH32 b6c56c1a56 Better error for OAuth fail 2022-09-19 15:57:45 -05:00
J.SH 45ebe88340
Merge pull request #27 from JSH32/oauth_login
Oauth login
2022-09-19 15:49:36 -05:00
JSH32 1193ef4233 .env documentation and route changes 2022-09-19 15:49:15 -05:00
JSH32 a0135e6e2a Fix hydration errors 2022-09-19 15:39:04 -05:00
JSH32 2040f18cd2 Put OAuth logic into seperate module. 2022-09-19 11:23:34 -05:00
JSH32 a194b8be9e Macro to generate OAuth routes 2022-09-19 11:03:37 -05:00
JSH32 904ea1bcbd Add discord OAuth provider 2022-09-19 01:27:37 -05:00
JSH32 1e909ece07 OAuth functionality 2022-09-19 00:35:39 -05:00
JSH32 67b9fe57f1 Thumbnail url recognition 2022-09-18 18:21:27 -05:00
J.SH fff4dea05e
Merge pull request #26 from JSH32/service_architecture
Use service architecture
2022-09-17 16:58:35 -05:00
JSH32 1bc2ef467f Make frontend compatible with slight API changes. 2022-09-17 16:57:43 -05:00
JSH32 02158f7a89 Make entire API use new service architecture 2022-09-16 22:20:29 -05:00
JSH32 bd9a4124f4 Fix registration key and update utoipa 2022-09-02 20:40:32 -05:00
JSH32 e2a5caaa97 Start service architecture 2022-09-01 15:42:40 -05:00
J.SH 240e837586
Update README.md 2022-08-11 11:06:53 -05:00
J.SH cda7c27d68
Update README.md 2022-08-11 11:06:26 -05:00
J.SH f5fbde5013
Merge pull request #25 from JSH32/multi_db_support
Add multiple SQL database support (SQLite, MySQL, Postgres)
2022-08-11 11:02:51 -05:00
JSH32 b596b4bd1b Multi DB support 2022-08-11 11:02:12 -05:00
J.SH aaf89ab4d0
Merge pull request #24 from JSH32/multi_db_support
Add multiple SQL database support (SQLite, MySQL, Postgres)
2022-08-11 11:01:00 -05:00
JSH32 af3500df1c Add multiple SQL database support (SQLite, MySQL, Postgres) 2022-08-11 10:57:30 -05:00
JSH32 2eae5b8bda Add batch delete operation 2022-08-03 20:39:37 -05:00
JSH32 abc6fc1f15 Format 2022-08-03 10:38:14 -05:00
JSH32 95268ecd9e Handle errors while generating thumbnails. 2022-08-01 14:24:03 -05:00
JSH32 8c74743423 Merge branch 'rewrite' of https://github.com/JSH32/Backpack into rewrite 2022-08-01 11:42:33 -05:00
JSH32 77c20bcc98 Add more OpenAPI documentation. 2022-08-01 11:42:28 -05:00
JSH32 49e8cacb06 Remove `rayon` dependency. 2022-08-01 03:35:52 -05:00
JSH32 510fc74394 Multithreaded thumbnail generation. 2022-08-01 03:26:50 -05:00
JSH32 e1d772aecc Update dependencies. 2022-07-31 23:27:37 -05:00
JSH32 ccee472605 Document authentication middleware. 2022-07-31 18:16:27 -05:00
JSH32 5905bad983 Make `Auth` generic options explicit. 2022-07-31 18:05:14 -05:00