Commit graph

107 commits

Author SHA1 Message Date
Benjamin Renard f499087241 Cli: add core_mode() method, set it in handle_args() and add an hook 2023-02-28 01:13:43 +01:00
Benjamin Renard 6aa4113310 Log: fix logging the right IP address when install behind a reverse proxy 2023-02-27 23:51:12 +01:00
Benjamin Renard bb62e5b53b Log: log an error when fail to open log file and add error_log() fallback 2023-02-27 23:51:12 +01:00
Benjamin Renard c55e29d1fa
Url: add add_url_parameters() method 2023-02-27 19:32:12 +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 de0763c5f6
Log: add filepath() method 2023-02-27 18:09:15 +01:00
Benjamin Renard 4f46c38643
Add possibility to define config parameters default value in app's options 2023-02-27 17:52:51 +01:00
Benjamin Renard 7e8b6ee5f2
App::isset(): remove unused parameter $config 2023-02-27 17:44:19 +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
Benjamin Renard c346252f55
App: add upload_max_filesize config parameter to set upload_max_filesize & upload_max_filesize 2023-02-27 16:15:47 +01:00
Benjamin Renard d461b28b7d
App & Config: add isset() and set() methods 2023-02-27 16:15:30 +01:00
Benjamin Renard 227e7bba7f
skel: add missing static directory 2023-02-27 14:46:33 +01:00
Benjamin Renard 9798fab49d Auth: add logged_in_from_session hook 2023-02-27 13:22:53 +01:00
Benjamin Renard 40fc2f8c75 Auth\Cas: fix handling fake_authenticated_user 2023-02-27 13:06:34 +01:00
Benjamin Renard 02b0bbcfad Add CLI command to initialize a new project 2023-02-26 23:53:16 +01:00
Benjamin Renard 4fae41d1ea Url::remove_trailing_slash(): improve method 2023-02-26 23:41:55 +01:00
Benjamin Renard bc54dd93e2 Fix loading autoload.php file in CLI eesyphp tool 2023-02-26 23:41:45 +01:00
Benjamin Renard 1f93f6a885 Update README file 2023-02-26 18:56:36 +01: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 460d6f788a Add Auth Db backend 2023-02-26 13:15:31 +01:00
Benjamin Renard 895d27c21b Db: fix debugging query 2023-02-26 13:14:42 +01:00
Benjamin Renard 32457c5f97 example: fix small error report by phpstan 2023-02-25 17:19:39 +01:00
Benjamin Renard 6a810bf75a I18n: fix handling core mode in po2json() 2023-02-25 17:19:17 +01:00
Benjamin Renard ab19389d9a Auth: fix some translation errors 2023-02-25 17:18:51 +01:00
Benjamin Renard 5b9d09b644 I18n: to not extract messages from vendor directories and Smarty cache templates files 2023-02-25 17:00:14 +01:00
Benjamin Renard 1d7387fb18 Auth: add logout hook 2023-02-25 15:55:29 +01:00
Benjamin Renard 9999f46c78 Auth: allow public access to set_user() method 2023-02-25 15:43:11 +01:00
Benjamin Renard a343cfa9c7 User: add access to raw info array 2023-02-25 14:59:43 +01:00
Benjamin Renard 3d9decdafd Auth Ldap: Fix typo 2023-02-25 14:49:45 +01:00
Benjamin Renard 33fcd6a92c User: add __toString() magic method 2023-02-25 14:49:39 +01:00
Benjamin Renard a4d2e3369c I18n: fix handling non-executable smarty-gettext/tsmarty2c.php script 2023-02-25 05:07:00 +01:00
Benjamin Renard 3edf176dc2 Url: store current request in a public static class variable to allow access from everywhere 2023-02-25 05:03:19 +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 f13e364d06
Log: fix logging the right exception backtrace in all cases 2023-02-23 11:58:19 +01:00
Benjamin Renard 8ff2fe663d Fix PHP 7.3 compatibility 2023-02-16 01:53:08 +01:00
Benjamin Renard 66b94fb7d6 Url::add_url_handler(): clean code and return bool 2023-02-16 00:52:09 +01:00
Benjamin Renard 5ce273cfad Add vim modeline in templates files 2023-02-15 23:55:36 +01:00
Benjamin Renard 9cc0f8581a Tpl: add get_errors() / get_messages() & purge_errors() / purge_messages() methods 2023-02-15 23:51:11 +01:00
Benjamin Renard 98f61c36eb Tpl: add var_dump function 2023-02-15 19:00:25 +01:00
Benjamin Renard d304d4741f Url: add optional additional info to Url handler 2023-02-15 18:58:17 +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 9213ae076f I18n: fix CLI commands messages 2023-02-13 03:02:00 +01:00
Benjamin Renard 5bd930c838 I18n: fix locles JS file path in compile_messages CLI command 2023-02-13 02:48:37 +01:00
Benjamin Renard 799554951b Code cleaning in example app 2023-02-13 02:43:31 +01:00
Benjamin Renard 5691494f12 I18n: fix extracting messages from all PHP, JS and templates files 2023-02-13 02:36:40 +01:00