Commit graph

66 commits

Author SHA1 Message Date
Benjamin Renard
b9102aeb9e Code cleaning 2019-03-11 22:42:20 +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
dbfc8506d5 Fix solution implement in last commit 2019-03-08 11:26:54 +01:00
Benjamin Renard
e296cd710b Add defaultView paramater 2018-09-13 18:36:45 +02:00
Benjamin Renard
408c6d82cf Improve LSsession :: loadLSobject() error debugging 2018-09-13 16:12:41 +02:00
06b37ea2f6 Fix XSS problem using LSdebug/LSerror/LSinfos 2018-06-08 17:41:28 +02:00
35b9b9ad94 Add nocache param on JS/CSS URL to avoid cache problems 2018-05-22 18:47:08 +02:00
Benjamin Renard
2e9459598f LSdefault : encode LSjsConfig data in Base64 2018-04-26 11:06:10 +02:00
Benjamin Renard
7c45bfe833 Replace ereg() function call by preg_match() 2018-01-08 19:08:39 +01:00
Benjamin Renard
486f33ccf9 LSrelation : Add create action button 2017-08-02 12:00:11 +02: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
caa45fcc12 Add visibleTo parameter to extra displayed columns 2017-01-25 15:39:06 +01:00
Benjamin Renard
355b0cf1d4 Fix debug LSprofiles informations 2017-01-25 11:53:42 +01:00
Benjamin Renard
18550a5fb2 LSaddon / view : permit to hide a LSaddon view in menu 2015-08-24 12:24:33 +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
2d7b37f27e LSsession : Fix auto locale setting 2015-08-21 13:37:43 +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
9a09cf491e Permit LSaddon to provide ajax callable function 2015-08-12 14:16:25 +02:00
Benjamin Renard
0055ea1d7a Add import feature 2015-07-30 16:40:16 +02:00
40b8be065b LSsession : Catch initialization exceptions 2015-07-25 18:24:03 +02: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
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
3a6bd1ea06 Add global parameter defaultCSSfiles 2015-01-08 15:15:40 +01:00
Benjamin Renard
bb09c81243 LSerror : Add PHP error handler 2014-11-20 12:04:03 +01:00
Benjamin Renard
a73103a576 LSsession : Add useUserCredentials parameter 2014-11-18 13:16:38 +01:00
Benjamin Renard
66fd566002 LSsession / LSprofiles : fix bug resolving user's LSprofiles 2014-11-05 15:26:09 +01:00
Benjamin Renard
8d989af946 LSsearch : add customAction feature 2014-10-08 17:24:30 +02:00
09432db48e Manage CSS path with LStemplate 2013-06-19 03:06:29 +02:00
89a46b0c75 Fixed image.php initialization and remove unsed code 2013-06-19 03:00:58 +02:00
6f97d3d7e0 Manage image path with LStemplate 2013-06-19 00:53:26 +02:00
acdc6c49a7 LSsession : start LSerror before starting LStemplate 2013-06-18 00:08:20 +02:00
e992df1ddd LStemplate : added a template abstraction class 2013-06-17 23:39:22 +02:00
05ff27515b Added local include directory 2013-03-31 05:23:10 +02:00
Benjamin Renard
9e69912df1 LSsession : Fixed LSprofiles loading by LSobject type 2013-02-08 10:52:23 +01:00
702d53839d Add compatibility to Smarty 3 2012-09-02 20:12:26 +02:00
dae3178ac9 LSsession::startLStemplate() : added check to verify that smarty's compile dir is writable. 2012-09-01 14:04:24 +02:00
Benjamin Renard
da80c71268 Added custum action feature 2011-03-25 18:05:26 +01:00
Benjamin Renard
dfc8f368ba LSsession :: setLocale() : Added includes of lang.*.php files 2011-02-03 17:49:36 +01:00
Benjamin Renard
405ceba157 LSsession :: Fixed bug in subDn management 2010-11-26 14:46:48 +01:00
Benjamin Renard
8dbe9bc4aa LSauthMethod_anonymous : Added LSauth method and added feature in LSauth/LSsession to disabled SELF access 2010-11-25 12:39:35 +01:00
Benjamin Renard
9f45b422ae LSsession :: getSubDnLdapServer() : Fixed notices PHP 2010-11-25 12:27:46 +01:00
Benjamin Renard
d288d3e99c LSauth : Recasted - Creation of LSauthMethod class 2010-11-24 19:12:21 +01:00
Benjamin Renard
5cf3906b14 LSsession :: ajax_onLdapServerChangedLogin() : Fixed notice PHP 2010-11-16 19:36:26 +01:00
Benjamin Renard
9a4e7374d0 LSsession :: addHelpInfos() : Fixed notice PHP 2010-11-16 19:35:44 +01:00
Benjamin Renard
5f8db76d52 LSsession :: isSubDnLSobject() : Fixed notice PHP 2010-11-16 19:34:57 +01:00