Commit Graph

353 Commits

Author SHA1 Message Date
Kevin Trocolli
e69922d91b ongeki: fix frontend versions 2024-06-09 03:14:43 -04:00
Kevin Trocolli
b4b8650acc mai2: add basic webui 2024-06-09 03:05:57 -04:00
Kevin Trocolli
79f511c837 frontend: add username login 2024-06-08 19:18:15 -04:00
Kevin Trocolli
f94d22ab0d mai2: add tables for rivals and favorite music 2024-06-08 19:04:27 -04:00
akanyan
df2a4d3074 ongeki: clearstatus db migration 2024-05-29 19:15:22 +09:00
Kevin Trocolli
a2fe83ae06 cxb: add grade to playlog 2024-05-28 22:32:38 -04:00
Hay1tsme
12f035b7e5 add no logs message to event viewer 2024-05-26 22:49:05 -04:00
Kevin Trocolli
e66ae91740 add basic event log viewer 2024-05-22 01:36:41 -04:00
Kevin Trocolli
4ee4c26f5e allnet: enhance logging 2024-05-22 00:05:32 -04:00
Kevin Trocolli
a9587a9c91 add additional details to event_log 2024-05-21 23:05:22 -04:00
Kevin Trocolli
3ed8d9c16b update get_mucha_info documentation 2024-05-19 21:40:02 -04:00
beerpsi
960cf73a04 [allnet] Enable DFI-encoded responses 2024-04-30 22:34:41 +07:00
MEANINGLINK
976aa6b560 CHUNI: Add more chunithm frontend features
1. Implemented profile, rating and playlog webpages.
2. Fixed bugs of version change api and name change api.
2024-04-23 22:43:45 +08:00
Hay1tsme
926713431d Merge branch 'develop' of https://gitea.tendokyu.moe/Hay1tsme/artemis into develop 2024-04-02 16:43:16 -04:00
Hay1tsme
1072a9d63b database: fix create_revision_auto 2024-04-02 16:43:13 -04:00
Kevin Trocolli
7e709db0cc fix get_ip_addr 2024-03-29 20:13:15 -04:00
Hay1tsme
87c7c91e3a add ability to add users, cards, arcades and cabs on the webui 2024-03-23 20:01:32 -04:00
Dniel97
3613f4dbd2
mai2: BUDDiES support added 2024-03-20 21:42:38 +01:00
beerpsi
40a0817009 CHUNITHM & O.N.G.E.K.I.: Handle userRatingBase*List (#113)
These tables are not used by the game, but are useful for anyone wanting to develop a web UI showing what the player's rating consists of. As such, instead of storing them in JSON columns, I've split them out, one row per each entry.

Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/113
Co-authored-by: beerpsi <beerpsi@duck.com>
Co-committed-by: beerpsi <beerpsi@duck.com>
2024-03-14 14:44:32 +00:00
Kevin Trocolli
b63c2c2d12 dbutils: add autocreate option to revision 2024-03-11 21:24:57 -04:00
Kevin Trocolli
c4deff9d1c add database downgrading 2024-03-04 00:50:51 -05:00
Kevin Trocolli
e69149632f frontend: fix namechange and password change failing 2024-03-02 17:52:01 -05:00
Kevin Trocolli
bd97428166 frontend: fix account and owner creation (fixes #108) 2024-03-02 17:48:48 -05:00
Kevin Trocolli
4363b8321b mucha: UTC_SERVER_TIME -> SERVER_TIME_UTC 2024-02-24 16:49:02 -05:00
Hay1tsme
b462a2720a fix database config field protocol 2024-02-14 16:56:40 -05:00
Hay1tsme
89c2b324dc aimedb: add last login time update to register endpoints 2024-02-12 15:58:02 -05:00
Hay1tsme
4149944d56 aimedb: update card last login time properly 2024-02-12 15:53:28 -05:00
Hay1tsme
348edef0f5 idac: add missing await 2024-01-22 16:35:43 -05:00
Hay1tsme
404496191d mucha: remove print statement 2024-01-22 16:25:51 -05:00
Hay1tsme
8864b2625d fix proxy ports 2024-01-22 16:21:49 -05:00
Hay1tsme
200bfe7d84 mucha: oops 2024-01-22 15:55:10 -05:00
Hay1tsme
9a021d4005 mucha: add shop info 2024-01-22 15:32:43 -05:00
Hay1tsme
66c9548dd2 mucha: move to starlette 2024-01-22 15:03:59 -05:00
Hay1tsme
029be55cc0 mucha: fix handlers 2024-01-22 14:59:53 -05:00
Hay1tsme
5c9570d421 allnet: fix placeid formatting 2024-01-22 14:47:36 -05:00
Hay1tsme
8d416d7633 allnet: add exception handling if get_allnet_info fails 2024-01-22 14:44:21 -05:00
Hay1tsme
384924335c allnet: populate title registry when launching standalone 2024-01-22 14:42:02 -05:00
Kevin Trocolli
7cf8b4fd5f aimedb: allow listen address override 2024-01-14 16:48:41 -05:00
Kevin Trocolli
e36989e7cc billing: fix overzealous find and replace 2024-01-14 16:43:25 -05:00
Kevin Trocolli
97e5c29cf5 frontend: utf16 -> utf8 2024-01-13 17:15:02 -05:00
Hay1tsme
e80b0671c2 frontend: add charset=utf16 2024-01-12 18:03:44 -05:00
Hay1tsme
ae09c2ad48 chuni: add frontend 2024-01-12 18:03:11 -05:00
Kevin Trocolli
9a7d5bc689 fix logging 2024-01-11 21:01:51 -05:00
Kevin Trocolli
fc3f0900b3 dbutils: add create-revision command 2024-01-11 20:48:27 -05:00
Kevin Trocolli
19fd008598 fix legacy upgrade script 2024-01-11 20:39:29 -05:00
Hay1tsme
bb752563cc aimedb: add enable toggle 2024-01-11 12:25:35 -05:00
Hay1tsme
6dd46a5aa7 fix default config typo 2024-01-11 12:09:19 -05:00
Hay1tsme
fb36cc9b07 configuration changes, update docs 2024-01-11 12:08:22 -05:00
Kevin Trocolli
06e7288cad ongeki: fix frontend page 2024-01-09 21:16:22 -05:00
Kevin Trocolli
0a56207e90 frontend: fix cab list on arcade page 2024-01-09 20:08:10 -05:00
Kevin Trocolli
d672edb266 fix searching for an arcade by serial 2024-01-09 19:45:39 -05:00
Kevin Trocolli
805b8f5b3e allnet: fix error parsing dli files 2024-01-09 19:10:54 -05:00
Kevin Trocolli
8a99f94c93 aimedb: fix felica lookups failing 2024-01-09 19:10:39 -05:00
Hay1tsme
c680c2d4e9 readd get_title_port_ssl 2024-01-09 17:49:18 -05:00
Hay1tsme
261d09aaef dbutils: add legacy migration 2024-01-09 17:11:49 -05:00
Hay1tsme
37304500a5 fix SDDT v5 rollback and v6 upgrade scripts 2024-01-09 16:22:43 -05:00
Hay1tsme
2d95e29f3c remove unused imports 2024-01-09 15:59:58 -05:00
Hay1tsme
f8c77e69ed remove unused table 2024-01-09 15:56:49 -05:00
Hay1tsme
9dab26b122 port frontend changes from different project 2024-01-09 15:54:34 -05:00
Hay1tsme
05586df08a move to async database 2024-01-09 14:42:17 -05:00
Hay1tsme
edd3ce8ead move to alembic 2024-01-09 13:57:59 -05:00
Hay1tsme
7b49a8ab58 add JSONResponseNoASCII 2024-01-09 12:41:32 -05:00
Kevin Trocolli
4933ad72f2 adb: change warning to debug 2024-01-09 03:17:23 -05:00
Kevin Trocolli
cc68b7f6c6 adb: fix timeout issue 2024-01-09 03:16:31 -05:00
Kevin Trocolli
14fa0f5e8e begin move 2024-01-09 03:07:04 -05:00
Midorica
37b1f41b44 fixing the upgrade & downgrade script for chunithm 2023-12-15 22:21:05 -05:00
EmmyHeart
9b9d1f664d Rollback for Sun Plus changed
should hopefully never need to use this
2023-12-13 06:34:32 +00:00
EmmyHeart
b6d1f2cd3a Updated playlog and best tables for Sun Plus
Lord have mercy, this is my first schema update
2023-12-13 06:33:06 +00:00
Kevin Trocolli
283cf41bce chuni: bandaid fix for if a user or team is named 'true' or 'false', fixes #65 2023-12-10 17:41:05 -05:00
Kevin Trocolli
d024b2eeb8 billing: fixes 2023-12-02 21:01:33 -05:00
Hay1tsme
ed2d306dee adb: add configurable auth id lifetime 2023-11-30 18:22:01 -05:00
Hay1tsme
ffc0f2fa5e add keychip ID to auth key 2023-11-30 18:17:40 -05:00
Hay1tsme
a1569bca9d fix typing for create_sega_auth_key 2023-11-30 18:14:20 -05:00
Hay1tsme
cc86d4509e adb: fix for when user_id is None 2023-11-30 18:10:22 -05:00
Kevin Trocolli
216fa49f8b aimedb: implement auth keys 2023-11-30 02:07:24 -05:00
Hay1tsme
46f61325cb aimedb: soft impl of auth ids 2023-11-29 18:01:19 -05:00
Hay1tsme
6774716e06 add sega auth key encode/decode in Utils, requires pyjwt 2023-11-27 16:39:50 -05:00
phantomlan
80ae372ccf fix rollback 2023-11-13 04:05:13 +01:00
phantomlan
b56a5f020b add rollback sql
move GP support to table in DB
small fixes
2023-11-13 03:26:09 +01:00
phantomlan
f81c53558e - Add ClientTestmode upsert
- Add ClientSetting upsert
- Add endDate for Events
- Add Upgrade Schema
- Small bugfixes for events
2023-11-13 02:01:56 +00:00
Kevin Trocolli
cb8eaae2c0 Per-version URI/Host (#66)
Allows setting allnet uri/host response based on things like version, config files, and other factors to accommodate a wider range of potential setups under the same roof. This DOES require all titles to adopt a new structure but it's documented and should hopefully be somewhat intuitive.

Co-authored-by: Hay1tsme <kevin@hay1ts.me>
Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/66
Co-authored-by: Kevin Trocolli <pitok236@gmail.com>
Co-committed-by: Kevin Trocolli <pitok236@gmail.com>
2023-11-09 02:17:48 +00:00
Kevin Trocolli
a7b0b1be49 allnet: fix dli report logging 2023-11-04 12:41:47 -04:00
Kevin Trocolli
dde397a96c allnet: fix event type for handle_dlorder_report 2023-11-01 20:09:14 -04:00
Kevin Trocolli
f99bf7d1ed allnet: add DLI_STATUS 2023-11-01 20:08:20 -04:00
Kevin Trocolli
bd3e1918aa allnet: further dl report logging 2023-11-01 01:17:23 -04:00
Kevin Trocolli
ffc0a07f6d allnet: fix dl report message typo 2023-11-01 01:02:09 -04:00
Kevin Trocolli
ab640760a9 allnet: add event logging to download report 2023-11-01 00:53:04 -04:00
EmmyHeart
719ae9cfb1 Added checks for if Aime card is locked or banned, and pass that status to the game 2023-10-20 03:25:12 +00:00
EmmyHeart
8fcd227b33 Added functions for checking if Aime card is locked or banned 2023-10-20 03:24:25 +00:00
Midorica
54c77c047e fixing duplicated is_cab value from machine table 2023-10-18 18:44:03 -04:00
Midorica
93b8b86b55 Adding base handler & config for HTTPS title support 2023-10-17 13:12:08 -04:00
Midorica
eaa2652647 Merge pull request 'Chunithm Fixes and Maintenance for all!' (#46) from EmmyHeart/artemis:develop into develop
Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/46
2023-10-17 17:00:08 +00:00
EmmyHeart
4f0a5f60ab Added config for reboot time support 2023-10-16 13:22:18 +00:00
EmmyHeart
480551f942 Fixed logic error leading to strict IP checking always being enabled 2023-10-16 13:07:05 +00:00
Dniel97
d6e4db48f4
Added maimai DX FESTiVAL PLUS support
- Added Card Maker support for FESTiVAL PLUS
- Bumped SDEZ database to version 8
- Updated docs for FESTiVAL PLUS
2023-10-15 19:04:15 +02:00
Midorica
aa9d48ccc9 fixed the diva profile again 2023-10-10 18:37:18 -04:00
Midorica
6d592dcbc7 fixing skin issue with diva profile 2023-10-10 18:24:54 -04:00
Kevin Trocolli
b5ccd67940 db: add memcache toggle 2023-10-05 22:16:50 -04:00
Midorica
91791813dc Merge pull request 'ONGEKI Rival Functionality' (#36) from 2TT/artemis:develop into develop
Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/36
2023-09-23 16:08:15 +00:00
Kevin Trocolli
1497bf4a95 frontend: fixes to searching 2023-09-19 02:42:13 -04:00
Kevin Trocolli
aa17f99252 frontend: add placeholders, arcade search by IP 2023-09-19 02:31:29 -04:00
Kevin Trocolli
50de0916d4 allnet: minor tweeks to mirrior realnet better 2023-09-19 02:15:22 -04:00
Wanich Keatkajonjumroen
ed46ea33e3 Added version select in session, removed get_profile_data_ignore_version, renamed scripts file 2023-09-09 06:55:18 +09:00
Kevin Trocolli
238e39f415 adb: properly handle an incorrect adb status value 2023-09-06 22:47:37 -04:00
Hay1tsme
5499d38bb4 mucha: streamline mucha_postprocess (thanks Bottersnike!) 2023-09-05 17:32:51 -04:00
2TT
d584b93ca5 Merge branch 'develop' into develop 2023-09-02 06:39:37 +00:00
Wanich Keatkajonjumroen
16d801aff5 Rival Delete functionality 2023-09-02 07:40:57 +09:00
Wanich Keatkajonjumroen
147d7adaaf Frontend for adding rivals, versionless backend function to support 2023-09-02 06:21:02 +09:00
Wanich Keatkajonjumroen
eaf9e0cf09 removed temp file 2023-08-30 13:53:55 +09:00
Wanich Keatkajonjumroen
2a52e391d6 Ongeki template start 2023-08-30 13:53:31 +09:00
Kevin Trocolli
dac655b4ae adb: add catch for uninitialized amlib requests 2023-08-27 19:18:22 -04:00
Kevin Trocolli
d4ea3bc12a billing: float5 hotfix 2023-08-21 01:53:27 -04:00
Kevin Trocolli
d8b0e2ea2a billing: add classes and validation, fix response 2023-08-21 01:50:59 -04:00
Kevin Trocolli
984949d902 allnet: partial DFI implementation 2023-08-21 00:10:25 -04:00
Kevin Trocolli
2e8d99e5fa allnet: add ip check config option 2023-08-20 23:25:50 -04:00
Kevin Trocolli
fd6cadf2da adb: hotfix 2023-08-20 19:56:16 -04:00
Kevin Trocolli
71489c1272 adb: fix log_ex 2023-08-20 19:55:26 -04:00
Kevin Trocolli
8ea82ffe1a adb: add from_req 2023-08-19 01:35:37 -04:00
Kevin Trocolli
cf7cc0997a mucha: add other request/response structures 2023-08-15 23:19:48 -04:00
Hay1tsme
92567504f4 adb: fix for felica_lookup_ex, for #32 2023-08-15 10:43:49 -04:00
Hay1tsme
fd50a7ee68 aimedb_redux (#30)
Update AimeDB from new [documentation](https://minori.tendokyu.moe/docs/allnet/aimedb/) of the protocol.
Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/30
2023-08-14 03:32:03 +00:00
Hay1tsme
9e3a51a57a allnet: add IP checking 2023-08-08 12:35:38 -04:00
Hay1tsme
4744e8cf5f add ip checking config options 2023-08-08 10:24:28 -04:00
Hay1tsme
88a1462304 logger: change from warn to warning 2023-08-08 10:17:56 -04:00
Hay1tsme
2e277e7791 add arcade ip column 2023-08-08 10:17:38 -04:00
Kevin Trocolli
6c89a97fe3 frontend: add management pages 2023-07-23 22:21:49 -04:00
Kevin Trocolli
b943807904 core: add columns to machine table, bump to v5 2023-07-23 22:21:41 -04:00
Kevin Trocolli
20335aaebe add download report api 2023-07-23 12:47:10 -04:00
Kevin Trocolli
14a315a673 replace except with except Exception 2023-07-16 16:58:34 -04:00
Midorica
c6e7100f51 Merge pull request 'O.N.G.E.K.I.: Card Maker fixes, improvements and bug fixes' (#25) from Dniel97/artemis:cardmaker_ongeki_fix into develop
Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/25
2023-07-16 17:06:44 +00:00
Dniel97
f39317301b
mai2: fixed update script, added mai2 heredity, fixed cards import 2023-07-15 22:51:54 +02:00
Kevin Trocolli
2f13596885 fix db ignoring port in config, createing database no longer runs over version 2023-07-15 00:15:14 -04:00
Dniel97
6a41dac46c
ongeki: card maker config added, small fixes, improved credits
- Changed the credits config to the default 370 instead of 360
- Added `start_date` to the events to show new events
- Fixed Card Maker Gachas to only allow "Select Gacha" once
- Fixed the `get_profile_rating_log` database query
2023-07-12 11:25:46 +02:00
Kevin Trocolli
85b73e634d mucha: add DownloadState 2023-07-12 00:41:53 -04:00
Kevin Trocolli
03cf535ff6 make threading optional 2023-07-08 00:34:55 -04:00
Kevin Trocolli
6c155a5e48 database: add static variables to prevent having multiple sessions 2023-07-08 00:01:52 -04:00
Kevin Trocolli
f279adb894 mai2: add consecutive day login count, update db to v7, fix reader, courses, and docs 2023-07-01 21:51:18 -04:00
Kevin Trocolli
a680699939 Merge branch 'finale' into develop 2023-07-01 02:59:12 -04:00
Kevin Trocolli
9d33091bb8 allnet: use parse_qsl 2023-06-30 01:34:46 -04:00
Kevin Trocolli
8b43d554fc allnet: make use of urllib.parse where applicable 2023-06-30 01:19:17 -04:00
Kevin Trocolli
610ef70bad allnet: add Alive get and post handlers 2023-06-30 00:32:52 -04:00
Kevin Trocolli
4ea83f6025 allnet: add handler for LoaderStateRecorder 2023-06-30 00:26:07 -04:00
Kevin Trocolli
127e6f8aa8 mai2: add finale databases 2023-06-27 00:32:35 -04:00
Kevin Trocolli
b1968fe320 Merge branch 'develop' into finale 2023-06-25 18:35:12 -04:00
Kevin Trocolli
858b101a36 dbutils: add command to show versions 2023-06-24 13:14:40 -04:00
Kevin Trocolli
db77e61b79 allnet: add event logging 2023-05-30 21:52:21 -04:00
Kevin Trocolli
ac9e71ee2f hotfix allnet logging 2023-05-30 21:46:26 -04:00
Kevin Trocolli
20865dc495 allnet: add logging 2023-05-30 21:45:37 -04:00
Kevin Trocolli
37d24b3b4d mucha: now respects log level set in core.yaml 2023-05-30 21:32:27 -04:00
Kevin Trocolli
2418abacce title: convert version to int to match POST endpoint 2023-05-30 21:31:09 -04:00