[BUGFIX] Set restrictfe cookie only for backend user authorisation.
- [TASK] Add more info to composer.json
- [TASK] Add some badges to README.rst
- [TASK] Add styleci / php_cs / scrutinizer configs
- [BUGFIX] array_unique($conditionResults) cannot be passed to reset() as the parameter $array expects a reference.
- [BUGFIX] The parameter $_params and $pObj is not used and could be removed.
- [BUGFIX] Make strict comparision of values.
- [TASK] Change exit() with die()
- [DOCS] Mods for docs.
- [DOCS] Docs update.
- [BUGFIX] Bring back 'ip' => '127.0.0.1' as default config.
- [CLENAUP] Remove not used use.
- [BUGFIX] Store BE_USER just after authorization because later in typo3/sysext/frontend/Classes/Http/RequestHandler.php BE_USER can be unset if he has no access to page tree, but we do not care about acceess to page tree for restrictfe. We only want to know if user logged sucessfully.
- [CLEANUP] PSR-2 formatting.
- [DOCS] Divide changlog from main README.rst into separate CHANGELOG.rst.
- [BUGFIX] Disable php inspecion for $_params in restrictFrontend($_params, &$pObj) - PhpUnusedParameterInspection.
- [TASK] Cleanup up on detecting for wrong naming for "exeptions" or "exception".
- [TASK][BREAKING] Move config to external class and remove hook to set additional config params as all params can be overwritten by config from $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['restrictfe']
- [TASK] Add separate class which hooks into BE login process and stores tx_restrictfe cookie after sucessful BE login. Additionally logout user if "tx_restrictfe_clearbesession" is set for user profile.
- Update ext_emconf.php.
- Documentation update.
a) Add "requestUri" condition and update documentation for "requestUri" usage. a) Update documentation with info that restrictfe is diabled for local instances.
- Update documentation with default settings.
- Remove "enable" $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['restrictfe']['enable']
- Set 127.0.0.1 as default IP that is allowed to see frontend without authorization.