summaryrefslogtreecommitdiffstats
path: root/app/notification.go
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Goroutine wranglin (#7556)Chris2017-10-031-7/+15
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-8/+8
|
* remove einterface gets (#7455)Chris2017-09-191-6/+5
|
* PLT-7509 Stopped processing special mentions for change of header/purpose ↵Harrison Healey2017-09-151-9/+11
| | | | messages (#7410)
* PLT-7502 fixing clearing of push notifications for iOS (#7429)Corey Hulen2017-09-121-24/+31
| | | | | | * PLT-7502 fixing clearing of push notificaitons for iOS * PLT-7502 fixing clearing of push notificaitons for iOS
* Renaming repoChristopher Speller2017-09-061-4/+4
|
* app type transition (#7167)Chris2017-09-061-32/+32
|
* [GH-7260] Add check for verified email when required by server settings (#7275)Alex Moon2017-09-061-0/+6
| | | | | | * Add check for verified email when required by server settings * remove debug and simplify logic with continue
* PLT-7522 Cleaned up translation of templates (#7351)Harrison Healey2017-09-051-6/+6
| | | | | | | | * PLT-7522 Cleaned up translation of templates * Added unit tests * Changed TranslateAsHtml to not be variadic
* PLT-7474 Stopped requiring confirmation for mentions in code blocks (#7375)Harrison Healey2017-09-061-2/+2
| | | | | | * 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/+1
| | | | (#7347)