aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
AgeCommit message (Collapse)Author
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
2008-06-20Closes #60: Enable/disable plugins on a site by site basis marcus
http://trac.elgg.org/elgg/ticket/60 git-svn-id: https://code.elgg.org/elgg/trunk@1021 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-20Actually closes #60: Enable/disable plugins on a site by site basis marcus
http://trac.elgg.org/elgg/ticket/60 git-svn-id: https://code.elgg.org/elgg/trunk@1018 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-20Closes #60: Enable/disable plugins on a site by site basismarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1017 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-20Refs #61 - Added ability to find settings for plugins other than the one you ↵marcus
are in. git-svn-id: https://code.elgg.org/elgg/trunk@1013 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-20Closes #61: Enable plugins to store site specific configurations marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1012 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-19Closes #59: Plugin manifest. See register_plugin_manifest() & ↵marcus
register_plugin_manifest_basic(). Ref #20. git-svn-id: https://code.elgg.org/elgg/trunk@1001 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-16Sticky menu items, but also, much more intelligent context detection. Plugin ↵ben
authors need not bother with set_context() any more - the context should be set automatically. This is overruled by page handling settings, if set, which use the first element of the URL to determine context. Fixes #32 git-svn-id: https://code.elgg.org/elgg/trunk@940 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-16More intelligent context detection. Refs #32ben
git-svn-id: https://code.elgg.org/elgg/trunk@939 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-16Registers contexts for each menu item. Refs #32ben
git-svn-id: https://code.elgg.org/elgg/trunk@938 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-05Marcus Povey <marcus@dushka.co.uk>icewing
* Partial internationalisation of exceptions git-svn-id: https://code.elgg.org/elgg/trunk@801 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-08Misja Hoebe <misja@curverider.co.uk> More docstring fixesmisja
git-svn-id: https://code.elgg.org/elgg/trunk@421 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-03Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed language autoload git-svn-id: https://code.elgg.org/elgg/trunk@378 36083f99-b078-4883-b0ff-0f9b5a30f544