Commit Graph

39 Commits

Author SHA1 Message Date
antifallobst 9bac0c2a78
fix(client >> storage): a registration now overrides the stored auth token with the new one 2024-03-31 23:29:09 +02:00
antifallobst 3b240d6ca9
feat(client >> storage): storing auth tokens in the persistent session storage system 2024-03-31 23:15:28 +02:00
antifallobst 08cf73a613
feat(client >> storage): implemented a persistent key-value storage system 2024-03-31 20:44:00 +02:00
antifallobst a3b0263f97
feat(client >> session): implemented acount registration 2024-03-31 18:12:37 +02:00
antifallobst c88da7fddb
feat(client >> session): implemented session authentiaction with credentials 2024-03-31 17:55:53 +02:00
antifallobst 1906d66026
fix(client >> session >> data): made a deserializable enum for permissions instead of using strings 2024-03-31 17:06:21 +02:00
antifallobst 104683381c
feat(client >> session): implemented a session struct, that acts as an abstraction layer to the API 2024-03-31 17:02:21 +02:00
antifallobst 5db4d4869c
feat(server >> api): implemented an endpoint that gives the client information about their authenticated account 2024-03-31 13:47:36 +02:00
antifallobst 8f8e2c5665
refactor: moved rust config to the top level directory 2024-03-31 12:24:24 +02:00
antifallobst 0438bc1cf1
refactor: moved server code into a seperate directory 2024-03-31 12:13:56 +02:00
antifallobst e7deb6e04c
refactor: removed all imports of the log crate 2024-03-30 19:20:38 +01:00
antifallobst 28d3d03661
feat(relays): implemented user public key fetching and restructured runtime relay manager, so it uses a message queue in order to get shared mutable state 2024-03-30 19:17:00 +01:00
antifallobst d4a89cb0f8
docs: added the opt type to the commit style definition 2024-03-24 20:19:40 +01:00
antifallobst 33d4454c68
opt(sql): added 'LIMIT 1' to SELECT queries, that fetch only one item 2024-03-24 20:18:34 +01:00
antifallobst 1d1f4896a4
feat(relays): layed the foundations for the relay runtime manager 2024-03-24 19:40:52 +01:00
antifallobst 4acdee0c18
docs: updated the API docs link in the README 2024-03-24 16:36:44 +01:00
antifallobst eb877b0943
docs: documented /account/auth and fixed the Auth header in /account/register 2024-03-24 16:26:50 +01:00
antifallobst 3ac7716826
docs: started to document single api entpoints 2024-03-23 18:57:50 +01:00
antifallobst e82dafd784
docs: updated README and corrected the copyright year in the license 2024-03-23 16:09:59 +01:00
antifallobst ce4373e048
feat(relays // backend >> database): added relay user indices 2024-03-23 15:44:39 +01:00
antifallobst 2b79d920eb
docs: started a small contribution guide 2024-03-22 23:32:08 +01:00
antifallobst 7f24ae5c98
license: made LICENSE a bit more compact 2024-03-22 22:59:59 +01:00
antifallobst ad354f73ed
refactor: split backend implementation into multiple files and switched to nightly channel 2024-03-22 22:16:17 +01:00
antifallobst b5f948a95e
feat(api): implemented /relay/create 2024-03-22 21:20:42 +01:00
antifallobst eb6aa532ff
feat(api): implemented /account/auth 2024-03-22 20:32:26 +01:00
antifallobst 9d01fc2a54
docs(api): added an endpoint to the overview list 2024-03-22 19:26:30 +01:00
antifallobst df8010a797
fix(api): removed unused imports 2024-03-22 18:40:04 +01:00
antifallobst 6a739e2dad
feat(api): implemented pretty error responses 2024-03-22 17:38:20 +01:00
antifallobst 68b082efe5
docs(concepts): added docs for general concepts 2024-03-22 17:11:45 +01:00
antifallobst 311df362a1
docs(api): added endpoint overview 2024-03-22 16:54:44 +01:00
antifallobst 00279afbaa
feat(api): implemented /account/invite/new 2024-03-22 16:49:41 +01:00
antifallobst 4bf8f83ba8
refactor(api): promoted endpoints module to a directory 2024-03-22 14:57:11 +01:00
antifallobst d9480a8727
feat(backend): implemented basic permissions 2024-03-20 10:54:18 +01:00
antifallobst c13c70e6e4
feat(api): implemented /account/register 2024-03-19 23:57:46 +01:00
antifallobst 0bb3e456be
feat(api): added basic API infrastructure 2024-03-18 22:58:45 +01:00
antifallobst 19c7879261
refactor: switched from dotenv to dotenvy 2024-03-18 09:49:03 +01:00
antifallobst badfdb438f
refactor: renamed to icrc-server 2024-03-18 09:39:12 +01:00
antifallobst a6b022e70b
feat: added git info to startup version string 2024-03-17 21:33:54 +01:00
antifallobst f79b9992bc
initial commit 2024-03-17 21:22:23 +01:00