summaryrefslogtreecommitdiffstats
path: root/api/user.go
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Migrate functions to app package (#5106)Joram Wilander2017-01-191-637/+178
| | | | | | | | | | | | | | | | | | * Refactor and move session logic into app package * Refactor email functions into the app package * Refactor password update into app package * Migrate user functions to app package * Move team functions into app package * Migrate channel functions into app package * Pass SiteURL through to app functions * Update based on feedback
* Fix preferences not loading correctly (#5084)Joram Wilander2017-01-161-1/+5
|
* Refactor and migrate more functions out of api into app package (#5063)Joram Wilander2017-01-131-534/+148
|
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-160/+111
| | | | | | | | | | * Add app package and move logic over from api package * Change app package functions to return errors * Move non-api tests into app package * Fix merge
* PLT-4317: Fix Desktop App platform in sessions list. (#5048)George Goldberg2017-01-131-0/+4
| | | | Incidentally fixes displaying the Linux icon next to sessions on Linux at the same time.
* Removing old signup team API (#4950)Christopher Speller2017-01-041-1/+1
|
* Adding Etag to user profile pictures. (#4926)Christopher Speller2017-01-031-0/+7
|
* Add API call to get a user by their email address (#4884)Carlos Tadeu Panato Junior2016-12-281-0/+19
| | | | | | * Add API call to get a user by their email address * update per review
* Don't autocomplete users by email (#4896)Joram Wilander2016-12-261-1/+11
|
* Fixing image profiles (#4863)Corey Hulen2016-12-211-4/+8
| | | | | | * Fixing image profiles * Fixing break
* Adding metrics for caching mechanisms (#4828)Christopher Speller2016-12-191-6/+6
|
* PLT-4982 Adding caching to user profiles (#4782)Corey Hulen2016-12-141-1/+1
|
* PLT-4767 Implement MFA Enforcement (#4662)Joram Wilander2016-12-121-4/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-7/+2
| | | | | | * PLT-4853 Adding caching invalidation to HA * PLT-4853 Adding cach purging to the server
* Improving command line interface (#4689)Christopher Speller2016-12-061-14/+9
|
* Fixing crash when attempting to login (#4704)Corey Hulen2016-12-051-1/+1
|
* PLT-4710 User search now obeys privacy settings (#4673)Joram Wilander2016-12-021-2/+31
| | | | | | * Consider privacy settings in user search * Add sysadmin as exception to privacy settings for user search
* PLT-4697 Update channel switcher to autocomplete all users on the system (#4624)Joram Wilander2016-11-291-0/+22
| | | | | | * Add autocomplete API for system-wide users * Update channel switcher to autocomplete all users on the system
* PLT-4403 Add server-based channel autocomplete, search and paging (#4585)Joram Wilander2016-11-241-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-4357 adding performance monitoring (#4622)Corey Hulen2016-11-221-0/+12
| | | | | | | | | | | | | | | | | | * WIP * WIP * Adding metrics collection * updating vendor packages * Adding metrics to config * Adding admin console page for perf monitoring * Updating glide * switching to tylerb/graceful
* PLT-3762 - Add API call to get a user by their username (#4611)Carlos Tadeu Panato Junior2016-11-211-0/+19
| | | | | | | | | | | | | | * PLT-3762 - Add API call to get a user by their username * fix lint * update rote * update per code review * update per code review * remove first/last name is not used in this test
* PLT-4524 Update password reset page (#4522)Carlos Tadeu Panato Junior2016-11-171-1/+1
| | | | | | | | | | | | | | | | * Implement PLT-4524 Update password reset page * fix lints * changes based on review * update per request/review * update tests * add css for alert-success * change per request
* Deauthenticate websockets and set status to offline when user account ↵Joram Wilander2016-11-151-2/+13
| | | | deactivated (#4551)
* Merge branch 'release-3.5'Christopher Speller2016-11-151-4/+4
|\
| * Fixing problem with email verification link (#4547)Corey Hulen2016-11-141-4/+4
| |
* | Increase unit test coverage of api/user.go (#4541)Raphaël Bournhonesque2016-11-141-0/+2
| | | | | | | | | | | | * Add test to CheckUserDomain * Add unit test to IsUsernameTaken
* | PLT-4618 Fix email subjects (#4537)enahum2016-11-141-30/+19
|/
* PLT-4716 fixes cache invalidation issue (#4518)Corey Hulen2016-11-101-0/+3
| | | | | | | | | | * PLT-4716 fixes cache invalidation issue * Adding missing interface * Adding cache invalidation to channel notification preferences * Adding cache invalidation to channel notification preferences
* 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
|