summaryrefslogtreecommitdiffstats
path: root/app/channel.go
Commit message (Collapse)AuthorAgeFilesLines
* PLT-6198: Use added to channel system message on default channels. (#5969)George Goldberg2017-04-041-5/+26
| | | | Use a different sytem message when a user was added to a default channel by someone else than when they joined themselves.
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-041-27/+27
| | | | | | | | | | | | | | | | * Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)" This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47. * Removed automatic configuration of SiteURL * Reverted unintentional config changes * Updated help text * Added link to docs in Site URL warning * Fixed merge conflict
* APIv4 get /channels/{channel_id}/pinned (#5893)Saturnino Abril2017-03-291-0/+8
|
* APIv4 post /channels/ids (#5845)Saturnino Abril2017-03-271-0/+8
| | | | | | * APIv4 post /channels/ids * updated enpoint as /teams/{team_id}/channels/ids
* Implement some channel endpoints for APIv4 (#5846)Joram Wilander2017-03-241-0/+5
| | | | | | | | | | * Add v4 endpoint for getting the channels on a team for a user * Implement PUT /channels/{channel_id}/patch endpoint for APIv4 * Implement POST /teams/{team_id}/channels/search endpoint for APIv4 * Update permission check
* Fix compile error on master (#5813)Joram Wilander2017-03-201-2/+2
|
* Endpoint for APIv4 POST /channels/{channel_id}/members (#5775)Saturnino Abril2017-03-201-0/+25
|
* Merge branch 'release-3.7' into master.George Goldberg2017-03-171-25/+26
|\
| * PLT-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-101-25/+25
| |
* | Implement some channel endpoints for APIv4 (#5767)Joram Wilander2017-03-161-0/+14
| |
* | APIv4 DELETE channels/{channel_id} (#5723)Saturnino Abril2017-03-141-0/+3
| |
* | Implement GET and POST /hooks/outgoing endpoints for APIv4 (#5645)Joram Wilander2017-03-131-1/+1
| |
* | Endpoint for APIv4: GET /team/{team_id}/channels (#5681)Saturnino Abril2017-03-131-0/+8
|/
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-2/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement server changes for group messaging * Majority of client-side implementation * Some server updates * Added new React multiselect component * Fix style issues * Add custom renderer for options * Fix model test * Update ENTER functionality for multiselect control * Remove buttons from multiselect UI control * Updating group messaging UI (#5524) * Move filter controls up a component level * Scroll with arrow keys * Updating mobile layout for multiselect (#5534) * Fix race condition when backspacing quickly * Hidden or new GMs show up for regular messages * Add overriding of number remaining text * Add UI filtering for team if config setting set * Add icon to channel switcher and class prop to status icon * Minor updates per feedback * Improving group messaging UI (#5563) * UX changes per feedback * Update email for group messages * UI fixes for group messaging (#5587) * Fix missing localization string * Add maximum users message when adding members to GM * Fix input clearing on Android * Updating group messaging UI (#5603) * Updating UI for group messaging (#5604)
* Revert "Adding caching to get channel member (#5518)"Christopher Speller2017-02-271-7/+4
| | | | This reverts commit ba028ed74b69bd1dd902344663fbf8ba4f1dfb87.
* Fix channel created WS event (#5552)enahum2017-02-271-0/+1
|
* PLT-5653 Fix Create channel does not show in another device (#5548)enahum2017-02-271-0/+4
|
* Adding caching to get channel member (#5518)Christopher Speller2017-02-241-4/+7
|
* PLT-3193 Add channel notification preferences for push and email notiā€¦ (#5500)enahum2017-02-231-4/+13
| | | | | | | | | | | | | | | | * 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
* Implement a few channel member endpoints for APIv4 (#5444)Joram Wilander2017-02-201-3/+19
| | | | | | | | * Implement POST /channels/members/{user_id}/view endpoint for APIv4 * Implement PUT /channels/{channel_id}/members/{user_id}/roles endpoint for APIv4 * Implement DELETE /channels/{channel_id}/members/{user_id} endpoint for APIv4
* Fix issue with Aurora read replica (#5448)Corey Hulen2017-02-171-0/+30
|
* Remove MakeDirectChannelVisible and add client handling for showing DMs (#5430)Joram Wilander2017-02-151-55/+0
|
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-2/+31
| | | | | | | | | | | | * implement get channels endpoints and updated drivers and unittests * removed channel deletion on tear down, removed manage permission on get channels endpoints, and updated utils to add constant channel length * added constants for user, team and channel length, updated context to use the model functions * make sure team name length should be less than the minimum length and revert underscore to team name validity * changed post test condition from notfound to unauthorized
* Fix unread error (#5390)Joram Wilander2017-02-131-1/+1
|
* Increase performance when receiving messages (#5375)Joram Wilander2017-02-131-5/+13
|
* Adding go vet from hack-a-thon (#5328)Corey Hulen2017-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Adding go vet to the api package * Adding go vet to app package * Adding go vet to manualtesting package * Adding go vet to the model package * Adding go vet to the store dir * Adding go vet to utils package * Adding missing dirs with go files * Fixing up makefile * Fixing up makefile * Removing root dir
* Implement a few channel member endpoints for APIv4 (#5304)Joram Wilander2017-02-071-3/+11
| | | | | | | | | | * Implement GET /channels/{channel_id}/members * Implement GET /channels/{channel_id}/members/{user_id} endpoint for APIv4 * Implement /users/{user_id}/teams/{team_id}/channels/members endpoint for APIv4 * Fix unit test
* Implement GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-031-6/+4
|
* Implement POST /channels/direct endpoint for APIv4 (#5283)Joram Wilander2017-02-031-3/+8
|
* Add tear down to APIv4 tests (#5250)Joram Wilander2017-02-021-0/+16
| | | | | | * Add tear down to APIv4 tests * Defer tear downs
* PLT-5407: Bulk importing of User memberships. (#5273)George Goldberg2017-02-021-1/+11
|
* Implement POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-021-0/+33
|
* PLT-5225 Added separate post types for certain system messages (#5193)Harrison Healey2017-01-271-36/+94
| | | | | | | | | | | | * Added separate post types for system_join_leave and system_add_remove posts * Added username prop to channel deleted posts * Changed slack import to properly generate the new join/leave messages * Added username prop to channel update posts * Moved Post(AddTo/RemoveFrom)ChanneMessage into app package
* Merge 3.6.2 into master (#5211)Joram Wilander2017-01-271-9/+10
| | | | | | | | | | * Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge
* PLT-4858: Allow system admin to delete all channels. (#5180)George Goldberg2017-01-251-4/+0
| | | | | | | The app-package refactor means that the check for a Channel Member object before allowing to delete the channel is now redundant, as the check is already carried out by using HasPermissionToChannel() on the user requesting it. As a result, System Admins can now delete channels through the API even if they aren't members.
* Migrate functions to app package (#5106)Joram Wilander2017-01-191-3/+337
| | | | | | | | | | | | | | | | | | * Refactor and move session logic into app package * Refactor email functions into the app package * Refactor password update into app package * Migrate user functions to app package * Move team functions into app package * Migrate channel functions into app package * Pass SiteURL through to app functions * Update based on feedback
* PLT-2978: Add channel purpose change system message. (#5094)George Goldberg2017-01-171-0/+35
| | | Completes original patch by David Lu.
* Refactor and migrate more functions out of api into app package (#5063)Joram Wilander2017-01-131-1/+186
|
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+216
* Add app package and move logic over from api package * Change app package functions to return errors * Move non-api tests into app package * Fix merge