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

[data_release] Refactor Module #7412

Merged
merged 11 commits into from
Apr 20, 2021
Merged

[data_release] Refactor Module #7412

merged 11 commits into from
Apr 20, 2021

Conversation

driusan
Copy link
Collaborator

@driusan driusan commented Mar 29, 2021

This refactors the data release module to get rid of the scripts in the ajax directory, and replace them with real LORIS endpoints that return JSON data.

The uploading and downloading is also refactored to use the FilesUploadHandler and FilesDownloadHandler classes instead of custom written PHP validation in the ajax scripts themselves.

Testing Instructions

The frontend behaviour should be unchanged, so the normal module's test plan should (hopefully?) test all the behaviour..

@driusan driusan added Blocking PR should be prioritized because it is blocking the progress of another task Cleanup PR or issue introducing/requiring at least one clean-up operation labels Mar 29, 2021
Copy link
Contributor

@kongtiaowang kongtiaowang left a comment

Choose a reason for hiding this comment

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

LGTM

@kongtiaowang kongtiaowang added the Passed manual tests PR has been successfully tested by at least one peer label Apr 13, 2021
@driusan driusan merged commit 1b5ffe1 into aces:main Apr 20, 2021
AlexandraLivadas pushed a commit to AlexandraLivadas/Loris that referenced this pull request Jun 29, 2021
This refactors the data release module to get rid of the scripts in the ajax directory, and replace them with real LORIS endpoints that return JSON data.

The uploading and downloading is also refactored to use the FilesUploadHandler and FilesDownloadHandler classes instead of custom written PHP validation in the ajax scripts themselves.
@ridz1208 ridz1208 added this to the 24.0.0 milestone Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocking PR should be prioritized because it is blocking the progress of another task Cleanup PR or issue introducing/requiring at least one clean-up operation Passed manual tests PR has been successfully tested by at least one peer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants