Skip to content
Branch: master
Find file History
lieut-data and ali-farooq0 MM-17023: Plugin Marketplace (#12183)
* MM-17149 - Extend config.json for marketplace settings (#11933)

* MM-17149 - Extend config.json for marketplace settings

* Renamed MarketplaceUrl, tracking default marketplace url

* Added EnableMarketplace to the client config

* Revert "Added EnableMarketplace to the client config"

This reverts commit 0f982c4.

* MM-17149 - Added EnableMarketplace to the client config (#11958)

* Added EnableMarketplace to the client config

* Moved EnableMarketplace setting out of limited client configuration

* MM-17150, MM-17545, MM-18100 - Implement GET /api/v4/plugins/m… (#11977)

* MM-17150 - Implement GET /api/v4/plugins/marketplace proxying upstream
MM-17545 - Merge locally installed plugins into GET /api/v4/plugins/marketplace

* Replaced MarketplacePluginState with Installed

* Setting InstalledVersion instead of Installed

* marketplace client setting per_page if non zero

* Creating insecure client for marketplace url

* Fixed trailing slash for default marketplace url

* Adding filtering

* Fixed function names

* Renamed Manifest() to GetManifest(), added godoc for BaseMarketplacePlugin

* Handling plugin.ErrNotFound correctly

* Checking err == nil instead when a plugin is installed

* MM-18450 - Local-only plugin search (#12152)

* MM-17846: plugin icons (#12157)

* MM-17846: add support for plugin icons

Extend the model definitions to support plugin icons from the marketplace.

* s/IconURL/IconData

* MM-18475 - Converge on snake_case responses from the marketplace (#12179)

* MM-18520 - MM-Server should forward server version to marketplace server (#12181)

* Renamed request to filter client4.GetMarketplacePlugins

* Renamed request to filter

* Guarding against bad marketplace server response
Latest commit 4ce7b92 Sep 17, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Fake_Team_Import.zip [APIV4] POST /teams/{team_id}/import for apiv4 (#5920) Apr 3, 2017
README.md Fix places where we still refer to "/loadtest" (#6732) Jun 23, 2017
orientation_test.jpeg MM-7633: Optimize memory utilization during file uploads (#9835) Dec 13, 2018
orientation_test_1.jpeg MM-7633: Optimize memory utilization during file uploads (#9835) Dec 13, 2018
orientation_test_1_expected_preview.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_1_expected_thumb.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_2.jpeg MM-7633: Optimize memory utilization during file uploads (#9835) Dec 13, 2018
orientation_test_2_expected_preview.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_2_expected_thumb.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_3.jpeg MM-7633: Optimize memory utilization during file uploads (#9835) Dec 13, 2018
orientation_test_3_expected_preview.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_3_expected_thumb.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_4.jpeg MM-7633: Optimize memory utilization during file uploads (#9835) Dec 13, 2018
orientation_test_4_expected_preview.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_4_expected_thumb.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_5.jpeg MM-7633: Optimize memory utilization during file uploads (#9835) Dec 13, 2018
orientation_test_5_expected_preview.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_5_expected_thumb.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_6.jpeg MM-7633: Optimize memory utilization during file uploads (#9835) Dec 13, 2018
orientation_test_6_expected_preview.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_6_expected_thumb.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_7.jpeg MM-7633: Optimize memory utilization during file uploads (#9835) Dec 13, 2018
orientation_test_7_expected_preview.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_7_expected_thumb.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_8.jpeg MM-7633: Optimize memory utilization during file uploads (#9835) Dec 13, 2018
orientation_test_8_expected_preview.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
orientation_test_8_expected_thumb.jpeg MM-16997: Simplified TestUploadFiles (#11707) Jul 26, 2019
qa-data-graph.png Ldap groups phase1 (#9752) Jan 10, 2019
qa-data.ldif Ldap groups phase1 (#9752) Jan 10, 2019
slack-import-test-channels.json Slack import unit tests (#4201) Oct 12, 2016
slack-import-test-direct-messages.json Add Slack corporate import ability (#10905) Jun 4, 2019
slack-import-test-group-direct-messages.json Add Slack corporate import ability (#10905) Jun 4, 2019
slack-import-test-posts.json add support for new slack post format and multiple attachments in sla… Jul 11, 2019
slack-import-test-private-channels.json Add Slack corporate import ability (#10905) Jun 4, 2019
slack-import-test-users.json Slack import unit tests (#4201) Oct 12, 2016
test-attachments.md Updated to Google Drive location (#7856) Nov 20, 2017
test-config.json MM 7971 dockerhost -> localhost && docker -> docker-compose (#10872) Aug 2, 2019
test-data-graph.png Ldap groups phase1 (#9752) Jan 10, 2019
test-data.ldif MM-14412: Enables force removals of team/channel members base on grou… Apr 2, 2019
test-emoticons1.md PLT-7356 and 7378 Reduce size of emoji test posts (#7291) Aug 25, 2017
test-emoticons2.md Remove duplicate Nature section (#7571) Oct 4, 2017
test-emoticons3.md PLT-7356 and 7378 Reduce size of emoji test posts (#7291) Aug 25, 2017
test-emoticons4.md PLT-7356 and 7378 Reduce size of emoji test posts (#7291) Aug 25, 2017
test-emoticons5.md PLT-7356 and 7378 Reduce size of emoji test posts (#7291) Aug 25, 2017
test-emoticons6.md PLT-7356 and 7378 Reduce size of emoji test posts (#7291) Aug 25, 2017
test-hashtags.md Moving tests to /tests and removing /doc folder. Docs are now in sepe… Feb 18, 2016
test-link-preview.md Update link preview test cases (#5620) Mar 4, 2017
test-links.md PLT-6813 Removed misleading and outdated link tests (#6767) Jun 28, 2017
test-markdown-basics.md Update test-markdown-basics.md (#5657) Mar 7, 2017
test-markdown-lists.md Update markdown test for lists (#6131) Apr 18, 2017
test-mentions.md
test-search.md Add special characters hashtag tests (#6132) Apr 18, 2017
test-slack-attachments.json Fix parsing attachment field links into markdown (#2958) (#2959) May 12, 2016
test-syntax-highlighting.md Remove old tests from syntax-highlighting.md (#2970) May 12, 2016
test-tables.md Update test-tables.md (#6775) Jun 28, 2017
test.png Converting to Webpack. Stage 1. Mar 16, 2016
test.svg MM-15452 - Add ability to override LHS icon for bot accounts (#11423) Jul 6, 2019
test.tiff [MM-8421] Fix tiff preview - backend (#10170) Feb 21, 2019
test_expected_preview.tiff [MM-8421] Fix tiff preview - backend (#10170) Feb 21, 2019
test_expected_thumb.tiff
testgif.gif Converting to Webpack. Stage 1. Mar 16, 2016
testplugin.tar.gz MM-10702 Moving plugins to use hashicorp go-plugin. (#8978) Jun 25, 2018
testpluginv2.tar.gz MM-17023: Plugin Marketplace (#12183) Sep 17, 2019
tls_test_cert.pem Set default ciphers, set tls 1.2 via config, set curve prefs (#9315) Oct 16, 2018
tls_test_key.pem Set default ciphers, set tls 1.2 via config, set curve prefs (#9315) Oct 16, 2018

README.md

Testing Text Processing

The text processing tests located in the doc/developer/tests folder are designed for use with the /test url command. This command posts the raw contents of a specified .md file in the doc/developer/test folder into Mattermost.

Turning on /test

Access the System Console from the Main Menu. Under Service Settings make sure that Enable Testing is set to true, then click Save. You may also change this setting from config.json by setting ”EnableTesting”: true. Changing this setting requires a server restart to take effect.

Running the Tests

In the text input box in Mattermost, type: /test url [file-name-in-testing-folder].md. Some examples:

/test url test-emoticons.md
/test url test-links.md

Notes:

  1. If a test has prerequisites, make sure your Mattermost setup meets the requirements described at the top of the test file.
  2. Some tests are over 4000 characters in length and will render across multiple posts.

Manual Testing

It is possible to manually test specific sections of any test, instead of using the /test command. Do this by clicking Raw in the header for the file when it’s open in GitHub, then copy and paste any section into Mattermost to post it. Manual testing only supports sections of 4000 characters or less per post.

You can’t perform that action at this time.