aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
AgeCommit message (Collapse)Author
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
2008-07-10Fixed issue with get_plugin_name and pagehandlers.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1383 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-30Refs #102 - Speculative fixmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1206 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-24Refs #76: User settings page (to Elgg Classic standard) marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1092 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-23git-svn-id: https://code.elgg.org/elgg/trunk@1072 ↵marcus
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-23Refs #76: User settings page (to Elgg Classic standard). Committing some ↵marcus
work before shutting down for the day. git-svn-id: https://code.elgg.org/elgg/trunk@1068 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-20Added licence examplemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1037 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-20git-svn-id: https://code.elgg.org/elgg/trunk@1032 ↵marcus
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-20Closes #66: Per site plugin settings configuration panel. marcus
Use the same technique as edit pages on widgets, i.e. 1) Create a new view in your plugins view/default called settings/PLUGINNAME/edit Where PLUGINNAME is the plugin directory, eg "river" or "profile". 2) Place your edit code in edit.php, fields should save to params[fieldname]. 3) The view will be passed $vars['entity'] which holds any configuration values already set in the metadata. Note. Settings are PER SITE. git-svn-id: https://code.elgg.org/elgg/trunk@1031 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-20Closes #20: Plugin management and config panel marcus
http://trac.elgg.org/elgg/ticket/20 git-svn-id: https://code.elgg.org/elgg/trunk@1027 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-20Further fixes #59marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1024 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-20Bypass plugin loading disable codemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1022 36083f99-b078-4883-b0ff-0f9b5a30f544