1. 30 Apr, 2018 1 commit
    • Jesse Hallam's avatar
      add eslint-plugin-header, and --fix all (#1140) · e76203ba
      Jesse Hallam authored
      * add eslint-plugin-header, and --fix all
      While the checking feature of this plugin seems to work great, its --fix
      will sometimes removing leading comments when the license header doesn't
      match. I've hand-edited the over-zealous removals, so this won't be an
      issue going forward except for new files with missing headers but
      leading comments.
      * fixes from latest master changes
      * latest changes from master
  2. 25 Apr, 2018 1 commit
  3. 06 Apr, 2018 2 commits
  4. 28 Mar, 2018 1 commit
  5. 27 Mar, 2018 1 commit
    • Jesse Hallam's avatar
      MM-9787: Transition [lr]hs open state to redux, fixing Safari race condition. (#991) · c3b1c2ff
      Jesse Hallam authored
      * move the [lr]hs open state into redux
      This eliminates race conditions around toggling classes all over the
      code base in an attempt to slide the various components around. It also
      has the nice side effect of getting rid of doStrangeThings.
      WebRTC remains in beta, and remains functional with these changes, but
      the absolute minimum set of changes were made to integrate the old flux
      store with the new state. This remains intentionally hacky, as the
      medium-term vision is to rip this feature out and replace it as a
      * fix a rendering issue with PermalinkView
      Now that opening the sidebar triggers a re-render (vs. just toggling
      classes), the PermalinkView would incorrectly transition between valid
      and invalid internal states even if the target permalink hadn't changed.
      This resulted in a flashing when opening the sidebar, e.g. to view
      flagged messages. This restricts the handling of a permalink event to
      when the post id has actually changed.
      * remove unused initTeamChangeActions in lhs actions
  6. 23 Mar, 2018 1 commit
    • Jasper van Esveld's avatar
      Migrate delete_post_modal.jsx to be pure and use Redux (#989) · bc48cd4b
      Jasper van Esveld authored
      * Migrate DeletePostModal to be pure and use Redux
      Migrate DeletePostModal to be pure and use Redux
      * Fix styling problem
      * Changes based on reviews
      * Removed old post action
      Added some functionality from the old action to the component
      * Remove unused imports from post_actions
      * Add browserhistory test
      Clean up test baseProps
      Pass teamname instead of team object
      * Fix styling problem
  7. 16 Mar, 2018 1 commit
    • Jesús Espino's avatar
      Removing user typing store (#910) · 8b9ea8ed
      Jesús Espino authored
      * Removing user typing store
      * Using makeGetUsersTyping... selector instead of getUsersTyping...
      * Adding test for the component
      * Using selectors instead of accessing direcly to the state
  8. 14 Mar, 2018 1 commit
  9. 12 Mar, 2018 1 commit
  10. 09 Mar, 2018 1 commit
  11. 28 Feb, 2018 1 commit
    • Jesse Hallam's avatar
      Remove mm_config and mm_license global state from webapp, phase 2 (PR #2) (#863) · 78180eb6
      Jesse Hallam authored
      * MM-9635: expunge global mm_config from switch channel provider
      * MM-9635: expunge global mm_config from the root components, except for globally exporting it
      * MM-9635: fix incorrectly required customDescriptionText in email signup component
      * MM-9635: expunge global mm_config from various action files
      * MM-9635: deduplicate config/license code loading
      This preserves semantics, except for allowing a `loadCurrentLocale` even if config hasn't
      loaded, since this is safe.
  12. 26 Feb, 2018 1 commit
  13. 21 Feb, 2018 1 commit
  14. 15 Feb, 2018 1 commit
  15. 14 Feb, 2018 1 commit
  16. 12 Feb, 2018 3 commits
  17. 06 Feb, 2018 2 commits
    • Saturnino Abril's avatar
      [PLT-8494] Filter out teams that are deleted and without display_name, then sort… (#611) · 2973d518
      Saturnino Abril authored
      * filter out teams that are deleted and without display_name, then sort by their `display_name` field
      * handle `delete_team` websocket event
      * eliminate usage of TeamStore
    • Jesse Hallam's avatar
      ABC-214: fix permalinks to direct messages (#720) · 31c3c861
      Jesse Hallam authored
      This simplifies the changes introduced in ABC-160 to simply check that
      the channel exists instead of also checking that the channel team id
      matches the current team. The additional check was redundant, since the
      set of channels available are already constrained to the current team;
      it was also wrong, since direct messages and group messages aren't
      actually assigned team ids, leading to the regression in question.
      Note that this check (before and even now) only works if you have access
      to the two teams in question. If you try to open a malformed permalink
      referencing a team for which you don't have access or that doesn't
      exist, none of the router code in <NeedsTeam> executes (team is null),
      and a different path is executed that doesn't try to evaluate the
      permalink. Fixing that appears to be non-trivial and out of scope for
      this change.
  18. 05 Feb, 2018 1 commit
  19. 31 Jan, 2018 1 commit
  20. 29 Jan, 2018 1 commit
  21. 22 Jan, 2018 1 commit
  22. 10 Jan, 2018 2 commits
    • Joram Wilander's avatar
      Merge 'release-4.6' into 'master' (#589) · 746679ca
      Joram Wilander authored
      * PLT-8496 Fix shift+Up to open reply RHS (#554)
      * Fix shift+Up to open reply RHS
      * Feedback review
      * Remove unsued vars
      * Fix FF in mobile view (#559)
      * Fix FF in mobile view
      * show error in console when changeCss fails
      * Fix hover and unmounting issues with post_info (#562)
      * Release 4.6 (#567)
      * PLT-8507 - Reply icon not inline in firefox
      * PLT-8504 - Scroll bar cutting of File thumbnails
      * Fix many places where components error when missing props (#571)
      * Based on release-4.6 (#566)
      This PR redirects a user to the town square channel before unsubscribing them from the current channel.
      * RN-8502 Show errors on Join Another Team page (#563)
      * fix incorrect channel notification settings when switching teams and reset active section whenever channel notification modal is closed or hidden (#560)
      * [PLT-8424] Do not show add-user-to-channel ephemeral message at center (#533)
      * do not show add-user-to-channel ephemeral message at center
      * send add to channel ephemeral post via client app
      * PLT-8510: Feature checks for older webkit support of Performance API. (#557)
      * PLT-8510: Feature checks for older webkit support of Performance API.
      * PLT-8510: Added global performance object for tests.
      * Fixed autoFocus issue with delete modal after edit (#572)
      * Fixed autoFocus issue with delete modal after edit
      * check style fixes
      * conditional check
      * update copyTheme string on handleColorChange (#580)
      * PLT-8335 fixing issue with iOS classic (#579)
      * PLT-8335 fixing issue with iOS classic
      * Fixing eslint errors
      * PLT-8522 Added clientside rendering for removed from team messages (#576)
      * PLT-8522 Added clientside rendering for removed from team messages
      * Fixed extra quotation mark
      * PLT-8521 - Fixing overlay on sidebar (#581)
      * Fix merge
    • Sudheer's avatar
      Change town-square strings to use constant (#558) · b6e1b36a
      Sudheer authored
      * Change town-square strings to use constant
      * Fix rebase conflicts
  23. 09 Jan, 2018 1 commit
  24. 04 Jan, 2018 1 commit
  25. 03 Jan, 2018 1 commit
  26. 23 Nov, 2017 1 commit
    • Eric Webster's avatar
      [PLT-7676] Refactor webapp search store and right hand sidebar view state (#287) · 57e29072
      Eric Webster authored
      * added appropriate rhs reducers
      * add rhs state to redux
      * refactor search bar
      * remove user store usage in sidebar_right
      * fix import, refactor navbar
      * moving to redux
      * more actions
      * put search terms in redux
      * fixed mention search
      * filter out deleted posts
      * fix back button on mentions
      * handle sidebar channel in sidebar
      * remove resize event correctly
      * isSearching rhs state
      * show loading search results before search is finished
      * search for term
      * remove unused action types
      * remove console.log
      * bit of refactoring
      * fix style issues
      * PR comment fixes
      * added reducer tests for rhs
      * started on adding rhs action tests
      * use channel selector
      * clean up showMentions
      * clean up batch action
      * more unit tests
      * more tests
      * last of the tests
      * previousRhsState feedback addressed
      * emitCloseRightHandSide fix
      * correctly merge @here mention search terms change
      * fix header post logic to match
      * flagged posts bug fix and improvements
      * more consistent store fix
      * added comment draft prefix
  27. 13 Nov, 2017 2 commits
  28. 09 Nov, 2017 1 commit
  29. 07 Nov, 2017 1 commit
  30. 26 Oct, 2017 1 commit
  31. 05 Oct, 2017 1 commit
  32. 28 Sep, 2017 1 commit
  33. 05 Sep, 2017 1 commit
  34. 01 Sep, 2017 1 commit
    • David Meza's avatar
      Config to make town square read only (#7140) · 0a9c047a
      David Meza authored
      * Be able to make Town Square read-only (Disable typing messages for non admins).
      * Do not emit UserTypingEvent when TownSquareIsReadOnly and is Town Square.
      * Add unit tests for TownSquareIsReadOnly config value and logic.
      * Add TownSquareIsReadOnly to System console>Policy. Added Telemetry.
      * Add control for TownSquareIsReadOnly=true only for License Enterprise Edition E10 & E20.
      * Update en.json
      * Update en.json
      * Update policy_settings.jsx
      * Change config value from TownSquareIsReadOnly to ExperimentalTownSquareIsReadOnly.
      * Refactored to simplify. Avoid code repeat and multiple db calls.