Views¶
-
scipost.views.
activation
(request, key)[source]¶ After registration, an email verification link is sent. Once clicked, the account is activated.
The system auto-detects potential authorships (of submissions, papers subject to commentaries, theses, ...). The contributor must confirm/deny authorship from the Personal Page.
-
scipost.views.
contributor_info
(request, contributor_id)[source]¶ Logged-in Contributors can see a digest of another Contributor’s activities/contributions by clicking on the relevant name (in listing headers of Submissions, ...).
-
scipost.views.
documentsSearchResults
(query)[source]¶ Searches through commentaries, submissions and thesislinks. Returns a Context object which can be further used in templates. Naive implementation based on exact match of query. NEEDS UPDATING with e.g. Haystack.
-
scipost.views.
email_group_members
(request)[source]¶ Method to send bulk emails to (members of) selected groups
-
scipost.views.
email_particular
(request)[source]¶ Method to send emails to individuals (registered or not)
-
scipost.views.
get_query
(query_string, search_fields)[source]¶ Returns a query, namely a combination of Q objects.
-
scipost.views.
mark_reg_inv_as_declined
(request, invitation_id)[source]¶ Mark an invitation as declined (called from registration_invitations.html).
-
scipost.views.
normalize_query
(query_string, findterms=<built-in method findall of _sre.SRE_Pattern object>, normspace=<built-in method sub of _sre.SRE_Pattern object>)[source]¶ Splits a query string in individual keywords, keeping quoted words together.
-
scipost.views.
personal_page
(request)[source]¶ The Personal Page is the main view for accessing user functions.
-
scipost.views.
registration_invitations_cleanup
(request)[source]¶ Compares the email addresses of invitations with those in the database of registered Contributors. Flags overlaps.
-
scipost.views.
remove_registration_invitation
(request, invitation_id)[source]¶ Remove an invitation (called from registration_invitations_cleanup).
-
scipost.views.
renew_registration_invitation
(request, invitation_id)[source]¶ Renew an invitation (called from registration_invitations).
-
scipost.views.
send_precooked_email
(request)[source]¶ Method to send precooked emails to individuals (registered or not)
If not all authors are registered Contributors or if they have not all claimed authorship, this method allows editorial administrators to associated them to the publication. This is important for the Crossref metadata, in which all authors must appear.
-
journals.views.
create_citation_list_metadata
(request, doi_string)[source]¶ Called by an Editorial Administrator. This populates the citation_list dictionary entry in the metadata field in a Publication instance.
-
journals.views.
create_funding_info_metadata
(request, doi_string)[source]¶ Called by an Editorial Administrator. This populates the funding_info dictionary entry in the metadata field in a Publication instance.
-
journals.views.
create_metadata_xml
(request, doi_string)[source]¶ To be called by an EdAdmin after the citation_list, funding_info entries have been filled. Populates the metadata_xml field of a Publication instance. The contents can then be sent to Crossref for registration.
-
journals.views.
initiate_publication
(request)[source]¶ Called by an Editorial Administrator. Publish the manuscript after proofs have been accepted. This method prefills a ValidatePublicationForm for further processing (verification in validate_publication method).
-
journals.views.
metadata_xml_deposit
(request, doi_string, option='test')[source]¶ Crossref metadata deposit. If test==True, test the metadata_xml using the Crossref test server. Makes use of the python requests module.
-
journals.views.
scipost_physics_accepted
(request)[source]¶ Display page for submissions to SciPost Physics which have been accepted but are not yet published.
-
journals.views.
scipost_physics_recent
(request)[source]¶ Display page for the most recent 20 publications in SciPost Physics.
-
journals.views.
upload_proofs
(request)[source]¶ TODO Called by a member of the Production Team. Upload the production version .pdf of a submission.
-
journals.views.
validate_publication
(request)[source]¶ This creates a Publication instance from the ValidatePublicationForm, pre-filled by the initiate_publication method above.
-
commentaries.views.
prefill_using_DOI
(request)[source]¶ Probes CrossRef API with the DOI, to pre-fill the form.
-
commentaries.views.
prefill_using_identifier
(request)[source]¶ Probes arXiv with the identifier, to pre-fill the form.
-
submissions.views.
assignment_failed
(request, arxiv_identifier_w_vn_nr)[source]¶ No Editorial Fellow has accepted or volunteered to become Editor-in-charge. The submission is rejected. This method is called from pool.html by an Editorial Administrator.
-
submissions.views.
cancel_ref_invitation
(request, arxiv_identifier_w_vn_nr, invitation_id)[source]¶ This method is used by the Editor-in-charge from the editorial_page to remove a referee for the list of invited ones. It can be used for registered as well as unregistered referees.
-
submissions.views.
close_refereeing_round
(request, arxiv_identifier_w_vn_nr)[source]¶ Called by the Editor-in-charge when a satisfactory number of reports have been gathered. Automatically emails the authors to ask them if they want to round off any replies to reports or comments before the editorial recommendation is formulated.
-
submissions.views.
communication
(request, arxiv_identifier_w_vn_nr, comtype, referee_id=None)[source]¶ Communication between editor-in-charge, author or referee occurring during the submission refereeing.
-
submissions.views.
editorial_workflow
(request)[source]¶ Summary page for Editorial Fellows, containing a digest of the actions to take to handle Submissions.
-
submissions.views.
fix_College_decision
(request, rec_id)[source]¶ Terminates the voting on a Recommendation. Called by an Editorial Administrator.
-
submissions.views.
pool
(request)[source]¶ The Submissions pool contains all submissions which are undergoing the editorial process, from submission to publication acceptance or rejection. All members of the Editorial College have access.
-
submissions.views.
recruit_referee
(request, arxiv_identifier_w_vn_nr)[source]¶ If the Editor-in-charge does not find the desired referee among Contributors (otherwise, the method send_refereeing_invitation below is used instead), he/she can invite somebody by providing name + contact details. This function emails a registration invitation to this person. The pending refereeing invitation is then recognized upon registration, using the invitation token.
-
submissions.views.
ref_invitation_reminder
(request, arxiv_identifier_w_vn_nr, invitation_id)[source]¶ This method is used by the Editor-in-charge from the editorial_page when a referee has been invited but hasn’t answered yet. It can be used for registered as well as unregistered referees.
-
submissions.views.
send_refereeing_invitation
(request, arxiv_identifier_w_vn_nr, contributor_id)[source]¶ This method is called by the EIC from the submission’s editorial_page, in the case where the referee is an identified Contributor. For a referee who isn’t a Contributor yet, the method recruit_referee above is called instead.