Releases: DDMAL/cantus
v3.2-0.10.0
Minor changes
- Add support for multi-folio images
What's Changed
- Add Utrecht NL-UU 406 to IIIF postprocessing by @dchiller in #538
- Make UNMAPPED default is_mapped status for manuscripts by @dchiller in #536
- Fix 500 error in task status admin view by @dchiller in #535
- Get volpiano font from official source by @napulen in #540
- Fix wrong manuscript in iiif postprocessing by @dchiller in #543
- Reorder docker builds by @dchiller in #550
- Move atomic decorator for async map folios task by @dchiller in #551
- Add link to CantusDB in chant detail mode by @dchiller in #553
- Refactor nginx container build by @dchiller in #554
- Multi folio images by @dchiller in #555
- Make single image scroll default Diva view by @dchiller in #557
- Issue 544 update unmapped folio numbers by @dchiller in #559
Full Changelog: v.3.2-0.9.0...v.3.2-0.10.0
v3.2-0.9.0
Minor Changes
- Change source of manuscript view search suggestions to solr
- Modifications to celery task management and status tracking
- Add postprocessing capability for non-standard IIIF manifests
- Update DNS settings
- Others listed below
What's Changed
- Add new DNS for staging by @napulen in #526
- Modify nginx to allow new staging dns by @napulen in #527
- Change gitignore to include django migrations by @dchiller in #522
- Modify task queue to show tasks when received by @dchiller in #524
- Add admin link to navbar by @dchiller in #525
- Run celery with daemon user by @dchiller in #529
- Bump django-celery-results from 2.2.0 to 2.4.0 in /app/public by @dependabot in #528
- Update map folios and chant import processes by @dchiller in #515
- Modify folio navigation search suggestions by @dchiller in #523
- Modify task results admin view by @dchiller in #530
- Add postprocessing pipeline for IIIF manifests. by @napulen in #532
Full Changelog: v.3.2-0.8.0...v.3.2-0.9.0
v3.2-0.8.0
Big changes:
- Celery container added, which handles (hopefully) all
solr
requests
Minor changes:
- Lots of minor changes and bugfixes described below
What's Changed
- Blackify action by @dchiller in #471
- center load_chants return button by @eliwaksbaum in #477
- Removes erroneous import chants message by @dchiller in #480
- Catch exception for new db on clear_session_data by @dchiller in #485
- import_data iiif by @eliwaksbaum in #481
- Revising MEI parser script. by @napulen in #488
- Initial script for MEI parsing by @napulen in #490
- Add --check parameter to black github action by @dchiller in #496
- Lints recently modified files by @dchiller in #495
- Adds celery asynchronous task queue by @dchiller in #493
- Bump django from 3.2.13 to 3.2.14 in /app/public by @dependabot in #503
- Bump django from 3.2.13 to 3.2.14 in /nginx/public/python by @dependabot in #504
- Update README to include initial docker compose build step by @dchiller in #509
- Add PENDING state to manuscript mapping by @dchiller in #510
- Remove update_public_manuscripts command by @dchiller in #511
- Remove future manuscripts by @dchiller in #508
- Make manuscripts link in navbar more prominent by @dchiller in #512
- Update version to v3.2-0.8.0. by @napulen in #514
Full Changelog: v3.2-0.7.2...v.3.2-0.8.0
v3.2-0.7.2
Minor patch to synchronize the APP_VERSION
in .env
to the version of the release.
Full Changelog: v3.2-0.7.1...v3.2-0.7.2
v3.2-0.7.1
Introducing some minor changes since v3.2-0.7.1
:
Development
andProduction
are now distinguished by the port serving the web app (8000
and80
, respectively)- One of the improvements in the
Development
set up is that it supports live editing the codebase, presenting the changes in the webserver of the container Production
runs withgunicorn
,Development
withrunserver
(django's web server)
- One of the improvements in the
- The
import_chants
action in the admin interface doesn't take minutes anymore (which caused a timeout in the nginx reverse router)- Users now get immediate feedback (in a separate window) and the workload is transmitted on the backend
- Bug fixes on the logic of
session_data
flushing, triggeringsolr_reindexing
, and a couple others
Related pull requests
- Port 80 for production 8000 for staging by @eliwaksbaum in #461
- Add intermediate page after import chant action by @dchiller in #463
- Adding website version next to Cantus Ultimus link (top-left). by @napulen in #464
- Fix map folios submit button by @dchiller in #467
- Fixes a django error when saving changes to manuscript objects by @dchiller in #468
- Add command for clearing django session data by @dchiller in #470
- development editing by @eliwaksbaum in #466
Full Changelog: v3.2-0.7.0...v3.2-0.7.1
v3.2-0.7.0
This is the first release of Cantus Ultimus in 2022 (coincidentally, exactly one year after the last release, as noted by @dchiller!)
There have been major changes in the structure of the code.
These improvements are the work of @dchiller, @eliwaksbaum, and @napulen.
Authors listed in alphabetic order
Migration to docker
- The codebase has been migrated to the latest
django==3.2
patch (special thanks to @eliwaksbaum!) - The codebase is also compliant with
django==4.0
, which will be helpful when the nextLTS
version (4.2
) is out on Summer 2023 (special thanks to @dchiller!) Vagrant
is no longer the containerization solution of the project. Any trace ofVagrant
is gone from the codebase as of now.- Instead, everything is containerized using 4
docker
containers (special thanks to @eliwaksbaum!)nginx
postgres
solr
app
(the Cantus Ultimus django app)
- These four containers operate together thank to the
docker-compose.yaml
file located at the root of the repository - The
README
has been updated accordingly with the newdockerization
(special thanks to @eliwaksbaum!)
Fixes on solr
backend, django signals, and CLI commands
- The backend
solr
signals have been modified to mitigate concurrency issues (special thanks to @dchiller!)- The signals will now create independent
sessions
(python contexts) to perform operations onsolr
, so two concurrent operations (e.g., importing chants for two manuscripts) will each one result in a Solrsession
that will update the index accordingly. This is not the optimal solution for dealing with concurrency but it is much better than our previous approach
- The signals will now create independent
- A duplicate reindexing of Solr in the CLI command
import_folio_mapping
was fixed (special thanks to @dchiller!) - Similarly, the CLI structure (e.g., better organization of
options
andarguments
) was done on the majormanagement
scripts (special thanks to @dchiller!)refresh_solr
import_folio_mapping
- A conversation on further simplification of
management
commands has started #405 (WIP) (special thanks to @dchiller!) - Unit tests have been modernized and integrated with GitHub Actions (special thanks to @eliwaksbaum!)
Other general fixes and improvements not listed here include.
Full list of merged pull requests
- Dockerport by @eliwaksbaum in #404
- Merge
docker
andmain
branch by @napulen in #421 - Configure database password through environment variables by @dchiller in #430
- Modifies Solr synch signal to allow for concurrent db transactions by @dchiller in #426
- Add postgres env vars to django settings by @dchiller in #432
- Bumping django version. by @napulen in #437
- Add healthcheck on postgres container to docker-compose.yaml by @dchiller in #436
- Django 3.2 by @eliwaksbaum in #439
- Unit tests by @napulen in #443
- make unit-tests pass by @eliwaksbaum in #452
- Security warnings by @eliwaksbaum in #449
- Bump django from 3.2 to 3.2.13 in /app/public by @dependabot in #441
- Fixes argument in admin action: import chant data by @dchiller in #456
- Add explanation for ordering of admin urls by @dchiller in #455
- Removing reference to
wait-for-it
inapp/Dockerfile
by @eliwaksbaum in #454 - Readme by @eliwaksbaum in #451
- Run initial migrate command in background. by @dchiller in #457
- Matching django versions in requirements by @napulen in #459
Full Changelog: v0.6.0...v3.2-0.7.0
v3.1-0.6.0
This is a version of the website that can run on production minus some known issues.
The main issues addressed recently are:
- The server won't crash-restart after importing chants in manuscripts with many chants. It will still take a while to import them, but should not crash or disrupt the website.
- The server won't crash when trying to map manuscripts that have no
image_link
entries in CantusDB
v3.1-0.5.0
- Cantus Ultimus is now running over
django==3.1.x
. - All the relevant PRs pushed by
dependabot
were merged accordingly. - Node bumped to
v10.x
- The container is running over Ubuntu 18.04
- Python interpreter changed from
deadsnakes
to system's default in Ubuntu 18.04
v2.2-0.4.0
- Compatible with
django==2.2.17
- Bumped djangorestframework to
3.12.2
- Bumped psycopg2 to
2.8.6
- Bumped PostgreSQL compatibility to 9.5
- Removed
urlpatterns
based onregex
, replaced with the preferred flavor fordjango>=2.0
- Removed
JSONPRenderer
renderers from djangorestframework, as those are no longer supported (and they are discouraged anyway)
v1.8-0.3.0
Importing csv mappings right after user's folio mapping