summaryrefslogtreecommitdiffstats
path: root/store/sql_user_store.go
Commit message (Collapse)AuthorAgeFilesLines
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-251-1625/+0
| | | | | | | | | | * move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp
* Add error codes to user and webhook store errors. (#7459)George Goldberg2017-09-181-47/+46
|
* remove more global references (#7442)Chris2017-09-141-15/+17
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* Update IsUniqueConstraint to check error codes instead of message text (#7385)Joram Wilander2017-09-061-5/+5
|
* [PLT-7385] Add AuthData to IsUniqueConstraintError to indicate duplicated ↵Saturnino Abril2017-09-021-1/+1
| | | | | | | | email entry (#7197) * add AuthData to IsUniqueConstraintError to indicate duplicated email entry * add unique constraint for postgres
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-4/+4
|
* PLT-6987 User access token UI (#7007)Joram Wilander2017-08-011-1/+1
| | | | | | | | | | * Add user access token UI * Fix enter press and update mattermost-redux * Updating UI for access token stuff (#7066) * Revert segment key
* Add some basic sorting support for GET /users endpoint (#6801)Joram Wilander2017-06-301-7/+41
|
* Stage 1 of caching layer. Framework (#6693)Christopher Speller2017-06-271-2/+2
|
* PLT-6759 Show deactivated users in GMs (#6703)Joram Wilander2017-06-221-1/+1
| | | | | | * Show deactivated users in GMs * Fix runtime error when DMing deactivated user
* Copy users in/out out profileByIds cache to prevent data race (#6179)Joram Wilander2017-05-011-2/+5
|
* Fix error not appearing when updating to existing username (#6255)Joram Wilander2017-04-281-2/+2
|
* PLT-4457 Added API to get multiple users by their usernames (#6218)Harrison Healey2017-04-251-11/+10
| | | | | | | | | | * 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-36/+15
| | | | | | * Don't sanitize returned user when updating a user * Use user model function for clearing private data
* Merge branch 'release-3.8'Christopher Speller2017-04-171-1/+1
|\
| * PLT-6254: Search not in teams include removed members. (#6020)George Goldberg2017-04-071-1/+1
| |
* | Refactor OAuth 2.0 code into app layer (#6037)Joram Wilander2017-04-121-2/+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
* Add store unit tests and add make target for testing store with postgres (#5925)Joram Wilander2017-04-031-53/+0
| | | | | | | | * Add store unit tests and add make target for testing store with postgres * Remove postgres target form test-server target * Fix audit test
* PLT-6162: Search for users not in a given team. (#5943)George Goldberg2017-04-031-0/+26
|
* PLT-2713 Added ability for admins to list users not in any team (#5844)Harrison Healey2017-03-291-0/+48
| | | | | | * 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/+73
|
* Implement POST /users/search endpoint for APIv4 (#5822)Joram Wilander2017-03-231-0/+30
| | | | | | | | | | * 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 3.7 changes into master (#5679)Joram Wilander2017-03-071-1/+7
| | | | | | | | * Save schema version for 3.7 (#5675) * Adding index and cache to reactinos store (#5654) * Fix badge count for push notifications (#5672)
* Updating user attributes on oauth login (#5324)Poornima2017-02-261-2/+3
| | | | Moving update function to app package Fixing duplicate userID on create user test
* PLT-5070: Server side component of Telemetry. (#5514)George Goldberg2017-02-241-0/+39
|
* Bumping base cache numbers for master (#5451)Corey Hulen2017-02-171-2/+2
|
* Implement GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-031-21/+39
|
* Implement POST /users/ids endpoint for APIv4 (#5274)Joram Wilander2017-02-031-7/+5
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-2/+4
| | | | | | * Implement APIv4 infrastructure * Update parameter requirement functions per feedback
* Adding active users statistics to system console (#5141)Christopher Speller2017-01-201-0/+25
|
* PLT-4935 Fix searching for full email (#4947)Joram Wilander2017-01-031-9/+37
| | | | | | * Fix searching for full email * Fix unit test
* Adding metrics to cache for profile by ids api (#4925)Christopher Speller2017-01-031-0/+8
|
* Adding metrics for caching mechanisms (#4828)Christopher Speller2016-12-191-0/+13
|
* PLT-4332 Position field for Users (#4632)George Goldberg2016-12-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add User.Position field to store & model. * GOFMT * Add Position to user settings. * Unit tests. * Add position to profile popup. * i18n * Fix log message for invalid position. * Add Position field attribute to LDAP config. * Add Position field attribute to SAML config. * Reword empty position message. * Change Position Max Length to 35. * Better invalid position error message. * Add new fields to config.json. * Ensure position is never longer than max when displayed. * Hard limit of 64 chars with soft limit still 35 * Put field with other attributes.
* PLT-4982 Adding caching to user profiles (#4782)Corey Hulen2016-12-141-4/+34
|
* PLT-4767 Implement MFA Enforcement (#4662)Joram Wilander2016-12-121-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create MFA setup page and remove MFA setup from account settings modal * Add enforce MFA to system console and force redirect * Lockdown mfa required API routes, add localization, other changes * Minor fixes * Fix typo * Fix some unit tests * Fix more unit tests * Minor fix * Updating UI for MFA screen (#4670) * Updating UI for MFA screen * Updating styles for MFA page * Add the ability to switch between email/sso with MFA enabled * Added mfa change email * Minor UI updates for MFA enforcement * Fix unit test * Fix client unit test * Allow switching email to ldap and back when MFA is enabled * Fix unit test * Revert config.json
* PLT-4853 Adding cache purging to the server (server) (#4735)Corey Hulen2016-12-081-0/+4
| | | | | | * PLT-4853 Adding caching invalidation to HA * PLT-4853 Adding cach purging to the server
* Ignore double quotes in user search (#4725)Joram Wilander2016-12-071-0/+1
|
* PLT-4710 User search now obeys privacy settings (#4673)Joram Wilander2016-12-021-8/+18
| | | | | | * Consider privacy settings in user search * Add sysadmin as exception to privacy settings for user search
* PLT-4403 Add server-based channel autocomplete, search and paging (#4585)Joram Wilander2016-11-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add more channel paging API * Add channel paging support to client * Add DB channel search functions * Add API for searching more channels * Add more channel search functionality to client * Add API for autocompleting channels * Add channel autocomplete functionality to the client * Move to be deprecated APIs to their own file * Final clean-up * Fixes related to feedback * Localization changes * Add unit as suffix to timeout constants
* Fix user search when using an asterisk (#4586)Joram Wilander2016-11-211-1/+14
|
* PLT-4716 fixes cache invalidation issue (#4518)Corey Hulen2016-11-101-0/+13
| | | | | | | | | | * PLT-4716 fixes cache invalidation issue * Adding missing interface * Adding cache invalidation to channel notification preferences * Adding cache invalidation to channel notification preferences
* Don't count inactive users on statistic pages (#4482)Joram Wilander2016-11-081-3/+4
|
* Update user search to match against username, full name, nickname and email ↵Joram Wilander2016-11-031-7/+7
| | | | (#4421)
* PLT-4535/PLT-4503 Fix inactive users in searches and add option ↵Joram Wilander2016-11-021-29/+50
| | | | | | | | | | | | | | functionality to DB user search (#4413) * Add options to user database search * Fix inactive users showing up incorrectly in some user searches * Read JSON for searchUsers API into anonymous struct * Move anonymous struct to be a normal struct in model directory and upadte client to use it * Added clarification comment about slightly odd query condition in search
* Fix user autocomplete with special characters (#4373)Joram Wilander2016-10-311-2/+23
|
* Add database indexes to timestamp columns (#4314)enahum2016-10-241-0/+3
| | | | | | * Add database indexes to timestamp columns * add indexes to session table
* Filter out non-team members from invite to channel modal (#4312)Joram Wilander2016-10-241-0/+2
|