Commit graph

28 commits

Author SHA1 Message Date
9bf435b535 fix: revert changes to access_token made during refactor
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-07-19 23:39:56 +02:00
324137ce8b refactor: rewrite entire codebase in axum instead of actix
Replaces actix with axum for web, allows us to use socket.io and gives us access to the tower ecosystem of middleware

breaks compatibility with our current websocket implementation, needs to be reimplemented for socket.io
2025-07-16 16:36:22 +02:00
3647086adb feat: add endpoint to get logged in devices
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-07-13 18:06:23 +02:00
60f0219e85 feat: add logout endpoint
Some checks failed
ci/woodpecker/push/publish-docs Pipeline is pending
ci/woodpecker/push/build-and-publish Pipeline failed
2025-05-31 14:43:48 +02:00
d615f1392e style: cargo clippy && cargo fmt
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-05-30 21:17:30 +02:00
501141b584 feat: add password reset 2025-05-28 23:13:41 +02:00
695ecd96f1 Merge branch 'main' into wip/email 2025-05-28 19:56:57 +02:00
9728769b8c feat: add changing username, email and display_name to /me endpoint
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-05-28 17:36:23 +02:00
83f031779f feat: add email verification system
Co-Authored-By: JustTemmie <git@beaver.mom>
2025-05-27 21:57:08 +02:00
8605b81e7b style: cargo clippy && format
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-24 01:09:17 +02:00
bf51f623e4 feat: migrate to diesel and new error type in auth 2025-05-23 12:55:27 +02:00
78e87b65ce style: cargo fmt 2025-05-19 15:14:03 +02:00
c21762ac7e refactor: cargo clippy 2025-05-19 15:13:52 +02:00
8a1467c26a Merge branch 'main' into wip/username-regex 2025-05-04 21:41:40 +00:00
ab5c85c4f5
fix: add numbers to username regex 2025-05-04 23:25:48 +02:00
0f897dc0c6 feat: return refresh_token in cookie 2025-05-04 22:13:28 +02:00
cbf0131d14 feat: switch to headers for auth 2025-05-04 19:09:12 +02:00
e29940d080
feat: only allow lowercase usernames 2025-05-03 03:04:07 +02:00
b530de8f52
fix: username regex 2025-05-03 02:20:37 +02:00
0d07af7d79 feat: style: return unauthorized when token isnt found and flatten function structure
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-02 19:26:37 +02:00
c76fd73179 refactor: move regex code to mod.rs 2025-05-02 16:22:30 +02:00
97f7595cc5 style: cargo clippy and format
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-02 15:20:22 +02:00
481c2c3648 feat: use a logging library
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
gives us logs from actix and sqlx that otherwise arent exposed to us
2025-05-02 01:18:13 +02:00
22ab3d8a04 feat: add a way to revoke refresh_tokens using device_name 2025-05-01 20:19:39 +02:00
2864196584 perf: avoid cloning when checking access 2025-05-01 20:12:02 +02:00
83872ed7a6 feat: add a function to check access token
lets me reuse something that will happen often instead of having to write it manually in every file
2025-05-01 07:06:14 +02:00
725a16d1f5 feat: integrate token authentication 2025-05-01 05:01:25 +02:00
91398ecd5b style: move auth to own folder 2025-05-01 03:54:26 +02:00