summaryrefslogtreecommitdiffstats
path: root/app/notification.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-11700 Clean up handling of user display names for notifications (#9343)Harrison Healey2018-09-181-39/+57
| | | | * MM-11700 Clean up handling of user display names for notifications
* fixing log messages (#9341)Carlos Tadeu Panato Junior2018-09-171-2/+2
| | | | | | | | | | | | * fixing log messages * update per review * Update notification.go * Update server.go * Update notification.go
* MM-11710 Add a check to webhook messages to populate username from DM ↵Sudheer2018-08-301-1/+1
| | | | channel for email subject (#9314)
* MM-11529: Allow to Leave an archived channel from the API (#9204)Jesús Espino2018-08-031-0/+5
| | | | | | * MM-11529: Allow to Leave an archived channel from the API * Remove the restriction to remove user from archive channel to yourself
* send channel wide push notification type when at-here is used (#9209)Elias Nahum2018-08-021-1/+1
|
* Split notifications file into different files (#9164)Jesús Espino2018-07-281-596/+0
|
* Break HTML blocks to individual strings (#8903)Yusuke Nemoto2018-07-201-29/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Modifying message and templates about mfa_change * Modifying message and templates about password_change * Modify message and template about password_reset * Modify message and template about singin_change * Modify message and template about email_info * Modify message and template about change_username * Modify message about change_email * Add missing props * Add argument * Modify message and template about token_added * Modify messages and template about notification_email * Modify message and template about deactivate_email * Fix style * Remove unused message * Remove br tags * Modify message and code about invite_mail * Add missing message
* Add localized timestamp support for email notification (#8674)Chris Duarte2018-07-131-22/+45
| | | | | | * Add localized timestamp support for email notification * Move localTime logic over to getFormattedPostTime
* Merge remote-tracking branch 'upstream/release-5.1' into ↵cpanato2018-07-121-17/+19
|\ | | | | | | release-5.1-daily-merge-20180712
| * push notifications follow teammate name display user or server setting (#9049)Elias Nahum2018-07-111-17/+19
| | | | | | | | | | | | * push notifications follow teammate name display user or server setting * Feedback review
* | GH-8964 enable notification for text and preText fields in Attachments (#9069)Pradeep Murugesan2018-07-111-12/+33
|/
* Add back the ability to reply to push notifications in iOS (#8977)Elias Nahum2018-06-211-0/+1
|
* Skip notifications for expired sessions (#8934)Daniel Schalla2018-06-081-0/+5
|
* Relese5.0 merge master 20180607 (#8927)Carlos Tadeu Panato Junior2018-06-071-0/+1
| | | | | | | | | | * Add missing diagnostics (#8911) * Update diagnostics.go * Update diagnostics.go * Fix push notification styling backwards compatibility (#8913)
* MM-10597 Improved handling of punctuation around notifications (#8901)Harrison Healey2018-06-051-10/+11
|
* Push notification styling improvements (#8818)Elias Nahum2018-05-301-44/+82
| | | | | | * Push notification styling improvements * Fix unit tests
* Avoid emails if user status is OOO or post is an auto response (#8842)Chris Duarte2018-05-281-1/+3
|
* Update email notification subject line and contents for Group Messages (#8689)Ugurcan Turkdogan2018-05-151-13/+64
| | | | | | | | | | | Reordered notification strings MM-10335 Changed uppercase CHANNEL to Lowercase Channel, added @ sign before username on notifications Added @ sign in front of username in all email notifications. Capitalized Direct Message and Group Message in email notifications. Fixed the issue with long group message names. Removed executable bit
* add notification when @user, @here, @all and @channel has colon ":" at the ↵Saturnino Abril2018-05-111-6/+7
| | | | end (#8760)
* Structured logging (#8673)Christopher Speller2018-04-271-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implementing structured logging * Changes to en.json to allow refactor to run. * Fixing global logger * Structured logger initalization. * Add caller. * Do some log redirection. * Auto refactor * Cleaning up l4g reference and removing dependancy. * Removing junk. * Copyright headers. * Fixing tests * Revert "Changes to en.json to allow refactor to run." This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026. * Fixing some auto refactor strangeness and typo. * Making keys more human readable.
* Fix panics caused by race in notification code (#8652)Joram Wilander2018-04-191-0/+12
|
* MM-10122: Adds a mention for added-to-channel messages even when 'username ↵Martin Kraft2018-04-191-0/+11
| | | | mentions' are disabled. (#8648)
* MM-9918: Trim trailing / from push proxy URL. (#8635)George Goldberg2018-04-171-1/+1
|
* Add Auto Responder handler (#8386)Stan Chan2018-04-121-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WIP Out Of Office Return error for status command if user status is OOO Ignore notifications if Out Of Office Disable AutoResponder if status is set to online Add test for AutoResponder DisableAutoResponse when manually setting status Remove check on status slash command return early if user does not exists in SendAutoResponse method Add proper error handling Add a newline after error handling Revert back to err == nil in api4/status.go Remove a.Go when using a.Publish Add name consistency with the feature auto responder Last changes for name consistency, also fix failing test with auto_responder Fix names of functions in auto responder test Add ExperimentalEnableAutomaticReplies flag Auto Responder reply to a post
* MM-10036 Ensured correct handling of capitalized special mentions (#8607)Harrison Healey2018-04-111-3/+3
|
* fix out of channel mentions for mentioned word with valid punctuations (#8585)Saturnino Abril2018-04-061-8/+4
|
* revert default ephemeral post message for out of channel mention (#8571)Saturnino Abril2018-04-041-11/+2
|
* MM-9868 Fixed mentioning users when followed by multiple periods (#8548)Harrison Healey2018-04-021-2/+11
| | | | | | | | * 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/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [MM-9703] Push notifications are sent for own DM's (#8439)Carlos Tadeu Panato Junior2018-03-151-4/+9
| | | update
* ICU-682 Stopped sending out of channel mention warnings for system messages ↵Harrison Healey2018-03-091-1/+1
| | | | (#8426)
* Remove global site url (#8343)Chris2018-02-221-2/+2
| | | | | | | | * remove global site url * missed one * revert mysterious change
* Fix push notification content for file only messages (#8346)Joram Wilander2018-02-221-2/+6
|
* Merge branch 'release-4.7' into icu753Derrick Anderson2018-02-141-45/+36
|\
| * gofmtStephen Kiers2018-02-131-2/+0
| |
| * rerun jenkins?Stephen Kiers2018-02-131-0/+1
| |
| * remove debug statementStephen Kiers2018-02-131-2/+0
| |
| * Added more tests and simplified codeStephen Kiers2018-02-131-48/+39
| |
| * Fixes ICU-764Stephen Kiers2018-02-121-0/+3
| |
* | ICU-753 Added unit tests for messages with only push notificationsHarrison Healey2018-02-131-1/+1
| |
* | ICU-753 Added unit tests for push notification contentsHarrison Healey2018-02-131-39/+51
| |
* | ICU-753 Remove special behaviour for group messages in generic push ↵Harrison Healey2018-02-131-2/+2
|/ | | | notifications
* add App.License, remove utils.IsLicensed / utils.License calls (#8203)Chris2018-02-061-2/+2
|
* Fix panic when invalid types used in post props (#8191)Joram Wilander2018-02-021-6/+6
|
* use markdown parsing to identify mentions (#8139)Chris2018-01-231-99/+107
|
* PLT-3383: image proxy support (#7991)Chris2018-01-221-1/+1
| | | | | | | | | | | | * image proxy support * go vet fix, remove mistakenly added coverage file * fix test compile error * add validation to config settings and documentation to model functions * add message_source field to post
* Remove utils.ClientCfg and utils.ClientCfgHash (#8041)Chris2018-01-051-1/+1
| | | | | | * remove utils.ClientCfg and utils.ClientCfgHash * remove unused import
* PLT-8350 "mention" when channel user count equals to max allowed num (#7976)Siyuan Liu2017-12-151-1/+1
|
* Replace Channel Name for Team in Email Notifications (#7839)Chris Duarte2017-11-241-0/+2
| | | | | | * allow option to set channel name in email notification subject * Added TeamName to title when UseChannelInEmailNotifications=true
* send-mail refactor (#7885)Chris2017-11-231-1/+1
|