Benjamin Renard
8b996885d1
LSsession: improve loadLSaddons() method
2020-11-17 17:56:04 +01:00
Benjamin Renard
9db67eb2ba
LSsession: improve error messages
2020-09-03 18:31:53 +02:00
Benjamin Renard
bbaa0a99df
Auto declare simple PHP class for simple LSObject type
...
On LSsession::loadLSobject(), if PHP class file is not found, a simple
one will be declare.
2020-09-03 16:00:51 +02:00
Benjamin Renard
406b017023
Add method LSldapObject::isValidTypeName() and use it in LSsession::loadLSobject()
2020-09-03 15:40:59 +02:00
Benjamin Renard
a8e2ecc343
Translate LSerror message at formating/diplaying time
...
It's permit to be sure to translate message in the right user language,
even if its context isn't loaded at error emission time.
2020-08-25 17:31:50 +02:00
Benjamin Renard
8a1eefc5e3
LSsession::loadLSprofiles(): restructuring code and improve comments and logging
2020-08-24 17:56:42 +02:00
Benjamin Renard
f223827157
LSsession::includeFile(): improve logging
2020-08-17 20:04:21 +02:00
Benjamin Renard
5fcf3bbf9c
LSsession: add trace messages in whoami() and canAccess methods
2020-08-07 18:19:24 +02:00
Benjamin Renard
1f1a4e16fa
LSsession: add log_exception() method
2020-08-07 18:17:02 +02:00
Benjamin Renard
f234709722
LSlog: add TRACE log level
2020-08-07 18:05:50 +02:00
Benjamin Renard
42e6437966
LSsession: fix usage of self :: $topDn instead of self :: getTopDn()
2020-08-07 17:40:40 +02:00
Benjamin Renard
d5d88d2601
LSsession : fix handling subDn in recoverPassword feature
2020-08-06 17:01:51 +02:00
Benjamin Renard
3dbfe18afb
LSsession: add setSubDn() method
2020-08-06 16:43:35 +02:00
Benjamin Renard
712d18b09f
LSsession: fix/improve methods & doc about global preference parameters
2020-08-06 13:48:43 +02:00
Benjamin Renard
626e0d854c
Fix subDn form style
2020-08-06 13:20:49 +02:00
559f9d9475
Add autocompleter for CLI command search
2020-06-15 10:40:48 +02:00
Benjamin Renard
ac1626fe22
LSsession: fix some error messages
2020-06-04 19:05:23 +02:00
Benjamin Renard
1b98dbfe80
Fix helpInfo feature by LSsession::addHelpInfos to LStemplate
...
LSsession :: addHelpInfos() is now deprecated in favor of LStemplate ::
addHelpInfo().
2020-06-04 19:04:48 +02:00
Benjamin Renard
81c8a486d9
Move "Connect as" label translation to template
2020-05-28 16:59:28 +02:00
Benjamin Renard
3fbd9e8073
Move custom JS & CSS handling methods from LSsession to LStemplates
...
The following method are now offer by LStemplate:
- addJSscript()
- addLibJSscript()
- addJSconfigParam()
- addCssFile()
- addLibCssFile()
Old methods are always provided by LSsession, but an deprecated error
message wil be displayed to alert on it.
2020-05-28 16:56:36 +02:00
Benjamin Renard
d68b15bac3
Add default LSprofiles with the name of authenticable object types
...
Consquently adjust LSaccessRigthsMatrixView addon and make some
representative change in LSexample for demo
2020-05-25 11:09:32 +02:00
Benjamin Renard
9bb52296b7
LSsession :: loadLSaddon: keep trace of already loaded addon to avoid loading more than once
2020-05-14 10:53:41 +02:00
Benjamin Renard
db710efb87
LSsession: Fix PHP < 7 syntax error
2020-05-12 20:20:11 +02:00
Benjamin Renard
a6f07faca0
LSauth: Add possibility to configure more than one LSobject type as user
2020-05-12 19:23:24 +02:00
ca7a6e821e
LSsession : use LSlog_logger
2020-05-08 15:51:21 +02:00
Benjamin Renard
de73ffdd60
Rework on template files to use blocks
2020-05-07 12:16:12 +02:00
Benjamin Renard
cd8908391d
Improve login and recover password templates
2020-05-07 11:36:25 +02:00
Benjamin Renard
e87270112e
LSsession :: loadLSaddon(): don't if config file is not found
2020-05-07 11:34:30 +02:00
Benjamin Renard
7153356a24
LSsession :: loadLSclass(): respect $warn parameter on includeFile() call
2020-05-07 11:19:36 +02:00
Benjamin Renard
16aa789b21
LSsession :: includeFile: add $warn parameter to control warning if file not found
2020-05-07 11:16:09 +02:00
Benjamin Renard
91ea37f841
Remove references to old index.php page
2020-05-07 09:56:28 +02:00
Benjamin Renard
6ba8f2732c
LSsession : fix getTmpFileURL when tmp directory is a symbolic link
2020-05-06 21:23:07 +02:00
Benjamin Renard
52f7c3a205
Move LSsession lang stuff to dedicated LSlang class
2020-05-06 16:06:05 +02:00
Benjamin Renard
7098b3ee79
Massive change of files organisation to move all files outside web-root
...
The web-root directory now contains URL rewrite stuff. All PHP & static files are
in root src directory and are served via LSurl routes.
2020-05-06 12:17:35 +02:00