Commit graph

19 commits

Author SHA1 Message Date
407460d2aa style: use const generic for token length instead of multiple functions
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
Simplifies codebase a bit and avoids having to add another function in future if we need another length of token
2025-06-25 13:25:39 +02:00
8163d0d9c0 style: clippy & fmt 2025-05-31 17:51:04 +02:00
6783bd22a7 feat: add backend_url config option
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
ci/woodpecker/push/publish-docs Pipeline was successful
Required for refresh_token cookie to work properly
2025-05-31 17:11:14 +02:00
38aab46534 style: rename refresh_token_cookie() to new_refresh_token_cookie() and fix error message when no refresh_token is found on refresh 2025-05-31 14:41:29 +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
1cda34d16b fix: remove more unwraps
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
found more unwraps that needed to be changed to ?
2025-05-26 22:26:47 +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
77245e98c5 refactor: combine crypto.rs with utils.rs
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-04 23:50:38 +02:00
c61f96ffe7 feat: expire refresh_token immediately on unauthorized response 2025-05-04 23:02:17 +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
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
7b86706793 perf: dont needlessly update uuid in token 2025-05-01 19:19:35 +02:00
725a16d1f5 feat: integrate token authentication 2025-05-01 05:01:25 +02:00
1d0f8ecd00 feat: add refresh endpoint 2025-05-01 03:54:26 +02:00