-
Notifications
You must be signed in to change notification settings - Fork 17
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
Feature/4007 remove the seal #2458
base: develop
Are you sure you want to change the base?
Conversation
…007_remove_the_seal
…007_remove_the_seal # Conflicts: # doajtest/unit/application_processors/test_maned_journal_review.py # portality/forms/application_forms.py # portality/forms/application_processors.py # portality/static/js/doaj.fieldrender.edges.js # portality/templates-v2/public/layouts/toc.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is some confusion here over what is to be removed from the UI and what is to be removed from the data model. Some things have been removed from the data model when they should just be removed from the UI, and some things haven't been fully removed from the datamodel when they should be.
@@ -11,7 +11,6 @@ | |||
}, | |||
"article": { | |||
"license_display": ["Embed"], | |||
"license_display_example_url": "http://licence.embedded", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These fields are not being removed from the data, only from the display, so they should still be allowed in the incoming application
@@ -58,8 +57,7 @@ | |||
}, | |||
"pissn": "1234-5678", | |||
"plagiarism": { | |||
"detection": "True", | |||
"url": "http://plagiarism.screening" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This field should still be accepted via the API, it is just being removed from display
@@ -39,7 +35,6 @@ | |||
}, | |||
"article": { | |||
"license_display": ["Embed"], | |||
"license_display_example_url": "http://licence.embedded", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just being removed from display, not from the forms or the data
@@ -89,8 +84,7 @@ | |||
}, | |||
"pissn": "1234-5678", | |||
"plagiarism": { | |||
"detection": True, | |||
"url": "http://plagiarism.screening" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just being removed from display, not from the forms or the data
@@ -155,11 +149,9 @@ | |||
"language": ["EN", "FR"], | |||
"license_attributes" : ["BY", "NC"], | |||
"license_display" : "y", | |||
"license_display_example_url": "http://licence.embedded", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just being removed from display, not from the forms or the data
@@ -64,9 +63,6 @@ | |||
jbib.remove_urls("author_instructions") | |||
jbib.add_url(author_instructions, "author_instructions") | |||
|
|||
if plagiarism_url is not None: | |||
jbib.set_plagiarism_detection(plagiarism_url) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just being removed from display, not from the forms or the data
@@ -145,7 +145,6 @@ jQuery(document).ready(function($) { | |||
|
|||
toggle_optional_field('waiver_policy', ['#waiver_policy_url']); | |||
toggle_optional_field('download_statistics', ['#download_statistics_url']); | |||
toggle_optional_field('plagiarism_screening', ['#plagiarism_screening_url']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just being removed from display, not from the forms or the data
@@ -58,7 +58,6 @@ | |||
}, | |||
"article" : { | |||
"fields" : { | |||
"license_display_example_url" : {"coerce" : "url", "set__allow_coerce_failure" : True}, | |||
"orcid" : {"coerce" : "bool"}, | |||
"i4oc_open_citations" : {"coerce" : "bool"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should be removed from the model
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The orcid and open_citations data also need to be removed from this crosswalk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
orcids and open citations need to be removed from this crosswalk
Remove Links and metadata
Removed links and related metadata as requested. Run the migration script before testing
This PR...
Developer Checklist
Developers should review and confirm each of these items before requesting review
constants
ormessages
filesdates
)url_for
not hard-codeddevelop
Reviewer Checklist
Reviewers should review and confirm each of these items before approval
If there are multiple reviewers, this section should be duplicated for each reviewer
constants
ormessages
filesdates
)url_for
not hard-codeddevelop
Testing
List user test scripts that need to be run
List any non-unit test scripts that need to be run by reviewers
Deployment
What deployment considerations are there? (delete any sections you don't need)
Configuration changes
What configuration changes are included in this PR, and do we need to set specific values for production
Scripts
What scripts need to be run from the PR (e.g. if this is a report generating feature), and when (once, regularly, etc).
Migrations
python portality/upgrade.py -u portality/migrate/4007_remove_the_seal/migrate.json
Monitoring
What additional monitoring is required of the application as a result of this feature
New Infrastructure
What new infrastructure does this PR require (e.g. new services that need to run on the back-end).
Continuous Integration
What CI changes are required for this