- move healtcheck to docker-compose.yml
- set start_period and interval for healthchecks
- update documentation
- configurable error handling for push_to_showroom
- add HealthCheckMiddleware
- make RQ result TTL configurable
- make Redis port configurable
- add documentation for
REDIS_PORT
andRQ_RESULT_TTL
- add documentation for Showroom sync
- BREAKING: change default value of CAS_SERVER_URL to
f'{SITE_URL}auth/'
- use general config from https://github.com/base-angewandte/config
- improve docker configuration with healthchecks and
depends_on
- update documentation style and environment
- upgrade middleware to new django style
- upgrade python to 3.8
- upgrade django to 3.2
- update requirements
- fix pip-sync in docker dev setup
- change styling of … in invalid json highlighting
- add migrations for jsonfield changes
- fix cors settings
- fix python version for readthedocs
- only push entry if still published at worker runtime
- add readthedocs configuration
- clamav: catch BufferTooLongError
- Added timeout to Pelias configuration
- Added
PELIAS_API_KEY_LOCATION
configuration - Added possibility to export all published entries
- Updated pre-commit configuration
- Added
all
parameter to/api/v1/user/{id}/data/
to be able to also return entries in which the user isn't a contributor
- BREAKING: Updated pre-commit configuration to also enforce the use of conventional commit messages
- BREAKING: Changed redirect response from 301 to 308
- BREAKING: Default value for
data
is now an empty dict - Install exiftool via github instead of sourceforge in docker image
- Added autosuggest route for Primo API
- Added
CAS_CHECK_NEXT
environment variable for development and documentation for it - Added
first_name
andlast_name
to API user response - Added ClamAV and scan uploaded media objects
- Added bulk creation of entries for importer
- Added project mapping in skosmos.py
- Added
get_preflabel_via_uri
in skosmos.py - Added management command to update all labels
- Added management commands to evaluate keywords usage of published entries
- BREAKING: Update all labels on every update of Portfolio
- BREAKING: Adapted API user response to use
request.user.get_full_name()
instead of the CAS attributedisplay_name
to be consistent over multiple Portfolio instances - Updated pre-commit configuration
- Fixed
fix_keywords
management command
- Fixed CC licenses label in API
- Send 301 for retrieve requests in EntryViewSet with old entry ids
- Added Showroom connector
- Added connection to User Preferences API
- Added support for Sentry
- Added possibility to sort media objects
- Added possibility to feature a media object
- Added showroom_id field to Entry model
- Added support for nginx crop and resize in media_server
- Added crop and resize to dev config of nginx
- Added management command to push entries to Showroom
- Added management command to manually start the conversion process of a media object
- Added management command to fix missing previews
- Added management commands for fixing migrations issues
- Added documentation of Showroom settings
- BREAKING: Updated shortuuid to 1.0.8
- BREAKING: Migrated all existing shortuuids to new format
- BREAKING: Migrated all existing media directories
- Changed search from TrigramSimilarity to TrigramWordSimilarity
- Increased max_length of FileField in Media model
- Adapted dev config of nginx
- Fixed prefLabel caching in skosmos.py
- New API lists logic
- Corrected lang parameter for type label in
export_published
management command
- EXPERIMENTAL: Added
import_bibtex
management command for importing entries from BibTeX files
- Fixed build error due to exiftool.org being down - thanks to Benjamin Höglinger-Stelzer [nefarius]
- Optimized docker-compose builds
- Fixed error during preview creation of documents containing umlauts
- Added status field to ResearchProjectSchema
- New API lists logic
- Pull docker images before build
- Updated pre-commit and hooks
- Clean up docs container after running
- Returning additional metadata for media that hasn't been converted yet
- Changed license to required for media objects
- Changed container name in
docker-compose.override.dev-docker.yml
toportfolio-django
- Added support for new INDEX vocabulary collections
- Changelog beginning with this version
- Added sphinx documentation and possibility to build it via docker (
make build-docs
) and serve it via django - Added additional configuration possibilities via environment variables, see documentation for details
- Added possbility to set imagemagick policy and added two example configurations
- gunicorn port is configurable via
GUNICORN_PORT
environment variable - gunicorn workers are configurable via
GUNICORN_WORKERS
environment variable - Added possibility to use docker during development
- Added
pip-compile-upgrade
to Makefile - Added layers setting to Pelias
- Using pyupgrade, black, double-quote-string-fixer, end-of-file-fixer, docformatter, flake8-bugbear, pep8-naming, bandit, docker-compose-check and hadolint with pre-commit
- Added possibility to get detailed results from
/api/v1/entry/{id}/media/
and adaptedget_media_for_entry
accordingly - Added
/api/v1/entry/{id}/data
to API - Added
date_created
to relations in API - Added images for parent entries in API results
- Added creation date of relations in API results
- Added ParentSerializer
- Added
parents
to EntrySerializer - Added media and relations to result of
/api/v1/user/{id}/data/{entry_id}/
and/api/v1/entry/{id}/data/
- Added possibility to send types as comma-separated values in
/api/v1/wbdata/
- Added design and fellowship_visiting_affiliation schemas
- Added "project partnership" role to research project
- Added date range location group field
- Added possibility to set label for date time field
- Added default ordering by creation date for
Media
model - Added keywords to search
- Added download parameter for media assets
- Published media assets can be accessed without login
- Added
get_active_schemas
function - Raise
ValidationError
if type can't be matched to any schema - Added
export_published
management command to export published entries as CSV - Stop and delete
media_info_and_convert
jobs if media asset is deleted
- BREAKING: CORS variables have been renamed:
CORS_ORIGIN_WHITELIST
->CORS_ALLOWED_ORIGINS
CORS_ORIGIN_ALLOW_ALL
->CORS_ALLOW_ALL_ORIGINS
- BREAKING: Updated vcrpy – your cassettes may need to be re-recorded if you have run tests before
- Updated requirements
- Updated collabora/code
- Updated docker-compose files to version 2.3
- Adapted pip configuration in Dockerfile
- Adapted flake8 configuration
- Changed from seed-isort-config to isort
- Use a configuration file for gunicorn
- exiftool is installed from source instead of from package
- Reduced
failure_ttl
of rq jobs from 1 year to approx. 3 months - Changed event icon
- Changed ExifField to JSONField
- Changed ugettext_lazy to gettext_lazy
- Complete rewrite of
user_data
and adapted logic - Better caching in
skosmos.py
- Improved thumbnail creation for videos
- Improved video conversion
- Removed ExifField
- Added missing label to "award ceremony" and "funding category"
- Added fallback for missing role label
- Correct some mime types
- Fixed handling of Photoshop files
- Fixed error during creation of thumbnail for pdfs
- Update requirements for rq containers on
make update