Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Various improvements #11

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

pgrunewald
Copy link
Contributor

Hello,

we are running a fork and gathered various fixes and some minor changes. Now we would like to contribute our work to the original repository.

Changes:

  • Required fields are not dependent from language fallback anymore [sebasgo]
  • Reset language after scaling images [pgrunewald]
  • Make indices resilient [sebasgo]
  • Fix Image Bobo traversing for fullscreen view [sebasgo]
  • Allow language fallback for brains [pgrunewald]
  • Fix lazy initialization with respect to plone.protect [sebasgo]

Please feel free to ask questions if anything is unclear or should be changed. We would be happy to see our production code in this package, which we are using now for several years.

best regards

sebasgo and others added 8 commits March 14, 2017 13:09
Especially reset language before, if no specific language is requested.
Don't rely on the presence of the language tool. Unindexing can happen after the tool is deleted, e.g. if the portal is being deleted.
Fixes the image fullscreen view
Otherwise other monkey patches will fail due to the signature mismatch.
The multilanguage indexes create their per-language subindexes lazely.
This has to be marked as a safe write if one is using the automatic
CSRF protection of plone.protect.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants