Commit graph

516 commits

Author SHA1 Message Date
Benjamin Renard 082bd67300 Update French translation 2017-06-15 18:47:54 +02:00
Benjamin Renard e1cdd85819 LSattr_html :: postaladdress : improve it and add default configuration value 2017-06-15 18:44:51 +02:00
Benjamin Renard 2094b6f5e8 Rename LSattr_ldap :: postalAddress to LSattr_ldap :: postaladdress and add doc on this type of html & ldap attribute 2017-06-15 17:23:37 +02:00
Benjamin Renard f4ec78b340 Improve light blue CSS theme file and make it as default 2017-06-05 00:50:41 +02:00
Benjamin Renard 820b5b9da0 Add some basic CSS theme files 2017-06-05 00:34:07 +02:00
Benjamin Renard b3791b28ec LSformElement_select : fix bug when possible_values params is unset or empty 2017-05-31 16:05:25 +02:00
Benjamin Renard 8fa9221a6e Improve and translate code comments 2017-05-04 17:27:52 +02:00
Benjamin Renard 9815fb147f LSattr_html :: jsonCompositeAttribute : first version 2017-05-03 01:12:35 +02:00
Benjamin Renard 7a9705d25f LSattr_html_select_list : make getPossibleValues() optionally and statically callable 2017-05-03 01:10:10 +02:00
Benjamin Renard b067c943ed LSrelation : fix check right on relation with specific object 2017-04-28 17:05:48 +02:00
Benjamin Renard 7909d55b39 LSrelation : add possibilty to handle relation with multiple key values 2017-04-28 17:04:55 +02:00
Benjamin Renard e226ebe684 custom_action : Use call_user_func_array() instead of call_user_func() to permit pass arg by reference 2017-04-28 10:29:50 +02:00
Benjamin Renard 251cb2b0e2 Use call_user_func_array() instead of call_user_func() when need to permit arg by reference 2017-04-28 10:25:22 +02:00
Benjamin Renard 8deb9a8508 LSrelation : improve and make it easy to configure simple relation 2017-04-28 02:13:05 +02:00
Benjamin Renard 992dc08cc9 General use of the function call_user_func() instead of deprecated syntax 2017-04-26 11:19:58 +02:00
Benjamin Renard 521f540a0c Fix break misplaced error 2017-04-26 10:38:34 +02:00
Benjamin Renard c0c64d3bef Fix view access to specific autorized LSobject even if LSobject type is not in menu 2017-03-23 16:41:34 +01:00
Benjamin Renard 8f037d8421 LSattr_html :: select_object : Fix handling filter parameter 2017-03-23 16:30:14 +01:00
Benjamin Renard 7aa96ae60c LSattr_html :: select_list / select_object : add parameter to handle onlyAccessible LSsearch parameter 2017-03-23 16:29:33 +01:00
Benjamin Renard dc3c367f2f LSsession / subDn : add parameter to handle onlyAccessible LSsearch parameter 2017-03-23 16:26:28 +01:00
Benjamin Renard 0df7887834 Fix other problems when onlyAccessible parameter is set to True in LSobject configuration file 2017-03-23 16:24:39 +01:00
Benjamin Renard 0f1fe9a99c Fix problem when onlyAccessible parameter is set to True in LSobject configuration file 2017-03-23 14:43:23 +01:00
Benjamin Renard c7cd3e9e8f Add button to permit user to refresh his access rights 2017-03-23 14:39:15 +01:00
Benjamin Renard 042fb21901 customAction : add noRedirect parameter 2017-03-08 16:57:44 +01:00
Benjamin Renard be52119506 generate_lang_file.php : remove check on html_type to handle units of valueWithUnit form element to permit to handle children classes 2017-02-02 10:37:56 +01:00
Benjamin Renard 3d2ab8127d Rename missnamed recent object template variable to LSldapObject 2017-01-31 12:10:49 +01:00
Benjamin Renard caa45fcc12 Add visibleTo parameter to extra displayed columns 2017-01-25 15:39:06 +01:00
Benjamin Renard e5406e924f Add LStemplate assignment for current object in view 2017-01-25 14:19:04 +01:00
Benjamin Renard 002e83e1ab Add helpInfo parameter for customActions 2017-01-25 12:05:22 +01:00
Benjamin Renard e76a25b22b LSdefault : empty text of LStips by default 2017-01-25 11:59:54 +01:00
Benjamin Renard 355b0cf1d4 Fix debug LSprofiles informations 2017-01-25 11:53:42 +01:00
Benjamin Renard d6e1257ed8 LSmail : add possibilty to set some display options from JS 2016-11-17 11:51:49 +01:00
Benjamin Renard 71480875d4 Fix hard-coded parameter information and add comment for newest functions 2016-11-17 11:37:19 +01:00
Benjamin Renard 7607a8f4ec Fix xml tag 2016-08-26 13:59:07 +02:00
Benjamin Renard 001fe43376 LSattr_html_select_list : fix handling OTHER_OBJECT with value_attribute parameters 2016-08-16 13:57:56 +02:00
Benjamin Renard e294fb123b LSauthMethod::HTTP : Add parameter to disable checking login/password by LDAP auth challenge 2016-07-21 11:24:51 +02:00
Benjamin Renard bf6ebf171d LSattr_html :: select_list : add values_attribute parameter 2016-07-21 11:03:34 +02:00
Benjamin Renard dda02c0ff4 generate_lang_file.php : fix to handle double-quotes in PHP output 2016-01-28 18:10:08 +01:00
Benjamin Renard d909b5aad5 LSformRule :: date : Fix mktime return check 2015-09-02 10:44:00 +02:00
Benjamin Renard 18550a5fb2 LSaddon / view : permit to hide a LSaddon view in menu 2015-08-24 12:24:33 +02:00
Benjamin Renard b3bc6f8edb Update french translation 2015-08-21 17:54:28 +02:00
Benjamin Renard 707c319f15 Add LSaddon view feature 2015-08-21 17:51:52 +02:00
Benjamin Renard f098113720 Fix indent 2015-08-21 17:50:31 +02:00
Benjamin Renard 28fc35da49 LSsession : refresh LSprofiles and session cache on LSsession_refresh 2015-08-21 17:49:04 +02:00
Benjamin Renard 303406fffc Update french translation 2015-08-21 15:15:40 +02:00
Benjamin Renard 3d52a5ce57 LSsearch : add formaterFunction parameter for extraDisplayedColumns 2015-08-21 15:15:14 +02:00
Benjamin Renard 5e3ffcbba5 LSattr_html_select_list : change private method to protected to permit class extend 2015-08-21 13:39:29 +02:00
Benjamin Renard 2d7b37f27e LSsession : Fix auto locale setting 2015-08-21 13:37:43 +02:00
Benjamin Renard bc572c3f02 Update fr_FR.UTF8 translation 2015-08-21 13:12:56 +02:00
Benjamin Renard 0f2a51a69d generate_lang_file.php : fix lang files inclusion 2015-08-21 13:12:35 +02:00
Benjamin Renard bba6466eed generate_lang_file.php : fix back-slash character handling in parse_addon_file() function 2015-08-21 13:04:28 +02:00
Benjamin Renard 6f6c6ecfec generate_lang_file.php : only ask translation for strings translated with __() function in LSaddons 2015-08-21 13:03:37 +02:00
Benjamin Renard b4a6243625 generate_lang_file.php : add --lang parameter to manage existing lang files loading 2015-08-21 13:02:20 +02:00
Benjamin Renard 15298feec8 generate_lang_file.php : make script callable from anywhere 2015-08-21 13:01:37 +02:00
Benjamin Renard 3239559128 LSsession : permit to pass lang and encoding to initialize() and setLocale() methods 2015-08-21 12:58:50 +02:00
Benjamin Renard 742a5e74da generate_lang_file.php : manage addons files 2015-08-21 12:10:44 +02:00
Benjamin Renard 397048793e generate_lang_file.php : do not ask translation of already gettext translated strings 2015-08-21 12:10:23 +02:00
Benjamin Renard 24aa3412a7 LSsearch : add cssStyle extraDisplayedColumns's parameter 2015-08-12 14:26:50 +02:00
Benjamin Renard 3f350d331c LSsearch : improve and add doc for formaterLSformat extraDisplayedColumns's parameter 2015-08-12 14:26:21 +02:00
Benjamin Renard 9a09cf491e Permit LSaddon to provide ajax callable function 2015-08-12 14:16:25 +02:00
Benjamin Renard b4105c04d6 Add new form element type for telephone number 2015-08-12 12:21:20 +02:00
Benjamin Renard f313b2e1d3 LSldapObject : Add except_current_object option on attribute validation test 2015-08-10 10:16:32 +02:00
Benjamin Renard 5ec0f7d210 generate_lang_file.php : initialize LSsession before parsing for messages 2015-08-10 10:15:33 +02:00
Benjamin Renard af218ee71f Fix CSS vertical alignment of #status 2015-08-03 17:55:23 +02:00
Benjamin Renard 0efde556ad Fix last commit to be compliant also with php 5.4 2015-07-30 18:19:28 +02:00
Benjamin Renard d7ca2eea75 Display import button only for LSobject type with configured ioFormat 2015-07-30 18:13:07 +02:00
Benjamin Renard 0625e38f80 LSimport : also display error on other attributes 2015-07-30 18:08:45 +02:00
Benjamin Renard 8dcccee200 LSformElement_mailQuota : little fix to permit import 2015-07-30 17:57:09 +02:00
Benjamin Renard 70b767655e Update french translation 2015-07-30 16:46:29 +02:00
Benjamin Renard ddf474d6fe generate_lang_file.php : manage messages string in templates files 2015-07-30 16:40:26 +02:00
Benjamin Renard 0055ea1d7a Add import feature 2015-07-30 16:40:16 +02:00
Benjamin Renard 303702a4ee Add LSformRule_callable 2015-07-30 11:40:07 +02:00
Benjamin Renard 40b8be065b LSsession : Catch initialization exceptions 2015-07-25 18:24:03 +02:00
Benjamin Renard 772cd8b0da LSformElement :: select_list / select_box : permit to put possible values in labelled group 2015-07-25 18:23:06 +02:00
Benjamin Renard a2218dc59a Update Smarty path to default smarty3 path of Debian package 2015-04-28 12:00:20 +02:00
Benjamin Renard 6220c3e6d6 Fix reference allocation in variable 2015-04-14 15:10:40 +02:00
Benjamin Renard dfafd88159 LSformElement :: valueWithUnit : improve floatint number display and add parameter for formatting control 2015-04-07 20:34:18 +02:00
Benjamin Renard 91dbcf4a6e LSldapObject : Fix method to get rdn value 2015-02-13 13:55:28 +01:00
Benjamin Dauvergne 9add9c3321 Allow a sequence of filters in LSobjects profile configurations
It's now possible for example to define a profile on an LSobject whose
attribute would contain the DN of a group the user is member of instead
of directly the dn of the user. A possible configuation using this new feature:

  'LSprofile' => array(
    'admin' => array(
      'LSobjects' => array(
        'LSsupannGroupAdminByGroup' => array(
          'filters' => array(
            array(
              'basedn' => $basedn,
              'attr' => 'member',
              'attr_value' => '%{dn}',
              'LSobject' => 'LSsupannGroup',
            ),
            array(
              'basedn' => $basedn,
              'attr' => 'supannGroupeAdminDN',
              'attr_value' => '%{dn}',
              'LSobject' => 'LSsupannGroup',
            )
          ),
        ),
      ),
    ),
  )

