summaryrefslogtreecommitdiffstats
path: root/model/channel_member.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-8796: Full implementation of "Schemes" in Store/Model/App layers. (#8357)George Goldberg2018-04-201-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Scheme model and stub store. * Port ChannelStore to be Scheme aware. * Make almost all the API/APP layer work with ChannelSchemes. Only thing still hacky is UpdateChannelMemberRoles(). * Add basic SchemeStore implementation. * Migrate UpdateChannelMemberRoles properly and fix tests. * Update store tests and mocks so they work. * Include creating default roles in Scheme create store function. * Implement role deletion and start scheme deletion. * Only use non-deleted roles for authorization. * Add GetByScheme method to Team store. * Add GetChannelsByScheme. * Update store mocks. * Implement scheme deletion in the store. * Rename is valid function. * Add offset and limit to queries to fetch teams and channels by scheme. * Fix queries. * Implement scheme awareness in Team store and add a migration. * Tidy up ChannelStore mapping functions and add exhaustive unit tests. * Add all missing i18n. * Proper tests for TeamStore internal functions and fix them. * Make additional TeamMember fields nullable. * Make new ChannelMember fields nullable. * Create new nullable columns without defaults. * Make new fields in large tables nullalble. * Fix empty list of TeamMembers. * Deduplicate SQL queries. * Fix spelling. * Fix review comment. * More review fixes. * More review fixes.
* unnamed return (#8170)Chris2018-01-301-36/+13
|
* Model: NewLocAppError -> NewAppError (#7450)George Goldberg2017-09-151-10/+7
|
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* Implement some channel endpoints for APIv4 (#5767)Joram Wilander2017-03-161-0/+20
|
* Implement some team endpoints for APIv4 (#5745)Joram Wilander2017-03-131-5/+5
| | | | | | | | | | * Implement PUT /teams/{team_id} endpoint for APIv4 * Implement GET /users/{user_id}/teams/{team_id}/unread endpoint for APIv4 * Implement POST /teams/{team_id}/members/ids endpoint for APIv4 * Remove debug statement
* PLT-3193 Add channel notification preferences for push and email noti… (#5500)enahum2017-02-231-4/+24
| | | | | | | | | | | | | | | | * PLT-3193 Add channel notification preferences for push and email notifications * unit tests, model validation and localization * Feedback review * Adding back allowFromCache check * Setting push and email to use default settings * Move props as constants * address feedback
* Fix teams unread count (#4848)enahum2016-12-211-0/+8
| | | | | | | | * Fix teams unread * Moving logic out of the store * fix unit test
* PLT-4430 improve slow channel switching (#4331)enahum2016-10-271-0/+21
| | | | | | | | | | * PLT-4430 improve slow channel switching * Update client side unit tests * Convert getChannelsUnread to getMyChannelMembers and address other feedback * Pull channel members on websocket reconnect
* Modifying permissions system. (#3897)Christopher Speller2016-09-131-7/+4
|
* PLT-7: Refactoring models to use translations (chunk 6)Elias Nahum2016-01-251-5/+7
| | | | - Add spanish translations
* Changing SpinPunch to Mattermost in copyrightChristopher Speller2015-10-081-1/+1
|
* Moved ChannelMember.NotifyLevel into ChannelMember.NotifyPropshmhealey2015-10-011-3/+3
|
* Replaced ChannelMember.MarkUnreadLevel with ChannelMember.NotifyPropshmhealey2015-10-011-11/+23
|
* Removed deprecated constants related to quiet modehmhealey2015-09-301-3/+1
|
* Removed UI for quiet mode and added UI to set when a channel will be marked ↵hmhealey2015-09-301-14/+25
| | | | unread in the sidebar
* Added 'default' option to channel notification settings that just uses the ↵hmhealey2015-09-301-2/+7
| | | | user's notification level
* fixes mm-1316 improves channel notifications UI and updates channellist etagJoramWilander2015-06-291-0/+5
|
* first commit=Corey Hulen2015-06-141-0/+75