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

203 Коммитов

Автор SHA1 Сообщение Дата
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
Carlos Tadeu Panato Junior
270fc41c0f [PLT-3379] "Commented on" username should respect the teammate name display (#6684)
* PLT-3379 -  "Commented on" username should respect the teammate name display

* update per review
2017-06-21 00:23:12 +08: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
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
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
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
Saturnino Abril
b0f32e3c19 fix JS error and incorrect comment thread for SHIFT+UP (#6574) 2017-06-05 11:09:43 -04:00
Asaad Mahmood
b2453735b2 Minor Ui improvements (#6515)
* PLT-6645 - Improving copy pasting behaviour

* PLT-6149 - Fixing edited indicator in search
2017-05-30 08:19:29 -07:00
Joram Wilander
14684ae785 Fix JS error when switching teams (#6484) 2017-05-24 09:16:27 -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
Christopher Speller
2bbedd9def Updating client dependencies. Switching to yarn. (#6433)
* Updating client dependancies. Switching to using yarn.

* Updating React

* Moving pure components to using function syntax (performance gains with newer react version)

* Updating client dependancies.

* Ignore .yarninstall

* Enabling pre-lockfile because it's the entire point of using yarn.

* Removing old webpack config

* Moving to new prop-types

* Fixing ESLint Errors

* Updating jest snapshots.

* Cleaning up package.json
2017-05-18 09:28:18 -04:00
Saturnino Abril
81b2fd9982 add IDs for reply arrows at center and RHS (#6311) 2017-05-11 08:12:33 -04:00