Commit Graph

65 Commits

Author SHA1 Message Date
mokurin000
a1b3a8ef0e feat: scrape user regions 2025-08-03 19:04:16 +08:00
mokurin000
56a36933e1 fix: create records table 2025-08-03 18:11:27 +08:00
mokurin000
497c67ff89 chore: collect structured GetUserMusicApiResp 2025-08-03 18:08:50 +08:00
mokurin000
81c8f21729 feat: scrape all player record 2025-08-03 17:54:31 +08:00
mokurin000
9a6e414793 refactor: add Ext postfix for APIExt types 2025-08-03 12:15:37 +08:00
mokurin000
0d379bf248 feat: add helper for userallmusicdetail 2025-08-03 12:12:32 +08:00
mokurin000
7e4dc9b978 refactor: more flexible cached scrape 2025-08-03 12:06:07 +08:00
mokurin000
503f5f3f33 refactor: music-db crate 2025-08-02 23:52:46 +08:00
mokurin000
f25349ca26 fix: don't block other command when database is opened 2025-08-02 22:32:30 +08:00
mokurin000
0d9c8c79b4 enhance: compact & upgrade database 2025-08-02 22:13:04 +08:00
mokurin000
0b2bf20e50 fix: dumb cache update 2025-08-02 22:08:44 +08:00
mokurin000
3e1a0185fa feat: dump fetched b50 2025-08-02 22:02:52 +08:00
mokurin000
c85c2101b7 feat: filter abnormal users 2025-08-02 20:03:50 +08:00
mokurin000
2415a7e029 log: fix logging message 2025-08-02 19:58:25 +08:00
mokurin000
957166d8f4 feat: B50 fetchall impl 2025-08-02 19:56:30 +08:00
mokurin000
84edce688d refactor: split userid read & fetch 2025-08-02 19:49:41 +08:00
mokurin000
929e4641ea refactor: split read_cache 2025-08-02 19:41:49 +08:00
mokurin000
9b53cb633c refactor: implement fetchall with generic type 2025-08-02 19:39:39 +08:00
mokurin000
45cba29b23 log: make sure to log login timestamp 2025-08-02 16:07:58 +08:00
mokurin000
fe008cca67 docs: fix incorrect comment on machine_readable 2025-08-02 11:01:34 +08:00
mokurin000
c3010f2f10 chore: better display 2025-08-02 10:58:11 +08:00
mokurin000
9e17df0624 feat: convert music detail to dxrating 2025-08-02 10:03:02 +08:00
mokurin000
c86626bc75 style: reformat some code 2025-08-02 09:14:34 +08:00
mokurin000
abea7fce11 docs: add more documentation 2025-08-02 02:05:05 +08:00
mokurin000
2cb3c77d92 feat: display music details 2025-08-02 00:52:09 +08:00
mokurin000
23d8345b0e log: always colorful output to stderr 2025-08-02 00:13:31 +08:00
mokurin000
dbe0890a4a log: ping-pong delay log 2025-08-02 00:11:12 +08:00
mokurin000
000251df65 chore: sdgb 1.40 stopped service 2025-08-02 00:08:21 +08:00
mokurin000
780785b7ea build: disable fetchall feature by default 2025-08-02 00:06:58 +08:00
mokurin000
f000b8636c feat: implement full user music fetch 2025-08-02 00:02:57 +08:00
mokurin000
7b4dfbe5b2 feat: dxrating payload dump 2025-08-01 18:42:01 +08:00
mokurin000
4cf7fd1ee9 fix: output flatten list of records 2025-08-01 18:34:29 +08:00
mokurin000
4e07eaf2e0 feat: support dxratingnet format 2025-08-01 18:16:16 +08:00
mokurin000
953feee4c4 refactor: extract json_display 2025-08-01 16:25:27 +08:00
mokurin000
8d7ac62f80 log: do not send logs to stdout 2025-08-01 16:18:44 +08:00
mokurin000
7fe64ac4cd perf: speed-up musicDB load 2025-08-01 03:50:36 +08:00
mokurin000
6fd7361ca1 feat: simple musicDB for title 2025-08-01 02:03:47 +08:00
mokurin000
9b046036c9 feat: initial support for GetUserRating 2025-08-01 01:15:13 +08:00
mokurin000
0b8de2b4bc fix: logout without custom timestamp is useless 2025-07-31 22:30:59 +08:00
mokurin000
789d46991d fix: totally fix rustc version check
C-style shit syntax
2025-07-31 20:02:46 +08:00
6cb1dcefe8 fix: compile on older compilers 2025-07-31 18:47:40 +08:00
mokurin000
1ec2668bad log: log dumped player number 2025-07-31 14:34:11 +08:00
mokurin000
ca4761f83a log: only log succeed userid 2025-07-31 12:33:45 +08:00
mokurin000
57c29c8959 perf: read transcition for exisiting check 2025-07-31 11:54:01 +08:00
mokurin000
b72addd661 refactor: dump database to json 2025-07-31 11:25:04 +08:00
mokurin000
3ab53b426d enhance: allow to adjust concurrency number 2025-07-31 10:45:08 +08:00
mokurin000
cb92337dee perf: don't dump json on break 2025-07-31 02:17:12 +08:00
mokurin000
417b3c55bc chore: FnOnce is more general 2025-07-31 02:05:55 +08:00
mokurin000
7742a8b011 refactor: login-logout action 2025-07-31 02:04:49 +08:00
mokurin000
125091c76d fix: GetUserDataApi 2025-07-31 01:40:30 +08:00