-
Notifications
You must be signed in to change notification settings - Fork 87
Journals can have a publishing status in addition to being hidden from the press #4988
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
Open
joemull
wants to merge
7
commits into
master
Choose a base branch
from
b-3970-journal-status-and-hide-from-press-fixes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7e2633e
feat #3970 Introduce journal publishing status
joemull f5c42b9
feat #3970 Fix, test, and document hide_from_press and status
joemull 7117805
feat #3970 Edit documentation
joemull f350126
chore: fix intermittent test interference between pks
joemull 9dc1fc9
chore #3970 Clean up imports
joemull 6bf0c83
fix #4987 Update use of random.sample for python 3.11
joemull 1978afb
WIP on JournalManager
joemull File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| # Journal visibility and publishing status | ||
|
|
||
| Janeway has several mechanisms for allowing editors and press managers to control content visibility and filter data streams for each journal. | ||
|
|
||
| The following Journal fields provide the configuration options: | ||
|
|
||
| - `Journal.hide_from_press` | ||
| - `Journal.status` | ||
|
|
||
| ## What are some example use cases for these configuration options? | ||
|
|
||
| Users may find it tricky to distinguish `hide_from_press` and the "Test" publishing status. But they have to remain distinct for a few use cases. Here are some. | ||
|
|
||
| ### Not hidden from press | ||
|
|
||
| * Active: publishing normally | ||
| * Archived: no longer publishing but have a backlist | ||
| * Coming soon: planning to start publishing soon | ||
| * Test: not applicable, as users should always hide test journals from the press | ||
|
|
||
| ### Hidden from press | ||
|
|
||
| * Active: publishing normally but do not wish to be listed on the publisher site | ||
| * Archived: no longer published by the press but back content is still available at the journal site | ||
| * Coming soon: planning to start publishing soon but want to avoid appearing on the press site | ||
| * Test: testing options and training editors | ||
|
|
||
| ## What areas are affected by these configuration options? | ||
|
|
||
| The `hide_from_press` field does exactly what it says--it puts up a wall between the journal and press, preventing records like `Journal`, like `Issue`, `Section`, `Article`, and `NewsItem` from showing up on press level websites and APIs. | ||
|
|
||
| The "Test" publishing status prevents users from accidentally sending data to places it is difficult to remove, like DOI registration. It does not interfere with anything else, including sitemaps, APIs, or RSS feeds, because these too are features that users would want to test at the journal level. This is why it is important for test journals to have `hide_from_press` turned on. | ||
|
|
||
| ### User interfaces | ||
|
|
||
| | Area | Hide from press | Test status | | ||
| |-------------------------------------------|-------------------|-------------| | ||
| | Lists of journals on press website | Does what it says | No effect | | ||
| | Journal submission in repository system | No effect | Prevented | | ||
| | Publications list on public user profiles | Does what it says | Not listed | | ||
| | Back-office menus that list journals | No effect | No effect | | ||
| | Django admin menus that list journals | No effect | No effect | | ||
| | Reporting (plugin) | Does what it says | No effect | | ||
|
|
||
| ### Data feeds and alternate user interfaces | ||
|
|
||
| | Area | Hide from press | Test status | | ||
| |----------------------------|-------------------|-----------------------------------| | ||
| | sitemaps | Does what it says | No effect | | ||
| | APIs | Does what it says | No effect | | ||
| | RSS/Atom feed | Does what it says | No effect | | ||
| | reader notifications | Not applicable | No effect | | ||
| | Crossref deposits | Not applicable | Deposits use Crossref test server | | ||
| | Datacite deposits (plugin) | Not applicable | Deposits use Datacite test server | | ||
| | Galley healthcheck command | Not applicable | Articles ignored | | ||
| | DOI check command | Not applicable | Articles ignored | | ||
| | Store ithenticate command | Not applicable | Articles ignored | | ||
| | Metrics core app | Does what it says | Articles excluded | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.