aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/group.php
AgeCommit message (Collapse)Author
2013-05-30fixed: only returning groups in get_user_membership (as documented)Jerome Bakker
2013-04-19Fixes #5367 returning all groups that a user belongs to - need to deprecate ↵Cash Costello
this function
2013-02-02Merge pull request #398 from jeabakker/#4880Steve Clay
#4880 - incorrect usage of elgg_get_entities_* parameters
2012-12-18Merge branch 'pr-380' into 1.8Brett Profitt
2012-12-08Fixes #4806 make the create_<subtype>_entity() functions privatecash
2012-10-03correct singual usage of type in elgg_get_entities_* functionsJerome Bakker
2012-09-07Better logic for when to forward to loginSteve Clay
2012-09-07Fixes #4789: group_gatekeeper() and river hide closed/invisible group ↵Steve Clay
content more reliably
2012-02-09Fixes #4361 corrects forwarding logic for closed groupsCash Costello
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