Commit graph

16 commits

Author SHA1 Message Date
4f47dc056d Tpl: Add stuff to handle static files
* Move example application in example sub-directory
* Widely use App::get() instead of Config::get()
2023-02-12 00:30:36 +01:00
d30abeb008 Move date parse/format helpers in dedicated class in EesyPHP namespace 2023-01-31 00:56:44 +01:00
c8659ea46f Move CLI stuff in EesyPHP namespace 2023-01-30 00:11:26 +01:00
5e8a2b6d1c Move translation (i18n) stuff in EesyPHP namespace 2023-01-29 23:35:17 +01:00
3b45768967 Move functions and logging stuff in EesyPHP namespace 2023-01-29 18:04:49 +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
dba4c6fa9e Make logging & message handling functions accept extra parameters to format messages using sprintf 2022-04-24 18:29:21 +02:00
Benjamin Renard
efc7352404 Code cleaning 2022-04-24 17:43:44 +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
a7e4ea8168 Add update_messages & compile_messages CLI commands 2021-10-07 20:59:40 +02:00
Benjamin Renard
6684efab2f Improve CLI usage message format 2021-10-07 20:49:07 +02:00
Benjamin Renard
a120571e62 CLI: add --trace parameter 2021-07-28 17:17:41 +02:00
Benjamin Renard
e936064b78 Add translation system and improve URL routing system 2021-07-28 17:13:10 +02:00
Benjamin Renard
ec452a1ff4 Use php-unidecode instead of incomplete without_accent() function 2021-07-28 16:12:01 +02:00
Benjamin Renard
254ac22a64 Improve CLI usage message 2020-11-18 18:33:39 +01:00
699b7c4d1f Initial version 2020-04-18 00:51:33 +02:00