Skip to content

Commit a407276

Browse files
committed
Merge branch 'release/2.8.0'
2 parents 5ce1a32 + 3e57859 commit a407276

File tree

201 files changed

+8098
-2278
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+8098
-2278
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,8 @@ public/images/players
7777
# Geneated MarkoJS files
7878
*.marko.js
7979

80-
.DS_Store
80+
.DS_Store
81+
.aider*
82+
83+
# Ignore SQL files
84+
*.sql

CHANGELOG.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,43 @@
11
# Changelog
22
A preview of major changes can be found in the Wiki ([Latest Changes](https://github.com/kcapp/frontend/wiki/Latest_Changes))
33

4+
## [2.8.0] - 2024-12-11
5+
#### Feature
6+
- New game type `170`
7+
- "Badges" page showing overview of all badges and how many players have unlocked them
8+
- New Darts Per Leg `DPL` metric added to tournament overview
9+
- Convenience method for scoring a user checkout by pressing `55` on numpad
10+
- Option to select which TTS voice to use per venue
11+
- Tournament Predictor
12+
- Tournament generation from frontend
13+
- Ability to configure bots from Tablet Controller
14+
- New set of larger Compact buttons
15+
- Ability to configure: "Announcement Volume", "Auto Busting" and "Auto Leg Finish" from frontend
16+
- Holding score buttons to score same dart three times
17+
- Support `Max Rounds` to play for `x01`
18+
- Added option to configure `players` on match presets
19+
- Configurable default options for starting matches
20+
- Lots of new Badges
21+
22+
#### Changed
23+
- Don't show `Rematch` and `Undo Leg Finish` on old legs
24+
- Display darts throw for certain badges
25+
- Don't show change order modal if button input is enabled
26+
- Hide Elo for players with Elo <1000
27+
- Use multipler as points in `Around the World` and `Shanghai` instead of value
28+
29+
#### Fixed
30+
- Fixed player Elo Changelog
31+
- Minor fixes to Tablet controller
32+
- Issue where match wouldn't start if venue was selected on office all
33+
434
## [2.7.0] - 2023-09-12
535
#### Feature
636
- Automatically start next leg without needing to reload the page to improve load time, and get back to throwing quicker
737
- Forward clients back to main page from match result after 2 minutes
838
- New "Explore" tab on player statistics, to explore darts thrown
939
- Support for `ANY` and `MASTER` outs for `x01` legs
1040
- Simplified input for `x01` legs
11-
- Ability to configure: "Announcement Volume", "Auto Busting" and "Auto Leg Finish" from frontend
1241

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

234+
[2.8.0]: https://github.com/kcapp/frontend/compare/v2.7.0...v2.8.0
205235
[2.7.0]: https://github.com/kcapp/frontend/compare/v2.6.0...v2.7.0
206236
[2.6.0]: https://github.com/kcapp/frontend/compare/v2.5.0...v2.6.0
207237
[2.5.0]: https://github.com/kcapp/frontend/compare/v2.4.0...v2.5.0

app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ const statistics = require('./routes/statistics');
6060
const tournaments = require('./routes/tournaments');
6161
const elo = require('./routes/elo');
6262
const venues = require('./routes/venues')(app, socketHandler);
63+
const badges = require('./routes/badges');
6364
socketHandler.setupActiveNamespace();
6465

6566
app.locals.moment = require('moment');
@@ -103,6 +104,7 @@ app.use('/statistics', statistics);
103104
app.use('/tournaments', tournaments);
104105
app.use('/elo', elo);
105106
app.use('/venues', venues);
107+
app.use('/badges', badges);
106108

107109
// Not Found (404) Handler
108110
app.use(function (req, res, next) {

package-lock.json

Lines changed: 2330 additions & 1332 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kcapp",
3-
"version": "2.7.0",
3+
"version": "2.8.0",
44
"private": true,
55
"scripts": {
66
"dev": "browser-refresh ./bin/www",
@@ -9,37 +9,37 @@
99
"start": "node ./bin/www"
1010
},
1111
"dependencies": {
12-
"@lasso/marko-taglib": "^2.0.5",
13-
"@marko/compiler": "^5.30.1",
12+
"@lasso/marko-taglib": "^2.0.6",
13+
"@marko/compiler": "^5.37.24",
1414
"@marko/express": "^2.1.0",
15-
"alertifyjs": "^1.13.1",
15+
"alertifyjs": "^1.14.0",
1616
"axios": "^0.21.2",
17-
"body-parser": "^1.20.2",
17+
"body-parser": "^1.20.3",
1818
"bottleneck": "^2.18.0",
1919
"browser-refresh": "^1.7.3",
2020
"browser-refresh-taglib": "^1.2.1",
2121
"chart.js": "^3.9.1",
22-
"compression": "^1.7.4",
23-
"cookie-parser": "^1.4.6",
24-
"debug": "^4.3.2",
22+
"compression": "^1.7.5",
23+
"cookie-parser": "^1.4.7",
24+
"debug": "^4.3.7",
2525
"dissolve": "^0.2.1",
26-
"express": "^4.18.2",
26+
"express": "^4.21.1",
2727
"kcapp-bot": "github:kcapp/bot#bf4fd3503cbc5e05e8193c52f58daa520803f4e1",
2828
"kcapp-sio-client": "github:kcapp/kcapp-sio-client",
29-
"lasso": "^4.0.3",
29+
"lasso": "^4.0.4",
3030
"lasso-less": "^4.0.2",
31-
"lasso-marko": "^3.2.1",
32-
"less-middleware": "^2.2.1",
33-
"marko": "^5.28.1",
31+
"lasso-marko": "^5.0.1",
32+
"less-middleware": "^3.1.0",
33+
"marko": "^5.35.33",
3434
"mobile-detect": "^1.4.5",
35-
"moment": "^2.29.4",
35+
"moment": "^2.30.1",
3636
"morgan": "^1.10.0",
37-
"rotating-file-stream": "^3.1.0",
37+
"rotating-file-stream": "^3.2.5",
3838
"serve-favicon": "^2.5.0",
3939
"socket.io": "^4.2.0",
4040
"socket.io-client": "^4.2.0",
41-
"underscore": "^1.13.6",
42-
"uuid": "^9.0.0",
41+
"underscore": "^1.13.7",
42+
"uuid": "^11.0.3",
4343
"xmldom": "^0.6.0"
4444
},
4545
"devDependencies": {
60.6 KB
Binary file not shown.
71.3 KB
Binary file not shown.
77 KB
Binary file not shown.
202 KB
Binary file not shown.
205 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
620 KB
Binary file not shown.
177 KB
Binary file not shown.
206 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
116 KB
Binary file not shown.
130 KB
Binary file not shown.
316 KB
Binary file not shown.
252 KB
Binary file not shown.
275 KB
Binary file not shown.
312 KB
Binary file not shown.
262 KB
Binary file not shown.
277 KB
Binary file not shown.
243 KB
Binary file not shown.

public/audio/demo/songs/demo_0.wav

3.36 MB
Binary file not shown.

public/audio/demo/songs/demo_1.wav

2.79 MB
Binary file not shown.

public/audio/demo/songs/demo_2.wav

3.67 MB
Binary file not shown.
144 KB
Binary file not shown.

public/images/badges/100-1.svg

Lines changed: 11 additions & 31 deletions
Loading

public/images/badges/100-2.svg

Lines changed: 12 additions & 32 deletions
Loading

0 commit comments

Comments
 (0)