diff options
author | Jonathan <jonfritz@gmail.com> | 2018-02-07 09:02:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-07 09:02:46 -0500 |
commit | d3e934d07ac0a58a24a435ea7c5b3bd222ef509a (patch) | |
tree | b356b134878ee8686326475b04c90317e195bf86 /store/sqlstore/compliance_store.go | |
parent | b2ee5077931013d308aaf60d790d341e2cb0c3e3 (diff) | |
download | chat-d3e934d07ac0a58a24a435ea7c5b3bd222ef509a.tar.gz chat-d3e934d07ac0a58a24a435ea7c5b3bd222ef509a.tar.bz2 chat-d3e934d07ac0a58a24a435ea7c5b3bd222ef509a.zip |
XYZ-35: Added Support for GlobalRelay Compliance Export Format
* Added username to ChannelMemberHistory struct in anticipation of supporting GlobalRelay in Compliance Export
* Removed translation from debug output - this makes it complicated to use utils functions from tests in the enterprise repo
* Added an advanced email function that allows for greater control over message details. Updated MessageExport config to support GlobalRelay. Added attachment support to InBucket unit tests
* Moving templates in from enterprise to solve test issues
* Added export format to diagnostics
* Changed email attachment code to use FileBackend so that S3 storage is properly supported
Diffstat (limited to 'store/sqlstore/compliance_store.go')
-rw-r--r-- | store/sqlstore/compliance_store.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/store/sqlstore/compliance_store.go b/store/sqlstore/compliance_store.go index a25b01548..03d92d5e1 100644 --- a/store/sqlstore/compliance_store.go +++ b/store/sqlstore/compliance_store.go @@ -225,7 +225,8 @@ func (s SqlComplianceStore) MessageExport(after int64, limit int) store.StoreCha Channels.Id AS ChannelId, Channels.DisplayName AS ChannelDisplayName, Users.Id AS UserId, - Users.Email AS UserEmail + Users.Email AS UserEmail, + Users.Username FROM Posts LEFT OUTER JOIN Channels ON Posts.ChannelId = Channels.Id |