Commit graph

32 commits

Author SHA1 Message Date
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
481c2c3648 feat: use a logging library
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
gives us logs from actix and sqlx that otherwise arent exposed to us
2025-05-02 01:18:13 +02:00
a89d705239 feat: use device_name in refresh_tokens table 2025-05-01 20:19:18 +02:00
1646e60e65 fix: underscore unused config var in data 2025-05-01 20:15:38 +02:00
3c976d666d fix: add NOT NULL to table keys 2025-05-01 07:05:31 +02:00
725a16d1f5 feat: integrate token authentication 2025-05-01 05:01:25 +02:00
4210545db4 feat: add tables for refresh/access tokens 2025-05-01 03:54:26 +02:00
a88467fa28
feat: create crypto.rs module for generation of tokens 2025-05-01 03:42:33 +02:00
026d48c6e7 feat: load config from proper location
also adds a way to change load location using cmdline arguments
2025-05-01 01:08:45 +02:00
87edb9dd12 feat: implement argon2id and expect passwords to be pre-hashed 2025-04-30 21:36:22 +02:00
799a1ff49e fix: use raw_sql instead of .execute 2025-04-30 11:11:19 +00:00
11f89a2380 docs: add todos/fixmes 2025-04-29 22:13:41 +02:00
26b6601f5b feat: add in database support 2025-04-29 21:53:49 +02:00
bebad3be9b style: cargo fmt 2025-04-29 00:43:43 +02:00
30a169679d refactor: remove useless allocation 2025-04-29 00:41:28 +02:00
f090fbafe7 Create initial api 2025-04-28 23:20:37 +02:00
1fa926dd05 add actix example 2025-04-28 20:48:49 +02:00
e98f9517fb Add initial rust configs 2025-04-28 20:41:33 +02:00