summaryrefslogtreecommitdiffstats
path: root/app/notification_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix TestSendNotifications test (#8712)Jesús Espino2018-05-031-1/+1
|
* Fix panics caused by race in notification code (#8652)Joram Wilander2018-04-191-0/+2
|
* MM-10036 Ensured correct handling of capitalized special mentions (#8607)Harrison Healey2018-04-111-0/+24
|
* fix out of channel mentions for mentioned word with valid punctuations (#8585)Saturnino Abril2018-04-061-0/+6
|
* MM-9868 Fixed mentioning users when followed by multiple periods (#8548)Harrison Healey2018-04-021-0/+39
| | | | | | | | * MM-9868 Fixed mentioning users when followed by multiple periods * Added additional unit test * Added comment to clarify test purpose
* [PLT-4340] Channel Mute and "/mute" command #7617 (#7713)Christian Claus2018-03-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add command and store changes to allow mute toggling * Change channel muting to use ChannelMember notification structure * Suppress email and push notifications for a muted channel * Make i18n keys issue-compliant * Add notification-cache handling for channel-muting * Add channel handle for channel-muting slash-command * Add unit test for mute command * Merge branch 'master' into PLT-4340 # Conflicts: # app/notification.go * Fix issue that command_mute responses will be overwritten * Fix i18n key for channel muting * Apply new Provider Interface to MuteCommand * Migrate mute notification property to mark_unread PLT-4340 * Make some i18n improvements for command_mute PLT-4340 * Remove de.json translations * Prevent push notifications when channel is muted * Treat Group messages like Direct messages * Fix unit test * Send WS event when the channel member notify props changed
* Fix push notification content for file only messages (#8346)Joram Wilander2018-02-221-0/+6
|
* Merge branch 'release-4.7' into icu753Derrick Anderson2018-02-141-0/+45
|\
| * Added more tests and simplified codeStephen Kiers2018-02-131-0/+18
| |
| * Added another testStephen Kiers2018-02-121-0/+9
| |
| * Fixes ICU-764Stephen Kiers2018-02-121-0/+18
| |
* | ICU-753 Added unit tests for messages with only push notificationsHarrison Healey2018-02-131-0/+24
| |
* | ICU-753 Added unit tests for push notification contentsHarrison Healey2018-02-131-0/+211
|/
* use markdown parsing to identify mentions (#8139)Chris2018-01-231-293/+231
|
* 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