Commit Graph
100 Commits
Author SHA1 Message Date
Oscar Krause 70212e0edd improved docker-compose examples 2023-01-30 09:18:57 +01:00
Oscar Krause 616e8fba5e README - improvements 2023-01-30 08:37:34 +01:00
Oscar Krause 9edc93653e bump version to 1.3.4 2023-01-26 07:38:48 +01:00
Oscar Krause f30e9237a5 requirements.txt updated 2023-01-26 07:18:01 +01:00
Oscar Krause f12dc28c42 fixed overriding config file on update / reinstall 2023-01-26 07:17:16 +01:00
Oscar Krause 02276d5440 disabled openapi endpoints 2023-01-23 07:33:54 +01:00
Oscar Krause 9ebff8d6ca typos 2023-01-23 07:29:13 +01:00
Oscar Krause 48eb6d6c64 typos 2023-01-23 07:23:42 +01:00
Oscar Krause f7ef8d76b6 fixed Origin.delete() 2023-01-23 07:12:02 +01:00
Oscar Krause bed24b56ce styling 2023-01-19 08:26:35 +01:00
Oscar Krause 95427d430e added startup script 2023-01-19 07:26:22 +01:00
Oscar Krause c3ea0aa48c added variable for client-token-expire-delta 2023-01-19 07:26:07 +01:00
Oscar Krause 91be7b226c added some comments for default values 2023-01-19 07:25:44 +01:00
Oscar Krause 7045692958 added official links 2023-01-19 07:25:24 +01:00
Oscar Krause 38177fa259 styling 2023-01-18 14:29:48 +01:00
Oscar Krause 9411759f6d added system requirements and preparements 2023-01-18 14:23:34 +01:00
Oscar Krause 48c37987b2 fixed logging and added current timezone info 2023-01-18 14:23:25 +01:00
Oscar Krause 5bb8f17679 improvements 2023-01-18 08:07:55 +01:00
Oscar Krause de17b0f1b5 fixes 2023-01-18 08:03:02 +01:00
Oscar Krause 0ab5969d3a fixes 2023-01-18 06:56:16 +01:00
Oscar Krause 059a51fe74 refactored commands 2023-01-17 17:25:48 +01:00
Oscar Krause bf858b38f4 fixes 2023-01-17 17:09:13 +01:00
Oscar Krause f60f08d543 run powershell as administrator 2023-01-17 16:57:15 +01:00
Oscar Krause b2e6fab294 fixes 2023-01-17 16:49:15 +01:00
Oscar Krause b09bb091a5 bump version to 1.3.3 2023-01-17 16:29:32 +01:00
Oscar Krause 651af4cc82 fixed client-token url and added wget als alternative to curl 2023-01-17 16:29:21 +01:00
Oscar Krause 70f7d3f483 mark Let's Encrypt section as optional 2023-01-17 15:36:38 +01:00
Oscar Krause 1e4070a1ba added remove "/usr/share/fastapi-dls" to "postrm" 2023-01-17 14:57:54 +01:00
Oscar Krause d69d833923 migrated "[[ ]]" if statements to "[ ]" 2023-01-17 14:57:39 +01:00
Oscar Krause 7ef071f92b removed fastapi-dls.service from conffiles 2023-01-17 14:57:09 +01:00
Oscar Krause 3c19fc9d5b implemented "lease_renewal" attribute as calculated value within what period of time the license must be renewed 2023-01-17 11:49:56 +01:00
Oscar Krause 742fa07ed4 bump version to 1.3.2 2023-01-17 11:18:25 +01:00
Oscar Krause a758d93970 main.py - fixed empty lease origin response 2023-01-17 11:18:07 +01:00
Oscar Krause a65687a082 bump version to 1.3.1 2023-01-16 10:34:20 +01:00
Oscar Krause 3e445c80aa fixes 2023-01-16 10:33:52 +01:00
Oscar Krause 20cc984799 FAQ.md 2023-01-16 10:30:55 +01:00
Oscar Krause 3495cc3af5 typos 2023-01-16 10:30:40 +01:00
Oscar Krause ed13577e82 Dockerfile - updated to python 3.11 2023-01-16 10:30:21 +01:00
Oscar Krause ca8a9df54c requirements.txt updated 2023-01-16 10:24:08 +01:00
Oscar Krause 5425eec545 .gitlab-ci.yml simplified 2023-01-16 10:23:58 +01:00
Oscar Krause 2f3c7d5433 Merge branch 'main' into dev 2023-01-16 07:00:20 +01:00
Oscar Krause b551b0e7f9 README.md - added sunsupoorted ubuntu version 2023-01-15 19:47:50 +01:00
Oscar Krause 50dea9ac4e fixes 2023-01-05 14:08:08 +01:00
Oscar Krause 549a48a10b Merge branch 'dev' into 'main'
1.3

