Commit Graph
69 Commits
Author SHA1 Message Date
Jennifer Taylor 90cedcd5e1 Format with latest black, fix latest type issues. 2025-08-14 01:52:48 +00:00
tyam 5fc9286ee1 Pop'n Music 27 Unilab support (#94)
* Pop'n Music 27 Unilab support

Known issues:
I don't know how to trigger KAC Lab. This seems to be something that should be able to be accessed on appropriate versions of the dll but I can't seem to figure it out.
Rare softlock on pop'n quest Lively II event if you mess with the phase flags and put the game in an invalid state. In theory (and according to bemaniwiki) the entire event should be clearable on earlier Unilab builds.

Not an issue/will not fix:
狼弦暴威 does not appear in Awakening Elem when the event flag is set. The solution to this (for some reason) is to clear the other 10 events. This is not a bemaniutils issue.
2025-01-21 17:21:54 -05:00
Jennifer Taylor 3e00faefde Fix incompatibility with existing database migrator after SQLAlchemy 2.0. 2024-09-26 01:21:17 +00:00
Jennifer Taylor da5e3fe52f Finally upgrade to SQLAlchemy 2.0, fix a bunch of type issues relating to that from Python 3.12. 2024-09-26 00:04:23 +00:00
Jennifer Taylor c6477861ec Fix our cache key generation when involving API clients. 2024-06-28 00:14:27 +00:00
Jennifer Taylor f63247b605 Fix some new typing errors (a bunch of ignores can be removed!), black errors. 2024-03-30 02:07:21 +00:00
Jennifer Taylor f6a9aa69fd Make black do 120 character lines instead of 80. 2024-01-02 02:46:24 +00:00
Jennifer Taylor a024d66ad2 Actually cache responses from remote servers. 2023-08-22 02:48:18 +00:00
Jennifer Taylor dca2194a57 Additional guardrails against remote user IDs in local DB. 2023-08-19 18:02:37 +00:00
Jennifer Taylor 2e8b08b296 Add memoization to federation functions to lighten load on remote servers. 2023-08-19 17:41:14 +00:00
Jennifer Taylor 2491eb0767 Promote frontend-only cache to a system-wide context, tweak application entrypoints to work with new bemani.common.cache 2023-08-13 18:56:43 +00:00
Jennifer Taylor 53144b3123 Partially (maybe fully?) working implementation of MGA matching. 2023-08-07 00:56:43 +00:00
Jennifer Taylor 820acdc244 Prototype matching support for MGA, seems to at least make the game happy but unsure if it works with multiple clients. 2023-08-05 17:55:27 +00:00
Jennifer Taylor 383de2a070 Switch to a comprehension instead of appending in user. 2023-03-19 19:06:10 +00:00
Jennifer Taylor bce2fa0624 Reformat all multi-line SQL to remove format calls and make more readable. 2023-03-19 18:09:06 +00:00
Jennifer Taylor dfd8f70970 Remove terrible inner table scans for profile lookups. 2023-03-19 16:48:14 +00:00
Jennifer Taylor a2ae886d73 Remove unnecessary if statements in some cases. 2023-03-19 05:40:52 +00:00
Jennifer Taylor 64aeeafbc6 Remove unnecessary list creation in mysql functions. 2023-03-19 05:23:35 +00:00
Jennifer Taylor 284153ef2e Fix type errors with newest mypy. 2023-02-17 03:40:07 +00:00
Jennifer Taylor eaf07ddf6a Latest black changed some formatting, re-run it. 2023-02-17 03:40:07 +00:00
Jennifer Taylor c61d08a554 Set up an asset concept, use it to display emblem previews on Jubeat settings. Huge thanks to Subject38 for lots of this code! 2022-11-13 17:21:34 +00:00
Jennifer Taylor 6de1cd7e6d Fix key error in merging jubeat songs that don't have a set music rate. 2022-11-13 00:20:43 +00:00
Jennifer Taylor 3dea5df10e Add missing version mappings to BEMAPI client. 2022-11-01 03:46:18 +00:00
Jennifer Taylor 85a3f08c78 Add ability to specify a custom area that gets picked up by some games. 2022-10-15 22:05:08 +00:00
Jennifer Taylor 25e162042a Format code with black, include wrapper script to handle that, update linter checks to accomodate, fix a few miscelaneous type errors. 2022-10-15 18:56:30 +00:00
Jennifer Taylor 6004929b35 Make the read-only filter smarter, to stop false-positives on score endpoints. 2022-10-07 01:58:15 +00:00
Jennifer Taylor 529dc5ef15 Add a few hacks to make sure existing installations who forget to re-import jubeat data won't break. 2022-10-05 20:20:50 -04:00
seth 83892aea75 update bemapi to include music_rate and jubeat festo 2022-08-17 02:05:01 +00:00
Jennifer Taylor 05e4ef0cb8 Update frontend to use Subject38's proper categories as extracted from Jubeat XML. 2022-08-17 01:38:47 +00:00
Jennifer Taylor 8098825387 Fix lint and typing messages with latest libraries. 2022-03-18 04:32:04 +00:00
Jennifer Taylor a97df7d24a Fix some small typing issues with newest mypy. 2021-10-02 23:12:46 +00:00
Jennifer Taylor eed148f956 Clean up possible orphan profiles for DDR Ace. 2021-09-11 01:06:13 +00:00
Jennifer Taylor e4d308e3c9 Fix get_games_played to not accidentally see half-created profiles. 2021-09-10 19:15:20 +00:00
Jennifer Taylor a226c39eb9 Add default game settings for PCBIDs not in any arcade. 2021-09-10 02:23:20 +00:00
Jennifer Taylor 3863b9f048 Apply Final to a few more miscelaneous classes outside of frontend. 2021-09-07 17:57:18 +00:00
Jennifer Taylor 469df34bea Speed up a few profile operations by writing better SQL with fewer DB hits. 2021-09-07 17:57:00 +00:00
Jennifer Taylor d05c3f907d Add config, database and user interface to change network region as well as per-arcade region. Also unified IIDX prefecture setting. 2021-09-07 02:48:42 +00:00
Jennifer Taylor beb818f42b Only enable ealink for IIDX/Pop'n if there is something to broadcast scores to. 2021-09-06 19:42:38 +00:00
Jennifer Taylor 6d258f1027 Fix a few nits from recent PR. 2021-09-06 18:56:49 +00:00
cracrayol ede06b3e68 Merge remote-tracking branch 'upstream/trunk' into trunk 2021-09-06 19:09:47 +02:00
Jennifer Taylor aa10913a20 Allow optionally specifying achievement type and id for fetching activements for all users. 2021-09-06 01:30:23 +00:00
cracrayol d3d1fe6ca0 Fix user name check for MGA in frontend
Use "for key, value in" when reading usaneko phases
Lint fixes
2021-09-06 02:16:06 +02:00
cracrayol c64efa5860 Add discord webhook support for Popn 2021-09-04 18:06:00 +02:00
Jennifer Taylor 83cf8fc9cb Add config option for theme directory for easier overrides of CSS/favicon. 2021-08-31 21:40:30 +00:00
Jennifer Taylor 6ebc8de311 Add support for self generated PCBIDs on arcade management page as well as a setting to control it. 2021-08-29 01:47:45 +00:00
Jennifer Taylor bb7916d3c4 Move logic for calculating play statistics into common module and backend base module. 2021-08-24 23:18:53 +00:00
Jennifer Taylor 40dbf1d6b9 Make Config a real class instead of a Dict, for safer access and defaults. 2021-08-20 04:43:59 +00:00
Jennifer Taylor b940e3143f Switch profile operations to using a Profile class instead of a raw ValidatedDict. 2021-08-20 04:43:13 +00:00
Jennifer Taylor 5fe48fb1c3 Fix a few places using enums directly instead of their value, formalize 'support' entry in config. 2021-08-19 19:25:10 +00:00
Jennifer Taylor b92cd4f579 Switch to using an enum for API ID constants. 2021-08-19 19:21:41 +00:00