Changelog History
Page 5
-
v4.0.5 Changes
June 08, 2021- π Turn the release notes upgrade instructions into a partial template.
- β Add support for Celery's max memory and tasks. Support
--max-memory-per-child
and--max-tasks-per-child
using the environment variablesMAYAN_WORKER_X_MAX_MEMORY_PER_CHILD
andMAYAN_WORKER_X_MAX_TASKS_PER_CHILD
. - β Add commented Docker compose database port entry.
- π Support Gunicorn's
--limit-request-line
via theMAYAN_GUNICORN_LIMIT_REQUEST_LINE
environment variable. - π Improve the Docker image environment variables chapter. Include missing variables and automate displaying the default values of several. Organize variables by topic.
- Exclude trashed documents from the workflow runtime proxy document count.
- π Fix metadata form
KeyError
exception when required metadata is missing. Closes GitLab issue #997. Thanks to Raimar Sandner (@PiQuer) for the report and debug information. β‘οΈ Document file and version page image updates:
- Improve document version page base image cache invalidation on source image transformation updates.
- Optimize transformation list generation by replacing several loops with list extensions.
- Avoid using the source content transformations when calculating the document version transformation list hash. This cause duplicated document version page transformation in some cases. Closes GitLab issue #996. Thanks to Reinhard Ernst (@reinhardernst) for the report and debug information.
- Improve document version page image API URL hash uniqueness generation. Ensure browsers do not use a cached document version page image when the transformations of the source object of the version are updated.
-
v4.0.4 Changes
June 05, 2021β‘οΈ Merge updates from version 3.5.10
- Remove event decorator database transaction Solves workflows not being launched on document creation. Closes GitLab issue #976 and issue #990, thanks to users Megamorf (@megamorf), A F (@adzzzz) for the reports and debug information.
-
v4.0.3 Changes
June 03, 2021β‘οΈ Merge updates from version 3.5.9
- Fix user model theme related field error after deleting a theme already assigned to a user. Closes GitLab issue #972. Thanks to Niklas Maurer (@nmaurer) for the report.
- Add duplicate document tool tests.
- Speed up some OCR view tests.
- Add explicit Docker logout repository in CD/CI jobs.
- Fix permission required for the document content error list link to match the permission required for the document parsed content error list view. GitLab issue #954. Thanks to Ilya Pavlov (@spirkaa) for the report.
- Fix permission required for the OCR content delete link to match the permission required for the OCR content delete view. GitLab issue #954. Thanks to Ilya Pavlov (@spirkaa) for the report.
β‘οΈ Update dependency versions:
- django-solo from version 1.1.3 to 1.1.5.
- python-magic from version 0.4.15 to 0.4.22
β‘οΈ Makefile updates
- Unify Docker test with staging targets.
- Replace underscore in target names with hyphen for uniformity.
- Add Redis Docker test targets.
β‘οΈ Lock manager updates
- Rename get_instance() method to get_backend(). This method returns a class and not an instance.
- Add management command tests.
- Add optional _initialization method for backends.
- Update the RedisLock backend to use a connection pool.
β‘οΈ Update Docker entrypoint template to support default worker concurrency values. Now correctly passes the default concurrency value of the D class worker.
β‘οΈ Updated REST API examples for version 4 of the API.
-
v4.0.2 Changes
May 25, 2021β‘οΈ Messaging app updates:
- Add links to set messages as unread.
- Automatically set messages as read upon accessing them. GitLab issue #981, thanks to Ilya Pavlov (@spirkaa) for the report.
- Disable links to mark messages as read or unread based on the state of the message.
π Clarify Redis and Lock manager upgrade steps.
β‘οΈ Action dropdown template updates:
- Move dropdown template partial to the navigation app.
- Remove unused {{ link_extra_classes }}.
- Remove obsolete dropdown HTML markup.
π Fix action menu disabled link appearance.
Correct user_settings folder creation step. Closes GitLab issue #984. Thanks to Matthias LΓΆblich (@startmat) for the report.
Ensure the API authentication has completed before doing initial filtering. Fixes API views returning 404 errors when using token authentication.
π Minor source string fixes.
β‘οΈ Update Django REST framework from version 3.11.0 to 3.11.2.
β‘οΈ Update PIP from version 21.0.1 to 21.1.1.
β‘οΈ Update django-mptt from version 0.11.0 to 0.12.0.
β Add ordering to cabinets. Closes GitLab issue #986. Thanks to Hanno Zulla (@hzulla) for the report.
-
v4.0.1 Changes
May 20, 2021- π Fix group and user setup link conditional disable not working as expected.
- π Fix Docker environment variables documentation chapter regarding worker concurrency.
- β Add troubleshooting section regarding document file access after upgrade to version 4.0.
- Allow migration of the settings
DOCUMENTS_STORAGE_BACKEND
andDOCUMENTS_STORAGE_BACKEND_ARGUMENTS
for more situations.
-
v4.0 Changes
May 19, 2021- β Add document version page list reset.
- β Add document version page delete.
- β Add document version hash from content object.
- π Improve file and version page max page calculation.
- β Add version page navigation.
- π Support document file deletion.
- π Move document download code to document file.
- β Add document file permissions.
- β‘οΈ Move page count update to document file.
- Several renames for consistency. Use the major, minor, verb order for variable names in more places.
- π Point document to latest document version. This removes the document page views and makes them aliases of the document version pages views.
- β Add document version deletion.
- β Add document file properties view.
- β Remove page disabling/enabling.
- β Add document version page model.
- β Add caches, settings and handlers for the document version cache.
- β Add document version page image API.
- π Rename
DocumentPage
model toDocumentFilePage
. - Invert the document and OCR migrations dependency. Makes the OCR migration dependent on the documents app migration. This allows disabling the OCR app.
- π New event ignore and keep attribute options
- No results template for file list view.
- π Fixed version page append
- Convert document model save method to use event decorator.
- β‘οΈ Update file hooks to work when there is not previous file.
- β Remove all remaining orientation support. Remove rotation test files.
- β Add multi document version delete.
- β Add a generic multi item delete view.
- Longer document file action texts.
- Document stub recalculation by file save and delete
- π Better document version page remap
- β Reorganize and split document model tests
- β Add file upload mixin method.
- Unify the action dropdown instances into a new partial called
appearance/partials/actions_dropdown.html
. - π Move the
related
menu from the "Actions" to thefacet
area. - β Add sources to their own menu.
- β Add
mode
argument to SharedUploadedFile. - β Split document app model tests into separate modules.
- β Split document app test mixins into separate modules.
- π Fix the appearance of the automatically generated view titles.
- β Add a new "Return" menu for secondary object views.
- π Use the "Return" menu for the document version, document version page, document file, and document file page views.
- β Remove the "File..." reference to the document file form fields as these are now obvious.
- β Add more return links. From document version to version list, from document file to document file list, from document version page to document, from document file page to document.
- β Add document version edit view. Allows editing the document version comment.
- π Improve the return links with the chevron as the uniform secondary icon.
- π Rename the document view, document version view and document file views to document preview, document file preview and document version preview.
- π Enable more cabinets, checkouts, document comments, metadata, linking, mailer, mirroring, web links apps.
- π Allow using staging folders for new document file uploads.
- β Add conditional source link highlighting.
- β Add document version create view and permission.
- β Add validation and test for repeated document version page numbers.
- π Improve page remap code and add annotated content object list support.
- Don't display the file upload link on the document file delete view.
- β‘οΈ Update shared upload file to allow storing the original filename.
- Upload the new document file upload code path to conserve the original filename.
- π Rename
DeletedDocument
toTrashedDocument
, same with the corresponding trashed fields and manager methods. - β Add document file download event.
- β‘οΈ Update Dropzone from version 5.4.0 to 5.7.2.
- π Rename all instances of
icon_class
toicon
as only icon instances are used now in every app. - β Add icons to the mark notification as seen and mark all notification as seen links.
- Switch both view to mark notification as read to use the POST request via a confirmation view.
- Return the event type subscription list sorted by namespace label and event type label.
- π Make the search fields more uniform and add missing ones.
- β Add full label for search parent fields.
- β Add events for the document type quick label model.
- β Add dedicated API endpoints for the document type quick label model.
- β‘οΈ Update the file cache partition purge view to be a generic view that can be called using the content type of an object. Adds a new file cache partition purge permission.
- β Added
ContentTypeTestCaseMixin
. - β
Include
EventTestCaseMixin
as part of the base test case mixin. - π Rename usage of "recent document" to the more explicit "recently accessed document". This was done at the mode, view and API level. The recently accessed document API will now require the document view permission.
- β Rename the document model
date_added
field todatetime_created
to better reflect the purpose of the field. - β Add a
RecentlyCreatedDocument
proxy and associate the recent document columns to it. - π Move the recently created document query calculation to its own model manager.
- β Add the recently created document API.
- β Add favorite documents API.
- Rename the
misc_models.py
module toduplicated_document_models.py
. - Split the
document_api_views.py
modules intodocument_api_views.py
andtrashed_document_api_views.py
. - β Add date time field to the favorite documents models to ensure deterministic ordering when deleting the oldest favorites.
- Rename the setting
DOCUMENTS_RECENT_ACCESS_COUNT
toDOCUMENTS_RECENTLY_ACCESSED_COUNT
, andDOCUMENTS_RECENT_ADDED_COUNT
toDOCUMENTS_RECENTLY_CREATED_COUNT
. Config file migrations and migration tests were added. Environment and supervisor settings need to be manually updated. - Document stubs without a label will now display their ID as the label. This allows documents without files or versions to be accessible via the user interface.
- β Add the reusable ObjectActionAPIView API view. This is a view that can execute an action on an object from a queryset from a POST request.
- π Improve proxy model menu link resolution. Proxy model don't need at least
one bound link anymore to trigger resolution of all the parent model links.
The inclusion logic is now reverse and defaults to exclusion. Menu need to
be configured explicitly enable to proxy model link resolution using the new
.add_proxy_inclusions(source)
method. - π Move the duplicated documents code to its own app.
- β Add duplication backend support to the duplicates app.
- β Add duplicates app API.
- β Add support for search model proxy registration.
- β Remove the
views
arguments from the SourceColumn class. Use models proxies instead to customize the columns of a model based on the view displayed. - β Add document type change workflow action.
- π Rename WizardStep to DocumentCreateWizardStep. This change better reflects its purpose and interface.
- π Move DocumentCreateWizardStep to the sources.classes module.
- β Add automatic loading support for the
wizard_step
modules. It is no longer necessary to import these modules inside the App's .ready() method. - β‘οΈ Update API endpoints to use explicit primary key URL keyword arguments.
- Split workflow models module into separate modules.
- π Remove usage of Document.save(_user). The event_actor attribute is used instead.
- Convert the key creation and expiration fields to date and time fields.
- β Add creation and download events for keys.
- β Add event subscription for keys.
- Include time of document signatures. Closes GitLab issue #941. Thanks to forum user Tomek (@tkwoka) for the report and additional information.
- β Add document signature tool to refresh the content of existing signatures when there are database or backend changes.
- π Moved
ObjectLinkWidget
to the views app. - β Add global ACL list view.
appearance_app_templates
now passes the request to the templates being rendered.- β Remove the user impersonation fragment form the
base.html
template and moved it to its own viewport template. - Enable subscribing to user impersonation events.
- Enable impersonation permission for individual users.
- π Allow impersonating users from the user list view.
- β‘οΈ Update jQuery from version 3.4.1 to 3.5.1.
- π Move user language and timezone code from the
common
app to a new app calledlocales
. - π Move common and smart settings app
base
template markup to their own apps via theviewport
app template. - π Rename document comment model's
comment
field totext
. - π Support sorting document comments by user or by date.
- π Increase the size of the
Lock
lock manager modelname
field to a 255 char field. Closes GitLab issue #939. Thanks to Will Wright (@fireatwill) for the report and investigation. - Add example usage for the
COMMON_EXTRA_APPS
andCOMMON_DISABLED_APPS
. Closes GitLab issue #929. Thanks to Francesco Musella (@francesco.musella-biztems) for the report. - Reorganize mixins. Add a suffix to specify the purpose of the mixin and move them to different module when appropriate.
- π¨ Refactored the notification generation for efficiency, scalability and simplicity. Only users subscribed to events are queued for notifications. Content types of event targets and action objects is reused from the action model instead of gathering from inspection. Nested loop removed and lowered to a single loop.
- β‘οΈ Optimize SourceColumn resolution. Support column exclusion for all object
types. Ensure columns are not repeated when resolved even if they were
defined multiple times. Improve docstring for the resolution logic in each
level. Remove unused
context
parameter. Add SourceColumn tests. - π Support defining the default
SearchModel
. This allows removing the hard coded search model name from the search template and allows third party apps to define their own defaultSearchModel
. - β‘οΈ Update MySQL Docker image from version 5.7 to 8.0. PostreSQL image from version 10.14 to 10.15. Redis image from version 5.0 to 6.0.
- π Move time delays from test and into its own test mixin. Remove MySQL test delays.
- Standardize a class for the widgets of the class
SourceColumn
namedSourceColumnWidget
. - The cabinet view permission is now required for a document, to be able to view which cabinets contain that document. This change mirrors the permission layout of the metadata and tag apps.
- π File caching now uses the same lock for all file methods. This ensures that a cache file that is being deleted or purge is not open for reading and vice versa.
- π A method decorator was added to the lock manager app to ease usage of the same lock workflow in methods of the same class.
- The error handling of the
CachePartitionFile
methods was improved. This ensures proper clean up of stray storage files on model file creation error. The model now avoids accessing the model file for clean up on model file creation error, which would raise a hard to understand and diagnose missing file entry error. The model now avoids updating cache size on either model or storage file creation error. - Support disabling form help texts via
form_hide_help_text
. - β‘οΈ Docker image tagging layout has been updated. Images are tagged by version and series. Series have the 's' prefix and versions have the 'v' prefix.
- β Added API endpoints for the Assets model.
- β Added cached image generation for assets.
- β Added asset detail view with image preview.
- β Added a detail view for the cache model.
- β Added the
image_url
field to the Workflow template serializer. - β Added retry support for the workflow preview generation task.
- β‘οΈ Updated the autoadmin app to use the login template
login_content
template hook. This allows the autoadmin app to show login information without directly modifying the login template. - β‘οΈ Update tags app to improve user event tracking on view and API.
- π Support deleting multiple document files.
- Track document file deletion event user in views.
- Rename
setting_workflowimagecache_storage
tosetting_workflow_image_cache_storage_backend
. - π Support collapsing the options of the menus "list facet" and "object" when
in list view mode. This behavior is controlled with the new settings:
COMMON_COLLAPSE_LIST_MENU_LIST_FACET
andCOMMON_COLLAPSE_LIST_MENU_OBJECT
. Both default toFalse
. - β Added a check to the task manager app to ensure all defined tasks are
properly configure in their respective
queues.py
modules. - β‘οΈ ACL apps updates: Add ACL deleted event, track action actor in API and views. Simply API views using REST API mixins. Update API views to return 404 errors instead of 403, move global ACL list to the setup menu, model that are registered for ACLs are now also automatically register events in order to receive the ACL deleted event, improve tests and add more test cases.
- β‘οΈ Update AddRemoveView to only call the underlying add or remove methods only if there are objects to act upon instead of calling the method with an empty queryset which would trigger unwanted events.
- β Add
ExternalContentTypeObjectAPIViewMixin
to the REST API app. This mixin simplifies working with models that act upon another object via their Content Type, such as the ACLs. - β‘οΈ Update the ACL app to support multiple foreign object permission
inheritance. Support for
GenericForeignKey
non defaultct_field
, andfk_field
was also added. - β Added support to export the global events list, object events list and user events list.
- Registering a model to receive events will cause it to have the object
event view and object event subscription links bound too. This can
be disabled with the
bind_links
argument. The default menu to bind the links is the "List facet". This can be changed via themenu
argument. - π Change the format of the
file_metadata_value_of
helper. The driver and metadata entry are now separated by a double underscore instead of a single underscore. This allows supporting drivers and entries that might contain an underscore themselves. - β Add
databases
app to group data and models related code. - β Add class support for scoped searches. GitLab issue #875.
- β Add sorting support to the API.
- β‘οΈ Updated how the user interface column sorting works. The code was simplified by using a single query variable. The code was expanded to support multiple fields in the future. The URL query key used for column sorting was changed to match the API sorting.a
- β Added the
databases
app. This app groups data and models related code. - β Added a patch for Django's
Migration
class to display time delta for each migration during development. β‘οΈ Docker Compose updates:
- Use profiles for extra containers.
- Converted to use extensions to remove duplicated markup.
- A new container was added to mount an index.
- Added support for Traefik.
- Added sample .env file.
- Update required Docker Compose to version 1.28.
β Add a third document filename generator that used an UUID plus the original filename of the uploaded file. This generator has the advantage of producing unique filename while also preserving the original filename for reference.
β Add support for the "Reply To" field for sending documents via email and for the mailing workflow actions. Closes GitLab issue #864. Thanks to Kevin Pawsey (@kevinpawsey) for the request.
π Allow customization of the error condition when generating document images. This allows displaying more icons in addition to the generic document image error with additional contextual information and popup messages explaining the actual error condition.
β Add key attributes to the document signature serializers. Forum topic 5085. Thanks to forum user @qra for the request.
β Added key attributes to the document signature model as calculated properties.
π Move detached signature upload from the created endpoint to a new /uploaded endpoint.
β Added document signature events.
π¨ Refactored the workflows app.
- Rebalance permissions needed to transition a workflow instance. The workflow instance transition permission is now needed for the document and for either the transition or the workflow.
- Add more tests including trashed document tests.
- Split API tests into instance and template tests.
- Add
workflow-instance-log-entry-detail
end point. - Add parent URL fields to serializers.
- Allow passing extra data when transitioning a workflow via the API.
- Limit state options to workflow when using the API. This matches the UI behavior.
Renamed the AddRemove view
main_object_method_add
tomain_object_method_add_name
andmain_object_method_remove
tomain_object_method_add_remove_name
.β Add
has_translations
flag to MayanAppConfig to indicate if the app should have its translation files processed or ignored. Defaults toTrue
.β¬οΈ Dependency version upgrades:
- coverage from 5.1 to 5.5.
- Django to 2.2.23.
- django-debug-toolbar to 3.2.
- django-extensions to 3.1.2.
- django-rosetta to 0.9.4.
- django-silk to 4.1.0.
- flake8 to 3.9.0.
- ipython to 7.22.0.
- pycounty to 20.7.3.
- requests to 2.25.1.
- Sphinx to 3.5.4.
- sh to 1.14.1.
- sphinx-autobuild to 2021.3.14.
- sphinx-sitemap to 2.2.0.
- sphinxcontrib-spelling to 7.1.0.
- tornado to 6.1.
- tox from 3.14.6 to 3.23.1.
- transifex-client to 0.14.2.
- twine to 3.4.1.
- wheel to 0.36.2.
π Fix sub workflow launch state action.
Convert the workflow instance creation to a background task.
β‘οΈ File caching app updates
- Add cache partition purge event.
- Use new event decorator.
- Use related object as the cache partition purge event action object.
- Allow cache prune to retry on LockError.
- Add maximum cache prune failure counter.
- Remove possible cache file lock name collision.
β Add locking to the duplicated document scan code to workaround race condition in Django bug #19544 when adding duplicated documents via the many to many field
.add()
method.β Remove the default queue. All tasks must now be explicitly assigned to an app defined queue.
π Update file cache to use and LRU style eviction logic.
Only prune caches during startup if their maximum size changed.
β Add detection of excessive cache pruning when cache size is too small for the workload.
Detect and avoid duplicated queue names.
β Add a fourth class of worker.
Re-balance queues.
π· Rename workers from
fast
,medium
, andslow
toA
(fast),B
(new workers),C
(medium),D
(slow).β Add support for passing custom nice level to the workers when using the Docker image
run_worker
command. The value is passed via theMAYAN_WORKER_NICE_LEVEL
environment variable. This variable defaults to0
.Avoid adding a transformation to a layer for which it was not registered.
β Add LayerError exception.
π Fix redaction ACL support.
β Add support for typecasting the values used to filter the ACL object inherited fields.
π Rename the
mayan_settings
directory, which is used to allow custom setting modules, to the more intuitiveuser_settings
.
-
v3.5.7 Changes
March 28, 2021- β‘οΈ Update the sample LDAP settings file to add note about package
version pinning required by the use of the Buster Backports.
Closes GitLab issue #693. Thanks to Ryan Showalter (@ryanshow) for
the report and Ilya Pavlov (@spirkaa) for a solution.
The package list for
MAYAN_APT_INSTALLS
for the LDAP setting file is now "gcc libldap2-dev/buster-backports libsasl2-dev python3-dev". - β‘οΈ Update Docker base image from debian:10.7-slim to debian:10.8-slim.
- β‘οΈ Update file caching migration 0005 to have Django generate the SQL query for each respective backend. Closes GitLab issue #964. Thanks to forum user @lsmoker for the report and research.
Backports from version 4.0:
- 432ec35eb7bb0b8da4765f86cb6491e7667b4831
Ensure all tasks are properly configured. Added a check to the task
manager app to ensure all defined tasks are properly configure in
their respective
queues.py
modules. - Fix dynamic search task names during queue registration.
- b883c647e943be0ef62096c456118f86ef3534ac 1e7d85175d7379fc7dca454462497db960635e3e Raise object creation and edit exceptions during testing.
- 14bdcb704269c43b8e9553aaf905e54ca7f16ced Don't remove arguments from overloaded .save(). Pass all arguments to the super class save method. Scrapping the arguments hide errors during testing.
- 9fc9288b52d63aa288e430a9cc1f8fd1a4295747
Test communication with the locking backend when the app loads.
Add support for purging
RedisLock
backend locks. Prefix all locks in theRedisLock
backend to avoid name clashing when using the same database. Ensure the default timeout setting is used by the backends.
- 432ec35eb7bb0b8da4765f86cb6491e7667b4831
Ensure all tasks are properly configured. Added a check to the task
manager app to ensure all defined tasks are properly configure in
their respective
π Move task manager app to the top of the installed apps. This ensures all queues are created before any other app tries to use them. Fixes the error:
celery.exceptions.QueueNotFound: "Queue 'default' missing from task_queues"
β Add connectivity check for the Celery broker URL and the result backend settings. Closes GitLab issue #940. Thanks to Vadim Radu (@vd-rd) for the report.
β‘οΈ Update the Docker Compose file to allow specifying a different database host as well as a different image tag for the Mayan, PostgreSQL and Redis containers.
β Added the
fuse
package to the Docker image.β‘οΈ Updated the Docker Compose file to load an env file.
β Added a default env_file with some examples uses.
π Ensure logging is available early. Move logging init to the logging app and move the logging app to the top of the app list.
β Backport multiple test document types code.
π Allow not updating required metadata with value. A validation was raised when metadata update checkbox was disable and the metadata was required. This behavior is now fine tuned to not raise a validation error if the metadata already has a value which would comply with the original purpose of required metadata. Closes GitLab issue #936. Thanks to Raimar Sandner (@PiQuer)for the report.
π Make the metadata type id usage more explicit in formsets.
- β‘οΈ Update the sample LDAP settings file to add note about package
version pinning required by the use of the Buster Backports.
Closes GitLab issue #693. Thanks to Ryan Showalter (@ryanshow) for
the report and Ilya Pavlov (@spirkaa) for a solution.
The package list for
-
v3.5.6 Changes
March 14, 2021Port improvements from Series 3.4:
- Update Django from version 2.2.16 to 2.2.19.
- Optimize file caching migration 0005
- Optimize file metadata migration 0003
π Make the
ObjectActionMixin
messages translatable.π Use recent PIP to avoid installing Rust.
Specify which PIP version to use.
π Improvements merged from series 3.3 and 3.4.
-
v3.5.5 Changes
January 05, 2021- π Merge improvements and fixes from the 3.4 series.
- π Improve the Single Page App AJAX content escape logic. This avoids an infinite login redirect loop on some browsers.
- Avoid self-referencing dictionaries when resolving primary key URL keyword arguments.
- β‘οΈ Translation updates.
- β Remove CD/CI MySQL tests. MySQL does not yet support sliced subqueries. This queryset paradigm is used in Mayan EDMS to avoid keeping temporary lists of IDs in Python memory and allow moving all queryset computation to the database layer. This is the cause of error 1235, "This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'".
- π Allow trashed documents to still display a thumbnail and accurate page count.
- Filter trashed documents from the active workflow and workflow states document lists.
-
v3.5.4 Changes
December 14, 2020- Document stubs without a label will now display their ID as the label. This allows documents without files or versions to be accessible via the user interface.
- Return the event type subscription list sorted by namespace label and event type label.
- β Add icons to the mark notification as seen and mark all notification as seen links.
- β‘οΈ Updated events test mixins. Allow returning one, many or all events.
- Clean up API end point enumeration API view.
- Split the misc_models.py models module into different modules.
- Stricter filtering and permission checking for duplicated documents. Users now need the document view permission for all duplicated documents for any of them to show up in the duplicated document list. The duplicate count column now performs filtering and will only show the count of duplicated documents that the user can access.
- Updated
.get_external_object_queryset
to ensure that the queryset is always up to date when the view is accessed. - β‘οΈ Update app views to filter trashed documents. Closes GitLab issues #910 and #920. Thanks to Sven Gaechter (@sgaechter), Francesco Musella (@francesco.musella-biztems), Kevin Pawsey (@kevinpawsey), and None Given (@nastodon) for the reports and debug information.
- π Move all static values from setting modules to the literals modules. Closes GitLab issue #852.
- β‘οΈ Update workflow instance access requirements to match the intended layout and the current REST API layout. In order to view the list of log entries and the list of workflow instances of a document, the workflow permission view is now required for the document as well as the workflow template. This double permission requirement now matches the same design as the metadata and tags apps.
- Django's global_settings module instead of the settings module which is not ready at the time the default are computed.
- β Add API endpoints for the workflow transition fields model.
- β Add
libarchive-zip-perl
to the Docker image to allow EXIFTOOL to retrieve Zip file metadata. Closes GitLab issue #918. Thanks to Enrico Gargale (@egargale) for the request. - β‘οΈ Update Docker image from version debian:10-5 to debian:10-7.
- π· Switch the base image of the GitLab CI file from ubuntu 19.10 to debian:10-7.