diff --git a/back/pialert.py b/back/pialert.py index 90fb7819..644d8451 100755 --- a/back/pialert.py +++ b/back/pialert.py @@ -1947,7 +1947,9 @@ def cleanResult(str): str = str.replace(".lan", "") str = str.replace(".home", "") str = re.sub(r'-[a-fA-F0-9]{32}', '', str) # removing last part of e.g. Nest-Audio-ff77ff77ff77ff77ff77ff77ff77ff77 - # str = str.replace(".", "") + # remove trailing dots + if str.endswith('.'): + str = str[:-1] return str diff --git a/dockerfiles/README.md b/dockerfiles/README.md index 2c5140e6..2d95bcf0 100755 --- a/dockerfiles/README.md +++ b/dockerfiles/README.md @@ -188,8 +188,6 @@ Big thanks to @Macleykun for help and ## ☕ Support me -Disclaimer: Please only donate if you don't have any debt yourself. Support yourself first, then others. - Sponsor Me on GitHub Buy Me A Coffee Support me on patreon diff --git a/docs/API.md b/docs/API.md index 2078072b..952bdd43 100755 --- a/docs/API.md +++ b/docs/API.md @@ -28,12 +28,12 @@ You can access the following files: | `table_devices.json` | The current (at the time of the last update as mentioned above on this page) state of all of the available Devices detected by the app. | | `table_nmap_scan.json` | The current state of the discovered ports by the regular NMAP scans. | | `table_pholus_scan.json` | The latest state of the [pholus](https://github.com/jokob-sk/Pi.Alert/tree/main/pholus) (A multicast DNS and DNS Service Discovery Security Assessment Tool) scan results. | - | `table_events_pending_alert.json` | The list of the unprocessed (pending) notification events. | - | `table_settings.json` | The content of the settings table. | + | `table_plugins_events.json` | The list of the unprocessed (pending) notification events (plugins_events DB table). | + | `table_plugins_history.json` | The list of notification events history. | | `table_plugins_objects.json` | The content of the plugins_objects table. Find more info on the [Plugin system here](https://github.com/jokob-sk/Pi.Alert/tree/main/front/plugins)| - | `language_strings.json` | The content of the language_strings table, which in turn is loaded from the plugins `config.json` definitions. | - | `table_plugins_events.json` | The content of the plugins_events table. | + | `language_strings.json` | The content of the language_strings table, which in turn is loaded from the plugins `config.json` definitions. | | `table_custom_endpoint.json` | A custom endpoint generated by the SQL query specified by the `API_CUSTOM_SQL` setting. | + | `table_settings.json` | The content of the settings table. | Current/latest state of the aforementioned files depends on your settings. diff --git a/docs/NETWORK_TREE.md b/docs/NETWORK_TREE.md index 016ce701..d760b2f4 100755 --- a/docs/NETWORK_TREE.md +++ b/docs/NETWORK_TREE.md @@ -15,7 +15,7 @@ To setup a device named `rapberrypi` as a `Switch` in our network. > Note: Only the following device types will show up as selectable Network nodes ( = devices you can connect other devices to): > AP, Firewall, Gateway, PLC, Powerline, Router, Switch, USB LAN Adapter, USB WIFI Adapter and WLAN. -- Assign a device to your root device from the `Node` (5) dropdown whitch has the MAC `Internet` (6) (Your name may differ, but the MAC needs to be set to `Internet` - this is done by default). +- Assign a device to your root device from the `Node` (5) dropdown which has the MAC `Internet` (6) (Your name may differ, but the MAC needs to be set to `Internet` - this is done by default). - Save your changes (7)