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

Audit feature #35

Open
Arthi-chaud opened this issue May 26, 2022 · 1 comment
Open

Audit feature #35

Arthi-chaud opened this issue May 26, 2022 · 1 comment
Assignees
Labels
Backlog This is not planned to be worked on Metadata About the metadata's management Server Back-end related

Comments

@Arthi-chaud
Copy link
Owner

As libraries get bigger over time, many files are added,
But we might forget to set some metadata to them.

In order to keep a library as clean as possible, an audit feature would be nice.

It would parse the database, and raise any missing data and/or empty fields like a genre, a release date, an unspecified disc index, etc.

@Arthi-chaud Arthi-chaud added Backlog This is not planned to be worked on Metadata About the metadata's management labels May 26, 2022
@Arthi-chaud Arthi-chaud self-assigned this May 26, 2022
@Arthi-chaud Arthi-chaud added the Server Back-end related label Oct 1, 2022
@Arthi-chaud
Copy link
Owner Author

The audit log would be stored in the database. As the audit's fields are likely to evolve, the logs should take the form of a JSON.

It would be an array of 3-fields objects:

  • A key (slug) to identify the audit section
  • A short description
  • An array of ids of items that match the audit's section criteria
  • An enum, telling what resource is being analyzed in that audit's section

The audit scan would be runnable as a task (from /tasks/run-audit)


The audit log should be accessible from a dedicated controller.

The most recent audit should be accessible with /audit. It would be the raw JSON.

Each section would be accessible with /audit/key-of-section.
The IDs would be resolved

The audit's history should also be accessible, through /audit/history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog This is not planned to be worked on Metadata About the metadata's management Server Back-end related
Projects
None yet
Development

No branches or pull requests

1 participant