summaryrefslogtreecommitdiffstats
path: root/api4/team_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Allow for custom subject in TestInviteUsersToTeam (#7999)Chris Duarte2018-01-021-1/+5
|
* Role refactor (#7867)Chris2017-11-211-15/+15
| | | | | | | | * 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-2/+2
| | | | | | | | | | | | | | | | | | 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)
* simplify things (#7735)Chris2017-10-301-5/+5
|
* add model.NewX funcs for builtin types (#7692)Chris2017-10-231-10/+5
| | | | | | * add model.NewX funcs for builtin types * whoops, forgot to add the new file
* Reduce utils.Cfg references (#7650)Chris2017-10-181-23/+23
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* PLT-7811 Standardized team sanitization flow (#7586)Harrison Healey2017-10-091-14/+455
| | | | | | | | | | | | | | | | | | * 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
* Don't use global app for api / api4 tests (#7528)Chris2017-10-021-30/+30
| | | | | | | | | | | | | | * don't use global app for api / api4 tests * put sleep back. we're gonna have to do some goroutine wrangling * fix oauth test config assumptions * jobs package, i'm comin' for you next * app test fix * try increasing sleep a little
* Renaming repoChristopher Speller2017-09-061-2/+2
|
* app type transition (#7167)Chris2017-09-061-11/+10
|
* [PLT-7390] Add Type = 'O' in getting open teams at sql store (#7207)Saturnino Abril2017-08-241-4/+12
| | | | | | * add Type = 'O' in getting open teams at sql store * updated PR
* Merge branch 'release-4.1'Christopher Speller2017-08-171-4/+26
|\
| * disable intermittently failing test at TestGetAllTeams temporarily (#7211)Saturnino Abril2017-08-151-2/+4
| |
| * Update unit testJoramWilander2017-08-091-0/+4
| |
| * Minor updates to teamJoramWilander2017-08-081-2/+18
| |
* | PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-28/+28
|/ | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* PLT-6983 Allowed team invite IDs of arbitrary lengths to match API v3 (#6944)Harrison Healey2017-07-151-3/+10
|
* PLT-7025: Fix Slack Import API. (#6905)George Goldberg2017-07-121-1/+7
|
* [PLT-5864] Move teammate name display setting to the System Console (#6681)Saturnino Abril2017-06-301-1/+2
| | | | | | | | | | * move teammate name display setting to the system console * update all the likes of TeammateNameDisplay names * fix gofmt error * rebase and fix conflict
* [PLT-5639] Show a message when invited addresses are blocked (#6691)Pieter Lexis2017-06-291-0/+16
| | | | | | | | | | | | | | | | * Show a message when invited addresses are blocked When using the "Send Email Invite" functionality. Emails were sent to domains that were not on the `RestrictCreationToDomains` list. This would lead to users getting a message that they can't create an account if they follow the link in the email. This commit will check the email addresses before the mails are sent and warn the user typing them in which ones are blocked. * Add unit test for domain restrictions on invite * Invite Member: Clear serverError on toggle
* Fixed error information being obscured when joining teams with API v4 (#6751)Harrison Healey2017-06-281-5/+2
|
* PLT-6815 Do not disconnect websocket when joining a team (#6746)Joram Wilander2017-06-261-6/+6
| | | | | | * 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-21/+21
|
* Add GET /teams/invite/{invite_id} endpoint for v4 (#6685)Joram Wilander2017-06-201-0/+21
|
* Add APIv4 endpoint to permanently delete teams (#6604)Zeger-Jan van de Weg2017-06-151-0/+33
| | | | | 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.
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-271-3/+3
| | | | (#6213)
* alsways get the last message from inbucket (#6251)Carlos Tadeu Panato Junior2017-04-271-2/+2
|
* 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 POST /teams/{team_id}/invite/email for apiV4 (#5944)Carlos Tadeu Panato Junior2017-04-031-0/+48
|
* PLT-6169: Batch add users to teams. (#5953)George Goldberg2017-04-031-0/+131
|
* APIv4 DELETE /teams/{team_id} (#5937)Saturnino Abril2017-04-031-0/+42
|
* APIv4 post /teams/search (#5931)Saturnino Abril2017-04-031-0/+76
|
* [APIV4] POST /teams/{team_id}/import for apiv4 (#5920)Carlos Tadeu Panato Junior2017-04-031-0/+76
|
* Use 201 status code where appropriate for APIv4 (#5903)Joram Wilander2017-03-311-0/+2
|
* PLT-6063: AddUserToTeam permission depends on policy. (#5869)George Goldberg2017-03-261-4/+86
| | | Uses same policy setting as InviteUserToTeam.
* Implement some team endpoints for APIv4 (#5870)Joram Wilander2017-03-251-0/+69
| | | | | | * 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/+69
|
* Endpoint for APIv4 POST /teams/{team_id}/members (#5804)Saturnino Abril2017-03-241-0/+135
|
* Implement some team endpoints for APIv4 (#5745)Joram Wilander2017-03-131-0/+170
| | | | | | | | | | * 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
* Implement GET /users/autocomplete endpoint for APIv4 (#5742)Joram Wilander2017-03-131-1/+2
|
* add team exists endpoint for APIv4 (#5517)Carlos Tadeu Panato Junior2017-03-071-5/+30
|
* ApiV4: GET /users/{user_id}/teams/unread (#5539)Andrei Stanciu2017-02-281-0/+31
|
* Get all teams api4 (#5542)Andrei Stanciu2017-02-281-0/+48
|
* APIv4: GET /teams/{team_id}/members (#5460)Saturnino Abril2017-02-221-0/+54
| | | | | | | | | | * 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/+78
| | | | (#5471)
* Various APIv4 fixes (#5474)Joram Wilander2017-02-201-0/+4
|
* Implementation endpoint for APIv4: GET /teams/name/{name} (#5473)Saturnino Abril2017-02-201-0/+36
| | | | | | | | | | * 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-0/+51
| | | | | | | | * 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/+118
| | | | | | | | * 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
* Add tear down to APIv4 tests (#5250)Joram Wilander2017-02-021-0/+1
| | | | | | * Add tear down to APIv4 tests * Defer tear downs