Signed-off-by: Benjamin Renard <brenard@easter-eggs.com>
2015-02-09 11:16:20 +01:00
Benjamin Dauvergne 10019fc9fe Convert all supann addon defines to globals
Signed-off-by: Benjamin Renard <brenard@easter-eggs.com>
2015-02-09 10:55:17 +01:00
Benjamin Dauvergne 12014b5bf4 Redefine globals on per LDAP server basic
Signed-off-by: Benjamin Renard <brenard@easter-eggs.com>
2015-02-09 10:39:39 +01:00
Benjamin Renard ba611b784a Update French translation 2015-02-05 10:33:37 +01:00
Benjamin Renard 27b56ef505 LSattr_html :: password : Add possibility to generate password using pwgen command 2015-02-05 10:33:14 +01:00
Benjamin Renard 8313191f54 LSformElement :: select_object : Add ordered feature 2015-01-21 16:35:23 +01:00
Benjamin Renard 3a6bd1ea06 Add global parameter defaultCSSfiles 2015-01-08 15:15:40 +01:00
Benjamin Renard bee41b3d9d LSattr_ldap_boolean : Add default TRUE/FALSE values 2015-01-08 15:00:56 +01:00
Benjamin Renard c801b09ada view.tpl : use double quotes instead of simple in HTML 2015-01-06 18:00:41 +01:00
Benjamin Renard 906ca99488 Fix 'Mrs' translation in fr_FR.UTF8 lang file 2014-11-28 16:24:45 +01:00
Benjamin Renard 072acf21f7 LSldapObject getObjectFilter() : return filter Net_LDAP2_Filter object instead of string and fix resulting filter usage in validateAttrData() method 2014-11-28 16:19:01 +01:00
Benjamin Renard 1518888efa LSldap : combineFilters() : fix parameter support when array contain only one filter 2014-11-28 16:16:30 +01:00
Benjamin Dauvergne 9aa48000e5 SUPANN: ajout du support de l'attribute supannActivite
Signed-off-by: Benjamin Renard <brenard@easter-eggs.com>
2014-11-28 15:20:36 +01:00
Benjamin Renard 065484fb4c generate_lang_file.php : Add 'no_value_label' attribute configuration field 2014-11-28 12:31:25 +01:00
Benjamin Renard 5320b7782b LSformElement :: supannCompositeAttribute : fix span title during edition 2014-11-25 00:10:51 +01:00
Benjamin Renard c241d9c0b6 LSformElement :: supannLabeledValue.php : Improve edition to permit value selection in SUPANN table 2014-11-25 00:07:31 +01:00
Benjamin Renard c9bd4b7c65 LSform : preserve current tab between view, modify and create pages 2014-11-24 23:07:30 +01:00
Benjamin Renard bb09c81243 LSerror : Add PHP error handler 2014-11-20 12:04:03 +01:00
Benjamin Renard 1e37b2f870 getFData : try to catch error casting data to string 2014-11-20 12:00:26 +01:00
Benjamin Renard 30d51949cf Add LSformElement :: supannEtuInscription 2014-11-20 00:45:50 +01:00
Benjamin Renard 4bae44b259 Add LSformElement :: supannEmpCorps 2014-11-20 00:45:26 +01:00
Benjamin Renard 53ef8436d4 LSaddon :: supann : redesign and improve this addon 2014-11-20 00:44:41 +01:00