Daniel Gibbs
c2e31552a4
fix: add all modules from v23.2.3 to functions dir
This will reduce chances of migration issues
functions dir will eventually be removed
2 years ago
Daniel Gibbs
0bec0ca218
feat: convert functions dir to modules dir ( #4169 )
* functions dir will be deleted after 14 days
3 years ago
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
jamiew0w
436c87de19
feat(alerts): add Gotify support to alerts ( #3509 )
* added gotify to default configs
* added gotify to info_messages.sh
* added gotify to core_function.sh
* added gotify to alerts.sh
* core of alert_gotify.sh
* fixed unterminated string in default configs
* fixed mistakes in alert_gotify.sh
* fixed bad quoting in alert_gotify.sh
* first working version, gotify does not like emojis
* added back curl options
* added catch for $gotifywebhook to alert.sh
* tabs over spaces
* standardised json
* message
Co-authored-by: Daniel Gibbs <[email protected] >
4 years ago
Daniel Gibbs
852feec520
fix: standardise and refactor comment headers ( #3198 )
5 years ago
Christian
269bf6e491
fix: add connect timeout to core curl functions ( #3117 )
5 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
6 years ago
Daniel Gibbs
f76cd6b266
fix(logs): resolve modulename not showing in logs ( #2818 )
6 years ago
Daniel Gibbs
a3e1b53b02
fix(messages): improvements to messaging ( #2792 )
* Revert "fix(messages): fix some messages not using newline correctly (#2772 )"
This reverts commit 3bd64bbc13
.
* Revert "fix(messages): fix some messages not using newline correctly (#2765 )"
This reverts commit c847ecb4b6
.
* added new [ START ] message
* various messages improvements made
6 years ago
Daniel Gibbs
3bd64bbc13
fix(messages): fix some messages not using newline correctly ( #2772 )
* update donate links
6 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
6 years ago
Daniel Gibbs
d106384e28
feat: convert commandname to modulename ( #2728 )
6 years ago
Daniel Gibbs
835fdee88e
feat(core): convert ${curlpath} to using curl and improve code standards ( #2616 )
6 years ago
Daniel Gibbs
5901f19d07
feat(alerts): add displayip variable ( #2310 )
6 years ago
Daniel Gibbs
fa6cfe4086
feat(ui): add message display setting ( #2357 )
* setting to change the time in seconds messages are displayed. Default 0.5s
* Travis-CI messages have a 0s delay to speed up testing.
7 years ago
Daniel Gibbs
6848c9dbf7
Revert " SC2168: 'local' is only valid in functions."
This reverts commit 062ca4236c
.
7 years ago
Daniel Gibbs
616e976251
Revert "SC2168: 'local' is only valid in functions."
This reverts commit aaa971c0ad
.
7 years ago
Daniel Gibbs
aaa971c0ad
SC2168: 'local' is only valid in functions.
7 years ago
Daniel Gibbs
062ca4236c
SC2168: 'local' is only valid in functions.
7 years ago
Daniel Gibbs
77f1f9ea23
changed to new domain linuxgsm.com
8 years ago
Daniel Gibbs
fdbc6fc73c
updated function_selfname to help with issue #1425
8 years ago
Daniel Gibbs
a37328cdaf
curlpath
8 years ago
Daniel Gibbs
2efe6ed56f
Improved message to pushbullet
8 years ago
Daniel Gibbs
4ee4ead9a5
Pushbullet now uses json
8 years ago
Daniel Gibbs
2546170efd
Alert updates
8 years ago
Daniel Gibbs
a1ab4c6f4b
further improvements to alerts
8 years ago
Shig beard
2edfcba85e
Fixed my own issue, #1524
As outlined in GameServerManagers/LinuxGSM#1524 , the PushBullet alert
script was somehow printing the same text twice in a single field. By
removing the reply variable from both the fn_rawurlencode() function and
from the variables used not 3 lines down, we produce the intended alert.
8 years ago
Daniel Gibbs
24033d01c7
fixes issue #1393
9 years ago
Daniel Gibbs
a98b72cb6f
Corrected curl paths
many curl references were not using curlpath
9 years ago
Daniel Gibbs
11696acf5a
Renamed LGSM to LinuxGSM
For consistant branding.
9 years ago
Daniel Gibbs
d97bc144aa
added bf1942
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
4ca81c284d
nl
9 years ago
Daniel Gibbs
6928a32476
removed nl
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
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
b013b20aa8
function_selfname is now local
9 years ago
Daniel Gibbs
97864ef769
updated log messages
9 years ago
Daniel Gibbs
b6c117bca6
local modulename may be required after all
9 years ago
Daniel Gibbs
e880fda8fe
Removed local from module name as for functions only
9 years ago
Daniel Gibbs
adfbaa49f3
updated fn_scriptlog to fn_script_log
Bringing in line with other function names
9 years ago
Daniel Gibbs
bf03a08f06
Version 210516
10 years ago
Daniel Gibbs
eddc0a8018
space
10 years ago
Daniel Gibbs
021df3d9ec
adding in error checking
10 years ago
Daniel Gibbs
885d3b118b
notifications are now called alerts
Added pushbullet support to all servers
10 years ago