26 Commits

Author SHA1 Message Date
7d5cdb4e68 add Dockerfile to dockerignore 2024-01-04 19:14:25 +03:00
87ca270395
took CAPIAuthorizer.refresh_by_state's failure_tolerance argument to config 2023-12-11 21:25:52 +03:00
33d776cd70 Fixes for docker 2023-11-29 17:08:32 +03:00
f7f40738d0 Dockerized 2023-11-28 19:00:10 +03:00
e3b8c724e3
fix auth scopes capi -> capi auth 2023-02-26 15:37:27 +03:00
e182cde7d1
Fix retries logic in web.RandomToken 2022-11-30 20:28:24 +03:00
d42991fcd7
web: improve logic for random token 2022-09-13 13:40:05 +03:00
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
d50df50ca1
add usages count for every token 2022-01-05 22:01:54 +03:00
bc2e13786f
More verbose on refresh fail 2021-12-17 00:44:33 +03:00
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
6a09c5b260
Refresh tokens earlyier than their full lifetime 2021-12-08 18:26:30 +03:00
17efd41457
allow secret both in cookies and in headers 2021-12-08 18:10:09 +03:00
71fa51f69a
secret as header, not cookie 2021-12-08 18:02:17 +03:00
2b134d26f4
web: fix /random_token when no users in DB 2021-12-08 01:07:14 +03:00
317dff9e3b
web: fix secret check, add ListTokens, RandomToken 2021-12-08 00:56:36 +03:00
2719d804eb
fix no REDIRECT_URL in env (for tokens consuming only) 2021-12-08 00:56:20 +03:00
2e04c92402
fix refresh 2021-12-08 00:55:42 +03:00
3571e7b070
Don't drop tokens if refresh failed due to a connection issue 2021-12-07 15:37:09 +03:00
cc8eaaa04c
Took out more variables from config.py to env 2021-12-05 23:32:13 +03:00
226382f28a
WIP: full refactor 2021-12-05 23:21:07 +03:00
bbeec2e3fe
WIP: full refactor 2021-12-05 22:41:27 +03:00
7a51aaeb67
add RandomToken for internal purposes 2021-10-27 21:49:28 +03:00
24950cb8d7
code style fixes 2021-10-27 21:13:04 +03:00
318bbb8626
init 2021-10-27 21:08:58 +03:00