Commit Graph

46 Commits

Author SHA1 Message Date
Squidly271 a62e63f74d Plugin Helpers: Follow redirects on downloads
Some authors have listed a plugin URL that is subject to redirection
2019-09-14 19:30:06 -04:00
Squidly271 7c7ab40789 Switch download routine to be PHP Curl 2019-09-11 21:36:16 -04:00
Squidly271 8eb68d391d Change require once to be $docroot 2019-09-01 08:34:01 -04:00
Squidly271 3d8639dd60 Integrate CA's Plugin Helpers 2019-08-31 21:51:48 -04:00
Squidly271 d90595c052 Don't allow plugin updates to same version
Should solve the odd problem with CA where updates effectively remove the plugin, due to user clicking the CA link to update itself, but auto update (eg) has already updated the plugin (ie: auto update updated it while the CA page was open)
2019-06-08 11:32:13 -04:00
Squidly271 63b0402964 Fix plugin download routine
Typo in my original PR #473 that prevents any plugin from installing.  My bad -> happened because I was too lazy to merge into my fork the tested code and simply manually did a patch.
2019-03-24 14:41:35 -04:00
Squidly271 99305f2015 Switch plugins to a compressed download 2019-03-14 21:24:53 -04:00
Andrew Z c2d1a9304f Prevent plugin update notification if plugin not compatible 2019-01-17 00:28:54 -05:00
bergware 204d9fb25c Copyright year update 2018-12-25 10:28:59 +01:00
bergware 0c9921c66f Use PHP version_compare to check Unraid versions 2018-09-22 11:05:04 +02:00
Tom Mortensen 6668ad0ec5 Change 'unRAID' to 'Unraid' to match new branding.
Updated a few copyright strings.
2018-08-31 12:58:40 -07:00
Squidly271 8e9f9482ba Plugins: Preserve preserve support link when updating 2018-07-22 15:52:54 -04:00
Squidly271 ca06bd9546 Remove control codes, and extended ascii characters from plugin urls on install
Every once in a while, a copy / paste from a browser of CA's URL posted on the forum winds up with unicode and/or control characters in the middle of the URL, which prevents installation.  (https://lime-technology.com/forums/topic/38582-plug-in-community-applications/?page=85&tab=comments#comment-669454  and  https://lime-technology.com/forums/topic/38582-plug-in-community-applications/?page=84&tab=comments#comment-664991 )


Just replace them with a null character.

Probably geographically related.
2018-07-14 09:36:32 -04:00
Squidly271 b6cab93bd1 Update cron when removing a plugin
To prevent any .cron files previously added from continuing to be executed
2018-04-08 14:02:14 -04:00
bergware 1727b5e4f5 Fixed false "next" announcement when on "stable " release 2018-03-29 14:59:12 +02:00
bergware e42f16bf61 Fixed false "next" announcement when on "stable " release 2018-03-29 13:41:19 +02:00
bergware 67c15c92e7 Added "Update all Plugins" button to plugins page 2018-03-21 17:37:27 +01:00
Squidly271 6ff99c67bb Wording change on a error returned by plugin manager 2018-03-16 21:00:04 -04:00
bergware 1e6e514f95 Corrected PHP warnings 2018-03-02 19:40:25 +01:00
Squidly271 9d8806e8b1 fix spacing on code 2018-02-02 21:00:48 -05:00
Squidly271 b2cf6fec8d Add ability for pluginMan to not install the .plg
Currently, to use the plugin manager as an easy method of running one-off scripts that DO NOT need to be re-run at boot time, the script needs to exit with a non-zero return code to force pluginMan to not copy the .plg to /boot/config/plugins.

The trigger for this is a new <PLUGIN> attribute of "noInstall"  When its value is non-null, the .plg will not get saved to /bot/config/plugins, but the .plg can still exit with a proper zero return code.

Admittedly, not too much call for this, but it would have come in handy for my Support / Project template update script for 6.4.1-rc2
2018-02-02 20:58:41 -05:00
bergware 7c97284e91 Suppress warnings in $docroot and $disk['fsSize'] variables
These are easy to correct warnings.
2017-12-14 13:53:31 +01:00
bergware dda96dff80 Copyright 2017 update 2017-10-30 09:26:06 +01:00
Tom Mortensen 3606fdb700 Remove remnants and references to 'dynamix.plg'.
The 'unRAID' attribute of an existing dynamix.plg file is used as the 'max' compatible version.  This
prevents stale dyanamix.plg files being loaded.
2017-06-23 16:01:38 -07:00
bergware 60529514c7 make unraidcheck executable 2017-06-23 15:51:26 +02:00
bergware 7bfdf85726 More updates to plugin manager - remove dynamix check 2017-06-23 07:50:33 +02:00
bergware 4571a2fde0 Add "Check for Updates" button and disable auto-check as needed 2017-06-22 22:08:37 +02:00
bergware e2a99febf2 Added separate unRAID OS check schedule and associated notifications 2017-06-19 15:39:20 +02:00
bergware 1c097759d2 Emhanced plugin manager with seprate plugin and OS sections 2017-06-18 10:28:13 +02:00
Tom Mortensen 5f6eee021d Send command straight to emhttpd.socket to update status. 2017-05-16 12:47:43 -07:00
Squidly271 577cd0c335 Remove the old temp .plg file on remove
plugincheck script doesn't check if a plugin is still installed.  Only if the .plg still exists in /tmp/plugins.  Update notices will happen until a reboot is issued
2017-03-24 04:26:31 -04:00
Eric Schultz 0c5a36741a webgui updates for 6.3.0-rc9 2017-01-27 10:23:44 -06:00
gfjardim 962d8494d9 Avoid wget to cache plugin files and postpone plugin updates 2016-12-18 12:15:16 -02:00
bergware 429ec85b18 Updated PHP to preferred "elseif" single statement 2016-10-29 09:31:42 +02:00
bergware c60efc66ba Replace array() notation with PHP preferred square brackets [] 2016-10-24 09:45:25 +02:00
bergware d76573653a Replace fixed path with docroot variable 2016-10-24 09:44:19 +02:00
bergware 3a08bee756 Update copyright [7] 2016-06-26 11:53:24 +02:00
bergware e7032eaff3 Update copyright [6]
2005 it is....
2016-06-14 13:31:56 +02:00
bergware 7fca8aeaa9 Update copyright [4] 2016-06-13 08:22:05 +02:00
bergware 1b343a7e61 Update copyright [3]
They keep coming...
2016-06-13 08:19:46 +02:00
bergware 94ebb0222e Plugin manager: added unRAID min and max version attributes 2016-04-30 10:46:08 +02:00
Eric Schultz 58e15b6ca5 Force show lsof port numbers to get emhttp port 2016-03-03 19:04:07 -08:00
Eric Schultz 9482eb39a3 Merge upstream webgui changes from Ronald 2016-03-03 13:39:57 -08:00
Eric Schultz 30b8cac7a2 Fix: plugin script clean up tmp file and exit when a download fails + added failure reason 2016-01-20 23:03:44 -08:00
Eric Schultz 8095de8759 merge ronalds changes from upstream + some vm and dashboard fixes 2016-01-12 19:59:16 -08:00
Eric Schultz 30ca111094 initial commit 2015-10-24 10:17:28 -07:00