-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from EvoEsports/dev
Version 0.4.0
- Loading branch information
Showing
82 changed files
with
5,823 additions
and
1,284 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,34 +1,42 @@ | ||
## Server | ||
XMLRPC_HOST="127.0.0.1" | ||
XMLRPC_PORT=5000 | ||
XMLRPC_USER="SuperAdmin" | ||
XMLRPC_PASS="SuperAdmin" | ||
|
||
## Controller | ||
|
||
# comma separated list of admins for the server | ||
ADMINS="" | ||
|
||
EXCLUDED_PLUGINS="tmnf/freezone, tmnf/dedimania" | ||
|
||
# set ansilevel: | ||
# 0 = no color, 1 = 4bit color (console), 2 = 24bit color (rgb) | ||
ANSILEVEL=1 | ||
|
||
# Debug info.. or not | ||
DEBUG=false | ||
|
||
## Plugins | ||
FREEZONE_PASS="" | ||
DEDIMANIA_PASS="" | ||
|
||
TALIMIT=300 | ||
VOTE_TIMEOUT=30 | ||
VOTE_RATIO=0.55 | ||
|
||
## Theme | ||
|
||
# COLOR_TITLE_BG="0ad" | ||
# COLOR_TITLE_FG="fff" | ||
# COLOR_BG="026" | ||
# COLOR_INFO="abc" | ||
## Server | ||
XMLRPC_HOST="127.0.0.1" | ||
XMLRPC_PORT=5000 | ||
XMLRPC_USER="SuperAdmin" | ||
XMLRPC_PASS="SuperAdmin" | ||
|
||
# database connection string examples: | ||
|
||
# DATABASE="postgres://user:[email protected]:5432/databaseName" | ||
# DATABASE="mysql://user:[email protected]:3306/databaseName" | ||
# DATABASE="sqlite://userdata/local.sqlite" | ||
|
||
DATABASE="sqlite://userdata/local.sqlite" | ||
|
||
## Controller | ||
|
||
# comma separated list of admins for the server | ||
ADMINS="" | ||
|
||
EXCLUDED_PLUGINS="tmnf/freezone, tmnf/dedimania" | ||
|
||
# set ansilevel: | ||
# 0 = no color, 1 = 4bit color (console), 2 = 24bit color (rgb) | ||
ANSILEVEL=1 | ||
|
||
# Debug info.. or not | ||
DEBUG=false | ||
|
||
## Plugins | ||
FREEZONE_PASS="" | ||
DEDIMANIA_PASS="" | ||
|
||
TALIMIT=300 | ||
VOTE_TIMEOUT=30 | ||
VOTE_RATIO=0.55 | ||
|
||
## Theme | ||
|
||
# COLOR_TITLE_BG="0ad" | ||
# COLOR_TITLE_FG="fff" | ||
# COLOR_BG="026" | ||
# COLOR_INFO="abc" |
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 |
---|---|---|
@@ -1,53 +1,32 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "bun", | ||
"request": "launch", | ||
"name": "Debug Bun", | ||
|
||
// The path to a JavaScript or TypeScript file to run. | ||
"program": "core/minicontrol.ts", | ||
// The arguments to pass to the program, if any. | ||
"args": [], | ||
|
||
// The working directory of the program. | ||
"cwd": "${workspaceFolder}", | ||
|
||
// The environment variables to pass to the program. | ||
"env": {}, | ||
|
||
// If the environment variables should not be inherited from the parent process. | ||
"strictEnv": false, | ||
|
||
// If the program should be run in watch mode. | ||
// This is equivalent to passing `--watch` to the `bun` executable. | ||
// You can also set this to "hot" to enable hot reloading using `--hot`. | ||
"watchMode": false, | ||
|
||
// If the debugger should stop on the first line of the program. | ||
"stopOnEntry": false, | ||
|
||
// If the debugger should be disabled. (for example, breakpoints will not be hit) | ||
"noDebug": false, | ||
|
||
// The path to the `bun` executable, defaults to your `PATH` environment variable. | ||
"runtime": "bun", | ||
|
||
// The arguments to pass to the `bun` executable, if any. | ||
// Unlike `args`, these are passed to the executable itself, not the program. | ||
"runtimeArgs": [ | ||
"--smol" | ||
], | ||
}, | ||
{ | ||
"type": "bun", | ||
"request": "attach", | ||
"name": "Attach to Bun", | ||
|
||
// The URL of the WebSocket inspector to attach to. | ||
// This value can be retrieved by using `bun --inspect`. | ||
"url": "ws://localhost:6499/", | ||
} | ||
] | ||
} | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"runtimeArgs": [ | ||
"start" | ||
], | ||
"runtimeExecutable": "npm", | ||
"name": "Run npm start", | ||
"request": "launch", | ||
"envFile": "${workspaceFolder}/.env", | ||
"type": "node" | ||
}, | ||
{ | ||
"name": "Launch via NPM", | ||
"request": "launch", | ||
"runtimeArgs": [ | ||
"run-script", | ||
"debug" | ||
], | ||
"runtimeExecutable": "npm", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"type": "node" | ||
}, | ||
|
||
] | ||
} |
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
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,41 @@ | ||
import { DataTypes } from 'sequelize'; | ||
import type { Migration } from '../../migrate'; | ||
|
||
export const up: Migration = async ({ context: sequelize }) => { | ||
await sequelize.getQueryInterface().createTable('maps', { | ||
uuid: { | ||
type: DataTypes.STRING, | ||
allowNull: false, | ||
primaryKey: true, | ||
}, | ||
name: { | ||
type: DataTypes.STRING, | ||
allowNull: false, | ||
}, | ||
author: { | ||
type: DataTypes.STRING, | ||
allowNull: false | ||
}, | ||
authorNickname: { | ||
type: DataTypes.STRING | ||
}, | ||
authorTime: { | ||
type: DataTypes.INTEGER, | ||
allowNull:false | ||
}, | ||
environment: { | ||
type:DataTypes.STRING | ||
}, | ||
updatedAt: { | ||
type: DataTypes.DATE | ||
}, | ||
createdAt: | ||
{ | ||
type: DataTypes.DATE | ||
} | ||
}); | ||
}; | ||
|
||
export const down: Migration = async ({ context: sequelize }) => { | ||
await sequelize.getQueryInterface().dropTable('maps'); | ||
}; |
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,36 @@ | ||
import { DataTypes } from 'sequelize'; | ||
import type { Migration } from '../../migrate'; | ||
|
||
export const up: Migration = async ({ context: sequelize }) => { | ||
await sequelize.getQueryInterface().createTable('maplikes', { | ||
id: { | ||
type: DataTypes.INTEGER, | ||
autoIncrement: true, | ||
allowNull: false, | ||
primaryKey: true, | ||
}, | ||
login: { | ||
type: DataTypes.STRING, | ||
allowNull: false, | ||
}, | ||
mapUuid: { | ||
type: DataTypes.STRING, | ||
allowNull:false | ||
}, | ||
vote: { | ||
type: DataTypes.FLOAT, | ||
allowNull: false | ||
}, | ||
updatedAt: { | ||
type: DataTypes.DATE | ||
}, | ||
createdAt: | ||
{ | ||
type: DataTypes.DATE | ||
} | ||
}); | ||
}; | ||
|
||
export const down: Migration = async ({ context: sequelize }) => { | ||
await sequelize.getQueryInterface().dropTable('maplikes'); | ||
}; |
Oops, something went wrong.