Commit Graph
33 Commits
Author SHA1 Message Date
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
norohind 04f62d77fe RESTful URLs for frontend 2021-11-25 12:57:21 +03:00
norohind 919395cb5d Clarify for web: timestamp in UTC 2021-11-25 00:33:49 +03:00
norohind 7a8f722064 remove useless consts 2021-11-23 20:55:25 +03:00
norohind 765e2db863 dont propagate logger 2021-11-23 20:52:43 +03:00
norohind 211a91110f Add caching for sql reqs results 2021-11-23 18:43:27 +03:00
norohind 4b0fc375a9 web.py: add application var for uwsgi 2021-11-21 18:46:36 +03:00
norohind b1a0424ac6 order by TotalExperienceDiff desc in diff action_id 2021-11-21 18:01:56 +03:00
norohind 2520573a77 redirect from /{var} to /leaderboard/{var} 2021-11-21 17:23:39 +03:00
norohind e9ccdd0404 /{leaderboard} -> /leaderboard/{leaderboard} 2021-11-21 17:19:49 +03:00
norohind bce2f9dd4d make action_id clickable -> to diff page 2021-11-21 17:17:46 +03:00
norohind 0e35b86a5b add SquadronName to diff table 2021-11-21 14:32:56 +03:00
norohind c51d8a1b3b fix css for html views 2021-11-21 14:30:01 +03:00
norohind f41625c160 add ActivityDiffHtml 2021-11-21 14:12:29 +03:00
norohind 1d6656cccf add diffing feature 2021-11-21 13:46:23 +03:00
norohind 8de539267e fix: remove useless now db parameter, remove useless imports 2021-11-21 02:53:19 +03:00
norohind 1e3e3682b2 pretty view as table 2021-11-21 02:46:34 +03:00
norohind 181f7892de pretty keys names in api response 2021-11-21 01:09:54 +03:00
norohind 56bd4f335b move insert_leaderboard_db from main.py to model.py 2021-11-21 00:50:20 +03:00
norohind 5b1216dd41 init 2021-11-19 00:10:20 +03:00