summaryrefslogtreecommitdiffstats
path: root/app/notification_test.go
Commit message (Collapse)AuthorAgeFilesLines
* PLT-8350 "mention" when channel user count equals to max allowed num (#7976)Siyuan Liu2017-12-151-1/+15
|
* more global config ref cleanup (#7802)Chris2017-11-091-6/+6
|
* fix push notification when user status is in DND (#7731)Carlos Tadeu Panato Junior2017-10-301-3/+32
|
* [PLT-7701] Fix emoji names that trigger mention (#7663)Saturnino Abril2017-10-251-1/+25
| | | | | | | | * fix emoji names that trigger mention * remove regex and rearrange based on comment * make ":@here:" to not trigger a mention
* Fix races / finally remove global app for good (#7570)Chris2017-10-041-3/+26
| | | | | | | | | | | | * finally remove global app for good * test compilation fixes * fix races * fix deadlock * wake up write pump so it doesn't take forever to clean up
* PLT-7509 Stopped processing special mentions for change of header/purpose ↵Harrison Healey2017-09-151-6/+29
| | | | messages (#7410)
* Remove global app references (#7433)Chris2017-09-121-42/+30
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* Renaming repoChristopher Speller2017-09-061-2/+2
|
* app type transition (#7167)Chris2017-09-061-30/+42
|
* PLT-7474 Stopped requiring confirmation for mentions in code blocks (#7375)Harrison Healey2017-09-061-0/+6
| | | | | | * PLT-7474 Stopped requiring confirmation for mentions in code blocks * Stopped mentioning people from code blocks using ~~~
* PLT-7473 Ignore text surrounded by multiple backquotes when parsing mentions ↵Harrison Healey2017-09-041-1/+7
| | | | (#7347)
* PLT-5745 Cleaning up duplicate calls (#7298)Corey Hulen2017-08-281-9/+9
| | | | | | | | * PLT-5745 Cleaning up duplicate calls * Fixing missing calls * Fixing broken test
* System Console: Email notification content setting (#7122)Jonathan2017-08-061-0/+286
| | | | | | | | | | | | | | | | * PLT-7195: Added new config option, new license feature, and config UI to system console. Still need to implement behaviour change in email batching code * PLT-7195: Modified batch emails to respect email notification content type setting * PLT-7195: Tweaking the colours a bit * PLT-7195: Added support for email notification content type setting in immediate (non-batched) notification messages. Attempted to clean up the code somewhat. Unit tests coming in a future commit * PLT-7195: Added unit tests for non-batched emails * Checked license when applying email content settings * Changed return type of getFormattedPostTime
* PLT-6759 Show deactivated users in GMs (#6703)Joram Wilander2017-06-221-3/+41
| | | | | | * Show deactivated users in GMs * Fix runtime error when DMing deactivated user
* PLT-6271 Changed word splitting to initially split on any non-name character ↵Harrison Healey2017-04-281-27/+25
| | | | | | | | (#6261) * PLT-6271 Changed word splitting to initially split on any non-name character * Fixed detection of out of channel mentions
* PLT-3915/PLT-5550 Improve handling of Markdown while parsing mentions (#6091)Harrison Healey2017-04-261-0/+180
| | | | | | | | * PLT-3915 Removed ability to mention users in code blocks * PLT-3915 Added simple check for potential code blocks before using regexes * PLT-5550 Improve splitting when parsing mentions to ignore markdown characters
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-041-3/+2
| | | | | | | | | | | | | | | | * Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)" This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47. * Removed automatic configuration of SiteURL * Reverted unintentional config changes * Updated help text * Added link to docs in Site URL warning * Fixed merge conflict
* PLT-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-101-2/+3
|
* Fix push notifications where channel is set to all activity (#5594)enahum2017-03-021-0/+290
| | | | | | | | | | | | * Fix push notifications where channel is set to all activity * feedback review * moved push notification logic to DoesStatusAllowPushNotification * Have every option handled in ShouldSendPushNotification * unit tests
* PLT-5284 Fix webhook notifications for channel creator is not in (#5119)Joram Wilander2017-01-201-1/+1
| | | | | | * Fix webhook notifications for channel creator is not in * Fix unit test
* Add inbucket docker image to allow local and automated testing of emails (#4901)Carlos Tadeu Panato Junior2017-01-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * add docker container for inbucket * Add way to get the emails using inbucket and add a test for reset password * add config setting to send emails * update TestEmailTest update * add another test and fix wrong assert * update per review fix lint change senders email * Revert config.json to default values for EmailSettings section * update test * add setup to make the test run
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+312
* Add app package and move logic over from api package * Change app package functions to return errors * Move non-api tests into app package * Fix merge