223 Commits
Author SHA1 Message Date
TheWitness cd061f522b QA: Newer version should filter only newer 2024-11-24 16:00:13 -05:00
TheWitness 024214dc0c QA: Additional column changes
Make the Required Cacti version string more  readable and visible.
2024-11-24 15:57:45 -05:00
TheWitness e9f057bafb QA: Change the Default for last_updated
* The default for last_updated in the plugin_config table was wrong
* Re-arrange some columns for archived and available plugin versions
* Add the Archive/Available size to the respective table views.
2024-11-24 14:29:32 -05:00
TheWitness 99b9b13ccc QA: Update the last updated properly
* When you upgrade or downgrade, or load an installed plugin, update the last_updated column.
2024-11-22 15:50:31 -05:00
TheWitness 235c5ebb8f QA: Do plugin updates in the background 2024-11-19 10:25:18 -05:00
TheWitness 81ed214e79 QA: Minor visualization issue 2024-11-16 09:11:35 -05:00
TheWitness 0311f93fa9 QA: Notify users of newer versions 2024-11-08 21:14:50 -05:00
TheWitness 552f2f687f QA: Support version ranges in plugin installs
* Adding this important feature and changing the visualization and messaging slightly.
2024-11-08 20:55:26 -05:00
TheWitness 93cb61fbdd QA: #1987 - Another SQL issue 2024-11-08 20:08:49 -05:00
TheWitness a18272f046 QA: Bad search column 2024-11-08 20:07:48 -05:00
TheWitness d722db6be1 QA: #1987 - Re-organize library functions into lib/plugins.php 2024-11-08 20:04:43 -05:00
TheWitness 0b23a4cc61 QA: #1987 - Add filter for Tag Type 2024-11-08 15:57:28 -05:00
TheWitness 93c298351a QA: #1987 - Unable to remove data 2024-11-08 15:29:59 -05:00
TheWitness b926ba826f QA: #1987 - Change the color of rmdata 2024-11-08 15:23:35 -05:00
TheWitness e99b627269 QA: #1987 - Move Plugin Data Removal location 2024-11-08 15:11:59 -05:00
Linegod 05d6369038 typos 2024-11-07 23:37:36 -06:00
TheWitness f67c7dc9f7 QA: Minor Wording Changes 2024-11-06 23:16:16 -05:00
TheWitness 11f40c5fa5 QA: #1987 - Minor JavaScript modularization bug 2024-11-06 23:12:43 -05:00
TheWitness cf9d3bca98 QA: #1987 - Setting for Unsafe Plugin Installs 2024-11-06 23:00:08 -05:00
TheWitness 71266105be QA: #1987 - Implement Drag and Drop
* Implement Drag and Drop
* Reorganize JavaScript
* Modularize some JavaScript Function
* Missed a few 'directory' > 'plugin' column instances
2024-11-06 22:53:18 -05:00
TheWitness 2972bd2cb8 QA: #1987 - Minor wording changes for 'develop' loads 2024-11-06 16:18:46 -05:00
TheWitness 3ddf00b4d6 QA: #1987 - Enable loading of available plugins
* This changes makes a significant change to the archive restoral function due to learning more about working with Phar archives.
* Load from archive is now working..
* I will end up merging some of the functions in plugins.php into lib/plugins.php before finishing out.
* Removing upgrade/downgrade as those are simply restore and load functions.
2024-11-06 16:00:01 -05:00
TheWitness e6f5610a0f QA: #1987 - Have the column status show properly 2024-11-06 13:32:22 -05:00
TheWitness feaa5c4659 QA: #1987 - More UI changes covering load activities
* This commit is all about presenting the correction options from the user interface for the restore/load/upgrade/downgrade of plugins from either the archive or the available plugins.
* The actions, actually pulling the plugins from the available table and restoring them will be the last step.
* There are still some ToDo steps in this activity.  They include
   * Showing which plugins are new since you installed
   * Drag & Drop for load ordering
   * Present a downgrade warning before downgrading a plugin.
   * Addressing the topic of unlinking files that disappeared between releases.  Need to discuss with rest of the team on that.
   * Do we need an 'unsafe' checkbox (aka use 'develop')?
