Search found 277 matches

by michael
Thu Aug 04, 2022 11:28 pm
Forum: Releases
Topic: Version 4.2.9
Replies: 0
Views: 47

Version 4.2.9

Released: August 4, 2022 Status: Maintenance Changes Authentication The impersonation app template caching was disabled. This ensures the impersonation banner is triggered correctly in all edge cases where multiple frontend processes or load balancers are used. Settings The settings app templates ca...
by michael
Mon Aug 01, 2022 3:36 am
Forum: General topics
Topic: ElasticSearch search backend configuration
Replies: 4
Views: 153

Re: ElasticSearch search backend configuration

The command "search_initialize" needs to be executed to create the ElasticSearch indices. The command "search_status" will show the indices for each model and how many object the contain. A number of "-1" means the index for that model is not found. After running "...
by michael
Mon Aug 01, 2022 2:55 am
Forum: Issues or Errors
Topic: Error during signal_pre_upgrade signal
Replies: 2
Views: 44

Re: Error during signal_pre_upgrade signal

This seems to be a custom version of Mayan. Remove the custom code and try the upgrade again.
by michael
Mon Aug 01, 2022 2:51 am
Forum: General topics
Topic: Removing a SourceColumn
Replies: 2
Views: 96

Re: Removing a SourceColumn

That functionality is being added to the navigation classes but its not documented and not complete. Eventually all SourceColumn instances will have a 'name' attribute to be able to reference them independently and removed. Example from events/apps.py SourceColumn( attribute='timestamp', is_identifi...
by michael
Thu Jul 28, 2022 5:33 am
Forum: Releases
Topic: Version 4.3
Replies: 0
Views: 97

Version 4.3

Released: July 27, 2022 Status: Stable Changes Appearance The Single Page App JavaScript navigation code was streamlined to remove redundant code and use newer JavaScript paradigms. The custom HTTP response code used for AJAX redirects can now be configure via the new setting APPEARANCE_AJAX_REDIREC...
by michael
Sun Jul 24, 2022 7:59 am
Forum: Releases
Topic: Version 4.2.8
Replies: 0
Views: 35

Version 4.2.8

Released: July 22, 2022 Status: Stable Changes CD/CI The GitLab CI file was updated to support releasing testing builds of the Python library and the Docker image separately. The new GitOps branches are releases/testing_docker and releases/testing_python . The existing GitOps branch of releases/test...
by michael
Sun Jul 24, 2022 6:26 am
Forum: Issues or Errors
Topic: ElasticSearch bulk reindexing errors
Replies: 2
Views: 104

Re: ElasticSearch bulk reindexing errors

This error message took a long time to figure out. Here is what we've discovered. Document UUID fields are typecasted as ElasticSearch `Keyword` fields. A Mayan document UUID field is 36 characters long. It turned out that ElasticSearch Keyword fields cannot hold unlimited data and are restricted to...
by michael
Sun Jul 24, 2022 6:16 am
Forum: Issues or Errors
Topic: [Solved] duplicate key value violates unique constraint "file_caching_cache_defined_storage_name_key"
Replies: 2
Views: 65

Re: [Solved] duplicate key value violates unique constraint "file_caching_cache_defined_storage_name_key"

Hi, That field is marked as unique and enforced at the database layer. It is also updated using Django's `update_or_create` manager method which is guaranteed to be thread-safe and does not suffer from race conditions. This appear to be a problem with a corrupted database. There is a contradiction b...
by michael
Sun Jul 24, 2022 6:04 am
Forum: Issues or Errors
Topic: "Recently created" widget permission?
Replies: 1
Views: 45

Re: "Recently created" widget permission?

Fixed in version 4.2.8 => https://gitlab.com/mayan-edms/mayan-edm ... ISTORY.rst

Thanks for the report.
by michael
Sun Jul 24, 2022 6:01 am
Forum: General topics
Topic: Download link in dashboard widget
Replies: 2
Views: 98

Re: Download link in dashboard widget

This would be how I would implemented such a feature, with the disclaimer that this is not the intended use for the SourceColumn service. # html_widgets.py from django.apps import apps from django.core.exceptions import PermissionDenied from django.urls import reverse from mayan.apps.documents.permi...