aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
AgeCommit message (Collapse)Author
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-08Running plugins' blurb, description, name, and screenshot->description ↵brettp
through elgg_echo(). git-svn-id: http://code.elgg.org/elgg/trunk@8069 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-06fixed some minor documentation issuescash
git-svn-id: http://code.elgg.org/elgg/trunk@8050 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-06moved the count comments and likes functions into the ElggEntity classcash
git-svn-id: http://code.elgg.org/elgg/trunk@8047 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-05Fixes #2559 refs #2475 added ElggEntity:getIconURL() and ↵cash
elgg_view_entity_icon() git-svn-id: http://code.elgg.org/elgg/trunk@8039 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-05supporting private settings before an entity is savedcash
git-svn-id: http://code.elgg.org/elgg/trunk@8032 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-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-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-04I'm a dummy -- getType and getSubtype are taken care of by Loggable...ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8015 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Added type and subtype abstract functions to ElggDataewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8014 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-01-22Fixes #2586 ErrorResult has PHP5 constructor nowcash
git-svn-id: http://code.elgg.org/elgg/trunk@7910 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: Checking if a dir was passed as a plugin package. Need to do ↵brettp
this to allow packages to be loaded outside of plugin_dir. git-svn-id: http://code.elgg.org/elgg/trunk@7860 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-07Refs #2781 path checking in ElggPluginPackage constructor should work for ↵cash
both *nix and Windows now git-svn-id: http://code.elgg.org/elgg/trunk@7854 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-06Fixes #2774 - fixes several E_NOTICE issues - mostly due to accessign array ↵cash
indexes git-svn-id: http://code.elgg.org/elgg/trunk@7844 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-05Refs #2759: Added elgg_version to 1.7 manifest parser.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7837 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-03Removed experimental duplicate code from ElggPlugin.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7822 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
2011-01-02Refs #2490. Using array_key_exists() instead of isset() in get() overrides ↵brettp
to prevent a check for (invalid) metadata with the name of an attribute if that attribute evaluates to !isset(). git-svn-id: http://code.elgg.org/elgg/trunk@7815 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-29page menu using the new menu system - admin menu updatedcash
git-svn-id: http://code.elgg.org/elgg/trunk@7738 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-27improved menu creation for on demand menus and integrated hover menu items ↵cash
into profile owner block git-svn-id: http://code.elgg.org/elgg/trunk@7724 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-27moved most of the code for the user hover menu into the new menu systemcash
git-svn-id: http://code.elgg.org/elgg/trunk@7723 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-23Added list groups and list friends class methods - will be handy for federationcash
git-svn-id: http://code.elgg.org/elgg/trunk@7715 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-23added a class math to get a user's groups and cleaned up some documentationcash
git-svn-id: http://code.elgg.org/elgg/trunk@7714 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-19fixed a few bugs and updated the widget codecash
git-svn-id: http://code.elgg.org/elgg/trunk@7694 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-18half way through converting submenu to new menu code - pages and groups are ↵cash
the two major users left git-svn-id: http://code.elgg.org/elgg/trunk@7669 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-18site nav menu now uses new menu code (and finished the implementation of ↵cash
custom menu items while I was at it - not backward compatible with the previous half finished version) git-svn-id: http://code.elgg.org/elgg/trunk@7668 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-17Refs #2320 added new menu functions and classescash
git-svn-id: http://code.elgg.org/elgg/trunk@7655 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-15Fixes #2728 creating a name for plugins with 1.7 manifests based on ↵cash
hellekin's patch git-svn-id: http://code.elgg.org/elgg/trunk@7638 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-14Cleaned up constructor logic for ElggPluginPackage. Better detection of ↵brettp
invalid paths. git-svn-id: http://code.elgg.org/elgg/trunk@7614 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-13Refs #2226 moving riverdashboard into core - need to clean up riverdashboard ↵cash
plugin and move to plugins repository and update plugins with new river views git-svn-id: http://code.elgg.org/elgg/trunk@7610 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-09Fixes #2721 fixed typo - thanks for the report!cash
git-svn-id: http://code.elgg.org/elgg/trunk@7582 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-07Removed leading _ in private var names.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7551 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-06Renamed 'elgg' manifest requirment to 'elgg_version' to be more in line with ↵brettp
the current options. Removed assignments in if statements. 1.7 manifest files properly show elgg_version as a requirement. git-svn-id: http://code.elgg.org/elgg/trunk@7550 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-03Refs #1986 #2170 #2225. Added semantic manifest.xml support and unit tests. ↵brettp
Also added plugin dependencies system. See engine/tests/test_files/plugin_18/manifest.xml for examples. Not closing tickets pending discussion. git-svn-id: http://code.elgg.org/elgg/trunk@7512 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-29Refs #2668: Deprecated ElggEntity::setContainer() for setContainerGUID()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7474 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-22Fixes #2488 "return" was missing in ElggSite::getObjects() (also updated ↵cash
some documentation) git-svn-id: http://code.elgg.org/elgg/trunk@7423 36083f99-b078-4883-b0ff-0f9b5a30f544