thehive-backend/conf/routes: Some API-calls to support finding, importing, editing and deleting of case reporting templates were added.
ui/app/index.html: All new .js files were added here.
ui/app/scripts/app.js: Another button for report templates was added to the admin options.
ui/app/views/components/header.component.html: HTML for the button for case reporting templates in admin options.
ui/app/scripts/controllers/case/CaseMainCtrl.js: Added a button to trigger an overlay window that provides functionality for case reporting.
ui/app/views/partials/case/case.panelinfo.html: HTML for the button to trigger case reporting.
new files:
thehive-backend/app/controllers/CaseReportingTemplateCtrl.scala: This controller links the js and angular services.
thehive-backend/app/models/CaseReportingTemplate.scala: The definition of a case reporting template.
thehive-backend/app/services/CaseReportingTemplateSrv.scala: The case reporting template service that routes to other services.
ui/app/scripts/controllers/admin/AdminCaseReportingTemplateCtrl.js: Controller for the admin page.
ui/app/views/partials/admin/case-reporting-templates.html: HTML for the admin page.
ui/app/views/partials/admin/case-reporting-template-delete.html: HTML for deleting a case reporting template.
ui/app/views/partials/admin/case-reporting-template-dialog.html: HTML for a case reporting template editing dialog.
ui/app/views/partials/admin/case-reporting-template-import.html: HTML for importing a case reporting template.
ui/app/views/partials/admin/case-reporting-template-make-default.html: HTML for setting a case reporting template as default.
ui/app/scripts/controllers/case/CaseReportModalCtrl.js: Controller for the case reporting overlay.
ui/app/scripts/directives/case-report.js: A directive to inject dynamic HTML templates loaded asynchronously from the service into the overlay.
ui/app/views/partials/case/case.report.html: HTML for the overlay.
ui/app/scripts/services/CaseReportingTemplateSrv.js: The JS service.