See merge request oscar.krause/fastapi-dls!18
2023-01-05 07:27:10 +01:00
Oscar Krause 1f3bc8b4af .gitlab-ci.yml 2023-01-05 07:22:25 +01:00
Oscar Krause 5fc8d4091b Merge branch 'dev' into 'main'
1.3

See merge request oscar.krause/fastapi-dls!17
2023-01-05 07:21:28 +01:00
Oscar Krause 851ec1a5c6 requirements.txt updated 2023-01-05 06:56:56 +01:00
Oscar Krause 9180222169 README.md 2023-01-04 21:46:02 +01:00
Oscar Krause e71d4c4f4e fixed missing servie file for DEBIAN 2023-01-04 18:27:57 +01:00
Oscar Krause aecad82914 main.py - added confirmation to deleteOrigins() 2023-01-04 18:12:59 +01:00
Oscar Krause 02fccb3605 README.md 2023-01-04 18:05:07 +01:00
Oscar Krause 24dba89dbe removed todos, currently all done or there is a branch for it 2023-01-04 17:58:23 +01:00
Oscar Krause f5557a5ccd README.md 2023-01-04 17:46:19 +01:00
Oscar Krause e8736c94ec docker-compose.yml - disabled internal ssl support 2023-01-04 17:46:02 +01:00
Oscar Krause 4325560ec4 README.md - added some collapses for logs 2023-01-04 17:18:13 +01:00
Oscar Krause 05979490ce README.md - moved "Endpoints" below "Setup" 2023-01-04 17:17:58 +01:00
Oscar Krause 52ffedffc7 code styling 2023-01-04 11:14:26 +01:00
Oscar Krause 5f5569a0c7 improved debian installation 2023-01-04 11:02:54 +01:00
Oscar Krause 32b05808c4 fixed "return" instead of "raise" 2023-01-04 10:14:00 +01:00
Oscar Krause 6c9ea63dc1 added variable for TOKEN_EXPIRE_DELTA 2023-01-04 10:08:17 +01:00
Oscar Krause b839e6c2b3 code styling
- replaced 'json.loads' with 'json_loads'
- shortened 'JSONResponse' to 'JSONr'
- shortened 'HTMLResponse' to 'HTMLr'
- replaced HTTPException with JsonResponses
- added some error handing for invalid tokens
2023-01-04 10:04:52 +01:00
Oscar Krause 8bd37c0ead added some notes to required variables to change 2023-01-04 07:40:37 +01:00
Oscar Krause 27f47b93b8 docker-compose.yml - added experimental health endpoint 2023-01-03 20:45:16 +01:00
Oscar Krause 5bb8437b1d README.md - added timestamp to linux token filename 2023-01-03 18:59:34 +01:00
Oscar Krause 7e3f2d0345 docker-compose.yml - fixes 2023-01-03 18:44:30 +01:00
Oscar Krause 4198021212 README.md - fixed windows issue with /leasing/v1/lessor/shutdown 2023-01-03 18:10:02 +01:00
Oscar Krause 7e6e523799 improved test (checking uuid are 36 chars long) 2023-01-03 18:05:46 +01:00
Oscar Krause 7b2428ea38 removed some debugging 2023-01-03 18:05:46 +01:00
Oscar Krause ac811d5df7 added 'LEASE_EXPIRE_HOURS' variable for better debugging 2023-01-03 18:05:46 +01:00
Oscar Krause 5575fee382 fixed config test 2023-01-03 18:05:46 +01:00
Oscar Krause f1369d5e25 added some docs 2023-01-03 17:38:45 +01:00
Oscar Krause d6cc6dcbee fixes 2023-01-03 17:38:32 +01:00
Oscar Krause 01fe142850 .gitlab-ci.yml - fixed release job 2023-01-03 15:22:49 +01:00
Oscar Krause 18e9ab2ebf fixes 2023-01-03 14:52:31 +01:00
Oscar Krause b64c531898 bump version to 1.3 2023-01-03 14:50:52 +01:00
Oscar Krause ef1730f4fe orm.py - added some docs 2023-01-03 14:20:13 +01:00
Oscar Krause 146ae8b824 updated docs 2023-01-03 14:09:35 +01:00
Oscar Krause 5a5ad0e654 removed 'scope_ref' from code checks because we only support one 'ALLOTMENT_REF', so we need no checks 2023-01-03 14:09:19 +01:00
Oscar Krause 0e3e7cbd3a main.py - corrected leasing behaviour (migrated from 'LEASE_REF' to 'ALLOTMENT_REF') 2023-01-03 13:05:05 +01:00
Oscar Krause bd5625af42 main.py - removed example responses 2023-01-03 13:02:37 +01:00
Oscar Krause 8f9d95056f code styling - migrated direct dict access to '.get()' 2023-01-03 09:20:18 +01:00
Oscar Krause 2b8c468270 main.py - fixed missing 'LEASE_RENEWAL_PERIOD' on '/auth/v1/origin' 2023-01-03 07:25:09 +01:00
Oscar Krause 50e0dc8d1f implemented '/leasing/v1/lessor/shutdown' for windows guests 2023-01-02 19:42:23 +01:00
Oscar Krause 8b934dfeef fixed '/-/config' endpoint serialisation 2023-01-02 19:23:23 +01:00
Oscar Krause 4fb6243330 removed deprecated endpoints
- '/client-token' moved to '/-/client-token'
- '/status' moved to '/-/health' and '/-/config'

