Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
2954ea2a
Commit
2954ea2a
authored
Dec 22, 2019
by
Christophe Maudoux
🐛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable compactConf by default & Update unit tests (#2046)
parent
cabdec60
Changes
25
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
71 additions
and
41 deletions
+71
-41
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Compact.pm
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Compact.pm
+2
-2
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Constants.pm
...nldap-ng-common/lib/Lemonldap/NG/Common/Conf/Constants.pm
+2
-2
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm
...p-ng-common/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm
+1
-1
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/ReConstants.pm
...dap-ng-common/lib/Lemonldap/NG/Common/Conf/ReConstants.pm
+1
-1
lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/StatusConstants.pm
...g-handler/lib/Lemonldap/NG/Handler/Lib/StatusConstants.pm
+1
-1
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Attributes.pm
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Attributes.pm
+5
-5
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm
...p-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm
+2
-2
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Tree.pm
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Tree.pm
+2
-2
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Parser.pm
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Parser.pm
+17
-10
lemonldap-ng-manager/site/htdocs/static/languages/ar.json
lemonldap-ng-manager/site/htdocs/static/languages/ar.json
+1
-1
lemonldap-ng-manager/site/htdocs/static/languages/de.json
lemonldap-ng-manager/site/htdocs/static/languages/de.json
+1
-1
lemonldap-ng-manager/site/htdocs/static/languages/en.json
lemonldap-ng-manager/site/htdocs/static/languages/en.json
+1
-1
lemonldap-ng-manager/site/htdocs/static/languages/fr.json
lemonldap-ng-manager/site/htdocs/static/languages/fr.json
+1
-1
lemonldap-ng-manager/site/htdocs/static/languages/it.json
lemonldap-ng-manager/site/htdocs/static/languages/it.json
+1
-1
lemonldap-ng-manager/site/htdocs/static/languages/tr.json
lemonldap-ng-manager/site/htdocs/static/languages/tr.json
+1
-1
lemonldap-ng-manager/site/htdocs/static/languages/vi.json
lemonldap-ng-manager/site/htdocs/static/languages/vi.json
+1
-1
lemonldap-ng-manager/site/htdocs/static/languages/zh.json
lemonldap-ng-manager/site/htdocs/static/languages/zh.json
+1
-1
lemonldap-ng-manager/site/htdocs/static/reverseTree.json
lemonldap-ng-manager/site/htdocs/static/reverseTree.json
+1
-1
lemonldap-ng-manager/site/htdocs/static/struct.json
lemonldap-ng-manager/site/htdocs/static/struct.json
+1
-1
lemonldap-ng-manager/t/conf/lmConf-1.json
lemonldap-ng-manager/t/conf/lmConf-1.json
+1
-0
lemonldap-ng-manager/t/jsonfiles/11-modified-with-confirmation.json
...ng-manager/t/jsonfiles/11-modified-with-confirmation.json
+6
-0
lemonldap-ng-manager/t/jsonfiles/12-modified.json
lemonldap-ng-manager/t/jsonfiles/12-modified.json
+6
-0
lemonldap-ng-manager/t/jsonfiles/70-diff.json
lemonldap-ng-manager/t/jsonfiles/70-diff.json
+13
-4
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Constants.pm
...nldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Constants.pm
+1
-1
lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-apps.t
lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-apps.t
+1
-0
No files found.
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Compact.pm
View file @
2954ea2a
...
...
@@ -4,12 +4,12 @@ use strict;
use
Mouse
;
use
Lemonldap::NG::Common::Conf::
ReConstants
;
our
$VERSION
=
'
2.0.
7
';
our
$VERSION
=
'
2.0.
8
';
sub
compactConf
{
my
(
$self
,
$conf
)
=
@_
;
return
$conf
if
(
$conf
->
{'
dontC
ompactConf
'}
);
return
$conf
unless
(
$conf
->
{'
c
ompactConf
'}
);
# Remove unused auth parameters
my
%keep
;
...
...
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Constants.pm
View file @
2954ea2a
...
...
@@ -5,7 +5,7 @@ use strict;
use
Exporter
'
import
';
use
base
qw(Exporter)
;
our
$VERSION
=
'
2.0.
7
';
our
$VERSION
=
'
2.0.
8
';
# CONSTANTS
...
...
@@ -24,7 +24,7 @@ use constant MANAGERSECTION => "manager";
use
constant
SESSIONSEXPLORERSECTION
=>
"
sessionsExplorer
";
use
constant
APPLYSECTION
=>
"
apply
";
our
$hashParameters
=
qr/^(?:(?:l(?:o(?:ca(?:lSessionStorageOption|tionRule)|goutService)|dapExportedVar|wp(?:Ssl)?Opt)|(?:(?:d(?:emo|bi)|facebook|webID)ExportedVa|exported(?:Heade|Va)|issuerDBGetParamete)r|re(?:moteGlobalStorageOption|st2f(?:Verify|Init)Arg|loadUrl)|g(?:r(?:antSessionRule|oup)|lobalStorageOption)|n(?:otificationStorageOption|ginxCustomHandler)|macro)s|o(?:idc(?:S(?:ervice(?:DynamicRegistrationEx(?:portedVar|traClaim)s|MetaDataAuthnContext)|torageOptions)|RPMetaData(?:(?:Option(?:sExtraClaim)?|ExportedVar|Macro)s|Node)|OPMetaData(?:(?:ExportedVar|Option)s|J(?:SON|WKS)|Node))|penIdExportedVars)|s(?:aml(?:S(?:PMetaData(?:(?:ExportedAttribute|Option|Macro)s|Node|XML)|torageOptions)|IDPMetaData(?:(?:ExportedAttribute|Option)s|Node|XML))|essionDataToRemember|laveExportedVars|fExtra)|c(?:as(?:A(?:ppMetaData(?:(?:ExportedVar|Option|Macro)s|Node)|ttributes)|S(?:rvMetaData(?:(?:ExportedVar|Option)s|Node)|torageOptions))|(?:ustom(?:Plugins|Add)Param|ombModule)s)|p(?:ersistentStorageOptions|o(?:rtalSkinRules|st))|a(?:ut(?:hChoiceMod|oSigninR)ules|pplicationList)|v(?:hostOptions|irtualHost)|S(?:MTPTLSOpts|SLVarIf))$/
;
our
$boolKeys
=
qr/^(?:s(?:aml(?:IDP(?:MetaDataOptions(?:(?:Check(?:S[LS]OMessageSignatur|Audienc|Tim)|IsPassiv)e|A(?:llow(?:LoginFromIDP|ProxiedAuthn)|daptSessionUtime)|Force(?:Authn|UTF8)|StoreSAMLToken|RelayStateURL)|SSODescriptorWantAuthnRequestsSigned)|S(?:P(?:MetaDataOptions(?:(?:CheckS[LS]OMessageSignatur|OneTimeUs)e|EnableIDPInitiatedURL|ForceUTF8)|SSODescriptor(?:WantAssertion|AuthnRequest)sSigned)|erviceUseCertificateInResponse)|DiscoveryProtocol(?:Activation|IsPassive)|CommonDomainCookieActivation|UseQueryStringSpecific|MetadataForceUTF8)|ingle(?:Session(?:UserByIP)?|(?:UserBy)?IP)|oap(?:Session|Config)Server|t(?:ayConnecte|orePasswor)d|kipRenewConfirmation|fRemovedUseNotif|laveDisplayLogo|howLanguages|slByAjax)|o(?:idc(?:RPMetaDataOptions(?:Re(?:freshToken|quirePKCE)|LogoutSessionRequired|IDTokenForceClaims|BypassConsent|AllowOffline|Public)|ServiceAllow(?:(?:AuthorizationCode|Implicit|Hybrid)Flow|DynamicRegistration)|OPMetaDataOptions(?:(?:CheckJWTSignatur|UseNonc)e|StoreIDToken))|ldNotifFormat)|p(?:ortal(?:Display(?:Re(?:setPassword|gister)|GeneratePassword|PasswordPolicy)|ErrorOn(?:ExpiredSession|MailNotFound)|(?:CheckLogin|Statu)s|OpenLinkInNewWindow|RequireOldPassword|ForceAuthn|AntiFrame)|roxyUseSoap)|c(?:a(?:ptcha_(?:register|login|mail)_enabled|sSrvMetaDataOptions(?:Gateway|Renew))|heck(?:User(?:Display(?:PersistentInfo|EmptyValues))?|State|XSS)|o(?:ntextSwitchingStopWithLogout|rsEnabled)|da)|l(?:dap(?:(?:Group(?:DecodeSearchedValu|Recursiv)|UsePasswordResetAttribut)e|(?:AllowResetExpired|Set)Password|ChangePasswordAsUser|PpolicyControl|ITDS)|oginHistoryEnabled)|i(?:ssuerDB(?:OpenID(?:Connect)?|SAML|CAS|Get)Activation|mpersonationSkipEmptyValues)|no(?:tif(?:ication(?:Server(?:(?:POS|GE)T|DELETE)?)?|y(?:Deleted|Other))|AjaxHook)|to(?:tp2f(?:UserCan(?:Chang|Remov)eKey|DisplayExistingSecret)|kenUseGlobalStorage)|u(?:se(?:RedirectOn(?:Forbidden|Error)|SafeJail)|2fUserCanRemoveKey|pgradeSession)|re(?:st(?:(?:Session|Config)Server|ExportSecretKeys)|freshSessions)|
d(?:isablePersistentStorage|biDynamicHashEnabled|ontCompactConf)|
(?:mai(?:lOnPasswordChang|ntenanc)|vhostMaintenanc)e|br(?:owsersDontStorePassword|uteForceProtection)|(?:(?:globalLogout|active)Tim|wsdlServ)er|h(?:ideOldPassword|ttpOnly)|yubikey2fUserCanRemoveKey|krb(?:RemoveDomain|ByJs))$/
;
our
$boolKeys
=
qr/^(?:s(?:aml(?:IDP(?:MetaDataOptions(?:(?:Check(?:S[LS]OMessageSignatur|Audienc|Tim)|IsPassiv)e|A(?:llow(?:LoginFromIDP|ProxiedAuthn)|daptSessionUtime)|Force(?:Authn|UTF8)|StoreSAMLToken|RelayStateURL)|SSODescriptorWantAuthnRequestsSigned)|S(?:P(?:MetaDataOptions(?:(?:CheckS[LS]OMessageSignatur|OneTimeUs)e|EnableIDPInitiatedURL|ForceUTF8)|SSODescriptor(?:WantAssertion|AuthnRequest)sSigned)|erviceUseCertificateInResponse)|DiscoveryProtocol(?:Activation|IsPassive)|CommonDomainCookieActivation|UseQueryStringSpecific|MetadataForceUTF8)|ingle(?:Session(?:UserByIP)?|(?:UserBy)?IP)|oap(?:Session|Config)Server|t(?:ayConnecte|orePasswor)d|kipRenewConfirmation|fRemovedUseNotif|laveDisplayLogo|howLanguages|slByAjax)|o(?:idc(?:RPMetaDataOptions(?:Re(?:freshToken|quirePKCE)|LogoutSessionRequired|IDTokenForceClaims|BypassConsent|AllowOffline|Public)|ServiceAllow(?:(?:AuthorizationCode|Implicit|Hybrid)Flow|DynamicRegistration)|OPMetaDataOptions(?:(?:CheckJWTSignatur|UseNonc)e|StoreIDToken))|ldNotifFormat)|p(?:ortal(?:Display(?:Re(?:setPassword|gister)|GeneratePassword|PasswordPolicy)|ErrorOn(?:ExpiredSession|MailNotFound)|(?:CheckLogin|Statu)s|OpenLinkInNewWindow|RequireOldPassword|ForceAuthn|AntiFrame)|roxyUseSoap)|c(?:a(?:ptcha_(?:register|login|mail)_enabled|sSrvMetaDataOptions(?:Gateway|Renew))|heck(?:User(?:Display(?:PersistentInfo|EmptyValues))?|State|XSS)|o(?:ntextSwitchingStopWithLogout|
mpactConf|
rsEnabled)|da)|l(?:dap(?:(?:Group(?:DecodeSearchedValu|Recursiv)|UsePasswordResetAttribut)e|(?:AllowResetExpired|Set)Password|ChangePasswordAsUser|PpolicyControl|ITDS)|oginHistoryEnabled)|i(?:ssuerDB(?:OpenID(?:Connect)?|SAML|CAS|Get)Activation|mpersonationSkipEmptyValues)|no(?:tif(?:ication(?:Server(?:(?:POS|GE)T|DELETE)?)?|y(?:Deleted|Other))|AjaxHook)|to(?:tp2f(?:UserCan(?:Chang|Remov)eKey|DisplayExistingSecret)|kenUseGlobalStorage)|u(?:se(?:RedirectOn(?:Forbidden|Error)|SafeJail)|2fUserCanRemoveKey|pgradeSession)|re(?:st(?:(?:Session|Config)Server|ExportSecretKeys)|freshSessions)|(?:mai(?:lOnPasswordChang|ntenanc)|vhostMaintenanc)e|
d(?:isablePersistentStorage|biDynamicHashEnabled)|
br(?:owsersDontStorePassword|uteForceProtection)|(?:(?:globalLogout|active)Tim|wsdlServ)er|h(?:ideOldPassword|ttpOnly)|yubikey2fUserCanRemoveKey|krb(?:RemoveDomain|ByJs))$/
;
our
@sessionTypes
=
(
'
remoteGlobal
',
'
global
',
'
localSession
',
'
persistent
',
'
saml
',
'
oidc
',
'
cas
'
);
...
...
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm
View file @
2954ea2a
# This file is generated by Lemonldap::NG::Manager::Build. Don't modify it by hand
package
Lemonldap::NG::Common::Conf::
DefaultValues
;
our
$VERSION
=
'
2.0.
7
';
our
$VERSION
=
'
2.0.
8
';
sub
defaultValues
{
return
{
...
...
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/ReConstants.pm
View file @
2954ea2a
...
...
@@ -5,7 +5,7 @@ use strict;
use
Exporter
'
import
';
use
base
qw(Exporter)
;
our
$VERSION
=
'
2.0.
7
';
our
$VERSION
=
'
2.0.
8
';
our
%EXPORT_TAGS
=
(
'
all
'
=>
[
qw($simpleHashKeys $doubleHashKeys $specialNodeKeys $casAppMetaDataNodeKeys $casSrvMetaDataNodeKeys $oidcOPMetaDataNodeKeys $oidcRPMetaDataNodeKeys $samlIDPMetaDataNodeKeys $samlSPMetaDataNodeKeys $virtualHostKeys $specialNodeHash $authParameters $issuerParameters $samlServiceParameters $oidcServiceParameters $casServiceParameters)
]
);
our
@EXPORT_OK
=
(
@
{
$EXPORT_TAGS
{'
all
'}
}
);
...
...
lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/StatusConstants.pm
View file @
2954ea2a
...
...
@@ -4,7 +4,7 @@ package Lemonldap::NG::Handler::Lib::StatusConstants;
use
strict
;
use
Exporter
'
import
';
our
$VERSION
=
'
2.0.
7
';
our
$VERSION
=
'
2.0.
8
';
sub
portalConsts
{
return
{
...
...
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Attributes.pm
View file @
2954ea2a
# This file is generated by Lemonldap::NG::Manager::Build. Don't modify it by hand
package
Lemonldap::NG::Manager::
Attributes
;
our
$VERSION
=
'
2.0.
7
';
our
$VERSION
=
'
2.0.
8
';
sub
perlExpr
{
my
(
$val
,
$conf
)
=
@_
;
...
...
@@ -968,6 +968,10 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
},
'
type
'
=>
'
cmbModuleContainer
'
},
'
compactConf
'
=>
{
'
default
'
=>
0
,
'
type
'
=>
'
bool
'
},
'
configStorage
'
=>
{
'
type
'
=>
'
text
'
},
...
...
@@ -1185,10 +1189,6 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
qr/^(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?))?$/
,
'
type
'
=>
'
text
'
},
'
dontCompactConf
'
=>
{
'
default
'
=>
0
,
'
type
'
=>
'
bool
'
},
'
exportedAttr
'
=>
{
'
type
'
=>
'
text
'
},
...
...
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm
View file @
2954ea2a
...
...
@@ -6,7 +6,7 @@
package
Lemonldap::NG::Manager::Build::
Attributes
;
our
$VERSION
=
'
2.0.
7
';
our
$VERSION
=
'
2.0.
8
';
use
strict
;
use
Regexp::
Common
qw/URI/
;
...
...
@@ -390,7 +390,7 @@ sub attributes {
msgFail
=>
'
__badUrl__
',
documentation
=>
'
URL to call on reload
',
},
dontC
ompactConf
=>
{
c
ompactConf
=>
{
type
=>
'
bool
',
default
=>
0
,
documentation
=>
'
Don t compact configuration
',
...
...
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Tree.pm
View file @
2954ea2a
...
...
@@ -17,7 +17,7 @@
package
Lemonldap::NG::Manager::Build::
Tree
;
our
$VERSION
=
'
2.0.
7
';
our
$VERSION
=
'
2.0.
8
';
# TODO: Missing:
# * activeTimer
...
...
@@ -571,7 +571,7 @@ sub tree {
title
=>
'
reloadParams
',
help
=>
'
configlocation.html#configuration_reload
',
nodes
=>
[
'
reloadUrls
',
'
reloadTimeout
',
'
dontC
ompactConf
'
]
[
'
reloadUrls
',
'
reloadTimeout
',
'
c
ompactConf
'
]
},
{
title
=>
'
plugins
',
...
...
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Parser.pm
View file @
2954ea2a
...
...
@@ -26,7 +26,7 @@ use JSON 'to_json';
use
Lemonldap::NG::Common::Conf::
ReConstants
;
use
Lemonldap::NG::Manager::
Attributes
;
our
$VERSION
=
'
2.0.
7
';
our
$VERSION
=
'
2.0.
8
';
extends
'
Lemonldap::NG::Common::Conf::Compact
';
...
...
@@ -115,19 +115,19 @@ sub check {
$self
->
message
('
__confNotChanged__
');
return
0
;
}
unless
(
$self
->
newConf
->
{
dontC
ompactConf
}
)
{
if
(
$self
->
newConf
->
{
c
ompactConf
}
)
{
foreach
(
sort
keys
%conf
)
{
push
@removedKeys
,
$_
unless
exists
$compactedConf
{
$_
};
}
}
push
@
{
$self
->
changes
},
(
$self
->
{
newConf
}
->
{
dontCompactConf
}
?
{
confCompacted
=>
'
0
'
}
:
{
$self
->
{
newConf
}
->
{
compactConf
}
?
{
confCompacted
=>
'
1
',
removedKeys
=>
join
(
$separator
,
@removedKeys
)
}
}
:
{
confCompacted
=>
'
0
'
}
);
return
1
;
}
...
...
@@ -266,7 +266,8 @@ sub _scanNodes {
$leaf
->
{
comment
}
?
"
(?#
$leaf
->{comment})
$leaf
->{re}
"
:
$leaf
->
{
re
};
$k
.=
"
(?#AuthnLevel=
$leaf
->{level})
"
if
$leaf
->
{
level
};
$k
.=
"
(?#AuthnLevel=
$leaf
->{level})
"
if
$leaf
->
{
level
};
$self
->
set
(
$target
,
$key
,
$k
,
$leaf
->
{
data
}
);
}
else
{
...
...
@@ -334,7 +335,9 @@ sub _scanNodes {
hdebug
("
SAML data is an array, serializing
");
$leaf
->
{
data
}
=
join
'
;
',
@
{
$leaf
->
{
data
}
};
}
if
(
$target
=~
/^saml(?:S|ID)PMetaData(?:ExportedAttributes|Macros)$/
)
{
if
(
$target
=~
/^saml(?:S|ID)PMetaData(?:ExportedAttributes|Macros)$/
)
{
if
(
$leaf
->
{
cnodes
}
)
{
hdebug
("
$target
: unopened node
");
$self
->
newConf
->
{
$target
}
->
{
$key
}
=
...
...
@@ -394,7 +397,9 @@ sub _scanNodes {
hdebug
("
$target
");
$self
->
set
(
$target
,
$key
,
$leaf
->
{
data
}
);
}
elsif
(
$target
=~
/^oidc(?:O|R)PMetaData(?:ExportedVars|Macros)$/
)
{
elsif
(
$target
=~
/^oidc(?:O|R)PMetaData(?:ExportedVars|Macros)$/
)
{
hdebug
("
$target
");
if
(
$leaf
->
{
cnodes
}
)
{
hdebug
('
unopened
');
...
...
@@ -463,7 +468,9 @@ sub _scanNodes {
$self
->
_scanNodes
(
$subNodes
);
$self
->
set
(
$target
,
$key
,
$leaf
->
{
title
},
$leaf
->
{
data
}
);
}
elsif
(
$target
=~
/^cas(?:App|Srv)MetaData(?:ExportedVars|Macros)$/
)
{
elsif
(
$target
=~
/^cas(?:App|Srv)MetaData(?:ExportedVars|Macros)$/
)
{
hdebug
("
$target
");
if
(
$leaf
->
{
cnodes
}
)
{
hdebug
('
unopened
');
...
...
lemonldap-ng-manager/site/htdocs/static/languages/ar.json
View file @
2954ea2a
...
...
@@ -273,7 +273,7 @@
"dateTitle"
:
"تاريخ"
,
"dn"
:
"دي أن"
,
"domain"
:
"نطاق"
,
"
dontC
ompactConf"
:
"
Don't c
ompact configuration file"
,
"
c
ompactConf"
:
"
C
ompact configuration file"
,
"download"
:
"تحميل"
,
"downloadIt"
:
"نزله"
,
"duplicate"
:
"مكررة"
,
...
...
lemonldap-ng-manager/site/htdocs/static/languages/de.json
View file @
2954ea2a
...
...
@@ -273,7 +273,7 @@
"dateTitle"
:
"Dates"
,
"dn"
:
"DN"
,
"domain"
:
"Domain"
,
"
dontC
ompactConf"
:
"
Don't c
ompact configuration file"
,
"
c
ompactConf"
:
"
C
ompact configuration file"
,
"download"
:
"Download"
,
"downloadIt"
:
"Download it"
,
"duplicate"
:
"Duplicate"
,
...
...
lemonldap-ng-manager/site/htdocs/static/languages/en.json
View file @
2954ea2a
...
...
@@ -273,7 +273,7 @@
"dateTitle"
:
"Dates"
,
"dn"
:
"DN"
,
"domain"
:
"Domain"
,
"
dontC
ompactConf"
:
"
Don't c
ompact configuration file"
,
"
c
ompactConf"
:
"
C
ompact configuration file"
,
"download"
:
"Download"
,
"downloadIt"
:
"Download it"
,
"duplicate"
:
"Duplicate"
,
...
...
lemonldap-ng-manager/site/htdocs/static/languages/fr.json
View file @
2954ea2a
...
...
@@ -273,7 +273,7 @@
"dateTitle"
:
"Dates"
,
"dn"
:
"DN"
,
"domain"
:
"Domaine"
,
"
dontC
ompactConf"
:
"
Ne pas c
ompacter le fichier de configuration"
,
"
c
ompactConf"
:
"
C
ompacter le fichier de configuration"
,
"download"
:
"Télécharger"
,
"downloadIt"
:
"Télécharger"
,
"duplicate"
:
"Dupliquer"
,
...
...
lemonldap-ng-manager/site/htdocs/static/languages/it.json
View file @
2954ea2a
...
...
@@ -273,7 +273,7 @@
"dateTitle"
:
"Date"
,
"dn"
:
"DN"
,
"domain"
:
"Dominio"
,
"
dontC
ompactConf"
:
"
Don't c
ompact configuration file"
,
"
c
ompactConf"
:
"
C
ompact configuration file"
,
"download"
:
"Scarica"
,
"downloadIt"
:
"Scaricalo"
,
"duplicate"
:
"Duplicato"
,
...
...
lemonldap-ng-manager/site/htdocs/static/languages/tr.json
View file @
2954ea2a
...
...
@@ -273,7 +273,7 @@
"dateTitle"
:
"Tarihler"
,
"dn"
:
"DN"
,
"domain"
:
"Etki alanı"
,
"
dontC
ompactConf"
:
"
Yapılandırma dosyasını sıkıştırma
"
,
"
c
ompactConf"
:
"
Compact configuration file
"
,
"download"
:
"İndir"
,
"downloadIt"
:
"İndir"
,
"duplicate"
:
"Mükerrer"
,
...
...
lemonldap-ng-manager/site/htdocs/static/languages/vi.json
View file @
2954ea2a
...
...
@@ -273,7 +273,7 @@
"dateTitle"
:
"Ngày"
,
"dn"
:
"DN"
,
"domain"
:
"Tên miền"
,
"
dontC
ompactConf"
:
"
Don't c
ompact configuration file"
,
"
c
ompactConf"
:
"
C
ompact configuration file"
,
"download"
:
"Tải xuống"
,
"downloadIt"
:
"Tải xuống"
,
"duplicate"
:
"Sao y"
,
...
...
lemonldap-ng-manager/site/htdocs/static/languages/zh.json
View file @
2954ea2a
...
...
@@ -273,7 +273,7 @@
"dateTitle"
:
"日期"
,
"dn"
:
"LDAP 唯一名称"
,
"domain"
:
"域"
,
"
dontC
ompactConf"
:
"
Don't c
ompact configuration file"
,
"
c
ompactConf"
:
"
C
ompact configuration file"
,
"download"
:
"下载"
,
"downloadIt"
:
"下载它"
,
"duplicate"
:
"Duplicate"
,
...
...
lemonldap-ng-manager/site/htdocs/static/reverseTree.json
View file @
2954ea2a
This diff is collapsed.
Click to expand it.
lemonldap-ng-manager/site/htdocs/static/struct.json
View file @
2954ea2a
This diff is collapsed.
Click to expand it.
lemonldap-ng-manager/t/conf/lmConf-1.json
View file @
2954ea2a
...
...
@@ -154,6 +154,7 @@
},
"portal"
:
"http://auth.example.com/"
,
"reloadUrls"
:
{},
"compactConf"
:
1
,
"securedCookie"
:
0
,
"sessionDataToRemember"
:
{},
"timeout"
:
72000
,
...
...
lemonldap-ng-manager/t/jsonfiles/11-modified-with-confirmation.json
View file @
2954ea2a
...
...
@@ -1379,6 +1379,12 @@
"title"
:
"reloadUrls"
,
"type"
:
"keyTextContainer"
},
{
"default"
:
0
,
"id"
:
"compactConf"
,
"title"
:
"compactConf"
,
"type"
:
"bool"
,
"data"
:
1
},
{
"id"
:
"advancedParams"
,
"title"
:
"advancedParams"
,
"nodes"
:
[{
...
...
lemonldap-ng-manager/t/jsonfiles/12-modified.json
View file @
2954ea2a
...
...
@@ -1380,6 +1380,12 @@
"id"
:
"reloadUrls"
,
"title"
:
"reloadUrls"
,
"type"
:
"keyTextContainer"
},
{
"default"
:
0
,
"id"
:
"compactConf"
,
"title"
:
"compactConf"
,
"type"
:
"bool"
,
"data"
:
1
},
{
"id"
:
"advancedParams"
,
"title"
:
"advancedParams"
,
...
...
lemonldap-ng-manager/t/jsonfiles/70-diff.json
View file @
2954ea2a
...
...
@@ -1209,10 +1209,19 @@
"id"
:
"sessionParams"
,
"title"
:
"sessionParams"
},
{
"cnodes"
:
"reloadUrls"
,
"id"
:
"reloadUrls"
,
"title"
:
"reloadUrls"
,
"type"
:
"keyTextContainer"
"_nodes"
:
[{
"cnodes"
:
"reloadUrls"
,
"id"
:
"reloadUrls"
,
"title"
:
"reloadUrls"
,
"type"
:
"keyTextContainer"
},
{
"default"
:
0
,
"id"
:
"compactConf"
,
"title"
:
"compactConf"
,
"type"
:
"bool"
}],
"id"
:
"reloadParams"
,
"title"
:
"reloadParams"
},
{
"_nodes"
:
[{
"id"
:
"customFunctions"
,
...
...
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Constants.pm
View file @
2954ea2a
...
...
@@ -4,7 +4,7 @@ package Lemonldap::NG::Portal::Main::Constants;
use
strict
;
use
Exporter
'
import
';
our
$VERSION
=
'
2.0.
7
';
our
$VERSION
=
'
2.0.
8
';
use
constant
HANDLER
=>
'
Lemonldap::NG::Handler::PSGI::Main
';
use
constant
{
...
...
lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-apps.t
View file @
2954ea2a
...
...
@@ -150,6 +150,7 @@ sub sp {
portal
=>
'
http://auth.sp.com
',
authentication
=>
'
CAS
',
userDB
=>
'
CAS
',
compactConf
=>
1
,
restSessionServer
=>
1
,
issuerDBCASActivation
=>
0
,
multiValuesSeparator
=>
'
;
',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment