summaryrefslogtreecommitdiffstats
path: root/app/email_batching_test.go
Commit message (Collapse)AuthorAgeFilesLines
* simplify things (#7735)Chris2017-10-301-2/+2
|
* Fix races / finally remove global app for good (#7570)Chris2017-10-041-0/+10
| | | | | | | | | | | | * finally remove global app for good * test compilation fixes * fix races * fix deadlock * wake up write pump so it doesn't take forever to clean up
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-6/+6
|
* Remove global app references (#7433)Chris2017-09-121-24/+18
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* Renaming repoChristopher Speller2017-09-061-2/+2
|
* app type transition (#7167)Chris2017-09-061-30/+36
|
* PLT-7444: If there is activity in Mattermost before the email batch is sent, ↵Jonathan2017-09-051-42/+45
| | | | | | | | | | | | do not send the email (#7342) * Changed email batching short-circuit logic to look at last viewed at timestamp in channel member struct instead of in user's status struct, since the latter is only updated if the user's status is set to online * Fixed unit tests * Reduced right-hand drift * Reduced total number of store calls by loading all channel member objects for user exactly once per team that the user received notifications for
* System Console: Email notification content setting (#7122)Jonathan2017-08-061-0/+51
| | | | | | | | | | | | | | | | * 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-7177: Change the default email frequency to 15 minutes if batching is ↵Jonathan2017-07-311-0/+80
| | | | | | | | | | | | | | | | 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-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-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+193
* Add app package and move logic over from api package * Change app package functions to return errors * Move non-api tests into app package * Fix merge