Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

--- develop ---

* bug: Open the Syslog plugin's own database connection before the Syslog panels query it, so a Syslog database that is separate from Cacti's no longer fails with "Table 'cacti.syslog' doesn't exist"; the panels now skip cleanly when that connection cannot be opened
* dev: Raise the minimum supported Cacti version (the `compat` value in `INFO`) from 1.2.17 to 1.2.29
* feature: Add a third-party panel registration API so other Cacti plugins can publish their own Intropage dashboard panels without shipping files into Intropage's `panellib/` directory. Plugins call `intropage_register_panel()` (plus `intropage_update_panel_registration()`, `intropage_enable_panel_registration()`, `intropage_disable_panel_registration()` and `intropage_unregister_panel()`) guarded by `function_exists()`; registrations are stored in the new `plugin_intropage_panel_registration` table (owning plugin, callback functions, declared request variables and their types, and the full panel attribute set), merged into the live panel library, and automatically pruned from every dashboard and the poller when their owning plugin is uninstalled. The API is exposed from `setup.php` so it is available to foreign `config_arrays` hooks regardless of plugin order, rejects numeric/over-length/built-in/cross-plugin panel ids, resolves the grant target from the configured admin user (never the current visitor), gates reload/detail dispatch on the `requires` plugin being enabled, seeds a fallback `$registry` category, and invalidates the panel-library cache on every mutation. The panel schema and all API calls are documented in `README.md`
* feature: Add a Panel Library management page (Console > Intropage Panels) that lists every registered panel in a filterable table with a source-plugin dropdown and Enable/Disable bulk actions, backed by the poller keeping the registration table in sync with the `panellib/` directory on file change
Expand Down
195 changes: 177 additions & 18 deletions locales/po/cacti.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ msgid ""
msgstr ""
"Project-Id-Version: Cacti \n"
"Report-Msgid-Bugs-To: developers@cacti.net\n"
"POT-Creation-Date: 2026-11-07 15:37-0500\n"
"POT-Creation-Date: 2026-11-11 14:16-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Cacti Developers <developers@cacti.net>>\n"
"Language-Team: Cacti Developers <developers@cacti.net>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"

#: display.php
#: display.php intropage_panels.php
msgid "Intropage - Permission Denied"
msgstr ""

Expand All @@ -29,7 +30,7 @@ msgstr ""
msgid "You can disable rows above in <b>Configure > Settings > General > Hide Cacti Dashboard</b> and use the whole page for Intropage "
msgstr ""

#: display.php includes/functions.php
#: display.php includes/functions.php intropage_panels.php
msgid "Default"
msgstr ""

Expand Down Expand Up @@ -420,7 +421,11 @@ msgstr ""
msgid "Trend Update Frequencies"
msgstr ""

#: includes/settings.php
#: includes/registration.php intropage_panels.php
msgid "Core"
msgstr ""

#: includes/settings.php setup.php
msgid "Intropage"
msgstr ""

Expand Down Expand Up @@ -534,8 +539,9 @@ msgstr ""
msgid "From now to past. Affects row coloring, older events will not be highlighted, only displayed"
msgstr ""

#: includes/variables.php panellib/graphs.php panellib/mactrack.php
#: panellib/poller.php panellib/system.php panellib/thold.php
#: includes/variables.php intropage_panels.php panellib/graphs.php
#: panellib/mactrack.php panellib/poller.php panellib/system.php
#: panellib/thold.php
msgid "Disabled"
msgstr ""

Expand Down Expand Up @@ -861,6 +867,159 @@ msgstr ""
msgid "Yellow / Red"
msgstr ""

#: intropage_panels.php
msgid "Enable"
msgstr ""

#: intropage_panels.php
msgid "Disable"
msgstr ""

#: intropage_panels.php
msgid "Panels"
msgstr ""

#: intropage_panels.php
msgid "Click 'Continue' to Enable the following Panel."
msgid_plural "Click 'Continue' to Enable the following Panels."
msgstr[0] ""
msgstr[1] ""

#: intropage_panels.php
msgid "Enable Panel"
msgstr ""

