Alec
3d1873f228
Update CodeQL badge in README.md
2026-01-24 23:59:15 -05:00
Alec
35ec0307c7
Add read permissions for contents in workflow
2026-01-24 23:57:25 -05:00
Copilot
0449e33b40
Add independent alignment for custom roles ( #217 )
...
* Initial plan
* Add independent alignment: constants, validation, UI, and CSS
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Add unit tests for independent alignment validation
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Fix remaining binary alignment checks in role display
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Add independent player container and game-role-independent CSS
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* fix a couple bugs, tweak colors
* remove import
* remove duplicate tag
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
Co-authored-by: AlecM33 <leohfx@gmail.com >
2026-01-24 23:55:11 -05:00
Alec
b328bfffe5
Update codeQL github action workflow
2026-01-24 19:12:51 -05:00
Alec
ce517733a4
Delete .github/workflows/codeql-analysis.yml
2026-01-24 19:11:33 -05:00
Copilot
7b6da37ef5
Refactor timer system from child processes to main thread ( #216 )
...
* Initial plan
* Refactor timer system to run on main thread instead of child processes
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Remove obsolete GameProcess.js and simplify TimerManager to stub
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Address code review feedback: add comments and reduce duplication
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Remove comments, delete TimerManager, and simplify SOURCE_TIMER_EVENT
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Fix cross-instance timer communication and expired timer handling
- GET_TIME_REMAINING now publishes response through Redis for cross-instance communication
- SOURCE_TIMER_EVENT handles GET_TIME_REMAINING even when timer is not running locally
- Returns 0 time remaining when timer has expired or timerParams is null
- Updated test to expect Redis publish instead of direct method call
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Simplify GET_TIME_REMAINING flow and add ended flag
- Add ended: true flag to timerParams when timer completes
- Simplify TIMER_EVENT to check ended flag first, then local timer, then publish SOURCE_TIMER_EVENT
- SOURCE_TIMER_EVENT only publishes GET_TIME_REMAINING if it has the timer
- Remove GET_TIME_REMAINING from handleTimerCommand helper
- Direct socket emission for local timers instead of Redis publish
- Updated test to verify socket emission
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Refactor GET_TIME_REMAINING into handleTimerCommand switch case
- Moved GET_TIME_REMAINING logic from TIMER_EVENT handler into handleTimerCommand function
- Simplified TIMER_EVENT to just call handleTimerCommand for all timer operations
- Maintains same flow: check ended flag, check local timer, publish SOURCE_TIMER_EVENT if needed
- All tests passing
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Remove unused getTimeRemaining function from GameManager
- Function is no longer called after refactoring GET_TIME_REMAINING into handleTimerCommand
- All timer time remaining logic now handled in Events.js handleTimerCommand switch case
- Tests still passing
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* Reset timerParams.ended flag when restarting game
- Added reset of ended flag to false in restartGame function
- Ensures restarted games don't have timer marked as already ended
- Placed right after timer cleanup for logical grouping
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
* remuse unused constant
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: AlecM33 <24642328+AlecM33@users.noreply.github.com >
Co-authored-by: AlecM33 <leohfx@gmail.com >
2026-01-24 11:58:51 -05:00
AlecM33
26f2fc5165
exempt options calls from auth check
2025-12-29 15:55:26 -05:00
AlecM33
5bfe11e5a1
attempt to resolve options call issue
2025-12-29 15:30:56 -05:00
AlecM33
83dd5eb815
fix options call settings
2025-12-29 15:18:05 -05:00
AlecM33
054234b38d
fix spacing
2025-12-29 15:10:49 -05:00
AlecM33
12568d31ea
remove unused options
2025-12-29 15:10:14 -05:00
AlecM33
b749fa0801
handle options call
2025-12-29 15:09:37 -05:00
Alec
2ef27c8248
allow local admin dashboard ( #212 )
...
* allow local admin dashboard
* removed 'unused' constant...
2025-12-29 14:59:57 -05:00
Alec
75189d109a
bigger role buttons, better delete icon, other small styling tweaks, update tutorial language ( #211 )
...
* bigger role buttons, other small styling tweaks, update tutorial language
* fix depracated github actions dependency
* fix margin
v1.3.9
2025-12-28 23:38:18 -05:00
Alec
2a4fa2861f
set content type for join errors ( #207 )
2025-02-07 13:53:30 -05:00
dependabot[bot]
4b4b005d8a
Bump path-to-regexp and express ( #206 )
...
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp ) to 0.1.12 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `path-to-regexp` from 0.1.10 to 0.1.12
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases )
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md )
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.10...v0.1.12 )
Updates `express` from 4.21.1 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.21.1...4.21.2 )
---
updated-dependencies:
- dependency-name: path-to-regexp
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-06 17:43:05 -05:00
Alec
ad20a291ec
Address some remaining lighthouse report feedback ( #205 )
...
* lighthouse improvements
* revert property
* explicit width and height
* missing width and height
v1.3.8
2024-11-12 21:30:13 -05:00
AlecM33
befbeaa228
formatting
v1.3.7
2024-11-11 15:01:56 -05:00
AlecM33
467a0a17de
update role descriptions
2024-11-11 15:00:18 -05:00
AlecM33
0bbd696fba
remove footer, update link to buymeacoffee
2024-11-11 14:32:39 -05:00
AlecM33
7c97001363
fix webpack compression exception
v1.3.6
2024-11-10 13:10:04 -05:00
AlecM33
35d280d5ee
update node version in dockerfile
2024-11-10 12:48:22 -05:00
AlecM33
0fe9432528
bump node version in package json
2024-11-10 12:35:36 -05:00
AlecM33
b5c610f9ab
update node ci version
2024-11-08 13:37:24 -05:00
AlecM33
7cc87d9a48
reset package-lock
2024-11-08 13:32:11 -05:00
dependabot[bot]
ee4aa21a1d
Bump ws and socket.io-adapter ( #204 )
...
Bumps [ws](https://github.com/websockets/ws ) and [socket.io-adapter](https://github.com/socketio/socket.io-adapter ). These dependencies needed to be updated together.
Updates `ws` from 8.11.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.11.0...8.17.1 )
Updates `socket.io-adapter` from 2.5.2 to 2.5.5
- [Release notes](https://github.com/socketio/socket.io-adapter/releases )
- [Changelog](https://github.com/socketio/socket.io-adapter/blob/2.5.5/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io-adapter/compare/2.5.2...2.5.5 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
- dependency-name: socket.io-adapter
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-08 13:29:14 -05:00
dependabot[bot]
4d18ca0d42
Bump cookie, express and socket.io ( #203 )
...
Bumps [cookie](https://github.com/jshttp/cookie ) to 0.7.1 and updates ancestor dependencies [cookie](https://github.com/jshttp/cookie ), [express](https://github.com/expressjs/express ) and [socket.io](https://github.com/socketio/socket.io ). These dependencies need to be updated together.
Updates `cookie` from 0.4.2 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases )
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.1 )
Updates `express` from 4.20.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.1 )
Updates `socket.io` from 4.7.5 to 4.8.1
- [Release notes](https://github.com/socketio/socket.io/releases )
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.1 )
---
updated-dependencies:
- dependency-name: cookie
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
- dependency-name: socket.io
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-08 13:24:07 -05:00
dependabot[bot]
47263c65a8
Bump body-parser and express ( #202 )
...
Bumps [body-parser](https://github.com/expressjs/body-parser ) and [express](https://github.com/expressjs/express ). These dependencies needed to be updated together.
Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases )
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md )
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3 )
Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0 )
---
updated-dependencies:
- dependency-name: body-parser
dependency-type: direct:production
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alec <leohfx@gmail.com >
2024-11-08 13:19:41 -05:00
dependabot[bot]
a7fb2afde1
Bump send and express ( #201 )
...
Bumps [send](https://github.com/pillarjs/send ) to 0.19.0 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases )
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md )
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0 )
Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0 )
---
updated-dependencies:
- dependency-name: send
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alec <leohfx@gmail.com >
2024-11-08 13:16:02 -05:00
dependabot[bot]
d31999e06e
Bump serve-static and express ( #200 )
...
* Bump serve-static and express
Bumps [serve-static](https://github.com/expressjs/serve-static ) to 1.16.2 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases )
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md )
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2 )
Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0 )
---
updated-dependencies:
- dependency-name: serve-static
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update package-lock.json
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alec <leohfx@gmail.com >
2024-11-08 13:02:13 -05:00
dependabot[bot]
7b4a96a8fa
Bump path-to-regexp and express ( #199 )
...
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp ) to 0.1.10 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases )
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md )
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10 )
Updates `express` from 4.19.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0 )
---
updated-dependencies:
- dependency-name: path-to-regexp
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-08 12:35:35 -05:00
dependabot[bot]
c180897862
Bump webpack from 5.76.0 to 5.94.0 ( #198 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.76.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.76.0...v5.94.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-08 12:35:26 -05:00
dependabot[bot]
088e65c728
Bump ws, socket.io and socket.io-client ( #197 )
...
Bumps [ws](https://github.com/websockets/ws ) to 8.18.0 and updates ancestor dependencies [ws](https://github.com/websockets/ws ), [socket.io](https://github.com/socketio/socket.io ) and [socket.io-client](https://github.com/socketio/socket.io-client ). These dependencies need to be updated together.
Updates `ws` from 8.2.3 to 8.18.0
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.2.3...8.18.0 )
Updates `socket.io` from 4.6.2 to 4.7.5
- [Release notes](https://github.com/socketio/socket.io/releases )
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io/compare/4.6.2...4.7.5 )
Updates `socket.io-client` from 4.5.4 to 4.7.5
- [Release notes](https://github.com/socketio/socket.io-client/releases )
- [Changelog](https://github.com/socketio/socket.io-client/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io-client/compare/4.5.4...4.7.5 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
- dependency-name: socket.io
dependency-type: direct:production
- dependency-name: socket.io-client
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-08 12:35:16 -05:00
dependabot[bot]
718ad1b58e
Bump braces from 3.0.2 to 3.0.3 ( #195 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-04 11:05:09 -04:00
dependabot[bot]
69a2a88d74
Bump socket.io from 4.6.1 to 4.6.2 ( #196 )
...
Bumps [socket.io](https://github.com/socketio/socket.io ) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/socketio/socket.io/releases )
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io/compare/4.6.1...4.6.2 )
---
updated-dependencies:
- dependency-name: socket.io
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-04 11:05:01 -04:00
dependabot[bot]
5f819f8f17
Bump ejs from 3.1.8 to 3.1.10 ( #194 )
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.8 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.8...v3.1.10 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-10 09:09:13 -04:00
dependabot[bot]
4ad2d6c663
Bump express from 4.18.2 to 4.19.2 ( #193 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 16:19:16 -04:00
Alec
01ed3c6842
Remove unload event ( #192 )
...
* use page hide event, manually reconnect
* comment
* lint
2024-03-26 22:01:39 -04:00
dependabot[bot]
1833bde903
Bump follow-redirects from 1.15.4 to 1.15.6 ( #190 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-17 16:13:01 -04:00
Alec
915819bb15
Fix bug where we incorrectly added a user as a player instead of a spectator ( #189 )
...
* fix bug with failing to add as spectator for in-progress game
* refactor fix
* revert to previous fix
v1.3.5
2024-03-12 22:59:05 -04:00
Alec
7e71bbb27a
Spectator bugfixes ( #188 )
...
* fix spectator bugs
* fix import spacing
* remove log
* fix redundant parens
* remove comma
v1.2.0
v1.3.0
v1.3.1
v1.3.2
v1.3.3
v1.3.4
2024-03-06 00:39:15 -05:00
Alec
613a16ec91
Merge pull request #185 from AlecM33/local-docker-compose
...
Local docker compose
2024-03-04 20:50:09 -05:00
Alec
48888fe622
Update README.md
2024-03-04 20:40:42 -05:00
AlecM33
1b24d61091
add second web server, work around docker compose bug
2024-03-04 20:39:11 -05:00
AlecM33
5573313b70
fix comment
2024-03-04 02:51:15 -05:00
AlecM33
0b1ab044b0
remove comments
2024-03-04 02:51:02 -05:00
AlecM33
a7d864cdec
local docker setup
2024-03-04 02:49:53 -05:00
Alec
e0789f8808
Merge pull request #183 from AlecM33/dependabot/npm_and_yarn/follow-redirects-1.15.4
...
Bump follow-redirects from 1.14.9 to 1.15.4
2024-01-18 18:58:38 -05:00
dependabot[bot]
4ba0354084
Bump follow-redirects from 1.14.9 to 1.15.4
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.9 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.9...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-09 19:00:25 +00:00
AlecM33
06a4b75a69
increase padding to accomodate kabab menu
2023-12-05 20:14:34 -05:00