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

Add XLS analyze job #8073

Closed
wants to merge 9 commits into from
Closed

Add XLS analyze job #8073

wants to merge 9 commits into from

Conversation

gbp
Copy link
Member

@gbp gbp commented Jan 2, 2024

Relevant issue(s)

Extracted from #8060
Depends on #8060
Depends on #8072

What does this do?

Adds background job to analyze old XLS attachments and hide them if hidden data is detected.

Why was this needed?

Used to hide old potentially problematic attachments on WDTK.

Implementation notes

Not sure we need this in develop but saving for posterity.


[skip changelog]

gbp added 9 commits December 19, 2023 11:48
Moving into its own module so we can reuse this code for scanning `xls`
files and maybe even raw emails too.
Rename as ExcelAnalyzer::XlsxAnalyzer to distinguish from a new xls
analyzer we're creating.
Not enabled by default we will start by running this analyzer manually
in the Rails console and Sidekiq before to test performance and how good
it is at detecting issues before allowing it to run freely in
production.
Delegate expire and log_event to the `info_request` to simplify
attachment admin updates.
Allow us to reuse the event logging when attachments are hidden or
updated automatically in the future.
Allow testing of the new XLS analyzer from the Rails console and Sidekiq
on historical attachments so we can do more testing before allowing this
to run in production.
@gbp
Copy link
Member Author

gbp commented Jan 8, 2024

Not intending to merge this

@gbp gbp closed this Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants