Commit Graph
28 Commits
Author SHA1 Message Date
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 eaf07ddf6a Latest black changed some formatting, re-run it. 2023-02-17 03:40:07 +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 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 aa10913a20 Allow optionally specifying achievement type and id for fetching activements for all users. 2021-09-06 01:30:23 +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 96dd9a865e Switch to using an enum for GameConstants. 2021-08-19 19:21:22 +00:00
Jennifer Taylor b1b8b67fe3 Fix a few more optional type errors. 2021-05-31 18:14:51 +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 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 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 74c0407173 Initial commit of BEMANI Utilities to GitHub. 2019-12-08 21:43:49 +00:00