219 Commits

Author SHA1 Message Date
82923a311e
👍 Updated .NET to 9 and C# to 13, comments 2025-01-14 19:50:50 +01:00
martin
cb3c20bf11 Updated dependencies 2024-01-09 23:12:22 +01:00
Martin Berg Alstad
931f393425
Merge pull request #115 from emberal/dotnet8-and-csharp12
Dotnet8 and csharp12
2024-01-09 22:51:29 +01:00
martin
e0b4c91d33 Fixed vite deprecation warning. Added types for node 2024-01-07 23:52:32 +01:00
Martin Berg Alstad
f41d9985d9 Updated dependencies. Replaced deprecated coverage package with new 2023-12-21 11:46:41 +01:00
Martin Berg Alstad
3e424a127e Updated build target to dotnet 12. Fixed failed tests and runtime failures 2023-12-10 15:39:26 +01:00
martin
9991bac6fa Updated dependencies. Use new array initializer in C#. Added comments to alot of methods and classes 2023-12-06 23:43:21 +01:00
martin
2520a9ed94 Updated dependencies and project to C# 12 Added primary constructors and many other refactorings 2023-11-18 23:47:55 +01:00
martin
b0c6641ea2 Added prettier 2023-10-28 15:12:50 +02:00
martin
57c046fc77 Updated dependencies. Added login info to README 2023-10-28 12:38:50 +02:00
Martin Berg Alstad
f907be7f89
Merge pull request #77 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/vitejs/plugin-react-4.1.0
Bump @vitejs/plugin-react from 4.0.4 to 4.1.0 in /pac-man-board-game/ClientApp
2023-10-26 23:14:05 +02:00
Martin Berg Alstad
c6e3094591
Merge pull request #55 from emberal/dependabot/nuget/pac-man-board-game/Microsoft.TypeScript.MSBuild-5.2.2
Bump Microsoft.TypeScript.MSBuild from 5.1.5 to 5.2.2 in /pac-man-board-game
2023-10-26 23:13:15 +02:00
Martin Berg Alstad
e45306b410
Merge branch 'master' into dependabot/nuget/pac-man-board-game/Microsoft.TypeScript.MSBuild-5.2.2 2023-10-26 23:13:07 +02:00
dependabot[bot]
faae544814
Bump @vitejs/plugin-react in /pac-man-board-game/ClientApp
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.1.0/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 21:12:38 +00:00
Martin Berg Alstad
91546dcb06
Merge pull request #79 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/autoprefixer-10.4.16
Bump autoprefixer from 10.4.15 to 10.4.16 in /pac-man-board-game/ClientApp
2023-10-26 23:12:01 +02:00
Martin Berg Alstad
1d90c3d031
Merge pull request #80 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/types/react-dom-18.2.14
Bump @types/react-dom from 18.2.7 to 18.2.14 in /pac-man-board-game/ClientApp
2023-10-26 23:11:47 +02:00
dependabot[bot]
844dde2c2b
Bump @types/react-dom in /pac-man-board-game/ClientApp
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.7 to 18.2.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 21:09:53 +00:00
dependabot[bot]
703756a6ed
Bump autoprefixer in /pac-man-board-game/ClientApp
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.15 to 10.4.16.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.15...10.4.16)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 21:09:52 +00:00
Martin Berg Alstad
0f6bce6b3a
Merge pull request #84 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/browserify-sign-4.2.2
Bump browserify-sign from 4.2.1 to 4.2.2 in /pac-man-board-game/ClientApp
2023-10-26 23:09:04 +02:00
Martin Berg Alstad
482140500d
Merge pull request #85 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/postcss-8.4.31
Bump postcss from 8.4.28 to 8.4.31 in /pac-man-board-game/ClientApp
2023-10-26 23:08:52 +02:00
dependabot[bot]
5d14f6744c
Bump postcss from 8.4.28 to 8.4.31 in /pac-man-board-game/ClientApp
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.28 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.28...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 21:05:32 +00:00
dependabot[bot]
5971f88704
Bump browserify-sign in /pac-man-board-game/ClientApp
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 21:05:29 +00:00
Martin Berg Alstad
7c9e9b1fd1
Merge pull request #83 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/babel/traverse-7.23.2
Bump @babel/traverse from 7.22.8 to 7.23.2 in /pac-man-board-game/ClientApp
2023-10-26 23:04:38 +02:00
dependabot[bot]
840b587689
Bump @babel/traverse in /pac-man-board-game/ClientApp
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 21:03:04 +00:00
Martin Berg Alstad
f5812a1658
Merge pull request #82 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/types/react-18.2.33
Bump @types/react from 18.2.28 to 18.2.33 in /pac-man-board-game/ClientApp
2023-10-26 23:01:57 +02:00
dependabot[bot]
f19570e2fa
Bump @types/react in /pac-man-board-game/ClientApp
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.28 to 18.2.33.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 07:34:29 +00:00
Martin Berg Alstad
9c2a9b97db
Merge pull request #76 from emberal/dependabot/nuget/pac-man-board-game/System.ServiceModel.Primitives-6.1.0
Bump System.ServiceModel.Primitives from 6.0.0 to 6.1.0 in /pac-man-board-game
2023-10-26 09:34:08 +02:00
Martin Berg Alstad
48f0c596c4
Merge pull request #81 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/crypto-js-4.2.0
Bump crypto-js from 4.1.1 to 4.2.0 in /pac-man-board-game/ClientApp
2023-10-26 09:33:36 +02:00
dependabot[bot]
dd7480b1fe
Bump crypto-js from 4.1.1 to 4.2.0 in /pac-man-board-game/ClientApp
Bumps [crypto-js](https://github.com/brix/crypto-js) from 4.1.1 to 4.2.0.
- [Commits](https://github.com/brix/crypto-js/compare/4.1.1...4.2.0)

---
updated-dependencies:
- dependency-name: crypto-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 07:21:17 +00:00
dependabot[bot]
28fd44bbb5
Bump System.ServiceModel.Primitives in /pac-man-board-game
Bumps [System.ServiceModel.Primitives](https://github.com/dotnet/wcf) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/dotnet/wcf/releases)
- [Commits](https://github.com/dotnet/wcf/commits)

---
updated-dependencies:
- dependency-name: System.ServiceModel.Primitives
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 03:00:16 +00:00
martin
837ffa89e5 Merge remote-tracking branch 'origin/master' 2023-10-21 12:28:16 +02:00
martin
a8fe82dd50 Refactored some tests, added IClonable to Player 2023-10-21 12:28:09 +02:00
Martin Berg Alstad
ff7b96d831
Merge pull request #70 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/vitest-0.34.6
Bump vitest from 0.34.2 to 0.34.6 in /pac-man-board-game/ClientApp
2023-10-20 18:48:11 +02:00
dependabot[bot]
70a07a7cdc
Bump vitest from 0.34.2 to 0.34.6 in /pac-man-board-game/ClientApp
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.34.2 to 0.34.6.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.34.6/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 16:46:26 +00:00
Martin Berg Alstad
62c2827e6d
Merge pull request #67 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/vite-plugin-node-polyfills-0.15.0
Bump vite-plugin-node-polyfills from 0.11.2 to 0.15.0 in /pac-man-board-game/ClientApp
2023-10-20 18:45:11 +02:00
Martin Berg Alstad
d710069802
Merge pull request #73 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/happy-dom-12.9.1
Bump happy-dom from 10.10.4 to 12.9.1 in /pac-man-board-game/ClientApp
2023-10-20 18:44:18 +02:00
dependabot[bot]
0d1ce7e1db
Bump vite-plugin-node-polyfills in /pac-man-board-game/ClientApp
Bumps [vite-plugin-node-polyfills](https://github.com/davidmyersdev/vite-plugin-node-polyfills) from 0.11.2 to 0.15.0.
- [Release notes](https://github.com/davidmyersdev/vite-plugin-node-polyfills/releases)
- [Commits](https://github.com/davidmyersdev/vite-plugin-node-polyfills/compare/v0.11.2...v0.15.0)

---
updated-dependencies:
- dependency-name: vite-plugin-node-polyfills
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 16:31:56 +00:00
dependabot[bot]
78de77b065
Bump happy-dom from 10.10.4 to 12.9.1 in /pac-man-board-game/ClientApp
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 10.10.4 to 12.9.1.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v10.10.4...v12.9.1)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 16:31:54 +00:00
Martin Berg Alstad
6127b28853
Merge pull request #74 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/types/react-18.2.28
Bump @types/react from 18.2.20 to 18.2.28 in /pac-man-board-game/ClientApp
2023-10-20 18:30:52 +02:00
Martin Berg Alstad
ad65ee8d77
Merge pull request #75 from emberal/dependabot/nuget/pac-man-board-game/Microsoft.AspNetCore.SpaProxy-7.0.12
Bump Microsoft.AspNetCore.SpaProxy from 7.0.10 to 7.0.12 in /pac-man-board-game
2023-10-20 18:30:17 +02:00
dependabot[bot]
09590f6b7a
Bump Microsoft.AspNetCore.SpaProxy in /pac-man-board-game
Bumps [Microsoft.AspNetCore.SpaProxy](https://github.com/dotnet/aspnetcore) from 7.0.10 to 7.0.12.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.10...v7.0.12)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.SpaProxy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 02:53:23 +00:00
dependabot[bot]
9a6beaf8b3
Bump @types/react in /pac-man-board-game/ClientApp
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.20 to 18.2.28.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 02:39:20 +00:00
martin
719d37c6ee Added page-not-found element and improved secured component with replace, and simplified 2023-09-24 15:49:26 +02:00
martin
2f71b7ffc5 Updated type to match backend 2023-09-24 15:48:46 +02:00
martin
a17ff36719 README, moved Regex to GeneratedRegex 2023-09-14 16:36:43 +02:00
dependabot[bot]
f07fa10db2
Bump Microsoft.TypeScript.MSBuild in /pac-man-board-game
Bumps Microsoft.TypeScript.MSBuild from 5.1.5 to 5.2.2.

---
updated-dependencies:
- dependency-name: Microsoft.TypeScript.MSBuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 03:06:37 +00:00
martin
8a3dfb058c Removed GameService.AddPlayer and it's usages. Updated tests, added tests for IsGameStarted 2023-08-27 13:21:54 +02:00
martin
d299176a1e Cleaned up error handling in backend, all error should throw exception 2023-08-27 12:39:23 +02:00
martin
25f70b8ae4 Fixed bug showing game as Closed when disconnecting 2023-08-27 12:13:45 +02:00
martin
c5490ec332 Fixed redirect not working, added autoComplete attribute to login form and hidden lobby button when not logged in 2023-08-27 12:01:30 +02:00