Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #3

Merged
merged 34 commits into from
Mar 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
95262e0
edit dev version
Schrolli91 Aug 15, 2018
9ad6da6
Merge pull request #370 from f-kessler/develop
Schrolli91 Aug 16, 2018
110d3bf
prepare after release changes
Schrolli91 Aug 16, 2018
04ef809
fix changelog
Schrolli91 Aug 16, 2018
bf31a04
remove NMA
Schrolli91 Sep 5, 2018
af9e013
edit changelog
Schrolli91 Sep 5, 2018
da4904e
edit changelog
Schrolli91 Sep 6, 2018
9b33f78
Merge remote-tracking branch 'origin/remove_NMA' into remove_NMA
Schrolli91 Sep 6, 2018
01eb1b8
remove .idea files
Schrolli91 Sep 6, 2018
942a738
Merge pull request #374 from Schrolli91/remove_NMA
Schrolli91 Sep 8, 2018
4f8c15d
Update Pushover.py
flothi Oct 13, 2018
2761ace
Update config.template.ini
flothi Oct 13, 2018
a4b19b6
fixing line indentations
flothi Oct 13, 2018
c00146c
Update Pushover.py
flothi Oct 14, 2018
c26deb9
Update CHANGELOG.md
flothi Oct 15, 2018
a333b22
changelog angepasst
Schrolli91 Oct 16, 2018
9ad1ed7
Update Pushover.py
Schrolli91 Oct 16, 2018
642b7e0
Merge pull request #378 from Schrolli91/pushover_ric
Schrolli91 Oct 18, 2018
de7947b
Update README.md
Schrolli91 Oct 18, 2018
203bbed
Update Telegram.py
PeterLaemmle Oct 19, 2018
5e978fb
edit changelog
Schrolli91 Oct 23, 2018
28d4596
Merge pull request #380 from PeterLaemmle/develop
Schrolli91 Oct 23, 2018
740f10d
prepare for new version
Schrolli91 Oct 23, 2018
6bbffb1
fix false date in changelog
Schrolli91 Oct 23, 2018
97e00d2
Update Telegram.py
PeterLaemmle Oct 28, 2018
f35ca75
Update Telegram.py
PeterLaemmle Oct 28, 2018
6fa93f2
Update Telegram.py
PeterLaemmle Oct 28, 2018
7605a14
Update config.template.ini
PeterLaemmle Oct 28, 2018
5681d33
Update Telegram.py
PeterLaemmle Oct 28, 2018
53efd14
Update Telegram.py
PeterLaemmle Oct 29, 2018
5692ceb
Update CHANGELOG.md
PeterLaemmle Oct 30, 2018
a1a96e7
Update install_service.sh
dk5ra Nov 1, 2018
3300e88
Merge pull request #385 from dk5ra/develop
Schrolli91 Nov 5, 2018
11e948e
Merge pull request #382 from PeterLaemmle/develop
Schrolli91 Nov 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,38 @@
# Changelog


