summaryrefslogtreecommitdiffstats
path: root/api/user.go
Commit message (Collapse)AuthorAgeFilesLines
...
* PLT-4550 move webrtc to TE (#4440)enahum2016-11-041-9/+3
| | | | | | * PLT-4550 move webrtc to TE * remove webrtc from makefile enterprise tests
* Update user search to match against username, full name, nickname and email ↵Joram Wilander2016-11-031-1/+3
| | | | (#4421)
* EE: PLT-4512 Show secret in addition to QR code when activating MFA (#4427)Joram Wilander2016-11-031-6/+9
| | | | | | | | * EE: Update MFA to display secret for manual entry * Width adjustments for secret (#4423) * Add unit test
* PLT-4535/PLT-4503 Fix inactive users in searches and add option ↵Joram Wilander2016-11-021-17/+20
| | | | | | | | | | | | | | 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
* Moving away from goamz to use minio-go instead. (#4193)Harshavardhana2016-10-261-1/+1
| | | | | | | | | | | | | minio-go does fully managed way of handling S3 API requests - Automatic bucket location management across all s3 regions. - Transparently upload large files in multipart if file 64MB or larger. - Right GetObject() API provides compatibility with io.ReadWriteSeeker interface. - Various other APIs including bulk deletes, server side object copy, bucket policies and bucket notifications. Fixes #4182
* Merging performance branch into master (#4268)Joram Wilander2016-10-191-42/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * improve performance on sendNotifications * Fix SQL queries * Remove get direct profiles, not needed anymore * Add raw data to error details if AppError fails to decode * men * Fix decode (#4052) * Fixing json decode * Adding unit test * Initial work for client scaling (#4051) * Begin adding paging to profiles API * Added more paging functionality * Finish hooking up admin console user lists * Add API for searching users and add searching to all user lists * Add lazy loading of profiles * Revert config.json * Fix unit tests and some style issues * Add GetProfilesFromList to Go driver and fix web unit test * Update etag for GetProfiles * Updating ui for filters and pagination (#4044) * Updating UI for pagination * Adjusting margins for filter row * Adjusting margin for specific modals * Adding relative padding to system console * Adjusting responsive view * Update client user tests * Minor fixes for direct messages modal (#4056) * Remove some unneeded initial load calls (#4057) * UX updates to user lists, added smart counts and bug fixes (#4059) * Improved getExplicitMentions and unit tests (#4064) * Refactor getting posts to lazy load profiles correctly (#4062) * Comment out SetActiveChannel test (#4066) * Profiler cpu, block, and memory profiler. (#4081) * Fix TestSetActiveChannel unit test (#4071) * Fixing build failure caused by dependancies updating (#4076) * Adding profiler * Fix admin_team_member_dropdown eslint errors * Bumping session cache size (#4077) * Bumping session cache size * Bumping status cache * Refactor how the client handles channel members to be large team friendly (#4106) * Refactor how the client handles channel members to be large team friendly * Change Id to ChannelId in ChannelStats model * Updated getChannelMember and getProfilesByIds routes to match proposal * Performance improvements (#4100) * Performance improvements * Fixing re-connect issue * Fixing error message * Some other minor perf tweaks * Some other minor perf tweaks * Fixing config file * Fixing buffer size * Fixing web socket send message * adding some error logging * fix getMe to be user required * Fix websocket event for new user * Fixing shutting down * Reverting web socket changes * Fixing logging lvl * Adding caching to GetMember * Adding some logging * Fixing caching * Fixing caching invalidate * Fixing direct message caching * Fixing caching * Fixing caching * Remove GetDirectProfiles from initial load * Adding logging and fixing websocket client * Adding back caching from bad merge. * Explicitly close go driver requests (#4162) * Refactored how the client handles team members to be more large team friendly (#4159) * Refactor getProfilesForDirectMessageList API into getAllProfiles API * Refactored how the client handles team members to be more large team friendly * Fix js error when receiving a notification * Fix JS error caused by current user being overwritten with sanitized version (#4165) * Adding error message to status failure (#4167) * Fix a few bugs caused by client scaling refactoring (#4170) * When there is no read replica, don't open a second set of connections to the master database (#4173) * Adding connection tacking to stats (#4174) * Reduce DB writes for statuses and other status related changes (#4175) * Fix bug preventing opening of DM channels from more modal (#4181) * Fixing socket timing error (#4183) * Fixing ping/pong handler * Fixing socket timing error * Commenting out status broadcasting * Removing user status changes * Removing user status changes * Removing user status changes * Removing user status changes * Adding DoPreComputeJson() * Performance improvements (#4194) * * Fix System Console Analytics queries * Add db.SetConnMaxLifetime to 15 minutes * Add "net/http/pprof" for profiling * Add FreeOSMemory() to manually release memory on reload config * Add flag to enable http profiler * Fix memory leak (#4197) * Fix memory leak * removed unneeded nil assignment * Fixing go routine leak (#4208) * Merge fixes * Merge fix * Refactored statuses to be queried by the client rather than broadcast by the server (#4212) * Refactored server code to reduce status broadcasts and to allow getting statuses by IDs * Refactor client code to periodically fetch statuses * Add store unit test for getting statuses by ids * Fix status unit test * Add getStatusesByIds REST API and move the client over to use that instead of the WebSocket * Adding multiple threads to websocket hub (#4230) * Adding multiple threads to websocket hub * Fixing unit tests * Fixing so websocket connections from the same user end up in the same… (#4240) * Fixing so websocket connections from the same user end up in the same list * Removing old comment * Refactor user autocomplete to query the server (#4239) * Add API for autocompleting users * Converted at mention autocomplete to query server * Converted user search autocomplete to query server * Switch autocomplete API naming to use term instead of username * Split autocomplete API into two, one for channels and for teams * Fix copy/paste error * Some final client scaling fixes (#4246) * Add lazy loading of profiles to integration pages * Add lazy loading of profiles to emoji page * Fix JS error when receiving post in select team menu and also clean up channel store
* PLT-3968 Require user for getMe API (#4225)enahum2016-10-171-5/+1
|
* PLT-4155 Show correct login method in system console (#4102)enahum2016-09-281-0/+1
| | | | | | * PLT-4155 Show correct login method in system console * Remove checking for system admin privileges in getProfiles
* PLT-3734 Cleaning up shouldSendEvent function (#4024)enahum2016-09-271-5/+14
| | | | | | * PLT-3734 Cleaning up shouldSendEvent function * Fix LHS unread highlight and jewel mentions
* Fixing update roles API (#4060)Christopher Speller2016-09-221-106/+28
|
* Fix issue when saving session has an error (#4053)Corey Hulen2016-09-211-0/+9
| | | | | | * Fix issue is saving session has an error * Fixing break break
* PLT-3412 WebRTC Server side & System Console (#3706)enahum2016-09-151-0/+12
| | | | | | | | | | * WebRTC Server side * WebRTC System Console * Consistency on variable names * Add turn and stun uri validation
* Update getUser API and add it to the JS driver (#4020)Joram Wilander2016-09-141-6/+3
|
* Modifying permissions system. (#3897)Christopher Speller2016-09-131-30/+30
|
* PLT-3766 Change remaining LDAP references to AD/LDAP (#3985)Jason Blais2016-09-081-1/+1
| | | | | | | | | | * Update user.go * Update en.json * Update ldap_test_button.jsx * Update en.json
* Fixing SanitizeProfile (#3930)Christopher Speller2016-09-021-10/+19
|
* Fixing license (#3878)Corey Hulen2016-08-251-1/+1
| | | | | | | | * Fixing sanitize license * Fixing license * Fixing unit tests
* PLT-3942 Add real-time updates for center channel profile picture popover ↵enahum2016-08-241-44/+21
| | | | | | | | | | (#3871) * PLT-3942 Add real-time updates for center channel profile picture pop-over * Send user data with the websocket event to prevent further requests * Add helper for profile sanitation
* Send verification email if user has never logged in, send email changed ↵Joram Wilander2016-08-121-2/+2
| | | | email otherwise (#3759)
* PLT-3484 OAuth2 Service Provider (#3632)enahum2016-08-031-1/+14
| | | | | | | | | | | | | | * PLT-3484 OAuth2 Service Provider * PM text review for OAuth 2.0 Service Provider * PLT-3484 OAuth2 Service Provider UI tweaks (#3668) * Tweaks to help text * Pushing OAuth improvements (#3680) * Re-arrange System Console for OAuth 2.0 Provider
* PLT-3633 EE: Add Google and Office365 SSO through OAuth2 (#3660)Joram Wilander2016-07-291-2/+2
| | | | | | | | | | | | | | | | * EE: Add Google and Office365 SSO through OAuth2 * Add localization strings * Text tweaks for PLT-3633 * Added sign-up button for Office 365 * Updated some error messages and a bit of licensing * Updated sign-in method section in user settings to include Google and Office365 * Added more localization strings
* Changing LDAP behavour so users disabled in LDAP server are disabled in ↵Christopher Speller2016-07-261-11/+17
| | | | Mattermost. (#3669)
* PLT-1866/PLT-3509 Added links to download the native apps (#3651)Harrison Healey2016-07-221-0/+5
| | | | | | | | | | | | * PLT-1866 Added configurable links for native app downloads * PLT-1866 Added native app download link to main menu * PLT-3509 Added native app link to tutorial * PLT-3509 Added native app link to welcome email * PLT-3509 Made link to apps in welcome email conditional on being set
* PLT-3691 Fixing mobile session (#3652)Corey Hulen2016-07-211-1/+22
| | | | | | * PLT-3691 Fixing mobile session * Fixing unit tests
* PLT-914 Add mention notifications for replies on a comment thread (#3130)samogot2016-07-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-914 Add mention notifications for replies on a comment thread * remove useless store method fix highlighting comments posted before th user write something to thread * refactor out isCommentMention function after rebase * change comment bar highlighting to replay icon mention highlighting * settings and always visible highlight * fix unit tests for new settings * change highlight behaviour - if any message in comment thread generates mention - all thread is highlighted - remove always visible highlightion * fix bug about the textarea in the center channel not clearing * fix default settings value notify_props.comments * do not highlight own comments if there is no other user's messages in thread * refactor out ReactDOM.findDOMNode * refactor out using of UserStore from component
* PLT-2241 Refactored statuses into a more real-time system (#3573)Joram Wilander2016-07-181-34/+4
| | | | | | | | | | * Refactored statuses into a more real-time system * Updated package.json with correct commit and fixed minor bug * Minor updates to statuses based on feedback * When setting status online, update only LastActivityAt if status already exists
* Merge branch 'release-3.2' into 'master'Harrison Healey2016-07-151-10/+4
|\
| * Revert "Login error messages fix (#3525)"Christopher Speller2016-07-121-6/+4
| | | | | | | | This reverts commit 2e513c8fd4c6b1b428b83044c017836b0011d32b.
| * Revert "Letting email not validated error message through login. Changing ↵Christopher Speller2016-07-121-5/+1
| | | | | | | | | | | | invalid credentials error. (#3546)" This reverts commit 128e4f984ad565297ab1c7b8921d877d3a9c8f03.
* | PLT-3584 Fix no team found when creating account (#3552)enahum2016-07-131-1/+3
| |
* | PLT-3384 Improve the "Verify Email" email (#3564)enahum2016-07-131-5/+9
| |
* | Merged release-3.2 into masterHarrison Healey2016-07-121-3/+11
|\|
| * Some improvments to password handling (#3549)Christopher Speller2016-07-121-2/+6
| |
| * Letting email not validated error message through login. Changing invalid ↵Christopher Speller2016-07-121-1/+5
| | | | | | | | credentials error. (#3546)
| * Login error messages fix (#3525)Christopher Speller2016-07-081-4/+6
| |
* | Added infrastructure for basic WebSocket API (#3432)Joram Wilander2016-07-121-1/+22
| |
* | Merge release 3.2 into master (#3548)Harrison Healey2016-07-111-4/+6
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bumping version to: 3.2.0-rc1 * PLT-2863 fixing bad merge that broke this PR (#3523) * PLT-2863 adding remove user from team * PLT-2863 adding the client side UI * Fixing trailing space * Fixing reported issues * Adding documentatino * Switching to final javascript driver * Fixing bad merge * Fixing bad merge * PLT-3538 Fix Login page doesn't show SAML option if gitlab is enabled (#3524) * Login error messages fix (#3525) * daily translations 20160708 (#3533) * Fixed permissions when getting a file attachment to use the correct user id (#3535) * PLT-3575 Fix Cannot upload certificates with .cer file extension on SAML (#3534) * PLT-3560 blocking adding to channel once user is removed (#3537) * Always allow system admins to see the Integrations sidebar (#3536) * Plt 3475 - Post control improvements (#3538) * Adding class to post when dropdown is active. * plt-3475 - Post controls improvements * daily translations 20160711 (#3544)
* PLT-1465 Added password requirements (#3489)David Lu2016-07-061-12/+22
| | | | | | | | | | * Added password requirements * added tweaks * fixed error code * removed http.StatusNotAcceptable
* PLT-3502 Fix Team admins can't give "team admin" privilege to members (#3499)enahum2016-07-061-3/+16
|
* SAML support (#3494)enahum2016-07-051-5/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-3073: Implement SAML/Okta Server side (EE) (#3422) * PLT-3137 Support for SAML configuration * PLT-3410 SAML Database Store * PLT-3411 CLI to add Identity Provider Certificate and Service Provider Private Key * PLT-3409 SAML Interface for EE * PLT-3139 Handle SAML authentication server side * Add localization messages * PLT-3443 SAML Obtain SP metadata * PLT-3142 Login & Switch to/from SAML * Remove Certs for Database & Clean SAML Request * Make required Username, FirstName and LastName * PLT-3140 Add SAML to System Console (#3476) * PLT-3140 Add SAML to System Console * Move web_client functions to client.jsx * Fix issues found by PM * update package.json mattermost driver * Fix text messages for SAML
* Sanitize personal information out of license for non system admin users (#3487)Joram Wilander2016-07-051-1/+5
|
* PLT-3454 Verification Email fails to send when logging in with username (#3475)enahum2016-07-051-4/+2
|
* Email check shouldn't be case-sensitive #3349 (#3350)Thiyagaraj Krishna2016-06-271-1/+1
| | | Email address "allowed domains" check appears to be case-sensitive #3349
* PLT-3264 remove session cookie when switching accounts (#3341)Corey Hulen2016-06-151-0/+3
|
* Fix bad condition on hiding email addresses and update user etag to include ↵Joram Wilander2016-06-141-4/+4
| | | | privacy settings (#3327)
* Made error message clearer (#3318)David Lu2016-06-141-2/+8
|
* Auto join teams if coming from team sign-up page to login for GitLab (#3284)Joram Wilander2016-06-071-17/+6
|
* Adding LDAP Syncronization (#3219)Christopher Speller2016-06-031-0/+23
|
* PLT-1800 Load server side locale from the config.json (#3202)enahum2016-06-021-0/+1
| | | | | | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency * Fix get locale on login_controller
* Revert "PLT-1800 Load server side locale from the config.json" (#3201)Christopher Speller2016-06-011-1/+0
|