Saturnino Abril
e16217166d
fix out of channel mentions for mentioned word with valid punctuations ( #8585 )
2018-04-06 09:41:45 -04:00
Saturnino Abril
1476ca5b2d
revert default ephemeral post message for out of channel mention ( #8571 )
2018-04-04 02:22:06 +08:00
Harrison Healey
088f76ad6e
MM-9868 Fixed mentioning users when followed by multiple periods ( #8548 )
...
* MM-9868 Fixed mentioning users when followed by multiple periods
* Added additional unit test
* Added comment to clarify test purpose
2018-04-02 12:40:28 -04:00
Christian Claus
257f748732
[PLT-4340] Channel Mute and "/mute" command #7617 ( #7713 )
...
* 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
2018-03-28 07:02:04 +03:00
Carlos Tadeu Panato Junior
bf2038bc41
[MM-9703] Push notifications are sent for own DM's ( #8439 )
...
update
2018-03-15 10:42:49 -04:00
Harrison Healey
22f2245a26
ICU-682 Stopped sending out of channel mention warnings for system messages ( #8426 )
2018-03-09 12:16:27 -05:00
Chris
d44ef7ea67
Remove global site url ( #8343 )
...
* remove global site url
* missed one
* revert mysterious change
2018-02-22 18:23:32 -06:00
Joram Wilander
1b3808f3ec
Fix push notification content for file only messages ( #8346 )
2018-02-22 09:00:13 -05:00
Derrick Anderson
88d693a950
Merge branch 'release-4.7' into icu753
2018-02-14 00:53:04 -05:00
Stephen Kiers
69e56fc042
gofmt
2018-02-13 13:20:46 -07:00
Stephen Kiers
2544ad70c3
rerun jenkins?
2018-02-13 13:01:31 -07:00
Stephen Kiers
1fe522659b
remove debug statement
2018-02-13 11:51:38 -07:00
Stephen Kiers
08c21f7519
Added more tests and simplified code
2018-02-13 10:49:48 -07:00
Harrison Healey
3fef21e350
ICU-753 Added unit tests for messages with only push notifications
2018-02-13 09:57:23 -05:00
Harrison Healey
c1b49f8b77
ICU-753 Added unit tests for push notification contents
2018-02-13 09:57:23 -05:00
Harrison Healey
b8a4316b13
ICU-753 Remove special behaviour for group messages in generic push notifications
2018-02-13 09:57:23 -05:00
Stephen Kiers
0cbba46018
Fixes ICU-764
2018-02-12 16:30:03 -07:00
Chris
1ec295f88c
add App.License, remove utils.IsLicensed / utils.License calls ( #8203 )
2018-02-06 17:25:49 -06:00
Joram Wilander
70ad8abdcd
Fix panic when invalid types used in post props ( #8191 )
2018-02-02 11:46:49 -08:00
Chris
3dad632043
use markdown parsing to identify mentions ( #8139 )
2018-01-23 14:48:20 -05:00
Chris
599991ea73
PLT-3383: image proxy support ( #7991 )
...
* 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
2018-01-22 15:32:50 -06:00
Chris
591ef9f352
Remove utils.ClientCfg and utils.ClientCfgHash ( #8041 )
...
* remove utils.ClientCfg and utils.ClientCfgHash
* remove unused import
2018-01-05 16:17:57 -06:00
Siyuan Liu
a37d53c732
PLT-8350 "mention" when channel user count equals to max allowed num ( #7976 )
2017-12-15 14:16:31 -06:00
Chris Duarte
fdbfb9a4ed
Replace Channel Name for Team in Email Notifications ( #7839 )
...
* allow option to set channel name in email notification subject
* Added TeamName to title when UseChannelInEmailNotifications=true
2017-11-24 12:57:02 -05:00
Chris
bbb301b7de
send-mail refactor ( #7885 )
2017-11-23 09:44:19 -05:00
Chris
77a1dc1f2f
HTTP client refactor ( #7884 )
...
* http client refactor
* simplification
2017-11-22 10:15:03 -05:00
Chris
5cf45d2155
refactor template code ( #7860 )
2017-11-20 12:57:45 -05:00
Chris
10c5a927cb
more global config ref cleanup ( #7802 )
2017-11-09 14:46:20 -06:00
Carlos Tadeu Panato Junior
63df41b911
fix push notification when user status is in DND ( #7731 )
2017-10-30 08:15:01 -04:00
Saturnino Abril
1e2506b2df
add RootId to out-of-channel-mentions ephemeral post for that to render at RHS ( #7726 )
2017-10-27 04:14:41 +08:00
Carlos Tadeu Panato Junior
62b3569025
[PLT-4341] add dnd command ( #7694 )
2017-10-25 11:51:13 -04:00
Saturnino Abril
f632232862
[PLT-7701] Fix emoji names that trigger mention ( #7663 )
...
* fix emoji names that trigger mention
* remove regex and rearrange based on comment
* make ":@here:" to not trigger a mention
2017-10-25 22:11:20 +08:00
Saturnino Abril
18ee375860
[PLT-7362] Option to add user to channel if mentioned user is not currently 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
2017-10-21 01:38:26 +08:00
Chris
8e19ba029f
Reduce utils.Cfg references ( #7650 )
...
* app.UpdateConfig method
* test fix
* another test fix
* the config override option as-was is just error prone, remove it for now
* derp
2017-10-18 15:36:43 -07:00
Christopher Speller
3461a7b207
Add back consumeAndClose functionality. ( #7608 )
...
* 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
2017-10-12 08:00:53 -07:00
Chris
5e69ce099f
Goroutine wranglin ( #7556 )
...
* goroutine wranglin
* synchronize WebConn.WritePump
2017-10-03 10:53:53 -05:00
Chris
8c80cdde38
remove remaining Global() calls (outside of tests) ( #7521 )
2017-09-28 00:52:34 +08:00
Chris
ac74066f0e
remove einterface gets ( #7455 )
2017-09-19 18:31:35 -05:00
Harrison Healey
2a6cd44f23
PLT-7509 Stopped processing special mentions for change of header/purpose messages ( #7410 )
2017-09-15 08:37:29 -04:00
Corey Hulen
3e9bd30b00
PLT-7502 fixing clearing of push notifications for iOS ( #7429 )
...
* PLT-7502 fixing clearing of push notificaitons for iOS
* PLT-7502 fixing clearing of push notificaitons for iOS
2017-09-12 17:49:42 -07:00
Christopher Speller
29fca51821
Renaming repo
2017-09-06 23:11:59 -07:00
Chris
1adfd0e9be
app type transition ( #7167 )
2017-09-06 17:12:54 -05:00
Alex Moon
06a959e19e
[GH-7260] Add check for verified email when required by server settings ( #7275 )
...
* Add check for verified email when required by server settings
* remove debug and simplify logic with continue
2017-09-06 16:43:48 -04:00
Harrison Healey
6ca443a255
PLT-7522 Cleaned up translation of templates ( #7351 )
...
* PLT-7522 Cleaned up translation of templates
* Added unit tests
* Changed TranslateAsHtml to not be variadic
2017-09-05 17:39:45 -04:00
Harrison Healey
575864c917
PLT-7474 Stopped requiring confirmation for mentions in code blocks ( #7375 )
...
* PLT-7474 Stopped requiring confirmation for mentions in code blocks
* Stopped mentioning people from code blocks using ~~~
2017-09-06 00:39:07 +08:00
Harrison Healey
98bb4c31a1
PLT-7473 Ignore text surrounded by multiple backquotes when parsing mentions ( #7347 )
2017-09-04 21:31:20 +08:00
Chris
213a072b38
PLT-6403: Interactive messages ( #7274 )
...
* wip
* finish first pass
* requested changes
* add DoPostAction to Client4
2017-08-29 16:14:59 -05:00
enahum
871b7eaa66
Include post_id and root_id to handle actions from the PN ( #7286 )
2017-08-28 11:54:23 -03:00
Corey Hulen
1709b94227
PLT-5745 Cleaning up duplicate calls ( #7298 )
...
* PLT-5745 Cleaning up duplicate calls
* Fixing missing calls
* Fixing broken test
2017-08-28 10:08:37 -04:00
Christopher Speller
fd1301779f
Merge branch 'release-4.1'
2017-08-17 09:35:36 -07:00