Commit graph

88 commits

Author SHA1 Message Date
dependabot[bot]
2cdc5e91c9
Merge cd0dd4d21a into 8165e35d10 2024-11-26 04:26:12 +00:00
Anthony Mineo
f803963015 chore: pin node version with volta 2023-03-01 19:09:09 -05:00
Anthony Mineo
928bf1812c fix: change games service to return list ordered by datestamp desc 2023-03-01 17:52:45 -05:00
dependabot[bot]
cd0dd4d21a
Bump json5 from 1.0.1 to 1.0.2 in /app/api
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-08 01:49:06 +00:00
Anthony Mineo
a615d4524b Remove some cruft 2021-09-27 12:11:43 -04:00
Anthony Mineo
86e13db165 * Add query caching for lthe long running leaderboard queries -- 2hr ttl 2021-09-27 11:56:17 -04:00
Brian Beck
08010956a8 Default timePeriod to null instead of undefined 2021-09-26 00:50:59 -07:00
Brian Beck
3114913c85 Cast string to interval correctly 2021-09-26 00:46:51 -07:00
Brian Beck
edd3076b54 Add time period support to leaderboard queries 2021-09-26 00:25:26 -07:00
Brian Beck
01c2b8b37d Add grenade launcher stats to accuracy leaderboard 2021-09-25 14:36:43 -07:00
Anthony Mineo
3bbdb99253 * Update format for new attributes (teamOneCapTimesGame, teamTwoCapTimesGame) -- formatArrayOfNumbers: Pass in string and return a number array"
"
2021-06-01 18:10:03 -04:00
Anthony Mineo
89fbe7cf85
Merge pull request #8 from petrifiedroadkill/master
Cap Time Stats
2021-06-01 17:50:40 -04:00
petrifiedroadkill
321047c38e Cap Time Stats 2021-06-01 13:14:01 -05:00
Brian Beck
efdf44d7ba Also include LCTF games 2021-05-31 23:44:13 -07:00
Brian Beck
e55c6ed9da Lower team participation threshold from 80% to 67%, improve team score accuracy 2021-05-31 22:10:55 -07:00
Brian Beck
7585564018 Use mode() instead of avg() to get most likely teamScoreGame 2021-05-31 00:20:42 -07:00
Anthony Mineo
ab028e52fd
Merge pull request #5 from exogen/feature/top-winning-percentage
Add API endpoint for top win-loss CTF records
2021-05-30 08:30:21 -04:00
Brian Beck
1949494098 Add API endpoint for top win-loss CTF records 2021-05-30 01:57:00 -07:00
petrifiedroadkill
4cfeab4264 Update formatStats.ts 2021-05-05 12:50:13 -05:00
Brian Beck
05fa275f85 Fix null discjumps and potential divide by zero 2021-04-30 18:43:18 -07:00
Brian Beck
7504d1497c Add accuracy leaderboard: players/top/accuracy endpoint 2021-04-29 18:04:53 -07:00
Anthony Mineo
ebb72ff01f Add new stat keys for number conversion 2021-04-20 19:00:51 -04:00
Anthony Mineo
0bbfa32ef6 swap out wget for lftp 2021-03-16 20:10:59 -04:00
Anthony Mineo
fbff090ba5 Refactor FTP command 2021-03-15 17:19:58 -04:00
Anthony Mineo
ddf8c112f5 Add FTP Host path as env 2021-03-13 11:38:56 -05:00
Anthony Mineo
9222b8f0d6 Update ftp parser paths 2021-03-13 11:13:26 -05:00
Anthony Mineo
a14fec7355 Use new teamScoreGame key to display team v team score. Fall back to old tally method if its not available 2020-09-30 16:20:16 -04:00
Anthony Mineo
c1fcb61731 Deprecated webapp (old stats stack) 2020-09-29 14:43:26 -04:00
Anthony Mineo
2f3f61fd62 Sort player's games properly by gameID 2020-09-27 14:21:31 -04:00
Anthony Mineo
98affddbff tweak return details 2020-09-23 15:03:48 -04:00
Anthony Mineo
c10cd44615 Update return formats 2020-09-23 14:39:29 -04:00
Anthony Mineo
67eb8db0c8 parser update, non-restart - node cron 2020-09-23 10:57:09 -04:00
Anthony Mineo
ef3909b8ac return player statTotals 2020-09-22 10:50:22 -04:00
Anthony Mineo
cc1c71c769 A few more stats... 2020-09-21 14:25:20 -04:00
Anthony Mineo
f70b95ab5e Additional stats 2020-09-21 14:11:10 -04:00
Anthony Mineo
1a51c95b82 api v0.0.5 2020-09-21 13:36:11 -04:00
Anthony Mineo
9e40b300f5 Tweak return limits 2020-09-21 12:09:21 -04:00
Anthony Mineo
8e5cf83d4d Majorly improve stat formatting :) 2020-09-21 11:53:06 -04:00
Anthony Mineo
72ac49e4f9 Update deps 2020-09-17 16:59:17 -04:00
Anthony Mineo
69f250871a init new api endpoint for returning games by game type with summaries 2020-09-17 16:57:45 -04:00
Anthony Mineo
80056903c6 Set API https 2020-08-31 17:12:04 -04:00
Anthony Mineo
b3925a8fc6 Setup stats API container: 2020-08-31 16:27:31 -04:00
Anthony Mineo
9176889086 Update port 2020-08-31 15:45:46 -04:00
Anthony Mineo
ef32d90030 Return formatted stats based off other gameTypes 2020-08-30 10:00:33 -04:00
Anthony Mineo
96e15be86d Setup return games with details endpoint 2020-08-29 21:05:20 -04:00
Anthony Mineo
f240ccd306 Enable CORS 2020-08-29 19:35:28 -04:00
Anthony Mineo
86c531d61e Enable cors 2020-08-29 19:32:50 -04:00
Anthony Mineo
d85896dcaa Better return error messages 2020-08-29 19:26:53 -04:00
Anthony Mineo
2c3c9a0532 Setup Swagger 2020-08-29 19:20:44 -04:00
Anthony Mineo
a1b2f2cd78 Enable swagger 2020-08-29 19:10:50 -04:00