Commit Graph
51 Commits
Author SHA1 Message Date
norohind ee366e4dbe Switch to uv 2025-08-22 21:23:30 +00:00
norohind 605457e79f requirements.txt: update versions 2022-10-20 23:57:19 +03:00
norohind ee77549ce3 All network requests use timeout 2022-10-20 23:43:46 +03:00
norohind 5c51fd2138 demb.desing -> demb.uk 2022-09-18 14:21:48 +03:00
norohind 47aed0e085 SpecialSquads hook: fix deleted template 2022-09-07 13:09:18 +03:00
norohind 86e3f439c3 idx_shd_operation_id on squadrons_historical_data(operation_id) 2022-07-06 21:26:20 +03:00
norohind 00e58c43bd HookSystem._last_records adjust retries count 10 -> 30 2022-06-14 15:31:17 +03:00
norohind 1dfaa3cde2 Implement force-update cli command for suppress_absence=False 2022-05-03 23:08:18 +03:00
norohind 3791074eb4 Add limit to retries_limit 2022-05-03 22:01:48 +03:00
norohind 75481be976 Merge branch 'main' of github.com:norohind/jubilant-system-core into main 2022-05-03 21:51:06 +03:00
norohind fdae3b970e Add retries_list.txt system 2022-05-03 21:50:50 +03:00
user2 fafb95123c Add requirements.txt 2022-05-02 20:32:06 +03:00
norohind fea8380529 HookSystem._last_records don't print exception on first try 2022-04-21 23:43:23 +03:00
norohind 5027ef748c handle no USR1 signal available on platform 2022-04-21 18:56:29 +03:00
norohind 20cd603b23 main.py: add cli options to test hooks 2022-04-21 18:55:55 +03:00
norohind be3394ea74 HookSystem: fix deep copy 2022-04-21 18:55:18 +03:00
norohind a552fc0361 Add dump running threads by SIGUSR1 2022-04-21 13:07:41 +03:00
norohind 04cccabfa2 sql: add desc index on snh(operation_id) 2022-04-21 13:03:01 +03:00
norohind 7939e24de2 HookSystem: remove duplicated import 2022-04-21 13:02:32 +03:00
norohind 8cd624aed3 fix RuSquads hook 2022-04-20 22:37:24 +03:00
norohind 819fb93861 hooks: fix no json.loads user tags on discover 2022-04-20 22:27:21 +03:00
norohind 01a5590f7a Fix logic in backupdate 2022-04-19 19:36:52 +03:00
norohind 0bde9cd36c fix: select_new_squadrons_backupdate.sql wrong parameter name 2022-04-19 18:26:16 +03:00
norohind c410b9a120 HookSystem._last_records: add retry logic 2022-04-19 16:02:51 +03:00
norohind 9ed6e786e6 DB: fix last_known_squadron for *cold* start 2022-04-19 15:46:26 +03:00
norohind 7f7d326ca1 Improve hook system performance 2022-04-19 15:37:44 +03:00
norohind 7112102d47 create index idx_oi_squad_id 2022-04-19 15:17:12 +03:00
norohind 96ef3d4644 Took out getting last records for hooks to common part 2022-04-19 15:16:40 +03:00
norohind ac7d25297f schema fix: owner_id is text, not int 2022-04-17 16:20:31 +03:00
norohind 4601f1eab1 Fix Special squads hook 2022-04-17 10:54:35 +03:00
norohind 9acaa8ae4d Add support for special squadrons 2022-04-15 01:08:26 +03:00
norohind a9a24b57c3 Ru squads hook: pretty show tag on squad discover 2022-04-15 01:07:59 +03:00
norohind 086253b1c3 Add hooks for RU squads 2022-04-15 00:50:27 +03:00
norohind 640b21ffc0 Add available.json for resolving tags 2022-04-15 00:50:18 +03:00
norohind 27faaeee05 HookUtils: add various functions-helper for hooks 2022-04-15 00:49:14 +03:00
norohind dd8b20ede0 HookSystem: Fix typhint 2022-04-15 00:48:48 +03:00
norohind 244102c291 Hook.py: add get_db() as method of Hook class 2022-04-10 23:43:31 +03:00
norohind a5e401ebea Human friendly names for hooks threads 2022-04-10 23:17:13 +03:00
norohind 23ebf1b608 Show running threads on shutdown handler 2022-04-10 23:16:49 +03:00
norohind 76ea80b178 Introduce hooks support 2022-04-10 23:08:31 +03:00
norohind afdecb4cd8 DB.py: took out db path to env variable DB_PATH 2022-04-10 23:07:52 +03:00
norohind 731ec5decc Introduce sessions with proxing support 2022-04-10 21:47:52 +03:00
norohind 5dadc8c1c9 main.py: Fix shadowing exceptions by start parameters handling 2022-04-10 21:46:50 +03:00
norohind 42fdfd96ec Requester: add handling for BearerManager fails 2022-04-10 19:21:21 +03:00
norohind 3ea43f8df9 Took out log level to env variable LOGURU_LEVEL 2022-04-10 19:20:55 +03:00
norohind 52437392df Remove print traceback from shutdown_callback 2022-04-10 19:09:33 +03:00
norohind a3a87edea1 Done requests proxying 2022-04-10 18:58:02 +03:00
norohind 98918f88fd Done updating and discovering 2022-04-10 18:38:14 +03:00
norohind 605d4a3e43 Basic functional implemented: can update squadron with specified id 2022-04-10 14:32:48 +03:00
norohind 5955f2f093 init
DB schema done
Migration script done
2022-04-09 22:21:37 +03:00