Benjamin Renard
d422afa66e
smarty_table_ordered_th: fix computing URL
2023-01-30 11:24:13 +01:00
27af166466
Move Url stuff in EesyPHP namespace
2023-01-29 19:18:10 +01:00
a303f188f3
Move Sentry stuff in EesyPHP namespace
2023-01-29 18:17:50 +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
2c7689a43d
fatal_error now accept extra parameter for error message formating
2022-04-24 18:51:59 +02:00
Benjamin Renard
6b20a4a526
smarty: fix handling extra parameters in add_error() & add_message()
2022-04-24 18:51:30 +02: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
6d8812abb5
display_ajax_return(): Return HTTP 400 error code if success==false in retourned data
2021-07-28 17:16:43 +02:00
Benjamin Renard
d76c21c526
display_ajax_return(): add $pretty parameter
2021-07-28 17:15:46 +02:00
Benjamin Renard
e936064b78
Add translation system and improve URL routing system
2021-07-28 17:13:10 +02:00
Benjamin Renard
47a1d09e54
Set HTTP reponse code to 500 on FATAL error
2020-11-30 10:47:09 +01:00
Benjamin Renard
af1d112ae5
Move session stuff in dedicated file
2020-11-18 18:53:47 +01:00
699b7c4d1f
Initial version
2020-04-18 00:51:33 +02:00