Skip to content

Commit

Permalink
Merge branch 'release-2.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Aug 1, 2017
2 parents 43c0eec + 8ca2455 commit 82fd4c1
Show file tree
Hide file tree
Showing 27 changed files with 572 additions and 436 deletions.
1 change: 0 additions & 1 deletion app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public function registerBundles()
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Surfnet\StepupRa\RaBundle\SurfnetStepupRaRaBundle(),
Expand Down
106 changes: 33 additions & 73 deletions app/Resources/translations/messages.en_GB.xliff

Large diffs are not rendered by default.

106 changes: 33 additions & 73 deletions app/Resources/translations/messages.nl_NL.xliff

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion app/Resources/translations/validators.en_GB.xliff
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2016-11-03T10:43:41Z" source-language="en" target-language="en_GB" datatype="plaintext" original="not.available">
<file date="2017-06-15T15:47:57Z" source-language="en" target-language="en_GB" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
</header>
<body>
<trans-unit id="9fe9614ee06100ffa9474b193d1aec7a4c1d1334" resname="middleware_client.dto.configuration.allowed_second_factors.must_be_array">
<source>middleware_client.dto.configuration.allowed_second_factors.must_be_array</source>
<target state="new">middleware_client.dto.configuration.allowed_second_factors.must_be_array</target>
</trans-unit>
<trans-unit id="e921db3beb8170142aa4dcd8c364595343b6fc64" resname="middleware_client.dto.configuration.show_raa_contact_information.must_be_boolean">
<source>middleware_client.dto.configuration.show_raa_contact_information.must_be_boolean</source>
<target>Show RAA Contact Information option must be boolean.</target>
Expand Down
6 changes: 5 additions & 1 deletion app/Resources/translations/validators.nl_NL.xliff
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2016-11-03T10:45:46Z" source-language="en" target-language="nl_NL" datatype="plaintext" original="not.available">
<file date="2017-06-15T15:47:50Z" source-language="en" target-language="nl_NL" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
</header>
<body>
<trans-unit id="9fe9614ee06100ffa9474b193d1aec7a4c1d1334" resname="middleware_client.dto.configuration.allowed_second_factors.must_be_array">
<source>middleware_client.dto.configuration.allowed_second_factors.must_be_array</source>
<target state="new">middleware_client.dto.configuration.allowed_second_factors.must_be_array</target>
</trans-unit>
<trans-unit id="e921db3beb8170142aa4dcd8c364595343b6fc64" resname="middleware_client.dto.configuration.show_raa_contact_information.must_be_boolean">
<source>middleware_client.dto.configuration.show_raa_contact_information.must_be_boolean</source>
<target>Show RAA Contact Information option must be boolean.</target>
Expand Down
9 changes: 1 addition & 8 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ assetic:
#yui_css:
# jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"

# Swiftmailer Configuration
swiftmailer:
transport: "%mailer_transport%"
host: "%mailer_host%"
username: "%mailer_user%"
password: "%mailer_password%"
spool: { type: memory }

nelmio_security:
clickjacking:
paths:
Expand All @@ -84,6 +76,7 @@ services:
surfnet_stepup_ra_ra:
required_loa: %loa_required_for_login%
enabled_second_factors: %enabled_second_factors%
enabled_generic_second_factors: %enabled_generic_second_factors%
session_lifetimes:
max_absolute_lifetime: "%session_max_absolute_lifetime%"
max_relative_lifetime: "%session_max_relative_lifetime%"
Expand Down
3 changes: 0 additions & 3 deletions app/config/config_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ monolog:
assetic:
use_controller: "%use_assetic_controller%"

swiftmailer:
port: 1025

nelmio_security:
csp:
img: [ self, 'data:' ]
Expand Down
3 changes: 0 additions & 3 deletions app/config/config_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ web_profiler:
toolbar: false
intercept_redirects: false

swiftmailer:
disable_delivery: true

nelmio_security:
csp:
img: [ self, 'data:' ]
Expand Down
5 changes: 5 additions & 0 deletions app/config/parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ parameters:
enabled_second_factors:
- sms
- yubikey
enabled_generic_second_factors:
biometric:
loa: 3
tiqr:
loa: 3
graylog_hostname: 'g2-dev.stepup.coin.surf.net'
asset_version: 1

