Commit graph

199 commits

Author SHA1 Message Date
21101fecd5 build: add missing ca-certificates to docker
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
ci/woodpecker/push/publish-docs Pipeline was successful
2025-05-29 03:31:02 +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
65918ae5f2 ci: make build system happy
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
ci/woodpecker/push/publish-docs Pipeline was successful
2025-05-29 02:07:36 +02:00
251e33c188 Merge pull request 'Add email support' (#18) from wip/email into main
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
ci/woodpecker/push/publish-docs Pipeline was successful
Reviewed-on: #18
2025-05-28 23:56:52 +00:00
cf2398ed66 fix: fix incorrect email templates 2025-05-28 23:36:18 +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
82621d213f Merge branch 'main' into wip/email 2025-05-27 22:24:39 +02:00
1ff3fa69a7 ci: automatically create docs
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-05-27 22:13:15 +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
6640d03b70 fix: make container work properly
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
Tested-by: Radical <radical@radical.fun>
2025-05-25 19:20:02 +02:00
6c47d22ae6 fix: add bunny config to docker
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-25 18:40:13 +02:00
6fe1163969 build: update bunny-api-tokio dependency
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-24 03:09:31 +02:00
b5b68c71ba fix: return not found when CDN returns not found
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-24 01:29:20 +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
860fa7a66e Merge pull request 'feat: Bunny CDN integration for images' (#17) from wip/images into main
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
Reviewed-on: #17
2025-05-23 23:06:21 +00:00
97072d54d1 feat: user avatars 2025-05-23 20:33:58 +02:00
d6364a0dc0 feat: add debug error printing
Got a random error message while coding (still have no idea what sent it), this will let you run the code with debug logging if you arent sure where errors are coming from
2025-05-23 20:33:42 +02:00
81f7527c79 feat: move image check to utils.rs 2025-05-23 20:32:43 +02:00
149b81973d Merge branch 'main' into wip/images 2025-05-23 13:45:17 +02:00
82ac501519 Merge pull request 'deadpool, diesel and errors!' (#16) from deadpool-diesel into main
Reviewed-on: #16
2025-05-23 11:07:20 +00: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
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