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

20 Коммитов

Автор SHA1 Сообщение Дата
Harrison Healey
c0a905c037 PLT-1424 Added XRegExp library to fix search highlighting (#3787) 2016-08-12 07:49:19 -04:00
Harrison Healey
c79685b0bc PLT-3534 Changed special handling of internal links to only occur for permalinks and links to channels (#3731) 2016-08-03 18:28:38 -05:00
Joram Wilander
bfa04c0ab0 PLT-2408 Adds here mention for online users (#3619)
* Added @here mention that notifies online users

* Fixed existing race condition that would sometime cause clients to miss mention count changes

* Added missing localization strings

* Prevent @here from mentioning the user who posted it
2016-07-21 10:00:09 -04:00
Harrison Healey
7c34ea9b8c Highlight hashtags containing search text (#3568) 2016-07-13 09:00:28 -08:00
Harrison Healey
dc2f2a8001 PLT-3145 Custom Emojis (#3381)
* Reorganized Backstage code to use a view controller and separated it from integrations code

* Renamed InstalledIntegrations component to BackstageList

* Added EmojiList page

* Added AddEmoji page

* Added custom emoji to autocomplete and text formatter

* Moved system emoji to EmojiStore

* Stopped trying to get emoji before logging in

* Rerender posts when emojis change

* Fixed submit handler on backstage pages to properly support enter

* Removed debugging code

* Updated javascript driver

* Fixed unit tests

* Fixed backstage routes

* Added clientside validation to prevent users from creating an emoji with the same name as a system one

* Fixed AddEmoji page to properly redirect when an emoji is created successfully

* Fixed updating emoji list when an emoji is deleted

* Added type prop to BackstageList to properly support using a table for the list

* Added help text to EmojiList

* Fixed backstage on smaller screen sizes

* Disable custom emoji by default

* Improved restrictions on creating emojis

* Fixed non-admin users seeing the option to delete each other's emojis

* Fixing gofmt

* Fixed emoji unit tests

* Fixed trying to get emoji from the server when it's disabled
2016-07-05 11:58:18 -04:00
Harrison Healey
459eee85a9 PLT-3269 Moved formatting toggle behind EnableDeveloper setting (#3402)
* Force formatting to be enabled if testing is disabled

* Moved formatting toggle behind EnableDeveloper setting
2016-06-27 08:16:01 -04:00
Harrison Healey
6b22a8e816 PLT-3211 Fixed search highlighting for hashtags starting with "#in", "#from", or "#channel" (#3400)
* Fixed clicking hashtags/@mentions adding a # to the url

* Updated punctuation trimming regex for searching to better match the server

* Fixed search term splitting to not break up hashtags starting with a search flag (in, from, etc)
2016-06-22 18:32:59 -04:00
Christopher Speller
14510ce194 Adding webpack code splitting (#3377) 2016-06-22 10:30:01 -04:00
Harrison Healey
5f7ce2214a Improved internal links which use react-router (#3180) 2016-06-01 08:52:28 -04:00
Harrison Healey
6e6257fcca Removed unnecessary wbrs (#3182) 2016-05-31 16:11:23 -04:00
Harrison Healey
4a326dd6ce PLT-1626/PLT-1424/PLT-1473/PLT-1483 Improved search highlighting (#3171)
* PLT-1626 Stopped breaking up hyphenated hashtags when highlighting search terms

* Made hashtag search highlighting case independent

* PLT-1424 Improved search highlighting when searching for CJK characters

* PLT-1473 Added search term highlighting to single-line code blocks

* PLT-1473 Added search term highlighting to code blocks that don't use syntax highlighting

* PLT-1483 Added proper highlighting of at mentions

* Fixing formatting
2016-05-31 10:37:59 -04:00
Harrison Healey
fe5db12374 PLT-3080 Added ability to disable formatting for debugging and updated marked to fix errors (#3141)
* Removed injectIntl from user_settings_advanced.jsx

* Added setting to disable formatting for debugging

* Updated fork of marked
2016-05-30 07:57:44 -04:00
samogot
e1bebb2d77 PLT-2321 Move the toggle icon next to the link being previewed (#3071)
* PLT-2321 Move the toggle icon next to the link being previewed
only applicable to one-line messages started with link

* remove useless "Youtube" header when no title is available

* allow breaking long links instead of toggle

* simplify "/" to "/<wbr />" replacing
fix empty post without additional content body

* discard buggy "simplification"
2016-05-27 19:31:02 -04:00
Christopher Speller
4b260b761a Updating client dependancies and ESLint (#2954)
* Updating client dependancies

* Fixing eslint errors with updates

* Updating eslint
2016-05-12 07:50:53 -04:00
Harrison Healey
761f59645d PLT-2816 Fixed handling of Unicode 8 emojis (#2924)
* Updated twemoji to properly recognize Unicode 8.0 emojis

* Updated unicode emoji parser to only render emojis we support as images

* Corrected filename for South African flag emoji

* Added Mattermost emoticons!

* Added additional emoticons to test files
2016-05-09 00:17:26 -07:00
Harrison Healey
ed3162a59d Moved twemoji parsing so that it doesn't occur inside of code blocks (#2896) 2016-05-05 12:35:01 -07:00
Harrison Healey
d8df66c00c Fixed updating mention keys when a user's username changes (#2774) 2016-04-25 08:20:45 -04:00
Harrison Healey
f73daebb61 PLT-1236 Added special handling for markdown links within mattermost (#2763)
* Added special handling for markdown links within mattermost

* Moved application of .app__body class to route components
2016-04-22 11:52:44 -07:00
Harrison Healey
f8ac97fb22 Changed mention parser to ignore empty string mentions 2016-03-17 10:33:06 -04:00
Christopher Speller
12896bd23e Converting to Webpack. Stage 1. 2016-03-16 18:02:55 -04:00