Commit graph

48 commits

Author SHA1 Message Date
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
Benjamin Renard
4ce6560504 LSsession :: relationCanAccess() : Fixed notice PHP 2010-11-16 19:34:04 +01:00
Benjamin Renard
0d440bffc3 LSsession :: canAccess() : Fixed notice PHP 2010-11-16 19:32:10 +01:00
Benjamin Renard
d432819ed5 LSsession :: loadLSaccess() : Fixed notice PHP 2010-11-16 19:31:07 +01:00
Benjamin Renard
c577b7a706 LSsession :: loadLSprofiles() : Fixed notice PHP 2010-11-16 19:28:43 +01:00
Benjamin Renard
b00b3825f1 LSsession :: startLSsession() : Fixed notice PHP 2010-11-16 19:26:49 +01:00
Benjamin Renard
bf04c8e051 LSsession : Added nologin parameter in subDn configuration 2010-11-16 11:50:18 +01:00
Benjamin Renard
90e471646d LSsession / Smarty : Added getFData() smarty function 2010-11-15 17:31:47 +01:00
Benjamin Renard
62696c9f16 LSsession :: haveSubDn() : Fixed Notice PHP 2010-11-08 17:02:35 +01:00
Benjamin Renard
9a1ec2fcdd LSsession :: startLSsession() : Fixed Notices PHP 2010-11-08 17:00:33 +01:00
Benjamin Renard
0b4e6ebcd4 LSsession :: includeFile() : Fixed Notice PHP 2010-11-08 16:57:17 +01:00
Benjamin Renard
d5baeb10e4 LSobject/LSsession : Added feature to globally disable object creation with configuration parameter 2010-08-02 14:39:50 +02:00
Benjamin Renard
647791e598 LSsession / logout : fixed bug 2010-03-10 19:36:23 +01:00
Benjamin Renard
b4758b2dec LSsession : Added getLSauthObject() and used it. Modify logout procedure to use LSauth::logout() method. 2010-03-10 19:07:58 +01:00
Benjamin Renard
06cd1f4c78 LSsession : added loadLSauth() method and used this method to load LSauth class and configuration. 2010-03-10 17:07:18 +01:00
bn8
159b33a49f LSsession :: loadLSobject() : Added support to LSaddons dependencies. 2010-03-05 17:44:07 +01:00
Benjamin Renard
382cb1c994 Rename trunk directory to public_html 2009-11-13 14:26:11 +01:00
Renamed from trunk/includes/class/class.LSsession.php (Browse further)