2024-11-06 13:24:18 -05:00
TheWitness 725df6f21e QA: #1987 - Tighten up permitted safe action list handling 2024-11-06 09:40:21 -05:00
TheWitness f155d6230b QA: #1987 - Archived from uninstalled plugins missing 2024-11-06 09:31:31 -05:00
TheWitness 158221c201 QA: #1987 - Coding dependency and requires validation
* This is just a simple check for now true or false on cacti and plugin dependencies requirements
* The 'load' function is still not finalized, and it's going to either be a load, or either an Upgrade, Update, or Downgrade.
2024-11-05 16:33:08 -05:00
TheWitness 5fb662c893 QA: #1987 - Provide install/uninstall/enable/disable logging
* Provide logging for common plugin actions
* Provide backward compatibility for plugins like syslog
2024-11-05 14:33:06 -05:00
TheWitness 3b296bf623 QA: #1987 - Provide Additional check feedback.
* This will be a note to plugin developers to fix their plugins.
2024-11-05 13:24:40 -05:00
TheWitness c307cccfcc QA: #1987 - Final QA on Configuration Check
* Change cog icon to indicate configuration check required
* Raise a message on successful configuration check
2024-11-05 08:12:40 -05:00
TheWitness eeab38e354 QA: #1987 - More testing and bugz 2024-11-05 08:08:53 -05:00
TheWitness 14945e59fe QA: #1987 - Enable 'check config' to run from the GUI
* If a user can not install due to a configuration check, there is no way to get out of that situation once it occurs.  This change fixes that.
2024-11-05 08:01:55 -05:00
TheWitness fe89c643f3 QA: #1987 - Fix the config issues action icons 2024-11-05 07:42:58 -05:00
TheWitness ec45415dfe QA: #1987 - Do no allow archiving when Config Issues exist
* In the case of flowview, when the config.php or config_local.php is not found, don't allow enabling the plugin or installing the tables.
* This change simply removes the 'archive' link and also allows 'installing' which was blocked.
2024-11-05 07:34:07 -05:00
TheWitness 42c588e1c4 QA: #1987 - Detect and properly handle rate limiting 2024-11-04 15:22:42 -05:00
TheWitness f01f9ded73 QA: #1987 - Two minor visual and behavioral issues 2024-11-04 14:40:35 -05:00
TheWitness add5e3830d QA: #1987 - Correct ordering on all pages 2024-11-04 14:08:43 -05:00
TheWitness b32784198d QA: #1987 - Set visibility properly for the object 2024-11-04 13:55:29 -05:00
TheWitness d416b5e91c QA: #1987 - CSS Changes for Dialog size 2024-11-04 13:50:52 -05:00
TheWitness 34fce64a7d QA: #1987 - Viewing Changelog and Readme now supported 2024-11-04 13:43:00 -05:00
TheWitness 7911537e1b QA: #1987 - Archive restoral is working now
* Archive backup and restore is working.
* Added single quotes around plugin messages for clarity.
* Case changes for Keywords in messages.
* ReadMe and ChangeLog viewing in flight.  Icons are there but not working.
* Add destructors to phar objects for memory management.
* use loadUrl instead of ducment.location for actions.
2024-11-04 12:02:59 -05:00
TheWitness fb95b0f087 QA: #1987 - Use the jQuery 'this' object vs. specifying a class/location 2024-11-04 09:03:33 -05:00
TheWitness 5494a1a546 QA: #1987 - Missed one column rename 2024-11-04 08:49:50 -05:00
TheWitness 1aa366d935 QA: #1987 - Adding Archiving and Archive Removal
This is a fairly hefty restructuring of the plugin page.  In this change I did the following:

* remove the use of the 'mode' and switch to actions
* removed the use of directory where possible for all tables: tempoary, archive, and available
* Cleared out quite a bit of duplicated validation code.

There is a long way to go yet.  As of right now, you can:

* Create and remove archives, but you can not restore them.
* Download plugins, but you can not install them.
* Validation on what actions can be performed based upon installed Cacti version and plugin versions is not complete.

All archives are stored in longblob columns in based64 encoded strings.
2024-11-03 17:24:16 -05:00
TheWitness 3eab4c5fdb QA: #1987 - Missing one more name > infoname hcange 2024-11-03 12:18:29 -05:00
TheWitness fb5d6e49e7 QA: #1987 - Adding new status for plugin errors
* When a plugin is disabled, set a status of Plugin Errors.
* Normalize the status' in the status' array.
* ToDo: The logic for setting plugin status is still a big wonky from my perspective.
* Add a few more checkss for installed plugins missing key files
2024-11-03 11:14:21 -05:00
TheWitness fce4a12cb4 QA: #1987 SQL Error reported by @bmfmancini 2024-11-02 18:00:08 -04:00
TheWitness 0511b2fec2 QA: #1987 - Changing/Debugging Display Logic
* Filter and Sort issues
* Column naming to accommodate legacy design
* Add the schema to the default schema.
* Change the last_updated column upon install/upgrade
* Add new api_plugin_upgrade() function to standardize what get's updated when a plugin self upgrades.
* ToDo - Audit Schema
2024-11-02 16:03:59 -04:00
TheWitness 6084f6ae2f QA: Add some additional checks. 2024-11-02 14:21:59 -04:00
TheWitness bcb5e5b162 Feature #1987 - Adding more columns and display
The deeper I go into this rat hole, the more I think we need an 'Archive' functionality too.  More to follow...
2024-11-02 13:15:09 -04:00