-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
186 changed files
with
14,644 additions
and
5,878 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
VOLUMES_SQLITEDB=./.local/db | ||
VOLUMES_MEDIA=./.local/media | ||
VOLUMES_FILES=./.local/files | ||
VOLUMES_LOGS=./.local/logs | ||
VOLUMES_PLUGINS=./.local/plugins | ||
VOLUMES_CONFIG=./.local/config | ||
DB_SYSTEM=SQLITE | ||
SERVER_API_DOCS_ENABLED=true | ||
SERVER_LOG_LEVEL=debug | ||
SERVER_ACCOUNT_ACTIVATION_DISABLED=true |
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
name: Build and Deploy for Early Access | ||
|
||
on: | ||
push: | ||
branches: | ||
- early-access | ||
|
||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: phalcode | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: phalcode | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and Push | ||
uses: docker/build-push-action@v4 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
tags: | | ||
phalcode/gamevault-backend:early-access | ||
ghcr.io/phalcode/gamevault-backend:early-access |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
Empty file.
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,8 +1,12 @@ | ||
{ | ||
"ignore": { | ||
"mime": { | ||
"versions": "4", | ||
"versions": ">3", | ||
"reason": "ESM" | ||
}, | ||
"better-sqlite3": { | ||
"versions": ">9", | ||
"reason": "TypeORM compatibility" | ||
} | ||
} | ||
} |
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,4 +1,5 @@ | ||
{ | ||
"singleQuote": false, | ||
"endOfLine": "auto" | ||
"endOfLine": "auto", | ||
"plugins": ["prettier-plugin-organize-imports"] | ||
} |
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,13 @@ | ||
VOLUMES_SQLITEDB=./.local/db | ||
VOLUMES_IMAGES=./.local/images | ||
VOLUMES_MEDIA=./.local/media | ||
VOLUMES_FILES=./.local/files | ||
VOLUMES_LOGS=./.local/logs | ||
VOLUMES_PLUGINS=./.local/plugins | ||
|
||
SERVER_LOG_LEVEL=debug | ||
SERVER_ADMIN_USERNAME=admin | ||
SERVER_ADMIN_PASSWORD=12345678 | ||
DB_SYSTEM=SQLITE | ||
TESTING_IN_MEMORY_DB=true | ||
TESTING_MOCK_FILES=true | ||
RAWG_API_KEY=FAKEAPIKEY | ||
DB_SYNCHRONIZE=true #TODO: Remove this after fixing migration |
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,6 @@ | ||
{ | ||
"sonarlint.connectedMode.project": { | ||
"connectionId": "phalcode", | ||
"projectKey": "Phalcode_gamevault-backend" | ||
} | ||
} |
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,14 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
The following Docker Tags are supported by Phalcode and get regular security updates. | ||
|
||
| Version | Regular Updates | Supported | | ||
| ------- | ---|------------------ | | ||
| ``latest`` | :white_check_mark:|:white_check_mark: | | ||
| ``unstable`` |:white_check_mark: |:x: | | ||
| ``early-access`` | :x: |:x:| | ||
|
||
## Reporting a Vulnerability | ||
Please report any vulnerabilities to Phalcode [via Email](mailto:contact@phalco.de). |
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
File renamed without changes.
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,8 @@ | ||
services: | ||
gamevault-backend: | ||
build: . | ||
restart: unless-stopped | ||
environment: | ||
DB_SYSTEM: SQLITE | ||
ports: | ||
- 8080:8080 |
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,47 @@ | ||
import { fixupConfigRules, fixupPluginRules } from "@eslint/compat"; | ||
import { FlatCompat } from "@eslint/eslintrc"; | ||
import js from "@eslint/js"; | ||
import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin"; | ||
import tsParser from "@typescript-eslint/parser"; | ||
import globals from "globals"; | ||
import path from "node:path"; | ||
import { fileURLToPath } from "node:url"; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all, | ||
}); | ||
|
||
export default [ | ||
{ | ||
ignores: ["**/.eslintrc.js"], | ||
}, | ||
...fixupConfigRules( | ||
compat.extends( | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:import/recommended", | ||
"plugin:import/typescript", | ||
), | ||
), | ||
{ | ||
plugins: { | ||
"@typescript-eslint": fixupPluginRules(typescriptEslintEslintPlugin), | ||
}, | ||
languageOptions: { | ||
globals: { | ||
...globals.node, | ||
...globals.jest, | ||
}, | ||
parser: tsParser, | ||
ecmaVersion: "latest", | ||
sourceType: "module", | ||
parserOptions: { | ||
project: "tsconfig.json", | ||
}, | ||
}, | ||
}, | ||
]; |
Oops, something went wrong.