Commit graph

210 commits

Author SHA1 Message Date
Benjamin Renard
b33a3e8205
Auth\User: implement array access interface 2024-09-15 09:39:18 +02:00
Benjamin Renard
df4cc74fea
Db object / AttrTimestamp: add support of millisecond / microsecond 2024-08-03 13:34:06 +02:00
Benjamin Renard
630e2c4d02
Url::error_page(): fix handling API mode 2024-08-03 09:05:46 +02:00
Benjamin Renard
72abbb7371
Trigger 401 HTTP error on authentication failure instead of 500 2024-08-03 09:04:49 +02:00
Benjamin Renard
11b67c53b3
Url::get_absolute_url(): fix checking if the public root URL is relative 2024-06-04 13:18:06 +02:00
Benjamin Renard
89e29b8add
Auth: Add update_user() method on backends and save() method on user 2024-06-04 13:18:06 +02:00
Benjamin Renard
f7de9b9648
Remove duplicated PHPStan pre-commit hook 2024-06-04 11:35:54 +02:00
Benjamin Renard
62fbdbf1c2
Auth/CAS: fix CLI mode 2024-05-27 17:41:05 +02:00
Benjamin Renard
4a190f3f25
Add missing logo.svg file in skel 2024-05-27 17:40:14 +02:00
Benjamin Renard
87979933e3
Typo 2024-05-27 17:39:42 +02:00
Benjamin Renard
57aedc4869
Casuser auth backend: add user access filters feature 2024-02-21 11:20:37 +01:00
Benjamin Renard
82122089f9
Check: add regex() 2024-02-21 10:12:09 +01:00
99c350267f prompt_for_password: remove external bash dependency 2024-02-20 21:13:33 +01:00
Benjamin Renard
fb67ffdf3b
Email: Fix handling multiple recipients 2024-02-19 20:28:55 +01:00
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
dfbb4d6f9c
Add Db AttrSet 2024-02-18 19:40:12 +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
f9829d4aea
Add CSV export 2024-02-18 18:27:59 +01:00
Benjamin Renard
347de8eeaf
Add DbObject 2024-02-18 18:27:58 +01:00
Benjamin Renard
6c74b2a719
Auth Db: add add_user method ad CLI command 2024-02-04 11:05:03 +01:00
Benjamin Renard
20461e3e47
Auth Db: use helper methods to retrieve data instead of FPDO raw methods 2024-02-04 11:02:55 +01:00
Benjamin Renard
dbf5b0a54c
Make Db class static as other classes 2024-02-02 18:19:38 +01:00
Benjamin Renard
d0eb50cf22
Add generate_uuid() and Check::uuid() 2024-01-30 20:08:41 +01:00
Benjamin Renard
3abd2a328b
Introduce new pre-commit hooks and code cleaning 2024-01-23 19:23:10 +01:00
Benjamin Renard
e34682de4b
Add custom_body_start & custom_body_end blocks in default page template 2024-01-23 11:00:45 +01:00
Benjamin Renard
f688009723
Fix/complet install docs about debian packages dependencies 2023-11-23 12:39:51 +01:00
Benjamin Renard
5741dbb604
I18n: add extract_messages_excluded_paths parameter 2023-11-22 15:03:37 +01:00
Benjamin Renard
a3156d4d05
Db: add parse_pdo_dsn() helper method 2023-11-22 11:28:08 +01:00
Benjamin Renard
9030a2ba79
Update translations 2023-11-20 19:42:47 +01:00
Benjamin Renard
abbfd70319
Tpl: add display_ajax_error() helper method 2023-11-20 19:42:47 +01:00
Benjamin Renard
174ff2bb36
Db: add count() helper method 2023-11-20 19:42:46 +01:00
Benjamin Renard
fbd24ff1b9
Auth CAS: keep URL parameters in CAS callback URL 2023-11-20 16:40:11 +01:00
Benjamin Renard
c71109124c
Add Casuser auth backend 2023-11-17 12:57:38 +01:00
Benjamin Renard
c7f8c7c500
I18n: add init_locale CLI command 2023-11-17 09:52:28 +01:00
Benjamin Renard
6c9a2d1d3e
I18n: use xgettext & msgcat --force-po argument to be sure POT files will be created even if no message is found 2023-11-17 08:37:09 +01:00
Benjamin Renard
f4c75bc513
I18n: use xgettext --force-po argument to be sure POT file will be created even if no message is found 2023-11-17 08:31:27 +01:00
Benjamin Renard
d8240ca782
Allow to define default logo and favicon URL from config/core defaults 2023-11-16 18:25:05 +01:00
Benjamin Renard
ea66e9d217
DB: add support of joins in get_many() / get_one() helper methods 2023-08-21 15:28:19 +02:00
Benjamin Renard
28e6397f58
DB: fix handling failed query in debug_query method 2023-08-21 15:27:15 +02:00
Benjamin Renard
d9451fd66a
Cli::serve: fix/improve handling listen address and add -p/--public-url parameter 2023-07-28 10:46:31 +02: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
248ea089fa
UrlRequest: add current_url_starts_with, current_url_ends_with and current_url_match helper methods 2023-07-24 19:22:58 +02:00
Benjamin Renard
ff9f623f99
composer: fix ext-pdo requirement for PHP 8 compatibility 2023-07-10 18:03:55 +02:00
Benjamin Renard
15c1daabb5
Add implode_with_keys function 2023-07-10 17:58:56 +02:00
Benjamin Renard
43a467b15a
Login form: add remember username feature 2023-04-22 18:56:13 +02:00
Benjamin Renard
8d0907b1ba
CLI serve command: add parameters to start Xdebug profiler 2023-03-22 19:18:23 +01:00
Benjamin Renard
a274f04a1a
Add simple time tracking system to permit to display page computing time 2023-03-22 18:27:07 +01:00
Benjamin Renard
32e27b931e
I18n: Move ___() function in functions.php 2023-03-22 18:19:08 +01:00