Bastian Schroll
c2b6ad9f4b
Merge branch 'develop' into develop
2025-06-11 10:00:44 +02:00
Luflosi
d4dcc75711
Avoid "DeprecationWarning: invalid escape sequence"
...
Without this change, many warnings like this will be generated while running pytest:
```
test/test_template.py:3
/build/source/test/test_template.py:3: DeprecationWarning: invalid escape sequence '\/'
"""!
```
This can also be seen when manually running python with warnings enabled.
This happens because the comment uses a multiline string and Python interprets the backslash in the logo as an escape character and complains that \/ is not a valid escape sequence. To fix this, prepend the string with the letter r to indicate that the backslash should be treated as a literal character, see https://docs.python.org/3/reference/lexical_analysis.html#index-20 .
I also applied this change to all the comment strings since that shouldn't break anything and to establish it as a pattern for the future so this problem hopefully never happens again.
This is what I did specifically:
- Change the comment at the top of bw_client.py and bw_server.py to start with `"""!` since that seems to be the pattern here
- Search-and-Replace all occurances of `"""!` with `r"""!`
- Manually change the strings in `logoToLog()` in boswatch/utils/header.py
2023-09-19 17:49:09 +02:00
Thierry Fredrich
c1f2ab0d08
optimized debug logs
2022-02-16 15:31:21 +01:00
Thierry Fredrich
51cc6a0318
changed return value in multicast
2022-02-16 14:42:38 +01:00
Thierry Fredrich
2aa714fae9
moved init stuff to onLoad
2022-02-16 14:41:54 +01:00
Thierry Fredrich
d8fb6295d8
implemented multicast alarms
2021-06-15 16:06:26 +02:00
B-Watch
4e95d14d88
added changes from PR-Discussion
2020-07-15 08:09:57 +02:00
B-Watch
6e2ee6ba6a
Changed return to None
2020-07-13 19:56:38 +02:00
B-Watch
1aac3ce2cf
Merge branch 'develop' into FR-DoubleFilter
2020-07-10 21:41:19 +02:00
B-Watch
8bd9e26fe1
fixed wrong return
2020-07-10 21:25:03 +02:00
B-Watch
8b5a538c5f
first draft doubleFilter
2020-07-09 21:17:44 +02:00
Jan Speller
fde99396b8
fix error
2020-04-18 14:14:56 +02:00
Jan Speller
bfa9b0b3ce
return bwpacket if scanField is None
2020-04-18 14:11:12 +02:00
Jan Speller
940075ed85
Add Fix for descriptor
2020-04-18 14:11:12 +02:00
Jan Speller
9fb7fe9ea5
threads
2020-02-24 22:15:28 +01:00
Jan Speller
e5d11b74af
threads
2020-02-24 22:07:23 +01:00
Jan Speller
4b0614c7da
threads and a few fixes to wildcards
2020-02-24 21:51:19 +01:00
Jan Speller
a12af18b54
resolve threads (:
2020-02-22 22:53:03 +01:00
Jan Speller
4aea7b5d78
add geocoding module, resolve threads
2020-02-22 19:08:53 +01:00
Bastian Schroll
2bb481111b
edit templates for module and plugin
2020-02-19 14:20:56 +01:00
Bastian Schroll
ab0af5c61d
removed unused import
2019-10-30 11:38:38 +01:00
Bastian Schroll
c7d7231959
add ABC
2019-10-30 11:08:26 +01:00
Bastian Schroll
e61ffb4b5b
fix some errors
2019-10-28 21:27:15 +01:00
Bastian Schroll
2f5184742f
some refactorings
2019-10-28 21:20:05 +01:00
Bastian Schroll
d0876ca404
edit descriptor module
2019-10-27 21:58:06 +01:00
Bastian Schroll
0d81c35092
edit docs
2019-10-27 21:53:00 +01:00
Bastian Schroll
157f6b5c10
add descriptor module and docu
2019-10-27 21:08:23 +01:00
Bastian Schroll
42209615ab
refactor regexFilter config
2019-10-27 20:12:54 +01:00
Bastian Schroll
61e085d555
add regexFilter and docs
2019-10-26 13:41:17 +02:00
Bastian Schroll
51e2b1e258
implement registerWildcard() for modules
2019-10-25 21:58:35 +02:00
Bastian Schroll
512d72e97a
improve plug/mod cleanup strategy
2019-10-25 15:37:23 +02:00
Bastian Schroll
9a33975f52
fix module stats type name
2019-10-25 14:32:24 +02:00
Bastian Schroll
869bc141de
add type to mod/plug stats
2019-10-25 13:25:56 +02:00
Bastian Schroll
39aeb6c93a
mod/plug remove tmpTime member var
2019-10-24 23:42:52 +02:00
Bastian Schroll
c4fa8c4898
edit comments in plugin/module base class
2019-10-24 23:12:20 +02:00
Bastian Schroll
0c6044072a
Merge branch 'develop' into process_manager
2019-09-20 14:54:07 +02:00
Bastian Schroll
ace663f348
edit docu
2019-09-19 22:27:46 +02:00
Bastian Schroll
45062bd888
edit module template
2019-03-10 20:07:10 +01:00
Bastian Schroll
6891616215
add first config readme
2019-03-09 12:40:10 +01:00
Bastian Schroll
58214fe7f1
little fix if no config is available
2019-03-09 12:19:09 +01:00
Bastian Schroll
2e9681b7d4
add a modeFilter module
2019-03-09 12:12:35 +01:00
Bastian Schroll
c76c179225
various pylint fixes
2019-03-03 19:39:53 +01:00
Bastian Schroll
3feda678e2
some little fixes
2019-03-03 19:14:00 +01:00
Bastian Schroll
82e3eb719d
move old files to __deprecated folder
2019-03-03 11:21:57 +01:00
Bastian Schroll
a42676010e
some reworks
...
- rework configYaml
- rework router mechanism test
- move plugin and module files
2019-03-01 12:09:12 +01:00