You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: front/plugins/README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -91,13 +91,13 @@ Follow the below very carefully and check example plugin(s) if you'd like to wri
91
91
* Adding form controls supported to display the data (Currently supported ones are listed in the section "UI settings in database_column_definitions" below)
92
92
* ...
93
93
94
-
## ❗ Known issues:
94
+
## ❗ Known limitations:
95
95
96
96
These issues will be hopefully fixed with time, so please don't report them. Instead, if you know how, feel free to investigate and submit a PR to fix the below. Keep the PRs small as it's easier to approve them:
97
97
98
-
* Existing plugin objects sometimes not interpreted correctly and a new object is created instead, resulting in duplicate entries. (race condition?)
98
+
* Existing plugin objects are sometimes not interpreted correctly and a new object is created instead, resulting in duplicate entries. (race condition?)
99
99
* Occasional (experienced twice) hanging of processing plugin script file.
100
-
UI displays outdated values until the API endpoints get refreshed.
100
+
*UI displays outdated values until the API endpoints get refreshed.
101
101
102
102
## Plugin file structure overview
103
103
@@ -143,7 +143,7 @@ Currently, these data sources are supported (valid `data_source` value).
143
143
| Pialert DB query |`pialert-db-query`| yes | Executes a SQL query on the PiAlert database in the `CMD` setting. |
144
144
| Template |`template`| no | Used to generate internal settings, such as default values. |
145
145
| External SQLite DB query |`sqlite-db-query`| yes | Executes a SQL query from the `CMD` setting on an external SQLite database mapped in the `DB_PATH` setting. |
146
-
| Plugin type |`plugin_type`| no | Specifies the type of the plugin and in which section the Plugin settings are displayed (`<general>|<system>|<scanner>|<publisher>`). |
146
+
| Plugin type |`plugin_type`| no | Specifies the type of the plugin and in which section the Plugin settings are displayed (`<general|system|scanner|other|publisher>`). |
147
147
148
148
149
149
> 🔎Example
@@ -643,7 +643,7 @@ The UI will adjust how columns are displayed in the UI based on the resolvers de
643
643
| `url` | The value is considered to be a URL, so a link is generated. |
644
644
| `textbox_save` | Generates an editable and saveable text box that saves values in the database. Primarily intended for the `UserData` database column in the `Plugins_Objects` table. |
645
645
| `url_http_https` | Generates two links with the `https` and `http` prefix as lock icons. |
646
-
| `eval` | Evaluates as JavaScript. Use the variable `value` to use the given column value as input (e.g. ``<b>${value}<b>`` ) |
646
+
| `eval` | Evaluates as JavaScript. Use the variable `value` to use the given column value as input (e.g. `'<b>${value}<b>'` (replace ' with ` in your code) ) |
Copy file name to clipboardExpand all lines: front/plugins/maintenance/config.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,7 @@
164
164
}],
165
165
"description": [{
166
166
"language_code":"en_us",
167
-
"string" : "How many last <code>pialert.log</code> lines to keep. If <code>LOG_LEVEL</code> is set to <code>debug</code> the app generates about 10000 lines per hour, so when debugging an issue the recommended setting should cover the bug occurence timeframe. For example for a bug with a 3 day periodical appearence the value <code>1000000</code> should be sufficient. Setting this value to <code>1000000</code> generates approximatelly a 50MB <code>pialert.log</code> file. Set to <code>0</code> disables log cleaning."
167
+
"string" : "How many last <code>pialert.log</code> lines to keep. If <code>LOG_LEVEL</code> is set to <code>debug</code> the app generates about 10000 lines per hour, so when debugging an issue the recommended setting should cover the bug occurence timeframe. For example for a bug with a 3 day periodical appearence the value <code>1000000</code> should be sufficient. Setting this value to <code>1000000</code> generates approximatelly a 50MB <code>pialert.log</code> file. Set to <code>0</code> to disable log purging."
0 commit comments