Commit graph

10 commits

Author SHA1 Message Date
27af166466 Move Url stuff in EesyPHP namespace 2023-01-29 19:18:10 +01:00
6fdc5447f1 Some improvments from recent works on apps based on its "framework"
* 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
2023-01-29 11:51:41 +01:00
Benjamin Renard
0219714d4a Fix JS translations loading method to make translations available earlier 2022-04-24 20:17:48 +02:00
Benjamin Renard
c69dcfd38f Fix indentation method 2022-04-24 18:30:02 +02:00
Benjamin Renard
9886cb0720 Switch to SUXUMI bootstrap4dialog lib 2022-04-24 16:52:44 +02:00
Benjamin Renard
153ebd4902 Upgrade to Bootstrap 4.6 2022-04-24 16:52:16 +02:00
Benjamin Renard
444c1ec2fc Improve translations
- 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
2022-04-24 16:46:38 +02:00
Benjamin Renard
6d8abbf391 Always detect requested URL from REQUEST_URI
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).
2021-07-28 18:18:36 +02:00
Benjamin Renard
e936064b78 Add translation system and improve URL routing system 2021-07-28 17:13:10 +02:00
699b7c4d1f Initial version 2020-04-18 00:51:33 +02:00