Commit graph

122 commits

Author SHA1 Message Date
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
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
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
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
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
5ab7b35cc3 Auth\Db: add warning message with cause on initialization failure 2023-03-07 18:47:50 +01:00
fe19313c2f Session: add directory_path config parameter 2023-03-07 18:29:34 +01:00
fe75984bc7 Auth\Form: add include_navbar parameter 2023-03-07 18:28:42 +01:00
3bf65aea4d CLI compile_messages: include core translated messages in JSON catalog 2023-03-07 17:50:17 +01:00
Benjamin Renard
cc7004f032
UrlRequest: add current_full_url property 2023-03-05 17:55:02 +01:00
Benjamin Renard
fc29012dce
Fix bin/manage rights on new project 2023-03-05 00:45:18 +01:00
Benjamin Renard
2229ba1a4f
Cli: add -l/--log-file & -C/--console parameters 2023-03-03 10:44:13 +01:00
Benjamin Renard
6faff353d3
Log: try to properly handle log message before initialization 2023-03-03 10:37:56 +01:00
Benjamin Renard
e27c009be8
Log: fix typo when getting CLI log file path 2023-03-03 10:36:43 +01:00
Benjamin Renard
455ec45c3b
App: fix handling app's options when substituting variable reference in option value 2023-03-03 10:36:08 +01:00
Benjamin Renard
97f91156de
Config::set(): fix setting value in inexisting section 2023-03-03 10:34:17 +01:00
Benjamin Renard
8e5b0b0b2c
Config: add backtrace when trying to access configuration value before initialization 2023-03-03 10:32:01 +01:00
Benjamin Renard
9f213f8065
Tpl: add static_root_url() method 2023-03-02 19:57:06 +01:00
Benjamin Renard
5c8e39a6b2
Mail: fix importing PEAR libs 2023-03-02 19:23:27 +01:00
Benjamin Renard
2584a59123
Db: add helpers for simple query 2023-03-02 19:16:54 +01:00
Benjamin Renard
80f41c5327
Tpl: add register_class method and make App class available in templates 2023-03-02 15:02:59 +01:00
Benjamin Renard
5ca3208c91
Set upload_tmp_directory & upload_max_filesize INI parameters after log initialized 2023-03-02 10:53:22 +01:00
Benjamin Renard
7166e63032
Config: add traces in ini_set() 2023-03-01 19:07:50 +01:00
Benjamin Renard
77deb947db
Db: add set_autocommit() method 2023-03-01 19:07:19 +01:00
Benjamin Renard
83f1445799
Make core libs set their default config values in App
This permit to homogenize the method to store it and permit an access to 
all config default values.
Futhermore, core libs init() methods now does not handle parameters: all 
are taken from config.
2023-03-01 16:22:11 +01:00