summaryrefslogtreecommitdiffstats
path: root/app/user.go
Commit message (Collapse)AuthorAgeFilesLines
* Renaming repoChristopher Speller2017-09-061-4/+4
|
* app type transition (#7167)Chris2017-09-061-204/+204
|
* App: NewLocAppError -> NewAppError (#7327)George Goldberg2017-09-011-32/+26
| | | | | | * App: NewLocAppError -> NewAppError * Remove statuscode that got missed.
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-1/+1
|
* PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)George Goldberg2017-08-251-3/+3
| | | | | | | | | | | | | | | | | * Prepare file upload infrastructure for Data Retention. This commit prepares the file upload infrastructure for the data retention feature that is under construction. Changes are: * Move file management code to utils to allow access to it from jobs. * From now on, store all file uploads in a top level folder which is the date of the day on which they were uploaded. This commit is based on Harrison Healey's branch, but updated to work with the latest master. * Use NewAppError
* 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
* PLT-6763 Implement user access tokens and new roles (server-side) (#6972)Joram Wilander2017-07-311-0/+4
| | | | | | | | | | | | | | | | * 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
* PLT-6830 Fixed updating profile image not invalidating cache (#6814)Harrison Healey2017-06-301-1/+3
|
* [PLT-6496] Remove System Console and config settings for image height and ↵Saturnino Abril2017-06-291-10/+10
| | | | | | | | | | width (#6688) * remove System Console and config settings for image height and width * add constants and update config.json * updated as per review
* Make sure to log errors when failing to send emails (#6754)Joram Wilander2017-06-281-4/+2
|
* PLT-6920: Fix password reset email. (#6773)George Goldberg2017-06-281-1/+1
|
* verify for email domain for everything but ldap / saml (#6718)Chris2017-06-261-5/+3
|
* Merge release-3.10 into master (#6654)Joram Wilander2017-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6787 Fixed being able to send a post before files finished uploading (#6617) * Fix quick switcher for channels/users not stored locally (#6610) * Fix button text on confirm mention modal (#6609) * fix post delete permission of channel admin (#6608) * open comment thread for the most recent reply-able message (#6605) * Use mutex flag with yarn to prevent concurrent builds interfering (#6619) * Use mutex flag with yarn to prevent concurrent builds interfering * Remove yarn mutex file with clean * Minor bug fixes (#6615) * PLT-6774 - Fixing color for offline icon * PLT-6784 - Fixing status icon * Fixing icon margin * Updating caret position * PLT-6070 Have ChannelMentionProvider stop searching after a term returns no results (#6620) * Fixing JS error (#6623) * Minor bug fixes (#6622) * PLT-6808 - Updating channel switcher on mobile * PLT-6743 - Updating scrollbar styling * Login instead of failing if user exists in OAuth sign-up flow (#6627) * PLT-6802 Disable team switcher (#6626) * Disable team switcher * Fix ESLint errors * PLT-6807 Ensured select teams page can scroll on iOS (#6630) * Do not redirect from account switch pages on 401 (#6631) * Fixing loadtest command and renaming to /test (#6624) * PLT-6820 Update mattermost-redux dependency (#6632) * translations PR 20170612 (#6629) * Bump HTTP client timeout to 30 seconds (#6633) * For team unreads return empty array instead of null (#6636) * PLT-6831 Fix status modal localization IDs (#6637) * Fix status modal localization IDs * Update test snapshot
* PLT-6534 Rotated uploaded profile pictures to be upright (#6482)Harrison Healey2017-05-241-0/+5
|
* PLT-6471 Properly panic when translations can't be loaded (#6414)Harrison Healey2017-05-231-1/+2
| | | | | | | | | | * PLT-6471 Properly panic when translations can't be loaded * Print usage messages when errors occur during CLI initialization * Reverted behaviour of FindDir and added second return value to it * Fixed merge conflict
* PLT-6277 Moved profile image cropping to server (#6269)Harrison Healey2017-05-031-1/+1
| | | | | | * PLT-6277 Moved profile image cropping to server * Cosmetic refactoring of SettingPicture component
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-271-30/+91
| | | | (#6213)
* PLT-4457 Added API to get multiple users by their usernames (#6218)Harrison Healey2017-04-251-34/+22
| | | | | | | | | | * 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-7/+5
| | | | | | * Don't sanitize returned user when updating a user * Use user model function for clearing private data
* PLT-6113 Added initial unit tests for cmd package (#6086)Harrison Healey2017-04-151-1/+3
| | | | | | | | * Fixed app.CreateUser not using the provided locale * Added initial unit tests for cmd package * Disabled unit tests while we move to 'go build'
* 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-6198: Use added to channel system message on default channels. (#5969)George Goldberg2017-04-041-2/+2
| | | | Use a different sytem message when a user was added to a default channel by someone else than when they joined themselves.
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-041-32/+32
| | | | | | | | | | | | | | | | * 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/+16
|
* PLT-2713 Added ability for admins to list users not in any team (#5844)Harrison Healey2017-03-291-0/+21
| | | | | | * 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/+25
|
* PLT 6125 Allow system admins to create users on closed servers (#5908)prixone2017-03-291-0/+13
| | | | | | | | | | | | | | * 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-0/+22
|
* Implement POST /users/search endpoint for APIv4 (#5822)Joram Wilander2017-03-231-0/+26
| | | | | | | | | | * 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-5/+5
|\
| * PLT-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-101-5/+5
| |
* | Implement PUT /users/{user_id}/mfa endpoint for APIv4 (#5743)Joram Wilander2017-03-131-0/+28
| |
* | Implement GET /users/autocomplete endpoint for APIv4 (#5742)Joram Wilander2017-03-131-11/+47
|/
* Make all emails with the same pattern on subject (#5198)Carlos Tadeu Panato Junior2017-03-011-38/+23
| | | | | | | | | | | | | | | | | | | | * make all email subject standard * move SendPasswordReset to app/email.go update per review * update email subjects per review update error fix expected subject * Update email_test.go * Update en.json * fix missing quotes
* Updating user attributes on oauth login (#5324)Poornima2017-02-261-0/+43
| | | | 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/+4
|
* Implement PUT /users/{user_id}/patch endpoint for APIv4 (#5418)Joram Wilander2017-02-161-4/+28
|
* Adding caching to profile images to master (#5428)Corey Hulen2017-02-151-5/+8
| | | | | | | | | | | | * Adding caching to profile images * Fixing break * Adding back in failed read * Fixing build break * Fixing break
* Fix copy/paste error for getting users (#5373)Joram Wilander2017-02-121-4/+4
|
* Adding go vet from hack-a-thon (#5328)Corey Hulen2017-02-091-3/+1
| | | | | | | | | | | | | | | | | | | | | | * Adding go vet to the api package * Adding go vet to app package * Adding go vet to manualtesting package * Adding go vet to the model package * Adding go vet to the store dir * Adding go vet to utils package * Adding missing dirs with go files * Fixing up makefile * Fixing up makefile * Removing root dir
* Implement GET `/users/username/{username}` endpoint for APIv4 (#5310)Ruzette Tanyag2017-02-081-1/+2
| | | | | | | | | | | | * 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-4/+4
|
* Implement PUT /users/{user_id}/password endpoint for APIv4 (#5243)Joram Wilander2017-02-071-6/+3
|
* Implement GET `/users/email/{email}` endpoint for APIv4 (#5309)Ruzette Tanyag2017-02-071-1/+6
| | | | | | | | | | * 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 GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-031-9/+125
|
* Implement POST /users/ids endpoint for APIv4 (#5274)Joram Wilander2017-02-031-2/+8
|
* PLT-5365 Import of basic user properties. (#5231)George Goldberg2017-01-311-24/+35
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-0/+108
| | | | | | * Implement APIv4 infrastructure * Update parameter requirement functions per feedback
* More app code migration (#5170)Joram Wilander2017-01-251-4/+150
| | | | | | | | * 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-1/+1
| | | | | | * Move permissions code into app package * Revert getPosts permission