From e19e3682b73b3d7c2763356402131f16bb783267 Mon Sep 17 00:00:00 2001 From: McMatts Date: Wed, 4 Apr 2018 14:37:25 +0100 Subject: [PATCH] Provide support for analytics/reporting --- gui/app/router.js | 4 ++++ model/activity/activity.go | 1 + 2 files changed, 5 insertions(+) diff --git a/gui/app/router.js b/gui/app/router.js index 870ba04f..dea47773 100644 --- a/gui/app/router.js +++ b/gui/app/router.js @@ -25,6 +25,10 @@ export default Router.map(function () { path: 'dashboard' }); + this.route('analytics', { + path: 'analytics' + }); + this.route( 'folder', { diff --git a/model/activity/activity.go b/model/activity/activity.go index 3077d961..acb5ffaa 100644 --- a/model/activity/activity.go +++ b/model/activity/activity.go @@ -42,6 +42,7 @@ type DocumentActivity struct { Firstname string `json:"firstname"` Lastname string `json:"lastname"` ActivityType int `json:"activityType"` + Metadata string `json:"metadata"` Created time.Time `json:"created"` }