Commit Graph

233 Commits

Author SHA1 Message Date
xuef c93ef4f495 Update Aiursoft.WebTools package and enforce websocket
The Aiursoft.WebTools package has been upgraded from version 8.0.0 to version 8.0.1. Also, the 'EnforceWebSocket' attribute has been added to the 'GetWebSocket' method in the GamesController to ensure that it only accepts WebSocket requests.
2024-02-21 09:19:16 +00:00
Nuget Ninja 5299228616 Auto csproj fix and update by bot. 2024-02-19 09:37:37 +00:00
Anduin Xue 9bc85ed98c Refactor code for better readability and efficiency
The changes primarily focus on simplifying constructors to increase readability. This is done by organizing class properties and functions in a more efficient manner. In addition, strings are accessed using indexing rather than substrings - a technique that enhances execution speed. Not only does this change clarify the controllers and classes, but also significantly improves the overall code quality and efficiency.
2024-02-19 09:23:23 +00:00
Anduin Xue 4a70a611e4 Replace 'Add' with 'Append' in CORS header methods
In the AllowCrossOriginMiddleware, the method for adding headers to the response has been adjusted. Instead of the 'Add' method which could lead to potential overwriting, 'Append' method is used to ensure that CORS headers are always updated correctly.
2024-02-19 09:21:02 +00:00
Anduin Xue 621644efe4 Upgrade to net8.0 2024-02-19 09:12:42 +00:00
Nuget Ninja 20482fa303 Auto csproj fix and update by bot. 2024-02-17 03:22:13 +00:00
Nuget Ninja 1e842de49b Auto csproj fix and update by bot. 2024-02-15 03:22:09 +00:00
Nuget Ninja 04ab88c8a7 Auto csproj fix and update by bot. 2024-02-04 11:18:01 +00:00
Nuget Ninja 9598d99be2 Auto csproj fix and update by bot. 2024-02-03 03:22:11 +00:00
Nuget Ninja b5d6570e0c Auto csproj fix and update by bot. 2024-02-02 09:11:42 +00:00
Nuget Ninja 6a43be4b31 Auto csproj fix and update by bot. 2024-02-02 03:22:10 +00:00
AnduinXue 4480a78b42 Upgrade packages. 2024-01-21 06:56:24 +00:00
AnduinXue 4bfbbd8e5c Fix usings. 2024-01-16 15:06:43 +00:00
AnduinXue 56846d4074 Refactor namespace. 2024-01-16 15:00:35 +00:00
AnduinXue 50f7b07e5b Fix a layout. 2024-01-13 14:45:10 +00:00
AnduinXue 8095dee409 FIx more issues with challenges. 2024-01-13 11:21:05 +00:00
AnduinXue 701826fbf2 Better formats. 2024-01-13 11:17:19 +00:00
AnduinXue 04f5c3ed3c Move new files. 2024-01-13 11:13:35 +00:00
AnduinXue 5e9bde7e51 Remove some hacks. 2024-01-13 11:11:06 +00:00
AnduinXue 7453a05b98 More room features. 2024-01-13 10:45:32 +00:00
AnduinXue 5a0c99a95b More index features. 2024-01-13 07:15:04 +00:00
Nuget Ninja c142c8d399 Auto csproj fix and update by bot. 2024-01-12 03:21:40 +00:00
AnduinXue 5b341cf241 Settings.json. 2024-01-11 14:16:41 +00:00
Nuget Ninja 20e87d7bbb Auto csproj fix and update by bot. 2024-01-05 17:25:26 +00:00
AnduinXue 1d648ff9ce Upgrade packages. 2024-01-05 16:53:29 +00:00
Nuget Ninja 771f752b26 Auto csproj fix and update by bot. 2024-01-04 13:34:33 +00:00
Anduin Xue 6e01773bf1 New high performance. 2024-01-04 07:02:30 +00:00
Anduin Xue e67b4907ac Pure websocket game. 2024-01-02 06:37:00 +00:00
Anduin Xue 91b01b6341 Add challenge APIs. 2024-01-02 05:48:45 +00:00
AnduinXue bece11f2c8 favicon 2024-01-01 11:46:31 +00:00
AnduinXue b40b2e0eda 1.2.0 2024-01-01 11:33:10 +00:00
AnduinXue ef482eae6a 1.1.2 autodark.js 2024-01-01 09:12:24 +00:00
AnduinXue b76e5b3b08 New readme. 2024-01-01 07:45:09 +00:00
AnduinXue 62ad261e50 fix header. 2024-01-01 07:35:15 +00:00
AnduinXue 0105d7079a New chess. 2024-01-01 07:31:24 +00:00
AnduinXue 7747e2814a Refactor layout. 2024-01-01 04:35:34 +00:00
AnduinXue a4b488cd6b Use new auto dark. 2023-12-31 16:42:43 +00:00
Nuget Ninja da2a61aac1 Auto csproj fix and update by bot. 2023-12-30 03:21:30 +00:00
Nuget Ninja e933b30577 Auto csproj fix and update by bot. 2023-12-25 03:21:34 +00:00
Nuget Ninja 9220e63524 Auto csproj fix and update by bot. 2023-12-24 17:04:47 +00:00
AnduinXue 3b9f131016 Fix some front-end bugs. 2023-12-13 12:28:39 +00:00
AnduinXue 60cb22cb22 New feature to show players name. 2023-12-13 09:03:25 +00:00
AnduinXue 7fb88b3bdc New player controller. 2023-12-13 07:58:57 +00:00
Nuget Ninja bc77d1e03c Auto csproj fix and update by bot. 2023-12-12 12:44:20 +00:00
Anduin Xue b53e94724b Upgrade packages. 2023-12-11 08:38:42 +00:00
Anduin Xue 4b82e0eacd Fix ref. 2023-12-11 06:37:59 +00:00
AnduinXue a4628166c2 Fix warning. 2023-12-10 18:22:10 +00:00
AnduinXue cbf5a7a230 Trim some code. 2023-12-10 18:20:14 +00:00
AnduinXue 46c581b2fa Add some lock. 2023-12-10 18:17:46 +00:00
AnduinXue be0d29ab5a Use new webtools for websocket. 2023-12-10 18:09:39 +00:00