aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
AgeCommit message (Collapse)Author
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
2009-08-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-17Closes #982: Object limit maximum raised.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3216 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-08Refs #946: Improved documentation on enable/disable/reorder plugin commandsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3195 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-08Refs #968 & #946: Tidied filepath cache stuff by placing them in function calls.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3194 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-02Closes #945: enable/disable_plugin now updates $ENABLED_PLUGINS_CACHEmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3186 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Minor tweaksmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3038 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Closes #831: Plugin view location is now cached in a file in dataroot and is ↵marcus
invalidated on upgrade and plugin enable/disable/reorder. This means that views no longer have to be discovered on boot - reducing file IO from crazy amounts to 1. This also helps make adding new plugins a linear event. git-svn-id: https://code.elgg.org/elgg/trunk@3025 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-27Enable all / disable all functionality addedmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2982 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-19Closes #394: May now specify elgg_version in the manifest to specify a ↵marcus
minimum version of elgg required. git-svn-id: https://code.elgg.org/elgg/trunk@2811 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-18Helping plugin developers by no longer suppressing parsing errors in plugins.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2793 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-04Moves access permissions references over to using the ACCESS_* constants ↵ben
defined in access.php. Refs #687 git-svn-id: https://code.elgg.org/elgg/trunk@2639 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-21Closes #700: If a plugin doesn't physically exist then it is deleted.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2594 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-19Added user to user settingsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2583 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-19Refs #697: Now using plugin hook so one can do live validation of valuesmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2582 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-19Closes #697: Events triggered when plugin settings are updated.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2580 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-12-30Closes #608: Placing a file called "disabled" in mod now disables all ↵marcus
plugins, allowing easier recovery of an elgg site with screwed up modules. git-svn-id: https://code.elgg.org/elgg/trunk@2521 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-20Refs #571. Fixes #569, #570: marcus
* Plugin functions set to use private data store. * Fixed some db queries * Modified plugin class overriding get/set functions git-svn-id: https://code.elgg.org/elgg/trunk@2475 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-14* Introducing get_loggedin_user() and get_loggedin_userid()marcus
* ACLs now using get_loggedin_user* * Some logic cleaned up * Some "Undefined..." messages cleaned up git-svn-id: https://code.elgg.org/elgg/trunk@2459 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-28Views are now more granular.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2331 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-20Important fix for deleted plugins.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2282 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-16You can now reorder plugins.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2274 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-30Actually, bad idea...marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2153 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-30Events now triggered on plugin enable/disablemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2152 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-17Optimised plugin query.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2095 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-17Removed old gunkmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2093 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Adjusted contributors file.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1806 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Standardised plugin loadingben
git-svn-id: https://code.elgg.org/elgg/trunk@1472 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Improvements to get_contextben
git-svn-id: https://code.elgg.org/elgg/trunk@1466 36083f99-b078-4883-b0ff-0f9b5a30f544