summaryrefslogtreecommitdiff
path: root/classes/User_group.php
AgeCommit message (Collapse)Author
2010-10-13better deletion of related objects in User_group::delete()Evan Prodromou
2010-10-12Improve cache-friendliness of user_group->delete().Brion Vibber
Doesn't clear all possible cached entries, but this should get the ones that matter most: lookups by id, nickname, and alias. This should ensure that if a group name gets reused as a new group or alias, it should work properly. There are some user-visible areas that aren't clear such as the 'top groups' lists on the GroupsAction sidebar; if a deleted group appears in those lists it'll go away within an hour when the cached query expires.
2010-10-12Cascading deletion for user_group; doesn't yet work properly with caching.Brion Vibber
2010-09-28* i18n/L10n and translator documentation updates.Siebrand Mazeland
* whitespace and indentation updates
2010-07-29* mark a few message for translationSiebrand Mazeland
* add translator documentation
2010-06-16- More useful group info from api/statusnet/group/showZach Copley
- Add statusnet:group_info tag to group Atom feeds
2010-03-12Merge commit 'origin/testing' into 0.9.xBrion Vibber
2010-03-12Scrub all atom output with common_xml_safe_str()Zach Copley
2010-03-12Add id and updated elements to atom sourceZach Copley
2010-03-04Merge commit 'origin/testing' into 0.9.xBrion Vibber
Conflicts: lib/action.php lib/adminpanelaction.php
2010-03-03Avoid notice on local group creation when uri isn't passed in at create time ↵Brion Vibber
(needs to be generated)
2010-03-03Use poster's subscribed groups to disambiguate group linking when a remote ↵Brion Vibber
group and a local group exist with the same name. (If you're a member of two groups with the same name though, there's not a defined winner.)
2010-03-02Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-02Dropped deprecated timestamp-based 'since' parameter for all API methods. ↵Brion Vibber
When it sneaks in it can cause some very slow queries due to mismatches with the indexing. Twitter removed 'since' support some time ago, and we've already removed it from the public timeline, so it shouldn't be missed.
2010-02-27uri -> URI in interface textSiebrand Mazeland
2010-02-25Rationalize group activity stuffZach Copley
2010-02-25method for getting a group's URIEvan Prodromou
2010-02-25save mainpage element for groupsEvan Prodromou
2010-02-25Add 'mainpage' to User_groupEvan Prodromou
Add the mainpage attribute to user_group objects.
2010-02-25modify group actions so they use Local_group to look up by nicknameEvan Prodromou
2010-02-24Make user_group able to handle remote groupsEvan Prodromou
We add a local_group table to store data about local groups. It has the unique key for nickname, so /group/<nickname> looks up here. Updated DB data object classes and data files.
2010-02-23OStatus group delivery initial implementation.Brion Vibber
- added rel="ostatus:attention" links for group delivery - added events for plugins to override group profile/permalink pages - pulled Notice::saveGroups up to save-time so we can override; it's relatively cheap and gives us a clean list of target groups for distrib time even with customized delivery. - fixed notice::getGroups to return group objects as expected - added some doc on new parameters to Notice::saveNew - 'groups' list of group IDs to push to in place of parsing - messages that come in via PuSH and contain local group targets are delivered to local group members - messages that come in via PuSH and contain remote group targets are delivered to local members of the remote group Todo: - handle group posts that only come through Salmon - handle conflicts in case something comes in both through Salmon and PuSH - better source verification - need a cleaner interface to look up groups by URI - need a way to handle remote groups with conflicting names
2010-02-12Initial upgraded Atom output for group timelinesZach Copley
2010-02-09OStatus partial support for group subscriptions:Brion Vibber
* detection of group feeds is currently a nasty hack based on presence of '/groups/' in URL -- should use some property on the feed? * listing for the remote group is kinda cruddy; needs to be named more cleanly * still need to establish per-author profiles (easier once we have the updated Atom code in) * group delivery probably not right yet * saving of group messages still triggering some weird behavior Added support for since_id and max_id on group timeline feeds as a free extra. Enjoy!
2009-11-18Consolidate group creation into static function in User_groupEric Helgeson
2009-11-08Restructure theme.php to define a class ThemeEvan Prodromou
For various reasons, it's nicer to have a class for theme-file paths and such. So, I've rewritten the code for determining the locations of theme files to be more OOPy. I changed all the uses of the two functions in the module (theme_file and theme_path) to use Theme::file and Theme::path respectively. I've also removed the code in common.php that require's the module; using a class means we can autoload it instead.
2009-08-21Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: actions/updateprofile.php actions/userauthorization.php classes/User_group.php index.php install.php lib/accountsettingsaction.php lib/logingroupnav.php
2009-08-21can set group desc limit to unlimited without resetting global limitEvan Prodromou
2009-08-21allow configurable length for user group descriptionEvan Prodromou
2009-08-21data classes allow >140c in user group descriptionsEvan Prodromou
2009-08-07Implemented the list_all and list groups API methods as defined at ↵Craig Andrews
http://laconi.ca/trac/wiki/ProposedGroupsAPI Made the Autocomplete plugin also autocomplete groups
2009-07-15use quote identifiers on the user tableBrenda Wallace
2009-06-29show section with admins in sidebar of groupEvan Prodromou
2009-06-25break up big inbox queries into lots of small onesEvan Prodromou
2009-06-17Add design_id to User_groupZach Copley
2009-06-14Link and distribute notices tagged for a group aliasEvan Prodromou
Correctly link and distribute notices tagged for a group alias. Added a helper function, getForNickname(), to User_group, to make it easier to get a group by its nickname or aliases.
2009-06-14Code for adding and saving group aliasesEvan Prodromou
Added code to add and save group aliases. Like tags, aliases are free-texted in to the group admin page. configurable max number of aliases, default is three.
2009-06-14Allow users to be unblocked from a groupEvan Prodromou
List users who are blocked from joining a group. Add a form to let them be unblocked. Add an action that removes the block. Includes changes to group and groupblock classes.
2009-06-14The rest of the things necessary to make group block workEvan Prodromou
Link to the group block form. Hide join button if the current user is blocked.
2009-06-08Merge branch '0.7.x' into 0.8.xEvan Prodromou
Conflicts: classes/Notice.php classes/Profile.php lib/common.php lib/util.php scripts/getvaliddaemons.php scripts/stopdaemons.sh
2009-05-29Ticket #1567 - Change max_id to return notices <= ID instead of < IDZach Copley
2009-05-29Ticket #1567 - API: Change before_id parameter to max_idZach Copley
2009-05-22some class files had x bit setEvan Prodromou
2009-05-01Make user group stream use IDsEvan Prodromou
2009-02-06Move common_avatar_* functions to AvatarEvan Prodromou
Moved the common_avatar_* functions to the Avatar class. Typically either as methods on the object or as static methods. Replaced all the uses of the functions in other modules.
2009-02-04Fixed #1134; Consolidated image scaling functions.Sean Murphy
2009-02-04Fix for #1057; group logo transparecy (and pixilation)Sean Murphy
2009-02-01Fixes #1088: Show number of group members. Unlike the bugreport requested, ↵Adrian Lang
the stats are displayed similar to userstream stats in a section in the sidebar. Additionaly, I removed a redundant notnull if check in ShowgroupAction->showMembers, fixed a SQL error in User_group->getMembers when no limit is passed, removed return value storing of void function and added an usage of Profile->getBestName.
2009-01-28whitespace in User_groupEvan Prodromou
2009-01-23Upload logos for groupsEvan Prodromou