Commit graph

1207 commits

Author SHA1 Message Date
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
Benjamin Renard
8c417b6bc1 LSlog : fix setLevel error 2020-05-01 20:23:10 +02:00
Benjamin Renard
d07fb3915c core.php : fix LS_LOCAL_DIR constant definition 2020-05-01 20:22:39 +02:00
Benjamin Renard
336b5307b3 LSrelation : fix constructor method name 2020-05-01 15:56:47 +02:00
Benjamin Renard
b500b7821e LScli : add relation command 2020-05-01 15:49:21 +02:00
Benjamin Renard
1ad7f9e462 LSsession : always granted access to attribute/relation/customAction/customSearchAction in CLI mode 2020-05-01 15:46:07 +02:00
Benjamin Renard
53b15e89f8 LScli :: add remove command 2020-05-01 13:41:42 +02:00
Benjamin Renard
ddd6b265e3 LScli :: show : show LSrelation 2020-05-01 13:25:23 +02:00
Benjamin Renard
ff2ede7c36 LScli :: show : show attribute label and name 2020-05-01 13:25:00 +02:00
Benjamin Renard
fa3742c609 LScli :: show : handle form layout (if defined) 2020-05-01 13:05:30 +02:00
Benjamin Renard
448d977f14 LScli : load some classes by default 2020-04-29 19:33:32 +02:00
Benjamin Renard
164a8fab48 LSsearch :: cli_search : remove debug print 2020-04-29 19:32:52 +02:00
Benjamin Renard
6597a630cf LSsearch : add CLI search command 2020-04-29 19:20:59 +02:00
Benjamin Renard
c1bcad362d LSsearch : fix sorting by extraDisplayedColumns (on one setParams() call) 2020-04-29 19:19:40 +02:00
Benjamin Renard
58fba457f5 LSsession :: includeFile : allow inclusion of external file with include path search support 2020-04-29 19:18:23 +02:00