Commit graph

248 commits

Author SHA1 Message Date
Benjamin Renard
46ce4edce0
Tpl::register_modifier(): make name optional and allow to register multiple modifiers in one call 2024-12-16 17:53:11 +01:00
Benjamin Renard
d642f3c9dd
Tpl::register_callable(): fix registering function 2024-12-16 17:52:13 +01:00
Benjamin Renard
8f90854f0f
Config::ini_set(): fix detecting errors 2024-12-13 15:55:55 +01:00
Benjamin Renard
e8cb6a0343
Remove upload_max_filesize stuff since is not possible to change it at runtime 2024-12-13 15:55:36 +01:00
Benjamin Renard
88b22ca22b
cast(): fix strpos(): Passing null to parameter #1 () of type string is deprecated 2024-12-13 15:55:35 +01:00
Benjamin Renard
e9fb4cf504
SentryIntegration: send logged errors (fatal only by default) 2024-12-13 15:55:35 +01:00
Benjamin Renard
7693ea44ee
SentryIntegration: fix logging errors 2024-12-13 15:23:21 +01:00
4b73564f31 App: fix setting default configuration values 2024-12-12 22:32:19 +01:00
6f47b2aea7 I18n: fix typo 2024-12-12 22:29:15 +01:00
Benjamin Renard
bc11f6784c
Auth/LDAP: fix handling starttls parameter and add options one 2024-12-12 19:33:38 +01:00
Benjamin Renard
38f66c9971
Tpl::display_ajax_return(): provided messages & errors event if is not a success return 2024-12-12 19:05:03 +01:00
Benjamin Renard
8815decc02
Update Bootstrap5 dialog lib 2024-12-07 19:24:19 +01:00
Benjamin Renard
fe0ed9035f
Auth/User: fix typo 2024-12-04 10:54:55 +01:00
Benjamin Renard
b2566f90e3
Auth\Casuser: fix handling user attributes type & multivalued properties 2024-12-03 10:46:03 +01:00
Benjamin Renard
f16bfb5278
empty.tpl: add same content margin on bottom than on top 2024-12-03 03:15:08 +01:00
Benjamin Renard
1f927b2487
Auth/Cas: add fake_authenticated_user_attributes config parameter 2024-12-03 03:13:51 +01:00
Benjamin Renard
f85e7392b9
Tpl::add_js_file(): add possibility to specify a prioroty as last parameter and fix including translation JS files before app.js 2024-12-03 01:42:29 +01:00
Benjamin Renard
4f2259f118
Add some useful UI helpers
- Add alertify lib and provide its default configuration
- Add copy_to_clipboard() function and the CSS copyable class
- Enable Bootstrap tooltips
- Add CSS share-links class helper: link's URL is copied to clipboard
- Add Bootstrap 5 like 3-states switches
- Add show_form_modal(), validate_form() and handle_ajax_return() helper functions
2024-12-02 20:01:51 +01:00
Benjamin Renard
7f6e677728
Url::add_url_parameter(): add support for empty array value 2024-12-02 14:57:30 +01:00
Benjamin Renard
990a15957a
UrlRequest: add current_absolute_url & current_absolute_full_url properties 2024-11-29 17:11:48 +01:00
Benjamin Renard
7217fe9303
Url::add_url_parameter(): add support for multiple values 2024-11-29 15:38:28 +01:00
Benjamin Renard
48556822a3
Tpl: add register_callable() helper method 2024-11-25 12:06:13 +01:00
Benjamin Renard
23a40c9680
Url::add_url_parameter(): make $value parameter optional 2024-11-25 11:04:37 +01:00
Benjamin Renard
5b54abb7af
Make fatal error template customizable 2024-11-25 10:37:01 +01:00
Benjamin Renard
27866d7e4f
Tpl::display_ajax_return(): add $keep_messages_on_success parameter 2024-11-25 01:26:55 +01:00
Benjamin Renard
44fc339057
Tpl: add register_modifier() method 2024-11-14 15:23:14 +01:00
Benjamin Renard
4d8c08fabd
Remove unused Fork-Awesome files 2024-10-05 18:43:52 +02:00
Benjamin Renard
6832b83520
Tpl::static_directories(): add $details parameter 2024-10-05 18:20:10 +02:00
Benjamin Renard
5d018045c8
I18n: fix listing JS files in extract_messages CLI command 2024-09-22 17:54:18 +02:00
Benjamin Renard
6a0bb16517
JS translations: allow simple string formatting 2024-09-21 18:31:42 +02:00
Benjamin Renard
da317d85d0
Db: add option to enable foreign keys support on SQLite backend 2024-09-21 10:13:39 +02:00
Benjamin Renard
3b9bda3195
Db: use static instead of self to allow overwrite methods in child classes 2024-09-21 10:08:09 +02:00
Benjamin Renard
b1c5878608
DbObject: add deleteAll() method 2024-09-19 20:01:41 +02:00
Benjamin Renard
5e7bdb1d3d
DbObject: Fix return type of get & list methods 2024-09-19 19:33:48 +02:00
Benjamin Renard
e6f3fc835e
Auth\Db: replace add_user/edit_user CLI commands by user CLI command with subcommands 2024-09-19 19:33:47 +02:00
Benjamin Renard
74dc4bb608
Auth\Db: add edit_user CLI command 2024-09-19 19:32:53 +02:00
Benjamin Renard
0b84060f2c
Auth\Db: implement update_user() 2024-09-19 19:32:52 +02:00
Benjamin Renard
d42a864901
Auth\Db::add_user(): add check of username uniqueness 2024-09-15 09:39:19 +02:00
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