Expand Down
10 changes: 10 additions & 0 deletions app/config/samlstepupproviders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ surfnet_stepup_ra_saml_stepup_provider:
entity_id: %gssp_tiqr_remote_entity_id%
sso_url: %gssp_tiqr_remote_sso_url%
certificate: %gssp_tiqr_remote_certificate%
view_config:
page_title: %gssp_tiqr_page_title%
explanation: %gssp_tiqr_explanation%
initiate: %gssp_tiqr_initiate%
gssf_id_mismatch: %gssp_tiqr_gssf_id_mismatch%
biometric:
hosted:
service_provider:
Expand All @@ -30,3 +35,8 @@ surfnet_stepup_ra_saml_stepup_provider:
entity_id: %gssp_biometric_remote_entity_id%
sso_url: %gssp_biometric_remote_sso_url%
certificate: %gssp_biometric_remote_certificate%
view_config:
page_title: %gssp_biometric_page_title%
explanation: %gssp_biometric_explanation%
initiate: %gssp_biometric_initiate%
gssf_id_mismatch: %gssp_biometric_gssf_id_mismatch%
24 changes: 24 additions & 0 deletions app/config/samlstepupproviders_parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,34 @@ parameters:
gssp_tiqr_remote_entity_id: 'https://actual-gssp.entity-id.tld'
gssp_tiqr_remote_sso_url: 'https://actual-gssp.entity-id.tld/single-sign-on/url'
gssp_tiqr_remote_certificate: 'The contents of the certificate published by the gssp'
gssp_tiqr_page_title:
en_GB: 'EN ra.vetting.gssf.initiate.tiqr.title.page'
nl_NL: 'NL ra.vetting.gssf.initiate.tiqr.title.page'
gssp_tiqr_explanation:
en_GB: 'EN ra.vetting.gssf.initiate.tiqr.text.explanation'
nl_NL: 'NL ra.vetting.gssf.initiate.tiqr.text.explanation'
gssp_tiqr_initiate:
en_GB: 'EN ra.vetting.gssf.initiate.tiqr.button.initiate'
nl_NL: 'NL ra.vetting.gssf.initiate.tiqr.button.initiate'
gssp_tiqr_gssf_id_mismatch:
en_GB: 'EN ra.vetting.gssf.initiate.tiqr.error.gssf_id_mismatch'
nl_NL: 'NL ra.vetting.gssf.initiate.tiqr.error.gssf_id_mismatch'
gssp_biometric_sp_publickey: '/full/path/to/the/gateway-as-sp/public-key-file.cer'
gssp_biometric_sp_privatekey: '/full/path/to/the/gateway-as-sp/private-key-file.pem'
gssp_biometric_metadata_publickey: '/full/path/to/the/gateway-metadata/public-key-file.cer'
gssp_biometric_metadata_privatekey: '/full/path/to/the/gateway-as-sp/private-key-file.pem'
gssp_biometric_remote_entity_id: 'https://actual-gssp.entity-id.tld'
gssp_biometric_remote_sso_url: 'https://actual-gssp.entity-id.tld/single-sign-on/url'
gssp_biometric_remote_certificate: 'The contents of the certificate published by the gssp'
gssp_biometric_page_title:
en_GB: 'EN ra.vetting.gssf.initiate.biometric.title.page'
nl_NL: 'NL ra.vetting.gssf.initiate.biometric.title.page'
gssp_biometric_explanation:
en_GB: 'EN ra.vetting.gssf.initiate.biometric.text.explanation'
nl_NL: 'NL ra.vetting.gssf.initiate.biometric.text.explanation'
gssp_biometric_initiate:
en_GB: 'EN ra.vetting.gssf.initiate.biometric.button.initiate'
nl_NL: 'NL ra.vetting.gssf.initiate.biometric.button.initiate'
gssp_biometric_gssf_id_mismatch:
en_GB: 'EN ra.vetting.gssf.initiate.biometric.error.gssf_id_mismatch'
nl_NL: 'NL ra.vetting.gssf.initiate.biometric.error.gssf_id_mismatch'
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@
"jms/di-extra-bundle": "~1.4.0",
"surfnet/stepup-middleware-client-bundle": "^2.0",
"surfnet/stepup-saml-bundle": "^2.5",
"surfnet/stepup-bundle": "^1.7",
"surfnet/stepup-bundle": "^2.0",
"surfnet/stepup-u2f-bundle": "dev-develop",
"guzzlehttp/guzzle": "^6",
"symfony/swiftmailer-bundle": "~2.3",
"knplabs/knp-paginator-bundle": "~2.4",
"mopa/composer-bridge": "~1.5",
"ramsey/uuid": "^3.5"
Expand Down
Loading

0 comments on commit 82fd4c1

Please sign in to comment.