Commit Graph

433 Commits

Author SHA1 Message Date
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
2dea567dcf Added MarkdownImage component (#6774)
* Added MarkdownImage component

* Fixed unit tests
2017-06-28 07:30:02 -07:00
Carlos Tadeu Panato Junior
fb2ef7708b PLT-6796 - Regression: Code tag is empty for html code blocks (#6779) 2017-06-28 09:39:12 -04:00
Harrison Healey
4484c82b1b PLT-6799 Removed <wbr> tags from markdown links (#6766)
* PLT-6799 Removed <wbr> tags from markdown links

* Fixed unit tests
2017-06-28 13:47:51 +08:00
George Goldberg
99fc4b0988 PLT-6900: Hide DotMenu container when DotMenu empty. (#6770) 2017-06-28 13:44:02 +08: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
Joram Wilander
23ccfc845c Move remaining actions over to use redux and v4 endpoints (#6720) 2017-06-26 08:16:57 -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
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
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
ef9326bcbb Move integrations over to redux and v4 (#6679) 2017-06-19 10:55:47 -07:00
Carlos Tadeu Panato Junior
fe48987a32 [PLT-6548] Mobile Web View: Add "Leave Team" option to main menu (#6472)
* PLT-6548 - Mobile Web View: Add "Leave Team" option to main menu

* Updating leave team icon color
2017-06-19 08:41:58 -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
VeraLyu
5158d3a446 Remove fake img preview before loaded (#5854)
Remove fake img preview and collapse toggle before it is loaded,
only show img and toggle after it is fully loaded.
Fix markdown img size and add scroll down behaviour.
2017-06-16 13:12:22 -04:00
Asaad Mahmood
94fdba9a31 Ui improvements (#6651)
* PLT-6691 - Centering emoji in post view

* PLT-6737 - FIxing on hover style for heade icons

* PLT-6768 - Fixing error on profile picture

* PLT-6792 - Fixing link preview image not resizing

* PLT-6793 - User popover position on mobile
2017-06-15 08:07:00 -07:00
Joram Wilander
528f2dc6c3 Merge release-3.10 into master (#6654)
* PLT-6787 Fixed being able to send a post before files finished uploading (#6617)

* Fix quick switcher for channels/users not stored locally (#6610)

* Fix button text on confirm mention modal (#6609)

* fix post delete permission of channel admin (#6608)

* open comment thread for the most recent reply-able message (#6605)

* Use mutex flag with yarn to prevent concurrent builds interfering (#6619)

* Use mutex flag with yarn to prevent concurrent builds interfering

* Remove yarn mutex file with clean

* Minor bug fixes (#6615)

* PLT-6774 - Fixing color for offline icon

* PLT-6784 - Fixing status icon

* Fixing icon margin

* Updating caret position

* PLT-6070 Have ChannelMentionProvider stop searching after a term returns no results (#6620)

* Fixing JS error (#6623)

* Minor bug fixes (#6622)

* PLT-6808 - Updating channel switcher on mobile

* PLT-6743 - Updating scrollbar styling

* Login instead of failing if user exists in OAuth sign-up flow (#6627)

* PLT-6802 Disable team switcher (#6626)

* Disable team switcher

* Fix ESLint errors

* PLT-6807 Ensured select teams page can scroll on iOS (#6630)

* Do not redirect from account switch pages on 401 (#6631)

* Fixing loadtest command and renaming to /test (#6624)

* PLT-6820 Update mattermost-redux dependency (#6632)

* translations PR 20170612 (#6629)

* Bump HTTP client timeout to 30 seconds (#6633)

* For team unreads return empty array instead of null (#6636)

* PLT-6831 Fix status modal localization IDs (#6637)

* Fix status modal localization IDs

* Update test snapshot
2017-06-15 11:05:43 -04:00
David Meza
98ac903fce PLT-6481 Create platform route and logic to be able to DM a user by email or username (#6310)
* Add logic to be able to DM a user by email or username

* PLT-6481 update DM url to be in the format https://servername.com/teamname/messages/xxxxxxxx

* PLT-6481 Adding logic to get user by full email

* PLT-6481 logic for routes /messages/user_id and /messages/id1_id2 to redirect to /messages/@username

* PLT-6481 logic for GM route /messages/generated_id
2017-06-15 08:11:35 -04:00
Saturnino Abril
0e89d9be1d create DotMenu components and add dotmenu IDs to posts at center and RHS (#6642) 2017-06-14 19:45:46 -04:00
Harrison Healey
40efd8367a PLT-6127/PLT-6135/PLT-6137 Added EmojiPickerOverlay component to better position emoji picker (#6352)
* Cleaned up emoji picker CSS

* Fixed border of emoji picker when reacting to comments in the RHS

* PLT-6135 Made EmojiPicker automatically position itself above/below the [...] menu

* PLT-6135 Changed post textbox emoji picker to use a RootCloseWrapper

* PLT-6135 Changed comment textbox emoji picker to use a RootCloseWrapper

* PLT-6135 Changed RHS post components to use EmojiPickerOverlay

* Removed react-outside-event package

* Fixed merge conflict

* Fixed emoji picker position on posts in RHS

* Removed unused CSS classes

* Fixed not being able to react to posts with emoji picker
2017-06-13 11:35:45 -07:00
Asaad Mahmood
1eed253fc2 Channel switcher UI improvements (#6564)
* Channel switcher UI improvements

* Reverting mattermost theme

* Fixing spacing above the button

* Updating switcher button

* PLT-6691 - Fixing tablet header
2017-06-06 17:24:23 -04:00
David Rojas Camaggi
46fc47e520 PLT 6416 Add StatusDropdown to profile picture in top left (#6327) (#6418)
* PLT-6416 the profile picture is always shown in the top left (#6327)

* PLT-6416 Add status icon to profile picture in left sidebar (#6327)

* PLT-6416 Add StatusDropdown to profile picture in top left (#6327)

* Fixing theme stuff for status picker

* PLT-6416 Automatically close status dropdown after selection (#6327)

* PLT-6416 Avoid render status dropdown in sidebar if isMobile (#6327)

* PLT-6416 Change icon for status change to caret-down  (#6327)

* PLT-6416 Update visibility of status dropdown after window size (#6327)

* PLT-6416 Refactor status dropdown for better mouse usability (#6327)

* PLT-6416 Change status dropdown to the redux way (#6327)

* PLT-6416 Fix header style of admin sidebar (#6327)
2017-06-06 09:45:36 -04:00
Harrison Healey
a3171048e0 PLT-6724 Hide options relating to channel admin when not licensed (#6583) 2017-06-05 16:34:42 -04:00
Joram Wilander
abd0466a42 PLT-3466 E10: Add announcement bar feature (#6509)
* E10 - Add announcement bar feature

* Updates per feedback

* Add component tests and snapshots

* Update snapshots

* Updating color picker UI (#6543)

* Add class to body tag when banner is not dismissable and clean up localstorage items when banner changes

* Fixing links (#6544)

* Updating UI for fixed error bar (#6552)

* Truncating text on fixed banner (#6561)

* Plt 3466 - Error bar link states (#6577)

* Updating error bar hover state

* Updating error bar link states
2017-06-05 12:49:38 -04:00
Asaad Mahmood
2f88bcb223 Multiple Ui improvements (#6553)
* PLT-6729 - Fixing close button

* PLT-5216 - Updating mattermost theme

* PLT-6679 - Fixing styling for active state
2017-06-02 08:46:54 -07:00
Saturnino Abril
e7e59cc40f make channel admins able to delete channel member messages (#6550) 2017-06-02 08:46:38 -07:00
Harrison Healey
e16da499b4 PLT-6380 Make team invite links open in the current tab (#6538)
* PLT-6380 Changed link formatting to make team invite links open within the current tab

* Fixed internal link parsing when site URL isn't set
2017-06-02 10:53:03 -04:00
Harrison Healey
b46320a089 PLT-6692 Removed wbr tags from single line markdown (#6539) 2017-06-01 17:20:04 -04:00
Joram Wilander
5aaedb9663 PLT-5699 Improvements to channel switcher (#6486)
* Refactor channel switcher to not wait on server results

* Change channel switcher to quick switcher and include team switching

* Add sections, update ordering and add discoverability button

* Fix styling error

* Use CMD in text if on mac

* Clean yarn cache on every install

* Various UX updates per feedback

* Add shortcut help text for team switcher

* Couple more updates per feedback

* Some minor fixes for GM and autocomplete race

* Updating UI for channel switcher (#6504)

* Updating channel switcher button (#6506)

* Updating switcher modal on mobile (#6507)

* Removed jQuery usage

* Rename function to toggleQuickSwitchModal
2017-05-31 16:51:42 -04:00
Carlos Tadeu Panato Junior
d409c7c1c6 Implement PLT-6246 - Confirm before sending (at)all, (at)channel message (#6250)
* implement PLT-6246 - Confirm before sending (at)all, (at)channel message

* refactor per review

* add constant to define the notify all modal
2017-05-30 16:46:18 -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
Asaad Mahmood
52f73c30ca PLT-6651 - Overlay issue modal (#6473)
* PLT-6651 - Overlay issue modal

* Fixing mentions badge
2017-05-22 11:17:29 -07:00
Asaad Mahmood
fc58174747 PLT-6614 - Mentions badge styling and dropdown icon style (#6426)
* Mentions badge styling and dropdown icon style

* PLT-6134 - Fixing emoji picker border in RHS
2017-05-18 08:57:19 -04:00
chrismatteson
4da45c0e76 [PLT-1444] Created latinise function and updated cleanUpUrlable function to utilize (#6273) 2017-05-15 10:09:39 -04:00
JoramWilander
9d109b0700 Merge branch 'release-3.9' into merge-3.9 2017-05-12 08:00:28 -04:00
Asaad Mahmood
b868aa1dc7 Fixes for RC1 (#6376)
* PLT-6505 - Fixing z-index for post control menu

* PLT-6507 - Channel header icons not aligned

* PLT-6508 - Options popover issue on android

* PLT-6528 - Removing cross contamination on badge

* PLT-6535 - Aligning content in SSO buttons

* PLT-6509 - Aligning dropdown close icon
2017-05-10 09:48:22 -04:00
Joram Wilander
9625362494 Fix DM getting marked unread from your own message (#6373) 2017-05-10 07:41:12 -04:00
Saturnino Abril
882172b298 [UI-AUTO] add IDs to last 10 posts' text (#6257) 2017-05-09 07:53:59 -05: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
Asaad Mahmood
72351c8ef8 PLT-6297 - Pinned label overlapping on heading (#6324)
* PLT-6297 - Pinned label overlapping on heading

* PLT-6500 - Fixing mention badge styling
2017-05-04 14:25:12 -04:00
Joram Wilander
dc6c836b35 Fix group message names in channel switcher (#6246) 2017-05-03 08:48:44 -07:00
Harrison Healey
581bd8637f Revert "[GH-5915] Clicking on @mention of a user in a post shows the profile popover (#6129)" (#6289)
This reverts commit 83f819451a.
2017-05-01 17:40:54 -04:00
Saturnino Abril
83f819451a [GH-5915] Clicking on @mention of a user in a post shows the profile popover (#6129)
* post message at-mention profile pop-over

* remove hover effect to special mentions

* make non-clickable the non-existing at-mention username

* fix "video call" position

* use usernameMap instead of initially defined liteUsernameMap

* update per comments
2017-05-01 10:08:54 -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
Asaad Mahmood
bd66587183 Ui improvements (#6198)
* PLT-6306 - Post alignment in compact view

* PLT-6266 - Adjusting spacing for files (compact)

* PLT-6302 - Margins not equal for paragraphs in post

* PLT-6332 - FIxing inline images

* PLT-6134 - Fixing border on emoji picker

* PLT-6323 - Fixing UI for system console user list

* PLT-6375 - Updating emoji picker

* PLT-6327 - Updating more channel/user list

* PLT-6241 - Adding IE detection

* PLT-6332- Fixing inline markdown images
2017-04-27 09:40:58 -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
VeraLyu
f9502ff14b PLT-5897: Respect intrinsic ratio of img in emoji picker (#5987)
Changed style of img emoji picker, also fixed preview of emoji.
2017-04-25 09:44:02 -07:00
Harrison Healey
7fc663ca75 PLT-6283 Hide Preview Mode error bar after enabling email notifications (#6180) 2017-04-25 09:39:08 -07: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