31 Commits
Author SHA1 Message Date
norohind c241aa51be Expose as http instead of uwsgi 2026-01-17 03:39:24 +03:00
norohind 0d68f74339 listen on 8080 -> 8081 2026-01-17 03:02:35 +03:00
norohind feabf4da08 Remove legacy version and migrations scripts 2025-08-22 21:42:55 +00:00
norohind b95e688825 Introduce mechanism to skip token use counter update 2025-08-22 21:42:47 +00:00
norohind b256d67aed Add .idea to .gitignore 2025-08-22 21:25:24 +00:00
norohind 7d5cdb4e68 add Dockerfile to dockerignore 2024-01-04 19:14:25 +03:00
norohind 87ca270395 took CAPIAuthorizer.refresh_by_state's failure_tolerance argument to config 2023-12-11 21:25:52 +03:00
norohind 33d776cd70 Fixes for docker 2023-11-29 17:08:32 +03:00
norohind f7f40738d0 Dockerized 2023-11-28 19:00:10 +03:00
norohind e3b8c724e3 fix auth scopes capi -> capi auth 2023-02-26 15:37:27 +03:00
norohind e182cde7d1 Fix retries logic in web.RandomToken 2022-11-30 20:28:24 +03:00
norohind d42991fcd7 web: improve logic for random token 2022-09-13 13:40:05 +03:00
norohind b6392f8d20 FID as main identifier, not nickname
Because user can don't have a game so no nickname, but his
FDEV tokens still suits for not CAPI requests (i.e. squadrons api)
2022-02-21 00:31:46 +03:00
norohind d50df50ca1 add usages count for every token 2022-01-05 22:01:54 +03:00
norohind bc2e13786f More verbose on refresh fail 2021-12-17 00:44:33 +03:00
norohind 1bd72764b8 Add LICENSE GNU GPL V3 2021-12-08 20:55:05 +05:00
user2 9e56885a9f fix prev commit 2021-12-08 18:36:29 +03:00
norohind 6a09c5b260 Refresh tokens earlyier than their full lifetime 2021-12-08 18:26:30 +03:00
norohind 17efd41457 allow secret both in cookies and in headers 2021-12-08 18:10:09 +03:00
norohind 71fa51f69a secret as header, not cookie 2021-12-08 18:02:17 +03:00
norohind 2b134d26f4 web: fix /random_token when no users in DB 2021-12-08 01:07:14 +03:00
norohind 317dff9e3b web: fix secret check, add ListTokens, RandomToken 2021-12-08 00:56:36 +03:00
norohind 2719d804eb fix no REDIRECT_URL in env (for tokens consuming only) 2021-12-08 00:56:20 +03:00
norohind 2e04c92402 fix refresh 2021-12-08 00:55:42 +03:00
norohind 3571e7b070 Don't drop tokens if refresh failed due to a connection issue 2021-12-07 15:37:09 +03:00
norohind cc8eaaa04c Took out more variables from config.py to env 2021-12-05 23:32:13 +03:00
norohind 226382f28a WIP: full refactor 2021-12-05 23:21:07 +03:00
norohind bbeec2e3fe WIP: full refactor 2021-12-05 22:41:27 +03:00
norohind 7a51aaeb67 add RandomToken for internal purposes 2021-10-27 21:49:28 +03:00
norohind 24950cb8d7 code style fixes 2021-10-27 21:13:04 +03:00
norohind 318bbb8626 init 2021-10-27 21:08:58 +03:00