Commit graph

83 commits

Author SHA1 Message Date
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
8c2e5e604b Introduce LSurl, a new URL routing manager for LdapSaisie 2020-05-02 17:48:34 +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
58fba457f5 LSsession :: includeFile : allow inclusion of external file with include path search support 2020-04-29 19:18:23 +02:00
Benjamin Renard
09e051a1e7 LSsession :: initialize() : always load LScli to allow to add commands 2020-04-29 17:15:27 +02:00
Benjamin Renard
2a5ef1bb4e Code cleaning 2020-04-29 15:54:21 +02:00
Benjamin Renard
1ee61bfaeb Update french translation 2020-04-29 15:38:41 +02:00
Benjamin Renard
43d0df60cd Add CLI commands manager 2020-04-29 15:15:41 +02:00
Benjamin Renard
bed05af674 Fix some translation problems by forcing the LANGUAGE env variable value 2019-10-28 12:49:44 +01:00
Benjamin Renard
08f3be6e20 LSsession : improving logging 2019-10-25 19:25:25 +02:00
Benjamin Renard
e5ad1dfd44 LSprofiles : add possibility to configure them a label 2019-10-14 12:59:37 +02:00
Benjamin Renard
f64cc3cc19 Improve logging 2019-06-28 18:00:37 +02:00
Benjamin Renard
39001ba9f9 LSsession :: loadLSclass() : add $warn option 2019-06-20 20:12:53 +02:00
Benjamin Renard
1b28066189 Fix global_search in multiple subDn context 2019-06-05 12:40:56 +02:00
Benjamin Renard
f130804aae Add globalSearch feature 2019-05-21 12:06:24 +02:00
Benjamin Renard
bf8eb1b8b9 Add LSauth :: afterLogout() trigger 2019-03-27 18:02:04 +01:00
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