aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
AgeCommit message (Collapse)Author
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
2010-10-14Fixes #2547: Plugins can now participate in autoloading classes.ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7074 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-15Refs #2220: Pulled remaining classes out of lib files. Core classes now ↵ewinslow
autoloaded via __autoload(). git-svn-id: http://code.elgg.org/elgg/trunk@6941 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-06Refs #2220: Pulled most classes / interfaces out of lib files (except ↵ewinslow
query.php and exception.php) into "classes" folder. Replaced inline classes with "require_once" statements for now. Ran unit tests to verify functionality before committing. git-svn-id: http://code.elgg.org/elgg/trunk@6908 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6812:6837 from 1.7 branch to trunk (skipping some changes to plugins ↵cash
like groups and wire) git-svn-id: http://code.elgg.org/elgg/trunk@6851 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6701:6756 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6849 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-28Refs #2115: Added elgg_is_valid_view_type(). Currently calculated at each ↵brettp
load but will want to cache like view paths. Cleaned up autoregister_views() and load_plugins() code. Added spaces between function params in numerous places. C'mon guys...spaces are free. git-svn-id: http://code.elgg.org/elgg/trunk@6274 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-05Merged 18_new_admin branch to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5977 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-26Plugins are *required* to have a manifest.xml file.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5883 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-13Creating a function to clear user-specific plugin settings.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@5728 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Added category and name as valid plugin manifest keys/values.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5629 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05load_plugin_manifest() converts multiple keys with the same name into assoc ↵brettp
arrays. git-svn-id: http://code.elgg.org/elgg/trunk@5627 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-08Updated copyright for core plugin manifests.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3923 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-29Fixes #1468: Cleaned up logic for enabling and disabling plugins. Checking ↵brettp
for arrays when metadata returns only a single enabled plugin. git-svn-id: http://code.elgg.org/elgg/trunk@3859 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-28Corrected clear_plugin_setting() to only remove a single plugin setting ↵brettp
instead of all setting for a plugin. Added clear_all_plugin_settings() to remove all settings for a plugin. git-svn-id: http://code.elgg.org/elgg/trunk@3853 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-26Fixes #1454: Applied Cash's patch. Bad plugins are automatically disabled ↵brettp
and a notice is displayed instead of breaking the site. git-svn-id: http://code.elgg.org/elgg/trunk@3841 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-05fixed bug introduced in [3608]cash
git-svn-id: http://code.elgg.org/elgg/trunk@3727 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-12fixes #1286 - ElggPlugin get() wasn't handling "0" and returning null insteadcash
git-svn-id: http://code.elgg.org/elgg/trunk@3669 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-03standardized xml.php and fixed output of booleans in xml viewcash
git-svn-id: http://code.elgg.org/elgg/trunk@3616 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-30Removing deprecated function call from find_plugin_settings().nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3608 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Standardized gobs of files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3548 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-31All line endings are now Unix-style.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544