aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
AgeCommit message (Collapse)Author
2012-06-14rewrote the language caching - now not calling register_translations() if we ↵Cash Costello
can load the language data from cache
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-02-07Fixes #3613 added system message for admins when plugins are disabledCash Costello
2012-01-30fixed typo in plugin codecash
2012-01-21moved cache loading out of plugin codeCash Costello
2012-01-21better location for system cache in data directoryCash Costello
2012-01-21switched the function names to system cacheCash Costello
2012-01-08most of the comments in the engine now past the snifferCash Costello
2012-01-01Fixes #3992 fixed notice when loading plugins for first timeCash Costello
2011-11-01standardized the elgg_get_entities* function @return documentationcash
2011-10-30Fixes #2821. Plugins that are active and cannot be started emit an admin notice.Brett Profitt
2011-10-23Fixes #3991. Populating provided_by in elgg_get_plugins_provides().Brett Profitt
2011-10-19fixed minor errors in the documentation in plugins and filestore libCash Costello
2011-10-08Fixes #3743 returning bool instead of int when setting a private settingCash Costello
2011-10-08Fixes #3936 added @access private to internal functionsCash Costello
2011-09-29Fixes #3827 updated documentation on @return for elgg_get_entities* functionscash
2011-09-10made the documentation of the plugin settings code a little clearerCash Costello
2011-08-27Fixes #3434. Manifests are checked more carefully on anything that checks ↵Brett Profitt
deps. Disabling plugins with invalid manifests from admin page.
2011-04-27Removed stray test code.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9032 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-27Refs #3362. Removed use of $show_bad in elgg_get_plugins().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9031 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-03-17Fixed a typo that broke ignore access. That was fun to track down >:Obrettp
git-svn-id: http://code.elgg.org/elgg/trunk@8740 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-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