aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
AgeCommit message (Collapse)Author
2011-09-10made the documentation of the plugin settings code a little clearerCash Costello
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-04-27Removed stray test code.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9032 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-27Refs #3362. Removed use of $show_bad in elgg_get_plugins().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9031 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-17Fixed a typo that broke ignore access. That was fun to track down >:Obrettp
git-svn-id: http://code.elgg.org/elgg/trunk@8740 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-14Refs #3079: Making sure elgg_get_max_plugin_priority() returns 1 instead. ↵brettp
Fixed problems when bootstrapping elgg plugins. Will perform tests against MySQL 5.5 when I have a real internet connection. git-svn-id: http://code.elgg.org/elgg/trunk@8706 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-10Fixes #2228: Major cleanup of urls -- remove leading pg/ and trailing / from ↵ewinslow
most urls in core and plugins git-svn-id: http://code.elgg.org/elgg/trunk@8653 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Updated egef_plugin_user_settings() to accept plugin_id instead of plugin_name.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8254 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Fixes #2808: elgg_get_array_value => elgg_extractewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Added elgg_get_entities_from_plugin_user_settings(). Added a name_prefix ↵brettp
option to elgg_get_entities_from_private_settings(). git-svn-id: http://code.elgg.org/elgg/trunk@8136 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Fixes #2888: Plugins are checked for validity in elgg_get_plugins(). It ↵brettp
won't return broken plugins unless specifically requested. git-svn-id: http://code.elgg.org/elgg/trunk@8121 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-09Refs #2874: More removal of deprecated function user in plugins systems.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8089 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-09Refs #2869, #2874. Renamed ElggPlugin::remove* functions to unset*. Added ↵brettp
ElggPlugin::getAllUserSettings() and getAllSettings(). Deprecated all plugin settings and user setting functions with correctly named functions. git-svn-id: http://code.elgg.org/elgg/trunk@8088 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-09Refs #2869: Fixed problems when deleting user settings using wrapper function.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8085 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Fixes #2858: is_plugin_enabled() is deprecated by elgg_is_active_plugin() ↵brettp
instead of ElggPlugin::isActive(). git-svn-id: http://code.elgg.org/elgg/trunk@8081 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Fixes #2869: User settings for plugins work again.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8080 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-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-07fixed typo in plugin librarycash
git-svn-id: http://code.elgg.org/elgg/trunk@8059 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-05Fixed a problem with detecting conflicting plugin versions. Not showing a ↵brettp
stray = when versions aren't specified in conflicts and requires. git-svn-id: http://code.elgg.org/elgg/trunk@8022 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-04Fixed problems showing detected values for plugin conflicts. Clarified ↵brettp
language for what the first value column means. git-svn-id: http://code.elgg.org/elgg/trunk@8017 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-02-01Moved functions from export.php - river.php into deprecated filesewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7980 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Reversing 7975ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7978 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Refs #2839: moved deprecated functions from access.php - ↵ewinslow
private_settings.php to deprecated.php. Still have to do relationships.php - xml.php. Deleted documentation for these functions since 1) it was using up precious bytes, and 2) documentation should not be needed since people should not be trying to use these if they are using 1.8, and 3) I assume the documentation will exist as archived 1.7 docs. git-svn-id: http://code.elgg.org/elgg/trunk@7975 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-04Fixed problem removing plugin entities if physical files were deleted.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7825 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-03Reindexing plugin priorities after regenerating entities.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7820 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-03Fixes #2763. Better normalizing for unused 1.7 manifest options. Added ↵brettp
logging when ElggPluginPackage can't be loaded. Better disabling of deleted physical plugins. git-svn-id: http://code.elgg.org/elgg/trunk@7819 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-30fixed a few issues with the admin backend - need to look into better ways to ↵cash
structure admin sub views git-svn-id: http://code.elgg.org/elgg/trunk@7764 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-27fixing merge of plugin code [7727] - it blew away the plugin class loading codecash
git-svn-id: http://code.elgg.org/elgg/trunk@7730 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-27Refs #2635, #2643. Merged cache changes into trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7727 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
2010-12-01Fixes #1457. Added optional status param for get_installed_plugins()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7488 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-30Fix typo in previous.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7482 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-30Refs #1986 #2170 #2225 Added ElggPluginManifest, ElggPluginManifestParser, ↵brettp
and its parser classes for 1.7 and 1.8 style manifests. Changed load_plugin_manifest() to use new parser. Added initial unit tests. git-svn-id: http://code.elgg.org/elgg/trunk@7481 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-24Fixes #2655: Converted register_action to elgg_register_action throughout coreewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7432 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-22Refs #2673 moved changes into trunk from 1.7 branchcash
git-svn-id: http://code.elgg.org/elgg/trunk@7417 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-10Fixes #2367: With fear and trepidation, converting events/plugin hooks to ↵ewinslow
use elgg_ prefixed versions git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1320. Updated core to use elgg_echo()'s native string replacement.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7227 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30fixed spelling mistake in commentcash
git-svn-id: http://code.elgg.org/elgg/trunk@7134 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-28Standardized code in all of core, not including language files, tests, or ↵brettp
core mods. git-svn-id: http://code.elgg.org/elgg/trunk@7124 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544