Merge branch 'llng-2.0-improvements' of gitlab.ow2.org:maudoux/lemonldap-ng into llng-2.0-improvements

This commit is contained in:
Christophe Maudoux 2018-05-02 19:34:07 +02:00
commit 017c6ae1ed
7 changed files with 36 additions and 23 deletions

20
COPYING
View File

@ -66,7 +66,7 @@ Comment: Downloaded from http://www.iconspedia.com/
Files: lemonldap-ng-portal/site/htdocs/static/common/modules/WebID.png Files: lemonldap-ng-portal/site/htdocs/static/common/modules/WebID.png
Copyright: unknown Copyright: unknown
License: W3C License: W3C
Comment: downloaded from Comment: Downloaded from
http://www.w3.org/2005/Incubator/webid/wiki/Main_Page#Other_resources http://www.w3.org/2005/Incubator/webid/wiki/Main_Page#Other_resources
. .
Author is unknown and license may be W3C or public-domain Author is unknown and license may be W3C or public-domain
@ -74,7 +74,7 @@ Comment: downloaded from
Files: lemonldap-ng-portal/site/htdocs/static/common/modules/LinkedIn.png Files: lemonldap-ng-portal/site/htdocs/static/common/modules/LinkedIn.png
Copyright: Public Domain Copyright: Public Domain
License: Simple-Geo License: Simple-Geo
Comment: downloaded from Comment: Downloaded from
https://commons.wikimedia.org/wiki/File:LinkedIn_logo_initials.png https://commons.wikimedia.org/wiki/File:LinkedIn_logo_initials.png
. .
Author is unknown and license may be W3C or public-domain Author is unknown and license may be W3C or public-domain
@ -82,12 +82,17 @@ Comment: downloaded from
Files: lemonldap-ng-portal/site/htdocs/static/bootstrap/u2f.png Files: lemonldap-ng-portal/site/htdocs/static/bootstrap/u2f.png
Copyright: Bautsch <https://commons.wikimedia.org/wiki/User:Bautsch> Copyright: Bautsch <https://commons.wikimedia.org/wiki/User:Bautsch>
License: CC0-1.0 License: CC0-1.0
Comment: dowloaded from http://commons.wikimedia.org Comment: Downloaded from http://commons.wikimedia.org
Files: lemonldap-ng-portal/site/htdocs/static/common/icons/2FManagment.png
Copyright: Freepik <https://www.flaticon.com/free-icon/photo-contrast-symbol_44324>
License: Flaticon Basic
Comment: Downloaded from https://www.flaticon.com
Files: lemonldap-ng-portal/site/htdocs/static/common/backgrounds/* Files: lemonldap-ng-portal/site/htdocs/static/common/backgrounds/*
Copyright: Various artists Copyright: Various artists
License: CC-BY-NC-ND-3.0 or GFDL-1.3 License: CC-BY-NC-ND-3.0 or GFDL-1.3
Comment: dowloaded from http://commons.wikimedia.org Comment: Downloaded from http://commons.wikimedia.org
Files: lemonldap-ng-manager/site/htdocs/static/bwr/angular* Files: lemonldap-ng-manager/site/htdocs/static/bwr/angular*
Copyright: 2010-2017, Google, Inc. http://angularjs.org Copyright: 2010-2017, Google, Inc. http://angularjs.org
@ -891,3 +896,10 @@ License: BSD-3-clause
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: Flaticon Basic
FREE LICENSE (WITH ATTRIBUTION):
.
This license allows you to use for free any of Flaticon's contents for
your projects as long as they are attributed to their author in the
definitive project.

View File

@ -37,6 +37,7 @@ useRedirectOnError = 0
[manager] [manager]
enabledModules = conf, sessions, notifications, 2ndFA
protection = manager protection = manager
staticPrefix = /static staticPrefix = /static
languages = fr, en, vi, ar languages = fr, en, vi, ar

View File

@ -52,7 +52,7 @@ sub init {
return 0; return 0;
} }
$self->{enabledModules} ||= "conf, sessions, notifications"; $self->{enabledModules} ||= "conf, sessions, notifications, 2ndFA";
my @links; my @links;
my @enabledModules = my @enabledModules =
map { push @links, $_; "Lemonldap::NG::Manager::" . ucfirst($_) } map { push @links, $_; "Lemonldap::NG::Manager::" . ucfirst($_) }
@ -254,7 +254,7 @@ you can also fix them in $opts hash ref passed as argument to run() or new()).
; Lemonldap::NG::Handler::PSGI::Router doc. ; Lemonldap::NG::Handler::PSGI::Router doc.
protection = manager protection = manager
;enabledModules: Modules to display. Default to `conf, sessions, notifications` ;enabledModules: Modules to display. Default to `conf, sessions, notifications, 2ndFA`
enabledModules = conf, sessions, notifications, 2ndFA enabledModules = conf, sessions, notifications, 2ndFA
;logLevel: choose one of error, warn, notice, info, debug ;logLevel: choose one of error, warn, notice, info, debug

View File

@ -27,7 +27,7 @@ sub types {
BEGIN { BEGIN {
${^WARNING_BITS} = ${^WARNING_BITS} =
"\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x05"; "\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x01";
} }
eval "$s $val"; eval "$s $val";
my $err = join( my $err = join(
@ -662,7 +662,7 @@ sub attributes {
BEGIN { BEGIN {
${^WARNING_BITS} = ${^WARNING_BITS} =
"\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x05"; "\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x01";
} }
eval "$s $val"; eval "$s $val";
my $err = join( my $err = join(
@ -1026,7 +1026,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
BEGIN { BEGIN {
${^WARNING_BITS} = ${^WARNING_BITS} =
"\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x05"; "\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x01";
} }
eval $s; eval $s;
my $err = join( my $err = join(
@ -1111,7 +1111,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
BEGIN { BEGIN {
${^WARNING_BITS} = ${^WARNING_BITS} =
"\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x05"; "\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x01";
} }
eval "$s $val"; eval "$s $val";
my $err = join( my $err = join(
@ -1134,7 +1134,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
BEGIN { BEGIN {
${^WARNING_BITS} = ${^WARNING_BITS} =
"\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x05"; "\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x01";
} }
eval "$s $val"; eval "$s $val";
my $err = join( my $err = join(
@ -1489,7 +1489,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
BEGIN { BEGIN {
${^WARNING_BITS} = ${^WARNING_BITS} =
"\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x05"; "\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x01";
} }
eval $s; eval $s;
my $err = join( my $err = join(
@ -1526,7 +1526,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
BEGIN { BEGIN {
${^WARNING_BITS} = ${^WARNING_BITS} =
"\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x05"; "\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x01";
} }
eval "$s $val"; eval "$s $val";
my $err = join( my $err = join(
@ -1885,7 +1885,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
BEGIN { BEGIN {
${^WARNING_BITS} = ${^WARNING_BITS} =
"\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x05"; "\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x01";
} }
eval "$s $val"; eval "$s $val";
my $err = join( my $err = join(
@ -2222,7 +2222,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
BEGIN { BEGIN {
${^WARNING_BITS} = ${^WARNING_BITS} =
"\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x05"; "\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x01";
} }
eval "$s $val"; eval "$s $val";
my $err = join( my $err = join(
@ -2925,7 +2925,7 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
BEGIN { BEGIN {
${^WARNING_BITS} = ${^WARNING_BITS} =
"\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x05"; "\x54\x55\x55\x55\x15\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55\x01";
} }
eval "$s $val"; eval "$s $val";
my $err = join( my $err = join(
@ -3004,19 +3004,19 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
'default' => 0, 'default' => 0,
'select' => [ 'select' => [
{ {
'k' => 0, 'k' => '0',
'v' => 'unsecuredCookie' 'v' => 'unsecuredCookie'
}, },
{ {
'k' => 1, 'k' => '1',
'v' => 'securedCookie' 'v' => 'securedCookie'
}, },
{ {
'k' => 2, 'k' => '2',
'v' => 'doubleCookie' 'v' => 'doubleCookie'
}, },
{ {
'k' => 3, 'k' => '3',
'v' => 'doubleCookieForSingleSession' 'v' => 'doubleCookieForSingleSession'
} }
], ],

View File

@ -1,4 +1,4 @@
// Generated by CoffeeScript 1.9.3 // Generated by CoffeeScript 1.10.0
/* /*
* 2ndFA Session explorer * 2ndFA Session explorer

View File

@ -1,4 +1,4 @@
// Generated by CoffeeScript 1.9.3 // Generated by CoffeeScript 1.10.0
/* /*
LemonLDAP::NG Manager client LemonLDAP::NG Manager client

View File

@ -1,4 +1,4 @@
// Generated by CoffeeScript 1.9.3 // Generated by CoffeeScript 1.10.0
/* /*
* LemonLDAP::NG Notifications Explorer client * LemonLDAP::NG Notifications Explorer client