Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case Reporting using user defined HTML templates #678

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ph34tur3
Copy link

@ph34tur3 ph34tur3 commented Aug 19, 2018

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.

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.
@ph34tur3
Copy link
Author

Hey everybody,

I did some work on #305 and obviously failed on connecting this pull request with it.
All further documentation in #305 .

@ph34tur3 ph34tur3 changed the title changes: Case Reporting using user defined HTML templates Aug 19, 2018
@nadouani
Copy link
Contributor

@ph34tur3 Any chance you can rebase this PR on latest develop branch? I'd like to take a look on it. Thanks

@nadouani nadouani self-requested a review December 10, 2018 21:28
@nadouani nadouani changed the base branch from master to develop December 12, 2018 10:08
@ph34tur3
Copy link
Author

Dear @nadouani ,
thank you in advance for looking at my code.
I can tell that you already changed the base branch to develop; if you need something I'll be happy to help!

@david-neal-ms
Copy link

Hi @nadouani ,
Do you have any idea when this feature might be released?

@JamesCullum
Copy link

Any update on this? Other PRs and issues are abandoned.

@ph34tur3
Copy link
Author

Hi @nadouani , if there is anything I can do to help processing this, please let me know.

@TaLoN1x
Copy link

TaLoN1x commented Sep 30, 2020

any plans for this feature?

@smogm
Copy link

smogm commented Nov 11, 2020

@nadouani Do you think there is a chance this PR will be merged into 4.0.1 milestone?

@dadokkio dadokkio closed this Apr 23, 2021
@dadokkio dadokkio deleted the branch TheHive-Project:develop April 23, 2021 08:44
@nadouani nadouani reopened this Apr 23, 2021
@azgaviperr
Copy link

This is a nice feature I would like to have, and why not PDF export .

@smogm
Copy link

smogm commented Apr 26, 2021

Yes, @nadouani, please review this change!
This is the only essential feature missing in the TheHive!

@fandigunawan
Copy link

Any progress on this feature? I upvote for this feature to be merged into master.

@RC810
Copy link

RC810 commented Jan 20, 2022

Another +1 for this. Let's get some eyes on this PR - it's been sitting here way too long.

@fandigunawan
Copy link

This is a nice feature I would like to have, and why not PDF export .

There is another PR with PDF but it was closed #834

@azgaviperr
Copy link

There is this reporter in PR : TheHive-Project/Cortex-Analyzers#1080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants