Christophe Maudoux
a34aa1992b
Fix CDA & AuthBasic namespace ( #1638 )
2019-02-04 20:47:13 +01:00
Xavier Guimard
c5a3687040
Merge remote-tracking branch 'max/fix-redir' into v2.0
2019-02-03 22:48:43 +01:00
Maxime Besson
e028088f88
Add the ability to detect HTTPS from web server env
...
This commit adds a new "Default" option for the global HTTPS setting. In
this mode, the handler will refer to the HTTPS env variable to know if it's
being accessed over HTTPS or not. An administrator is of course still
free to force HTTPS by setting it either globally or per-VHost
2019-02-03 20:12:53 +01:00
Maxime Besson
f35a7c305a
Add Mail second factor plugin
2019-02-03 14:46:40 +01:00
Maxime Besson
faa748f68f
Add Mail second factor plugin
2019-02-03 14:43:44 +01:00
Clément OUDOT
918508c37e
Remove STDERR message in Handler.pm ( #1618 )
2019-02-01 11:24:17 +01:00
Clément OUDOT
8df8d9b521
Remove STDERR message in Handler.pm ( #1618 )
2019-02-01 11:23:47 +01:00
Clément OUDOT
b79c7112fc
Revert "Fix handler namespace"
...
This reverts commit 01ba3b6e13
.
2019-02-01 11:23:36 +01:00
Clément OUDOT
372073e130
Revert "Fix handler namespace"
...
This reverts commit 01ba3b6e13
.
2019-02-01 11:21:25 +01:00
Xavier Guimard
681481b0a1
Fix #1630
2019-02-01 09:52:28 +01:00
Xavier Guimard
01ba3b6e13
Fix handler namespace
2019-01-31 23:16:52 +01:00
Christophe Maudoux
84913b36eb
Delete SSO cookie with Nginx ( #1630 )
2019-01-30 23:10:33 +01:00
Christophe Maudoux
5a03e518c8
Delete SSO cookie with Nginx ( #1630 )
2019-01-30 23:02:08 +01:00
Christophe Maudoux
72daca2f8f
Fix regex ( #1630 )
2019-01-30 19:36:36 +01:00
Clément OUDOT
54491c667a
Use main Handler version in server signature ( #1618 )
2019-01-16 12:32:45 +01:00
Xavier Guimard
2ab385e2df
Update versions
2019-01-09 13:42:30 +01:00
Xavier Guimard
9ebc18ca5d
Update version
2018-12-18 13:13:15 +01:00
Christophe Maudoux
f2d1957114
Partial revert ( #1585 )
2018-12-15 20:31:05 +01:00
Christophe Maudoux
658a7a88c0
Append show_lang and main_logo parameters & Fix URL typo ( #1585 )
2018-12-15 16:05:48 +01:00
Xavier Guimard
0aabaed43f
Fix vhostOptions default value (workaround for @#! SOAP, #1579 )
2018-12-12 06:47:33 +01:00
Xavier Guimard
75f20be6d8
Fix some warnings ( #1559 )
2018-11-29 19:48:49 +01:00
Xavier Guimard
02f8c41030
Fix little warnings ( #1559 )
2018-11-29 17:00:28 +01:00
Xavier Guimard
b914bfbf0a
update translations from transifex
2018-11-28 14:34:00 +01:00
Xavier Guimard
11857d9f8a
make tidy
2018-11-26 14:40:21 +01:00
Xavier Guimard
41500780ec
Fix warning
2018-11-24 19:48:16 +01:00
Xavier Bachelot
6d10f1f8f2
Remove duplicate use
2018-11-20 10:49:57 +01:00
Xavier Bachelot
301b0d40eb
Add missing use
2018-11-19 17:21:07 +01:00
Clément OUDOT
8e9528ca26
Fix Handler CDA ( #1544 )
2018-11-15 15:17:07 +01:00
Christophe Maudoux
c3ee16ec28
Append handler internal cache timeout parameter ( #1535 )
2018-11-09 21:35:51 +01:00
Christophe Maudoux
121356dcad
Fix unit test warning ( #1509 )
2018-10-23 23:04:35 +02:00
Christophe Maudoux
aaaa8f54f5
Append debug messages & Fix issue ( #1509 )
2018-10-23 21:35:44 +02:00
Christophe Maudoux
67e9dc23b1
Fix mistake
2018-10-23 20:27:55 +02:00
Christophe Maudoux
8ba4d112cc
Append debug messages ( #1509 )
2018-10-22 22:40:20 +02:00
Christophe Maudoux
14391d07d1
Append debug messages ( #1509 )
2018-10-22 22:28:37 +02:00
Clément OUDOT
c5f9a7f95b
make tidy
2018-10-12 10:04:03 +02:00
Xavier Guimard
69737ab276
Fix bug introduced in commit 1c382ff
( #1514 )
2018-10-08 15:54:38 +02:00
Christophe Maudoux
6ae0035fbb
Append PE code
2018-10-07 22:39:03 +02:00
Christophe Maudoux
a4b3984374
Remove Perl version directive
2018-10-07 22:38:40 +02:00
Clément OUDOT
1c382ff263
Resolve alias when building redirect URL ( #1514 )
2018-10-05 11:03:58 +02:00
Xavier Guimard
841c5ba504
Improve Debian autopkgtest tests
2018-09-05 22:24:23 +02:00
Xavier Guimard
7143d82ebf
Improve ^
2018-09-04 17:50:41 +02:00
Xavier Guimard
6133a7175b
Add $env macro also in all rules
2018-09-04 16:03:53 +02:00
Xavier Guimard
62d5c7836c
make tidy
2018-09-02 17:31:58 +02:00
Christophe Maudoux
8fc2ced862
Fix comments
2018-08-13 14:00:21 +02:00
Xavier Guimard
1da367576e
Reinitialize choice when module failed ( #1461 )
2018-07-06 16:07:25 +02:00
Xavier Guimard
0f7b3ca71d
make tidy
2018-07-05 23:00:40 +02:00
Xavier Guimard
b2620c2679
s/datas/data
...
datas => des données
data => les données
2018-07-05 22:56:16 +02:00
Christophe Maudoux
f767c63013
Fix log msg
2018-07-04 22:49:51 +02:00
Xavier Guimard
4ebcae3e15
Tidy
2018-06-21 21:35:16 +02:00
Xavier Guimard
f5971ad98d
Set configuration checkTime ( #1454 )
2018-06-15 19:00:14 +02:00
Xavier Guimard
a7329c1dcc
Verify Mouse version with Apache ( #1452 )
2018-06-14 06:19:27 +02:00
Xavier Guimard
5bfdeb6b43
Comment ( #1452 )
2018-06-13 23:20:35 +02:00
Xavier Guimard
f4b3e43a2c
Workaround for ModPerl/Mouse bug ( #1452 )
2018-06-13 23:10:40 +02:00
Xavier Guimard
e67d51156a
Little security ( #1448 )
2018-06-13 06:15:57 +02:00
Xavier Guimard
64fab47ef3
Use localhost instead of 127.0.0.1 ( #1448 )
2018-06-12 22:35:07 +02:00
Xavier Guimard
7c105e2db6
Fix status for Apache ( closes : #1448 )
2018-06-12 21:00:10 +02:00
Xavier Guimard
e1f39c4adf
Some cleans ( #1448 )
2018-06-12 14:25:38 +02:00
Xavier Guimard
ecf33106ea
Downgrade debug mesage ( #1448 )
2018-06-12 14:02:32 +02:00
Xavier Guimard
33e20b55f5
Prepare UDP out for status ( #1448 )
2018-06-12 12:17:17 +02:00
Xavier Guimard
1a9ec21d00
Use IO::Handle methods ( #1148 )
2018-06-12 11:45:21 +02:00
Xavier Guimard
56dd0610fa
Use IO::Select for handler status ( #1448 )
2018-06-12 06:49:04 +02:00
Xavier Guimard
019f1e75e8
Uniq status daemon for Nginx ( #595 )
...
NB: not uniq for Apache for now
2018-06-11 22:11:18 +02:00
Xavier Guimard
8d7593d1f1
Fix SecureToken to be able to use it with other servers ( #595 )
2018-06-09 22:36:50 +02:00
Xavier Guimard
ca68168064
DebOpsST handler ( #1091 and #971 )
2018-06-07 19:51:48 +02:00
Xavier Guimard
7f7d068646
Don't reload portal if conf is already loaded
2018-06-05 23:13:18 +02:00
Xavier Guimard
19bd3a8597
Fix error in inheritance path ( #1440 )
2018-06-01 17:22:27 +02:00
Xavier Guimard
7b2a98d7f3
Fix inheritance path ( #1440 )
2018-06-01 17:20:34 +02:00
Xavier Guimard
66b81ac277
Fix another empty hash ( #1439 )
2018-06-01 17:15:13 +02:00
Xavier Guimard
eac34d8ff0
Set headers to {} if empty ( Fixes : #1439 )
2018-06-01 16:37:48 +02:00
Xavier Guimard
d9cb157477
Workaround for #1439
2018-06-01 16:32:23 +02:00
Xavier Guimard
c1e4c6a6f0
Fix error in CDA ( #1440 )
2018-06-01 16:16:57 +02:00
Xavier Guimard
c4c63abc8b
Use cached conf if backend fails ( Closes : #1429 )
2018-05-24 10:25:27 +02:00
Xavier Guimard
e90b3c34b0
Set also Lm-Remote-User header during auth process ( #595 )
2018-05-22 12:37:05 +02:00
Xavier Guimard
2a3d3d73b5
Avoid double Lm-* headers ( #595 )
2018-05-22 12:22:52 +02:00
Xavier Guimard
392c8fb709
Add RULES_URL ( #1427 )
2018-05-20 15:32:10 +02:00
Xavier Guimard
77fc8e4fbf
Add VHOSTTYPE ( #1427 )
2018-05-20 15:27:33 +02:00
Xavier Guimard
ab8588d434
FastCGI-Client for Apache2 ( #1427 )
2018-05-20 14:40:33 +02:00
Xavier Guimard
722e404dcc
Add RULES_URL FCGI parameter ( #1091 )
2018-05-08 10:04:08 +02:00
Xavier Guimard
273e84b342
Clean some Dumper usage ( #1416 )
2018-05-07 17:17:55 +02:00
Xavier Guimard
109ceab452
Some comments
2018-04-22 16:08:34 +02:00
Xavier Guimard
c81757152f
Set handler in-memory cache to 15s
2018-04-17 16:19:23 +02:00
Xavier Guimard
2feb4a40aa
More simple regexp
2018-04-08 22:23:32 +02:00
Xavier Guimard
c39bdd0af0
Error in regexp
2018-04-08 18:27:00 +02:00
Xavier Guimard
9725a63396
More security options in TOTP ( #1359 )
2018-03-18 14:26:45 +01:00
Xavier Guimard
3383a68a25
Tidy
2018-03-13 07:14:01 +01:00
davidcoutadeur
b20d68e265
Raise an error in the logs when _utime is not defined in handler (references #1371 )
2018-02-26 10:02:21 +01:00
Xavier Guimard
7f0ff6d0d8
Replace Jira by GitLab
2017-11-11 14:06:23 +01:00
Xavier Guimard
ca399ab539
Menu didn't use resolveAlias() ( #1317 )
2017-10-24 10:56:21 +00:00
Xavier Guimard
87b41339e5
Wildcard feature in vhost ( closes : #1317 )
2017-10-23 19:59:43 +00:00
Xavier Guimard
452bb301de
Clean #1309
2017-10-04 20:18:01 +00:00
Xavier Guimard
77874022ab
Little error in #1309 + use it
2017-10-04 20:16:32 +00:00
Xavier Guimard
a2f411f811
New "require" parameter ( fixes : #1309 )
2017-10-04 19:57:21 +00:00
Clément Oudot
d0583bb74d
Fix jQuery selector code for form replay ( #1310 )
2017-10-04 12:47:00 +00:00
Clément Oudot
a7401b72f6
Fix from_json methods ( #1303 )
2017-09-28 12:52:14 +00:00
Xavier Guimard
c62e9abee6
Missing "reload" sub-call ( Closes : #1280 )
2017-08-25 09:38:41 +00:00
Xavier Guimard
4a97c1617c
Fix Nginx error on reload ( Closes : #1269 )
2017-08-18 13:07:59 +00:00
Xavier Guimard
cad5704357
Clean code
2017-07-17 12:54:22 +00:00
Clément Oudot
b80cc5f871
Refresh after updating session ( #1262 )
2017-07-11 11:52:46 +00:00
Clément Oudot
2400f84cb9
Prepare 2.0.0~alpha1 release
2017-07-10 10:01:40 +00:00
Clément Oudot
dd87683a4c
Prepare 2.0.0-alpha1 release
2017-07-10 09:11:34 +00:00
Clément Oudot
5896bfa06a
Update activity before checking session expiration ( #1262 )
2017-07-07 15:14:06 +00:00
David COUTADEUR
80f5d06e82
perl tidy
2017-06-23 09:57:07 +00:00
Xavier Guimard
54c505342d
Repair logout and form-replay ( closes : #1044 )
2017-03-29 12:12:36 +00:00
Xavier Guimard
86844eab0c
Repair logout_app ( #1044 )
2017-03-29 11:26:04 +00:00
Xavier Guimard
e3208fec4f
Syntax error ( #1044 )
2017-03-29 10:38:10 +00:00
Xavier Guimard
41e43e9b47
Avoid rewriting HTTP_HOST ( #1044 )
2017-03-29 10:26:39 +00:00
Xavier Guimard
ed823b9e1a
Restore headers with Apache ( #1044 )
2017-03-29 10:01:11 +00:00
Xavier Guimard
ac611fafd0
$vhost may contain port number ( #1044 )
2017-03-29 06:09:36 +00:00
Xavier Guimard
ef8bd5cccf
Typo ( #1044 )
2017-03-29 05:17:35 +00:00
Xavier Guimard
47688fb729
Typo ( #1044 )
2017-03-29 05:02:56 +00:00
Xavier Guimard
2e59ea441a
Replace request management in handler ( #1044 )
...
Note: this is a big change, more tests needed
2017-03-28 21:07:49 +00:00
Xavier Guimard
0aad2329c9
Missing sub ( #1160 )
2017-03-27 21:02:57 +00:00
Xavier Guimard
f1219ab3d1
Move ENV substitution to substitute() ( #595 )
2017-03-27 20:45:19 +00:00
Xavier Guimard
c761cc5781
Mark some properties "lazy" to be sure conf is intialized ( #595 )
2017-03-27 16:51:18 +00:00
Xavier Guimard
6a651b5bee
Try to implement SAML reauth ( #595 )
2017-03-23 20:49:52 +00:00
Xavier Guimard
4af8a59b5e
Handler part of reauthentication ( #1204 )
2017-03-23 18:22:44 +00:00
Xavier Guimard
62528e8b6a
Add SAML-SP rule ( #1161 )
2017-03-22 20:20:30 +00:00
Xavier Guimard
a45c22ba8a
Typo
2017-03-21 21:42:56 +00:00
Xavier Guimard
cdeec00972
Replace "?lmError=" by router path ( #595 )
2017-03-16 21:33:13 +00:00
Xavier Guimard
a26d0a52c0
Remove bad dependency ( #1160 )
2017-03-13 15:46:27 +00:00
Xavier Guimard
a9c36da63d
Check if vhostOptions is defined ( #1185 )
2017-03-06 20:26:22 +00:00
Xavier Guimard
82d39edc42
Verify "mysession" ( #970 )
2017-03-06 16:43:06 +00:00
Xavier Guimard
553e6e09e1
Import crypto functions in jail ( fix : #1187 )
2017-03-05 06:41:38 +00:00
Xavier Guimard
bd68e07f42
Add #971 doc
2017-03-04 14:38:41 +00:00
Xavier Guimard
e681f31079
Simple token system as discuss in #971
2017-03-04 12:24:56 +00:00
Xavier Guimard
96263e0e65
Clean repo
2017-03-03 17:25:03 +00:00
Xavier Guimard
8c4367fd3f
Service token in progress ( #971 )
2017-03-03 06:29:50 +00:00
Xavier Guimard
e2f4de3f9d
Missing versions ( #595 )
2017-02-28 20:53:19 +00:00
Xavier Guimard
b0f0e1004b
Replace SOAP by REST for AuthBasic ( #970 )
2017-02-28 09:49:37 +00:00
Xavier Guimard
720e2b472c
Replace SOAP by REST for AuthBasic ( #970 )
2017-02-28 06:34:54 +00:00
Xavier Guimard
597e4c7c68
Refuse to use DevOps when useSafeJail=0 ( #1091 )
2017-02-22 22:16:43 +00:00
Xavier Guimard
9ea94e9f07
DevOps tested ( closes : #1091 )
2017-02-22 12:30:31 +00:00
Xavier Guimard
943ad7f156
DevOps in progress ( #1091 )
2017-02-22 08:12:55 +00:00
Xavier Guimard
1c257018ee
Add DevOps handler ( #1091 )
2017-02-22 06:35:19 +00:00
Xavier Guimard
347b67aa98
Prepare token method for #971
2017-02-21 17:39:55 +00:00
Xavier Guimard
c08489a6bc
Add Log4perl logger ( closes : #1162 )
2017-02-21 06:41:50 +00:00
Xavier Guimard
ede8f56ef3
Tidy
2017-02-19 11:51:58 +00:00
Xavier Guimard
a70842603a
Update portal status ( #595 )
2017-02-18 14:25:51 +00:00
Xavier Guimard
45fd17b56a
Force reload at startup ( #1160 )
2017-02-18 11:31:07 +00:00
Xavier Guimard
64970971a7
Bad initialization for status cache
2017-02-16 19:18:57 +00:00
Xavier Guimard
511264db84
Missing files ( #1067 )
2017-02-16 11:08:15 +00:00
Xavier Guimard
ed748080d1
Split CDA ( #1067 )
2017-02-16 10:42:22 +00:00
Xavier Guimard
a2917ffc93
More doc ( #595 )
2017-02-16 07:37:40 +00:00
Xavier Guimard
deb28bc9cb
Replace lmLog by logger-> ( #857 )
2017-02-15 06:41:50 +00:00
Xavier Guimard
b7d4dac6ea
Typo ( #1162 )
2017-02-15 06:41:44 +00:00
Xavier Guimard
b31635c62b
Force syslog when FastCGI in use ( #1162 )
2017-02-15 06:41:41 +00:00
Xavier Guimard
88dd1201ef
Remove local-only parameters ( #1160 )
2017-02-13 16:48:39 +00:00
Xavier Guimard
d25f7061ab
Transform logger into objects ( #1162 )
2017-02-13 11:58:39 +00:00
Xavier Guimard
64027a901a
Initialize with local conf ( #1162 )
2017-02-12 20:19:39 +00:00
Xavier Guimard
c5626c77b5
Create logger files ( #1162 )
2017-02-12 20:09:46 +00:00