Commit Graph

37 Commits

Author SHA1 Message Date
lindalumitchell
a885eaddaf Update test-markdown-basics.md (#5657)
* Update test-markdown-basics.md

Added test for heading followed by paragraph1, line break, paragraph2

* Fix test so it is <4000 characters
2017-03-06 20:37:14 -05:00
lindalumitchell
a2aa1cd124 Update test-links.md (#5656)
Added test for angle brackets around email address
2017-03-06 20:36:58 -05:00
Jason Blais
5eb190c53b Update test-markdown-basics.md (#5655) 2017-03-06 20:36:38 -05:00
Jason Blais
f7c8db99af Update link preview test cases (#5620) 2017-03-04 17:49:46 +00:00
Jason Blais
13edd4e7ad Add Markdown test cases for explicit image sizes (#5618) 2017-03-04 17:48:44 +00:00
it33
88ce5d363c Adding test case for lines before & after bullets (#5155) 2017-01-25 07:16:35 -05:00
it33
4ccfbbdcf1 Adding more link preview test cases (#4899)
* Adding more link preview test cases

* More link examples

* Enumerating examples

* Updates based on ES feedback
2017-01-03 11:40:17 -03:00
Harrison Healey
165ad0d4f7 PLT-1378 Initial version of emoji reactions (#4520)
* Refactored emoji.json to support multiple aliases and emoji categories

* Added custom category to emoji.jsx and stabilized all fields

* Removed conflicting aliases for :mattermost: and :ca:

* fixup after store changes

* Added emoji reactions

* Removed reactions for an emoji when that emoji is deleted

* Fixed incorrect test case

* Renamed ReactionList to ReactionListView

* Fixed 👍 and 👎 not showing up as possible reactions

* Removed text emoticons from emoji reaction autocomplete

* Changed emoji reactions to be sorted by the order that they were first created

* Set a maximum number of listeners for the ReactionStore

* Removed unused code from Textbox component

* Fixed reaction permissions

* Changed error code when trying to modify reactions for another user

* Fixed merge conflicts

* Properly applied theme colours to reactions

* Fixed ESLint and gofmt errors

* Fixed ReactionListContainer to properly update when its post prop changes

* Removed unnecessary escape characters from reaction regexes

* Shared reaction message pattern between CreatePost and CreateComment

* Removed an unnecessary select query when saving a reaction

* Changed reactions route to be under /reactions

* Fixed copyright dates on newly added files

* Removed debug code that prevented all unit tests from being ran

* Cleaned up unnecessary code for reactions

* Renamed ReactionStore.List to ReactionStore.GetForPost
2016-11-30 13:55:49 -05:00
Jason Blais
5b34ac6e1e Update test-attachments.txt for Text previewer (#4430)
* Update test-attachments.txt for Text previewer

* Update test-attachments.md
2016-11-02 14:36:36 -07:00
George Goldberg
8c8bc7111c Slack import unit tests (#4201)
* Slack Import unit tests (for some functions).

Covers the completely self contained functions in the Slack Importer
that are straightforward to unit test.

JSON processing functions are not yet unit tested.

* Unit tests for Slack Import JSON parsing.

This tests the 3 functions for parsing JSON, using a sample set of
Slack data for posts, channels, and users.
2016-10-12 10:03:30 -04:00
lfbrock
44d2a19848 Update test-attachments.md (#3862) 2016-08-23 14:43:13 -08:00
Jason Blais
ea26a596b2 Updating markdown links test (#3790)
#### Summary

Updating markdown links test

Ticket Link

https://mattermost.atlassian.net/browse/PLT-3829 and https://mattermost.atlassian.net/browse/PLT-3551 are marked as `Won't Fix`, so the markdown links test needs to be updated too.
2016-08-12 07:40:59 -04:00
lfbrock
0c977e8881 Update test-links.md (#3649) 2016-07-20 13:04:39 -08:00
Harrison Healey
b8b322c04b PLT-3482/PLT-3551/PLT-3552 Fixed some markdown list parsing (#3637)
* PLT-3552 Partially-fixed an invalid test case

* PLT-3551 Removed an invalid test case

* PLT-3482 Added a test case for multiple lists separated by text

* PLT-3482 Updated marked to fix multiple lists separated by text
2016-07-20 13:01:52 -08:00
Harrison Healey
c90a34c2a3 Removed semi-valid link from list that shouldn't autolink (#3471)
The new autolinking regex matches it and it could be argued that the link is valid anyway.
2016-07-04 16:42:45 -04:00
Harrison Healey
1d67825673 Require indentation for multiline list items (#3326) 2016-06-14 08:59:20 -04:00
Harrison Healey
ae1b0d3d29 Fixing test-markdown-lists.md (#3281) 2016-06-07 11:38:02 -04:00
lfbrock
f864e9adf1 Update test-links.md (#3270) 2016-06-06 15:37:49 -04:00
lfbrock
ad73aced4e Update test-links.md (#3165)
* Update test-links.md

* Update test-emoticons.md
2016-05-30 15:47:40 -04:00
Harrison Healey
15e427e806 PLT-1458 Updated list autonumbering (#3126)
* Removed MattermostLexer since it was exactly the same as the default marked one

* Updated list autonumbering to always start numbering from the first item's number
2016-05-27 08:22:22 -04:00
Harrison Healey
6092be8af1 Updated our fork of marked and prevented catastrophic backtracking (#3098) 2016-05-25 08:38:03 -07:00
Harrison Healey
3b5a5110c7 Revert "Updated our fork of marked and added more links to test-links.md (#3047)" (#3090)
This reverts commit c868620693.
2016-05-24 07:12:02 -07:00
Harrison Healey
c868620693 Updated our fork of marked and added more links to test-links.md (#3047) 2016-05-19 08:38:50 -04:00
lfbrock
13f6ef7791 Shorten test-emoticons1.md (#2996) 2016-05-16 06:45:07 -04:00
thoemy
3f0325fd22 Fix parsing attachment field links into markdown (#2958) (#2959)
Field contents are stored in 'value' not 'text'.
2016-05-12 08:30:44 -04:00
lfbrock
b6260e827e Remove old tests from syntax-highlighting.md (#2970) 2016-05-12 07:45:31 -04:00
lfbrock
5d74b9decd Update test-search.md to fix spelling error (#2939) 2016-05-10 08:22:31 -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
enahum
a9cf5172da PLT-2719 Emails with underscores don't auto-link correctly (#2865) 2016-05-03 13:06:01 -04:00
Andy Lo-A-Foe
1a1fd39cf8 PLT-2525: Render attachment fields similar to Slack
* Render attachment fields similar to Slack

* Add /loadtest json url command

This allows us to easily create test posts with 
more props like Slack attachments
2016-04-06 08:23:26 -04:00
Christopher Speller
12896bd23e Converting to Webpack. Stage 1. 2016-03-16 18:02:55 -04:00
Eric Sethna
d378812349 Update test-search.md with more markdown hashtags 2016-03-09 10:26:14 -05:00
Eric Sethna
0bd341a163 Create test-emoticons4.md 2016-02-26 12:50:22 -08:00
Eric Sethna
ceb2d771ee Create test-emoticons3.md 2016-02-26 12:49:36 -08:00
Eric Sethna
9bfac12a3e Create test-emoticons2.md 2016-02-26 12:48:30 -08:00
Eric Sethna
b53da76b13 Update and rename test-emoticons.md to test-emoticons1.md 2016-02-26 12:46:27 -08:00
Christopher Speller
a7fae6e62f Moving tests to /tests and removing /doc folder. Docs are now in seperate repository 2016-02-18 09:25:10 -05:00