summaryrefslogtreecommitdiffstats
path: root/app/user_test.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-10640 Set EnableUserCreation to true by default (#8815)Balasankar C2018-05-181-1/+1
| | | | | | | | | | | | | | * Set EnableUserCreation to true by default * Fix argument type to FormatBool * Convert EnableUserCreation instances to pointer * Convert to boolean in tests also * Set value of pointer to be false * Convert remaining EnableUserCreation instances to pointer
* MM-9779: Incorporate a Token into the invitations system (#8604)Jesús Espino2018-04-181-0/+70
| | | | | | | | | | | | | | | | | | | | * Incorporate a Token into the invitations system * Adding unit tests * Fixing some api4 client tests * Removing unnecesary hash validation * Change the Hash concept on invitations with tokenId * Not send invitation if it wasn't able to create the Token * Fixing some naming problems * Changing the hash query params received from the client side * Removed unneded data param in the token usage
* MM-9274- Sort Users in Channel by status (#8181)Stephen Kiers2018-03-091-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sort by lastActivity * added status ordering to Users * sort offline before dnd * remove data not needed * added seperate call for when order=‘status’ is on GetUser request * remove PrintLn * styling fix * remove mistake * mistake 2 * better comment * explicit if statemnt * writing tests * removed manually added mocks * generated mock * ICU-668 Added unit tests * style fix * sort by lastActivity * added status ordering to Users * sort offline before dnd * remove data not needed * added seperate call for when order=‘status’ is on GetUser request * remove PrintLn * styling fix * remove mistake * mistake 2 * better comment * explicit if statemnt * writing tests * removed manually added mocks * generated mock * ICU-668 Added unit tests * style fix * reverse dnd and offline * Fixed app.SaveStatusAndBroadcast * Fixed incorrect merge * Fixing incorrect merge again
* Finally remove utils.Cfg (#8113)Chris2018-01-171-4/+0
| | | | | | | | * finally remove utils.Cfg * fix compile error * another test compilation fix
* prevent users from changing email addresses to restricted domains (#7765)Chris2017-11-031-0/+19
|
* prevent deactivation of sso users (#7759)Chris2017-11-021-0/+20
|
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-311-4/+1
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* Remove more global refs / state (#7723)Chris2017-10-261-5/+5
| | | | | | | | | | * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
* Fix races / finally remove global app for good (#7570)Chris2017-10-041-0/+8
| | | | | | | | | | | | * finally remove global app for good * test compilation fixes * fix races * fix deadlock * wake up write pump so it doesn't take forever to clean up
* remove more global references (#7442)Chris2017-09-141-18/+16
|
* Remove global app references (#7433)Chris2017-09-121-19/+15
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* Renaming repoChristopher Speller2017-09-061-4/+4
|
* app type transition (#7167)Chris2017-09-061-17/+23
|
* Fix TestUpdateOAuthUserAttrs unit test (#7037)Joram Wilander2017-08-021-1/+1
|
* Fix TestCreateOAuthUser unit test (#7034)Joram Wilander2017-07-281-1/+1
|
* PLT-6271 Changed word splitting to initially split on any non-name character ↵Harrison Healey2017-04-281-1/+1
| | | | | | | | (#6261) * PLT-6271 Changed word splitting to initially split on any non-name character * Fixed detection of out of channel mentions
* Revert "Usernames must start with a letter (#5581)"Christopher Speller2017-04-181-2/+2
| | | | This reverts commit 2e911b77c3386833f8f0cea82c7b6b3e5583a08e.
* 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-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-041-9/+9
| | | | | | | | | | | | | | | | * 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-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-101-3/+3
|
* Usernames must start with a letter (#5581)Joram Wilander2017-03-031-2/+2
|
* APIv4: GET /users/{user_id}/image (#5526)Saturnino Abril2017-02-271-0/+22
|
* Updating user attributes on oauth login (#5324)Poornima2017-02-261-1/+153
| | | | Moving update function to app package Fixing duplicate userID on create user test
* Block OAuth account creation when disabled in config (#5506)Joram Wilander2017-02-231-0/+34
|
* More app code migration (#5170)Joram Wilander2017-01-251-0/+26
| | | | | | | | * Migrate admin functions into app package * More user function refactoring * Move post functions into app package
* Refactor and migrate more functions out of api into app package (#5063)Joram Wilander2017-01-131-0/+27