aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggPlugin.php
AgeCommit message (Collapse)Author
2013-02-09Doc fixes and inline type hints for variables (big static analysis cleanup)Steve Clay
2013-01-25Fixes #4987 removed unnecessary codecash
2012-12-17Merge pull request #446 from mrclay/4929-18-entitiesoptBrett Profitt
Fixes #4929: Optimize elgg_get_entities and add attribute loader
2012-11-26Refs #4933: cache in plugin constructor, remove $CONFIGSteve Clay
2012-11-26Fixes #4929: Optimize elgg_get_entities and add attribute loaderSteve Clay
2012-09-03Fixes #4290: adds volatile metadata cache, unit tests, and pre-loading for ↵Steve Clay
fetched entities
2012-05-14Refs #4313. Loading ElggPlugin classes with the fully joined objects table.Brett Profitt
This cuts the number of db queries in half for loading plugins with elgg_get_plugins(). Will look to adapt these techniques to other classes in 1.8.6.
2012-01-08coding standards fixes - commentsCash Costello
2011-10-08Fixes #3743 returning bool instead of int when setting a private settingCash Costello
2011-10-02Fixes #3915. Added ElggPlugin->getFriendlyName() to check for ↵Brett Profitt
manifest->getName() first, then for plugin ID. Added better descriptions for plugin activation errors.
2011-07-06Fixes #2204 standardized the hooks/overrides for plugin settings and ↵Cash Costello
usersettings
2011-07-02added logging to the web page footercash
2011-05-19Fixes #3462 empty classes directory is no longer treated as an errorcash
git-svn-id: http://code.elgg.org/elgg/trunk@9100 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-27Refs #3362. Plugins don't check deps upon boot. Made package and manifest ↵brettp
private properties of ElggPlugin and added ->getPackage() and ->getManifest(). git-svn-id: http://code.elgg.org/elgg/trunk@9030 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-25Fixes #2899, #2870. Added README.txt, CHANGES.txt, COPYRIGHT.txt, ↵brettp
LICENSE.txt, and INSTALL.txt as markdown files for plugins. Added page handler to parse and serve them. Added links in plugin admin. Refs #3236. Problems with displaying parsed markdown because of missing parts of the admin theme's CSS. git-svn-id: http://code.elgg.org/elgg/trunk@9022 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-25Renamed ElggPlugin->canIncludeFile() to ->canReadFile() and am using ↵brettp
is_readable() instead of file_exists(). git-svn-id: http://code.elgg.org/elgg/trunk@9021 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-16Fixes #3310. Applied lie2815's patch to use activate.php and deactivate.php ↵brettp
instead of manifest on_de/activate fields in plugins. git-svn-id: http://code.elgg.org/elgg/trunk@9002 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-14Fixes #2928: Invalid plugins are shown on the advance page with details ↵brettp
about the problem and a link to the docs. git-svn-id: http://code.elgg.org/elgg/trunk@8709 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-14Refs #3079: Making sure elgg_get_max_plugin_priority() returns 1 instead. ↵brettp
Fixed problems when bootstrapping elgg plugins. Will perform tests against MySQL 5.5 when I have a real internet connection. git-svn-id: http://code.elgg.org/elgg/trunk@8706 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-13Refs #3079: Better checks in ElggPlugin::setPriority() to avoid priorities ↵brettp
of 0. Still requires testing for MySQL 5.5. git-svn-id: http://code.elgg.org/elgg/trunk@8693 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-27Fixes #3011. on_activate and on_deactivate work for plugins now. Updated the ↵brettp
categories plugin to use it. git-svn-id: http://code.elgg.org/elgg/trunk@8507 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-09Fixed typo that break ElggPlugin::isActive().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8083 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-06Fixed bug when trying to set a plugin's priority to 1 without using "first."brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8048 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-05using setPrivateSetting() and getPrivateSetting() instead of procedural ↵cash
functions git-svn-id: http://code.elgg.org/elgg/trunk@8031 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Fixed typo that caused ElggPlugin->path not to be correctly set when loading ↵brettp
from a plugin id. git-svn-id: http://code.elgg.org/elgg/trunk@8020 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-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-01-22fixed bug with plugin settings because of assignment operator confusioncash
git-svn-id: http://code.elgg.org/elgg/trunk@7896 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-22Fixes #2812 - correct check for guid nowcash
git-svn-id: http://code.elgg.org/elgg/trunk@7894 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-22fixed backward compatibility issue with $CONFIG in plugins' start.phpcash
git-svn-id: http://code.elgg.org/elgg/trunk@7893 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-07Refs #2781: Using same technique to check for full plugin path in ElggPlugin.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7859 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-03Added ElggPlugin::getPath().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7821 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-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-20Refs #2629 This should fix this ticket. Need to remove initialise_attributes ↵cash
from any class updated with new method and add call to initializeAttributes in ElggData for those that are not updated. git-svn-id: http://code.elgg.org/elgg/trunk@7389 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Marking initialise_attributes as deprecated in ElggPluginewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7375 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-09-22Converted line endings to unix.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6957 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-22Refs #2450: Documented a few more classes.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6956 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