From 1e07dbec63bced51857e67b00941b91ca86a7f77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tavares=20Andr=C3=A9?= Date: Thu, 11 Jun 2015 20:25:12 +0200 Subject: [PATCH] Reports - Add Users activities --- MediaBrowser.Api/MediaBrowser.Api.csproj | 20 +- .../Activities/ReportActivitiesBuilder.cs | 240 ++ .../Common/HeaderActivitiesMetadata.cs | 20 + .../Reports/Common/HeaderMetadata.cs | 11 +- .../Reports/Common/ReportBuilderBase.cs | 537 ++-- .../Reports/Common/ReportHelper.cs | 218 +- .../Reports/Common/ReportIncludeItemTypes.cs | 25 + .../Reports/Common/ReportViewType.cs | 19 +- .../Reports/Data/ReportBuilder.cs | 800 +++--- .../Reports/Data/ReportOptions.cs | 3 +- .../Reports/{Data => Model}/ReportGroup.cs | 0 .../Reports/{Data => Model}/ReportHeader.cs | 0 .../Reports/{Data => Model}/ReportItem.cs | 0 .../Reports/{Data => Model}/ReportResult.cs | 0 .../Reports/{Data => Model}/ReportRow.cs | 2 +- MediaBrowser.Api/Reports/ReportRequests.cs | 156 +- MediaBrowser.Api/Reports/ReportsService.cs | 2349 +++++++++-------- .../Reports/Stat/ReportStatBuilder.cs | 463 ++-- .../Localization/Server/server.json | 7 +- 19 files changed, 2783 insertions(+), 2087 deletions(-) create mode 100644 MediaBrowser.Api/Reports/Activities/ReportActivitiesBuilder.cs create mode 100644 MediaBrowser.Api/Reports/Common/HeaderActivitiesMetadata.cs create mode 100644 MediaBrowser.Api/Reports/Common/ReportIncludeItemTypes.cs rename MediaBrowser.Api/Reports/{Data => Model}/ReportGroup.cs (100%) rename MediaBrowser.Api/Reports/{Data => Model}/ReportHeader.cs (100%) rename MediaBrowser.Api/Reports/{Data => Model}/ReportItem.cs (100%) rename MediaBrowser.Api/Reports/{Data => Model}/ReportResult.cs (100%) rename MediaBrowser.Api/Reports/{Data => Model}/ReportRow.cs (98%) diff --git a/MediaBrowser.Api/MediaBrowser.Api.csproj b/MediaBrowser.Api/MediaBrowser.Api.csproj index 0dfd812c3a..3beb33b046 100644 --- a/MediaBrowser.Api/MediaBrowser.Api.csproj +++ b/MediaBrowser.Api/MediaBrowser.Api.csproj @@ -84,6 +84,8 @@ + + @@ -91,15 +93,16 @@ + - - - - - + + + + + @@ -204,6 +207,13 @@ + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + +