PeterLaemmle
67a1028081
Update doubleFilter.py
...
Correcting the following issues (https://github.com/Schrolli91/BOSWatch/issues/217 )
-Consider using enumerate instead of iterating with range and len
2017-05-24 19:20:53 +02:00
Bastian Schroll
0ab896b17a
Merge branch 'develop' into patch-1
2017-05-24 06:16:57 +02:00
Rumbel84
3b9da8eb0e
Update regexFilter.py
...
Wenn ein Filter nicht Matched (Regex) kommt False
Wenn es gar keinen Filter gibt, kommt ein falsches True. Muss auch False sein.
2017-05-23 20:46:01 +02:00
Florian
daddd02279
Merge pull request #271 from jbollacke/feature/subric_description
...
New feature:
SubRIC is now used for a detailed description.
Remember that you have to have an entry of the main RIC - it is used as fallback.
The SubRICs are set as sufficix to the main description
2017-05-01 10:08:32 +02:00
Jan Bollacke
aeedcd4c8c
DescriptionList: Simplify conversion of keys to lowercase
...
This reverts commit 418411e09c .
2017-05-01 09:24:06 +02:00
Florian
418411e09c
Converting everything to lowercase
...
Ignore upper- or lowercase from csv-file - as the code translates to lowercase in poc.csv all entries will be switched to lowercase.
2017-04-28 23:49:44 +02:00
Florian
4e23d9856e
Fixing regex
...
Searching in wrong field leads to error - fixing it
2017-04-28 23:02:50 +02:00
Jan Bollacke
bf9a604931
PocDecoder: use functionchar instead of subric in description lookup
2017-04-28 07:46:28 +02:00
Jan Bollacke
a4c218887b
DescriptionList: fix lookup for ric and subric
2017-04-28 07:45:23 +02:00
Jan Bollacke
5ccd6d8cc0
DescriptionList: support functionchar while loading ids/rics
2017-04-28 07:44:12 +02:00
Jan Bollacke
58b3158e9a
PocDecoder: use subric in description lookup
2017-04-27 14:40:42 +02:00
Jan Bollacke
de451ffc6f
DescriptionList: check if a description exists for ric w/o the subric
2017-04-27 14:39:28 +02:00
Jockel
80a9cdb6f4
removed lineBrakeAllowed
2017-04-25 10:52:03 +02:00
Bastian Schroll
d6ce41f42b
edit vers nr
2017-03-30 21:37:50 +02:00
Bastian Schroll
e3fcd9033d
edit vers nr
2017-03-30 21:37:22 +02:00
Bastian Schroll
29ffd30391
edit vers nr
2017-03-30 21:36:56 +02:00
Florian
a29a4412bc
Fixing string-search for ZVEI1
...
fixing location of zvei tones
2017-03-07 23:22:35 +01:00
Florian
88a4ae57ce
Adaption for changes in ZVEI
...
Due to changes from ZVEI2 to ZVEI1 there were 2 major changes:
- String from multimon-ng contains more information, so l. 60 had to be adapted
- Repeated tone signal is changed from F to E
2017-03-06 22:36:38 +01:00
Bastian Schroll
98b50110a0
change from ZVEI2 to ZVEI1
2017-03-05 20:21:16 +01:00
Bastian Schroll
deb23cf374
edit release vars
2017-02-23 13:30:50 +01:00
Florian
7eddc9ea8d
Update poc.py
...
Trying to remove the `<nul>`-tags in some variations; needs to be verified!
2017-02-19 01:17:30 +01:00
Bastian Schroll
d245ae8776
fix spell error in fms.py
2017-02-14 08:17:31 +01:00
Bastian Schroll
566585d6d0
do som other code quallity changes
2017-02-12 10:32:17 +01:00
Bastian Schroll
3c00628b2d
some edits for code quallity
2017-02-12 10:04:31 +01:00
Bastian Schroll
1c56509e25
Merged master into develop
2017-02-12 09:57:33 +01:00
Bastian Schroll
b84f84a420
Merge pull request #199 from flothi/flothi-fms-patch
...
FMS patch
2017-01-16 16:06:46 +01:00
Florian
f996b72263
Update fms.py
...
- enabling to (not) use the CRC-check from multimon-ng
- fixing location-information with regard to TR-BOS (hex value is read as decimal value)
ATTENTION:
For proper usage multimon-ng is to be updated - please take the latest version from repository!
2017-01-16 14:07:11 +01:00
Florian
4f65b5159e
Update decoder.py
...
Fixing typos
2017-01-16 14:03:51 +01:00
Florian
c7ee204c41
Update poc.py
...
Fixing wrong comment
2017-01-09 09:31:42 +01:00
Florian
5c09b22cce
Fixing filter
...
Fixing function for filtering RIC:
- if RIC is denied by config, finish function and return false (denied RIC is strongest way to filter)
- l. 64 - fixing missing 0
2017-01-08 12:21:44 +01:00
Florian
7a636ceeae
poc.py
...
Update filter-rules
2016-12-22 22:36:35 +01:00
Florian
ae1c27b45f
Update poc.py
...
Including upper and lower boundary
2016-12-03 15:39:35 +01:00
Florian
2ded273271
Update poc.py
...
Rewriting filter function so that both allow/deny-rule and filter-range will be evaluated. Suitable for e.g. signal-RIC
2016-12-03 14:49:22 +01:00
Florian
c96109899d
Update wildcardHandler.py
...
Fixing problem that replacement has been tried whether POC was alarmed or ZVEI; works fine for both POC and ZVEI.
Original author might verify, works fine for me
2016-11-25 22:48:47 +01:00
Bastian Schroll
d0c5bed6eb
set new version number and date for version 2.1
2016-11-20 13:36:09 +01:00
Bastian Schroll
e3b3377f9e
resolve some Code Style Problems
2016-11-20 13:05:24 +01:00
Jockel
5e516c65a6
added var for static sub ric messages
2016-11-01 10:18:47 +01:00
Bastian Schroll
7bf7f3c47b
remove some unnecessary pass statements
2016-10-03 16:45:12 +02:00
Bastian Schroll
6b520881b6
resolve some codacy problems
2016-10-03 16:32:54 +02:00
Bastian Schroll
d16b28ce4f
buf in regexFilter.py
2016-10-03 16:27:34 +02:00
Bastian Schroll
fe86ae2a06
edit in regexFilter.py
...
redefine builtin
2016-10-03 12:36:15 +02:00
Bastian Schroll
e938cdcd6d
rename globals. call to globalVars.
2016-10-03 12:02:18 +02:00
Bastian Schroll
f8fcda94b6
rename globals to globalVars
...
to prevent to redifine an builtin function
2016-10-03 11:56:27 +02:00
Bastian Schroll
e8e870849d
rename filter to regexFilter
...
to prevent to redifine an builtin function
2016-10-03 11:50:18 +02:00
Bastian Schroll
77fb7fb44f
remove trailing whitespaces
...
to improve codacy rating
2016-10-02 21:28:04 +02:00
Bastian Schroll
6e6a0a4a45
edit interface.txt info
...
information now in plugins/readme.md
2016-10-02 12:38:47 +02:00
Bastian Schroll
ff91d4b086
prepare for RC
...
edit date and version number for RC
2016-10-02 12:03:11 +02:00
Bastian Schroll
564c66e1cd
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2016-09-30 17:12:45 +02:00
Matthias Gilch
42a81ce6b5
Fix IndexError
...
When multimon can't decode the full ZVEI there's an IndexError thrown.
This is a small fix for this issue.
2016-08-29 12:10:54 +02:00
Bastian Schroll
da38224e93
change gmtime to localtime in timeHandler #84
2016-07-18 15:44:26 +02:00
Bastian Schroll
4e2229e8b0
fix bug #85
...
fix the bug drom issue #85
2016-03-26 09:44:45 +01:00
Schrolli91
0c3ed6d788
insert -g --gain function
2015-12-25 23:13:12 +01:00
JHCD
02efb9552a
reduce entries in globals.py
...
only entries for use in more than one .py-file have to stay here...
2015-07-31 19:50:27 +02:00
JHCD
e26fc45313
rename includes/converter.py -> includes/helper/freqConverter.py
2015-07-31 19:20:05 +02:00
JHCD
e7b5bffdd3
add data['timestamp'] #72
...
to make sure, that all Plugins use the same timestamp
2015-07-31 19:09:27 +02:00
JHCD
28936d68ec
change string converting for NMA and firE plugins #73
2015-07-30 22:18:31 +02:00
JHCD
30320b3c71
add possibility to start Plugins asynchron
...
If you are using many Plugins or Plugins with a long execution time you could execute them in an asynchronous manner.
It must be pointed out that enabling (0|1) this consume time, so don't use it for one rapid Plugin.
2015-07-30 18:55:36 +02:00
JHCD
3e7cc1f365
add more logging.debug for #67
2015-07-29 18:43:25 +02:00
JHCD
b529e93763
expand notifyMyAndroid-plugin for multi recipients and/or different priorities #33
...
use csv/nma.csv to config different priorities or multiple recipients
2015-07-28 22:50:22 +02:00
JHCD
19653e5515
add line break to eMail plugin #71
2015-07-28 19:44:14 +02:00
JHCD
f95a270177
replace passwords and apikeys with "***" in logging #69
2015-07-27 20:55:50 +02:00
JHCD
65a35d4a64
change logging behaviour of NMAHandler #33
...
NMA applicationname is now configurable
NMA event contains now module and function
2015-07-24 14:39:32 +02:00
JHCD
b09f1731ea
add logging handler for NotifyMyAndroid #46
2015-07-23 20:37:33 +02:00
JHCD
997b5eeec3
add NMA plugin #33
...
first version, only with one receiver
2015-07-19 20:29:22 +02:00
JHCD
f3db4635c7
convert csv-files to UTF-8 #63
2015-07-14 16:49:14 +02:00
JHCD
e829778db2
add convert csv-field "description" to utf-8
...
to make sure, that only utf-8 chars are in process
2015-07-13 19:43:47 +02:00
Schrolli
d8981ba114
insert header and encoding in __init__.py (Issue #60 )
2015-07-13 10:23:09 +02:00
Schrolli
c19a89859b
change encoding
...
- change code encoding from cp1252 to UTF-8 (Issue #60 )
2015-07-13 10:19:45 +02:00
Schrolli
1ea5cce24e
edit build date
2015-07-13 09:42:54 +02:00
Schrolli
bd6432b1e5
Fix error in pluginLoader.py
...
see Issue #52
2015-07-09 08:04:55 +02:00
Schrolli
1ab3b61ef4
insert helper configHandler.py
...
little edit in wildcardHandler.py error message
2015-07-08 09:42:52 +02:00
Schrolli
4ad5766f98
insert wildcardHandler.replaceWildcards() in httpReq Plugin
2015-07-07 13:17:18 +02:00
Schrolli
444b6a7ba6
edit build date
2015-07-06 10:36:35 +02:00
Bastian Schroll
649b00bf8a
insert a try:exception: for the three decode() methods
...
Issue #44
2015-07-04 14:37:35 +02:00
Bastian Schroll
9f99d0e705
edit pluginLoader debug msg
2015-07-04 08:34:50 +02:00
Bastian Schroll
c4c5b79626
Issue #44
2015-07-04 08:14:33 +02:00
Bastian Schroll
624addad43
Issue #44
2015-07-04 00:53:29 +02:00
Bastian Schroll
e31ab65911
Issue #44
2015-07-04 00:39:34 +02:00
JHCD
9a867fa91e
Merge branch 'develop' of https://github.com/Schrolli91/BOSWatch into develop
2015-07-03 23:38:05 +02:00
JHCD
dfc982a7e4
solve bug in exception-handling
...
we don't want to break down BOSWatch, if an plugin doesn't work
2015-07-03 23:36:50 +02:00
Bastian Schroll
664cceff18
error in timeHandler
2015-07-03 23:25:54 +02:00
Bastian Schroll
ac8a02e3ca
insert helper function timeHandler.getTimestamp()
2015-07-02 21:39:43 +02:00
Schrolli
68fb88cc63
move helper functions in seperate folder and split to logical files
2015-07-02 15:16:24 +02:00
Schrolli
c94ddfce31
add helper.replaceWildcards() to helper.py
2015-07-02 11:51:28 +02:00
Schrolli
48c4d1e354
remove trailing whitespace
2015-07-02 09:02:49 +02:00
Schrolli
5e6cf3b7ae
add pocsag testdata for test-driver
2015-07-02 07:48:17 +02:00
Schrolli
ab4b63daac
insert version number and build date in the globals
2015-07-02 07:33:27 +02:00
JHCD
4562704b84
dos2linux-converting
2015-07-01 22:31:20 +02:00
JHCD
01ae87c918
solve some bugs
...
- solve issue #35
- some bugs in logging errors
- move check subprocesses in include-file
2015-07-01 22:04:06 +02:00
JHCD
241a31ec01
solve bug in if-clause
2015-07-01 21:57:27 +02:00
Bastian Schroll
5f9bfa7a63
edit decoder.py
2015-07-01 19:01:16 +02:00
Schrolli
dea33d5b7e
little docu mistake in helper.py
2015-07-01 14:52:33 +02:00
Schrolli
2778b9e710
file for little helper functions - also for use in plugins directly
2015-07-01 14:11:11 +02:00
Schrolli
0199151165
littles changes at arguments debug
2015-06-30 12:38:52 +02:00
Schrolli
948aaea065
insert a debug log in doubleFilter.newEntry()
2015-06-30 08:55:46 +02:00
Schrolli
8b8cd81abc
resolve error in RegEX Filter
2015-06-30 08:27:50 +02:00
Schrolli
bcc0fca656
added the name of the talking function to the logging
2015-06-30 07:59:27 +02:00
JHCD
9b6e5c8da3
some changes in exception-handling
2015-06-29 23:32:55 +02:00
JHCD
09b9cc5f7d
change pluginLoader and exception-handling
...
- if the function plugin.onLoad() throws an exception the plugin will skipped
- change exception-handling for pluginLoader
2015-06-29 23:24:48 +02:00
JHCD
eba5b7947a
enhancement of doubleFilter
...
- expand id for pocsag: new pocID+function als "id"
- if wanted, enable doubleFilter_check_msg in config.ini
it will check if the new msg is a substring of the old one
if not it will pass
2015-06-29 17:15:20 +02:00