Commit Graph

56 Commits

Author SHA1 Message Date
Druhin Bala
301e7eb1c4 MM-10699 Add channel renaming to CLI (#9094) 2018-07-18 11:49:48 +01:00
Santos Solorzano
f57d279dc0 [MM-10117] Add support to add/delete and enable/disable plugins via CLI (#8745)
* Testing caching for emojis

* MM-10117 Add support to add/delete and activate/deactivate plugins via CLI

* Removing old work

* MM-10117 Moved files and addedd plugin test

* MM-10117 Renamed commands to enable/disable and updated add test

* MM-10117 Finished plugin test and improved error message for plugin commands

* MM-10117 Fixing plugin directories for test

* MM-10117 Renamed commands and updated commands to support multiple plugins

* MM-10117 Updating removed to deleted textclear

* MM-10117 Fixing nil pointer error for listing plugins

* MM-10117 Removing fileReader close

* MM-10117 Declaring error for GetPlugins

* MM-10117 Removing unnecessary nil check
2018-07-11 12:17:19 -04:00
Christopher Speller
1e5c432e10 MM-10702 Moving plugins to use hashicorp go-plugin. (#8978)
* Moving plugins to use hashicorp go-plugin.

* Tweaks from feedback.
2018-06-25 12:33:13 -07:00
lindalumitchell
be00e242d7 Updated to Google Drive location (#7856)
Missed a link to the sample files when I updated before. Also tidied a sentence and added some clarifying instructions.
2017-11-20 12:36:19 -08:00
lindalumitchell
bdd47539bf Update with new link to mm_file_testing in Drive (#7812) 2017-11-10 11:51:30 -08:00
lindalumitchell
87e816da23 Remove duplicate Nature section (#7571) 2017-10-04 12:01:26 -07:00
Joram Wilander
899ab31fff Implement experimental REST API endpoints for plugins (#7279)
* Implement experimental REST API endpoints for plugins

* Updates per feedback and rebase

* Update tests

* Further updates

* Update extraction of plugins

* Use OS temp dir for plugins instead of search path

* Fail extraction on paths that attempt to traverse upward

* Update pluginenv ActivePlugins()
2017-09-01 09:00:27 -04:00
lindalumitchell
eec79e042e PLT-7356 and 7378 Reduce size of emoji test posts (#7291)
* PLT-7356 Split emoji test 1 into smaller test files

Prevent test files from splitting into multiple posts.

Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md

* PLT-7356 Split emoji test 2 into smaller test files

Prevent test files from splitting into multiple posts.

Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md

* PLT-7378 Split emoji test 3 into smaller test files

Prevent test files from splitting into multiple posts.

Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md

* PLT-7378 Split emoji test 4 into smaller test files

Prevent test files from splitting into multiple posts.

Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md

* PLT-7356 and 7378 Create test-emoticons5.md

Prevent test files from splitting into multiple posts.

Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md

* PLT-7356 and 7378 Create test-emoticons6.md

Prevent test files from splitting into multiple posts.

Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md
2017-08-25 10:43:06 -04:00
lindalumitchell
19804c4e40 Update test .md files with new emoji set (#7104)
* Updated with new emoji set for testing

Changed test-emoticons4.md from Symbols and formatting tests to Flags, Special, and formatting tests.

* Updated with new emoji set for testing

Updated test-emoticons3.md from Places to Objects and Symbols.

* Updated with new emoji set for testing

Updated test-emoticons2.md from Objects to Food, Activity, and Travel.

* Updated with new emoji set for testing

Updated test-emoticons1.md to new emoji set, still containing the intro, People, and Nature sections.
2017-08-03 08:54:34 -04:00
Harrison Healey
3e9b5c2776 PLT-6813 Removed misleading and outdated link tests (#6767)
* PLT-6813 Removed misleading tests using default ports

* PLT-6813 Removed tests using basic authentication
2017-06-28 07:27:32 -07:00
lindalumitchell
a32f6f7733 Update test-tables.md (#6775) 2017-06-28 09:37:43 -04:00
Jason Blais
647d5b1b45 Fix places where we still refer to "/loadtest" (#6732)
* Update README.md

* Update developer_settings.jsx

* Update command_loadtest_test.go
2017-06-23 13:36:13 -04:00
Jeff Schering
1594cf8af1 Renamed /loadtest to /test (#6669) 2017-06-19 10:54:19 -07:00
lindalumitchell
d5ae46c96c Update markdown test for lists (#6131)
* Update for no line breaks in lists

* Updating line breaks in lists expected behavior
2017-04-18 08:26:25 -07:00
lindalumitchell
17091d0ccb Add special characters hashtag tests (#6132) 2017-04-18 11:05:31 +01:00
Carlos Tadeu Panato Junior
7eb09dbffd [APIV4] POST /teams/{team_id}/import for apiv4 (#5920) 2017-04-03 17:38:26 +01:00
Jason Blais
ce772b87da Update test-links.md (#5721)
Remove a test case until we receive a customer request for it. See more details here: https://mattermost.atlassian.net/browse/PLT-5806
2017-03-10 15:57:36 -05:00
lindalumitchell
f99658152a Update test-emoticons4.md (#5659)
Added test for emoticons in headings.
2017-03-06 20:37:42 -05:00
lindalumitchell
eb6c8ee808 Update test-markdown-lists.md (#5658)
Added test for multi-item unordered list with line break.
2017-03-06 20:37:28 -05:00
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