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 c14eb2204b
.
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
04c0e968ed
Add PublicPort field to server
2022-04-23 01:42:04 +08:00
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
Jaida Wu
b0d2d29b1c
Add some log to dispatch server
...
Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
2022-04-22 00:02:00 +08:00
Jaida Wu
2df8625b24
Fallback to HTTP if no SSL cert
...
Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
2022-04-22 00:01:59 +08:00
Jaida Wu
a1567895fa
Refact code
...
Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
2022-04-22 00:01:54 +08:00
Benjamin Elsdon
66b5ed8a83
Should probably remove this as well...
2022-04-21 23:04:02 +08:00
Benjamin Elsdon
72355dd3c5
Removed class left over from testing
2022-04-21 23:00:36 +08:00
Jaida Wu
65e0799e79
Drop independent log server
...
Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
2022-04-21 21:41:30 +08:00
Benjamin Elsdon
585187bebe
Fixed null pointer exception in hybrid mode.
2022-04-21 19:20:49 +08:00
Benjamin Elsdon
e97e124460
Merge branch 'development' of https://github.com/Melledy/Grasscutter into development
2022-04-21 18:11:51 +08:00
Benjamin Elsdon
6a091b254c
Multi-server dispatch support and server run modes
2022-04-21 18:04:00 +08:00
Melledy
c0e859b17c
Add config entry for OverseaLogPort (default: 8888)
2022-04-21 00:28:28 -07:00