aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
AgeCommit message (Collapse)Author
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
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