[GH-ISSUE #566] [LGSM] Re work notification feature #457

Closed
opened 2026-02-27 02:01:37 +03:00 by kerem · 9 comments
Owner

Originally created by @dgibbs64 on GitHub (Dec 20, 2015).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/566

Originally assigned to: @dgibbs64 on GitHub.

The notification feature is pretty basic and has some bugs. It requires re working. I would like re do the email notification and also add pushbullet support as well.

This will also resolve issues #472 and #394

  • more reliable and improved email feature
  • email on update
  • pushbullet support
Originally created by @dgibbs64 on GitHub (Dec 20, 2015). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/566 Originally assigned to: @dgibbs64 on GitHub. The notification feature is pretty basic and has some bugs. It requires re working. I would like re do the email notification and also add pushbullet support as well. This will also resolve issues #472 and #394 - more reliable and improved email feature - email on update - pushbullet support
kerem 2026-02-27 02:01:37 +03:00
Author
Owner

@UltimateByte commented on GitHub (Jan 2, 2016):

Don't forget this https://github.com/dgibbs64/linuxgsm/issues/404

<!-- gh-comment-id:168426720 --> @UltimateByte commented on GitHub (Jan 2, 2016): Don't forget this https://github.com/dgibbs64/linuxgsm/issues/404
Author
Owner

@dgibbs64 commented on GitHub (Jan 11, 2016):

For now I will ensure that the email feature is working correctly. Then revisit this as I have some good ideas about this. e.g pushbullet support

<!-- gh-comment-id:170668702 --> @dgibbs64 commented on GitHub (Jan 11, 2016): For now I will ensure that the email feature is working correctly. Then revisit this as I have some good ideas about this. e.g pushbullet support
Author
Owner

@jaredballou commented on GitHub (Jan 12, 2016):

Moving my comment from #472 to here:
FYI: I use some Steam API stuff that may be helpful. See https://github.com/jaredballou/insurgency-tools/blob/master/server.php - that takes an array of servers, gets their version info, and then compares it against what the Steam API says the latest version is. Can also look at $GAMEDIR/steam.inf for the PatchVersion variable if you want to just cut out the Steam API stuff, and simply compare a version number. Let me know if you want a hand with this.

<!-- gh-comment-id:170756062 --> @jaredballou commented on GitHub (Jan 12, 2016): Moving my comment from #472 to here: FYI: I use some Steam API stuff that may be helpful. See https://github.com/jaredballou/insurgency-tools/blob/master/server.php - that takes an array of servers, gets their version info, and then compares it against what the Steam API says the latest version is. Can also look at $GAMEDIR/steam.inf for the PatchVersion variable if you want to just cut out the Steam API stuff, and simply compare a version number. Let me know if you want a hand with this.
Author
Owner

@jaredballou commented on GitHub (Jan 12, 2016):

Moving my comment from #404 to here:
Take a look at what I use for this: http://www.pixelbeat.org/scripts/ansi2html.sh - converts ANSI output to HTML. There is also a Perl module, which means it requires a lot more prereqs but is here for additional info: http://pablomarin-garcia.blogspot.com/2011/04/converting-ansi-to-html-how-to-convert.html

FYI, I used that script as a base and instead of the massive style sheet just created the color codes manually. If you want, I can whip up a function for LGSM that captures output (probably by a "print" function that echos the string it gets as well as appending to buffer variable or file) and see if I can make a convenient "converter" at the end to make the emails clearer? We probably want to merge in #394 as part of this, and overhaul the email function entirely.

<!-- gh-comment-id:170756158 --> @jaredballou commented on GitHub (Jan 12, 2016): Moving my comment from #404 to here: Take a look at what I use for this: http://www.pixelbeat.org/scripts/ansi2html.sh - converts ANSI output to HTML. There is also a Perl module, which means it requires a lot more prereqs but is here for additional info: http://pablomarin-garcia.blogspot.com/2011/04/converting-ansi-to-html-how-to-convert.html FYI, I used that script as a base and instead of the massive style sheet just created the color codes manually. If you want, I can whip up a function for LGSM that captures output (probably by a "print" function that echos the string it gets as well as appending to buffer variable or file) and see if I can make a convenient "converter" at the end to make the emails clearer? We probably want to merge in #394 as part of this, and overhaul the email function entirely.
Author
Owner

@dgibbs64 commented on GitHub (Feb 1, 2016):

Working on this now. First stage is to get the existing email system working better as its a little broken. I definitely want to do as @jaredballou suggested with ANSI to HTML to hopefully create a pretty email option. However first things first. Stable text based email. I will probably move to other higher priority features/bugs first then revisit this at a later date.

<!-- gh-comment-id:178198784 --> @dgibbs64 commented on GitHub (Feb 1, 2016): Working on this now. First stage is to get the existing email system working better as its a little broken. I definitely want to do as @jaredballou suggested with ANSI to HTML to hopefully create a pretty email option. However first things first. Stable text based email. I will probably move to other higher priority features/bugs first then revisit this at a later date.
Author
Owner

@dgibbs64 commented on GitHub (May 22, 2016):

Basic improvements now present. However still more to do.

<!-- gh-comment-id:220820319 --> @dgibbs64 commented on GitHub (May 22, 2016): Basic improvements now present. However still more to do.
Author
Owner

@dgibbs64 commented on GitHub (Jul 12, 2016):

Push bullet support added now and improvements to the email feature now in place. A HTML email feature would be good however not going to be a priority currently.

<!-- gh-comment-id:232198608 --> @dgibbs64 commented on GitHub (Jul 12, 2016): Push bullet support added now and improvements to the email feature now in place. A HTML email feature would be good however not going to be a priority currently.
Author
Owner

@dgibbs64 commented on GitHub (Sep 10, 2017):

#1321

<!-- gh-comment-id:328366937 --> @dgibbs64 commented on GitHub (Sep 10, 2017): #1321
Author
Owner

@lock[bot] commented on GitHub (Sep 10, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:420052219 --> @lock[bot] commented on GitHub (Sep 10, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#457
No description provided.