Commit graph

39 commits

Author SHA1 Message Date
Benjamin Renard 4907442122
Example: use AttrSet and cleanup way to handle item status possible values 2024-02-18 19:40:58 +01:00
Benjamin Renard 07b6fa1305
Restructure example as skel 2024-02-18 18:28:00 +01:00
Benjamin Renard 2f38884798
Adjust example to use DBObject and CSV export 2024-02-18 18:27:59 +01:00
Benjamin Renard dbf5b0a54c
Make Db class static as other classes 2024-02-02 18:19:38 +01:00
Benjamin Renard 3abd2a328b
Introduce new pre-commit hooks and code cleaning 2024-01-23 19:23:10 +01:00
Benjamin Renard 5741dbb604
I18n: add extract_messages_excluded_paths parameter 2023-11-22 15:03:37 +01:00
Benjamin Renard c71109124c
Add Casuser auth backend 2023-11-17 12:57:38 +01:00
Benjamin Renard 8321c1cdd2
Fix some PHPstan warnings for PHP 8 support 2023-07-26 17:08:21 +02:00
Benjamin Renard 8c108d0ebb
Properly declare & handle functions/methods that never return (exit/die inside) and add Cli::fatal_error() helper method 2023-07-26 17:02:28 +02:00
Benjamin Renard 43a467b15a
Login form: add remember username feature 2023-04-22 18:56:13 +02:00
Benjamin Renard 32e27b931e
I18n: Move ___() function in functions.php 2023-03-22 18:19:08 +01:00
Benjamin Renard 56e1b1e415 example: do not show navbar search field if not connected 2023-03-11 13:26:19 +01:00
Benjamin Renard 85f631a911
I18n: remove useless (and potentially problematic) locales alias links 2023-03-09 18:16:09 +01:00
Benjamin Renard dc7655bceb
Add TplCore Smarty templates ressource to make core templates easily overloadable 2023-03-08 13:14:52 +01:00
Benjamin Renard f662837ffd Example: enable auth and use database as default users backend 2023-03-07 18:50:05 +01:00
Benjamin Renard fe19313c2f Session: add directory_path config parameter 2023-03-07 18:29:34 +01:00
Benjamin Renard fe75984bc7 Auth\Form: add include_navbar parameter 2023-03-07 18:28:42 +01:00
Benjamin Renard 3bf65aea4d CLI compile_messages: include core translated messages in JSON catalog 2023-03-07 17:50:17 +01:00
Benjamin Renard 49b59650a1
Switch from bootstrap4dialog to bootstrap5-dialog 2023-03-06 03:55:35 +01:00
Benjamin Renard e550c345cf
Upgrade Bootstrap, Fork-Awesome and Jquery libs 2023-03-05 00:32:16 +01:00
Benjamin Renard becb9ad366
example: add example of how to use Db get_one() & get_many() helpers 2023-03-02 19:22:21 +01:00
Benjamin Renard 51762bd359
example: add App class usage example 2023-03-02 15:03:42 +01:00
Benjamin Renard 2bf05291fe
example: Improve smarty_table_ordered_th function 2023-02-28 20:52:29 +01:00
Benjamin Renard b9a5a60dc9
Auth\Ldap: Improve attribute mapping 2023-02-28 15:34:35 +01:00
Benjamin Renard 1409362d8e I18n: do not track temporary pot files 2023-02-28 01:52:07 +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 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 02b0bbcfad Add CLI command to initialize a new project 2023-02-26 23:53:16 +01:00
Benjamin Renard 460d6f788a Add Auth Db backend 2023-02-26 13:15:31 +01:00
Benjamin Renard 32457c5f97 example: fix small error report by phpstan 2023-02-25 17:19:39 +01:00
Benjamin Renard 610cdb0f7c Add authentication support 2023-02-25 05:02:27 +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
Benjamin Renard 317cb30cb3 Tpl: Add stuff to have multiple templates directories with priority 2023-02-13 00:42:37 +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