aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggPluginPackage.php
AgeCommit message (Collapse)Author
2011-10-02Fixes #3915. Added ElggPlugin->getFriendlyName() to check for ↵Brett Profitt
manifest->getName() first, then for plugin ID. Added better descriptions for plugin activation errors.
2011-08-27Fixes #3434. Manifests are checked more carefully on anything that checks ↵Brett Profitt
deps. Disabling plugins with invalid manifests from admin page.
2011-05-24Fixes #3467. Fixed bugs in priority deps. Can now disable active plugins ↵brettp
with unmet dependencies. git-svn-id: http://code.elgg.org/elgg/trunk@9111 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-05-09Fixes 3426. Not using a horrible variable name and fixing the bug created by it.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9057 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-27Refs #3362. Plugins don't check deps upon boot. Made package and manifest ↵brettp
private properties of ElggPlugin and added ->getPackage() and ->getManifest(). git-svn-id: http://code.elgg.org/elgg/trunk@9030 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-25Fixes #2899, #2870. Added README.txt, CHANGES.txt, COPYRIGHT.txt, ↵brettp
LICENSE.txt, and INSTALL.txt as markdown files for plugins. Added page handler to parse and serve them. Added links in plugin admin. Refs #3236. Problems with displaying parsed markdown because of missing parts of the admin theme's CSS. git-svn-id: http://code.elgg.org/elgg/trunk@9022 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-26Fixes typo in ElggPluginPackage constructor: ↵cash
https://github.com/lorea/Elgg/commit/ba3fab541d87af535e6c6c33096591e4fd30ba57 git-svn-id: http://code.elgg.org/elgg/trunk@8848 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-14Fixes #2928: Invalid plugins are shown on the advance page with details ↵brettp
about the problem and a link to the docs. git-svn-id: http://code.elgg.org/elgg/trunk@8709 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-18Fixes #2945, Refs #2946. Plugins that require priority on an uninstalled ↵brettp
plugin don't crash the plugins admin. git-svn-id: http://code.elgg.org/elgg/trunk@8283 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-09Refs #2874: Using elgg_get_plugins() instead of get_installed_plugins().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8084 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Refs #2543: Core uses the new functions from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Fixes #2863: Can now use all 6 dep types with conflicts.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8071 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Added suggests to the plugins deps system. It parallels the requires system, ↵brettp
but doesn't affect if the plugin can be enabled and only shows up in the deps table on the advanced view. git-svn-id: http://code.elgg.org/elgg/trunk@8070 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-05Fixes #2852: Checking other plugins' conflicts to see if plugin is able to ↵brettp
be activated in ElggPluginPackage->checkDependencies(). Some language clarification in admin panel. git-svn-id: http://code.elgg.org/elgg/trunk@8034 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Renamed 'name' to 'plugin' for priority req. Updated unit tests and docs.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8019 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Added new priority 'requires' for plugin dep system. You can now say that a ↵brettp
plugin is required to be after / before another plugin in the system. git-svn-id: http://code.elgg.org/elgg/trunk@8016 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Fixes #2820, Fixes #2823. Using elgg_get_plugins() in ↵brettp
elgg_get_plugins_provides(). Fixed plugin conflicts system. Removed cruft from ElggPluginPackage. Fixed deprecated get_installed_plugins() to honor the type requested. git-svn-id: http://code.elgg.org/elgg/trunk@8010 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-03changed elgg_get_plugin_path() to elgg_get_plugins_path()cash
git-svn-id: http://code.elgg.org/elgg/trunk@8001 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-07Refs #2781: Checking if a dir was passed as a plugin package. Need to do ↵brettp
this to allow packages to be loaded outside of plugin_dir. git-svn-id: http://code.elgg.org/elgg/trunk@7860 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-07Refs #2781 path checking in ElggPluginPackage constructor should work for ↵cash
both *nix and Windows now git-svn-id: http://code.elgg.org/elgg/trunk@7854 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-06Fixes #2774 - fixes several E_NOTICE issues - mostly due to accessign array ↵cash
indexes git-svn-id: http://code.elgg.org/elgg/trunk@7844 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-05Fixes #2760. Refs #2759. Updated plugin admin actions to use the new system. ↵brettp
Added plugin dependency views in admin. ElggPluginPackage->checkDependencies() now returns the detected value. git-svn-id: http://code.elgg.org/elgg/trunk@7838 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-03Removed experimental duplicate code from ElggPlugin.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7822 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-02Fixes #1986, #2170, #2225, #2759. Integrated ElggPluginPackage and ↵brettp
ElggPluginManifest with ElggPlugin. System now uses ElggPlugin objects to determin plugins. Order is stored in private settings. This absolutely requires running upgrade.php. git-svn-id: http://code.elgg.org/elgg/trunk@7817 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-14Cleaned up constructor logic for ElggPluginPackage. Better detection of ↵brettp
invalid paths. git-svn-id: http://code.elgg.org/elgg/trunk@7614 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-07Removed leading _ in private var names.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7551 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-06Renamed 'elgg' manifest requirment to 'elgg_version' to be more in line with ↵brettp
the current options. Removed assignments in if statements. 1.7 manifest files properly show elgg_version as a requirement. git-svn-id: http://code.elgg.org/elgg/trunk@7550 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-03Refs #1986 #2170 #2225. Added semantic manifest.xml support and unit tests. ↵brettp
Also added plugin dependencies system. See engine/tests/test_files/plugin_18/manifest.xml for examples. Not closing tickets pending discussion. git-svn-id: http://code.elgg.org/elgg/trunk@7512 36083f99-b078-4883-b0ff-0f9b5a30f544