Commit graph

19 commits

Author SHA1 Message Date
523baf7b57
Improve storage management
- Unified all storage access to a single class
- Implemented new storage access to all routers in the API.
- Fixes #1
2022-03-12 23:50:33 -05:00
d001c10efd
Remove MC optimizer router 2022-03-11 11:07:52 -05:00
7c89b692df
Add lights router to control WiZ lights 2022-03-11 11:07:33 -05:00
6cdbdefd54
modify route names
- add /manifest/latest route
2021-12-08 09:26:00 -05:00
88a3175ec1
typo 2021-12-08 09:14:56 -05:00
ae2d524245
typo 2021-12-08 08:51:17 -05:00
3bc5a20794
add get builds route 2021-12-08 08:43:34 -05:00
9fb5a7a456
add mc_optimizer router
- fix requirements
- remove unneeded import
- add get routes to download latest mc-optimizer pack
2021-12-08 08:29:35 -05:00
88ffd71911
Add gitea router
- added a gitea router
  - /gitea/latest endpoint gives the latest release version of a repo.
2021-12-02 05:21:39 -05:00
9181456fef
Remove system.py
Updates to deployed API are to be handled manually.
2021-12-01 02:34:16 -05:00
626aa1bbfa
Properly exit gunicorn on update 2021-12-01 02:00:49 -05:00
16b3d03841
Remove wrapper
- Removed wrapper.py
- Removed main.py
- modified radical-api.service to launch the gunicorn process directly.
- Removed exit code in update method.
2021-12-01 01:52:14 -05:00
946cf25bde
missed a reference to .tracker_api dir 2021-12-01 01:29:38 -05:00
e9fa150618
fix directory name
- now saves to ~/.radical-api
- made API key parameter for /key/me consistent.
2021-12-01 01:21:26 -05:00
cc9e93fa6c Remove debug statement 2021-09-12 13:28:42 -04:00
8ad68fdeaa Fix import path 2021-09-12 13:26:09 -04:00
9ae0102a7f tracker/points date-range support
- Added date range support to tracker/points.
- Now using fastapi's built-in JSON encoder.
- Added list_points to core.tracker.
- Now saves data in multi-user friendly fashion.
- Added /system/update endpoint
  - requires system key
2021-09-12 13:13:43 -04:00
701f5c7eeb Fix add_point parameters 2021-08-24 23:10:46 -04:00
f5e0ac8cac API Security, Logging, & Restructure
- Added a .gitignore
- Implemented security.py (apikeys.py from server-api)
- Implemented wrapper.py (wrapper from radicalbot
- Added proper logging using log.conf
- Split tracker API endpoints into a router
- Renamed Target classes to Tracker
2021-08-23 02:14:40 -04:00