summaryrefslogtreecommitdiffstats
path: root/api/slackimport_test.go
Commit message (Collapse)AuthorAgeFilesLines
* PLT-4847 Fix formatting of links imported from Slack. (#4674)George Goldberg2016-11-291-0/+21
| | | | | This fixes mailto: links built from email addresses posted to Slack as described in the ticket, but also fixes any other type of URL that has been auto-linked in the Slack messages.
* Increase Channel Purpose length to 250, and add channel field length ↵Christopher Speller2016-11-041-0/+40
| | | | | | | | | | | | | | | | handling code to the slack importer (#4458) * Increase Channel Purpose length to 250. This commit increases the maxmimum length of the channel purpose field to 250, including the database migration necessary. It also adds a method to the Slack importer to check the lengths of channel properties before importing, and truncate them if necessary. Fixes #4168 * Fix database migration.
* Channel link marker changed from ! to ~ (#4433)George Goldberg2016-11-031-2/+2
| | | Fixes PLT-4570
* Slack import unit tests (#4201)George Goldberg2016-10-121-0/+179
* 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.