summaryrefslogtreecommitdiffstats
path: root/webapp/actions/user_actions.jsx
Commit message (Collapse)AuthorAgeFilesLines
* Redux bug fixes (#6243)Joram Wilander2017-04-261-1/+1
| | | | | | | | * Fix save teams dispatch * Fix login when MFA is enabled but not active * Fix JS error caused by using deleted team member
* Start moving webapp to Redux (#6140)Joram Wilander2017-04-251-281/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start moving webapp to Redux * Fix localforage import * Updates per feedback * Feedback udpates and a few fixes * Minor updates * Fix statuses, config not loading properly, getMe sanitizing too much * Fix preferences * Fix user autocomplete * Fix sessions and audits * Fix error handling for all redux actions * Use new directory structure for components and containers * Refresh immediately on logout instead of after timeout * Add fetch polyfill
* Merge branch 'release-3.8'Christopher Speller2017-04-171-14/+47
|\
| * PLT-6253: Handle demote self from Team Admin. (#6056)George Goldberg2017-04-101-0/+12
| |
| * Check if we need to add DM/GM to sidebar regardless of post sender (#6009)Joram Wilander2017-04-071-14/+35
| |
* | 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-6023: Add Users to Team in WebApp. (#5956)George Goldberg2017-04-041-0/+22
| | | | | | | | | | | | | | | * PLT-6198: Use added to channel system message on default channels. Use a different sytem message when a user was added to a default channel by someone else than when they joined themselves. * PLT-6023: Add Users to Team in WebApp. * Fix string text. * Handle added_to_team websocket message. * Fix unread flag on new channel.
* PLT-2713/PLT-6028 Added System Users list to System Console (#5882)Harrison Healey2017-03-301-22/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-2713 Added ability for admins to list users not in any team * Updated style of unit test * Split SearchableUserList to give better control over its properties * Added users without any teams to the user store * Added ManageUsers page * Renamed ManageUsers to SystemUsers * Added ability to search by user id in SystemUsers page * Added SystemUsersDropdown * Removed unnecessary injectIntl * Created TeamUtils * Reduced scope of system console heading CSS * Added team filter to TeamAnalytics page * Updated admin console sidebar * Removed unnecessary TODO * Removed unused reference to deleted modal * Fixed system console sidebar not scrolling on first load * Fixed TeamAnalytics page not rendering on first load * Fixed chart.js throwing an error when switching between teams * Changed TeamAnalytics header to show the team's display name * Fixed appearance of TeamAnalytics and SystemUsers on small screen widths * Fixed placement of 'No users found' message * Fixed teams not appearing in SystemUsers on first load * Updated user count text for SystemUsers * Changed search by id fallback to trigger less often * Fixed SystemUsers list items not updating when searching * Fixed localization strings for SystemUsers page
* PLT-5035 Added loading of missing profiles when hovering over reactions (#5887)Harrison Healey2017-03-301-0/+10
|
* Fix GMs showing up on refresh after being hidden (#5702)Joram Wilander2017-03-091-1/+1
|
* Fix MFA page showing up when not active on account switch (#5687)Joram Wilander2017-03-091-1/+1
|
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-56/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement server changes for group messaging * Majority of client-side implementation * Some server updates * Added new React multiselect component * Fix style issues * Add custom renderer for options * Fix model test * Update ENTER functionality for multiselect control * Remove buttons from multiselect UI control * Updating group messaging UI (#5524) * Move filter controls up a component level * Scroll with arrow keys * Updating mobile layout for multiselect (#5534) * Fix race condition when backspacing quickly * Hidden or new GMs show up for regular messages * Add overriding of number remaining text * Add UI filtering for team if config setting set * Add icon to channel switcher and class prop to status icon * Minor updates per feedback * Improving group messaging UI (#5563) * UX changes per feedback * Update email for group messages * UI fixes for group messaging (#5587) * Fix missing localization string * Add maximum users message when adding members to GM * Fix input clearing on Android * Updating group messaging UI (#5603) * Updating UI for group messaging (#5604)
* Fix load profile for new DM message (#5441)Joram Wilander2017-02-161-0/+4
|
* Remove MakeDirectChannelVisible and add client handling for showing DMs (#5430)Joram Wilander2017-02-151-1/+45
|
* PLT-5328 Fixing signup screen (#5247)Christopher Speller2017-02-021-19/+1
| | | | | | * Fixing signup screen not forwarding properly * Fixing team id not forwarding from invite link if only LDAP is enabled
* Fix logging in with MFA (#5248)Joram Wilander2017-02-011-1/+1
|
* Move remaining client functions in components to actions (#5171)Carlos Tadeu Panato Junior2017-01-271-1/+156
|
* Move instances of Client.resendVerification() in components to an action (#5169)Carlos Tadeu Panato Junior2017-01-241-0/+16
|
* Move instances of Client.resetPassword() in components to an action (#5167)Carlos Tadeu Panato Junior2017-01-241-0/+22
|
* Move instances of Client.verifyEmail() in components to an action (#5166)Carlos Tadeu Panato Junior2017-01-241-0/+17
|
* Move instances of Client.updateUserNotifyProps() in components to an action ↵Saturnino Abril2017-01-231-0/+18
| | | | (#5156)
* PLT-5050 (WebApp): Change channel member roles. (#5076)George Goldberg2017-01-181-32/+3
| | | | Admins can now Promote/Demote channel members in the Channel Manage Membersmodal.
* PLT-5134 removing the async sending from update user (#5078)Corey Hulen2017-01-161-2/+2
|
* PLT-5049 (Webapp) New Channel Members UI. (#5036)George Goldberg2017-01-151-0/+108
| | | | | | | | | | | This replaces the existing Channel Members UI with one based on the Team Members UI, so that either a button, a role or a role with a menu can be displayed. Basic logic for which actions and roles are displayed is implemented, although this doesn't change behaviour or functionality at all, as that will come in later PRs. It does, however, add code to fetch the ChannelMember objects as that is necessary to provide the full set of actions and roles as intended.
* Move instances of Client.updatePassword() in components to an action (#4908) ↵AymaneKhouaji2017-01-101-0/+15
| | | | (#5021)
* Fixing errors on user updates (#4962)Christopher Speller2017-01-041-1/+2
|
* PLT-5109/PLT-5112 Fixed commented out unit tests (#4951)Harrison Healey2017-01-041-1/+0
| | | | | | | | * Removed note about unconfirmed race condition * Fixed unit tests in client_channel.test.jsx * Fixed updateActive unit test on client
* #4698 Move Client.updateActive() in components to an action (#4858)Björn Roland2016-12-211-0/+17
| | | | | | * #4698 Move instances of Client.updateActive() in components to an action * Use null for empty success function
* PLT-4767 Implement MFA Enforcement (#4662)Joram Wilander2016-12-121-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix react warnings and part of backstage (#4706)enahum2016-12-051-1/+1
|
* Fix more react warnings & fix saving theme (#4667)enahum2016-11-291-8/+10
|
* PLT-4697 Update channel switcher to autocomplete all users on the system (#4624)Joram Wilander2016-11-291-0/+18
| | | | | | * Add autocomplete API for system-wide users * Update channel switcher to autocomplete all users on the system
* Move instances of Client.updateUserRoles() in components to an action (#4657)Nick Frazier2016-11-291-0/+19
| | | | | | * moved updateUserRoles to user_actions * updated second updateUserRoles call
* Merge branch 'release-3.5'Christopher Speller2016-11-241-0/+1
|\
| * Hotfix: PLT-4779 Fixing scrolling on loading a channel and missing DM ↵Harrison Healey2016-11-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | channel headers (#4584) * Added all parameters to call tracker ids when getting profiles * Changed channel header rendering to not depend on knowing all users in a DM channel * Added comment about a race condition in UserActions.populateDMChannelsWithProfiles * Added a fixed-height placeholder for the ChannelHeader when its state isn't valid for rendering
* | PLT-4572 - Move instances of Client.updateUser() in components to an action ↵Carlos Tadeu Panato Junior2016-11-171-0/+18
|/ | | | | (#4571) * Move instances of Client.updateUser() in components to an action
* EE: PLT-4512 Show secret in addition to QR code when activating MFA (#4427)Joram Wilander2016-11-031-0/+17
| | | | | | | | * EE: Update MFA to display secret for manual entry * Width adjustments for secret (#4423) * Add unit test
* Merging performance branch into master (#4268)Joram Wilander2016-10-191-5/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2074 Refactor desktop notification settings UI and add setting for ↵Joram Wilander2016-08-291-1/+1
| | | | | | | | | | duration (#3883) * Refactor desktop notification settings UI and add setting for duration * Update en.json * Update desktop_notification_settings.jsx
* PLT-3593 fixing issue of removing from team DM list (#3857)Corey Hulen2016-08-221-1/+1
|
* Moving javascript driver back to platform (#3613)Christopher Speller2016-07-191-1/+1
|
* PLT-2992 Added the ability to use different themes for each team (#3411)Harrison Healey2016-07-141-1/+55
| | | | | | | | | | | | | | | | | | | | | | * Cleaned up user_settings_theme.jsx and import_theme_modal.jsx * Made ImportThemeModal use a callback to return the theme to the user settings modal instead of saving it directly * Moved user theme from model to preferences * Added serverside API to delete preferences TODO update package with client stuff * Changed constants.jsx so that Preferences and ActionTypes can be imported on their own * Updated ThemeProps migration code to properly rename solarized code themes * Fixed warnings thrown by AppDispatcher * Added clientside UI to support team-specific themes * Removed debugging code from test * Fixed setting a user's theme when they haven't set their theme before
* Do not clear the more direct messsages list on every open (#3485)Joram Wilander2016-07-051-0/+8
|
* Display error correctly on ldap to email claim page (#3129)Joram Wilander2016-05-271-0/+22