Commit graph

132 commits

Author SHA1 Message Date
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
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
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
55e343507e style: move /me/servers to /me/guilds 2025-05-30 08:37:45 +00: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
8ddcbc4955 feat: add registration_enabled and email_verification_required fields to stats
Some checks failed
ci/woodpecker/push/publish-docs Pipeline is pending
ci/woodpecker/push/build-and-publish Pipeline failed
2025-05-29 18:36:07 +02:00
abfbaf8918 feat: add global email verification check 2025-05-29 18:35:13 +02:00
29dbb085a2 fix: dont require auth to check invite information 2025-05-29 18:31:26 +02:00
4d7aabc8ac feat: include user in message response
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-05-29 02:39:05 +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
862e2d6709 feat: add mail client
Untested
2025-05-27 13:59:06 +00:00
16ccf94631 docs: partially document codebase
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
Should make it easier for frontend to figure out what stuff actually does, more will be added as the project goes on
2025-05-27 11:52:17 +00:00
1aa38631b8 feat: implement is_above for roles and reuse same functions from channels!
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-27 11:16:33 +00:00
39d01bb0d0 feat: move me endpoint to /me and add /me/servers
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-27 07:46:10 +00:00
b8cf21903e feat: allow disabling of registration
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-26 23:41:20 +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
d8541b2eea feat: add channel ordering 2025-05-26 22:26:16 +02:00
bcb82d0f46 fix: return message struct to websocket connection
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-26 21:32:43 +02:00
efa0cd555f fix: hack around websocket spec to make tokens work
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-26 19:41:32 +02:00
5d26f94cdd style: use ? operator instead of unwrap in websockets
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-26 19:17:36 +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
97072d54d1 feat: user avatars 2025-05-23 20:33:58 +02:00
149b81973d Merge branch 'main' into wip/images 2025-05-23 13:45:17 +02:00
a670b32c86 feat: migrate to diesel and new error type in stats 2025-05-23 12:57:19 +02:00
49e08af3d9 feat: migrate to diesel and new error type in invites 2025-05-23 12:57:08 +02:00
dfe2ca9486 feat: migrate to diesel and new error type in users 2025-05-23 12:56:51 +02:00
6190d76285 feat: migrate to diesel and new error type in servers 2025-05-23 12:56:19 +02:00
bf51f623e4 feat: migrate to diesel and new error type in auth 2025-05-23 12:55:27 +02:00
f655ced060 Merge branch 'main' into wip/images 2025-05-20 22:53:13 +02:00
fd8d823404 feat: implement fetching of all servers
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-20 22:49:41 +02:00