Commit Graph

20 Commits

Author SHA1 Message Date
projectmoon 77c49cccde Remove JS stuff from API. 2021-07-13 22:24:20 +00:00
projectmoon 76fbe9a74b Update web-api to Rocket 0.5-rc1 2021-06-14 20:22:11 +00:00
projectmoon 5986a3611a Implement JWT refreshing. 2021-06-11 22:37:30 +00:00
projectmoon eeacf01cbe Add login API call for web UI 2021-06-11 13:46:05 +00:00
projectmoon 00742c14a9 Add authentication checking to api 2021-06-10 15:25:44 +00:00
projectmoon 81b4447c84 Remove some proto js definitions from api 2021-06-10 14:15:33 +00:00
projectmoon 96330e13e4 Remove some warnings in API 2021-06-09 15:56:20 +00:00
projectmoon d94451897c Also create a refresh token, and store it as HTTP only cookie. 2021-06-09 15:50:20 +00:00
projectmoon 9a5d765d9b Put JWT secret in rocket.toml. Also, we should remove rocket.toml from the repo. 2021-06-09 15:34:59 +00:00
projectmoon 9b8d5dd2ea Add auth routes and stuff. 2021-06-09 15:26:16 +00:00
projectmoon 1e96ccb307 Fix CORS issues with API 2021-06-08 14:38:21 +00:00
projectmoon 57ab6a51da Avoid random clones in API. 2021-06-06 21:22:23 +00:00
projectmoon 05157507aa Working graphql from web UI! 2021-06-06 15:51:46 +00:00
projectmoon a1a37d418a Add schema generating binary to API server, so we can then proceed with the UI client graphql calls. 2021-06-05 22:31:59 +00:00
projectmoon 6154bf2c0b Move address of grpc to rpc crate. But why static lifetime? 2021-06-05 15:29:45 +00:00
projectmoon 7a59e6246f Remove some unused stuff 2021-06-05 15:06:03 +00:00
projectmoon 82656bd849 Implement get variable 2021-06-05 14:57:44 +00:00
projectmoon 6dfc9119f7 Working graphql 2021-06-05 14:48:40 +00:00
projectmoon 4776b6f739 WIP on trying to get working graphql server 2021-06-05 14:34:22 +00:00
projectmoon f9d6b7b827 Working grpc-web. Needs tonic master. Next step: attempt same shit with web assembly 2021-06-02 22:52:01 +00:00