Skip to content

Latest commit

 

History

History
427 lines (334 loc) · 29.3 KB

CHANGELOG.md

File metadata and controls

427 lines (334 loc) · 29.3 KB

6.4.0

Feature

  • file: Move thumbnail generation to celery (6d30dcd)

Fix

  • Stricter mime type handling (4b8ab5b)

6.3.0

Feature

  • Move the fulltext search code to a proper filterset (088a897820f88e3078bd20488ca0437e575a8372)

6.2.0

Feature

  • Add celery to allow for background tasks (d6f995c5137b01fc2366bbf1011ea56a0a6c17a7)

6.1.1

Fix

  • api: Add missing "download_path" param to verify_signed_components (f0cca6c)

6.1.0

Feature

  • Add presigning functions to public api (a6a56a6)

Fix

  • convert: Change file extension in document title on conversion (c91d7fa)

6.0.0

Fix

  • Make document title and description not localized (39436b7)
  • dockerfile: Use correct settings (ddccc4d)

Breaking

  • Turn the document's title and description into regular CharFields/TextFields, instead of localized ones, because localized fields do not make sense for user-generated data. (39436b7)
  • drop poetry from prod build by building a wheel (249544d)

5.1.1

Fix

  • fix(deps): update dependencies (2144e0b)

5.1.0

Feature

  • Search over all configured stemmings (1d9cca20db4d5054fa55cb8db490db3eebbe53b5)
  • Allow opening webdav links with custom URI schemes (9f4516631dfb25aa5bcbf3b3500bcb5d0ab131be)

5.0.2

Fix

  • fix(file): improve content vector generation (b6841da)

Refactor

  • refactor(file): move check for optional feature methods (a8420c5)

5.0.1

Fix

  • fix(file): improve content vector generation command (145ae23)
  • fix(tika): use module path imports (2df7b7a)

5.0.0

Feature

  • file: Add search view (c9d3766)
  • file: Add management command to fill content_vector (79b1978)
  • file: Add SearchVector field for extracted content (b0e5bad)
  • file: Add apache tika for file content extraction (0557c59)
  • webdav: Add allowed list of mime types for webdav (343a2ee)
  • webdav: Webdav_url to sperate webdav view (7162f28)

