submissions.managers.submission module

class submissions.managers.submission.SubmissionQuerySet(model=None, query=None, using=None, hints=None)[source]

Bases: django.db.models.query.QuerySet

user_filter(user)[source]

Filter on basic conflict of interests.

Prevent conflict of interest by filtering submissions possibly related to user. This filter should be inherited by other filters.

pool(user)[source]

Return the user-dependent pool of Submissions in active referee phase.

pool_editable(user)[source]

Return the editable pool for a certain user.

This is similar to the regular pool, however it also contains submissions that are hidden in the regular pool, but should still be able to be opened by for example the Editor-in-charge.

filter_for_eic(user)[source]

Return the set of Submissions the user is Editor-in-charge for.

If user is an Editorial Administrator: return the full pool.

filter_for_author(user)[source]

Return the set of Submissions for which the user is a registered author.

prescreening()[source]

Return submissions just coming in and going through pre-screening.

assigned()[source]

Return submissions with assigned Editor-in-charge.

unassigned()[source]

Return submissions passed pre-screening, but unassigned.

without_eic()[source]

Return Submissions that still need Editorial Assignment.

actively_refereeing()[source]
public()[source]

Return all publicly available Submissions.

public_listed()[source]

List all public Submissions if not published and submitted.

Implement: Use this filter to also determine, using a optional user argument,

if the query should be filtered or not as a logged in EdCol Admin should be able to view all submissions.

public_newest()[source]

This query contains set of public() submissions, filtered to only the newest available version.

treated()[source]

This query returns all Submissions that are presumed to be ‘done’.

originally_submitted(from_date, until_date)[source]

Returns the submissions originally received between from_date and until_date (including subsequent resubmissions, even if those came in later).

accepted()[source]

Return accepted Submissions.

awaiting_puboffer_acceptance()[source]

Return Submissions for which an outstanding publication offer exists.

revision_requested()[source]

Return Submissions with a fixed EICRecommendation: minor or major revision.

published()[source]

Return published Submissions.

unpublished()[source]

Return unpublished Submissions.

assignment_failed()[source]

Return Submissions which have failed assignment.

rejected()[source]

Return rejected Submissions.

withdrawn()[source]

Return withdrawn Submissions.

open_for_reporting()[source]

Return Submissions open for reporting.

reports_needed()[source]

Return Submissions for which the nr of Reports is less than required by target Journal.

open_for_commenting()[source]

Return Submission that allow for commenting.

needs_conflicts_update()[source]

Return set of Submissions that need an ConflictOfInterest update.

has_editor_invitations_to_be_sent()[source]

Return Submissions that have EditorialAssignments that still need to be sent.

candidate_for_resubmission(user)[source]

Return all Submissions that are open for resubmission specialised for a certain User.

voting_in_preparation()[source]
undergoing_voting(longer_than_days=None)[source]
class submissions.managers.submission.SubmissionEventQuerySet(model=None, query=None, using=None, hints=None)[source]

Bases: django.db.models.query.QuerySet

for_edadmin()[source]

Return all events that are visible to EdAdmin.

for_eic()[source]

Return all events that are visible to Editor-in-charge of a submission.

for_author()[source]

Return all events that are visible to author(s) of a submission.

last_hours(hours=24)[source]

Return all events of the last hours hours.

plagiarism_report_to_be_uploaded()[source]

Return Submissions that has not been sent to iThenticate for their plagiarism check.

plagiarism_report_to_be_updated()[source]

Return Submissions for which their iThenticateReport has not received a report yet.