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
384f5e404f
fix: change function paramater name to match function name
2025-07-13 16:21:07 +02:00
d775723b7b
fix: require username, instead of username OR email
2025-07-13 16:20:03 +02:00
407460d2aa
style: use const generic for token length instead of multiple functions
...
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
7021c80f02
style: move structs to objects and split into several files for readability
2025-06-02 00:28:48 +02:00
41defc4a25
feat: add patch request to channels!
2025-06-01 22:10:37 +02:00
6bc2cdc3c7
revert: add domain to refresh_token_cookie
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-05-31 23:07:09 +02:00
8163d0d9c0
style: clippy & fmt
2025-05-31 17:51:04 +02:00
6783bd22a7
feat: add backend_url config option
...
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
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
abfbaf8918
feat: add global email verification check
2025-05-29 18:35:13 +02:00
501141b584
feat: add password reset
2025-05-28 23:13:41 +02:00
9728769b8c
feat: add changing username, email and display_name to /me endpoint
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
1aa38631b8
feat: implement is_above for roles and reuse same functions from channels!
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-27 11:16:33 +00:00
d8541b2eea
feat: add channel ordering
2025-05-26 22:26:16 +02:00
efa0cd555f
fix: hack around websocket spec to make tokens work
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-26 19:41:32 +02:00
8605b81e7b
style: cargo clippy && format
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-24 01:09:17 +02:00
81f7527c79
feat: move image check to utils.rs
2025-05-23 20:32:43 +02:00
49db25e454
feat: use new error type in structs, utils and config
2025-05-23 12:54:52 +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
6374963e2f
feat: add structs.rs
...
Moved all server related structs into new file, added implementations to create, fetch, etc.
2025-05-08 13:21:54 +00:00
1aabe9e524
feat: add del_cache_key() function
2025-05-08 00:53:59 +02:00
ef5fc96d67
feat: add permissions enum
2025-05-08 00:34:08 +02:00
3e65cffe39
fix: fix user uuid cache hits
2025-05-07 22:21:59 +02:00
9e56eec021
fix: remove unused imports
2025-05-07 21:22:38 +02:00
7ecc8c4270
feat: add redis caching
2025-05-07 20:32:32 +02:00
77245e98c5
refactor: combine crypto.rs with utils.rs
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-04 23:50:38 +02:00
0f897dc0c6
feat: return refresh_token in cookie
2025-05-04 22:13:28 +02:00
f12f81d584
fix: extract auth value
2025-05-04 21:30:33 +02:00
a3846a2620
fix: use correct header
2025-05-04 20:30:28 +02:00
aa865e2ed4
feat: add utils.rs
...
provides a function that extracts auth header from headers
2025-05-04 18:11:12 +02:00