summaryrefslogtreecommitdiffstats
path: root/api/user.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-9853 Fix Team invite does not carry through SAML login (#8495)Elias Nahum2018-03-221-1/+5
|
* Remove global site url (#8343)Chris2018-02-221-3/+3
| | | | | | | | * remove global site url * missed one * revert mysterious change
* Remove license globals entirely (#8229)Chris2018-02-091-2/+2
| | | | | | | | * remove license globals entirely * fix infinite recursion * test fix
* add App.License, remove utils.IsLicensed / utils.License calls (#8203)Chris2018-02-061-1/+1
|
* ABC-179: check email verification last (#8172)Jesse Hallam2018-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * ABC-179: check email verification last This change changes the authentication checks to be: * "preflight checks" ** mfa ** not disabled ** login attempts * password * "postflight checks" ** email verified Checking whether the email is verified or not last avoids the weird edge case where entering any bogus password for an account with an unverified email shows a message about verifying the email and offering to resend. * fix invalid unit test assertion Client.CreateUser returns a user whose password has been sanitized. Adopt the pattern in the previous assertions to use a new variable name and test the password on the original model.User object. This didn't expose any underlying broken behaviour, but the test wouldn't have caught it if it had regressed. Also fix a minor typo.
* Allow deactivation of SSO users api3 (#8008)Chris Duarte2018-01-161-1/+9
|
* Remove utils.ClientCfg and utils.ClientCfgHash (#8041)Chris2018-01-051-1/+1
| | | | | | * remove utils.ClientCfg and utils.ClientCfgHash * remove unused import
* Reduce logging data races, fix MySQL test race condition (#7994)Chris2017-12-221-2/+0
| | | | | | | | * fix races * revert unintentional change * fix test as intended
* refactor template code (#7860)Chris2017-11-201-1/+1
|
* Refactor password validation and config defaults (#7859)Chris2017-11-201-2/+2
| | | | | | * refactor password validation and config defaults * reorder config lines for clarity
* 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-2/+2
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* simplify things (#7735)Chris2017-10-301-2/+0
|
* Remove more global refs / state (#7723)Chris2017-10-261-1/+1
| | | | | | | | | | * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
* Performance improvements for 40M posts (#7708)Christopher Speller2017-10-251-17/+17
| | | | | | | | | | | | | | | | | | | | | | * 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
* eliminate more utils.Cfg references (#7701)Chris2017-10-241-50/+1
|
* Reduce utils.Cfg references (#7650)Chris2017-10-181-20/+20
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* Goroutine wranglin (#7556)Chris2017-10-031-5/+7
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* remove global refs from api/api4 (#7496)Chris2017-09-221-55/+55
|
* remove einterface gets (#7455)Chris2017-09-191-6/+5
|
* 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-5/+5
|
* app type transition (#7167)Chris2017-09-061-55/+55
|
* Api: NewLocAppError -> NewAppError (#7280)George Goldberg2017-09-011-22/+12
|
* 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-2/+2
| | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* If login is using mobile respond with JSON object (#7030)enahum2017-08-031-5/+11
|
* Minor fixJoramWilander2017-07-061-1/+1
|
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-271-8/+9
| | | | (#6213)
* Refactor OAuth 2.0 code into app layer (#6037)Joram Wilander2017-04-121-49/+1
|
* 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-155/+13
| | | | | | * 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-20/+20
| | | | | | | | | | | | | | | | * 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
* Move WebSocket API to it's own package and add websocket v4 endpoint (#5881)Joram Wilander2017-03-281-25/+0
|
* Implement some MFA endpoints for APIv4 (#5864)Joram Wilander2017-03-271-20/+2
|
* Implement POST /users/search endpoint for APIv4 (#5822)Joram Wilander2017-03-231-13/+3
| | | | | | | | | | * 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)
* Merge branch 'release-3.7' into master.George Goldberg2017-03-171-3/+3
|\
| * PLT-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-101-3/+3
| |
* | Implement GET /users/autocomplete endpoint for APIv4 (#5742)Joram Wilander2017-03-131-26/+6
|/
* enable saml for RN app (#5635)enahum2017-03-061-1/+6
| | | | | | * enable saml for RN app * remove unnecessary user sanitize
* Updating user attributes on oauth login (#5324)Poornima2017-02-261-0/+6
| | | | Moving update function to app package Fixing duplicate userID on create user test
* Adding device Id for version 2 of native apps (#5505)Corey Hulen2017-02-231-5/+0
| | | | | | * Adding device Id for version 2 * Changing ids
* Adding caching to profile images to master (#5428)Corey Hulen2017-02-151-3/+10
| | | | | | | | | | | | * Adding caching to profile images * Fixing break * Adding back in failed read * Fixing build break * Fixing break
* APIv3 append offset and limit to getProfiles etag (#5421)enahum2017-02-151-1/+1
| | | | | | * APIv3 append offset and limit to getProfiles etag * add separator between offset and limit
* Implement GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-031-24/+5
|
* Implement POST /users/ids endpoint for APIv4 (#5274)Joram Wilander2017-02-031-4/+4
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-201/+28
| | | | | | * Implement APIv4 infrastructure * Update parameter requirement functions per feedback
* More app code migration (#5170)Joram Wilander2017-01-251-205/+34
| | | | | | | | * Migrate admin functions into app package * More user function refactoring * Move post functions into app package
* Move permissions code into app package (#5146)Joram Wilander2017-01-231-30/+35
| | | | | | * Move permissions code into app package * Revert getPosts permission