Commit Graph

282 Commits

Author SHA1 Message Date
ffc0f2fa5e add keychip ID to auth key 2023-11-30 18:17:40 -05:00
a1569bca9d fix typing for create_sega_auth_key 2023-11-30 18:14:20 -05:00
cc86d4509e adb: fix for when user_id is None 2023-11-30 18:10:22 -05:00
216fa49f8b aimedb: implement auth keys 2023-11-30 02:07:24 -05:00
46f61325cb aimedb: soft impl of auth ids 2023-11-29 18:01:19 -05:00
6774716e06 add sega auth key encode/decode in Utils, requires pyjwt 2023-11-27 16:39:50 -05:00
80ae372ccf fix rollback 2023-11-13 04:05:13 +01:00
b56a5f020b add rollback sql
move GP support to table in DB
small fixes
2023-11-13 03:26:09 +01:00
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
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: #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
a7b0b1be49 allnet: fix dli report logging 2023-11-04 12:41:47 -04:00
dde397a96c allnet: fix event type for handle_dlorder_report 2023-11-01 20:09:14 -04:00
f99bf7d1ed allnet: add DLI_STATUS 2023-11-01 20:08:20 -04:00
bd3e1918aa allnet: further dl report logging 2023-11-01 01:17:23 -04:00
ffc0a07f6d allnet: fix dl report message typo 2023-11-01 01:02:09 -04:00
ab640760a9 allnet: add event logging to download report 2023-11-01 00:53:04 -04:00
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
8fcd227b33 Added functions for checking if Aime card is locked or banned 2023-10-20 03:24:25 +00:00
54c77c047e fixing duplicated is_cab value from machine table 2023-10-18 18:44:03 -04:00
93b8b86b55 Adding base handler & config for HTTPS title support 2023-10-17 13:12:08 -04:00
eaa2652647 Merge pull request 'Chunithm Fixes and Maintenance for all!' (#46) from EmmyHeart/artemis:develop into develop
Reviewed-on: #46
2023-10-17 17:00:08 +00:00
4f0a5f60ab Added config for reboot time support 2023-10-16 13:22:18 +00:00
480551f942 Fixed logic error leading to strict IP checking always being enabled 2023-10-16 13:07:05 +00:00
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
aa9d48ccc9 fixed the diva profile again 2023-10-10 18:37:18 -04:00
6d592dcbc7 fixing skin issue with diva profile 2023-10-10 18:24:54 -04:00
b5ccd67940 db: add memcache toggle 2023-10-05 22:16:50 -04:00
91791813dc Merge pull request 'ONGEKI Rival Functionality' (#36) from 2TT/artemis:develop into develop
Reviewed-on: #36
2023-09-23 16:08:15 +00:00
1497bf4a95 frontend: fixes to searching 2023-09-19 02:42:13 -04:00
aa17f99252 frontend: add placeholders, arcade search by IP 2023-09-19 02:31:29 -04:00
50de0916d4 allnet: minor tweeks to mirrior realnet better 2023-09-19 02:15:22 -04:00
ed46ea33e3 Added version select in session, removed get_profile_data_ignore_version, renamed scripts file 2023-09-09 06:55:18 +09:00
238e39f415 adb: properly handle an incorrect adb status value 2023-09-06 22:47:37 -04:00
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
16d801aff5 Rival Delete functionality 2023-09-02 07:40:57 +09:00
147d7adaaf Frontend for adding rivals, versionless backend function to support 2023-09-02 06:21:02 +09:00
eaf9e0cf09 removed temp file 2023-08-30 13:53:55 +09:00
2a52e391d6 Ongeki template start 2023-08-30 13:53:31 +09:00
dac655b4ae adb: add catch for uninitialized amlib requests 2023-08-27 19:18:22 -04:00
d4ea3bc12a billing: float5 hotfix 2023-08-21 01:53:27 -04:00
d8b0e2ea2a billing: add classes and validation, fix response 2023-08-21 01:50:59 -04:00
984949d902 allnet: partial DFI implementation 2023-08-21 00:10:25 -04:00
2e8d99e5fa allnet: add ip check config option 2023-08-20 23:25:50 -04:00
fd6cadf2da adb: hotfix 2023-08-20 19:56:16 -04:00
71489c1272 adb: fix log_ex 2023-08-20 19:55:26 -04:00
8ea82ffe1a adb: add from_req 2023-08-19 01:35:37 -04:00
cf7cc0997a mucha: add other request/response structures 2023-08-15 23:19:48 -04:00
92567504f4 adb: fix for felica_lookup_ex, for #32 2023-08-15 10:43:49 -04:00
fd50a7ee68 aimedb_redux (#30)
Update AimeDB from new [documentation](https://minori.tendokyu.moe/docs/allnet/aimedb/) of the protocol.
Reviewed-on: #30
2023-08-14 03:32:03 +00:00
9e3a51a57a allnet: add IP checking 2023-08-08 12:35:38 -04:00
4744e8cf5f add ip checking config options 2023-08-08 10:24:28 -04:00
88a1462304 logger: change from warn to warning 2023-08-08 10:17:56 -04:00
2e277e7791 add arcade ip column 2023-08-08 10:17:38 -04:00
6c89a97fe3 frontend: add management pages 2023-07-23 22:21:49 -04:00
b943807904 core: add columns to machine table, bump to v5 2023-07-23 22:21:41 -04:00
20335aaebe add download report api 2023-07-23 12:47:10 -04:00
14a315a673 replace except with except Exception 2023-07-16 16:58:34 -04:00
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: #25
2023-07-16 17:06:44 +00:00
f39317301b
mai2: fixed update script, added mai2 heredity, fixed cards import 2023-07-15 22:51:54 +02:00
2f13596885 fix db ignoring port in config, createing database no longer runs over version 2023-07-15 00:15:14 -04:00
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
85b73e634d mucha: add DownloadState 2023-07-12 00:41:53 -04:00
03cf535ff6 make threading optional 2023-07-08 00:34:55 -04:00
6c155a5e48 database: add static variables to prevent having multiple sessions 2023-07-08 00:01:52 -04:00
f279adb894 mai2: add consecutive day login count, update db to v7, fix reader, courses, and docs 2023-07-01 21:51:18 -04:00
a680699939 Merge branch 'finale' into develop 2023-07-01 02:59:12 -04:00
9d33091bb8 allnet: use parse_qsl 2023-06-30 01:34:46 -04:00
8b43d554fc allnet: make use of urllib.parse where applicable 2023-06-30 01:19:17 -04:00
610ef70bad allnet: add Alive get and post handlers 2023-06-30 00:32:52 -04:00
4ea83f6025 allnet: add handler for LoaderStateRecorder 2023-06-30 00:26:07 -04:00
127e6f8aa8 mai2: add finale databases 2023-06-27 00:32:35 -04:00
b1968fe320 Merge branch 'develop' into finale 2023-06-25 18:35:12 -04:00
858b101a36 dbutils: add command to show versions 2023-06-24 13:14:40 -04:00
db77e61b79 allnet: add event logging 2023-05-30 21:52:21 -04:00
ac9e71ee2f hotfix allnet logging 2023-05-30 21:46:26 -04:00
20865dc495 allnet: add logging 2023-05-30 21:45:37 -04:00
37d24b3b4d mucha: now respects log level set in core.yaml 2023-05-30 21:32:27 -04:00
2418abacce title: convert version to int to match POST endpoint 2023-05-30 21:31:09 -04:00
ad820ed091
cm: Added individual Card Maker version and maimai DX passes working 2023-05-30 12:14:18 +02:00
05dee87a9a allnet: update default values, add debug log for unknown but allowed auths 2023-05-26 21:41:16 -04:00
7ed294e9f7 delivery: remove period from version 2023-05-24 01:08:53 -04:00
Hay1tsme
4da8622977 frontend: user page fixes, add card display 2023-05-20 15:32:02 -04:00
b85a65204f
chuni: added SUN support, matchmaking, fixed bugs, added docs
- Added CHUNITHM SUN support
- Added first matchmaking support with CPU spawning and messages
- Fixed wrong `next_idx` calculations
- Added `startDate` to events to spawn the correct items
- Fixed login bonus per version
- Added information to docs
2023-05-10 21:32:35 +02:00
d172e5582b fixup allnet response for res class 2 2023-05-09 03:53:31 -04:00
b34b441ba8 mai2: reimplement pre-dx versions 2023-05-06 19:04:10 -04:00
7bb8c2c80c billing: handle malformed requests 2023-05-03 03:26:39 -04:00
6d1855a6bc billing: handle malformed requests 2023-05-03 03:25:55 -04:00
a0793aa13a
diva: added clear set calculation + small improvements 2023-04-30 23:31:13 +02:00
238d437519 reformat with black in preperation for merge to master 2023-04-23 21:04:52 -04:00
b498e82bf8 dli: remove dot from version 2023-04-23 19:08:45 -04:00
47f4aaddf8 allnet: add download order infrastructure 2023-04-23 19:00:30 -04:00
a30967e8d7 wacca: fix time free not saving, add counter to profile table 2023-04-20 09:46:18 -04:00
017ef1e224 Merge pull request 'maimai DX FESTiVAL support' (#17) from Dniel97/artemis:maimai_dx_festival into develop
Reviewed-on: #17
2023-04-19 18:13:31 +00:00
958471b8eb
mai2: update script hotfix 2023-04-19 17:41:36 +02:00
0dc96f33e1 database: don't set schema version if autoupdate fails 2023-04-15 03:13:14 -04:00
4102ba21fc database: remove print 2023-04-15 03:07:15 -04:00
9895068125 database: fix autoupdate 2023-04-15 01:31:52 -04:00
a416fb09e1 dbutils: version can now be left black to auto-upgrade to latest 2023-04-15 00:13:04 -04:00
baa885f674 Utils: exclude malformed game folders 2023-04-15 00:12:45 -04:00
0d5567c990 wacca: fix v4 upgrade scripts 2023-04-15 00:12:28 -04:00
b1f9be0121 wacca: fix crash on 4th page of Reverse Gate, partially fixes #5 2023-04-14 23:47:31 -04:00
bd356af272 pokken: restructure database 2023-04-12 02:34:29 -04:00
Hay1tsme
68e25b9c5e pokken: add frontend stub 2023-04-11 11:40:05 -04:00
f63dd07937
maimai: Initial Festival support 2023-04-10 19:11:58 +02:00
ac8a660e13 allnet: allow unknown games to auth in develop mode 2023-03-19 23:52:33 -04:00
188be2dfc1 database: add autoupgrade command 2023-03-18 02:12:58 -04:00
6ff8c4d931 fix mai2 and diva db scripts 2023-03-18 02:12:33 -04:00
7ca4e6adb9 fix IP address logging 2023-03-17 02:11:49 -04:00
4bd1dea6bf allnet: add info log to downloadorder 2023-03-17 02:06:15 -04:00
8c5c7f31b6 allnet: fix setting=1 2023-03-16 22:31:41 -04:00
2af7751504 Added support for maimai and Chunithm in Card Maker 1.34/1.35 (#14)
Co-authored-by: Dniel97 <Dniel97@noreply.gitea.tendokyu.moe>
Reviewed-on: #14
Co-authored-by: Dniel97 <dniel97@noreply.gitea.tendokyu.moe>
Co-committed-by: Dniel97 <dniel97@noreply.gitea.tendokyu.moe>
2023-03-15 20:03:22 +00:00
a791142f95 database: add check for current_schema_version 2023-03-12 22:37:44 -04:00
6fa0175baa print cleanup, remove unused mucha options 2023-03-12 01:59:12 -05:00
18a95f5213 add get_ip_addr util function for servers behind proxies 2023-03-12 01:00:51 -05:00
ea14f105d5 database: skip games that lack a database member 2023-03-12 00:26:48 -05:00
2dd84bbe3e pokken: fix mucha and allnet info, fix allnet 2.00 format requests 2023-03-10 20:31:29 -05:00
a088dd82de fixing allnet power on response 2023-03-09 16:59:50 -05:00
e9ffd95435 implement dict.get() 2023-03-09 12:17:10 -05:00
a76bb94eb1 let black do it's magic 2023-03-09 11:38:58 -05:00
4c64305f15 Merge pull request 'Card Maker 1.34/1.36 ONGEKI support' (#10) from Dniel97/artemis:cardmaker_ongeki into develop
Reviewed-on: #10
2023-03-08 22:49:14 +00:00
Hay1tsme
36054ebb66 mucha: add missing boardath values 2023-03-05 11:42:03 -05:00
Hay1tsme
82b159e5b1 MuchaUpdateResponse: add missing values 2023-03-05 09:45:34 -05:00
Hay1tsme
59b2401a67 mucha: add updatecheck response stub 2023-03-05 09:43:05 -05:00
Hay1tsme
ff6ef16b89 mucha: small cleanup with a oneliner 2023-03-04 22:52:17 -05:00
Hay1tsme
a7a830c6b7 mucha: remove default values from response classes 2023-03-04 22:48:12 -05:00
Hay1tsme
b12f61198f mucha: fixups 2023-03-04 22:46:26 -05:00
Hay1tsme
bfe5294d51 add get_allnet_info and config loading safety to all games 2023-03-04 21:58:51 -05:00
Hay1tsme
a340bcf1dd change how allnet uri/host is generated 2023-03-04 21:27:52 -05:00
fe8f40c627
Fixed upgrade script endDate 2023-03-04 11:09:03 +01:00
Hay1tsme
f5d4f519d3 database: add create-owner, migrate-card, and cleanup commands 2023-03-04 00:04:47 -05:00
Hay1tsme
3181e1f4f8 frontend: add registration instructions 2023-03-03 21:38:26 -05:00
Hay1tsme
279f48dc0c frontend: fix login, remove frontend_session in favor of twisted sessions 2023-03-03 21:31:23 -05:00
Hay1tsme
dc5e5c1440 database: fix event logging table 2023-03-03 19:56:12 -05:00
Hay1tsme
4f3d3d8395 database: fix error when trying to upgrade the schema for a game that wasn't created yet 2023-03-03 19:23:14 -05:00
3acc2dc197
Initial Card Maker ONGEKI support 2023-03-04 00:22:08 +01:00
02e1838d95 database: add format_serial, validate_keychip_format, set_machine_boardid, set_machine_serial 2023-03-03 17:05:16 -05:00
2a6842db24 remove db old-to-new migration 2023-03-03 17:03:19 -05:00
34e2c50fb5 allnet: see previous 2023-03-03 15:52:58 -05:00
b35e7d6983 allnet: hotfix for country 2023-03-03 15:49:33 -05:00
f6cfb9e36d allnet: fix "none" in response 2023-03-03 15:45:21 -05:00
101b966e3a add allnet request debug logging 2023-03-03 15:39:14 -05:00
fae6b77403 core: TESTING fix for get_machine 2023-03-03 15:03:57 -05:00
3791b2b238 Adding Ongeki Bright Memory support 2023-03-03 00:00:22 -05:00
937dba20ca Fixing billing that was failing for Chunithm 2023-03-02 22:13:18 -05:00
c5fc879af6 core: add taiwan to AllnetCountryCode 2023-03-02 13:02:43 -05:00
Hay1tsme
5965362a0f title: add 405 and 404 error responses 2023-03-02 00:14:13 -05:00
Hay1tsme
078059f54e core: remove unused class from const 2023-03-01 21:51:52 -05:00
Hay1tsme
382e36e60f core: Add county codes and Japanese region IDs 2023-03-01 21:49:00 -05:00
b0bf151c9f
chuni: SDHD -> SDBT for upgrade scripts 2023-03-01 20:04:34 -05:00