see README.md for more information
2023-01-02 19:18:32 +01:00
Oscar Krause 2e950ca6f4 implemented '/-/config' endpoint to list runtime environment variables 2023-01-02 19:14:25 +01:00
Oscar Krause 34662e6612 implemented 'LEASE_RENEWAL_PERIOD' variable 2023-01-02 18:57:41 +01:00
Oscar Krause a3e089a3d5 added some references 2023-01-02 18:10:11 +01:00
Oscar Krause ab996bb030 code styling 2023-01-02 18:04:14 +01:00
Oscar Krause 0853dd64cb README.md - added known issue for error on releasing leases on windows shutdown 2023-01-02 14:12:15 +01:00
Oscar Krause 838956bdb7 README.md - added '-L' parameter to curl commands to follow redirects (from deprecated endpoints) 2023-01-02 11:40:19 +01:00
Oscar Krause 8c515b7f2e README.md - removed links from endpoints 2023-01-02 11:39:37 +01:00
Oscar Krause de5f07273b README.md - added compatibility to official dls 2023-01-02 11:38:48 +01:00
Oscar Krause c894537ff9 Merge branch 'dev' into 'main'
1.2

See merge request oscar.krause/fastapi-dls!16
2022-12-30 07:51:26 +01:00
Oscar Krause 98d7492534 main.py - fixed cors parsing 2022-12-30 07:42:57 +01:00
Oscar Krause 2368cc2578 bump version to 1.2 2022-12-30 07:37:36 +01:00
Oscar Krause 5e40d7944a PKGBUILD - updated service running uvicorn natively instead of calling main.py
- fixed issue with not loading env variables inside to fastapi
- fixed to not using "python main.py" which meant for development
2022-12-30 07:36:44 +01:00
Oscar Krause 5fc9fc8e0a added documentation to debian service 2022-12-30 07:14:25 +01:00
Oscar Krause b0e10004f1 README.md - added windows license key installation from powershell 2022-12-30 07:11:02 +01:00
Oscar Krause 478ca0ab63 added some comments 2022-12-30 07:02:50 +01:00