### __[v2.3.1]__ - Unreleased
### __[v#.#]__ - date
##### Added
- Telegram-Plugin: In der generierten Übersichtkarte wird eine Anfahrtsroute integriert. Der Abfahrtsort ist konfiguierbar. [#382](https://github.com/Schrolli91/BOSWatch/pull/382)
##### Changed
- Telegram-Plugin: Aufrufe der Google API erfolgen per SSL und ohne zusätzliche Bibliotheken [#382](https://github.com/Schrolli91/BOSWatch/pull/382)
##### Deprecated
##### Removed
##### Fixed
##### Security


### __[v2.4.1]__ - 23.10.2018
##### Added
- Pushover-Plugin: Priorität für einzelne RIC und ZVEI in config einstellbar [#378](https://github.com/Schrolli91/BOSWatch/pull/378)
##### Changed
- Kleinere Anpassungen im Telegram Plugin (Karten-Generierung) [#380](https://github.com/Schrolli91/BOSWatch/pull/380)
##### Removed
- Notify-my-Andoird Plugin und Logging-Handler wegen Einstellung des Service entfernt [#374](https://github.com/Schrolli91/BOSWatch/pull/374)


### __[v2.4]__ - 17.08.2018
##### Added
- Config Eintrag um Port für MySQL Plugin festzulegen [#345](https://github.com/Schrolli91/BOSWatch/pull/345)
- FMS und ZVEI Support für Pushover Plugin [#352](https://github.com/Schrolli91/BOSWatch/pull/352)
- Benutzerdefinierte Nachrichten für Pushover Plugin in config [#352](https://github.com/Schrolli91/BOSWatch/pull/352)
##### Changed
- multicastAlarm Plugin - RICs die von multicastAlarm genutzt werden, müssen nicht mehr in der config bei allow_ric bzw. filter_range_start/filter_range_end berücksichtigt werden. [#357](https://github.com/Schrolli91/BOSWatch/pull/357)
- FFAgent Plugin - Debug Logging für die alarmHeaders eingebaut zwecks Troubleshooting [#354](https://github.com/Schrolli91/BOSWatch/pull/354)
- multicastAlarm Plugin - Buffer nach jedem Alarm löschen - erlaubt in kombination mit "doubleFilter_check_msg" die Verwendung in Netzen, die zwischen multicastAlarm RICs auch normale Alarme senden. #370(https://github.com/Schrolli91/BOSWatch/pull/370)
##### Deprecated
##### Removed
- multicastAlarm Plugin - Buffer nach jedem Alarm löschen - erlaubt in kombination mit "doubleFilter_check_msg" die Verwendung in Netzen, die zwischen multicastAlarm RICs auch normale Alarme senden. [#370](https://github.com/Schrolli91/BOSWatch/pull/370)
##### Fixed
- Fehler beim Auslesen der netIdent_RIC im MySQL Plugin [#347](https://github.com/Schrolli91/BOSWatch/pull/347)
- FFAgent Plugin - Typo bei alarmHeaders für Live Betrieb gefixt [#354](https://github.com/Schrolli91/BOSWatch/pull/354)
##### Security


### __[v2.3]__ - 22.12.2017
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Fast support on https://bwcc.boswatch.de (Mattermost-Server)
#### Forum: https://boswatch.de

### Arbeiten an BOSWatch 3 gestartet
#### Work on BOSWatch 3 has started
## see: https://boswatch.de/index.php?thread/29-boswatch-3/
Expand Down
23 changes: 0 additions & 23 deletions boswatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,29 +249,6 @@
logging.debug("cannot set loglevel of fileHandler", exc_info=True)


#
# Add NMA logging handler
#
try:
if configHandler.checkConfig("NMAHandler"):
# is NMAHandler enabled?
if globalVars.config.getboolean("NMAHandler", "enableHandler") == True:
# we only could do something, if an APIKey is given:
if len(globalVars.config.get("NMAHandler","APIKey")) > 0:
logging.debug("add NMA logging handler")
from includes import NMAHandler
if globalVars.config.get("NMAHandler","appName") == "":
nmaHandler = NMAHandler.NMAHandler(globalVars.config.get("NMAHandler","APIKey"))
else:
nmaHandler = NMAHandler.NMAHandler(globalVars.config.get("NMAHandler","APIKey"), globalVars.config.get("NMAHandler","appName"))
nmaHandler.setLevel(globalVars.config.getint("NMAHandler","loglevel"))
myLogger.addHandler(nmaHandler)
except:
# It's an error, but we could work without that stuff...
logging.error("cannot add NMA logging handler")
logging.debug("cannot add NMA logging handler", exc_info=True)


# initialization was fine, continue with main program...

#
Expand Down
58 changes: 23 additions & 35 deletions config/config.template.ini
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,6 @@ doubleFilter_check_msg = 0
writeMultimonRaw = 0


[NMAHandler]
# you can use a logging handler for sending logging records to NotifyMyAndroid
# enableHandler (0|1) will enable the NMA handler
enableHandler = 0

# loglevel for NMAHandler (see BOSWatch loglevel description)
loglevel = 50

# logging record will send to APIKey
APIKey =

# you can change the name of the application (default: BOSWatch)
# (f.e. if you use more than one instance of BOSWatch)
appName = BOSWatch


[FMS]
# look-up-table for adding a description
# using description (0 - off | 1 - on)
Expand Down Expand Up @@ -177,7 +161,6 @@ eMail = 0
BosMon = 0
firEmergency = 0
jsonSocket = 0
notifyMyAndroid = 0
SMS = 0
Sms77 = 0
FFAgent = 0
Expand Down Expand Up @@ -287,23 +270,6 @@ server = 192.168.0.1
port = 8888


[notifyMyAndroid]
# APIKey given from notifyMyAndroid
APIKey =

# Priority goes from -2 (lowest) to 2 (highest). The default priority is 0 (normal)
priority = 0

# You can change the name of the application (default: BOSWatch)
# (f.e. if you use more than one instance of BOSWatch)
appName = BOSWatch

# instead of a given APIKey/priority you could import them by a csv-file (0|1)
# APIKey and priority above will be ignored, if you use a csv
# configuration loaded from csv/nma.csv
usecsv = 0


[SMS]
# be aware that you need 'gammu' installed and running
# at least you need an UMTS-stick which is supported by 'gammu'
Expand Down Expand Up @@ -383,11 +349,30 @@ SubA = 1
SubB = 1
SubC = 2
SubD = -2

# ...or define the priority depending on the RIC
# 1. switch it on
poc_spec_ric = 0

# 2. fill the following lists, seperator is ,
poc_prio2 =
poc_prio1 =
poc_prio0 =

poc_title = Alarm: %RIC%%LPAR%%FUNCCHAR%%RPAR%
poc_message = %DATE% %TIME% - %DESCR%: %MSG%

# Section for ZVEI
zvei_prio = 1
# default prio for all ZVEI - except you specify it different
zvei_std_prio = 1

# [1 - on, 0 - off] - by switching on you can list certain ZVEI depending on their priority
zvei_sep_prio = 0

# use the following lists, separator is ,
zvei_prio2 =
zvei_prio1 =
zvei_prio0 =
zvei_title = Alarm: %ZVEI%
zvei_message = %DATE% %TIME%: %ZVEI%

Expand Down Expand Up @@ -418,6 +403,9 @@ RICforLocationAPIKey =
# This is your Google API key.
# Required if you want to create a map based on location information received with the above RIC.
GoogleAPIKey =
# Define your start address for the routing
# Use the following format: CityOfOrigin+Street+Number
RoutingOrigin = MyCity+MyStreet+MyNumber

#Wildcards can be used, see end of the file!
FMS_message = %DATE% %TIME%: %FMS%
Expand Down
73 changes: 0 additions & 73 deletions includes/NMAHandler.py

This file was deleted.

2 changes: 1 addition & 1 deletion includes/globalVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"""

# version info
versionNr = "2.3.1"
versionNr = "2.4.1"
branch = "dev"
buildDate = "unreleased"

Expand Down
137 changes: 0 additions & 137 deletions includes/pynma/README.md

This file was deleted.

Loading