summaryrefslogtreecommitdiffstats
path: root/api4/user_test.go
Commit message (Collapse)AuthorAgeFilesLines
...
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-3/+3
|
* PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-15/+15
| | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* PLT-6763 Implement user access tokens and new roles (server-side) (#6972)Joram Wilander2017-07-311-0/+252
| | | | | | | | | | | | | | | | * Implement user access tokens and new roles * Update config.json * Add public post permission to apiv3 * Remove old comment * Fix model unit test * Updates to store per feedback * Updates per feedback from CS
* Add some basic sorting support for GET /users endpoint (#6801)Joram Wilander2017-06-301-0/+58
|
* Fixed error information being obscured when joining teams with API v4 (#6751)Harrison Healey2017-06-281-2/+2
|
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-261-1/+1
|
* Fix panic in v4 client (#6704)Joram Wilander2017-06-211-1/+1
|
* Add tests for CreateUserWithInviteId and CreateUserWithHash (#6363)Carlos Tadeu Panato Junior2017-05-101-3/+247
|
* Fix user autocomplete for DMs and GMs (#6265)Joram Wilander2017-04-281-0/+6
|
* Fix error not appearing when updating to existing username (#6255)Joram Wilander2017-04-281-0/+7
|
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-271-22/+30
| | | | (#6213)
* PLT-4457 Added API to get multiple users by their usernames (#6218)Harrison Healey2017-04-251-0/+32
| | | | | | | | | | * Allow getting profiles by username without a team * Changed UserStore.GetProfilesByUsernames to return an array * PLT-4457 Added API to get multiple users by their usernames * Changed users/names route to users/usernames
* Don't sanitize returned user when updating a user (#6095)Joram Wilander2017-04-191-0/+5
| | | | | | * Don't sanitize returned user when updating a user * Use user model function for clearing private data
* Revert "Usernames must start with a letter (#5581)"Christopher Speller2017-04-181-6/+0
| | | | This reverts commit 2e911b77c3386833f8f0cea82c7b6b3e5583a08e.
* APIv4 PUT /users/{user_id}/active (#6118)Saturnino Abril2017-04-171-0/+43
|
* 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
* Refactor switching login type code into app layer and add v4 endpoint (#6000)Joram Wilander2017-04-101-1/+92
| | | | | | * Refactor switching login type code into app layer and add v4 endpoint * Fix unit test
* PLT-6162: Search for users not in a given team. (#5943)George Goldberg2017-04-031-0/+40
|
* Re-enable MFA test (#5911)Joram Wilander2017-03-311-2/+2
|
* Use 201 status code where appropriate for APIv4 (#5903)Joram Wilander2017-03-311-0/+1
|
* PLT-2713 Added ability for admins to list users not in any team (#5844)Harrison Healey2017-03-291-0/+50
| | | | | | * PLT-2713 Added ability for admins to list users not in any team * Updated style of unit test
* PLT-6083: API to get users not in a specific team. (#5888)George Goldberg2017-03-291-0/+46
|
* PLT 6125 Allow system admins to create users on closed servers (#5908)prixone2017-03-291-1/+15
| | | | | | | | | | | | | | * Update user.go Added method to create user accounts using a privileged system_admin account * Update user.go Added respective method to handle the the APIv4 call to create users with privileged account(system_admin) by passing server restrictions of EnableUserCreation and/or EnableOpenServer set to false. * Update user_test.go Added test case
* Disabled problematic unit test (#5891)Harrison Healey2017-03-271-2/+2
|
* Implement some MFA endpoints for APIv4 (#5864)Joram Wilander2017-03-271-0/+80
|
* Implement PUT /users/sessions/device endpoint for APIv4 (#5866)Joram Wilander2017-03-271-0/+29
|
* Implement POST /users/email/verify/send endpoint for APIv4 (#5825)Joram Wilander2017-03-241-6/+25
|
* Merge branch 'release-3.7'George Goldberg2017-03-231-3/+0
|\
| * PLT-5943 Reduce minimum username length (#5798)Joram Wilander2017-03-171-3/+0
| |
* | Implement POST /users/search endpoint for APIv4 (#5822)Joram Wilander2017-03-231-0/+150
| | | | | | | | | | | | | | | | | | | | * Implement POST /users/search endpoint for APIv4 * PLT-2713 Added store functions for searching users that don't have a team * PLT-2713 Added 'without_team' option when searching users * PLT-2713 Added 'without_team' option when searching users (v4)
* | Add ability to use 'me' in place of user id for APIv4 (#5826)Joram Wilander2017-03-211-0/+17
| |
* | Implement GET /audits endpoint for APIv4 (#5779)Joram Wilander2017-03-211-5/+5
| | | | | | | | | | | | * Implement GET /audits endpoint for APIv4 * Fix log unit test
* | Fxing code coverage numbers + APIv4 tests with EE (#5789)Christopher Speller2017-03-161-3/+2
| |
* | Implement PUT /users/{user_id}/mfa endpoint for APIv4 (#5743)Joram Wilander2017-03-131-0/+43
| |
* | Implement GET /users/autocomplete endpoint for APIv4 (#5742)Joram Wilander2017-03-131-0/+121
| |
* | improvements for inbucket email test and re-enable Email mention test (#5647)Carlos Tadeu Panato Junior2017-03-111-8/+20
|/ | | | Now if we dont get the mailbox to check the email we try 5 times, if still no message we disable the email verification.
* Usernames must start with a letter (#5581)Joram Wilander2017-03-031-0/+6
|
* Implementation of APIv4: POST users/{user_id}/image (#5537)Saturnino Abril2017-02-281-3/+47
| | | | | | * APIv4: POST users/{user_id}/image * removed 'return' and rebased to master
* APIv4: GET /users/{user_id}/image (#5526)Saturnino Abril2017-02-271-0/+33
|
* add implementation for verify email for apiv4 (#5502)Carlos Tadeu Panato Junior2017-02-241-0/+26
|
* Implement endpoint for APIv4: GET /users/{user_id}/audits (#5472)Saturnino Abril2017-02-211-1/+26
|
* Implement user sessions endpoints for APIv4 (#5449)Ruzette Tanyag2017-02-171-0/+97
| | | | | | | | | | | | | | * added get session and revoke session endpoints, unittests and drivers * removed BasicUser2 and added teardown * added badrequest unit test case for sessions * added session loop to check if user id and session user id matches * fixed indentation issues for user_test * match indentation from spaces to tabs
* Implement PUT /users/{user_id}/patch endpoint for APIv4 (#5418)Joram Wilander2017-02-161-0/+67
|
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-1/+1
| | | | | | | | | | | | * 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
* Implement GET `/users/username/{username}` endpoint for APIv4 (#5310)Ruzette Tanyag2017-02-081-0/+64
| | | | | | | | | | | | * added get user by username endpoint * added get user by username unit test and driver * changed username length to 22 characters max * changed Params to UserName to Username * reorganized get user by username and get user by email formatting in model/client4
* Implement password reset endpoints for APIv4 (#5256)Joram Wilander2017-02-071-0/+90
|
* Implement PUT /users/{user_id}/password endpoint for APIv4 (#5243)Joram Wilander2017-02-071-3/+74
|
* Implement GET `/users/email/{email}` endpoint for APIv4 (#5309)Ruzette Tanyag2017-02-071-0/+65
| | | | | | | | | | * added get user by email endpoint for APIv4 * added get user by email endpoint unit test and driver * removed the appended return of user ids on logout * Added RequireEmail to validate user email. Also updated the get user by email endpoint and unit test
* Implement DELETE /users/{user_id endpoint for APIv4 - rebase cleanup (#5307)Ruzette Tanyag2017-02-051-0/+31
| | | | | | | | * added delete user endpoint * added unit test for delete user endpoint * added delete user driver
* Implement GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-031-0/+172
|