Warning
Deprecation Notice: Non-Postgres Database Backends
As of 1.8.0, we are giving advance notice that Janeway will move to officially supporting PostgreSQL as its only database backend. Supporting MySQL and other variants has increasingly required us to build and maintain awkward workarounds, and consolidating on Postgres lets us simplify the codebase and focus our development effort.
This release does not remove any functionality. Existing backends continue to work as before. This is notice only, intended to give developers and self-hosters time to plan ahead.
In the 1.10.0 release we will officially remove support for non-Postgres backends and provide migration tooling to help you move your existing database across.
If you currently run Janeway on MySQL or another non-Postgres backend, we recommend beginning to plan your migration now.
Main Changes
- Typesetting plugin is now integrated into Janeway core and , as such, the typesetting plugin will be deprecated.
- Janeway now integrates with the Research Organization Registry for author affiliation registration. This change is backwards compatible with Janeway's pre-existing data modelling for author affiliations.
- Janeway now supports the CRediT Taxonomy for contributors.
Upgrade notes
- With the transition of typesetting plugin as a core workflow element, the plugin is now redundant and can be uninstalled prior to upgrading.
- Support for the ROR integration requires running a couple of management command to initialize the database as well as migrate existing records. Run these after the running the .update.sh script:
-
python src/manage.py import_ror_data
-
python src/manage.py match_ror_ids
- The security templatetags are now used by janeway settings and thus need to be made globally available. If you are overriding your
TEMPLATESsetting on your settings.py file, you will need to also add'security.templatetags.securitytags'underTEMPLATES["OPTIONS"]["builtins"](#4416)
What's Changed
- fix: broken dev install link in readme by @bibliotechy in #4427
- Ensure that column 'press_press.journal_footer_text' is created during the clean install by @rtoi in #4425
- Ensures that when an article and preprint are linked the preprint is only displayed if it is published. by @ajrbyers in #4451
- Updates citation style label text to make it consistent by @StephDriver in #4430
- The clean theme carousel now includes a link bringing it in line with other themes by @ajrbyers in #4466
- Merge of v1.7.2 by @mauromsl in #4484
- Update docs copyright and author statements. by @ajrbyers in #4488
- Fix typo in README link from old BirkbeckCTP site by @MartinPaulEve in #4498
- spelling fix by @S-Haime in #4494
- chore(docs): remove broken Lando documentation by @MartinPaulEve in #4500
- Xsl notes ordered list by @tbelc in #4432
- feat: add JATS default article type to sections and articles by @MartinPaulEve in #4499
- Unified style and accessibility upgrades for login, registration, and profile pages by @joemull in #4491
- fix annotated files if typesetting plugin is not installed by @Beethro in #4524
- Tha Kanban link will no longer show for non Editor users by @ajrbyers in #4469
- Fix regression where ORCID was not saved during registration by @joemull in #4535
- #4373 adds a test for ..//year when rendering element-citations. by @ajrbyers in #4374
- Make sure breadcrumbs only appear when they are useful by @joemull in #4541
- contact forms validate on server not browser by @StephDriver in #4456
- Fixes rendering of 'Comments to the Editor' on the metadata modal. by @ajrbyers in #4571
- Remove queryset from material press nav template by @ajrbyers in #4550
- Fixes an error when adding frozen authors with email that match existing accounts by @ajrbyers in #4573
- Delete src/core/forms/felds.py by @mcagl in #4576
- Center-align account management pages by @joemull in #4546
- Adjust a few dependencies for Python 3.12 by @joemull in #4460
- More consistent and durable loading of favicons by @ajrbyers in #4471
- #3965 adds text to the move_to_next modal. by @ajrbyers in #4472
- a11y #4228 prevent non-telephone numbers becoming call links by @StephDriver in #4558
- Ensure submissions nav item is displayed even when submissions are disabled by @ajrbyers in #4595
- Fix a bug that prevented preprint info page from loading by @joemull in #4586
- Crossref deposit improvements by @joemull in #4311
- Bump django from 4.2.16 to 4.2.18 by @dependabot[bot] in #4579
- Fix a bug on the article page with a misleading downloads metric by @joemull in #4599
- Don't look for an attribute on None object by @gamboz in #4603
- Updated prepub notifications description to use an f-string by @ajrbyers in #4508
- Let automatic registration of DOIs be optional. by @gamboz in #4433
- When attempting to fetch an image for a NewsItem that does not exist a 404 not found error is now returned by @ajrbyers in #4439
- Merge of v1.7.4 by @mauromsl in #4617
- fix: change jats_type_override field to be Foundation styled by @MartinPaulEve in #4530
- Fix bug that kept filter from working on some search views by @joemull in #4608
- Refactor get_ip_address to avoid 500 errors by @yakky in #4614
- Removes share links from the article page and replaces them with a share link and copy button by @ajrbyers in #4619
- Fix BirkbeckCTP links using openlibhums in README.md by @joemull in #4631
- fix: conflicting migration history on #4625 by @mauromsl in #4634
- Ensures that active reviews count is accurate by @ajrbyers in #4450
- Standard way of bringing users back to starting point after completing side tasks by @joemull in #4347
- Merges the Typesetting Plugin in to the core of Janeway by @ajrbyers in #4612
- Fix #4636 - pre-ticked repo submit agreement by @bibliotechy in #4638
- Fixes issue with repository log view by @bibliotechy in #4649
- chore(deps): bump django from 4.2.18 to 4.2.20 by @dependabot[bot] in #4648
- bugfix clean blockquote styling by @StephDriver in #4613
- Make Front of House Icons and Tables Accessible #4215 by @StephDriver in #4492
- Adds settings to control the visibility of comment and invited comment features by @ajrbyers in #4365
- a11y #4244 keywords markup as lists by @StephDriver in #4559
- Support for the Research Organization Registry (ROR) by @joemull in #4483
- Migration dependency fixes by @joemull in #4663
- Add typesetting plugin stage to migrations by @joemull in #4665
- feat: Added support for the CRediT Taxonomy for contributors by @MartinPaulEve in #4512
- Add missing max_length to CharFields by @joemull in #4673
- Updates version detail to use the correct backend download url route by @ajrbyers in #4670
- Fix navigation between all users and journal users by @joemull in #4671
- Removes correspondence author's name from the article page by @ajrbyers in #4680
- Fixes a bug that caused clean theme collections to be in a single column by @ajrbyers in #4681
- Fixes a bug that allowed HTML tags to display in licence text output by @ajrbyers in #4678
- march minor fixes by @StephDriver in #4687
- Fixes a bug that stopped the delete button from working on the Editorial Group manager page by @ajrbyers in #4688
- Add missing quote mark by @joemull in #4700
- bugfix a11y - OLH dyslexia mode text resize by @StephDriver in #4685
- Fixed a bug that prevented articles from being deleted via admin by @joemull in #4707
- Guide to contributing developer documentation by @joemull in #4710
- Fix tests by @joemull in #4683
- Updates the offset_date tag to take the users preferred timezone into account by @ajrbyers in #4682
- RCT-140(docs): Fix typos by @JoshuaOne in #4716
- Fix a bug with constraint names that caused a database error during upgrade by @joemull in #4714
- Improve ROR import, migration, and matching routines by @joemull in #4651
- fix: When upload is limited to PDF, the text now displays HTML properly by @ajrbyers in #4724
- Removes data migration that causes errors during setup by @ajrbyers in #4718
- Review form thanks message is now marked safe and no longer displays HTML tags by @ajrbyers in #4722
- Articles in Typesetting will now show in kanban as expected by @ajrbyers in #4740
- Prevent recursive amps in bleach fields by @joemull in #4696
- The journal images settings page now displays the correct default profile image by @ajrbyers in #4745
- ORCID logos appear correctly on login page by @joemull in #4750
- Adds a max_length to the temporary migration_id field so it works with MySQL by @ajrbyers in #4767
- Toggling Editorial Team or Keywords nav entries now displays changes immediately by @ajrbyers in #4769
- Review form elements no longer have the width field by @ajrbyers in #4753
- display author CRediT in back-office workflow by @StephDriver in #4715
- chore(deps): bump django from 4.2.20 to 4.2.21 by @dependabot[bot] in #4773
- Submission fields can now be unchcked. Review form checkboxes now display labels. by @ajrbyers in #4708
- Add Submissions and Publications to User History by @RoseReatherford in #4721
- Give correct ROR schema version in comment by @joemull in #4787
- Document testing views by @joemull in #4720
- Journals site_url reverse no longer checks for the journal code in the URL by @ajrbyers in #4752
- Author interface for ROR, CRediT, and ORCiD in submission workflow by @joemull in #4697
- bugfix: credit showing on article when no author had credit by @StephDriver in #4812
- feat: add hook for the guidelines section of the review_form template by @JuliusHarms in #4817
- feat: add hook for editor actions menu on in_review page by @JuliusHarms in #4811
- chore(deps): bump requests from 2.31.0 to 2.32.4 by @dependabot[bot] in #4799
- chore(deps): bump django from 4.2.21 to 4.2.22 by @dependabot[bot] in #4793
- Readers can see ROR affiliations on article and public profile pages by @joemull in #4818
- Adds conditional accept and desk rejection email templates by @ajrbyers in #4815
- Editors and others can view and manage new author metadata by @joemull in #4798
- Merge of v1.7.5 by @mauromsl in #4824
- JATS and Crossref XML outputs now include CREDIT and ROR data by @ajrbyers in #4726
- The options block will now show for editors in Typesetting, allowing them to do conversions by @ajrbyers in #4830
- Fixes a bug that stopped ORCID login from succeeding when OIDC is also enabled by @ajrbyers in #4825
- Workflow logs now record the user who moved the article between workflow elements by @ajrbyers in #4821
- ROR documentation for authors and librarians by @joemull in #4836
- The create_revision_request helper now uses revision_type rather than decision types by @ajrbyers in #4847
- Auto-record Janeway version bumps using signals by @mauromsl in #4848
- Fix migration for workflow log user by @joemull in #4857
- Standarizes formatting with the ruff formatting library by @mauromsl in #4501
- Fixes to unit tests for v1.8 by @joemull in #4851
- News items now supports muti-lingualism by @ajrbyers in #4871
- Merge of ILR-FLOW into r-v1.8.x by @mauromsl in #4874
- Editors can use typesetters' galley download and preview links without issue by @joemull in #4879
- Fixed a bug where rendering URL from journal A to journal B would lead to both journal codes being appended by @mauromsl in #4880
- Fixes for Uiowa upgrade by @mauromsl in #4907
- Fixed an issue were custom form elements of type "upload" were not being saved properly by @mauromsl in #4930
- fix: Adds missing import statement by @mauromsl in #4943
- Replaced instances of
DeprecationWarningforwarnings.warnby @mauromsl in #4944 - ROR IDs and their tags are on one line to avoid whitespace issues with crossref by @ajrbyers in #4948
- fixed an issue where review answers of type "Upload" could not be edited by editors by @mauromsl in #4951
- Affiliations now display properly, without extra space or commas by @joemull in #4957
- Fixed a display bug where the article title was not displayed due to numerous authors by @joemull in #4960
- Fixed an issue where 500 errors where returned when matching malformed orcid tokens by @mauromsl in #4968
- Fix a server error that happened when deleting an author copyediting review by @joemull in #4970
- Fix a bug that kept coauthors from seeing submitted article status by @joemull in #4972
- Added a database migration for disableing the typesetting plugin by @mauromsl in #4973
- Make sure login page notice displays well by @joemull in #4966
- Fixes a bug where the decline template would show for desk accept by @ajrbyers in #4994
- Fixed a bug with the managed author role where users were still able to grant themselves the author role. by @joemull in #5017
- Fixed an issue for a backwards compatible handler of frozen authors that affected back content plugin by @mauromsl in #4998
- Adds python version tests for CI pipeline using tox by @mauromsl in #5019
- Fix a bug that kept anonymous articles from being deposited with Crossref by @joemull in #5022
- Fix a bug that caused a recursion error when deleting authors by @joemull in #5029
- Finish fixing a bug where deleting an author caused a recursion error by @joemull in #5031
- Fixed an issue where the old Author Form would lead to a 500 error by @mauromsl in #5042
- Fix an issue where editors wouldn't be able to select reviewers with inactive accounts to review a paper, despite using one click access. by @mauromsl in #5041
- Fixes the default OIDC backend. by @ajrbyers in #4831
- Fix a bug that broke the repository search by @joemull in #5079
- Fix a bug that prevented Janeway from checking outgoing email statuses by @joemull in #5111
- Avoid error when getting JATS article type by @joemull in #5103
- Improve display of APA citation by @joemull in #5112
- Use raw id fields for files in admin by @joemull in #5126
- Use ruff v14 on Janeway 1.8 by @joemull in #5131
- Fix a bug that stopped editors from withdrawing a review by @joemull in #5221
- Handle possibility of missing date_complete by @joemull in #5212
- Avoid se_can_see_pii when there is no article by @joemull in #5211
- Make sure typesetters can see competing interests by @joemull in #5202
- Fixes issues that could cause the ROR importer to stop working by @joemull in #5191
- Fix a bug that prevented preprint authors from proceeding a submission by @joemull in #5188
- Upgrades a dependency so tests can run by @joemull in #5171
- Editors can hide some author affiliation fields by @joemull in #5054
- Authors can be linked to matching accounts more easily by @joemull in #5057
- Make sure typesetting page loads even with missing XML image attributes by @joemull in #5205
- Fixed a bug where discord notifications would fail to send by @mauromsl in #5217
- Fix display issue for conceptualisation role by @ajrbyers in #5284
- When sending a revision request from a draft ensure do_revisions_url is replaced by @ajrbyers in #5181
- Fixes server error when trying to register an account at the press level by @joemull in #5298
- Refactor ROR import and improve bulk insert handling by @ajrbyers in #5308
- Fixed a bug where a setting help text was rendered as maths by @mauromsl in #4914
New Contributors
- @bibliotechy made their first contribution in #4427
- @rtoi made their first contribution in #4425
- @mcagl made their first contribution in #4576
- @JoshuaOne made their first contribution in #4716
Full Changelog: v1.7.5...v1.8.0-RC-12