1
0
mirror of synced 2024-12-18 17:25:54 +01:00
Commit Graph

62 Commits

Author SHA1 Message Date
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
Jennifer Taylor
96dd9a865e Switch to using an enum for GameConstants. 2021-08-19 19:21:22 +00:00
Jennifer Taylor
6efd07d02f Get rid of magic strings in triggers code. 2021-08-18 19:14:02 -04:00
seth
79aa0eb87d Refactor discord webhook code into new module 2021-08-06 22:36:17 -04:00
seth
42c1bddefc iidx: Add Rootage to bemapi 2021-08-06 22:36:17 -04:00
seth
84e731aabb iidx: update api to support qpros in catalog 2021-08-06 22:36:17 -04:00
seth
33d0000c77 api client: fix get_all_records 2021-06-29 19:42:59 -04:00
Jennifer Taylor
b1b8b67fe3 Fix a few more optional type errors. 2021-05-31 18:14:51 +00:00