Commit graph

658 commits

Author SHA1 Message Date
Benjamin Renard
c74f0cf4bd Add LSaddon LSaccessRightsMatrixView 2019-10-10 18:28:58 +02:00
Benjamin Renard
2fa55a1332 Add LSattr_ldap :: naiveDate 2019-09-30 13:16:53 +02:00
Benjamin Renard
278b084214 Add ['NB_LSOBJECT_LIST_CHOICES'] parameter 2019-09-04 11:49:06 +02:00
Benjamin Renard
25504c53ed Update light CSS styles 2019-09-04 11:27:51 +02:00
Benjamin Renard
2708dd01ee LSsearch : Add nbObjectsByPageChoices parameter 2019-09-04 11:26:09 +02:00
Benjamin Renard
1a2d881322 LSattr_html :: password : fix countable warning in PHP 7 2019-08-06 12:31:59 +02:00
Benjamin Renard
f3e332593e LSattr_ldap :: date : replace is_a check by instanceof to avoid warning on PHP 7 2019-08-06 11:49:45 +02:00
Benjamin Renard
ee74f4d644 Fix global search button display on Chromium 2019-07-17 11:22:19 +02:00
Benjamin Renard
9a2c41d8ad LSauthMethod_CAS : improve logging 2019-07-02 14:21:04 +02:00
Benjamin Renard
7845ba5a9c LSattr_ldap_password : Fix parameters pass to verify_function and add doc about it 2019-07-01 18:40:53 +02:00
Benjamin Renard
b6f0605dac LSform_rule :: differentPassword : Add missing LSform :: getValue() function 2019-07-01 18:19:58 +02:00
Benjamin Renard
c79bb96669 Configure default log level to INFO 2019-06-28 18:26:52 +02:00
Benjamin Renard
87fbe9df71 Update french translation 2019-06-28 18:08:46 +02:00
Benjamin Renard
5e8a5edfe5 LStemplate : catch error on displaying/fetching templates 2019-06-28 18:03:36 +02:00
Benjamin Renard
aa6bb472b7 LStemplate : display error page on fatal error 2019-06-28 18:02:44 +02:00
Benjamin Renard
f64cc3cc19 Improve logging 2019-06-28 18:00:37 +02:00
Benjamin Renard
3acebcfe94 Update french translation 2019-06-20 20:21:31 +02:00
Benjamin Renard
ce76872080 Add LSformRule :: differentPassword 2019-06-20 20:14:54 +02:00
Benjamin Renard
3b4d09bb00 LSform : warn on error loading LSformRule 2019-06-20 20:13:46 +02:00
Benjamin Renard
39001ba9f9 LSsession :: loadLSclass() : add $warn option 2019-06-20 20:12:53 +02:00
Benjamin Renard
5af71fdd79 Rework/improve on password encrypt/decrypt method 2019-06-20 19:55:31 +02:00
Benjamin Renard
63cd2e6fbc Force search pattern global search 2019-06-17 13:39:15 +02:00
Benjamin Renard
fa96fc42ab LSerror : fix error formatting when no error code is provided 2019-06-17 13:34:02 +02:00
Benjamin Renard
22dd1a61e6 Add LSaddon mailquota 2019-06-17 12:36:01 +02:00
Benjamin Renard
1c2e6f4abb LSattr_ldap :: date : Fix handling timezone 2019-06-13 14:45:57 +02:00
Benjamin Renard
72e98ae2a1 generate_lang_file.php : Show context in interactive mode 2019-06-05 13:48:46 +02:00
Benjamin Renard
37e0db032b generate_lang_file.php : try translating message using gettext before asking it 2019-06-05 13:48:21 +02:00
Benjamin Renard
1294d5f392 Add LS_ROOT_DIR constant 2019-06-05 13:47:12 +02:00
Benjamin Renard
64737fcdf9 Global search : add button to trigger search 2019-06-05 12:52:20 +02:00
Benjamin Renard
1b28066189 Fix global_search in multiple subDn context 2019-06-05 12:40:56 +02:00
Benjamin Renard
80de0db523 Update translation 2019-06-04 00:27:58 +02:00
Benjamin Renard
30daa59c8e Rework/improve generate_lang_file.php / generate_ldapsaisie.pot.sh scripts 2019-06-04 00:21:12 +02:00
Benjamin Renard
b3f208aa60 Fix global_search translation 2019-06-03 21:03:09 +02:00
Benjamin Renard
46a8cfb51d Add reset search button 2019-06-03 14:26:01 +02:00
Benjamin Renard
6ddcca037d Fix question on remove object page 2019-05-27 18:11:56 +02:00
Benjamin Renard
4fe870099e generate_lang_file.php : correctly handle translate_labels options for LSattr_html_jsonCompositeAttribute select_list components 2019-05-21 18:40:22 +02:00
Benjamin Renard
13dd1f1f6f LSattr_html :: select_list : use static keyword instead of self to make children classes override easier 2019-05-21 18:32:12 +02:00
Benjamin Renard
d2951ed74f LSaddons : ssh : fix error strings and translate it 2019-05-21 12:07:46 +02:00
Benjamin Renard
f130804aae Add globalSearch feature 2019-05-21 12:06:24 +02:00
Benjamin Renard
7f13464230 Increase NB_LSOBJECT_LIST to 30 2019-05-13 18:34:26 +02:00
Benjamin Renard
59943dc3ee LSsearchEntry : Fix 'unknwon property error' on accessing undefined attribute 2019-04-18 15:43:01 +02:00
Florent Angebault
059b72958b Remove a problematic non-breaking space. (RT-66491) 2019-04-16 11:12:15 +02:00
Benjamin Renard
10400e9052 LSattribute : add help_info_in_view parameter 2019-03-29 15:49:03 +01:00
Benjamin Renard
5fa1e578c5 LSauthMethod_HTTP : fix constructor to load config before handling it 2019-03-27 18:28:44 +01:00
Benjamin Renard
87729124f3 LSauth :: afterLogout() : fix provider trigger 2019-03-27 18:28:05 +01:00
Benjamin Renard
323cc8bc50 LSauthMethod_HTTP : add LSAUTHMETHOD_HTTP_LOGOUT_REMOTE_URL parameter 2019-03-27 18:03:25 +01:00
Benjamin Renard
bf8eb1b8b9 Add LSauth :: afterLogout() trigger 2019-03-27 18:02:04 +01:00
Benjamin Renard
d3f719a4e5 Improve/fix SSH LSaddon documentation 2019-03-26 20:09:40 +01:00
Benjamin Renard
a0e6cea771 Add SSH LSaddon 2019-03-26 19:52:36 +01:00
Benjamin Renard
2208eb7fe0 Fix some 'Cannot make non static method' errors 2019-03-12 13:28:30 +01:00
Benjamin Renard
20dc70f34b Fix PHP syntax errors 2019-03-12 13:18:31 +01:00
Benjamin Renard
a338e0dfa0 Fix parent constructor calls 2019-03-12 13:10:24 +01:00
Benjamin Renard
a577417b69 LSsearch : make purgeParams() and purgeCache() methods static 2019-03-12 12:50:58 +01:00
Benjamin Renard
887b054328 LSformElement_password : fix syntax error in getPostData() method 2019-03-12 12:50:28 +01:00
Benjamin Renard
8bb4a1c9cf Fix some PHP notices 2019-03-12 12:49:19 +01:00
Benjamin Renard
68c6e4267b LSattr_html_select_list :: _array_merge() : mark as static 2019-03-12 12:28:15 +01:00
Benjamin Renard
9f858c6f0f LSattr_html_select_list :: _sort() : make really static 2019-03-12 12:25:44 +01:00
Benjamin Renard
b577fe23a9 LSldapObject : solve static/non-static problem on getObjectFilter() method 2019-03-12 12:19:44 +01:00
Benjamin Renard
01a25aa22a LSformElement_select : solve static/non-static problem on isValidValue() method 2019-03-12 12:14:16 +01:00
Benjamin Renard
b529eee34f LSattr_html_select_list :: getLSobjectPossibleValues() : make really static 2019-03-12 12:04:42 +01:00
Benjamin Renard
e7b4bc085a LSattr_html_select_list : solve static/non-static problem on LSattr_html_select_list :: getPossibleValues() 2019-03-12 12:00:58 +01:00
Benjamin Renard
b6367fce34 LSformRule :: compare : fix find operator method 2019-03-12 11:43:53 +01:00
Benjamin Renard
c357c70596 Explicitly defined class methods visibility and upgrade PHP class constructor syntax 2019-03-12 11:42:53 +01:00
Benjamin Renard
13bf3b6507 Log all errors on developpement instance and with magic URL parameter LSdebug 2019-03-12 11:36:21 +01:00
Benjamin Renard
34d4c1a8ba LSattr_html_maildir : fix PHP error in class contructor 2019-03-11 22:43:50 +01:00
Benjamin Renard
b9102aeb9e Code cleaning 2019-03-11 22:42:20 +01:00
Benjamin Renard
80b747a0c5 Add and use helper methods to access configuration parameters 2019-03-11 22:21:25 +01:00
Benjamin Renard
6bd68d8d25 LSsession : always log include errors 2019-03-11 18:27:52 +01:00
Benjamin Renard
51b06418bc LSsession : Fix setLocale() parameter handling 2019-03-11 18:18:23 +01:00
Benjamin Renard
b817bb8ae2 LSerror : fix PHP error handling 2019-03-11 18:17:17 +01:00
Benjamin Renard
dbfc8506d5 Fix solution implement in last commit 2019-03-08 11:26:54 +01:00
Benjamin Renard
6f30c6cbe7 Clarify recover password process by hiding form after the first step 2019-03-08 11:11:06 +01:00
Benjamin Renard
98ffc081c9 LSldapObject : fix regression introduced by commit 274ccad0
Handle all attributes in validateAttrsData() method but don't blame
  on missing required attribute on non-create form and if attibute is
  not present in form (or freezed).
