Граф коммитов

216 Коммитов

Автор SHA1 Сообщение Дата
Jonathan
4c1f467442 PLT-7379: Timestamp on deleted, ephemeral, or pending post is a permalink (#7295)
* Removed permalink from system messages, general cleanup

* Removed permalink from deleted messages

* Removed permalink from pending messages

* Fixed post_info tests

* Changed permalink logic to remove permalinks from ephemeral messages, but leave them in place for system messages.

* Fixed check style
2017-08-30 20:06:29 +08:00
Chris
213a072b38 PLT-6403: Interactive messages (#7274)
* wip

* finish first pass

* requested changes

* add DoPostAction to Client4
2017-08-29 16:14:59 -05:00
Joram Wilander
59798c1375 Fix permalink loading for non-loaded posts (#7310) 2017-08-29 13:13:03 -04:00
atp
6a312b2ad4 PLT-3638: Fix re-opening of collapsed preview on refresh (#7301)
In this change, user action for toggling the preview is stored in the browser localstorage. Hence If there us a preview visibility value is present
in the localstorage, that will be given the preference compared to the overall preview setting.
2017-08-29 10:47:32 -04:00
atp
99acf61068 PLT-5478: Hide collapse/expand arrow for image links when no image is available (#7216) 2017-08-25 10:31:30 -04:00
Asaad Mahmood
1a71589dce PLT-7224 - Updating post textbox UI (#7153)
* PLT-7224 - Updating post textbox UI

* Updating post textbox spacing

* Updating emoji icon
2017-08-25 10:29:31 -04:00
Saturnino Abril
22efdbe6fb fix expand/collapse arrows for youtube videos (#7240) 2017-08-21 08:06:34 -04:00
Christopher Speller
fd1301779f Merge branch 'release-4.1' 2017-08-17 09:35:36 -07:00
Saturnino Abril
4e92d18017 set ephemeral message ("message deleted") without ("Only visible to you") visible to users other than the owner (#7201) 2017-08-17 10:14:59 +01:00
Chris
58b2bcd907 reset post attachments on post prop change (#7158) 2017-08-09 13:24:45 -05:00
Chris
efdbb6ee54 fix some webhook attachments not truncating, lower short text to 300 chars (#7120) 2017-08-04 14:24:53 -04:00
Saturnino Abril
dc884983e6 close post control button after reacting to a post (#7110) 2017-08-03 17:14:10 -04:00
Saturnino Abril
f3934bc7e1 [PLT-1249] Add close button 'x' to the right of a link preview (#7017)
* add close button 'x' to the right of a link preview

* Updating webhook UI

* UI improvements for close button

* Adding hover state

* Making the close button visible on mobile

* previews are permanently disabled/closed for that link

* make post as required props

* fix JS error of undefined

* fix update issue both at center and RHS view
2017-08-03 14:29:31 +08:00
Joram Wilander
c6bf235ec2 Do not show commented on header for ephemeral posts (#7069) 2017-08-01 13:34:30 -04:00
Harrison Healey
0cc5854b64 Fixed error thrown when viewing a channel containing an invalid emoji reaction (#7080)
* Added better error handling for when reacting with a non-existant emoji

* Re-added emoji aliases ca, za, and pk
2017-08-01 13:27:18 -04:00
Joram Wilander
4ef844298f Show flagged posts consistently throughout the UI (#7063) 2017-08-01 09:04:28 -04:00
Saturnino Abril
88f398ffdd Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes." (#7072)
* Revert "PLT-6603: Don't return all posts on invalid query. (#7061)"

This reverts commit 25a2013890.

* Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945)"

This reverts commit 8a91235fb3.
2017-08-01 08:16:45 -04:00
Debanshu Kundu
8a91235fb3 #4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945)
fix 7 and 8

remove @ at "{username} joined the channel"

refactor and update test
2017-08-01 02:17:21 +08:00
David Meza
f740698dbe PLT-6486 Add an @username button to the profile popover, that puts the username in the post when clicked (#6349)
* PLT-6486 Add an `@username` button to the profile popover, that puts the username in the post when clicked

* PLT-6486 Display `@username` mention on the right text area on center or RHS.

* Disable @mentions from profile popover on searches, mentions and pinned posts. Fix js errors.

* Control undefined post in SearchStore that causes an exception.
2017-07-31 08:24:13 -04:00
Asaad Mahmood
860f2c8332 Multiple Ui improvements (#7029)
* PLT-7119 - Updating headings on compact view

* PLT-7103 - Removing line below channel intro

* PLT-7112 - Fixing system console banner

* PLT-7144 - Adding ellipsis to system console boxes

* PLT-7181 - Changing channel header opacity

* PLT-6899 - Updating unread bar

* Updating margin for new messages indicator
2017-07-31 08:10:43 -04:00
Carlos Tadeu Panato Junior
5840905c7f [PLT-6744] Add "Only visible to you" note for ephemeral messages (#6790) 2017-07-25 12:10:39 -07:00
Joram Wilander
5ae701d133 Update mattermost-redux to master (#6982) 2017-07-20 08:56:23 -04:00
Chris
673f3a1144 PLT-6689: fix user image requests (#6946)
* fix user image requests

* fix eslint errors and a few more cache busters
2017-07-19 13:54:16 -07:00
Christopher Speller
97f34e483b Merge branch 'release-4.0' 2017-07-18 15:45:23 -07:00
Joram Wilander
764ff4cb64 PLT-7116/PLT-7126 Some final release fixes (#6933)
* Some final release fixes

* Fix team switching with image in channel bug
2017-07-14 08:55:45 +09:00
Saturnino Abril
9a654d7b27 prevent image preview to default view when adding/removing reaction (#6910) 2017-07-12 19:47:08 -04:00
Joram Wilander
df3290c4cf PLT-7093/PLT-7096 Updates to new message below indicator (#6912)
* Updates to new message below indicator

* Fixes per feedback
2017-07-13 06:36:45 +09:00
Joram Wilander
6a056a0042 Fix posting when allow edit after time set (#6913) 2017-07-12 22:49:03 +09:00
Joram Wilander
481f02f940 Properly handle scroll when new message indicator is visible (#6908) 2017-07-12 22:48:06 +09:00
Joram Wilander
046dbc5e81 Show expand button when previews defaulted to collapsed (#6896) 2017-07-11 02:52:28 +08:00
Joram Wilander
45e7ad0c34 Fix out of order posts for admins plus two minor fixes (#6886) 2017-07-11 01:58:01 +08:00
Joram Wilander
a6ee8bb1ee Fix 'user_id' of undefined JS error (#6878) 2017-07-08 07:28:18 +08:00
Joram Wilander
e8c02c7c1d Only show unreads below indicator after first load is complete (#6874) 2017-07-08 07:27:13 +08:00
Alex Ford
b03b9d7362 Minor fixes based on lgtm.com alerts (#6819)
* Remove a couple of superfluous trailing arguments

* Simplify assignment logic in a couple of places

* Modify some potentially inconsistent setState calls to use the function form

* Fix eslint errors
2017-07-07 13:29:32 -04:00
Asaad Mahmood
d64d1f4029 PLT-6905 - Updating channel header design (#6789)
* PLT-6905 - Updating channel header design

* Updating border-radius

* Updating radius for wide icons

* Updating trigger for overlay

* Updating UI for channel header

* Updating channel header sizing

* Updating channel header css

* Updating sidebar css

* Updating status icons

* Adjusting border

* Updating comment

* Removing type from status icon

* Fixing UI issues for the channel header/sidebar

* make "Add a channel description" open the channel header modal

* Updating status and opacity

* Updating stauts icon positioning

* Updating description and heading size

* Updating UI changes

* Updating UI changes

* add a focused class to the parent div .search__form and then remove when hover away

* Fix active state for pinned posts icon

* Updating UI changes

* Update channel header text
2017-07-06 09:07:43 -04:00
Saturnino Abril
279c7b7fda [PLT-6969] System console setting for the emoji picker (#6809)
* system console setting for the emoji picker

* remove state.emojiPickerEnable

* update url to /admin_console/customization/emoji
2017-07-06 08:48:34 +08:00
Joram Wilander
73527800a1 Properly store recently used emoji when reacting (#6854) 2017-07-06 05:02:49 +08:00
Joram Wilander
04e364f4f7 Do not scroll center channel to bottom when posting in RHS (#6852) 2017-07-05 16:28:32 -04:00
Saturnino Abril
81a893b556 fix position of emoji picker (#6837) 2017-07-05 16:21:04 -04:00
Joram Wilander
dd78a3f1fa Fix some scrolling issues (#6851) 2017-07-05 16:20:09 -04:00
Joram Wilander
bf81fea9f8 More scrolling fixes (#6780)
* Added MarkdownImage component

* Fixed unit tests

* More scrolling fixes
2017-06-29 07:49:55 -07:00
Harrison Healey
2dea567dcf Added MarkdownImage component (#6774)
* Added MarkdownImage component

* Fixed unit tests
2017-06-28 07:30:02 -07:00
George Goldberg
99fc4b0988 PLT-6900: Hide DotMenu container when DotMenu empty. (#6770) 2017-06-28 13:44:02 +08:00
Joram Wilander
23ccfc845c Move remaining actions over to use redux and v4 endpoints (#6720) 2017-06-26 08:16:57 -04:00
Joram Wilander
458d7d0021 Fix JS error from null posts (#6722) 2017-06-23 16:21:52 -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
Harrison Healey
ac4e9909fa Fixed incorrect formatting of numbers and plural words (#6696)
* Fixed incorrect formatting of numbers and plural words

* Removed unused i18n strings

* Fixed eslint errors
2017-06-22 11:30:03 +01:00
Joram Wilander
6bfb7ea3a9 Fix JS error when hovering over reactions (#6710)
* Fix JS error when hovering over reactions

* Fix autocomplete for custom emojis

* Update to latest mattermost-redux
2017-06-21 10:38:19 -04:00
Saturnino Abril
6e2e1c3bbb fix /expand and /collapse for link previews (#6676)
* fix /expand and /collapse for link previews

* make props.openGraphData not required for PostAttachmentOpenGraph component
2017-06-20 17:08:09 -04: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