summaryrefslogtreecommitdiffstats
path: root/api4/team.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-11520: Make entity ID checks consistent across api4. (#9395)George Goldberg2018-09-141-1/+5
| | | | | | * MM-11520: Make entity ID checks consistent across api4. * Update tests.
* Moving magic number to constant in team import (#9298)Jesús Espino2018-08-271-2/+3
|
* Migrate all the api4 to handle errors in idiomatic way (#9143)Jesús Espino2018-08-011-69/+69
|
* Do not close the connection abruptly on too big file uploads (#9083)Jesús Espino2018-07-181-0/+4
|
* MM-9730 & MM-9729: Missing Server PRs (#8908)George Goldberg2018-06-051-1/+26
| | | | | | * MM-9730: API endpoint to update scheme-derived roles of TeamMembers. * MM-9729: API to update scheme-derived roles of ChannelMembers.
* Allow to update the teams scheme to default scheme (#8855)Jesús Espino2018-05-291-10/+12
|
* Merge remote-tracking branch 'origin/master' into advanced-permissions-phase-2Martin Kraft2018-05-221-1/+1
|\
| * Add config setting for API team deletion (#8800)Joram Wilander2018-05-181-1/+1
| |
* | MM-10182 & MM-10183: Adds channel scheme and team scheme API endpoint. (#8680)Martin Kraft2018-05-021-0/+51
|/ | | | | | | | | | | | * MM-10183: Adds channel scheme API endpoint. MM-10182: Adds team scheme API endpoint. MM-10182_3: Switch from scheme_id in path to body. * MM-10182/MM-10183: Changes path from 'schemes' to 'scheme'. * MM-10182: Fix merge error.
* [MM-10354] Add feature to remove team icon (#8684)Saturnino Abril2018-04-301-0/+21
| | | | | | | | * set team.LastTeamIconUpdate to 0 when removing team icon * add APIv4 for removing team icon * removed comment and updated typo on AppError
* MM-9779: Incorporate a Token into the invitations system (#8604)Jesús Espino2018-04-181-4/+3
| | | | | | | | | | | | | | | | | | | | * Incorporate a Token into the invitations system * Adding unit tests * Fixing some api4 client tests * Removing unnecesary hash validation * Change the Hash concept on invitations with tokenId * Not send invitation if it wasn't able to create the Token * Fixing some naming problems * Changing the hash query params received from the client side * Removed unneded data param in the token usage
* Allow to get the team icon for open teams (#8499)Elias Nahum2018-03-231-5/+6
| | | | | | * Allow to get the team icon for open teams * feedback review
* Fix paging for GET /teams and GET /teams/{id}/members endpoints (#8488)Joram Wilander2018-03-211-3/+3
|
* PLT-7567: Integration of Team Icons (#8284)Christian Hoff2018-03-011-0/+83
| | | | | | | | | | * PLT-7567: Integration of Team Icons * PLT-7567: Read replica workaround, upgrade logic moved, more concrete i18n key * PLT-7567: Read replica workaround, corrections * PLT-7567: upgrade correction
* Reduce logging data races, fix MySQL test race condition (#7994)Chris2017-12-221-4/+0
| | | | | | | | * fix races * revert unintentional change * fix test as intended
* Role refactor (#7867)Chris2017-11-211-8/+7
| | | | | | | | * role refactor * add missing file * fix web test
* PLT-6217 Fixes system message posted to Town Square when a member leaves a ↵Tsilavina Razafinirina2017-11-201-1/+1
| | | | | | | | | | | | | | | | | | team (#7752) * Fixes system message posted to Town Square when adding/removing team member (#6483) Fixes unit test method call to match RemoveUserFromTeam modification (#6483) Fixes system message posted to Town Square when adding/removing team member (#6483) Removes unnessary error message * Updates system message when a user leaves a team (#6483) * Changes system message when a user is removed from team (#6483) * Adds a new string to be post to town-square when a member is added to a team (#6483)
* several one-line panic, race, and logic fixes (#7766)Chris2017-11-031-2/+6
|
* simplify things (#7735)Chris2017-10-301-1/+0
|
* Performance improvements for 40M posts (#7708)Christopher Speller2017-10-251-24/+24
| | | | | | | | | | | | | | | | | | | | | | * Optimizing get root posts SQL query * Setting session invalidation to be reliable * Adding app reciever to SessionHasPermissionToUser * Adding app reciever to SessionHasPermissionToTeam * Adding app reciever to SessionHasPermissionTo * Clear session cache if permission was denied * Fixing rebase issues * Revert "Optimizing get root posts SQL query" This reverts commit f364757e7015cfb4ec673d0a4fc3d57cd25d8dd7. * Fixing build
* PLT-7811 Standardized team sanitization flow (#7586)Harrison Healey2017-10-091-0/+16
| | | | | | | | | | | | | | | | | | * post-4.3 commit (#7581) * reduce store boiler plate (#7585) * fix GetPostsByIds error (#7591) * PLT-7811 Standardized team sanitization flow * Fixed TestGetAllTeamListings * Stopped sanitizing teams for team admins * Removed debug logging * Added TearDown to sanitization tests that needed it
* remove global refs from api/api4 (#7496)Chris2017-09-221-30/+30
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* app type transition (#7167)Chris2017-09-061-29/+29
|
* APIv4: NewLocAppError -> NewAppError (#7328)George Goldberg2017-08-311-11/+6
|
* Minor updates to teamJoramWilander2017-08-081-2/+2
|
* PLT-7025: Fix Slack Import API. (#6905)George Goldberg2017-07-121-4/+4
|
* Fixed error information being obscured when joining teams with API v4 (#6751)Harrison Healey2017-06-281-6/+0
|
* PLT-6815 Do not disconnect websocket when joining a team (#6746)Joram Wilander2017-06-261-2/+2
| | | | | | * Do not disconnect websocket when joining a team * Fix eslint error
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-261-12/+26
|
* Add GET /teams/invite/{invite_id} endpoint for v4 (#6685)Joram Wilander2017-06-201-0/+25
|
* Add APIv4 endpoint to permanently delete teams (#6604)Zeger-Jan van de Weg2017-06-151-3/+9
| | | | | Tests are added, however, it only tests the property if its soft deleted. In the background it will be hard deleted, but that is untestable through a integration test.
* 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
* PLT-6198: Use added to channel system message on default channels. (#5969)George Goldberg2017-04-041-1/+1
| | | | 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-6/+6
| | | | | | | | | | | | | | | | * 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
* Implement POST /teams/{team_id}/invite/email for apiV4 (#5944)Carlos Tadeu Panato Junior2017-04-031-0/+33
|
* PLT-6169: Batch add users to teams. (#5953)George Goldberg2017-04-031-0/+50
|
* APIv4 DELETE /teams/{team_id} (#5937)Saturnino Abril2017-04-031-0/+21
|
* APIv4 post /teams/search (#5931)Saturnino Abril2017-04-031-0/+30
|
* [APIV4] POST /teams/{team_id}/import for apiv4 (#5920)Carlos Tadeu Panato Junior2017-04-031-0/+79
|
* Use 201 status code where appropriate for APIv4 (#5903)Joram Wilander2017-03-311-0/+1
|
* Implement some team endpoints for APIv4 (#5870)Joram Wilander2017-03-251-0/+43
| | | | | | * Implement GET /users/{user_id}/teams/members endpoint for APIv4 * Implement DELETE /teams/{team_id}/members/{user_id} endpoint for APIv4
* APIv4 put /teams/{team_id}/patch (#5860)Saturnino Abril2017-03-241-0/+30
|
* Endpoint for APIv4 POST /teams/{team_id}/members (#5804)Saturnino Abril2017-03-241-0/+52
|
* Merge branch 'release-3.7' into master.George Goldberg2017-03-171-1/+1
|\
| * PLT-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-101-1/+1
| |
* | Implement some team endpoints for APIv4 (#5745)Joram Wilander2017-03-131-1/+87
| | | | | | | | | | | | | | | | | | | | * 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
* | add team exists endpoint for APIv4 (#5517)Carlos Tadeu Panato Junior2017-03-071-0/+24
|/
* ApiV4: GET /users/{user_id}/teams/unread (#5539)Andrei Stanciu2017-02-281-0/+24
|
* Get all teams api4 (#5542)Andrei Stanciu2017-02-281-0/+19
|