2019-02-28 15:24:42 +01:00
Benjamin Renard
1dec2cc4f6 LSldapObject : fix removing old RDN value after object renaming 2019-02-26 18:48:45 +01:00
Benjamin Renard
cf4502ac3b LSform : Fix display bug when user has no right on the first tab 2019-02-26 18:02:51 +01:00
Benjamin Renard
274ccad0f2 LSldapObjet->validateAttrsData() : if LSform is specified, only check LSform's not freezed attributes 2019-02-26 17:47:29 +01:00
Benjamin Renard
cc8816aa9a LSattr_ldap :: password : Add SHA256/SHA512 & SSHA256/SSHA512 support 2019-02-01 10:27:04 +01:00
Benjamin Renard
fc6399fb13 Fix bug on LSformElement :: text -> getDependsFields() when using modifiers characters 2019-01-30 15:50:51 +01:00
Benjamin Renard
62e71c2c6b LSformElement_textarea : fix clear btn/Grammalecte compatibility 2018-10-01 14:58:20 +02:00
Benjamin Renard
92425e7554 LSldapObject : Add generate_container_dn parameter 2018-10-01 12:57:26 +02:00
Benjamin Renard
179d148335 Add triggers feature on LStemplate class 2018-10-01 12:32:05 +02:00
Benjamin Renard
a03b737de8 Fix and improve LSformat PHP and JS implementations 2018-09-20 19:28:26 +02:00
Benjamin Renard
753a888bf2 LSsearch :: extraDisplayedColumns : add escape parameter 2018-09-20 15:27:34 +02:00
Benjamin Renard
a42bcb0e3d generate_lang_file.php : fix infinity loop case in parse_addon_file() function 2018-09-20 11:40:29 +02:00
Benjamin Renard
8e1e747754 LSattr_html :: select_list : add translate_labels option 2018-09-19 18:56:47 +02:00
Benjamin Renard
e296cd710b Add defaultView paramater 2018-09-13 18:36:45 +02:00
Benjamin Renard
f94471e6e5 LSformElement::boolean : add true_label and false_label parameters 2018-09-13 16:25:40 +02:00
Benjamin Renard
408c6d82cf Improve LSsession :: loadLSobject() error debugging 2018-09-13 16:12:41 +02:00
Benjamin Renard
c551b954fe Improve LSauthMethod::HTTP to support multiple methods to retreive user and password from HTTP server 2018-09-07 18:42:24 +02:00
Benjamin Renard
b9452f2057 Fix default LSpeople configuration 2018-08-31 18:02:57 +02:00
Benjamin Renard
38724e0a64 Update french translation with LSaddons::exportSearchResultAsCSV example 2018-08-31 17:38:36 +02:00
Benjamin Renard
56edff0892 Add LSaddon exportSearchResultAsCSV 2018-08-31 17:28:55 +02:00
Benjamin Renard
2880c4c28e Add LSattr_html :: wysiwyg 2018-06-15 17:20:37 +02:00
Benjamin Renard
20bfde6a7a LSform : add possibility to trigger on init/submit events 2018-06-15 16:10:55 +02:00
Benjamin Renard
33b2ba8a87 LSdefault : add getCurrentLang() method 2018-06-15 16:09:36 +02:00
Benjamin Renard
2554ab52e8 Fix moo keybinding 2018-06-15 16:03:24 +02:00
Benjamin Renard
2d2f35fe5b LSform : fix empty submit button problem in some specific cases 2018-06-15 15:31:02 +02:00
Benjamin Renard
c6688477ab Fix some escaping problems 2018-06-15 15:25:25 +02:00
Benjamin Renard
7a036014c6 LSattr_html :: jsonCompositeAttribute : fix check required method 2018-06-11 12:11:56 +02:00
Benjamin Renard
31b0b71312 LSsearch : Use strnatcmp instead of strcoll in sorting method 2018-06-11 12:06:55 +02:00