summaryrefslogtreecommitdiffstats
path: root/api4/team.go
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* APIv4: GET /teams/{team_id}/members (#5460)Saturnino Abril2017-02-221-0/+21
| | | | | | | | | | * APIv4: GET /teams/{team_id}/members * removed unecessary comment * changed route to session required, and logout test to unauthorized Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* Implement endpoint for APIv4: PUT /teams/{team_id}/members/{user_id}/roles ↵Saturnino Abril2017-02-211-0/+28
| | | | (#5471)
* Various APIv4 fixes (#5474)Joram Wilander2017-02-201-1/+1
|
* Implementation endpoint for APIv4: GET /teams/name/{name} (#5473)Saturnino Abril2017-02-201-0/+16
| | | | | | | | | | * APIv4: GET /teams/name/{name} Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com> * reorganized test with SystemAdminClient Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* Implement GET teams/{team_id}/stats - apiv4 (#5453)Saturnino Abril2017-02-171-1/+21
| | | | | | | | * api4 GET teams/{team_id}/stats * api4 GET teams/{team_id}/stats * moved TeamStats router to team.go
* Implement a few team endpoints for APIv4 (#5296)Joram Wilander2017-02-071-0/+64
| | | | | | | | * Implement GET /teams/{team_id} endpoint for APIv4 * Implement GET /users/{user_id}/teams endpoint for APIv4 * Implement GET /teams/{team_id}/members/{user_id} endpoint for APIv4
* Implement POST /teams endpoint (#5220)Joram Wilander2017-01-311-0/+42