Skip to content

Commit

Permalink
Merge branch 'release/2.8.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
thordy committed Dec 11, 2024
2 parents 5ce1a32 + 3e57859 commit a407276
Show file tree
Hide file tree
Showing 201 changed files with 8,098 additions and 2,278 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,8 @@ public/images/players
# Geneated MarkoJS files
*.marko.js

.DS_Store
.DS_Store
.aider*

# Ignore SQL files
*.sql
32 changes: 31 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,43 @@
# Changelog
A preview of major changes can be found in the Wiki ([Latest Changes](https://github.com/kcapp/frontend/wiki/Latest_Changes))

## [2.8.0] - 2024-12-11
#### Feature
- New game type `170`
- "Badges" page showing overview of all badges and how many players have unlocked them
- New Darts Per Leg `DPL` metric added to tournament overview
- Convenience method for scoring a user checkout by pressing `55` on numpad
- Option to select which TTS voice to use per venue
- Tournament Predictor
- Tournament generation from frontend
- Ability to configure bots from Tablet Controller
- New set of larger Compact buttons
- Ability to configure: "Announcement Volume", "Auto Busting" and "Auto Leg Finish" from frontend
- Holding score buttons to score same dart three times
- Support `Max Rounds` to play for `x01`
- Added option to configure `players` on match presets
- Configurable default options for starting matches
- Lots of new Badges

#### Changed
- Don't show `Rematch` and `Undo Leg Finish` on old legs
- Display darts throw for certain badges
- Don't show change order modal if button input is enabled
- Hide Elo for players with Elo <1000
- Use multipler as points in `Around the World` and `Shanghai` instead of value

#### Fixed
- Fixed player Elo Changelog
- Minor fixes to Tablet controller
- Issue where match wouldn't start if venue was selected on office all

## [2.7.0] - 2023-09-12
#### Feature
- Automatically start next leg without needing to reload the page to improve load time, and get back to throwing quicker
- Forward clients back to main page from match result after 2 minutes
- New "Explore" tab on player statistics, to explore darts thrown
- Support for `ANY` and `MASTER` outs for `x01` legs
- Simplified input for `x01` legs
- Ability to configure: "Announcement Volume", "Auto Busting" and "Auto Leg Finish" from frontend

#### Changed
- Updated to use `Node.js v18`
Expand Down Expand Up @@ -202,6 +231,7 @@ A preview of major changes can be found in the Wiki ([Latest Changes](https://gi
- Multiple score entry methods
- Including [Unicorn Smartboard](https://github.com/kcapp/smartboard)

[2.8.0]: https://github.com/kcapp/frontend/compare/v2.7.0...v2.8.0
[2.7.0]: https://github.com/kcapp/frontend/compare/v2.6.0...v2.7.0
[2.6.0]: https://github.com/kcapp/frontend/compare/v2.5.0...v2.6.0
[2.5.0]: https://github.com/kcapp/frontend/compare/v2.4.0...v2.5.0
Expand Down
2 changes: 2 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const statistics = require('./routes/statistics');
const tournaments = require('./routes/tournaments');
const elo = require('./routes/elo');
const venues = require('./routes/venues')(app, socketHandler);
const badges = require('./routes/badges');
socketHandler.setupActiveNamespace();

app.locals.moment = require('moment');
Expand Down Expand Up @@ -103,6 +104,7 @@ app.use('/statistics', statistics);
app.use('/tournaments', tournaments);
app.use('/elo', elo);
app.use('/venues', venues);
app.use('/badges', badges);

// Not Found (404) Handler
app.use(function (req, res, next) {
Expand Down
3,662 changes: 2,330 additions & 1,332 deletions package-lock.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kcapp",
"version": "2.7.0",
"version": "2.8.0",
"private": true,
"scripts": {
"dev": "browser-refresh ./bin/www",
Expand All @@ -9,37 +9,37 @@
"start": "node ./bin/www"
},
"dependencies": {
"@lasso/marko-taglib": "^2.0.5",
"@marko/compiler": "^5.30.1",
"@lasso/marko-taglib": "^2.0.6",
"@marko/compiler": "^5.37.24",
"@marko/express": "^2.1.0",
"alertifyjs": "^1.13.1",
"alertifyjs": "^1.14.0",
"axios": "^0.21.2",
"body-parser": "^1.20.2",
"body-parser": "^1.20.3",
"bottleneck": "^2.18.0",
"browser-refresh": "^1.7.3",
"browser-refresh-taglib": "^1.2.1",
"chart.js": "^3.9.1",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"debug": "^4.3.2",
"compression": "^1.7.5",
"cookie-parser": "^1.4.7",
"debug": "^4.3.7",
"dissolve": "^0.2.1",
"express": "^4.18.2",
"express": "^4.21.1",
"kcapp-bot": "github:kcapp/bot#bf4fd3503cbc5e05e8193c52f58daa520803f4e1",
"kcapp-sio-client": "github:kcapp/kcapp-sio-client",
"lasso": "^4.0.3",
"lasso": "^4.0.4",
"lasso-less": "^4.0.2",
"lasso-marko": "^3.2.1",
"less-middleware": "^2.2.1",
"marko": "^5.28.1",
"lasso-marko": "^5.0.1",
"less-middleware": "^3.1.0",
"marko": "^5.35.33",
"mobile-detect": "^1.4.5",
"moment": "^2.29.4",
"moment": "^2.30.1",
"morgan": "^1.10.0",
"rotating-file-stream": "^3.1.0",
"rotating-file-stream": "^3.2.5",
"serve-favicon": "^2.5.0",
"socket.io": "^4.2.0",
"socket.io-client": "^4.2.0",
"underscore": "^1.13.6",
"uuid": "^9.0.0",
"underscore": "^1.13.7",
"uuid": "^11.0.3",
"xmldom": "^0.6.0"
},
"devDependencies": {
Expand Down
Binary file added public/audio/announcer/names/ali/name_1.wav
Binary file not shown.
Binary file added public/audio/announcer/names/ali/name_2.wav
Binary file not shown.
Binary file added public/audio/announcer/names/ali/name_3.wav
Binary file not shown.
Binary file added public/audio/announcer/names/ali/winner_1.wav
Binary file not shown.
Binary file added public/audio/announcer/names/ali/winner_2.wav
Binary file not shown.
Binary file added public/audio/announcer/names/fairooz/name_1.wav
Binary file not shown.
Binary file added public/audio/announcer/names/fairooz/name_2.wav
Binary file not shown.
Binary file added public/audio/announcer/names/fairooz/name_3.wav
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added public/audio/announcer/names/frank/winner_3.wav
Binary file not shown.
Binary file added public/audio/announcer/names/ove/winner_2.wav
Binary file not shown.
Binary file added public/audio/announcer/names/stian/name_1.wav
Binary file not shown.
Binary file added public/audio/announcer/names/stian/name_2.wav
Binary file not shown.
Binary file added public/audio/announcer/names/stian/winner_1.wav
Binary file not shown.
Binary file added public/audio/announcer/names/stian/winner_2.wav
Binary file not shown.
Binary file added public/audio/announcer/names/utku/name_1.wav
Binary file not shown.
Binary file added public/audio/announcer/names/utku/name_2.wav
Binary file not shown.
Binary file added public/audio/announcer/names/utku/winner_1.wav
Binary file not shown.
Binary file added public/audio/announcer/numbers/170_2.wav
Binary file not shown.
Binary file added public/audio/announcer/numbers/170_3.wav
Binary file not shown.
Binary file added public/audio/announcer/numbers/170_4.wav
Binary file not shown.
Binary file added public/audio/announcer/numbers/170_5.wav
Binary file not shown.
Binary file added public/audio/announcer/numbers/170_6.wav
Binary file not shown.
Binary file added public/audio/announcer/numbers/170_7.wav
Binary file not shown.
Binary file added public/audio/demo/songs/demo_0.wav
Binary file not shown.
Binary file added public/audio/demo/songs/demo_1.wav
Binary file not shown.
Binary file added public/audio/demo/songs/demo_2.wav
Binary file not shown.
Binary file added public/audio/demo/welcome_to_kcapp.wav
Binary file not shown.
42 changes: 11 additions & 31 deletions public/images/badges/100-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 12 additions & 32 deletions public/images/badges/100-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a407276

Please sign in to comment.