Commit graph

1871 commits

Author SHA1 Message Date
Benjamin Renard
6dcbddf84c LSlang :: generate_lang_file : does not need LDAP connection 2020-05-06 18:37:02 +02:00
Benjamin Renard
dfc3f8e8a8 LSlang :: generate_lang_file : fix detection of all messages 2020-05-06 18:35:39 +02:00
Benjamin Renard
4828ac6b30 LScli : fix warnings about run_command CLI 2020-05-06 18:34:27 +02:00
Benjamin Renard
fbba445106 LScli : add possibility to run command without LDAP connection 2020-05-06 18:33:31 +02:00
Benjamin Renard
9028414568 LScli :: handle_args() : check CLI context 2020-05-06 18:01:16 +02:00
Benjamin Renard
4bed3e6c17 LScli ; Move command execution in a dedicated run_command() method 2020-05-06 18:00:47 +02:00
Benjamin Renard
68a2105900 Replace generate_lang_file.php by LScli command generate_lang_file 2020-05-06 17:48:49 +02:00
Benjamin Renard
fe4ef419fd LScli :: usage() : only show current executed command message (if already specified) 2020-05-06 17:46:08 +02:00
Benjamin Renard
83b64aac87 ldapsaisie CLI tool : fix core.php inclusion 2020-05-06 16:49:52 +02:00
Benjamin Renard
52f7c3a205 Move LSsession lang stuff to dedicated LSlang class 2020-05-06 16:06:05 +02:00
Benjamin Renard
1f24bdb531 Fix default configuration delivered with the application 2020-05-06 14:54:10 +02:00
Benjamin Renard
dea00a25d9 Fix some typo in upgradeFromGit.sh 2020-05-06 12:52:13 +02:00
Benjamin Renard
eb93969186 Improve upgradeFromGit.sh script 2020-05-06 12:49:11 +02:00
Benjamin Renard
2183149097 Update doc 2020-05-06 12:31:24 +02:00
Benjamin Renard
7098b3ee79 Massive change of files organisation to move all files outside web-root
The web-root directory now contains URL rewrite stuff. All PHP & static files are
in root src directory and are served via LSurl routes.
2020-05-06 12:17:35 +02:00
Benjamin Renard
4593a94c7f Fix path to default CSS file included (light-blue.css) 2020-05-05 14:53:34 +02:00
Benjamin Renard
cf40eb999a Replace fatal_error.tpl and error_404.tpl by an unique error.tpl file 2020-05-05 13:02:54 +02:00
Benjamin Renard
edc625b85f Add var_dump template function 2020-05-05 12:49:59 +02:00
Benjamin Renard
92f3d0be8e Fix favicon URL 2020-05-05 12:49:39 +02:00
Benjamin Renard
2a39fb7661 Handle static files access via LSurl routes 2020-05-05 12:48:52 +02:00
Benjamin Renard
4c344aa570 Fix images URL in CSS files 2020-05-05 11:42:32 +02:00
Benjamin Renard
a7fea52c92 Deprecate LSsession :: redirect() method in favor of LSurl :: redirect(). 2020-05-04 18:28:20 +02:00
Benjamin Renard
55d78db99f Fix some PHP warnings 2020-05-04 18:03:23 +02:00
Benjamin Renard
71972ea90c LSformElement :: image : Fix/improve file upload error handling & reporting 2020-05-04 18:03:08 +02:00
Benjamin Renard
4097eaed38 Add ___() function to allow declaration of messages that will be translated at display time 2020-05-04 18:02:39 +02:00
Benjamin Renard
07cdad29a4 LSformRule :: filesize : improve by avoiding to create a temporary file 2020-05-04 18:01:13 +02:00
Benjamin Renard
958c5b16a8 Use LSurl route to handle tmp file access 2020-05-04 17:55:46 +02:00
Benjamin Renard
add68ec132 Replace index_ajax.php by a LSurl route 2020-05-04 16:12:03 +02:00
Benjamin Renard
86b5e8fece Fix recover password form display 2020-05-04 16:03:15 +02:00
Benjamin Renard
03485bd486 Replace select.php by a LSurl route 2020-05-04 15:25:09 +02:00
Benjamin Renard
d6848a3d71 Replace global_search.php by a LSurl route 2020-05-04 15:24:24 +02:00
Benjamin Renard
07e7c3031f Fix search customActions JS validation 2020-05-04 14:25:11 +02:00
Benjamin Renard
2766237481 Replace custom_search_action.php by a LSurl route 2020-05-04 12:55:21 +02:00
Benjamin Renard
119ce68a35 LSurl handlers : fix always display template after adding error 2020-05-04 12:28:11 +02:00
Benjamin Renard
feb346acef Replace custom_action.php by a LSurl route 2020-05-04 12:27:11 +02:00
Benjamin Renard
338c61838f Fix templates PHP warning 2020-05-04 11:53:12 +02:00
Benjamin Renard
43da89992a Replace import.php by a LSurl route 2020-05-04 11:13:59 +02:00
Benjamin Renard
9bbd41468b Replace remove.php by a LSurl route 2020-05-04 10:49:11 +02:00
Benjamin Renard
ed3d2cda59 Replace modify.php by a LSurl route 2020-05-03 19:44:37 +02:00
Benjamin Renard
c29c0dbe08 Replace create.php by a LSurl route 2020-05-03 19:26:39 +02:00
Benjamin Renard
06455db4f3 Replace view.php by LSurl routes 2020-05-03 18:48:33 +02:00
Benjamin Renard
5c372cdb44 LSurlRequest :: add __isset method 2020-05-03 18:08:16 +02:00
Benjamin Renard
ac2416a967 LSurl :: redirect() : fix logging error 2020-05-03 18:07:54 +02:00
Benjamin Renard
aba1d18b95 Improve doc about public_root_url parameter 2020-05-02 18:46:15 +02:00
Benjamin Renard
f8fa2e3d69 LSsession :: includeFile : fix using LSlog when is not already load
Only log errors and use error_log() if LSlog is not loaded.
2020-05-02 18:35:19 +02:00
Benjamin Renard
5474cd2315 Handle LSaddon views by using LSurl 2020-05-02 18:32:31 +02:00
Benjamin Renard
23d5161bfe Define base URL in page templates by using public_root_url parameter 2020-05-02 18:12:43 +02:00
Benjamin Renard
50ea12a81c Handle images URL via LSurl 2020-05-02 17:49:15 +02:00
Benjamin Renard
8c2e5e604b Introduce LSurl, a new URL routing manager for LdapSaisie 2020-05-02 17:48:34 +02:00
Benjamin Renard
a3649706cc Fix local files inclusion 2020-05-02 17:45:23 +02:00