1. 23 Nov, 2018 16 commits
  2. 22 Nov, 2018 5 commits
    • Hyeseong Kim's avatar
      Refactor Modals, ChannelHeader and Navbar component (#1666) · a0b36ae4
      Hyeseong Kim authored
      * Refactor duplicated RenameChannelModal component
      
      Remove duplicated RenameChannelModal code from Navbar and ChannelHeader, Use ModalController instead
      
      * Refactor duplicated EditChannelPurposeModal comp
      
      - Remove duplicated EditChannelPurposeModal code from ChannelHeader and
      Navbar
      - Use ModalController instead of to use it directly
      - Change the modal to PureComponent
      
      * Refactor duplicated ChannelMembersModal component
      
      - Remove ChannelMembersModal code from ChannelHeader and Navbar
      - Now the modal is managed by the ModalController instead of directly by the component.
      - Add docs for props of ChannelMemebersModal
      
      * Refactor ChannelNotificationsModal comp
      
      - Change the ChannelNotificationsModal component to PureComponent
      - Add docs for props of ChannelNotificationsModal
      - Remove duplicated ChannelNotificationModal code from ChannelHeader and
      Navbar
      
      * Move QuickSwitchModal to ModalController
      
      * Refactor ModalController component
      
      - Change to PureComponent
      - Add docs for props
      
      * Change Navbar component to PureComponent
      
      * Migrate NavBar code to be use mattermost-redux
      
      * Refactor actions in NavBar
      
      * Extract SetChannelHeaderOption component from NavBar
      
      * Extract ViewChannelInfoOption component from NavBar
      
      * Extract NotificationPreferencesOption component from NavBar
      
      * Extract ChannelMembersOption component from NavBar
      
      * Extract ViewPinnedPostsOption component from NavBar
      
      * Extract AddMembersOption component from NavBar
      
      * Extract SetChannelPurposeOption component from NavBar
      
      * Extract RenameChannelOption component from NavBar
      
      * Extract ConvertChannelOption component from NavBar
      
      * Extract DeleteChannelOption component from NavBar
      
      * Extract LeaveChannelOption component from NavBar
      
      * Extract ToggleFavoriteChannel component from NavBar
      
      * Fix typo in ModalIdentifiers
      
      * Extract WebrtcOption component from NavBar
      
      * Building clean dropdown code, start from AddMembers
      
      * ... ViewChannelInfo
      
      * ... ViewPinnedPosts
      
      * ... NotificationPreferences
      
      * ... ToggleFavoriteChannel
      
      * ... SetChannelHeader
      
      * ... SetChannelPurpose
      
      * ... ViewMembers
      
      * ... ManageMembers
      
      * ... ConvertChannel
      
      * ... RenameChannel
      
      * ... DeleteChannel
      
      * ... LeaveChannel
      
      * ... WebRTC
      
      * Add draft of ChannelHeaderDropdown component
      
      * Connect MobileChannelHeaderComponent to redux store
      
      * Change the default rendering of dropdown
      
      * Clean Navbar component with the new dropdown component
      
      * Remove more
      
      * Extract ShowSearchButton component from Navbar
      
      * Remove undefined prop
      
      * Remove unnecessary wrapper
      
      * Comment on collapseButtons
      
      * Refactor Navbar even more
      
      - Extract collapse buttons
      - Remove code that is unused or never called
      - Remove jQuery
      
      * Fix character of close button
      
      * Make channel prop to be required
      
      * Remove unused codes
      
      * Fix ToggleFavorite menu
      
      * [MM-11162] Add mute icon to mobile view (#1744)
      
      * add mute icon to mobile view
      
      * use let or const as necessary and do some clean up
      
      Modified.
      
      * Cherry-picked MM-11577: Back to previous channel on archive (#1775)
      
      * Fix the composition of navbar
      
      TODO:
      - Notification preference would not be updated when change
      
      * Fix NotificationPreference modal
      
      * Extract ToggleMuteChannel comp from ChannelHeader
      
      * Cleanup ChannelHeader with new ChannelHeaderDropdown
      
      * Update snapshot of NotificationPreferences menu
      
      * Refactor ChannelHeader component
      
      * Fix tests
      
      * MM-12150 - Updating x icon and plugins (#1841)
      
      * Fix tests
      
      * Rename Navbar to ChannelHeaderMobile
      
      - Rename `navbar` to `channel_header_mobile`
      - Rename `navbar_info_button` to `channel_info_button`
      
      * MM-12503: Show Mute/Unmute menu item for GMs too. (#1847)
      
      * Remove comment from view
      
      * Change ext of modified components to .js instead of .jsx
      
      * MM-12494 Removing some flux store usage. (#1882)
      
      * Removing some flux store usage.
      
      * Feedback fixes
      
      Cherry-picked.
      
      * Fix some filename extensions
      
      * Migrate ChannelActions joinChannel and leaveChannel to redux (#1898)
      
      * Migrate ChannelActions favorite and unfavorite channel to redux
      
      * Fix unit test after rebase
      
      * Migrate ChannelActions joinChannel and leaveChannel to redux
      
      Cherry-picked
      
      * Fix a updated snaphost
      
      * Update ModalController snapshot
      
      * Cherry-picked: MM-12497 Remove flux store usages from user settings (#1915)
      
      * Remove Flux store usages from account settings modal
      
      * Fix test
      
      * Remove global action for opening account settings modal
      
      * Fix notifications not updating correctly
      
      * Refactor executeCommand to remove import cycle
      
      * Drop WebRTC from ChannelHeader
      
      * Remove deprecated lifecycle method from ChannelHeader
      
      * Replace hardcoded isMobile to utils
      
      * Fix import annotations
      
      * Migrate current channel state selectors to use mattermost-redux
      
      * Remove unused declarations
      
      * Change ToggleMuteChannel component to PureComponent class style to avoid arrow function in render
      
      * Remove unnecessary arrow function in render
      
      * Rollback mapStateToProps to plain function
      
      * Change UnmuteChannelButton component to PureComponent class style to avoid arrow function in render
      
      * Change file ext for UnmuteChannelButton to .js
      
      * Move back QuickSwitchModal to ChannelHeader (Desktop only), and use redux action
      
      * Change ShowSearchButton component to PureComponent class style to avoid arrow function in render
      
      * Rollback mapStateToProps for ViewPinnedPosts to plain function
      
      * Cherry-picked: Remove flux usages from email invite modal (#1954)
      
      * Fix Channel Header
      
      * Fix ShowSearchButton in ChannelHeaderMobile
      
      * Fix ChannelMembersModal on PopoverListMembers
      
      * Migrate test files to component path
      
      * fix eslint style error on test mock
      
      * Update per feedback
      
      * Fix ChannelMembersModal test, IDK when it have been break exactly
      
      * Fix errors on dropdown
      
      * Fix view_and_manage_members to show different name by permission
      
      * Fix to show RenameChannel on defaultChannel
      
      * Refactor ChannelMembersModal to use redux action
      
      * Fix ChannelNotificationModal to handle hide anim correctly
      
      * Fix ViewAndManageMembers to be view mode only in default channel
      a0b36ae4
    • Jesús Espino's avatar
    • Jason Blais's avatar
      Take data retention out of beta (#2070) · e729b7b8
      Jason Blais authored
      * Update admin_sidebar.jsx
      
      * Update data_retention_settings.jsx
      
      * Update en.json
      e729b7b8
    • Sudheer's avatar
      Fix for inline markdown images key in metadata (#2068) · 6bef520c
      Sudheer authored
      * Fix for inline markdown images key in metadata
      
      * Add check for metaData for OG links
      6bef520c
    • Carlos Tadeu Panato Junior's avatar
      update redux deps (#2069) · 4fa4eb3b
      Carlos Tadeu Panato Junior authored
      4fa4eb3b
  3. 21 Nov, 2018 2 commits
  4. 20 Nov, 2018 8 commits
  5. 19 Nov, 2018 1 commit
  6. 18 Nov, 2018 2 commits
  7. 16 Nov, 2018 3 commits
  8. 15 Nov, 2018 3 commits
    • Sudheer's avatar
      [MM-11509] Use post metadata (#1686) · aea28b08
      Sudheer authored
      * MM-11509 Changes for consuming post metadata on webapp
      
         * Remove delayed api call for attachment info
         * Remove delayed api call for reactions on post
         * Pass down images prop from metadata to markdown image for dimentions
      
      * Use metadata for webapp
      
        * Use Dimentions of images for
          1. Markdown inline images
          2. Message attachments
          3. Opengraph images
          4. Image embeds
      
        * Remove api calls for fetching post data
        * Remove api calls for fetching reactions
        * Remove image onload corrections for message attachments
      
        * Add new utility func for calculating dimentions of images
          based on metadata and maxDimentions for the component
      
      * * Use opengraph data from store as before
      * Fix review comments
      
      * * Revert pack-lock.json
      * Add constants for dimentions
      
      * * Fix spelling for dimensions
      * Added couple of checks for local temp vs postmeta data check
      
      * Revert package-lock changes
      
      * Fix faling tests and checks
      
      * Update MM-redux hash to match post-metadata branch
      
      * Change tests folder
      
      * Fix spelling for dimentsion
      aea28b08
    • Jesús Espino's avatar
      MM-12067: Allow to remove the user profile picture (#1785) · fc1f1154
      Jesús Espino authored
      * MM-12067: Allow to remove the user profile picture
      
      * Upgrade to the last mattermost-redux version
      
      * Simplification of defaultImageURLForUser util function
      
      * Preventing default directly from the SettingPicture component
      fc1f1154
    • Saturnino Abril's avatar
      [MM-12328] Scroll to bottom the RHS thread whenever the state.draft.message is... · cb385d20
      Saturnino Abril authored
      [MM-12328] Scroll to bottom the RHS thread whenever the state.draft.message is not empty on component update (#2037)
      
      * scroll to bottom the RHS thread whenever the state.draft.message is not empty on component update
      
      * update per feedback
      cb385d20