#: intropage_panels.php
msgid "Click 'Continue' to Disable the following Panel. Disabled panels are hidden from dashboards and skipped by the poller, but their data is retained."
msgid_plural "Click 'Continue' to Disable the following Panels. Disabled panels are hidden from dashboards and skipped by the poller, but their data is retained."
msgstr[0] ""
msgstr[1] ""

#: intropage_panels.php
msgid "Disable Panel"
msgstr ""

#: intropage_panels.php
msgid "Cancel"
msgstr ""

#: intropage_panels.php
msgid "Continue"
msgstr ""

#: intropage_panels.php
msgid "Panel Name"
msgstr ""

#: intropage_panels.php
msgid "The display name of this panel."
msgstr ""

#: intropage_panels.php
msgid "Source"
msgstr ""

#: intropage_panels.php
msgid "The plugin that provides this panel. Intropage's own panels show as Core."
msgstr ""

#: intropage_panels.php
msgid "Category"
msgstr ""

#: intropage_panels.php
msgid "The panel category."
msgstr ""

#: intropage_panels.php
msgid "Level"
msgstr ""

#: intropage_panels.php
msgid "System panels are shared by all users; User panels are per-user."
msgstr ""

#: intropage_panels.php
msgid "Requires"
msgstr ""

#: intropage_panels.php
msgid "Plugins that must be enabled for this panel to render."
msgstr ""

#: intropage_panels.php
msgid "Refresh"
msgstr ""

#: intropage_panels.php
msgid "The panel data collection interval."
msgstr ""

#: intropage_panels.php
msgid "Update Function"
msgstr ""

#: intropage_panels.php
msgid "The function the poller calls to collect this panel's data."
msgstr ""

#: intropage_panels.php panellib/analyze.php panellib/graphs.php
#: panellib/thold.php
msgid "Status"
msgstr ""

#: intropage_panels.php
msgid "Whether the panel is enabled."
msgstr ""

#: intropage_panels.php
msgid "System"
msgstr ""

#: intropage_panels.php panellib/analyze.php
msgid "User"
msgstr ""

#: intropage_panels.php
msgid "Enabled"
msgstr ""

#: intropage_panels.php panellib/analyze.php
msgid "None"
msgstr ""

#: intropage_panels.php
msgid "No Panels Found"
msgstr ""

#: intropage_panels.php setup.php
msgid "Intropage Panel Library"
msgstr ""

#: intropage_panels.php
msgid "Search"
msgstr ""

#: intropage_panels.php
msgid "Any"
msgstr ""

#: intropage_panels.php
msgid "Go"
msgstr ""

#: intropage_panels.php
msgid "Set/Refresh Filters"
msgstr ""

#: intropage_panels.php
msgid "Clear"
msgstr ""

#: intropage_panels.php
msgid "Clear Filters"
msgstr ""

#: panellib/alert.php panellib/syslog.php
msgid "Alerts"
msgstr ""
Expand Down Expand Up @@ -960,10 +1119,6 @@ msgstr ""
msgid "IP Address"
msgstr ""

#: panellib/analyze.php panellib/graphs.php panellib/thold.php
msgid "Status"
msgstr ""

#: panellib/analyze.php panellib/misc.php panellib/system.php panellib/top5.php
msgid "Failed"
msgstr ""
Expand All @@ -981,10 +1136,6 @@ msgstr ""
msgid "Total Failed Logins: %s"
msgstr ""

#: panellib/analyze.php
msgid "None"
msgstr ""

#: panellib/analyze.php
msgid "Active Users in Last Hour: "
msgstr ""
Expand Down Expand Up @@ -1246,10 +1397,6 @@ msgstr ""
msgid "Analyze Logins Detail"
msgstr ""

#: panellib/analyze.php
msgid "User"
msgstr ""

#: panellib/analyze.php panellib/misc.php
msgid "Result"
msgstr ""
Expand Down Expand Up @@ -2389,6 +2536,14 @@ msgstr ""
msgid "Intropage Administration"
msgstr ""

#: setup.php
msgid "Management"
msgstr ""

#: setup.php
msgid "Panel Library"
msgstr ""

#: setup.php
msgid "System Administration"
msgstr ""
Expand Down Expand Up @@ -2424,3 +2579,7 @@ msgstr ""
#, php-format
msgid "%d Day"
msgstr ""

#: setup.php
msgid "Actions"
msgstr ""
Loading
Loading