1
0
mirror of synced 2024-11-28 07:50:51 +01:00
Commit Graph

51 Commits

Author SHA1 Message Date
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
Jennifer Taylor
a4746f2934 Get rid of remaining dunder calls in unit tests. 2021-05-31 18:14:04 +00:00
Jennifer Taylor
2eb39f86cd Update to stricter type checking, get rid of a bunch of unnecessary ignore statements. 2021-05-31 18:07:03 +00:00
Jennifer Taylor
f15ba3c718 Fix massive amount of type errors coming from new MyPy with Flask stubs. 2021-05-19 22:38:00 +00:00
Jennifer Taylor
8b54d7ccd5 Fix parsing of API client content-type string. 2021-05-08 01:49:42 +00:00
Jennifer Taylor
a2ceb5cd9e Remove duplicate copy of user.py that somehow existed in the top-level data directory for years. 2021-05-07 05:16:15 +00:00
Jennifer Taylor
d4faa9f7d8 Fix path issues for a few miscelaneous tools on Windows. 2021-04-16 03:51:16 +00:00
Jennifer Taylor
152787f6d6 Fix error on startup caused by incorrect types and new SqlAlchemy. 2021-03-19 00:47:37 +00:00
Jennifer Taylor
368efe2c63 Auto-prune event log entries after some time. 2020-05-08 18:22:31 +00:00
Jennifer Taylor
9f4dfe4682 Teach network how to import/export Jubeat emblem catalog. 2020-04-24 19:20:27 +00:00
Jennifer Taylor
509cb4f0d9 Convert most of the format() string calls to f-strings using libcst.
Exact commands run were:

  python3 -m libcst.tool codemod convert_format_to_fstring.ConvertFormatStringCommand . --no-format
  python3 setup.py build_ext --inplace
2020-01-07 21:29:07 +00:00
Jennifer Taylor
c89c12062d Upgrade to latest flake8, address new flake issues. 2019-12-10 01:10:14 +00:00