185 Commits

Author SHA1 Message Date
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
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
martin
e850391056 Removed TODOs and moved some logic in algo to it's own method 2023-08-23 20:11:31 +02:00
martin
f3652005af Updated dependencies 2023-08-21 23:09:01 +02:00
martin
348eac8214 Redirect to lobby if game does not exists 2023-08-21 23:06:16 +02:00
Martin Berg Alstad
12edaab1f4
Merge pull request #12 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/web-vitals-3.4.0
Bump web-vitals from 2.1.4 to 3.4.0 in /pac-man-board-game/ClientApp
2023-08-18 21:04:04 +02:00
Martin Berg Alstad
3c6e8703ba
Merge pull request #13 from emberal/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/types/react-18.2.20
Bump @types/react from 18.2.14 to 18.2.20 in /pac-man-board-game/ClientApp
2023-08-18 21:03:56 +02:00
dependabot[bot]
e973f5cbf8
Bump web-vitals from 2.1.4 to 3.4.0 in /pac-man-board-game/ClientApp
Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals) from 2.1.4 to 3.4.0.
- [Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md)
- [Commits](https://github.com/GoogleChrome/web-vitals/compare/v2.1.4...v3.4.0)

---
updated-dependencies:
- dependency-name: web-vitals
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 19:02:26 +00:00
dependabot[bot]
faef4c6946 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.9.0 to 0.11.1.
- [Release notes](https://github.com/davidmyersdev/vite-plugin-node-polyfills/releases)
- [Commits](https://github.com/davidmyersdev/vite-plugin-node-polyfills/commits)

---
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-08-18 21:01:50 +02:00
dependabot[bot]
7503a906e8
Bump @types/react in /pac-man-board-game/ClientApp
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.14 to 18.2.20.
- [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-08-18 19:01:47 +00:00
dependabot[bot]
adbfc29098 Bump Microsoft.AspNetCore.SpaProxy in /pac-man-board-game
Bumps [Microsoft.AspNetCore.SpaProxy](https://github.com/dotnet/aspnetcore) from 7.0.9 to 7.0.10.
- [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.9...v7.0.10)

---
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-08-18 21:01:36 +02:00
dependabot[bot]
61a6322580 Bump react-router-dom in /pac-man-board-game/ClientApp
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.14.1 to 6.15.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.15.0/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 21:00:40 +02:00
dependabot[bot]
0302c1ad28 Bump autoprefixer in /pac-man-board-game/ClientApp
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.14 to 10.4.15.
- [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.14...10.4.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 20:59:50 +02:00
martin
fdcc1b8f34 Error action 2023-08-07 22:18:28 +02:00
Martin Berg Alstad
f3b1641d4b
Merge pull request #7 from h600878/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/vitest-0.34.1
Bump vitest from 0.31.4 to 0.34.1 in /pac-man-board-game/ClientApp
2023-08-07 17:21:08 +02:00
dependabot[bot]
d7af074dd9
Bump vitest from 0.31.4 to 0.34.1 in /pac-man-board-game/ClientApp
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.31.4 to 0.34.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.34.1/packages/vitest)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 15:18:35 +00:00
Martin Berg Alstad
2fb5785b8b
Merge pull request #6 from h600878/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/jotai-devtools-0.6.1
Bump jotai-devtools from 0.6.0 to 0.6.1 in /pac-man-board-game/ClientApp
2023-08-07 17:17:49 +02:00
Martin Berg Alstad
79d397cb1f
Merge pull request #9 from h600878/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/vite-4.4.9
Bump vite from 4.4.2 to 4.4.9 in /pac-man-board-game/ClientApp
2023-08-07 17:17:27 +02:00
dependabot[bot]
7a66e864ba
Bump jotai-devtools from 0.6.0 to 0.6.1 in /pac-man-board-game/ClientApp
Bumps [jotai-devtools](https://github.com/jotaijs/jotai-devtools) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/jotaijs/jotai-devtools/releases)
- [Changelog](https://github.com/jotaijs/jotai-devtools/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jotaijs/jotai-devtools/compare/v0.6.0...v0.6.1)

---
updated-dependencies:
- dependency-name: jotai-devtools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 15:16:04 +00:00
dependabot[bot]
c7f0bad4e1
Bump vite from 4.4.2 to 4.4.9 in /pac-man-board-game/ClientApp
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.2 to 4.4.9.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.4.9/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 15:15:50 +00:00
Martin Berg Alstad
43b8f01231
Merge pull request #3 from h600878/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/headlessui/react-1.7.16
Bump @headlessui/react from 1.7.15 to 1.7.16 in /pac-man-board-game/ClientApp
2023-08-07 17:15:32 +02:00
dependabot[bot]
a0350a841c
Bump @headlessui/react in /pac-man-board-game/ClientApp
Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 1.7.15 to 1.7.16.
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v1.7.16/packages/@headlessui-react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 15:15:24 +00:00
Martin Berg Alstad
e4df1b1869
Merge pull request #8 from h600878/dependabot/npm_and_yarn/pac-man-board-game/ClientApp/jotai-2.3.0
Bump jotai from 2.2.2 to 2.3.0 in /pac-man-board-game/ClientApp
2023-08-07 17:13:58 +02:00
Martin Berg Alstad
2241149eaf
Merge pull request #2 from h600878/dependabot/nuget/pac-man-board-game/Microsoft.AspNetCore.SpaProxy-7.0.9
Bump Microsoft.AspNetCore.SpaProxy from 7.0.8 to 7.0.9 in /pac-man-board-game
2023-08-07 17:13:24 +02:00
dependabot[bot]
26af1a1c88
Bump jotai from 2.2.2 to 2.3.0 in /pac-man-board-game/ClientApp
Bumps [jotai](https://github.com/pmndrs/jotai) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/pmndrs/jotai/releases)
- [Commits](https://github.com/pmndrs/jotai/compare/v2.2.2...v2.3.0)

---
updated-dependencies:
- dependency-name: jotai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 03:02:39 +00:00
dependabot[bot]
63906de907
Bump Microsoft.AspNetCore.SpaProxy in /pac-man-board-game
Bumps [Microsoft.AspNetCore.SpaProxy](https://github.com/dotnet/aspnetcore) from 7.0.8 to 7.0.9.
- [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.8...v7.0.9)

---
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-08-06 09:33:07 +00:00
Martin Berg Alstad
b10c89d3fe
Create dependabot.yml 2023-08-06 11:32:44 +02:00
martin
5ee2d99d42 Refactored setPlayerInfo to joinGame and some other refactoring and comments 2023-08-05 23:32:25 +02:00
martin
697a4ddd6d Created a homepage, started on a debug menu 2023-08-05 19:52:47 +02:00
martin
296025fd4c Refactored waitForOpen to use wait function, written TSDocs for WSService 2023-08-04 17:50:18 +02:00
martin
c9267d6c9f Added node and pnpm dependencies to pipepline 2023-08-03 21:33:54 +02:00
martin
32a141c7d3 Changed npm commands to pnpm, updated node version in docker to LTS 2023-08-02 22:22:18 +02:00
martin
89d2935323 Fixed test, deprecated method, and changes it's uses 2023-07-31 22:19:55 +02:00
Martin Berg Alstad
dd6b493830
migrated to pnpm 2023-07-30 14:20:43 +02:00
martin
1430f3685c Migrated to pnpm and added vitest coverage 2023-07-30 13:48:11 +02:00
Martin Berg Alstad
1bee3d60b3 Close profileDropdown if clicked outside, removed console.debugs 2023-07-23 12:26:58 +02:00