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

Adds data upload and sharing agreement template to the project files page. #1698

Open
wants to merge 32 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
c273168
adds dua template to project files page.
lamawmouk Nov 9, 2022
af827a8
adds model to store responses from dua before project submission
lamawmouk Nov 9, 2022
d5f9db6
adds migration to apply changes to the model into the database schema.
lamawmouk Nov 9, 2022
b08f105
fixes styling
lamawmouk Nov 10, 2022
956827e
initial data upload agreement
lamawmouk Nov 15, 2022
3d4ef1a
add the data upload agreement to projects
lamawmouk Nov 29, 2022
5200a8a
adding demo for fixtures to datauploadagreement
lamawmouk Nov 29, 2022
a5d99df
fixed the data upload button
lamawmouk Dec 2, 2022
d224ae9
adds the data upload agreement for a new active project
lamawmouk Dec 6, 2022
b3e60eb
restructures project file with data uploadagreement at top
lamawmouk Dec 6, 2022
0daf6d3
fixes styling issues for changed files
Dec 14, 2022
de95983
removes the except in dua
Dec 14, 2022
451cbc2
fix style checks
Dec 14, 2022
c703060
adds except error explicitly
Dec 14, 2022
e705677
fixes exception error and response variable status
Dec 14, 2022
b1d6155
adds status assertion for another response variable
Dec 14, 2022
cba93f9
adjusts status code to redirect 302
Dec 14, 2022
bbad8ca
fix style errors
danamouk Dec 14, 2022
50b7916
fixes styling
danamouk Dec 14, 2022
6411c2a
fixes styling
lamawmouk Dec 14, 2022
b5af640
add the dua agreement icon for submission
lamawmouk Dec 14, 2022
5e3e8eb
updates the data upload agreement text in project files
lamawmouk Dec 14, 2022
8133f65
update the migration file
lamawmouk Mar 16, 2023
ddecae0
adds a boostrap to the agreement form
lamawmouk Mar 23, 2023
8ff4211
populates the form after submission
lamawmouk Mar 23, 2023
852148d
updates the html to include site name
lamawmouk Mar 23, 2023
932f071
updated views to disable project file upload
lamawmouk Mar 23, 2023
8871f94
adds an error upon submitting the project if PHI is present
lamawmouk Apr 13, 2023
509977a
updates the warning message after form is submitted with has PHI as yes
lamawmouk Apr 13, 2023
624eb3b
prevents file upload if the project has PHI
lamawmouk Apr 13, 2023
64ad824
fixes styling and wording
lamawmouk Apr 13, 2023
d9405bf
updates the fixtures to fail test if has_phi is yes
lamawmouk Apr 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updates the html to include site name
lamawmouk committed Mar 23, 2023
commit 852148dfa294f169d0bd014c1b847cd6b940b440
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<strong>PhysioNet Data Upload and Sharing Agreement</strong>
<h4> Data Upload and Sharing Agreement</h4>
{% if not project.datauploadagreement %}
<div class="alert alert-warning">
Please complete the project data upload agreement form below before uploading the project files.
@@ -24,10 +24,9 @@ <h5 class="modal-title">Data Upload Agreement</h5>
<form action="" method="post" enctype="multipart/form-data">
<div class="modal-body">
{% csrf_token %}
<h5>PhysioNet Data Upload and Sharing Agreement</h5>
<p>Your responses to the following questions will be shared with the editor, but will not be published.</p>
{{upload_agreement_form}}
<p>By clicking “I agree” and uploading files to PhysioNet, you agree that the above information is accurate.</p>
<p>By clicking “I agree” and uploading files to {{SITE_NAME}}, you agree that the above information is accurate.</p>
</div>
<div class="modal-footer">
<button class="btn btn-primary" name="submit_upload_agreement" type="submit"><i class="fa fa-thumbs-up"></i> I agree</button>