Daniel Gibbs
635f4bce52
chore: use prettier for code tidy ( #3901 )
* feat: start using prettier linter
https://prettier.io/
* feat: prettier code formatting
* feat: add super linter
3 years ago
Daniel Gibbs
852feec520
fix: standardise and refactor comment headers ( #3198 )
4 years ago
Daniel Gibbs
ee515b7786
feat(alerts): add rocket.chat and alerts refactor ( #3051 )
* update linuxgsm alert logo
* add Rocket.chat alert option
* Refactor of post details by removing pastebin and hastebin
* Improved alert standardisation
Co-authored-by: Alasdair Haig <[email protected] >
Co-authored-by: Alasdair Haig <[email protected] >
Co-authored-by: AlasdairHaig <[email protected] >
5 years ago
Daniel Gibbs
66bf5e059e
feat(log): refactor log handling ( #2859 )
* standardise module identifiers
* renamed logs.sh to core_logs.sh
* improve stats log
* remove local
* functionselfname rename
5 years ago
Daniel Gibbs
f76cd6b266
fix(logs): resolve modulename not showing in logs ( #2818 )
5 years ago
Daniel Gibbs
abaa614cad
feat: general code standards improvements ( #2730 )
* add missing space in ; then
* standardise command if
* standardised True if the length of "STRING" is non-zero.
* changed -e to -f
5 years ago
Daniel Gibbs
7059d9a6cf
feat(linuxgsm): various ui improvements ( #2554 )
* added column to debug
* added colour to header
* colourised LinuxGSM header text
* updated donate message
* ascii logo
* warn colour and altered header
6 years ago
Daniel Gibbs
a79feaf34c
feat(update): Update command refactor
* Update update_factorio.sh
* feat(core): add error eol message
* fix(alert): resolve typo with script messages
* fix(check): add debug to executable check
* fix(general): correct commandname
* fix(general): change to lowercase
* fix(general): remove not required exitcodes
* fix(general): remove not required exitcodes
fix(general): remove not required exitcodes
* fix(check): a minor refactor
* feat(linuxgsm): Clear tmp directory
added script log
* feat(update: Factorio update now checks current build from executable
* feat(update: Factorio update now checks current build from executable
sqush
* moved executable dir
* feat(update): refactor of fctrserver updater
* changed to directory
squash
* corrected build details in log file
* corrected build details in log file
* more changes to logging
* altered log messages
* Re-worded current>local latest>remote
* Re-worded current>local latest>remote
* corrected logging
* corrected fn_script_log_fatal
* altered message to error from fatal
* improves messages
* minor tidy
* correct script log message
* code tidy
* feat(mumble): refactor mumble updater
* feat(mtaserver): refactor mtaserver updater
* feat(mcserver): refactor mcserver updater
* feat(fctrserver): refactor fctrserver updater
* tidy up script wording
* corrected function name
* bug fixes for mcserver updater
* add sleep to allow mcserver time to generate log file
* increase timer to 30 seconds
* increased to 60 seconds
* changed back to red
* add check for log file delay to allow time to generate
* further refactor improvements
* mtaserver: curl now uses to get info from version.h
* minor tidy
* refactor ts3 updater
* corrected server arch
* refactor
* refactor updaters
* refactor updaters
* removed app_info_print
6 years ago
Daniel Gibbs
c05d51fec3
Dependency checking can run as root ( #2032 )
* Only dependency checks will run as root user when starting the installer e.g `./csgoserver install`
* If running dep check as root LinuxGSM will remove any files in `lgsm` that belong to root
* Master server check will not run if jq missing
7 years ago
Daniel Gibbs
fff8e0a2f5
Release 180409
* Added new server Rising World
* Added new server ET: Legacy
* Added support for node-gamedig
* Updated Factorio to glibc 2.18
* Changed apt-get to apt
* Changed many sleep timers from 1 second to 0.5 to speed up LinuxGSM
* Fix for issue #1784 Tmux closing wrong session
* Fixed dependency requirements for CoD 2 and CoD:UO #1866
* Discord now uses external IP over standard IP
* Code tidy/improvements with guidance from Shellcheck
* Added development command query-raw
* Added development command clear-functions
* Added development log dev-debug-function-order.log
* Added fctrserver to Travis CI tests
* Updates to GitHub Issues; Added bots and updated templated
* Fixed waffle.io button no longer working
* Corrected Query Port for UT3 (Query Port does not work btw)
7 years ago
Daniel Gibbs
c2bef39ad2
new feature gamedig
7 years ago
Daniel Gibbs
77f1f9ea23
changed to new domain linuxgsm.com
7 years ago
Daniel Gibbs
66151c574e
SC2086
7 years ago
Daniel Gibbs
11696acf5a
Renamed LGSM to LinuxGSM
For consistant branding.
8 years ago
Daniel Gibbs
24d73787cd
uf will fail if remote file missing #983
9 years ago
Marvin Lehmann
3eee2b3690
Fixed some typos and improved descriptions
These changes do not affect the functionality of the code.
9 years ago
Daniel Gibbs
46941def99
function_selfname + fixes
9 years ago
Daniel Gibbs
eed7bad25a
re arraigned exitbypass
9 years ago
Daniel Gibbs
21512494fa
module name has been split
now named
commandname and command action
command name is used in logs
command action is used on-screen.
Also alterations to function_selfname now called just selfname
9 years ago
Daniel Gibbs
505d0c544b
stop exitmsg on same line
9 years ago
Daniel Gibbs
b8f44749a0
Ditched lgsm_version as not used
added
local modulename="Function"
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
to all functions
9 years ago
Daniel Gibbs
f2d673a070
bug
9 years ago
Daniel Gibbs
4716aeb182
exitcode trap
designed to give and exit code at anytime if ctrl-c is pressed
9 years ago
Daniel Gibbs
cf95c40de8
setting up an exit bypass
9 years ago
Daniel Gibbs
3262ad8903
e
9 years ago
Daniel Gibbs
38b07557dc
renamed to function_selfname
9 years ago
Daniel Gibbs
e880fda8fe
Removed local from module name as for functions only
9 years ago
Daniel Gibbs
a2a8208fe7
warn
9 years ago
Daniel Gibbs
1af3ce47ce
added sleep and absolute location of .dev-debug
9 years ago
Daniel Gibbs
3f22dc1ef5
converted more to exitcodes
9 years ago
Daniel Gibbs
907ae11233
and not or
9 years ago
Daniel Gibbs
7dc2a723d1
stopped exit from running if no exitcode
9 years ago
Daniel Gibbs
3d507d8d73
removed exit on pass
9 years ago
Daniel Gibbs
a7ac7adfa2
elif
9 years ago
Daniel Gibbs
603fc30fdc
added exit code handling.
9 years ago