Muhammad Eko Prasetyo
63a37acc1b
add config option to enable cors for dispatchserver ( #579 )
2022-05-06 13:23:26 -07:00
Benjamin Elsdon
b313d8567a
Removed GCStatic. Cleaned up GachaRecordHandler.
2022-05-05 09:02:10 -07:00
方块君
8451f960d4
Optimize multilingualism (using variables)
...
Optimize multilingualism (using variables)
2022-05-03 22:17:41 -07:00
方块君
9407e6374b
Add multilingual support
...
Add multilingual support
2022-05-03 02:38:37 -07:00
4Benj_
1df5574b2e
Removed debug message and fixed NullPtrException ( #434 )
...
* Removed a debug message from Auth Handler changes
Kill me
* Also forgot to use the getter :/
2022-05-02 12:47:29 +02:00
mingjun97
d912b59d93
Utils for gacha history record subsystem
...
* Auto generate mapping files with command `java -jar grasscutter.jar -gachamap`
* Static file provider
* For gacha record webpage
* All static files should be stored at `GRASSCUTTER_RESOURCE/gcstatic/`
* Can benefit other subsystem in future when webpages involved
2022-05-02 02:53:28 -07:00
BaiSugar
2661cc5ef3
Fix announcement display
2022-05-02 02:50:32 -07:00
Benjamin Elsdon
29b5157d42
Custom Authentication Handler
2022-05-02 02:50:14 -07:00
mingjun97
8cf4ef59ec
Implement gacha history record subsystem
...
* Frontend is not very beautiful yet
* Didn't include too much `some anime game` data in the page to avoid being DMCA'd
2022-05-01 13:47:17 -07:00
4Benj_
d484ba7ed6
Cleaned up dispatch iOS fixes ( #396 )
...
* Attempting to fix crashing on iOS devices
plus I forgot a thing in string.format
* Removed unnecessary things
2022-04-30 23:31:39 -07:00
mingjun97
15d2795686
Should fix all crashes when login for iOS client
2022-04-30 23:03:47 -07:00
mingjun97
8a655c16eb
Fix crash and revise route
...
* Fix another point which will trigger iOS client to crash
* Revise `compareProtocolVersion` route to handle all method
2022-04-30 23:03:47 -07:00
Melledy
65c63ac34a
Change RunMode and DebugMode to enums
2022-04-30 22:52:09 -07:00
mingjun97
1ac5aeb286
Revert changes for debugging purpose
2022-04-30 21:43:46 -07:00
mingjun97
582d91227c
Fix crash when login
...
* Prevent email to be `null` to avoid crash in certain client setup.
2022-04-30 21:43:46 -07:00
KingRainbow44
6fb0b5494f
Implement a handler for logging routes
2022-04-30 20:38:18 -04:00
muhammadeko
d47c9e1f98
Add getter for innerclass RegionData
2022-04-30 16:41:19 -07:00
Muhammad Eko Prasetyo
14c4673d48
Fix DispatchHttpJson handler and add setHttpServer because Express doesn't support removing defined route. ( #388 )
2022-05-01 00:43:50 +02:00
Magix
eb5b8fa966
Merge branch 'development' into api
2022-04-30 16:22:00 -04:00
Magix
a1a36dc7a7
Merge branch 'development' into api
2022-04-30 16:07:54 -04:00
Benjamin Elsdon
ee9b84149d
Small fix
2022-05-01 00:51:09 +08:00
Benjamin Elsdon
f8248ff74b
Complete rework of Dispatch, Added DebugMode
2022-05-01 00:30:56 +08:00
Scirese
13aaebd9e8
Add Android Client fix by @BaiSugar ( #105 )
2022-04-30 11:45:24 +02:00
KingRainbow44
2e119efb86
Formatting changes
2022-04-28 22:21:30 -04:00
KingRainbow44
e2d6e695dc
Bug fixes & class updates
2022-04-28 21:54:51 -04:00
memetrollsXD
59044743a4
Add default permissions
2022-04-27 15:42:25 -07:00
Melledy
556018d9a9
Renamed all references to a certain game
2022-04-26 21:27:35 -07:00
Melledy
07b4dc95ea
Deprecate getServer() in DispatchServer, use getHttpServer() instead
2022-04-26 21:27:35 -07:00
Melledy
691324c9e7
Cleanup https server creation in dispatch server
2022-04-26 21:27:35 -07:00
WetABQ
b392849577
[BREAKING CHANGE] proto auto compiled by gradle ( #226 )
...
* [BREAK] proto auto compiled by gradle
* [BREAK] move proto to submodule
* update gitmodules
* [BREAK] move proto to submodule
* move proto to submodule
* fix merge conflict
* fix github action after merging
* fix merge conflicts and del submodule
* upload the proto
2022-04-26 14:44:30 -07:00
Magix
30d4fec9d4
Merge branch 'api' into development
2022-04-26 11:17:02 -04:00
KingRainbow44
3f8e1ea9d2
Reimplement the region list event
2022-04-26 00:45:42 -04:00
KingRainbow44
9af4cc2446
Refactor classes
2022-04-26 00:04:03 -04:00
Melledy
459d3c2699
Add getter for DispatchServer's HttpServer
2022-04-25 14:34:37 -07:00
Magix
b857601b78
Merge branch 'development' into plugin-system
2022-04-25 17:08:18 -04:00
alangy98
dce63b0760
Revert "bugfix: portbind error when falling back to http server"
...
This reverts commit c14eb2204becedec5dd455990bd47de1d40123cd.
the bugfix is inappropriate
2022-04-24 17:57:18 -07:00
Alangy
c14eb2204b
bugfix: portbind error when falling back to http server
2022-04-24 23:05:08 +08:00
memetrollsXD
824e2f8f55
Add .vscode to gitignore and use @fumbling644o's implementation
2022-04-24 12:24:41 +02:00
memetrollsXD
40cf40ce00
Remove last catch and init another variable as placeholder
2022-04-24 04:50:22 +02:00
memetrollsXD
47d34ebcd1
Forgot the toCharArray
2022-04-24 04:41:06 +02:00
memetrollsXD
b76dec2441
Notify user that new pw was used
2022-04-24 04:36:11 +02:00
memetrollsXD
e29b6744d4
Try to fix "No SSL cert found bind exception"
2022-04-24 04:34:17 +02:00
KingRainbow44
bba4a00508
Add message for bind failure (HTTP)
2022-04-23 02:20:18 -04:00
KingRainbow44
c676bb9f08
Implement region events
2022-04-23 01:59:06 -04:00
xtaodada
04c0e968ed
Add PublicPort field to server
2022-04-23 01:42:04 +08:00
xtaodada
26c3651cc8
Add PublicPort field to Dispatch server
2022-04-23 01:16:55 +08:00
Jaida Wu
746e16a25a
Add FrontHTTPS field to Dispatch server
...
Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
2022-04-22 21:25:58 +08:00
Benjamin Elsdon
ff6958ed1f
Forgot a dispatch prefix on error while merging
2022-04-22 01:15:05 +08:00
Benjamin Elsdon
96da53b5fb
Merge remote-tracking branch 'upstream/development' into development
2022-04-22 01:04:03 +08:00
Jaida Wu
aacd261206
Add dispatch server log prefix
...
Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
2022-04-22 00:02:02 +08:00