Commit graph

17 commits

Author SHA1 Message Date
Benjamin Renard
83f1445799
Make core libs set their default config values in App
This permit to homogenize the method to store it and permit an access to 
all config default values.
Futhermore, core libs init() methods now does not handle parameters: all 
are taken from config.
2023-03-01 16:22:11 +01:00
Benjamin Renard
df4df3f746
Some adjustments to make App properly initializable in phpstan context 2023-03-01 11:06:22 +01:00
Benjamin Renard
24e3101dd0
Tpl: add fetch() method 2023-02-27 18:58:31 +01:00
Benjamin Renard
3742ce7448
Tpl::display(): add success event info on success hook and fix triggering it (and sentry span finish) on error 2023-02-27 18:53:40 +01:00
Benjamin Renard
eea359056b
Tpl: defaulty define upload_max_filesize variable from config 2023-02-27 16:58:28 +01:00
Benjamin Renard
765844bee9
Move handling webstats_js_code parameter in core code 2023-02-27 16:35:35 +01:00
610cdb0f7c Add authentication support 2023-02-25 05:02:27 +01:00
8ff2fe663d Fix PHP 7.3 compatibility 2023-02-16 01:53:08 +01:00
9cc0f8581a Tpl: add get_errors() / get_messages() & purge_errors() / purge_messages() methods 2023-02-15 23:51:11 +01:00
98f61c36eb Tpl: add var_dump function 2023-02-15 19:00:25 +01:00
d304d4741f Url: add optional additional info to Url handler 2023-02-15 18:58:17 +01:00
73dc860972 I18n: Split translated messages of core and app in discting gettext domains 2023-02-14 01:21:52 +01:00
317cb30cb3 Tpl: Add stuff to have multiple templates directories with priority 2023-02-13 00:42:37 +01:00
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
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
0eb2c543f1 Remove useless "use" statments in EesyPHP namespace 2023-01-31 01:00:56 +01:00
1fff8f0af4 Move templating stuff in EesyPHP namespace 2023-01-31 00:30:04 +01:00