38 Commits

Author SHA1 Message Date
c909886902
feat(db): get_songs_by_pack_id 2023-09-17 00:27:20 +08:00
589826004b
fix(db): minor fixes 2023-09-17 00:26:56 +08:00
d763896c0c
feat(db): Score related modify methods 2023-09-06 01:10:47 +08:00
c2a171a6d3
chore(db)!: Database method rename 2023-09-06 00:30:24 +08:00
d36a858464
feat(db): new methods 2023-09-06 00:01:18 +08:00
844568db1a
feat(db): export methods 2023-08-31 22:18:11 +08:00
167f72f9bb
refactor(models)!: Score & ChartInfo column changed 2023-08-31 22:12:02 +08:00
01bfd0f350
feat(db): COUNT related methods 2023-08-31 21:51:49 +08:00
0d882fa138
feat(external): arcsong.json generator 2023-08-31 21:25:50 +08:00
daf2a46632
feat(db): Score related Database methods 2023-08-31 21:03:10 +08:00
ca9576160f
fix(db): convert results to list before closing session 2023-08-29 01:32:26 +08:00
e948b6abea
chore(db)!: Database methods 2023-08-28 22:54:37 +08:00
b561cc51e0
refactor(db)!: new charts view & models refactor 2023-08-28 21:36:17 +08:00
b180976284
feat: handy methods under Database 2023-08-28 00:15:34 +08:00
262495a580
fix: singleton Database behavior 2023-08-27 19:44:20 +08:00
a6c1e594c4
feat(db): Database.check_init() 2023-08-27 00:31:44 +08:00
511b9f72c0
impr: add ReprHelper for models 2023-08-26 22:11:26 +08:00
003e1a7289
refactor: Database class 2023-08-26 16:52:19 +08:00
4a3523d380
refactor: database.py 2023-08-26 01:35:00 +08:00
71d336be9d feat(db): import from external score source 2023-08-12 18:43:12 +08:00
da109e7cb5 wip: db 2023-08-06 15:40:43 +08:00
619d4029f8 feat(db): update_score(score_id, new_score) 2023-06-28 02:39:46 +08:00
15beeb5f35 feat(db): delete_score(score_id) 2023-06-28 01:33:12 +08:00
c1085c1f65 impr(db): close connection when program exit using atexit hook 2023-06-27 23:27:10 +08:00
47db4ca120 feat(db): get_chart(song_id, rating_class) 2023-06-27 23:25:58 +08:00
72453e6cf4 wip(db)!: insert scores using ScoreInsert dataclass 2023-06-22 03:35:30 +08:00
a03edf47dd feat(db): get_package_by_package_id 2023-06-17 02:37:38 +08:00
9b7d06a2f9 feat(db): validate_chart(song_id, rating_class) 2023-06-17 02:19:46 +08:00
2fd9478b6a fix(db)!: remove r10 calculation, see #1 2023-06-17 02:19:07 +08:00
08b1013820 chore(db): split init sql statements 2023-06-11 23:29:22 +08:00
33287b2e3a impr(db): accurate pure_small calculation
- I should commit this 4 days ago, but I forgot it in stash, my bad :(
2023-06-06 19:59:25 +08:00
3896efd8de impr(db): general improvements 2023-06-06 19:36:32 +08:00
e874e38d3b chore(db): use cursor to run queries 2023-06-06 15:17:14 +08:00
eee196d0ba feat(db): fuzzy search song_id 2023-06-06 15:00:59 +08:00
a84ec7de33 fix(db): correct calculation for ptt 2023-06-06 02:46:44 +08:00
bd82f5e1e0 feat(db): B30 & R10 & ptt calculation using view 2023-06-06 01:30:56 +08:00
a4f995a6aa fix: typo caculate -> calculate 2023-06-02 17:08:42 +08:00
d16c25726a init 2023-05-31 19:31:00 +08:00