1
0
mirror of synced 2024-11-27 23:40:48 +01:00
Commit Graph

240 Commits

Author SHA1 Message Date
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
Dniel97
ad820ed091
cm: Added individual Card Maker version and maimai DX passes working 2023-05-30 12:14:18 +02:00
Kevin Trocolli
05dee87a9a allnet: update default values, add debug log for unknown but allowed auths 2023-05-26 21:41:16 -04:00
Kevin Trocolli
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
Dniel97
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
Kevin Trocolli
d172e5582b fixup allnet response for res class 2 2023-05-09 03:53:31 -04:00
Kevin Trocolli
b34b441ba8 mai2: reimplement pre-dx versions 2023-05-06 19:04:10 -04:00
Kevin Trocolli
7bb8c2c80c billing: handle malformed requests 2023-05-03 03:26:39 -04:00
Kevin Trocolli
6d1855a6bc billing: handle malformed requests 2023-05-03 03:25:55 -04:00
Dniel97
a0793aa13a
diva: added clear set calculation + small improvements 2023-04-30 23:31:13 +02:00
Kevin Trocolli
238d437519 reformat with black in preperation for merge to master 2023-04-23 21:04:52 -04:00
Kevin Trocolli
b498e82bf8 dli: remove dot from version 2023-04-23 19:08:45 -04:00
Kevin Trocolli
47f4aaddf8 allnet: add download order infrastructure 2023-04-23 19:00:30 -04:00
Kevin Trocolli
a30967e8d7 wacca: fix time free not saving, add counter to profile table 2023-04-20 09:46:18 -04:00
Midorica
017ef1e224 Merge pull request 'maimai DX FESTiVAL support' (#17) from Dniel97/artemis:maimai_dx_festival into develop
Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/17
2023-04-19 18:13:31 +00:00
Dniel97
958471b8eb
mai2: update script hotfix 2023-04-19 17:41:36 +02:00
Kevin Trocolli
0dc96f33e1 database: don't set schema version if autoupdate fails 2023-04-15 03:13:14 -04:00
Kevin Trocolli
4102ba21fc database: remove print 2023-04-15 03:07:15 -04:00
Kevin Trocolli
9895068125 database: fix autoupdate 2023-04-15 01:31:52 -04:00
Kevin Trocolli
a416fb09e1 dbutils: version can now be left black to auto-upgrade to latest 2023-04-15 00:13:04 -04:00
Kevin Trocolli
baa885f674 Utils: exclude malformed game folders 2023-04-15 00:12:45 -04:00
Kevin Trocolli
0d5567c990 wacca: fix v4 upgrade scripts 2023-04-15 00:12:28 -04:00
Kevin Trocolli
b1f9be0121 wacca: fix crash on 4th page of Reverse Gate, partially fixes #5 2023-04-14 23:47:31 -04:00
Kevin Trocolli
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
Dniel97
f63dd07937
maimai: Initial Festival support 2023-04-10 19:11:58 +02:00
Kevin Trocolli
ac8a660e13 allnet: allow unknown games to auth in develop mode 2023-03-19 23:52:33 -04:00
Kevin Trocolli
188be2dfc1 database: add autoupgrade command 2023-03-18 02:12:58 -04:00
Kevin Trocolli
6ff8c4d931 fix mai2 and diva db scripts 2023-03-18 02:12:33 -04:00
Kevin Trocolli
7ca4e6adb9 fix IP address logging 2023-03-17 02:11:49 -04:00
Kevin Trocolli
4bd1dea6bf allnet: add info log to downloadorder 2023-03-17 02:06:15 -04:00
Kevin Trocolli
8c5c7f31b6 allnet: fix setting=1 2023-03-16 22:31:41 -04:00
Dniel97
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: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/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
Kevin Trocolli
a791142f95 database: add check for current_schema_version 2023-03-12 22:37:44 -04:00
Kevin Trocolli
6fa0175baa print cleanup, remove unused mucha options 2023-03-12 01:59:12 -05:00
Kevin Trocolli
18a95f5213 add get_ip_addr util function for servers behind proxies 2023-03-12 01:00:51 -05:00
Kevin Trocolli
ea14f105d5 database: skip games that lack a database member 2023-03-12 00:26:48 -05:00
Kevin Trocolli
2dd84bbe3e pokken: fix mucha and allnet info, fix allnet 2.00 format requests 2023-03-10 20:31:29 -05:00
Midorica
a088dd82de fixing allnet power on response 2023-03-09 16:59:50 -05:00
Hay1tsme
e9ffd95435 implement dict.get() 2023-03-09 12:17:10 -05:00
Hay1tsme
a76bb94eb1 let black do it's magic 2023-03-09 11:38:58 -05:00
Midorica
4c64305f15 Merge pull request 'Card Maker 1.34/1.36 ONGEKI support' (#10) from Dniel97/artemis:cardmaker_ongeki into develop
Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/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
Dniel97
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
Dniel97
3acc2dc197
Initial Card Maker ONGEKI support 2023-03-04 00:22:08 +01:00
Hay1tsme
02e1838d95 database: add format_serial, validate_keychip_format, set_machine_boardid, set_machine_serial 2023-03-03 17:05:16 -05:00
Hay1tsme
2a6842db24 remove db old-to-new migration 2023-03-03 17:03:19 -05:00
Hay1tsme
34e2c50fb5 allnet: see previous 2023-03-03 15:52:58 -05:00
Hay1tsme
b35e7d6983 allnet: hotfix for country 2023-03-03 15:49:33 -05:00
Hay1tsme
f6cfb9e36d allnet: fix "none" in response 2023-03-03 15:45:21 -05:00
Hay1tsme
101b966e3a add allnet request debug logging 2023-03-03 15:39:14 -05:00
Hay1tsme
fae6b77403 core: TESTING fix for get_machine 2023-03-03 15:03:57 -05:00
Midorica
3791b2b238 Adding Ongeki Bright Memory support 2023-03-03 00:00:22 -05:00
Midorica
937dba20ca Fixing billing that was failing for Chunithm 2023-03-02 22:13:18 -05:00
Hay1tsme
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
Raymonf
b0bf151c9f
chuni: SDHD -> SDBT for upgrade scripts 2023-03-01 20:04:34 -05:00
Raymonf
97aeba20e5
chuni: add missing columns for course mode 2023-03-01 16:08:36 -05:00
Dniel97
b81767af8a
Chunithm New!!+ Importer and settings fixed 2023-03-01 21:09:06 +01:00
Hay1tsme
1f2d12f318 maidx: upgrade schema for uni+ 2023-02-27 11:55:51 -05:00
Hay1tsme
cb227f9cf4 remove unnecessassary print statements 2023-02-24 14:13:31 -05:00
Hay1tsme
c213926893 added core logger, allnet resiliancy 2023-02-24 14:07:54 -05:00
Hay1tsme
7df998a51a add naomitest endpoint 2023-02-23 23:11:43 -05:00
Midorica
026fcc5182 Merge pull request 'diva: added all previous commits, added username and password change' (#1) from Dniel97/artemis:diva_card_procedure into develop
Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/1
2023-02-22 23:27:11 +00:00
Midorica
b300bb302b title fix for the version int - Thanks to Dniel97 2023-02-22 12:20:50 -05:00
Hay1tsme
3f40e083ce add mucha config to coreconfig 2023-02-21 16:46:43 -05:00
Hay1tsme
b343228072 refactor template directory to be artemis root dir 2023-02-20 21:55:12 -05:00
Hay1tsme
db6b950c29 add partial frontend 2023-02-19 15:40:25 -05:00
Hay1tsme
97d16365df carry over database functions from megaime 2023-02-19 14:52:20 -05:00
Dniel97
8bdc2071da
diva: changed player_name length to 10 2023-02-19 16:08:53 +01:00
Hay1tsme
df4efa1fda replace print statements with error logging 2023-02-19 00:10:42 -05:00
Hay1tsme
a57d2cf71c fix typo in aimedb 2023-02-19 00:07:14 -05:00
Hay1tsme
d434bf084d fix sending incorrect params to dict_to_http_form_string 2023-02-19 00:06:21 -05:00
Hay1tsme
f5d9bd8003 fix copypasta code 2023-02-19 00:01:39 -05:00
Hay1tsme
ed479866cc fix download order 2023-02-18 23:57:45 -05:00
Hay1tsme
a3c689cd09 fix using the request instead of the response 2023-02-18 23:42:27 -05:00
Hay1tsme
a843e3d3ac added token replacement 2023-02-18 23:40:19 -05:00
Hay1tsme
f42c2d7785 fix allnet requests not processing 2023-02-18 23:31:52 -05:00
Hay1tsme
b09d2326c2 fix kvp_to_dict not returning 2023-02-18 23:27:25 -05:00
Hay1tsme
68b9c64f71 fix kvp_to_dict 2023-02-18 23:24:38 -05:00
Hay1tsme
655d9dc530 simplified main dispatcher 2023-02-18 23:12:40 -05:00
Hay1tsme
9a43303880 fix incorrect class being used 2023-02-18 23:02:50 -05:00
Hay1tsme
edddb2e9d4 fix allnet request using the wrong function 2023-02-18 22:58:40 -05:00
Dniel97
c99bfda015
diva: added all previous commits, added username and password change
- Changed `update_profile()` function to allow a single Dict instead of multiple values
- Added `passwd*` Columns to profile table and added corresponding update/rollback sql scripts
- Added `handle_card_procedure_request()`, `handle_change_name_request ()` and `handle_change_passwd_request()` functions to DivaBase
2023-02-18 21:01:31 +01:00
Hay1tsme
8616c6d064 copy allnet functionality over 2023-02-18 00:00:30 -05:00
Hay1tsme
9ee155792e add mucha handler, fix CXB log duplication 2023-02-17 01:37:59 -05:00
Hay1tsme
7e3396a7ff add back games, conform them to new title dispatch 2023-02-17 01:02:21 -05:00
Hay1tsme
f18e939dd0 change to using txroutes 2023-02-16 17:13:41 -05:00
Hay1tsme
32879491f4 Begin the process of transitioning from megaime 2023-02-16 00:06:42 -05:00