Commit Graph
100 Commits
Author SHA1 Message Date
norohind 99fbc42aa0 index.html: Update author contact 2024-05-05 22:09:18 +03:00
norohind 7965891c74 WRYRHook.py: Add R0SD 2024-05-01 21:59:39 +03:00
norohind bcb4b7e616 WRYRHook.py: Add VAT9 2024-04-25 20:36:46 +03:00
norohind cd0aaccdbe WRYRHook.py: add NTNS, HLLN 2024-02-01 18:33:36 +03:00
norohind 80c728fd45 WRYRHook.py: Add EDXN 2024-01-28 14:16:39 +03:00
norohind 2b5b5af075 index.html: remove information about consoles, clarify that only data for pc odyssey is avilable 2023-12-03 20:37:22 +03:00
norohind 267a12124f Dockerfile: chown cache volume 2023-12-01 19:15:03 +03:00
norohind 821d127d03 Dockerfile: install /etc/mime.types for correct content types for static files 2023-11-29 17:03:11 +03:00
norohind f235e5690e entrypoint: remove uwsgi's -c option 2023-11-29 16:19:55 +03:00
norohind 9a1b8c63c7 uwsgi port: 8082 -> 8080 2023-11-28 18:42:56 +03:00
norohind df86036eeb uwsgi: serve static 2023-10-30 21:46:19 +03:00
norohind f760f77cca entrypoint.sh: remove verbose logging 2023-10-30 20:37:39 +03:00
norohind 56bbbb5dfa Dockerized 2023-10-30 20:01:53 +03:00
norohind c928110c6e Put WRYRHook.py under git 2023-10-30 20:01:53 +03:00
norohind f33bd99aba Add grafana dashboards under git 2023-08-10 00:28:32 +03:00
norohind b5dfbc809e index.html: add link to data dumps 2023-08-08 21:38:22 +03:00
norohind 569e06b8c2 fix column name for timestmap in diffs 2023-05-20 20:51:20 +03:00
norohind 6fa7c1fcf5 add timestamp to diff response 2023-05-20 20:44:15 +03:00
norohind 4574882c70 show percent of score in latest leaderboards 2023-03-08 20:01:21 +03:00
norohind f4ec819373 Make tables on main page horizontal, thanks to chatGPT 2022-12-14 17:44:07 +03:00
norohind 81e707bb7c Add refresh intervals and U14 note to index.html 2022-12-05 18:15:55 +03:00
norohind cd049d5916 Add hook to detect consoles activity 2022-12-05 18:15:41 +03:00
norohind 752d6b74b1 index.html: remove email and donation xmr address 2022-09-18 14:18:21 +03:00
norohind 26d7804065 demb.design -> demb.uk 2022-09-18 14:15:03 +03:00
norohind c81d504dba Add monero wallet address to main page (need some money to renew domain) 2022-06-21 14:25:12 +03:00
norohind 0247e6616f fix latest leaderboard: add order by score desc 2022-05-22 21:22:07 +03:00
norohind f389804558 Implement hook system 2022-05-22 14:54:34 +03:00
norohind a6fda1705e Remove obosolute documentation from code 2022-05-22 13:59:31 +03:00
norohind bfd68f9afa fix: sql req diff displaying deleted squads 2022-05-03 22:47:09 +03:00
norohind 19cec1fa0e fix: remove hardcoded values from sql queries 2022-04-07 00:11:04 +03:00
norohind e5e266b8f1 Add note how to sync serial action_id 2022-04-04 18:14:07 +03:00
norohind 6d8d1198d3 sql requests: add static columns as temp solution 2022-04-04 00:27:26 +03:00
norohind ee575a726a Migrating to new DB schema (WIP) 2022-04-03 23:41:13 +03:00
norohind 8e82a6aa48 sqlite cache: make key as primary key 2022-04-03 23:40:35 +03:00
norohind 8a9fe54f6d utils: remove time between requests logging, clean up imports 2022-04-03 23:39:47 +03:00
norohind 1ecb7b4b26 temlates_engine: support for nested templates including 2022-02-01 13:54:22 +03:00
norohind 066d12f778 fix: LeaderboardByActionIDHTML wrong ref to squad info by tag 2022-01-31 20:10:26 +03:00
norohind c129c3d1bf Add get_latest_leaderboard 2022-01-31 20:04:23 +03:00
norohind c5ae70a5f8 make pretty keys optional 2022-01-31 18:21:29 +03:00
norohind b9cab7f667 activity request fix: order by action_id in window function 2022-01-31 14:14:26 +03:00
norohind 6d0b78dca1 model fix: rollback transaction on fail 2022-01-31 14:13:51 +03:00
norohind 10db5103da DB schema: add index by timestamp 2022-01-17 01:30:52 +03:00
norohind dd8f2754e9 web: optimization 2022-01-17 01:26:01 +03:00
norohind b6f43292eb add /leaderboard-state/by-action-id/{action_id} in frontend 2021-12-19 00:37:21 +03:00
norohind 163c5a4a87 fix regexp for templates_engine, dont be greedy 2021-12-19 00:36:03 +03:00
norohind 3d22b716bd @errors_catcher for model.get_leaderboard_by_action_id 2021-12-19 00:35:35 +03:00
norohind d1ec8b2b69 fix leaderboard by action_id 2021-12-15 21:31:24 +03:00
norohind b3449c7c63 web: view raw leaderboard by action_id 2021-12-15 21:21:52 +03:00
norohind 3f1efe0ac7 WIP: leaderboard state by action_id 2021-12-15 12:10:21 +03:00
norohind 3a568a9c89 change endpoint for squads info 2021-12-14 02:15:01 +03:00
norohind adfb61100c web: migrate to short info from jubilant-system 2021-12-14 01:48:06 +03:00
norohind 5360ab2e31 WIP: model.get_leaderboard_sum_history and all appropriate stuff 2021-12-10 00:56:48 +03:00
norohind 8879f76372 web: frontend request backend, bicycle: templates_engine 2021-12-09 14:46:59 +03:00
norohind 0c64bde728 remove context manager self.db for read request 2021-12-09 01:00:07 +03:00
norohind f58df5e45f utils.measure: add name to display 2021-12-08 21:05:27 +03:00
norohind 54ce44de15 Create LICENSE 2021-12-08 21:45:32 +05:00
norohind 294eb6b726 uwsgi conf generator: die-on-term = true 2021-12-08 18:38:36 +03:00
norohind 7a2a9ab969 Normal index page 2021-12-02 22:25:03 +03:00
norohind 68ce518bf8 Meaningful index page 2021-12-02 22:12:32 +03:00
norohind 7b48b5de66 diff: order by coalesced diff 2021-12-01 14:16:26 +03:00
norohind d37b836975 Fix if null value for lb type and platform in model 2021-12-01 01:38:27 +03:00
norohind 8107895c52 Explicit rename tag to Tag column 2021-12-01 01:34:56 +03:00
norohind d483040901 Fix new_stats.name for deleted squadrons 2021-12-01 01:30:16 +03:00
norohind ebefef349d Autoreconnect on error 2021-11-30 17:33:46 +03:00
norohind c1678b8d8d Show entries with Diff < 0 (in theory, deleted squads) 2021-11-30 17:08:20 +03:00
norohind 2b8931d9a8 remove migration script 2021-11-30 16:54:39 +03:00
norohind 09d3f86c00 Remove support for sqlite 2021-11-30 16:54:16 +03:00
norohind 36bb3a78eb fix /diff when squad starts to exists in leaderboard 2021-11-30 16:20:51 +03:00
norohind b0003fb153 front: put table in div 2021-11-30 02:05:37 +03:00
norohind 8b0c458b8d Diff: tag as hyperlink to jub 2021-11-29 21:04:18 +03:00
norohind 926609f29e Unifyin activity_table_html_template 2021-11-29 14:32:50 +03:00
norohind cebe77cc09 Frontend table builder performance impoves 2021-11-29 00:48:21 +03:00
norohind 7d132ecb5f Fix env CACHE_DISABLED to bool converting 2021-11-28 21:46:49 +03:00
norohind 2e3c6983b0 Fix cache drop by http request 2021-11-28 20:37:42 +03:00
norohind bacd5ac7fd Verbose logging on request fail 2021-11-28 19:59:23 +03:00
norohind e6345cbd41 sqlite2postgres: cli interface 2021-11-28 19:21:12 +03:00
norohind fdaa579ec0 Read reqs in postgres should be in transactions
In order to prevent break whole program instance by one failed request
2021-11-28 18:29:48 +03:00
norohind e822cd06c9 Return original columns names for postgres 2021-11-28 17:58:13 +03:00
norohind c84588959b sqlite2postgres: sqlite location as env var 2021-11-28 17:26:48 +03:00
norohind 787a03db4f Took out env vars reading from utils to config 2021-11-28 17:25:09 +03:00
norohind b056aeba2a Measure exec time only on DEBUG log level 2021-11-28 17:18:42 +03:00
norohind 4ab06f00de Update comment with usage help 2021-11-28 17:16:45 +03:00
norohind 3757cc1b07 call open_model must be done by web.py and main.py by themself 2021-11-28 17:11:47 +03:00
norohind d30bc56c9e Took out env vars extracting to config.py 2021-11-28 16:57:55 +03:00
norohind 803b6cce7c Add continues pull from sqlite to postgres 2021-11-28 14:43:52 +03:00
norohind 145cb8a19b Remove more hardcoded secrets 2021-11-28 14:07:39 +03:00
norohind 702ab34154 Add logging for models 2021-11-28 14:03:39 +03:00
norohind 1a692df820 Abstract model for support both DBMS 2021-11-28 03:18:41 +03:00
norohind bfd2f785a9 sqlite_cache safety 2021-11-28 02:38:56 +03:00
norohind 089451745c Remove hardcoded values 2021-11-28 02:36:52 +03:00
norohind b5d0c43b7e WIP: migration from sqlite to postgres 2021-11-28 02:28:31 +03:00
norohind a5218db824 @utils.measure decorator for debug purposes 2021-11-27 00:51:28 +03:00
norohind b9d65cac7f MovedPermanently / -> /index.html 2021-11-25 17:15:29 +03:00
norohind 636443e097 Move static to common static folder 2021-11-25 17:04:28 +03:00
norohind 9fa8bb8712 add .gitignore 2021-11-25 17:03:01 +03:00
norohind 7762874b8a add small doc on /index.html 2021-11-25 17:02:39 +03:00
norohind 6a8acdc55a Remove static files serving class 2021-11-25 16:16:20 +03:00
norohind 7495ebd460 took out static files 2021-11-25 15:19:07 +03:00
norohind 2c5bfc143f add script for uwsgi config create 2021-11-25 14:46:42 +03:00
norohind 93c1afcb92 RESTful URLs for frontend part 2 2021-11-25 13:02:18 +03:00