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 flush_to_disk() call in script when user downloads resource in GUI #277

Merged
merged 9 commits into from
Apr 11, 2023

Conversation

marczalik
Copy link
Contributor

@marczalik marczalik commented Apr 6, 2023

One sentence summary of this PR (This should go in the CHANGELOG!)
Add call to flush a resource to disk in the script whenever a user downloads a resource from the GUI.

Link to Related Issue(s)
#274

Please describe the changes in your request.
Add a server end point that adds an action to flush the currently selected resource to disk in the script.
Call the endpoint when the user clicks the Download button in the resource tree toolbar.

Anyone you think should look at this, specifically?
@rbs-jacob

@rbs-jacob rbs-jacob self-requested a review April 6, 2023 14:48
Copy link
Member

@rbs-jacob rbs-jacob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor requested changes, otherwise looks pretty good! Can't wait to try it out.

ofrak_core/ofrak/gui/server.py Outdated Show resolved Hide resolved
frontend/src/ofrak/remote_resource.js Outdated Show resolved Hide resolved
frontend/src/ofrak/remote_resource.js Show resolved Hide resolved
@rbs-jacob rbs-jacob marked this pull request as ready for review April 10, 2023 18:17
Copy link
Member

@rbs-jacob rbs-jacob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@dannyp303
Copy link
Collaborator

Looks good!

@rbs-jacob rbs-jacob merged commit 7753ac6 into redballoonsecurity:master Apr 11, 2023
5 checks passed
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.

None yet

3 participants