Commit graph

254 commits

Author SHA1 Message Date
4b9336dcd9 set minimum username length to 3 when changing your username
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-07-06 17:54:22 +02:00
000f798e25 fix: reply with email already verified on attempted get request from account with verified email
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-07-06 01:57:21 +02:00
b00527633a fix: return 404 when refresh token cookie is invalid
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-07-05 02:41:40 +02:00
8febba2816 fix: change logout to get request
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
accidentally left it as a post even though it should've been a get
2025-07-05 02:08:56 +02:00
f3760af1bb feat: add reply_to field to messages
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-07-04 21:42:23 +02:00
b6df1e38ad change avatar/icon lengths in users/guilds
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-07-02 21:26:03 +02:00
e59f7b5a1f 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-07-02 20:47:59 +02:00
19f64d413c feat: make it possible to automatically join user to a guild on registration
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-07-02 20:39:12 +02:00
6eb47fdb36 build: update & sort dependencies 2025-07-02 20:27:22 +02:00
243c496fda fix: use a UUIDv7 as filename for images
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
Fixes problem with caching in bunny.net
2025-07-02 20:12:22 +02:00
36d3a18b08 build: update dependencies
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-06-25 14:33:05 +02:00
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
f752cddd73 fix: add missing match statements
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-06-06 18:19:40 +02:00
8dca22de3a fix: make channel deletion work
Some checks failed
ci/woodpecker/push/publish-docs Pipeline is pending
ci/woodpecker/push/build-and-publish Pipeline failed
2025-06-06 18:16:25 +02:00
95c942eee4 feat: use permission system
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-06-06 17:49:06 +02:00
0588541876 feat: move ownership to member column instead of table column 2025-06-06 17:20:02 +02:00
419f37b108 feat: move password reset tokens to valkey
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
Also just as useless to keep in DB
2025-06-03 11:03:52 +00:00
b223dff4ba feat: move email tokens to valkey
No need to have them in permanent DB storage when they are temporary
2025-06-03 11:01:33 +00:00
4cbe551061 fix: make custom id optional
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-06-02 17:50:11 +02:00
c01570707d style: cargo clippy
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-06-02 00:30:10 +02:00
7021c80f02 style: move structs to objects and split into several files for readability 2025-06-02 00:28:48 +02:00
08cb70ce18 fix: add patch request as a service in actix
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
whoops forgot to add /channels/{uuid} patch request into actix
2025-06-01 23:43:14 +02:00
c4fc23ec85 feat: add about to users
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-06-01 22:20:29 +02:00
41defc4a25 feat: add patch request to channels! 2025-06-01 22:10:37 +02:00
15eb102784 build: try to make dev bearable 2025-06-01 22:10:23 +02:00
643f94b580 ci: add proper cross compiling!
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-06-01 21:56:47 +02:00
ee8211a321 feat: add pronouns to users
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-06-01 15:58:07 +02:00
2f7fac8db5 fix: dont use option in MpJson
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-06-01 14:22:52 +02:00
57f52d96df feat: expire cache when updating user
Some checks failed
ci/woodpecker/push/publish-docs Pipeline is pending
ci/woodpecker/push/build-and-publish Pipeline failed
2025-06-01 14:09:38 +02:00
cade49d9c6 fix: return empty vector instead of 404 error
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-06-01 01:47:30 +02:00
6bc2cdc3c7 revert: add domain to refresh_token_cookie
All checks were successful
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
042aae66f2 fix: make /me/guilds return guilds instead of member objects
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-05-31 17:52:40 +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
4fce262551 docs: add documentation to logout endpoint
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-05-31 14:52:57 +02:00
1e993026a0 fix: add missing /stats to docs 2025-05-31 14:52:42 +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
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
c9a3e8c6c4 feat: add /guilds/{uuid}members
Also makes it return user object with the query
2025-05-30 21:12:07 +02:00
746285e0fb fix: make build number display! 2025-05-30 21:11:13 +02:00
aa37571b3b Merge pull request 'Path style changes' (#19) from wip/style-changes into main
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
Reviewed-on: #19

# BREAKING CHANGES

Allows removal or changing of the /api prefix
Moves /servers to /guilds
Moves /guilds/{uuid}/channels/{uuid} to /channels/{uuid} (to get channels or create one you still call the old endpoint)
2025-05-30 17:18:41 +00:00
55e343507e style: move /me/servers to /me/guilds 2025-05-30 08:37:45 +00:00
94c4428bb0 feat: add base_path to api
Lets you replace /api with whatever you want!
2025-05-29 20:41:50 +02:00
3c5f3fd654 style: rename url to frontend_url 2025-05-29 20:29:45 +02:00
556337aa4e docs: fix paths in guild comments 2025-05-29 20:16:29 +02:00
e4d9a1b5af style: move servers to guilds 2025-05-29 20:15:27 +02:00
1543a2f485 docs: change path in comments 2025-05-29 20:13:01 +02:00
66c3aef609 style: move channels to /channels 2025-05-29 20:11:50 +02:00
461295c14a feat: add instance name and use it in emails
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-05-29 18:48:29 +02:00