summaryrefslogtreecommitdiffstats
path: root/app/notification.go
Commit message (Collapse)AuthorAgeFilesLines
...
* 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)
* PLT-6403: Interactive messages (#7274)Chris2017-08-291-4/+0
| | | | | | | | | | * wip * finish first pass * requested changes * add DoPostAction to Client4
* Include post_id and root_id to handle actions from the PN (#7286)enahum2017-08-281-4/+7
|
* PLT-5745 Cleaning up duplicate calls (#7298)Corey Hulen2017-08-281-12/+6
| | | | | | | | * PLT-5745 Cleaning up duplicate calls * Fixing missing calls * Fixing broken test
* Merge branch 'release-4.1'Christopher Speller2017-08-171-2/+2
|\
| * PLT-7375: Email batching not on by default for accounts that have never ↵Jonathan2017-08-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | touched their email settings (#7206) * PLT-7375: Send batched emails if batching is enabled and user has not explicitly set their email interval preference * PLT-7375: Reverting 4cf316fcd * PLT-7375: Send batched emails if batching is enabled and user has not explicitly set their email interval preference * PLT-7375: EnableEmailBatching was accidentally flipped to true in 10dcdeca4b, causing config_test.go::TestConfigFromEnviroVars to fail * PLT-7375: EnableEmailBatching was accidentally flipped to true in 10dcdeca4b, causing config_test.go::TestConfigFromEnviroVars to fail * PLT-7375: Reverted accidental changes to config * PLT-7375: Manually fixing config.
* | PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-2/+2
| | | | | | | | | | | | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* | Fix out-of-channel mentions for usernames with dashes (#7151)Joram Wilander2017-08-101-3/+5
| |
* | PLT-6358: Server HTTP client improvements (#6980)Chris2017-08-091-1/+1
|/ | | | | | | | | | | | | | | | * restrict untrusted, internal http connections by default * command test fix * more test fixes * change setting from toggle to whitelist * requested ui changes * add isdefault diagnostic * fix tests
* System Console: Email notification content setting (#7122)Jonathan2017-08-061-48/+149
| | | | | | | | | | | | | | | | * 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-7130 adding more generic push notificaiton message. (#7044)Corey Hulen2017-08-031-0/+9
| | | | | | * PLT-7130 adding more generic push notificaiton message. * Fixing strings
* Revert " #4755 Combining consecutive user join/leave system messages to ↵Saturnino Abril2017-08-011-85/+0
| | | | | | | | | | | | single message and few other changes." (#7072) * Revert "PLT-6603: Don't return all posts on invalid query. (#7061)" This reverts commit 25a2013890c7e07b4621fa9b18342e7f35363049. * Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945)" This reverts commit 8a91235fb3cdc8d094dbc2eaa0d7baa447132b3c.
* #4755 Combining consecutive user join/leave system messages to single ↵Debanshu Kundu2017-08-011-0/+85
| | | | | | | | | message and few other changes. (#5945) fix 7 and 8 remove @ at "{username} joined the channel" refactor and update test
* PLT-7177: Change the default email frequency to 15 minutes if batching is ↵Jonathan2017-07-311-4/+3
| | | | | | | | | | | | | | | | enabled on the server. (#7036) * PLT-7177: Found default preference that needs to be changed * PLT-7177: Front end behaves as desired * PLT-7177: Changed default batching interval on server side * PLT-7177: Added unit tests for new default interval * PLT-7177: Removed unused import * PLT-7177: Renamed constants to increase clarity
* PLT-3901 fixing push notificaiton with images message (#6783)Corey Hulen2017-06-291-1/+5
|
* PLT-6759 Show deactivated users in GMs (#6703)Joram Wilander2017-06-221-1/+4
| | | | | | * Show deactivated users in GMs * Fix runtime error when DMing deactivated user
* PLT-3901 send different push message when only images attached (#6672)Corey Hulen2017-06-161-0/+5
|
* Fixed debug message for push notifications (#6536)Harrison Healey2017-06-011-1/+4
|
* PLT-5705 Created a single source of http.Client creation logic with internet ↵Torsten Juergeleit2017-05-311-7/+1
| | | | proxy support, reasonable timeouts and optional insecure connections (#6503)
* PLT-6485 Add ability to disable `@here` notifications (#6372)David Meza2017-05-301-17/+5
|
* remove notification as requested in PLT-6537 (#6412)Carlos Tadeu Panato Junior2017-05-181-1/+3
|
* PLT-6523: Don't crash when replying to a post whose poster has left the ↵George Goldberg2017-05-101-1/+1
| | | | channel. (#6388)
* PLT-6271 Changed word splitting to initially split on any non-name character ↵Harrison Healey2017-04-281-6/+12
| | | | | | | | (#6261) * PLT-6271 Changed word splitting to initially split on any non-name character * Fixed detection of out of channel mentions
* PLT-6108 fixing to use senderId for push (#6245)Corey Hulen2017-04-271-1/+1
|
* PLT-3915/PLT-5550 Improve handling of Markdown while parsing mentions (#6091)Harrison Healey2017-04-261-1/+29
| | | | | | | | * 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-6108 adding extra params to push notifications (#6236)Corey Hulen2017-04-261-0/+14
| | | | | | * PLT-6108 adding extra params to push notifications * PLT-6108 adding extra params to push notifications
* PLT-4457 Added API to get multiple users by their usernames (#6218)Harrison Healey2017-04-251-4/+4
| | | | | | | | | | * Allow getting profiles by username without a team * Changed UserStore.GetProfilesByUsernames to return an array * PLT-4457 Added API to get multiple users by their usernames * Changed users/names route to users/usernames
* 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-5/+5
| | | | | | | | | | | | | | | | * 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
* Fix permalink in email for DMs/GMs (#5751)Joram Wilander2017-03-131-2/+1
|