bf51f623e4
feat: migrate to diesel and new error type in auth
2025-05-23 12:55:27 +02:00
49db25e454
feat: use new error type in structs, utils and config
2025-05-23 12:54:52 +02:00
3e698edf8c
feat: use new error type in main
2025-05-23 12:54:10 +02:00
fee46e1433
feat: use thiserror for errors
2025-05-23 12:52:41 +02:00
73ceea63b6
feat: refactor structs.rs to diesel!
2025-05-22 16:31:38 +02:00
c1885210fb
feat: include migrations in binary
...
Lets us change the schema and not worry about instance admins having to manually update their DB!
2025-05-22 16:29:57 +02:00
2e1382c1d4
feat: make channel description nullable
2025-05-22 16:28:58 +02:00
a6d35b0ba2
feat: use diesel-cli instead of hand writing tables
...
after reading the documentation, crazy right? I figured out i was making my life hard, this makes my life easy again
2025-05-21 21:49:01 +02:00
f1d5b4316e
feat: add tables.rs
2025-05-21 20:49:20 +02:00
da804cd436
feat: use diesel on Channel and ChannelPermission structs
2025-05-21 20:49:13 +02:00
746949f0e5
feat: use url format
2025-05-21 20:48:43 +02:00
b9c7bda2b1
feat: use diesel in main fn and data struct
2025-05-21 20:48:09 +02:00
27fbb6508e
build: switch sqlx to diesel
2025-05-21 20:47:45 +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
cf333b4eba
feat: add bunny-api-tokio
2025-05-20 14:54:34 +02:00
a676962316
build: update dependency versions
2025-05-20 02:27:46 +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
771cf72889
Merge pull request 'Use builtin actix Json deserialization' ( #15 ) from wip/json-deserialization into main
...
Reviewed-on: gorb/backend#15
2025-05-19 13:09:56 +00:00
efae619cda
refactor(auth): use builtin actix Json deserialization
2025-05-19 15:04:41 +02:00
de41cc6c50
Merge pull request 'messaging implementation using valkey pubsub and websockets' ( #12 ) from wip/messaging-wss into main
...
Reviewed-on: gorb/backend#12
2025-05-18 18:14:41 +00:00
50c6f5a5ed
Merge branch 'main' into wip/messaging-wss
2025-05-18 18:14:29 +00:00
ff65a9f95c
Merge pull request 'servers, channels, roles, invites, etc.' ( #9 ) from wip/messaging into main
...
Reviewed-on: gorb/backend#9
2025-05-18 18:13:39 +00: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
79cfa25855
feat: add basic WebSocket server with echo handler
2025-05-15 11:54:20 +02: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
773f4ca977
feat: add invites table
2025-05-09 19:26:13 +02:00
6a60834396
feat: add role creation/lookup
2025-05-08 22:16:21 +02:00
facfd95ed8
feat: implement functions for role struct
2025-05-08 22:14:41 +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
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
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