summaryrefslogtreecommitdiffstats
path: root/app/notification.go
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* HTTP client refactor (#7884)Chris2017-11-221-1/+1
| | | | | | * http client refactor * simplification
* refactor template code (#7860)Chris2017-11-201-2/+2
|
* more global config ref cleanup (#7802)Chris2017-11-091-3/+3
|
* fix push notification when user status is in DND (#7731)Carlos Tadeu Panato Junior2017-10-301-2/+5
|
* add RootId to out-of-channel-mentions ephemeral post for that to render at ↵Saturnino Abril2017-10-271-0/+1
| | | | RHS (#7726)
* [PLT-4341] add dnd command (#7694)Carlos Tadeu Panato Junior2017-10-251-0/+2
|
* [PLT-7701] Fix emoji names that trigger mention (#7663)Saturnino Abril2017-10-251-4/+9
| | | | | | | | * fix emoji names that trigger mention * remove regex and rearrange based on comment * make ":@here:" to not trigger a mention
* [PLT-7362] Option to add user to channel if mentioned user is not currently ↵Saturnino Abril2017-10-211-4/+29
| | | | | | | | | | | | | | | | in the channel (#7619) * Option to add user to channel if mentioned user is not currently in the channel * instead of link from server, just add component on client side to add channel member * change implementation using post.props * do clean up and add test * sanitize post.props['add_channel_member'] on post creation * move sanitize to app.CreatePost and also apply to app.UpdatePost
* Reduce utils.Cfg references (#7650)Chris2017-10-181-18/+18
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* Add back consumeAndClose functionality. (#7608)Christopher Speller2017-10-121-3/+1
| | | | | | | * consume bodies for action button integrations, webrtc gateway, oauth endpoint * Fixing a couple more places, switching to io.Copy to ioutil.Discard, adding a comment to help prevent future performance regressions