ome / omero-web

Django-based OMERO.web client
https://www.openmicroscopy.org/omero
16 stars 29 forks source link

Deprecate omeroweb.filesessionstore #486

Closed sbesson closed 12 months ago

sbesson commented 1 year ago

Fixes #472

This custom SessionStore backend was introduced almost a decade ago to address an issue with the upstream store not respecting the file expiration. As discussed in the associated issue and indicated in the original commit message, this store was expected to be a temporary workaround and removed eventually in favor of the Django built-in file backend.

 Summary

This PR includes the following changes:

746caace22a1074743f54f3bb9b7b25b96f9d175 is arguably the biggest change in the initial proposal and could be reverted if we decided to keep the existing logic. Note in that case, the implementation would likely need to be reconciled with the upstream changes as part of the Django 4.2 upgrade effort (#480).

Impact

The impact of this change on existing OMERO.web deployments should be minimal as:

Testing