diff --git a/application/configs/application.ini b/application/configs/application.ini index 29aa5c2497..0780bb3105 100644 --- a/application/configs/application.ini +++ b/application/configs/application.ini @@ -1,20 +1,14 @@ ;;; -; Ini configuration for EngineBlock for all known environments. +; Default ini configuration for OpenConext EngineBlock. ; -; Divided in sections per environment like so: -; [acceptance : base] -; -; Meaning 'these are the settings for the acceptance environment, -; based on the base env (inherits from base)' +; You can override this in /etc/openconext/engineblock.ini. ; ; Editting Rules: ; 1. The first rule of INI files is, you do not talk about INI files. ; 2. The second rule of INI files is is, you DO NOT talk about INI files. ; 3. Names in camelCase (note first character is lowerCase) -; 4. Every configuration item should be present and documented for [base] -; 5. All environments extend from base -; 7. Section inheritance only works one level deep -; 8. If this is your first time editing an INI file, have fun! +; 4. Every configuration item should be present and documented for in application/configs/application.ini +; 5. If this is your first time editing an INI file, have fun! ;;; [base] @@ -90,7 +84,7 @@ auth.simplesamlphp.idp.certificate= "/etc/openconext/engineblock.crt" ; Note "123" means no access auth.simplesamlphp.adminPassword = "123" -auth.simplesamlphp.baseurlpath = "simplesamlphp/" +auth.simplesamlphp.baseurlpath = "simplesaml/" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;; LOGGING / ERROR HANDLING ;;;;;;;;;; @@ -252,10 +246,34 @@ api.vovalidate.baseUrl = "https://api.demo.openconext.org" api.vovalidate.key = "oauth_key" api.vovalidate.secret = "oauth_secret" + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;;;;;;;;;;;;; CRONJOB SETTINGS ;;;;;;;;;;;;;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +; The time after which a user is deprovisioned +cron.deprovision.idleTime = "6 months" + +; Warning time settings +cron.deprovision.firstWarningTime = "4 weeks" ; Period before the idleTime +cron.deprovision.secondWarningTime = "2 weeks" ; Period before the idleTime + +cron.deprovision.sendGroupMemberWarning = true ; do we send mails to teammembers who are about to loose their only admin +cron.deprovision.sendDeprovisionWarning = true ; do we send mails as warnings + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;; MISCELLANEOUS SETTINGS ;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +; the value for guest qualifier. Can be overridden for specific non-surfnet environments +addgueststatus.guestqualifier = "urn:collab:org:surf.nl" + +; Language Cookie settings +cookie.lang.domain = ".surfconext.nl" +; Cookie expiry time, specify the time in seconds, set empty to let the cookie get expired after the session +cookie.lang.expiry = 5184000 ; 60 days in seconds + ; Skip the asset compiling and use the source .js files. dynamicAssets = false @@ -264,20 +282,18 @@ defaults.header = "SURFconext" defaults.subheader = "" defaults.layout = "1-column-blue-grey" -; Profile URI settings -profile.protocol = "https" -profile.host = "profile.surfconext.nl" - -; Language Cookie settings -cookie.lang.domain = ".surfconext.nl" -; Cookie expiry time, specify the time in seconds, set empty to let the cookie get expired after the session -cookie.lang.expiry = 5184000 ; 60 days in seconds - ; EngineBlock default Group Provider ID ; This identifier is used when fetching the group provider configuration for deprovisioning ; In our case this identifier should point to the Grouper group provider defaultGroupProvider = "grouper" +; edugain metadata +edugain.publication.publisher = "https://engine.surfconext.nl/authentication/proxy/edugain-metadata" +edugain.publication.policy = "http://www.edugain.org/policy/metadata-tou_1_0.txt" +edugain.registration.authority = "http://www.surfconext.nl/" +edugain.registration.policy = "https://wiki.surfnetlabs.nl/display/eduGAIN/EduGAIN" +edugain.termsOfUse = "Use of this metadata is subject to the Terms of Use at http://www.edugain.org/policy/metadata-tou_1_0.txt" + ; Do we send welcome emails email.sendWelcomeMail = false @@ -295,31 +311,9 @@ email.idpDebugging.subject = "IdP debug info van %1$s" ; terms of use surfconext openconext.termsOfUse = "https://wiki.surfnetlabs.nl/display/conextsupport/Terms+of+Service+%28EN%29" -; edugain metadata -edugain.registration.authority = "http://www.surfconext.nl/" -edugain.registration.policy = "https://wiki.surfnetlabs.nl/display/eduGAIN/EduGAIN" - -edugain.publication.publisher = "https://engine.surfconext.nl/authentication/proxy/edugain-metadata" -edugain.publication.policy = "http://www.edugain.org/policy/metadata-tou_1_0.txt" - -edugain.termsOfUse = "Use of this metadata is subject to the Terms of Use at http://www.edugain.org/policy/metadata-tou_1_0.txt" - -; the value for guest qualifier. Can be overridden for specific non-surfnet environments -addgueststatus.guestqualifier = "urn:collab:org:surf.nl" - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;;;;;;;;;;;;;;; CRONJOB SETTINGS ;;;;;;;;;;;;;;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -; The time after which a user is deprovisioned -cron.deprovision.idleTime = "6 months" - -; Warning time settings -cron.deprovision.firstWarningTime = "4 weeks" ; Period before the idleTime -cron.deprovision.secondWarningTime = "2 weeks" ; Period before the idleTime - -cron.deprovision.sendGroupMemberWarning = true ; do we send mails to teammembers who are about to loose their only admin -cron.deprovision.sendDeprovisionWarning = true ; do we send mails as warnings +; Profile URI settings +profile.protocol = "https" +profile.host = "profile.surfconext.nl" ; Configure trusted proxies to use their X-Forwarded-For header. ; trustedProxyIps[] = 192.168.1.1 \ No newline at end of file diff --git a/application/layouts/scripts/1-column-blue-grey-narrow.phtml b/application/layouts/scripts/1-column-blue-grey-narrow.phtml index 9c6e1fc325..43026d2ad8 100644 --- a/application/layouts/scripts/1-column-blue-grey-narrow.phtml +++ b/application/layouts/scripts/1-column-blue-grey-narrow.phtml @@ -10,7 +10,7 @@ require PARTIAL_DIR . 'header-start.php';
- +
@@ -20,8 +20,8 @@ require PARTIAL_DIR . 'header-start.php'; layout()->content; ?>
+

-


layout()->footerText; ?>

diff --git a/application/layouts/scripts/1-column-blue-grey.phtml b/application/layouts/scripts/1-column-blue-grey.phtml index 83984f49ca..0cc46587b6 100644 --- a/application/layouts/scripts/1-column-blue-grey.phtml +++ b/application/layouts/scripts/1-column-blue-grey.phtml @@ -1,4 +1,5 @@ @@ -26,10 +27,10 @@ require PARTIAL_DIR . 'header-start.php'; diff --git a/application/layouts/scripts/partials/header-start.php b/application/layouts/scripts/partials/header-start.php index efa9677ddf..199b176d93 100644 --- a/application/layouts/scripts/partials/header-start.php +++ b/application/layouts/scripts/partials/header-start.php @@ -1,6 +1,6 @@ - - + + diff --git a/application/layouts/scripts/partials/nav.php b/application/layouts/scripts/partials/nav.php index 3b14e95ae9..ee24f0ea2b 100644 --- a/application/layouts/scripts/partials/nav.php +++ b/application/layouts/scripts/partials/nav.php @@ -1,10 +1,10 @@