[TASK] Update references in documentation¶
- Commit: 183cf7a
[BUGFIX] Do not register lifecycles for unproxied entities¶
When entities are annotated @Flow\Proxy(false), lifecycle methods for fix* are still registered in the AnnotationDriver, leading to an exception being thrown by doctrine that the lifecycle callback method does not exist.
Since unproxied classes are not supposed to work with AOP/DI and those fix* methods only deal with that, the registration of those fixes is unneeded in that case.
This changeset fixes that, by only registering lifecycle callbacks on entities that are proxied.
- Commit: 613051e
[FEATURE] Request patterns for host name and IP addresses¶
This change adds RequestPatterns for host name and IP addresses.
Host names are configurable with a simple wildcard (‘*’) pattern, IP
CIDR style pattern with support for both
Only grant access to clients with IPs from 192.168.178.0 to 192.168.178.255:
TYPO3: Flow: security: firewall: rejectAll: TRUE filters: 'ip': patternType: 'Ip' patternValue: '192.168.178.0/24' interceptor: 'AccessGrant'
Protect an area of your application file based authentication and IP
check (only trigger authentication and entry points for clients with an
TYPO3: Flow: security: authentication: providers: 'LocalNetworkProvider': provider: 'FileBasedSimpleKeyProvider' providerOptions: keyName: 'AdminKey' authenticateRoles: ['Acme.SomePackage:Administrator'] requestPatterns: controllerObjectName: 'Acme\\SomePackage\\Controller\\Administration\\.*' ip: '::7F00:1'
[BUGFIX] First Functional test run should not be marked risky¶
Changing globals inside of the test code (which includes the setUp method)
will set the test to risky and immediately skip the execution of the test.
Globals are now changed in
setupBeforeClass to avoid this problem.
- Commit: 5c188b4
[BUGFIX] Check if migrations exist before trying to register them¶
Currently the check for the existence of migration files is delegated to the doctrine/migration third party library.
The behavior has changed and an exception is thrown if the folder doesn’t exist. To not let the third party library handle that and to prevent this, the check is done upstream in Flow.
- Commit: a6ff94b
[TASK] Require doctrine/migrations 1.0.*¶
With doctrine/migrations not having had a stable branch for years, Flow always required dev-master. Now that 1.0 is being worked on, require that instead.
- Commit: c9e9567
[BUGFIX] Save unicode characters unescaped in JsonArrayType¶
As there might be the need of a string search in the JSON data all unicode characters should be stored unescaped to allow them to be properly searched and compared.
- Commit: c25b1eb