dvorakchen
47a62085e0
feat: disable overscroll-behavior
2024-06-20 17:07:41 +08:00
xuef
1f04695351
Merge branch 'master' of ssh://gitlab.aiursoft.cn:2202/aiursoft/chessserver
2024-06-20 07:57:31 +00:00
xuef
194009b86e
Update navbar brand link in _Layout.cshtml
2024-06-20 07:57:27 +00:00
Anduin
d89809a1f9
Remove unused namespaces in HomeController
...
Cleaned up HomeController in ChessServer by removing unused namespaces. This improves the readability and maintainability of the code, making it less cluttered and easier to understand.
2024-06-18 16:10:43 +00:00
Anduin
064ac98785
Refactor challenge creation and joining logic
...
The challenge creation and accepting logic has been refactored into a separate ChallengesController. This includes the addition of several new views, changes to existing ones, and backend logic improvements. Irrelevant 'Home' controller codes have been removed. Also, better error handling has been added to the 'PlayersController'.
2024-06-18 16:02:57 +00:00
Anduin
4f926199c8
Merge branch 'master' of ssh://gitlab.aiursoft.cn:2202/aiursoft/chessserver
2024-06-18 14:25:49 +00:00
Anduin
9bf3e096a3
Refactor ChessServer test methods and cleanup unused imports
2024-06-18 14:25:48 +00:00
Anduin Xue
d207cf5a4c
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!54
2024-06-18 09:31:27 +00:00
Anduin
67b4d6546d
Refactor ChessServer test methods and cleanup unused imports
...
Several test methods in the ChessServer module have been refactored for better readability and maintainability. A new method, CreateChallengeForTest, was introduced to reduce redundancy. The use of unnecessary imports in the InMemoryDatabase class has also been tidied up.
2024-06-18 08:13:35 +00:00
Anduin
24804d3e52
Refactor and enhance chess game functionality
...
This commit adds enhancements and refactors existing logic in the chess game. The modifications convert single-player games into multiplayer, introducing logic for accepting and managing game challenges, and displaying player information. Changes include retrieving a player's color via a new API, switching to represent watch mode visually, and restructuring the challenge acceptance flow
2024-06-18 07:56:44 +00:00
Anduin
47b6fbee57
Refactor test initialization and redirect actions
...
The test initialization method within BasicTests.cs has been simplified for improved code readability. Additionally, redundant playerId argument has been removed from RedirectToAction calls within HomeController.cs, streamlining redirection methods.
2024-06-18 05:55:17 +00:00
Nuget Ninja
b468e98959
Auto csproj fix and update by bot.
2024-06-18 05:00:54 +00:00
Anduin Xue
11d64db4ed
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!53
2024-06-08 09:31:53 +00:00
Nuget Ninja
1bb568628e
Auto csproj fix and update by bot.
2024-06-08 05:00:49 +00:00
Anduin Xue
a63df3f6b8
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!52
2024-06-05 06:13:52 +00:00
Nuget Ninja
186677f5b6
Auto csproj fix and update by bot.
2024-06-05 05:00:52 +00:00
Anduin Xue
2ee6ea7bd6
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!51
2024-05-28 06:01:19 +00:00
Nuget Ninja
e55b5da535
Auto csproj fix and update by bot.
2024-05-28 05:00:53 +00:00
Anduin
038124e7db
Update default initialization and script import paths
...
Changed the default initialization of Accepter, GameId, and Game properties in Challenge model. Also modified how the 'autodark.js' and 'player.js' scripts are imported in 'layout.js' to use relative paths for better compatibility.
2024-05-19 16:28:52 +00:00
Anduin
ab1fbea2c7
Add functionality to accept a challenge in chess game
...
Introduced capability to accept a challenge, updated challenge viewer model to include challenge id, and updated the In-Memory database to handle adding new games. The corresponding endpoint was updated and the front-end scripts were added to handle challenge acceptance and game redirection. Changes were also made to ensure challenges are only seen when not accepted in the public view.
2024-05-19 16:18:02 +00:00
Anduin Xue
f4d47c8981
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!50
2024-05-04 08:50:14 +00:00
Nuget Ninja
fcf7bb0b94
Auto csproj fix and update by bot.
2024-05-04 08:40:58 +00:00
Anduin Xue
856cabc8b2
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!49
2024-05-04 08:09:14 +00:00
Nuget Ninja
eb3bcb92b3
Auto csproj fix and update by bot.
2024-05-04 07:40:23 +00:00
Anduin Xue
7133c8907b
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!48
2024-04-07 04:21:13 +00:00
Nuget Ninja
e521d921e6
Auto csproj fix and update by bot.
2024-04-07 03:21:58 +00:00
AnduinXue
ce5956ef43
Fix UT.
2024-04-06 08:44:09 +00:00
AnduinXue
891a2438e1
Add a max wait time.
2024-04-06 08:18:12 +00:00
Anduin Xue
d3bb8c6241
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!46
2024-04-05 16:25:13 +00:00
Nuget Ninja
fb01837289
Auto csproj fix and update by bot.
2024-04-05 03:56:20 +00:00
Anduin Xue
322ecf5d7a
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!45
2024-03-31 07:22:53 +00:00
Nuget Ninja
202a157f14
Auto csproj fix and update by bot.
2024-03-31 03:31:18 +00:00
Anduin Xue
d46926a68a
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!44
2024-03-26 04:23:15 +00:00
Nuget Ninja
e4ddf944d6
Auto csproj fix and update by bot.
2024-03-26 03:22:37 +00:00
Anduin Xue
e9b299d342
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!43
2024-03-25 04:21:22 +00:00
Nuget Ninja
e286939cbc
Auto csproj fix and update by bot.
2024-03-25 03:22:31 +00:00
Anduin Xue
1ad31b9a2f
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!42
2024-03-22 04:21:07 +00:00
Nuget Ninja
3088c02a32
Auto csproj fix and update by bot.
2024-03-22 03:22:14 +00:00
Anduin Xue
c8c8e16e2d
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!41
2024-03-20 04:21:08 +00:00
Nuget Ninja
eb4fe921b8
Auto csproj fix and update by bot.
2024-03-20 03:22:10 +00:00
Anduin Xue
f4a964be42
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!40
2024-03-17 19:26:32 +00:00
Nuget Ninja
6d709b36e9
Auto csproj fix and update by bot.
2024-03-17 19:02:52 +00:00
Anduin Xue
29024f2410
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!39
2024-03-17 16:17:05 +00:00
Nuget Ninja
b767083eb4
Auto csproj fix and update by bot.
2024-03-17 15:53:08 +00:00
Anduin Xue
15739a5a80
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!38
2024-03-17 12:50:49 +00:00
Nuget Ninja
dafdfafb07
Auto csproj fix and update by bot.
2024-03-17 12:26:44 +00:00
Anduin Xue
e03cb623cd
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!37
2024-03-17 04:21:24 +00:00
Nuget Ninja
1ae979f803
Auto csproj fix and update by bot.
2024-03-17 03:22:37 +00:00
Anduin Xue
adc07bfd4d
Merge branch 'users/nugetninja/evergreen' into 'master'
...
Auto dependencies upgrade by bot.
See merge request aiursoft/chessserver!36
2024-03-16 04:21:29 +00:00
Nuget Ninja
1596d34f69
Auto csproj fix and update by bot.
2024-03-16 03:22:12 +00:00