1. 05 Jul, 2018 1 commit
  2. 25 Jun, 2018 1 commit
  3. 28 May, 2018 1 commit
  4. 23 May, 2018 1 commit
    • Jesse Hallam's avatar
      MM-8622: Improved plugin error reporting (#8737) · 847c181e
      Jesse Hallam authored
      * allow `Wait()`ing on the supervisor
      
      In the event the plugin supervisor shuts down a plugin for crashing too
      many times, the new `Wait()` interface allows the `ActivatePlugin` to
      accept a callback function to trigger when `supervisor.Wait()` returns.
      If the supervisor shuts down normally, this callback is invoked with
      a nil error, otherwise any error reported by the supervisor is passed
      along.
      
      * improve plugin activation/deactivation logic
      
      Avoid triggering activation of previously failed-to-start plugins just
      becase something in the configuration changed. Now, intelligently
      compare the global enable bit as well as the each individual plugin's
      enabled bit.
      
      * expose store to manipulate PluginStatuses
      
      * expose API to fetch plugin statuses
      
      * keep track of whether or not plugin sandboxing is supported
      
      * transition plugin statuses
      
      * restore error on plugin activation if already active
      
      * don't initialize test plugins until successfully loaded
      
      * emit websocket events when plugin statuses change
      
      * skip pruning if already initialized
      
      * MM-8622: maintain plugin statuses in memory
      
      Switch away from persisting plugin statuses to the database, and
      maintain in memory instead. This will be followed by a cluster interface
      to query the in-memory status of plugin statuses from all cluster nodes.
      
      At the same time, rename `cluster_discovery_id` on the `PluginStatus`
      model object to `cluster_id`.
      
      * MM-8622: aggregate plugin statuses across cluster
      
      * fetch cluster plugin statuses when emitting websocket notification
      
      * address unit test fixes after rebasing
      
      * relax (poor) racey unit test re: supervisor.Wait()
      
      * make store-mocks
      847c181e
  5. 20 Apr, 2018 1 commit
  6. 28 Mar, 2018 1 commit
    • Christian Claus's avatar
      [PLT-4340] Channel Mute and "/mute" command #7617 (#7713) · 257f7487
      Christian Claus authored
      * Add command and store changes to allow mute toggling
      
      * Change channel muting to use ChannelMember notification structure
      
      * Suppress email and push notifications for a muted channel
      
      * Make i18n keys issue-compliant
      
      * Add notification-cache handling for channel-muting
      
      * Add channel handle for channel-muting slash-command
      
      * Add unit test for mute command
      
      * Merge branch 'master' into PLT-4340
      
      # Conflicts:
      #	app/notification.go
      
      * Fix issue that command_mute responses will be overwritten
      
      * Fix i18n key for channel muting
      
      * Apply new Provider Interface to MuteCommand
      
      * Migrate mute notification property to mark_unread
      
      PLT-4340
      
      * Make some i18n improvements for command_mute
      
      PLT-4340
      
      * Remove de.json translations
      
      * Prevent push notifications when channel is muted
      
      * Treat Group messages like Direct messages
      
      * Fix unit test
      
      * Send WS event when the channel member notify props changed
      257f7487
  7. 05 Mar, 2018 1 commit
  8. 20 Feb, 2018 1 commit
  9. 06 Feb, 2018 1 commit
    • George Goldberg's avatar
      XYZ-37: Advanced Permissions Phase 1 Backend. (#8159) · e1cd6461
      George Goldberg authored
      * XYZ-13: Update Permission and Role structs to new design.
      
      * XYZ-10: Role store.
      
      * XYZ-9/XYZ-44: Roles API endpoints and WebSocket message.
      
      * XYZ-8: Switch server permissions checks to store backed roles.
      
      * XYZ-58: Proper validation of roles where required.
      
      * XYZ-11/XYZ-55: Migration to store backed roles from policy config.
      
      * XYZ-37: Update unit tests to work with database roles.
      
      * XYZ-56: Remove the "guest" role.
      
      * Changes to SetDefaultRolesFromConfig.
      
      * Short-circuit the store if nothing has changed.
      
      * Address first round of review comments.
      
      * Address second round of review comments.
      e1cd6461
  10. 01 Feb, 2018 1 commit
  11. 30 Jan, 2018 1 commit
  12. 31 Oct, 2017 1 commit
  13. 15 Sep, 2017 1 commit
  14. 27 Jul, 2017 1 commit
  15. 29 Jun, 2017 1 commit
  16. 23 Jun, 2017 1 commit
    • VeraLyu's avatar
      PLT-3711: Add websocket event for emoji addition (#6211) · 33eb77b7
      VeraLyu authored
      * PLT-3711: Add websocket event for emoji addition
      
      * (SA) updated as per review
      
      This PR is edited directly to merge into master.
      
      * (SA) updated as per review
      
      This PR is edited directly to merge into master.
      33eb77b7
  17. 21 Jun, 2017 1 commit
  18. 21 Apr, 2017 1 commit
  19. 20 Apr, 2017 1 commit
  20. 12 Apr, 2017 1 commit
    • Harrison Healey's avatar
      PLT-5860 Updated copyright date (#6058) · fb6f2a12
      Harrison Healey authored
      * 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
      fb6f2a12
  21. 04 Apr, 2017 1 commit
  22. 01 Apr, 2017 1 commit
  23. 02 Mar, 2017 1 commit
    • Joram Wilander's avatar
      PLT-3077 Add group messaging (#5489) · 3a91d4e5
      Joram Wilander authored
      * 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)
      3a91d4e5
  24. 27 Feb, 2017 1 commit
  25. 13 Feb, 2017 1 commit
  26. 19 Dec, 2016 1 commit
    • enahum's avatar
      PLT-4167 Team Sidebar (#4569) · 999d1553
      enahum authored
      * PLT-4167 Team Sidebar
      
      * Address feedback from PM
      
      * change route from my_members to members
      
      * bug fixes
      
      * Updating styles for teams sidebar (#4681)
      
      * Added PM changes
      
      * Fix corner cases
      
      * Addressing feedback
      
      * use two different endpoints
      
      * Bug fixes
      
      * Rename model and client functions, using preferences to store last team and channel viewed
      
      * Fix mobile notification count and closing the team sidebar
      
      * unit test, fixed bad merge and retrieve from cached when available
      
      * bug fixes
      
      * use id for last channel in preferences, query optimization
      
      * Updating multi team css (#4830)
      999d1553
  27. 30 Nov, 2016 1 commit
    • Harrison Healey's avatar
      PLT-1378 Initial version of emoji reactions (#4520) · 165ad0d4
      Harrison Healey authored
      * Refactored emoji.json to support multiple aliases and emoji categories
      
      * Added custom category to emoji.jsx and stabilized all fields
      
      * Removed conflicting aliases for :mattermost: and 🇨🇦
      
      * fixup after store changes
      
      * Added emoji reactions
      
      * Removed reactions for an emoji when that emoji is deleted
      
      * Fixed incorrect test case
      
      * Renamed ReactionList to ReactionListView
      
      * Fixed 👍 and 👎 not showing up as possible reactions
      
      * Removed text emoticons from emoji reaction autocomplete
      
      * Changed emoji reactions to be sorted by the order that they were first created
      
      * Set a maximum number of listeners for the ReactionStore
      
      * Removed unused code from Textbox component
      
      * Fixed reaction permissions
      
      * Changed error code when trying to modify reactions for another user
      
      * Fixed merge conflicts
      
      * Properly applied theme colours to reactions
      
      * Fixed ESLint and gofmt errors
      
      * Fixed ReactionListContainer to properly update when its post prop changes
      
      * Removed unnecessary escape characters from reaction regexes
      
      * Shared reaction message pattern between CreatePost and CreateComment
      
      * Removed an unnecessary select query when saving a reaction
      
      * Changed reactions route to be under /reactions
      
      * Fixed copyright dates on newly added files
      
      * Removed debug code that prevented all unit tests from being ran
      
      * Cleaned up unnecessary code for reactions
      
      * Renamed ReactionStore.List to ReactionStore.GetForPost
      165ad0d4
  28. 22 Nov, 2016 1 commit
    • Corey Hulen's avatar
      PLT-4357 adding performance monitoring (#4622) · 7961599b
      Corey Hulen authored
      * 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
      7961599b
  29. 31 Oct, 2016 1 commit
    • Joram Wilander's avatar
      PLT-3562 Switch websocket over to post-connect authentication (#4327) · 316b155a
      Joram Wilander authored
      * Switch websocket over to post-connect authentication
      
      * Add ability to specify token in websocket js driver, add unit tests
      
      * Temporarily disable client websocket tests until issues are resolved
      
      * Minor refactoring and fix status test
      
      * Add isAuthenticated method to WebConn and minor status updates
      316b155a
  30. 20 Oct, 2016 1 commit
  31. 19 Oct, 2016 1 commit
    • Joram Wilander's avatar
      Merging performance branch into master (#4268) · 365b8b46
      Joram Wilander authored
      * 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
      365b8b46
  32. 27 Sep, 2016 1 commit
  33. 15 Sep, 2016 1 commit
  34. 04 Sep, 2016 1 commit
  35. 24 Aug, 2016 1 commit
  36. 12 Jul, 2016 1 commit