aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/group.php
AgeCommit message (Collapse)Author
2012-04-25Upgraded to Elgg 1.8.4.Sem
2011-10-08Fixes #3936 added @access private to internal functionsCash Costello
2011-09-19forward throws Exception if headers sent. fix for ↵Steve Clay
http://trac.elgg.org/ticket/3765
2011-06-29added @since dates on two functions in group librarycash
2011-06-07Refs #3510, #3418. Merged fix for forwarding after output to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@9141 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-20Fixes #3114 added the rss link back to pagescash
git-svn-id: http://code.elgg.org/elgg/trunk@8784 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-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-26changed elgg_get_page_owner() to elgg_get_page_owner_entity() to be more ↵cash
consistent git-svn-id: http://code.elgg.org/elgg/trunk@7943 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-23Refs #2557 merged fix into trunk from 1.7 branchcash
git-svn-id: http://code.elgg.org/elgg/trunk@7916 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-01Fixes #2561 only triggering join, group event if the add relationship succeededcash
git-svn-id: http://code.elgg.org/elgg/trunk@7799 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-29Fixes #2694 fixed typo in join_group()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7473 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-22Refs #2660: Merged r7409's remove_group_tool_option() to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7411 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2237: Added 'reason' parameter to forward() to allow proper headers ↵ewinslow
and more flexible destinations via plugin hooks. Also made use of this in core gatekeeper functions and in pagehandler.php git-svn-id: http://code.elgg.org/elgg/trunk@7373 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14Fixes #2334: Converted viewtype => listtype and viewtypetoggle => ↵ewinslow
listtypetoggle. Did my best to maintain backwards compatibility but might have missed something... git-svn-id: http://code.elgg.org/elgg/trunk@7311 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-10Fixes #2367: With fear and trepidation, converting events/plugin hooks to ↵ewinslow
use elgg_ prefixed versions git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Moved list_entities_groups to groups.php and deprecated in favor of ↵ewinslow
elgg_list_entities git-svn-id: http://code.elgg.org/elgg/trunk@7232 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #2351: deprecated get_objects_in_group() in favor of ↵ewinslow
elgg_get_entities(). There's nothing the former can do that the latter can't, so it's not worth maintaining. git-svn-id: http://code.elgg.org/elgg/trunk@7228 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1320. Updated core to use elgg_echo()'s native string replacement.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7227 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1411: Deprecated get_entities_from_metadata_groups(_multi) in favor of ↵ewinslow
elgg_get_entities_from_metadata. Added proper deprecation for delete_group_entity. Unsure of version deprecated -- set to 1.6 git-svn-id: http://code.elgg.org/elgg/trunk@7218 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #1439: Using new page_owner functions in all of coreewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7140 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-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-24Refs #2437: Merged [6707] to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6960 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-15Refs #2220: Pulled remaining classes out of lib files. Core classes now ↵ewinslow
autoloaded via __autoload(). git-svn-id: http://code.elgg.org/elgg/trunk@6941 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
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6701:6756 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6849 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5530:5604 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5622 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-01Fixes #1566: Rewriting calls to get_group_members() to use 1.7's constant ↵brettp
for site_guid. git-svn-id: http://code.elgg.org/elgg/trunk@3980 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-22Fixes #1528: Correctly throwing exceptions for objects, groups, and users.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3968 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Fixes #1488: Removed use of deprecated functions in core. brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3947 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Add elgg_deprecated_notice() so we don't have to re-write all the elgg_log() ↵brettp
deprecated notices to register_error()s. Updated current ones to use this. git-svn-id: http://code.elgg.org/elgg/trunk@3874 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-31Deprecated old search functions and views.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3872 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-12closes #1145 - deprecated current "copy constructor" for all entities and ↵cash
implemented a clone method. The clone copies over all metadata but not annotations and private settings. It sets the guid to 0 so saving the cloned entity creates a new database record. The ownership/access of metadata is set during the save and will be the same as that of the entity. git-svn-id: http://code.elgg.org/elgg/trunk@3802 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-21fixed #1087 - is_group_member() now returns boolean values onlycash
git-svn-id: http://code.elgg.org/elgg/trunk@3778 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-08fixes #1287 - users now removed from group acl when leaving group - changed ↵cash
order of event and relationship removal git-svn-id: http://code.elgg.org/elgg/trunk@3741 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-07Moved default search hooks into search mod.brettp
Using MySQL's MATCH ... AGAINST instead of likes for most searches. Changed 'tag' to 'q' while maintaining backward compatibility. git-svn-id: http://code.elgg.org/elgg/trunk@3633 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-06Removed old group search hook.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3626 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-06Added search for group, tags, and users.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3624 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Rewriting core debug messages to be more informative.nickw
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 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-21Fixes #1180: Group join event triggered after joining group. This trigger's ↵brettp
return was never being tested so no overriding could be done. If we decide to test the trigger to stop group joining, groups_write_acl_plugin_hook() will need to be changed... git-svn-id: https://code.elgg.org/elgg/trunk@3438 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-05-28Fixed some typos in group searchmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3313 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-22Closes #1030: Group title and description search added, refs #965marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3300 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-23Closes #980: group_gatekeeper() now has an admin override if the admin is ↵marcus
logged in git-svn-id: https://code.elgg.org/elgg/trunk@3230 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-11Closes 868: Fixes regression introduced in [3119]. Version number bumped.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3153 36083f99-b078-4883-b0ff-0f9b5a30f544