Commit Graph

45 Commits

Author SHA1 Message Date
Riley Housden 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
Riley Housden d001c10efd
Remove MC optimizer router 2022-03-11 11:07:52 -05:00
Riley Housden 7c89b692df
Add lights router to control WiZ lights 2022-03-11 11:07:33 -05:00
Riley Housden 6ebfc7d3fb
Fix router loading on Windows systems 2022-03-11 11:06:55 -05:00
Riley Housden 6cdbdefd54
modify route names
- add /manifest/latest route
2021-12-08 09:26:00 -05:00
Riley Housden 88a3175ec1
typo 2021-12-08 09:14:56 -05:00
Riley Housden ae2d524245
typo 2021-12-08 08:51:17 -05:00
Riley Housden 3bc5a20794
add get builds route 2021-12-08 08:43:34 -05:00
Riley Housden 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
Riley Housden 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
Riley Housden b891efe601
bump version 2021.12.1.4 -> 2021.12.1.5 2021-12-01 02:34:28 -05:00
Riley Housden 9181456fef
Remove system.py
Updates to deployed API are to be handled manually.
2021-12-01 02:34:16 -05:00
Riley Housden 7a5d303aec
bump version 2021.12.1.3 -> 2021.12.1.4 2021-12-01 02:21:00 -05:00
Riley Housden 8bcccec7d1
bump version 2021.12.1.2 -> 2021.12.1.3 2021-12-01 02:01:04 -05:00
Riley Housden 626aa1bbfa
Properly exit gunicorn on update 2021-12-01 02:00:49 -05:00
Riley Housden a67c520e92
bump version 2021.12.1.1 -> 2021.12.1.2 2021-12-01 01:52:34 -05:00
Riley Housden 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
Riley Housden e6f4eb5404
bump version 2021.12.1.0 -> 2021.12.1.1 2021-12-01 01:40:59 -05:00
Riley Housden 946cf25bde
missed a reference to .tracker_api dir 2021-12-01 01:29:38 -05:00
Riley Housden fa24134efa
add data folder to gitignore 2021-12-01 01:25:54 -05:00
Riley Housden 25ebfc01d4
bump version 2021.11.30.0 -> 2021.12.1.0 2021-12-01 01:22:22 -05:00
Riley Housden 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
Riley Housden 0d6b817ff5
bump version 2021.8.23.0 -> 2021.11.30.0 2021-11-30 04:25:08 -05:00
Riley Housden 0de6c065f7
Add bumpver.toml 2021-11-30 04:24:44 -05:00
Riley Housden ffef9b6f07
Require python3.9 2021-11-30 03:11:43 -05:00
Riley Housden 1b8489ad88
python -> python3 2021-11-30 02:48:30 -05:00
Riley Housden 67a315aee2
fix 2021-11-30 02:46:27 -05:00
Riley Housden 46ce594f6f
Finally fixed the issue! 2021-11-30 02:41:21 -05:00
Riley Housden 9cb6388998
third try's the charm 2021-11-30 02:32:05 -05:00
Riley Housden 0b6dd59da0
Rework install script
Now the added user clones the repo to run.
2021-11-30 02:13:39 -05:00
Riley Housden e8cb428fa4
Modify launch script and improve install script
Now universally refers to python3 instead of expecting gunicorn to be on
PATH.
Now installs requirements into system user's environment for use.
2021-11-30 02:02:09 -05:00
Riley Housden f1c3e05d80
Fix cp command in install script
Wasn't recursive and didn't copy all directories.
2021-11-30 01:47:45 -05:00
Riley Housden 6f88e1f209
Add daemon-izing files 2021-11-30 01:42:44 -05:00
riley cc9e93fa6c Remove debug statement 2021-09-12 13:28:42 -04:00
riley 8ad68fdeaa Fix import path 2021-09-12 13:26:09 -04:00
riley 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
riley 40535ddad7 Update gitignore 2021-09-06 03:47:39 -04:00
riley 701f5c7eeb Fix add_point parameters 2021-08-24 23:10:46 -04:00
riley 313a1ba43d Change listening address 2021-08-24 22:56:16 -04:00
riley ab0ec1badc requirements.txt format 2021-08-24 22:51:22 -04:00
riley bb4878794b Add gunicorn requirement 2021-08-24 22:50:02 -04:00
riley 7d6667382b Add requirements.txt 2021-08-24 22:46:11 -04:00
riley 735ed3a9a2 Add systemd service file 2021-08-23 18:51:34 -04:00
riley 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
InValidFire 13075f7fa3 Initial Commit 2021-08-16 22:51:42 -04:00