46 Commits

Author SHA1 Message Date
Jennifer Taylor
6a0d92b484 Implement ability to delete users from admin user list page, show last played profile timestamp on user search page. 2026-08-30 20:51:05 +00:00
Jennifer Taylor
40a4935ae0 Implement delete user button on admin user profile page. 2026-08-30 20:24:03 +00:00
Jennifer Taylor
947252ccc0 Display last seen/last played on admin user page, prepare for delete user feature. 2026-08-30 19:41:09 +00:00
Jennifer Taylor
c67987f49a Clarify card delete option on admin cards page, add number of linked cards to admin user search page, make anonymous accounts sort last in ascending sort order on admin user search page. 2026-08-30 17:02:32 +00:00
Jennifer Taylor
0685ae5d02 Formatting fixes. 2026-08-20 23:57:38 +00:00
Jennifer Taylor
385ceb64bb Add a password recovery page and way to generate links from the admin console. 2026-08-20 22:20:56 +00:00
Jennifer Taylor
3e12c54b1d Fix type hints after newer MyPy update. 2026-08-13 01:00:07 +00:00
Jennifer Taylor
35b939bc64 Implement admin tool to list profiles on admin user page, including ability to delete a profile. 2026-07-18 21:05:23 +00:00
Jennifer Taylor
552f64af0a Allow searching for users by raw and ciphered card ID as well as game extid. 2026-07-18 19:50:53 +00:00
Jennifer Taylor
bb07a1e0bc Make session lookups also check for underlying row that the returned ID represents. 2026-06-27 03:30:57 +00:00
Jennifer Taylor
ef64f15595 Move to importing "Final" from typing, type IIDX ghost dictionary, black pass. 2026-06-27 03:06:26 +00:00
Jennifer Taylor
3850d120c9 Don't crash if a client tries to create an account with a card we know already. 2025-10-03 22:00:04 -04: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
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
dca2194a57 Additional guardrails against remote user IDs in local DB. 2023-08-19 18:02:37 +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
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