[TASK] Remove I18n helper again¶
This basically reverts commit 728177b1d6ebd51fb6203da65a074aee90182493.
Functionality has been moved to the existing Flow
TranslationHelper to avoid duplicate helpers and
a hard dependency on Flow in EEL.
- Commit: 221b4da
[BUGFIX] Return simple string when id provided isn’t a i18n label¶
When using the I18nHelper and providing only the id argument, it should return the string as is if it’s not a valid label id.
- Related: NEOS-1362
(cherry picked from commit 26cd2f7e8c00366a8cb407ef86bf76976dfd400b)
- Commit: f23e59d
[BUGFIX] Only set locale in I18nHelper if not NULL¶
When providing a single argument (id) to the translate method the helper tries to set the locale in the translation parameter token to NULL, which results in an exception.
- Related: NEOS-1362
(cherry picked from commit fe411b4dcd348828fb4c89729878833afc001f1a)
- Commit: 8d7d41d
[TASK] Update references in documentation¶
- Commit: 148d7ac
[TASK] Merge Eel I18n helper into TranslationHelper in Flow¶
The I18n helper cannot reside in EEL as it creates a hard dependency on Flow that we want to avoid. Instead it should be merged into the TranslationHelper in Flow that already existed.
- Commit: 2265108
Flow 3.0 depends on some new 3rd party package versions. Because the name of some of those packages have been changed the casing, this leads to exceptions like:
Package "doctrine.instantiator" is already registered as "Doctrine.Instantiator"
By increasing the version, the
PackageStates.php file will be re-
generated automatically, removing obsolete package keys.
This is a breaking change because it will re-activate any previously disabled packages! If you want to avoid that, temporarily move affected packages into a separate directory or disable them after upgrading.
[BUGFIX] Fix site locking¶
Site locking is prone to race conditions and should initialize much earlier in the request and use a reliable locking method.
This change moves the Locking to be beginning of the
Sequence and changes the locking method to use
is less prone to race conditions.
[BUGFIX] PersistentObjectConverter should correctly detect class¶
PersistentObjectConverter needs to know the class of an object
after conversion, as the object can be a doctrine proxy the use of
get_class is not correct and replaced by the TypeHandling utility which
resolves the correct name even with a doctrine proxy.
[TASK] Remove ChangeLogs for other branches from documentation¶
Having the ChangeLogs of all previous branches only balloons the documentation without a real gain.
- Commit: e17b8e8
[FEATURE] Allow to kickstart documentation for a package¶
The new kickstart:documentation command allows to create the needed skeleton for Sphinx-based documentation: conf.py, Makefile and a basic index.rst file.
(cherry picked from commit 2c4dcd294d19fa5bd6a5ba7c33280a2300b165b9)
- Commit: ed86aa7