Commit graph

67 commits

Author SHA1 Message Date
969b517e18 Merge branch 'generate-device-name' into staging
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
2025-07-20 16:28:02 +02:00
1ad88725bd feat: use custom middleware for authorization
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-07-20 14:12:57 +02:00
9bf435b535 fix: revert changes to access_token made during refactor
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-07-19 23:39:56 +02:00
252b9a3dc6 fix: add more cors shit
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
can someone please just make cors disappear? god i hate this shit.
2025-07-19 23:03:23 +02:00
d67a7ce0ca fix: try explicitly setting methods and headers
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-07-18 12:00:28 +02:00
8f53c9f718 fix: try to fix up cors
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
Login still not working, unsure of where failure point is
2025-07-17 21:34:35 +02:00
9a0ebf2b2f fix: use merge instead of nesting
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-07-17 16:48:34 +02:00
324137ce8b refactor: rewrite entire codebase in axum instead of actix
Replaces actix with axum for web, allows us to use socket.io and gives us access to the tower ecosystem of middleware

breaks compatibility with our current websocket implementation, needs to be reimplemented for socket.io
2025-07-16 16:36:22 +02:00
fc061738fa
feat: finish adding device name to login, register, and refresh endpoints 2025-07-15 02:42:53 +02:00
8656115dc9
feat: start implementing device name generation in the backend 2025-07-14 00:36:15 +02:00
1a0fefd364 fix: resolve issues with max connections to db
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
This might need tweaking elsewhere, needs more testing to figure out where faults are happening
2025-07-11 03:06:47 +02:00
2013befda2 fix: try not setting timeouts
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-07-10 21:31:43 +02:00
43c4577797 fix: increase max size and set timeouts on pool
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2025-07-10 20:57:48 +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
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
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
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
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
94c4428bb0 feat: add base_path to api
Lets you replace /api with whatever you want!
2025-05-29 20:41:50 +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
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
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
149b81973d Merge branch 'main' into wip/images 2025-05-23 13:45:17 +02:00
3e698edf8c feat: use new error type in main 2025-05-23 12:54:10 +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
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
b9c7bda2b1 feat: use diesel in main fn and data struct 2025-05-21 20:48:09 +02:00
b66c8f0613 feat: implement proper user and me structs 2025-05-20 18:04:44 +02:00
cf333b4eba feat: add bunny-api-tokio 2025-05-20 14:54:34 +02:00
78e87b65ce style: cargo fmt 2025-05-19 15:14:03 +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
773f4ca977 feat: add invites table 2025-05-09 19:26:13 +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
71f0cc14be Merge branch 'main' into wip/messaging 2025-05-07 23:23:36 +02:00
9e56eec021 fix: remove unused imports 2025-05-07 21:22:38 +02:00
7ecc8c4270 feat: add redis caching 2025-05-07 20:32:32 +02:00
c0f2948b76
feat: implement cors 2025-05-06 00:41:23 +02:00
cf1476f641 fix: correct merge error 2025-05-05 21:16:09 +02:00
77245e98c5 refactor: combine crypto.rs with utils.rs
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-04 23:50:38 +02:00
c9d3b2cd12 Merge branch 'main' into wip/messaging 2025-05-04 23:24:10 +02:00
ebb4286c08 refactor: move api to /api
serve api under /api
2025-05-04 22:13:05 +02:00
6c706d973e style: use created_at instead of created 2025-05-04 19:09:06 +02:00
aa865e2ed4 feat: add utils.rs
provides a function that extracts auth header from headers
2025-05-04 18:11:12 +02:00
8883ff6400 feat: modify existing tables and add more tables for servers/chatting 2025-05-04 01:16:14 +02:00
34b984a1b5 feat: add tables for guilds, members, channels, messages, emojis and reactions 2025-05-03 05:31:35 +02:00
0ccfa53746 docs: remove left over comment 2025-05-02 16:21:44 +02:00
97f7595cc5 style: cargo clippy and format
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
2025-05-02 15:20:22 +02:00