Commit Graph

240 Commits

Author SHA1 Message Date
Joram Wilander
a3ece09262 Join channel with permalink to public channel you're not in (#6795) 2017-06-29 09:25:18 -07:00
Corey Hulen
eb7561e05b PLT-6610 sending websocket event for last channel viewed (#6787) 2017-06-29 07:51:15 -07:00
Joram Wilander
3cd8057d28 Various updates to match latest mattermost-redux (#6794) 2017-06-29 10:03:57 -04:00
Carlos Tadeu Panato Junior
976030ea25 [PLT-6707] /header [text] slash command: Edit the channel header (#6566)
* add /header slash command

* update websocket

* updater per review
2017-06-29 08:06:17 -04:00
Harrison Healey
c6602ae2b8 PLT-6844 Change file uploading to use superagent (#6785)
* PLT-6844 Change file uploading to use superagent

* Fixed handling of upload errors
2017-06-28 15:42:54 -04:00
Joram Wilander
5492ca28b1 Fix account creation redirect (#6765) 2017-06-28 09:38:19 -04:00
megos
58b3231916 add attachments notification (#6769) 2017-06-28 13:37:51 +01:00
Carlos Tadeu Panato Junior
155c6600aa [PLT-6599] Add link to check Websocket port error message (#6743) 2017-06-28 13:38:57 +08:00
Saturnino Abril
e2daa425fa fix JS errors in saving preferences - for user's display (including custom theme vector) and advanced settings (#6764) 2017-06-27 18:27:31 +01:00
Joram Wilander
82b36b3721 PLT-6815 Do not disconnect websocket when joining a team (#6746)
* Do not disconnect websocket when joining a team

* Fix eslint error
2017-06-26 13:25:43 -04:00
Joram Wilander
e285839ee1 Fix websocket URL when specifying port in the config (#6748) 2017-06-26 08:39:24 -07:00
Joram Wilander
23ccfc845c Move remaining actions over to use redux and v4 endpoints (#6720) 2017-06-26 08:16:57 -04:00
Saturnino Abril
fe7e9d95b3 fix JS error when saving a custom theme vector (#6734) 2017-06-23 19:12:34 -04:00
VeraLyu
33eb77b757 PLT-3711: Add websocket event for emoji addition (#6211)
* 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.
2017-06-23 19:09:17 -04:00
Chris
4df36a504c PLT-6714: add /settings command (#6716)
* add /settings command

* update receiver name
2017-06-23 15:47:24 -07:00
Harrison Healey
bf12e7e32c Load current user after loading client config (#6648) 2017-06-23 17:08:25 -04:00
Joram Wilander
ca8d57c4db PLT-6890 Fix various scrolling issues (#6727)
* Fix various scrolling issues

* Move reaction scrolling to reaction list

* Handle scrolling when RHS opens

* Only run scroll update code when posts change
2017-06-23 12:09:56 -04:00
Joram Wilander
d8cd38f483 Correctly pull threads when receiving a new post in a non-loaded thread (#6725) 2017-06-22 15:51:15 -04:00
Carlos Tadeu Panato Junior
1e84e931ec when a channel is update propagate the channel to everybody (#6677) 2017-06-21 13:01:05 -07:00
Harrison Healey
68ea0abfa6 PLT-4457 Added AtMention component to better render at mentions (#6563)
* Moved Utils.searchForTerm into an action

* Added easier importing of index.jsx files

* PLT-4457 Added AtMention component to better render at mentions

* Fixed client unit tests

* Fixed merge conflict

* Fixed merge conflicts
2017-06-20 15:22:46 -04:00
Joram Wilander
414b208100 PLT-6885/PLT-6888 Fix custom emojis (#6694)
* Fix custom emojis

* Fix custom emoji reactions
2017-06-20 11:47:53 -04:00
Joram Wilander
effaeee830 Fix autocomplete and replying to flagged posts (#6690) 2017-06-20 08:56:38 -04:00
Joram Wilander
ef9326bcbb Move integrations over to redux and v4 (#6679) 2017-06-19 10:55:47 -07:00
Joram Wilander
ab67f6e257 PLT-6215 Major post list refactor (#6501)
* Major post list refactor

* Fix post and thread deletion

* Fix preferences not selecting correctly

* Fix military time displaying

* Fix UP key for editing posts

* Fix ESLint error

* Various fixes and updates per feedback

* Fix for permalink view

* Revert to old scrolling method and various fixes

* Add floating timestamp, new message indicator, scroll arrows

* Update post loading for focus mode and add visibility limit

* Fix pinning posts and a react warning

* Add loading UI updates from Asaad

* Fix refreshing loop

* Temporarily bump post visibility limit

* Update infinite scrolling

* Remove infinite scrolling
2017-06-18 14:42:32 -04:00
Joram Wilander
acdab8cce6 Fix scroll store typo and user action copy/paste errors (#6680) 2017-06-18 13:45:28 -04:00
Joram Wilander
c0a0065472 Move user actions over to use redux and v4 (#6649) 2017-06-15 10:34:20 -04:00
Joram Wilander
1138dd6770 PLT-6657 Move system console to use v4 endpoints and redux (#6572)
* Move system console to use v4 endpoints and redux

* Rename logs dir to get past gitignore

* Fix test email

* Update brand unit test

* Updates per feedback
2017-06-14 08:56:56 -04:00
Joram Wilander
6e7b912ec6 PLT-4257 Add pop-up asking if user wants to reset status (#6526)
* Add pop-up asking if user wants to reset status

* Update test snapshot

* Update prop name for old uses of confirm modal

* Updating checkbox (#6586)

* Updating style for checkbox (#6596)
2017-06-06 17:24:08 -04:00
Joram Wilander
1c9ec861fd Properly filter in more channels search (#6513) 2017-06-02 12:00:58 -04:00
Joram Wilander
f662d0d632 Fix JS errors when receiving message when on no teams (#6533) 2017-06-01 08:15:47 -04:00
Harrison Healey
69f3f2fdce PLT-6282 Make post list stay visible when post textbox height changes (#6323)
* PLT-6282 Changed post drafts to use an action when being stored

* PLT-6282 Triggered post list to update scroll position when post draft changes

* PLT-6282 Changed SuggestionBox to complete suggestions without an event
2017-05-23 10:17:06 -04:00
Joram Wilander
cd9015a967 Fix channels getting marked unread again on channel switch (#6390) 2017-05-11 08:11:12 -04:00
Joram Wilander
74b51d1f27 Do not client predict status for current user (#6380) 2017-05-10 09:49:02 -04:00
Joram Wilander
6e642036f4 Show team in sidebar when joining through login (#6358) 2017-05-09 16:01:25 -04:00
Harrison Healey
0c701cc1d0 PLT-6518 Fixed user's locale not being loaded with redux actions (#6359)
* Stopped ManageLanguages component from mutating user

* Removed obsolete reference to mm_user

* PLT-6518 Fixed user's locale not being loaded with redux actions
2017-05-09 16:00:40 -04:00
Joram Wilander
202c383d8d Fix MFA enforcement on login and page load (#6356) 2017-05-09 07:48:57 -05:00
Joram Wilander
fb4d72bd8a Fix getting removed from channel or team (#6357) 2017-05-09 11:24:53 +01:00
Joram Wilander
fe95276ba8 PLT-6492 Use new cookie to determine if user is logged in (#6317)
* Use new cookie to determine if user is logged in

* Add temporary code for 3.9 to prevent forced re-login
2017-05-04 16:36:31 -04:00
Joram Wilander
49481caf6d PLT-6262 Add config setting to disable file attachments (#6301)
* Add config setting to disable file attachments

* Add unit tests

* Updating UI for no attachments (#6312)

* Update UI text on file upload System Console setting (#6313)

* Update storage_settings.jsx

* Update en.json
2017-05-04 15:45:19 -04:00
Joram Wilander
ec5f40a423 Add back button to RHS threads from pinned posts (#6306) 2017-05-03 08:55:06 -07:00
Joram Wilander
042052aec6 Improve perf for channel switching, fix team switching issues (#6286)
* Improve perf for channel switching, fix team switching issues

* Fix last channel when switching teams
2017-05-02 09:28:44 -04:00
Joram Wilander
2d22fb5652 Prevent unnecessary store emits (#6285)
* Remove unnecessary store emits

* Drastically reduce number of emitted changes
2017-05-01 10:49:34 -04:00
Joram Wilander
96906482ce PLT-6214 Move channel store and actions over to redux (#6235)
* Move channel store and actions over to redux

* Fix style errors

* Fix unit test

* Various fixes

* More fixes

* Revert config changes
2017-04-28 13:16:03 -04:00
Joram Wilander
83bfd95f65 Fix inactive users showing up in team members modal (#6260) 2017-04-28 10:12:30 -04:00
Joram Wilander
514f038f44 Fix error not appearing when updating to existing username (#6255) 2017-04-28 10:11:26 -04:00
Joram Wilander
1b82d98cdb Add config setting to disable statuses (#6254) 2017-04-28 10:10:58 -04:00
Christopher Speller
9a87bb3af6 Creating common token store and moving email invites and verification to it (#6213) 2017-04-27 10:55:03 -04:00
Joram Wilander
7307156c49 PLT-6213 Move team store and actions over to use redux (#6222)
* Move team store and actions over to user redux

* Fix JS error when inviting by email
2017-04-26 15:49:15 -04:00
Joram Wilander
1fef5bf5fe Redux bug fixes (#6243)
* Fix save teams dispatch

* Fix login when MFA is enabled but not active

* Fix JS error caused by using deleted team member
2017-04-26 11:07:19 -04:00
Joram Wilander
6c4c706313 Start moving webapp to Redux (#6140)
* 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
2017-04-25 11:46:02 -04:00