Commit graph

20 commits

Author SHA1 Message Date
Benjamin Renard 3abd2a328b
Introduce new pre-commit hooks and code cleaning 2024-01-23 19:23:10 +01:00
Benjamin Renard ff9f623f99
composer: fix ext-pdo requirement for PHP 8 compatibility 2023-07-10 18:03:55 +02:00
Benjamin Renard 909737a059 Rename the project author to allow to publish it on packagist.org 2023-02-26 18:38:57 +01:00
Benjamin Renard 610cdb0f7c Add authentication support 2023-02-25 05:02:27 +01:00
Benjamin Renard 16659cdaf6
Upgrade smarty 2023-02-23 12:00:12 +01:00
Benjamin Renard 83e4c2266e
composer: add license 2023-02-23 11:59:40 +01:00
Benjamin Renard f4d47b6ab6
Fix ext-json dependency declaration to work with all versions of Debian 2023-02-23 11:59:15 +01:00
Benjamin Renard 8ff2fe663d Fix PHP 7.3 compatibility 2023-02-16 01:53:08 +01:00
Benjamin Renard 73dc860972 I18n: Split translated messages of core and app in discting gettext domains 2023-02-14 01:21:52 +01:00
Benjamin Renard 5691494f12 I18n: fix extracting messages from all PHP, JS and templates files 2023-02-13 02:36:40 +01:00
Benjamin Renard 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
Benjamin Renard f2edf4910a Switch to YAML configuration file, add Config & App classes in EesyPHP namespace
App initialization is now handle by App::init() method and all 
configuration information is now retreive using Config::get() method.
2023-02-08 02:27:15 +01:00
Benjamin Renard 541b447cbf
Move DB stuff in EesyPHP namespace 2023-01-30 11:23:35 +01:00
Benjamin Renard 3b45768967 Move functions and logging stuff in EesyPHP namespace 2023-01-29 18:04:49 +01:00
Benjamin Renard 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 ced73d660e Add overtrue/phplint dev dependency and configure it 2022-04-24 18:30:13 +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 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 699b7c4d1f Initial version 2020-04-18 00:51:33 +02:00