Skip to content

Releases: base-angewandte/portfolio-backend

1.3.5

13 Dec 08:49
Compare
Choose a tag to compare

Changed

  • move healtcheck to docker-compose.yml
  • set start_period and interval for healthchecks
  • update documentation

1.3.4

12 Dec 14:33
Compare
Choose a tag to compare

Added

  • configurable error handling for push_to_showroom
  • add HealthCheckMiddleware
  • make RQ result TTL configurable
  • make Redis port configurable
  • add documentation for REDIS_PORT and RQ_RESULT_TTL
  • add documentation for Showroom sync

Changed

  • 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

Fixed

  • 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

1.3.3

12 Dec 14:33
Compare
Choose a tag to compare

Added

  • add readthedocs configuration

Fixed

  • clamav: catch BufferTooLongError

1.3.2

11 Aug 09:00
Compare
Choose a tag to compare

Added

  • Added timeout to Pelias configuration
  • Added PELIAS_API_KEY_LOCATION configuration
  • Added possibility to export all published entries

Changed

  • Updated pre-commit configuration

1.3.1

11 Aug 08:58
Compare
Choose a tag to compare

Added

  • Added all parameter to /api/v1/user/{id}/data/ to be able to also return entries in which the user isn't a contributor

Changed

  • 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

1.3

11 Aug 08:57
Compare
Choose a tag to compare
1.3

Added

  • Added autosuggest route for Primo API
  • Added CAS_CHECK_NEXT environment variable for development and documentation for it
  • Added first_name and last_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

Changed

  • 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 attribute display_name to be consistent over multiple Portfolio instances
  • Updated pre-commit configuration

Fixed

  • Fixed fix_keywords management command

1.2.1

11 Aug 08:57
Compare
Choose a tag to compare

Fixed

  • Fixed CC licenses label in API

1.2

11 Aug 08:56
Compare
Choose a tag to compare
1.2

Added

  • 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

Changed

  • 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

  • Fixed prefLabel caching in skosmos.py

1.1.6

11 Aug 08:53
Compare
Choose a tag to compare

Changed

  • New API lists logic

Fixed

  • Corrected lang parameter for type label in export_published management command

1.1.5

11 Aug 08:53
Compare
Choose a tag to compare

Added

  • EXPERIMENTAL: Added import_bibtex management command for importing entries from BibTeX files