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
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
...
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!
2025-05-27 11:16:33 +00:00
39d01bb0d0
feat: move me endpoint to /me and add /me/servers
2025-05-27 07:46:10 +00:00
b8cf21903e
feat: allow disabling of registration
2025-05-26 23:41:20 +02:00
1cda34d16b
fix: remove more unwraps
...
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
2025-05-26 21:32:43 +02:00
efa0cd555f
fix: hack around websocket spec to make tokens work
2025-05-26 19:41:32 +02:00
5d26f94cdd
style: use ? operator instead of unwrap in websockets
2025-05-26 19:17:36 +02:00
8605b81e7b
style: cargo clippy && format
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
2025-05-20 22:49:41 +02:00
85f6db499f
fix: use patch request for updating user
2025-05-20 22:20:45 +02:00
4124b08bb2
style: change function name
2025-05-20 22:20:32 +02:00
b66c8f0613
feat: implement proper user and me structs
2025-05-20 18:04:44 +02:00
cee1b41e89
feat: implement server icons!
2025-05-20 14:54:47 +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
efae619cda
refactor(auth): use builtin actix Json deserialization
2025-05-19 15:04:41 +02:00
cee8b55599
fix: make message storing/fetching work properly
2025-05-17 14:11:57 +02:00
c5d14ac063
feat: add message storing in DB
...
UNTESTED! Should work but might be really slow
2025-05-17 11:04:48 +02:00
95964e6fec
feat: add rough message sending
...
Doesnt get stored in psql and is currently done without any error handling
2025-05-15 23:43:39 +02:00
b23783dda3
feat: add auth and check if server/channel exists before opening ws connection
2025-05-15 17:54:10 +02:00
cb3c1ee6e4
refactor: ⚡ move websocket into existing webserver and folder structure
...
keeps things consistent and avoids having 2 webservers running under actix, can be reverted if its not desirable however i think this is the best option
2025-05-15 11:57:47 +00:00
b499ff1cf8
style: use better function names in server
2025-05-12 17:18:55 +02:00
8fdbf8cc48
feat: add channel deletion
2025-05-12 00:09:17 +02:00
a5ec2704e6
style: get object from cache more cleanly
2025-05-12 00:08:21 +02:00
8935c2d496
feat: add way to fetch and join invites from /invites/{id}
2025-05-10 00:09:59 +02:00
c693e89853
feat: add fetching and making invites
2025-05-09 19:26:49 +02:00
6a60834396
feat: add role creation/lookup
2025-05-08 22:16:21 +02:00
cb22bd8026
fix: import messages endpoint
2025-05-08 21:38:53 +02:00
daf61e0275
feat: implement message fetching
2025-05-08 19:53:35 +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
2e4860323e
feat: add post request to make channels
2025-05-08 00:54:21 +02:00
8821287cbe
fix: use correct query for channel_permissions in fetch_one()
2025-05-08 00:09:30 +02:00
1de99306a2
fix: add api/v1/servers/uuid/channels/uuid as a service
2025-05-08 00:03:18 +02:00
c79451a851
feat: allow fetching a single channel
2025-05-07 23:47:07 +02:00
caee16005d
feat: implement caching for channels endpoint
2025-05-07 23:46:55 +02:00
7ee500bf10
feat: add fetch_one() function to Channel struct
2025-05-07 23:46:40 +02:00