summaryrefslogtreecommitdiffstats
path: root/app/email_batching.go
Commit message (Collapse)AuthorAgeFilesLines
* Idiomatic error handling for app/e*.go (#9426)Jesús Espino2018-09-241-22/+20
|
* Small translation fixes (#8940)Jesús Espino2018-06-161-1/+1
|
* Added missing i18n strings for files and email batching (#8700)Harrison Healey2018-05-041-1/+1
| | | | | | * Added missing i18n strings for files and email batching * Added more fields to log messages
* Structured logging (#8673)Christopher Speller2018-04-271-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 scheduled task race (#8355)Chris2018-02-231-5/+13
|
* add App.License, remove utils.IsLicensed / utils.License calls (#8203)Chris2018-02-061-1/+1
|
* Dropped unnecessary info log to debug (#7922)Jonathan2017-11-301-1/+1
|
* send-mail refactor (#7885)Chris2017-11-231-1/+1
|
* refactor template code (#7860)Chris2017-11-201-3/+3
|
* more global config ref cleanup (#7802)Chris2017-11-091-2/+2
|
* Reduce utils.Cfg references (#7650)Chris2017-10-181-8/+8
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* Goroutine wranglin (#7556)Chris2017-10-031-1/+5
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-13/+13
|
* Renaming repoChristopher Speller2017-09-061-2/+2
|
* app type transition (#7167)Chris2017-09-061-12/+13
|
* PLT-7444: If there is activity in Mattermost before the email batch is sent, ↵Jonathan2017-09-051-11/+29
| | | | | | | | | | | | 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
* App: NewLocAppError -> NewAppError (#7327)George Goldberg2017-09-011-2/+3
| | | | | | * App: NewLocAppError -> NewAppError * Remove statuscode that got missed.
* [PLT-1015] Make all Mattermost system emails Multi-Part, with both a HTML ↵Carlos Tadeu Panato Junior2017-08-211-1/+1
| | | | | | | | | | | | and Plain Text version. (#5698) * Implementation to Make all Mattermost system emails Multi-Part, with both a HTML and Plain Text version * update lib * update code per review * update to use the mattermost repo
* PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-1/+1
| | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* System Console: Email notification content setting (#7122)Jonathan2017-08-061-20/+42
| | | | | | | | | | | | | | | | * 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-3/+4
| | | | | | | | | | | | | | | | 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-5864] Move teammate name display setting to the System Console (#6681)Saturnino Abril2017-06-301-14/+2
| | | | | | | | | | * move teammate name display setting to the system console * update all the likes of TeammateNameDisplay names * fix gofmt error * rebase and fix conflict
* 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
* fix typo and missing messages (#5902)Yusuke Nemoto2017-03-301-1/+1
|
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement server changes for group messaging * Majority of client-side implementation * Some server updates * Added new React multiselect component * Fix style issues * Add custom renderer for options * Fix model test * Update ENTER functionality for multiselect control * Remove buttons from multiselect UI control * Updating group messaging UI (#5524) * Move filter controls up a component level * Scroll with arrow keys * Updating mobile layout for multiselect (#5534) * Fix race condition when backspacing quickly * Hidden or new GMs show up for regular messages * Add overriding of number remaining text * Add UI filtering for team if config setting set * Add icon to channel switcher and class prop to status icon * Minor updates per feedback * Improving group messaging UI (#5563) * UX changes per feedback * Update email for group messages * UI fixes for group messaging (#5587) * Fix missing localization string * Add maximum users message when adding members to GM * Fix input clearing on Android * Updating group messaging UI (#5603) * Updating UI for group messaging (#5604)
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+252
* 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