Fix

  • clamav: Inline django-clamd to resolve version problems (#564) (fe6e98d)
  • Update dgap for webdav get permission check (4b1bb74)
  • webdav: Remove default doc, xls files (94df87f)

Breaking

  • removed django-clamd clamav will only be called over tcp, unix socket capabilities have been removed (fe6e98d)
  • webdav_url to sperate webdav view (7162f28)

The URL for WebDAV editing is now in a seperate endpoint, to allow for checking the Permissions before serving it. Previously the WebDAV URL was served even if the Permissions were denied, as getting the WebDAV URL was a Visibility check.

Documentation

  • readme: Improve documentation for available features and config (a19b8cb)

4.1.0

Feature

  • Allow custom implementation of username and group getters (72bf2e4)

Fix

  • core: Add get_user_and_group for serializer (b5bc3b6)

4.0.2

Fix

  • mime: Allow file extension checking if all fails (ddaa134)
  • Use atomic for document and file creation (1a630ad)

4.0.1

Fix

  • thumbnails: Enlarge the thumbnails (a80f7b5)

4.0.0

Feature

  • document: Create document and file in one request! (444912d)

Breaking

  • The document post endpoint now requires the file data to be provided as well. The reason for this change is allowing the frontend to create documents and files in one request, preventing documents with no associated files. Which fixes the problem if the file got rejected for any reason, the application would create an empty document. (444912d)

3.1.0

Feature

  • category: Define allowed mime types (d4fd84e)

Fix

  • mimetypes: Cleanup, simplify error handling (3bde9c4)
  • translation: Use string replacement instead of f string (74dd485)
  • migrations: Add missing migration for modified by description (7f53058)
  • upload: Use content-type and filename to infer mime types (d475321)

3.0.0

Fix

  • dav: Set created_by_* attributes on new files (f480cb6)

3.0.0-beta.18

Feature

3.0.0-beta.17

Fix

  • webdav: Split alexandria provider out of dav.py (a0c7d64)

3.0.0-beta.16

Fix

  • webdav: Make scheme a setting (a634c86)

3.0.0-beta.15

Fix

  • Disable manabi by default (eea655c)
  • manabi: Set sane TTL and configure secure (6eb0ca2)
  • webdav: Only serve webdav link if manabi is enabled (ef2e0b9)
  • webdav: Use webdav-scheme as default for webdav links (d513916)
  • Only serve newest File form Document (27bc67f)
  • Only create webDAV links for original Files (279d31d)
  • Run hooks after file save was successful (6d12b7a)

3.0.0-beta.14

Feature

  • Integrate manabi for editing files over WebDAV (7e0ec86)

3.0.0-beta.13

Fix

3.0.0-beta.12

Feature

  • Add optional dms integration (38ecbec)

Fix

  • dms: Return json document after conversion (357bae9)
  • dms: Improve dms integreation (4bbf1c3)

3.0.0-beta.11

Feature

  • security: Add ClamAV integration (fe314ca)

3.0.0-beta.10

Feature

  • file: Add method to generate a download url for a file (d28664e)

3.0.0-beta.9

Fix

  • document: Fix clone method on document (fbac20b)

3.0.0-beta.8

Feature

  • file: Add mime type and size on file model (026f30d)

3.0.0-beta.7

Feature

  • storage: Don't use django default storage configuration (1c124fd)

Breaking

  • Instead of overwriting DEFAULT_FILE_STORAGE in the host app, Alexandria now uses a separate setting ALEXANDRIA_FILE_STORAGE to configure the used file storage backend. (1c124fd)

3.0.0-beta.6

Fix

  • Remove dry from encryption command (a3a7238)
  • Minor cleanups, disable encryption in local setup (033da5e)
  • model: Max length of file field (7d4b0c9)

3.0.0-beta.5

Fix

3.0.0-beta.4

Fix

3.0.0-beta.3

Feature

  • storage: use Django's storage backend for object storage
  • Add command to encrypt existing files (ac4a910)
  • files: Add signed download_url to file (922f55a)

Fix

  • document: Adjust cloning for use with storage backends (26c4331)

3.0.0-beta.2

Feature

  • document: Update modfied data when creating new file (0b9dd76)

3.0.0-beta.1

Feature

  • Change tag primariy key to uuid (0284115)
  • Use dgap instead of custom visibilities and permissions (#289) (2a92203)

Fix

  • Regression in modified_by_user (ed70dd0)
  • Set default created by user (f8aafd7)

Breaking

  • this changes the primariy key for Tag to uuid the tag filter now also filters by the new uuid (0284115)
  • This removes the custom permission system for DGAP. (2a92203)

2.9.1

Fix

  • Dont overwrite created by (7923265)

2.9.0

Feature

  • document: Add a method to clone documents (ebefcbd)

Fix

  • filter: Change to iexact for name search (282ed95)

2.8.0

This release accidentially contained a breaking change, please don't use it!

2.7.0

Feature

v2.6.0

Feature

  • file: Write checksum of file in hook view (0011c81)

v2.5.1

Fix

  • thumbs: set content-type (bb77127)

v2.5.0

Feature

  • thumbnails: Upload thumbnails using upload url (aa03128)

v2.4.0

Feature

  • document: Add manual document date field (4a4fcbe)

v2.3.0

Feature

  • Return documents from child categories (b992a3f)
  • document: Add categories filter (#351) (a9cb293)

Fix

  • zip: Append number to duplicate file names (#337) (8f09c5f)

v2.2.1

Fix

  • settings: Fix wrong types of boolean settings (80e2564)

v2.2.0

Feature

  • category: Add slug filters for category list (23f7d7e)

v2.1.0

Feature

  • category: Add has_parent filter for categories (1ba5aa8)
  • category: Allow nesting of categories (9b38fc7)
  • Generate thumbnails without s3 hooks (a96a917)

Fix

  • Add validation if a thumbnail was generated (665fb50)
  • Remove redundant thumbnail option (9788962)

v2.0.1

Fix

  • settings: Remove import in settings init file (3a86060)

v2.0.0

Fix

  • docker: Remove obsolete system dependencies (2e2f8a2)
  • settings: Prefix alexandria settings (5791f3d)

Breaking

  • Removed image previews for RAW, VTK and scribus files. (2e2f8a2)

  • All alexandria specific settings and environment variables have been renamed to include a prefix in order to avoid conflicts when using alexandria as a django app instead of a container. (5791f3d) The following breaking changes in settings and environment variables have been made:

    • ALLOW_ANONYMOUS_WRITE was renamed to ALEXANDRIA_ALLOW_ANONYMOUS_WRITE
    • DEV_AUTH_BACKEND was renamed to ALEXANDRIA_DEV_AUTH_BACKEND
    • ENABLE_THUMBNAIL_GENERATION was renamed to ALEXANDRIA_ENABLE_THUMBNAIL_GENERATION
    • MEDIA_STORAGE_SERVICE was renamed to ALEXANDRIA_MEDIA_STORAGE_SERVICE
    • MINIO_PRESIGNED_TTL_MINUTES was renamed to ALEXANDRIA_MINIO_PRESIGNED_TTL_MINUTES
    • MINIO_STORAGE_ACCESS_KEY was renamed to ALEXANDRIA_MINIO_STORAGE_ACCESS_KEY
    • MINIO_STORAGE_AUTO_CREATE_MEDIA_BUCKET was renamed to ALEXANDRIA_MINIO_STORAGE_AUTO_CREATE_MEDIA_BUCKET
    • MINIO_STORAGE_ENDPOINT was renamed to ALEXANDRIA_MINIO_STORAGE_ENDPOINT
    • MINIO_STORAGE_MEDIA_BUCKET_NAME was renamed to ALEXANDRIA_MINIO_STORAGE_MEDIA_BUCKET_NAME
    • MINIO_STORAGE_SECRET_KEY was renamed to ALEXANDRIA_MINIO_STORAGE_SECRET_KEY
    • MINIO_STORAGE_USE_HTTPS was renamed to ALEXANDRIA_MINIO_STORAGE_USE_HTTPS
    • THUMBNAIL_HEIGHT was renamed to ALEXANDRIA_THUMBNAIL_HEIGHT
    • THUMBNAIL_WIDTH was renamed to ALEXANDRIA_THUMBNAIL_WIDTH
    • PERMISSION_CLASSES has been removed in favor of already existing ALEXANDRIA_PERMISSION_CLASSES
    • VALIDATION_CLASSES has been removed in favor of already existing ALEXANDRIA_VALIDATION_CLASSES
    • VISIBILITY_CLASSES has been removed in favor of already existing ALEXANDRIA_VISIBILITY_CLASSES

v1.2.0

Feature

  • Make properties for created_by configurable (c18dc06)
  • Let the oidc user model be configurable (74c673a)

Fix

  • Extract serializer permissions (775f2b7)
  • Use correct minio error (86ef544)

v1.1.2

Fix

  • Visibility config default (1275d26)

v1.1.1 (broken, don't use!)

Fix

  • Make deprecated VISIBILITY_CLASSES env var optional (20f4553)

v1.1.0

Feature

Fix

v1.0.0

Feature

  • Add pypi deployment worklow (8c341cc)
  • Split settings for packaging (7827984)

Fix

  • Use caluma-alexandria as package name (9baec0d)
  • Relax version ranges (25fbb68)
  • Fix jsonfilter (551d1e2)
  • Rename fields to metainfo and variant (4bfb7ed)
  • Upgrade dependencies (2eacf22)
  • Fix default auth backend settings (18ef3d9)

Breaking

  • renames meta to metainfo, type to variant (4bfb7ed)
  • drops django 2.2 (2eacf22)

v0.3.0

Feature

  • Make authentication backend configurable (23ebe28)
  • Add documents filtering with tag synonyms (3b68a74)
  • Add upload_status field to file models to track upload status (ea6cf87)

Fix

  • Dockerfile: Use poetry to run uwsgi (72fe409)
  • Make psycopg2 a regular dependency (301baf5)
  • deps: Move psycopg2-binary to dependencies (6d6e4e7)

v0.2.2

Fix

  • thumbnail: Use temporary directory instead of THUMBNAIL_CACHE_DIR (bb6aee4)
  • core: Delete unused tags (69dab65)

v0.2.1

Fix

  • Add the document_meta filter (6921558)
  • Extend uwsgi buffer (e2863e9)

Feature

  • Add endpoint for downloading multiple files as zip (bc15973)
  • Support more formats (4d5a656)

Fix

  • docs: Add hint about UID in .env to README (1506ea0)
  • Use debug auth backend by default (b47a7f0)
  • ci: Use correct claims for username (a1a2f0a)

v0.1.0

This is the first initial release. Things are still changing around here...

Feature

  • Custom validations (a969e06)
  • Search document description as well (a549e71)
  • dev: Fake auth backend (656e342)
  • With_documents_meta filter for tags (5b94ea2)
  • Make tag name monolingual (c00b831)
  • validation: Validate created_by_group (ffb2ecf)
  • filters: New active_group filter (795970b)
  • example data: Add a command to load example data (57daf08)
  • permissions: Authenticated user checks (ca6acd0)
  • tags: Add with-documents-in-category filter (5c8aab1)
  • document: Add search filter (02f768b)
  • document: Add filters for category and tags (66714ba)
  • category: Add color field (24e8d0f)
  • thumbnails: Implement generation of thumbnails (fdc4562)
  • permissions: Add permission layer (67f3cd1)
  • visibility: Add visibilities (a30a7f7)
  • filter: Add meta filter (aa5322d)
  • files: Add file models and api (6a7622c)
  • models: Add modified_{by,at} fields (74b9ee1)
  • auth: Add oidc authentication (76b99fe)
  • Initial models and api (5527540)

Fix

  • filters: Allow json value filter to do indirect lookups (617b3c0)
  • json filter: Be more tolerant (e3c13a0)
  • Deduplicate tags (7c42bde)
  • Correctly handle created_by_group, updated_by_group (588ef7a)
  • filters: Tag filter should accept multiple values (97f48cb)
  • validation: Correctly set created-by-(user/group) (5a3551d)
  • slug models: Make creation of slug models work correctly (60cddcb)
  • Categories are read-only on the API (6da613b)
  • Add app label (eef26cf)

Documentation