Ingo Ratsdorf
1874a5e641
CodeRabbit suggestionns
...
Added some of the hand picked suggestions, including some outside of the previous changes.
Some will improve documentation, some readability and some will affect performance.
2025-09-11 10:24:55 +12:00
Ingo Ratsdorf
f1e9ca2540
Merge branch 'jokob-sk:main' into db-caching
2025-09-11 07:24:18 +12:00
Ingo Ratsdorf
3390384ce3
DB functions tidyup
...
Added PRAGMAs for better DB performance on open. Integrated some Fake8 comments and eliminated some looping with more efficient pyton functions.
2025-09-10 18:22:05 +12:00
Jokob @NetAlertX
cb63dd1765
Merge pull request #1167 from ingoratsdorf/db-work
...
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Code checks / check-url-paths (push) Has been cancelled
DB result iteration fix on empty result
2025-09-10 12:15:33 +10:00
Ingo Ratsdorf
ccec89f419
Final fix
2025-09-10 12:38:33 +12:00
Ingo Ratsdorf
7f7b0a328f
Another fix to get_table_json
...
IIteration error is not a SQL error, so gotta catch generic errors, too
2025-09-10 12:32:23 +12:00
Ingo Ratsdorf
24eaf1e143
fixed get_table_json
...
This would throw a subsequent error
['[Database] - get_table_as_json ERROR:', TypeError("'NoneType' object is not iterable")]
2025-09-10 12:25:30 +12:00
Ingo Ratsdorf
2836996a21
Update server/db/db_helper.py
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-10 10:21:32 +12:00
Ingo Ratsdorf
a94c6a291e
DB result iteration fix on empty result
...
get_table_json would throw exceptions when trying to iterate over a NONE result, ie SQL query returned empty result.
2025-09-10 09:28:45 +12:00
jokob-sk
2b2ae516da
weblate
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-09 07:47:11 +10:00
jokob-sk
2df7d143d3
Merge branch 'main' of https://github.com/jokob-sk/NetAlertX
2025-09-09 07:46:50 +10:00
jokob-sk
1688d029b9
docs
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-09 07:38:15 +10:00
anton garcias
6d8f451be1
Translated using Weblate (Catalan)
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Currently translated at 100.0% (761 of 761 strings)
Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/ca/
2025-09-08 19:01:55 +02:00
jokob-sk
840e1e50a9
docs
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-08 21:17:55 +10:00
jokob-sk
164fe504a4
weblate
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-08 21:17:45 +10:00
jokob-sk
9040e49e16
sync plugin
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-08 08:14:42 +10:00
jokob-sk
629736ad39
Merge branch 'main' of https://github.com/jokob-sk/NetAlertX
2025-09-08 08:12:04 +10:00
jokob-sk
ebc41ada45
logger
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-08 08:11:33 +10:00
jokob-sk
4fea786e16
sync plugin
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-08 08:11:23 +10:00
Jokob @NetAlertX
0edd20c82c
Merge pull request #1155 from FlyingToto/main
...
adding example 5 of docker compose (3rd try!)
2025-09-08 07:05:10 +10:00
Jokob @NetAlertX
296dd0d0df
Merge pull request #1165 from adamoutler/patch-1
...
Enhance in-app tooltips for clarity
2025-09-08 07:04:33 +10:00
Adam Outler
f2151cd9e8
Enhance in-app tooltips for clarity
2025-09-07 14:47:04 -04:00
Hosted Weblate
60876b14ce
Merge branch 'origin/main' into Weblate.
Deploy MkDocs / deploy (push) Has been cancelled
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
2025-09-04 23:58:20 +02:00
ssantos
9231ba742c
Translated using Weblate (Portuguese (Portugal))
...
Currently translated at 54.5% (415 of 761 strings)
Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/pt_PT/
2025-09-04 23:58:18 +02:00
jokob-sk
8a538102da
weblate
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-05 07:57:57 +10:00
jokob-sk
31f901da35
Merge branch 'main' of https://github.com/jokob-sk/NetAlertX
2025-09-05 07:57:25 +10:00
jokob-sk
c5b731fcb2
weblate
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-05 07:56:57 +10:00
jokob-sk
b2c7945513
docs
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-05 07:56:42 +10:00
suibian
6bf5c1f535
Translated using Weblate (Chinese (Simplified Han script))
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Currently translated at 100.0% (761 of 761 strings)
Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/zh_Hans/
2025-09-03 12:38:56 +02:00
martinkuck
3da50fe83d
Translated using Weblate (German)
...
Currently translated at 81.2% (618 of 761 strings)
Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/de/
2025-09-03 12:38:56 +02:00
Jokob @NetAlertX
b46bdb9b60
Merge pull request #1156 from ingoratsdorf/contrib
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Adding secondary cache to settings
2025-09-03 07:02:11 +10:00
Ingo Ratsdorf
00c7bb65e1
Update server/helper.py
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-03 07:10:26 +12:00
Ingo Ratsdorf
9946f9affd
Merge branch 'jokob-sk:main' into contrib
2025-09-02 20:43:25 +12:00
anton garcias
46a11b1cca
Translated using Weblate (Catalan)
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Currently translated at 93.0% (708 of 761 strings)
Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/ca/
2025-09-02 10:42:15 +02:00
Ingo Ratsdorf
8a003ad805
Merge branch 'jokob-sk:main' into contrib
2025-09-02 20:41:59 +12:00
Jokob @NetAlertX
7dd860b2ab
Merge branch 'main' into main
2025-09-02 15:22:04 +10:00
Jokob @NetAlertX
a9d7ca8809
Merge pull request #1154 from FlyingToto/patch-2
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
added a variant of example 2 as 5...
2025-09-02 15:16:02 +10:00
Ingo Ratsdorf
5695f4f3e7
Adding secondary cache to settings
...
Caching get_setting_value independent from what backend is used.
2025-09-02 14:48:12 +12:00
FlyingToto
1d74398337
adding address and uid/gid
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-01 22:13:02 -04:00
FlyingToto
e8f17346ff
3rd attempt to add example 5 of docker compose!
2025-09-01 22:02:25 -04:00
FlyingToto
bb1e00301c
fixing typo
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-01 18:29:39 -04:00
FlyingToto
883786ec91
added a variant of example 2 as 5...
2025-09-01 17:39:58 -04:00
jokob-sk
3a023a675f
CPU optimization work 5 #1144
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-01 09:13:13 +10:00
jokob-sk
8c895864da
CPU optimizartion work 4 #1144
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-01 08:45:41 +10:00
jokob-sk
90474a6b92
Merge branch 'main' of https://github.com/jokob-sk/NetAlertX
2025-09-01 08:33:38 +10:00
Jokob @NetAlertX
f7cf8a0b1d
Merge pull request #1151 from ingoratsdorf/contrib
...
Added cache to get_settings
2025-09-01 08:33:29 +10:00
jokob-sk
98fdccb58f
CPU optimizartion work 2 #1144
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-01 08:33:14 +10:00
jokob-sk
6f606f34d1
docs
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-08-31 10:23:31 +10:00
jokob-sk
fd3f1fc929
api layer v0.3.2 - /settings
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-08-31 09:54:56 +10:00
Ingo Ratsdorf
36ea3e62fd
Added cache to get_settings
...
The settings file is read about 30 times per second and parsed from json. Cache function added for now.
2025-08-30 21:35:15 +12:00