Commit Graph

4866 Commits

Author SHA1 Message Date
Adam Outler
c3dc04c1e5 use proper db for setup 2025-09-20 18:05:08 -04:00
Adam Outler
6831c9e0f4 fix app event queue 2025-09-20 14:39:42 +00:00
Adam Outler
773580e51b Increase max php executors from 5 to 10. 2025-09-20 14:21:03 +00:00
Adam Outler
d3770373d4 change default database encryption key of null to empty string, to prevent exception. 2025-09-20 13:56:50 +00:00
Adam Outler
dfc06d1419 setup initial app.conf and app.db 2025-09-20 13:03:59 +00:00
Adam Outler
5ffb6f26e5 feat: setup devcontainer 2025-09-19 16:41:28 -04:00
Jokob @NetAlertX
9482e7a720 Merge pull request #1173 from ingoratsdorf/installer-rework
Some checks failed
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Bare metal Installer rework
2025-09-12 16:04:22 +10:00
Ingo Ratsdorf
8f00a28454 Numbering sequence corrected 2025-09-12 15:40:51 +12:00
Ingo Ratsdorf
e00f26658b CodeRabbit suggestions 2025-09-12 15:16:25 +12:00
Ingo Ratsdorf
9943c98055 DOC updates 2025-09-12 14:55:30 +12:00
Jokob @NetAlertX
1601c10025 Merge pull request #1170 from cvc90/NetAlertX-Changing-absolute-path-url-to-relative-path-url-in-deviceDetailsTools-php
Some checks failed
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Changing absolute path URL to relative path URL in deviceDetailsTools.php
2025-09-12 08:09:39 +10:00
Carlos V.
3298f79c44 Merge branch 'jokob-sk:main' into NetAlertX-Changing-absolute-path-url-to-relative-path-url-in-deviceDetailsTools-php 2025-09-11 23:22:29 +02:00
Jokob @NetAlertX
6c79c04e9c Merge pull request #1169 from ingoratsdorf/db-caching
DB functions tidyup and streamlining
2025-09-12 05:59:57 +10:00
Jokob @NetAlertX
ad9babd349 Merge pull request #1171 from cvc90/NetAlertX-Adding-user-agent-header-in-website_monitor-script-py
Add custom User-Agent header to requests in website monitor script
2025-09-12 05:59:28 +10:00
Ingo Ratsdorf
e0ffe8b424 Delete old Debian12 files 2025-09-11 21:11:04 +12:00
Ingo Ratsdorf
db42d7f577 Installer-rework
split installer structure into systems, updated non-functional Debian12 installer with some minor fixes to Ubuntu24 installer.
Updated docs.
2025-09-11 21:07:18 +12:00
Ingo Ratsdorf
786ae9305d Merge branch 'jokob-sk:main' into db-caching 2025-09-11 16:59:31 +12:00
Carlos V.
a823301862 Update script.py
Added user-agent header
2025-09-11 03:58:52 +02:00
Carlos V.
de20a2621c Update deviceDetailsTools.php
Change static route to relative route in URL for proper proxy operation
2025-09-11 03:38:25 +02:00
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
Jokob @NetAlertX
3653d2efd0 Merge pull request #1166 from ingoratsdorf/ubuntu
Some checks failed
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Ubuntu installer
2025-09-11 07:04:36 +10: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
Some checks failed
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
99981754c9 Some more fixes 2025-09-10 11:54:05 +12:00
Ingo Ratsdorf
d31af28f08 Minor updates
Fixes typo in start.ubuntu.sh
Redirects output of python server to /dev/null
to avoid I/O errors if started from SSH for example
2025-09-10 11:44:41 +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
db43ab9cf6 Fixes
Removed 'sudo' from all calls as the script already needs to run as sudo so it's pointless
2025-09-10 10:19:30 +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
Ingo Ratsdorf
c6f0614570 Update install/ubuntu/start.ubuntu.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-10 09:11:04 +12:00
Ingo Ratsdorf
f64cd9ea28 Update install/ubuntu/start.ubuntu.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-10 08:57:56 +12:00
Ingo Ratsdorf
2482289ad6 Update install/ubuntu/start.ubuntu.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-10 08:57:08 +12:00
Ingo Ratsdorf
7863ab3b03 Update install/ubuntu/start.ubuntu.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-10 08:52:14 +12:00
Ingo Ratsdorf
b0d117c3b8 Update install/ubuntu/install.ubuntu.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-10 08:49:48 +12:00
Ingo Ratsdorf
1399e3881a Ubuntu installer
Adds bare metal installer for ubuntu. Tested with version 24.04. You may want to or have to change the PHPVERSION variable in the start script for other versions
2025-09-10 08:21:50 +12:00
jokob-sk
2b2ae516da weblate
Some checks failed
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)
Some checks failed
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
Some checks failed
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