-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bring in new database changes for extra player stats. * Fix Dockerfile to avoid potential COPY errors. * Begin refactor for extra stats as playerstats is too large of a file. * Update DB layout. Begin extra stats documentation. * Include new extra stats route and non-live gets. * Finish CRUD operations. Move onto new API implementation for OnPlayerDeath? * Bring in initial start of call for plugin. Update database to use actual steam IDs and whatnot. * Implement additional stat carry over. Needs to be tested. * Include typescript generation for v2 api. Remove extra player stats from legacy api since they were not finished. Update serverrcon.js - Breakout packet handling to its own function. - Check version for 0.14 or higher. TBD if we can use 0.13. - Set log and backup URLs and keys to use API keys. - Fix formatting Update prodrun to point to dist for compiled js. * Update deps and include types from docs. * Massive refactor of code to follow a better folder structure. Everything mainly in src now, types in types, services (like db and various service calls to database) in services, etc. Bring in start of finding API key and match id. These will be checked before being sent off to different cases. * Continue on rewiring tests. * Tests working, application not. * Tests passing and app launching! * OnSeriesResult implemented. Removed OnSeriesInit as it is not needed. Forfeits are not implemented, but may not be needed right now, can check on round end instead and update as needed. * Fix up some comments. Finish map and series finishing. Start on pick/ban updates. * Bring in team ID in the match configs since it's supported. Update mapupdate to not use team ids from database. Update various TS calls to user lowercase identifiers. * Veto updates and side selection complete. * Properly tag releases on push with version number as well. * Finish series flow service. Adjust imports on map flow service. Update api.ts to include new cases for the series flow. * OnGoingLive implemented. * Update the player stat extras table. Include OnPlayerDeath and OnMatchPaused and OnMatchUnpaused. Update serverrcon to include demo, logs, and backups. Update match creation to get version number if we select a server. * Include bomb plant and defuse events from game server to API calls. Since these are game specific, we will not create public API calls for this. * Finish map and series flows. Update github actions to deploy next and version tag. Begin work on demo uploads. * Change docker tags to use latest and next for now. * Docker debugging. Update package json version. * Add in demo API. Update leaderboard swagger to add success option. Consider moving components to their own JS files for easier typing and location. * Bring in remote backup API calls. * Update JSDocs. Include more docs for the MapFlowService. * Fix error with incomplete packets call. * Fix server rcon values not being respected in strings. Fix match registering version numbers for get5. * Delete match from database if we fail to load on the server. This should fix the bug of multiple matches being generated with the same server. Only update game server if the server is alive and available as well. * Update README.md * Update workflow to push next on any branch but version only on final release. Update README.
- Loading branch information
1 parent
3b4c815
commit c92bfb7
Showing
96 changed files
with
6,112 additions
and
1,470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
name: publish to ghcr | ||
name: Publish to GHCR | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
- '**' | ||
jobs: | ||
push: | ||
name: "Create build and push to GHCR" | ||
name: Create build and push to GHCR | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
@@ -30,12 +30,23 @@ jobs: | |
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- id: getversion | ||
uses: Saionaro/[email protected] | ||
- uses: docker/[email protected] | ||
if: github.ref != 'refs/heads/master' | ||
with: | ||
context: . | ||
file: Dockerfile | ||
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8 | ||
push: true | ||
tags: | | ||
ghcr.io/${{ steps.string.outputs.lowercase }}/g5api:latest | ||
ghcr.io/${{ steps.string.outputs.lowercase }}/g5api:next | ||
- uses: docker/[email protected] | ||
if: github.ref == 'refs/heads/master' | ||
with: | ||
context: . | ||
file: Dockerfile | ||
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8 | ||
push: true | ||
tags: | | ||
ghcr.io/${{ steps.string.outputs.lowercase }}/g5api:latest,ghcr.io/${{ steps.string.outputs.lowercase }}/g5api:${{ steps.getversion.outputs.version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dist/ | ||
node_modules/ | ||
config/production.json* | ||
config/development.json* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/** @type {import('ts-jest').JestConfigWithTsJest} */ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.