summaryrefslogtreecommitdiffstats
path: root/api4/user.go
Commit message (Collapse)AuthorAgeFilesLines
* prevent deactivation of sso users (#7759)Chris2017-11-021-1/+1
|
* PLT-7978 Add websocket event for user role update (#7745)Joram Wilander2017-10-311-1/+1
| | | | | | | | * Add websocket event for user role update * Fix tests * More test fixes
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-311-4/+4
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* Performance improvements for 40M posts (#7708)Christopher Speller2017-10-251-33/+33
| | | | | | | | | | | | | | | | | | | | | | * 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-7794] Add user access token enable/disable endpoints (#7630)Nick Frazier2017-10-191-0/+76
| | | | | | | | | | | | * Add column to UserAccessTokens table * PLT-7794 Add user access token enable/disable endpoints * replaced eliminated global variable * updates to user_access_token_store and upgrade.go * style fix and cleanup
* Reduce utils.Cfg references (#7650)Chris2017-10-181-12/+12
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* [PLT-7396] Add the ability to revoke user sessions in System Console > Users ↵Rick Batka2017-10-161-0/+20
| | | | | | | | #7493 (#7623) * add endpoint and tests for revoking all sessions for a user * fix failing test build
* PLT-7781 Some more OAuth fixes (#7568)Joram Wilander2017-10-041-0/+46
| | | | | | * Some other oauth fixes * Fix unit test
* Updates to session revoking in v4 (#7565)Joram Wilander2017-10-041-1/+13
|
* Only update session activity on specific endpoints (#7549)Joram Wilander2017-10-031-0/+2
|
* remove global refs from api/api4 (#7496)Chris2017-09-221-49/+49
|
* remove einterface gets (#7455)Chris2017-09-191-1/+1
|
* Fixing profile image tag (#7435)Corey Hulen2017-09-191-1/+1
| | | | | | | | * Fixing profile image tag * Fixing unit test * Fixing unit test
* Renaming repoChristopher Speller2017-09-061-4/+4
|
* app type transition (#7167)Chris2017-09-061-64/+64
|
* PLT-7468 Moved more error pages to use predefined error types (#7378)Harrison Healey2017-09-051-1/+1
| | | | | | | | * PLT-7468 Moved more errors to use error types * PLT-7468 Moved 404 error page to use error types * Made helper function for rendering external links on error page
* APIv4: NewLocAppError -> NewAppError (#7328)George Goldberg2017-08-311-13/+7
|
* Fix setting profile image for other users (#7306)Joram Wilander2017-08-311-1/+1
|
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-1/+1
|
* PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-1/+1
| | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* when session id is invalid,the function "revokeSession" should return (#7127)KenmyZhang2017-08-091-0/+1
|
* PLT-6763 Implement user access tokens and new roles (server-side) (#6972)Joram Wilander2017-07-311-0/+134
| | | | | | | | | | | | | | | | * 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
* Minor fixJoramWilander2017-07-061-1/+1
|
* Add some basic sorting support for GET /users endpoint (#6801)Joram Wilander2017-06-301-7/+25
|
* Make sure to log errors when failing to send emails (#6754)Joram Wilander2017-06-281-2/+2
|
* PLT-6657 Move system console to use v4 endpoints and redux (#6572)Joram Wilander2017-06-141-1/+1
| | | | | | | | | | | | * Move system console to use v4 endpoints and redux * Rename logs dir to get past gitignore * Fix test email * Update brand unit test * Updates per feedback
* Fix MFA enforcement on login and page load (#6356)Joram Wilander2017-05-091-2/+2
|
* Fix user autocomplete for DMs and GMs (#6265)Joram Wilander2017-04-281-17/+15
|
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-271-32/+23
| | | | (#6213)
* Start moving webapp to Redux (#6140)Joram Wilander2017-04-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start moving webapp to Redux * Fix localforage import * Updates per feedback * Feedback udpates and a few fixes * Minor updates * Fix statuses, config not loading properly, getMe sanitizing too much * Fix preferences * Fix user autocomplete * Fix sessions and audits * Fix error handling for all redux actions * Use new directory structure for components and containers * Refresh immediately on logout instead of after timeout * Add fetch polyfill
* PLT-4457 Added API to get multiple users by their usernames (#6218)Harrison Healey2017-04-251-0/+19
| | | | | | | | | | * 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
* APIv4 PUT /users/{user_id}/active (#6118)Saturnino Abril2017-04-171-0/+32
|
* 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-0/+38
| | | | | | * Refactor switching login type code into app layer and add v4 endpoint * Fix unit test
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-041-13/+13
| | | | | | | | | | | | | | | | * 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
* PLT-6162: Search for users not in a given team. (#5943)George Goldberg2017-04-031-0/+5
|
* PLT-2713 Added ability for admins to list users not in any team (#5844)Harrison Healey2017-03-291-1/+10
| | | | | | * 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/+13
|
* PLT 6125 Allow system admins to create users on closed servers (#5908)prixone2017-03-291-0/+2
| | | | | | | | | | | | | | * 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
* Implement some MFA endpoints for APIv4 (#5864)Joram Wilander2017-03-271-1/+51
|
* Implement PUT /users/sessions/device endpoint for APIv4 (#5866)Joram Wilander2017-03-271-0/+49
|
* Implement POST /users/email/verify/send endpoint for APIv4 (#5825)Joram Wilander2017-03-241-7/+33
|
* Implement POST /users/search endpoint for APIv4 (#5822)Joram Wilander2017-03-231-0/+57
| | | | | | | | | | * 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)
* Implement GET /audits endpoint for APIv4 (#5779)Joram Wilander2017-03-211-2/+2
| | | | | | * Implement GET /audits endpoint for APIv4 * Fix log unit test
* 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 PUT /users/{user_id}/mfa endpoint for APIv4 (#5743)Joram Wilander2017-03-131-0/+40
| |
* | Implement GET /users/autocomplete endpoint for APIv4 (#5742)Joram Wilander2017-03-131-0/+52
|/
* Implementation of APIv4: POST users/{user_id}/image (#5537)Saturnino Abril2017-02-281-0/+55
| | | | | | * APIv4: POST users/{user_id}/image * removed 'return' and rebased to master
* APIv4: GET /users/{user_id}/image (#5526)Saturnino Abril2017-02-271-1/+42
|