* Code cleaning and fix some small errors using Phpstan
* Configure pre-commit to run Phpstan before each commit
* Some little improvments and logging, mail, smarty & URL libs
* Add Sentry integration
* Add Webstat JS code inclusion
* Install Smarty dependency using composer
Breaking changes:
* Rename Event class as HookEvent to avoid conflict with PECL event
* URL with refresh GET parameter now automatically trigger redirection without it
after page loading to avoid to keep it in URL
- URL routes now defaulty required authentication if
force_authentication special function is defined.
- handle_request() now trigger a fatal error if user try to access to
a required route and if force_authentication function is not defined.
- logging() now retreive username from $auth_user['username'].
- Add support for translations in JavaScript code using babel lib and
a custom PO file converter to JSON (using sepia/po-parser lib for
PO files parsing)
- Put translation CLI commands in a dedicated file
- update_messages CLI command now provide PO file initialization feature
using msginit and support of compendium files
- Keep current language in session
- allow selection using lang request parameter
- allow reseting current language using reset_lang request parameter
- improve logging problems
- add 'Hello word!' test to validate initializatio
It's permit to access raw URL parameter values without automatic
urldecode when access using $_GET or $_REQUEST. Also add
UrlRequest::get_param() method that allow to access raw parameters
values (without any decoding).