Skip to content
Snippets Groups Projects
Commit a8e5f7de authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

better branding and name difference explanation

parent daec4475
No related branches found
No related tags found
No related merge requests found
[app]
support_email = support@my.fqdn
name = eduGAIN Access Check
url =
[setup]
# base templates directory
......
......@@ -466,6 +466,7 @@ sub req_complete_challenge {
url => $self->{configuration}->{app}->{url},
support_email => $self->{configuration}->{app}->{support_email},
version => $self->{configuration}->{app}->{version},
name => $self->{configuration}->{app}->{name},
},
sourceip => $ENV{REMOTE_ADDR},
to => $email,
......@@ -491,9 +492,17 @@ sub req_complete_challenge {
my $message = Email::MIME->create(
header_str => [
'From' => sprintf('eduGAIN Access Check <%s>', $self->{configuration}->{mailer}->{from}),
'From' => sprintf(
'%s <%s>',
$self->{configuration}->{app}->{name},
$self->{configuration}->{mailer}->{from}
),
'To' => $email,
'Subject' => sprintf('[eduGAIN Access Check] %s', $self->{lh}->maketext("Test accounts request")),
'Subject' => sprintf(
'[%s] %s',
$self->{configuration}->{app}->{name},
$self->{lh}->maketext("Test accounts request")
),
'Content-Type' => 'multipart/alternative'
],
parts => [
......
This diff is collapsed.
<p>
[% lh.maketext("This is an email challenge automatically sent to you by eduGAIN Access Check.") %]
[% lh.maketext("Somebody with IP address [_1] has requested to create test accounts for eduGAIN Service Provider with entityID [_2].", sourceip, entityid) %]
[% lh.maketext("The address [_1] is mentioned in the eduGAIN metadata as a contact for this Service Provider.", to) %]
[% lh.maketext("This is an email challenge automatically sent to you by [_1].", app.name) %]
[% lh.maketext("Somebody with IP address [_1] has requested to create test accounts for Service Provider with entityID [_2].", sourceip, entityid) %]
[% lh.maketext("The address [_1] is mentioned in the federation metadata as a contact for this Service Provider.", to) %]
</p>
<p>[% lh.maketext("To complete the creation of test accounts, paste the following validation token in <a href=\"[_1]\">eduGAIN Access Check</a>: [_2]", challenge_url, token) %]</p>
<p>[% lh.maketext("To complete the creation of test accounts, paste the following validation token in <a href=\"[_1]\">[_2]</a>: [_3]", challenge_url, app.name, token) %]</p>
<p>[% lh.maketext("If the creation of test accounts was not initiated by you or a fellow administrator for the above Service Provider, please forward this email and contact [_1] to inform them about a potential abuse of the eduGAIN Access Check service.", app.support_email) %]</p>
<p>[% lh.maketext("Best Regards") %]</p>
<p>eduGAIN Access Check Bot</p>
<p>[% lh.maketext("If the creation of test accounts was not initiated by you or a fellow administrator for the above Service Provider, please forward this email and contact [_1] to inform them about a potential abuse of the service.", app.support_email) %]</p>
[% lh.maketext("This is an email challenge automatically sent to you by eduGAIN Access Check.") %]
[% lh.maketext("Somebody with IP address [_1] has requested to create test accounts for eduGAIN Service Provider with entityID [_2].", sourceip, entityid) %]
[% lh.maketext("The address [_1] is mentioned in the eduGAIN metadata as a contact for this Service Provider.", to) %]
[% lh.maketext("This is an email challenge automatically sent to you by [_1].", app.name) %]
[% lh.maketext("Somebody with IP address [_1] has requested to create test accounts for Service Provider with entityID [_2].", sourceip, entityid) %]
[% lh.maketext("The address [_1] is mentioned in the federation metadata as a contact for this Service Provider.", to) %]
[% lh.maketext("To complete the creation of test accounts, paste the following validation token in eduGAIN Access Check:") %]
[% lh.maketext("To complete the creation of test accounts, paste the following validation token in [_1]:", app.name) %]
- [% lh.maketext("Challenge URL: [_1]", challenge_url) %]
- [% lh.maketext("Validation token: [_1]", token) %]
[% lh.maketext("If the creation of test accounts was not initiated by you or a fellow administrator for the above Service Provider, please forward this email and contact [_1] to inform them about a potential abuse of the eduGAIN Access Check service.", app.support_email) %]
[% lh.maketext("Best Regards") %]
eduGAIN Access Check Bot
[% lh.maketext("If the creation of test accounts was not initiated by you or a fellow administrator for the above Service Provider, please forward this email and contact [_1] to inform them about a potential abuse of the service.", app.support_email) %]
edugain
\ No newline at end of file
......@@ -7,7 +7,7 @@
<h2>[% lh.maketext("Test accounts created") %]</h2>
<p>
[% lh.maketext("You can now use these test accounts to login at your federated service.") %]
[% lh.maketext("You can now use these test accounts to login at your service provider.") %]
[% lh.maketext("To do so, select <strong>[_1]</strong> when choosing an identity provider.", idp_displayname) %]
</p>
......@@ -48,7 +48,7 @@
<h3>[% lh.maketext("List of user attributes") %]</h3>
<p>
[% lh.maketext("Below is the list of user attributes associated to this test account.") %]
[% lh.maketext("After a successfull authentication process these attributes are transmited via the SAML protocol from eduGAIN Access Check Identity Provider to your Service Provider.") %]
[% lh.maketext("After a successfull authentication process these attributes are transmitted via the SAML protocol to your service provider.") %]
</p>
<div>
<table>
......@@ -81,13 +81,13 @@
<div class="row">
<div class="callout warning">
<p>[% lh.maketext("Note that these test accounts will automatically expire in [_1] days and that they can only be used to test federated login to your eduGAIN-enabled Service Provider with entityID <strong>[_2]</strong>.", days, entityid) %]</p>
<p>[% lh.maketext("Note that these test accounts will automatically expire in [_1] days and that they can only be used to test federated login to your service provider <strong>[_2]</strong>.", days, entityid) %]</p>
</div>
</div>
<div class="row">
<div class="callout primary">
<strong>[% lh.maketext("Thank you for using eduGAIN Access Check") %]</strong>
<strong>[% lh.maketext("Thank you for using [_1]", app.name) %]</strong>
</div>
</div>
......
[% WRAPPER index.tt2.html %]
<h2>[% lh.maketext("Objective") %]</h2>
<p>
[%
lh.maketext("eduGAIN Access Check allows administrators of a Service Provider (SP) registered in an identity federation to create test accounts with different profiles to validate the behaviour and test federated login.")
%]
[% lh.maketext("The test accounts can only be used to access own services.") %]
</p>
<p>[% lh.maketext("eduGAIN Access Check is a service based on the same named software, allowing administrators of service providers registered in eduGAIN interfederation to safely test their service behavior.") %]</p>
<p><a href="https://wiki.geant.org/display/eduGAIN/eduGAIN+Access+Check">[% lh.maketext("More information") %]</a></p>
<h2>[% lh.maketext("Functionning") %]</h2>
......
......@@ -20,7 +20,7 @@
<script type="text/javascript" src="jquery-ui-1.12.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery-validation-1.17.0.min.js"></script>
<title>eduGAIN Access Check</title>
<title>[% app.name %]</title>
</head>
<body>
......@@ -80,7 +80,7 @@
</ul>
</div>
</div>
<h1 class="row text-center">eduGAIN Access Check</h1>
<h1 class="row text-center">[ app.name %]</h1>
</nav>
<main class="row">
......@@ -88,7 +88,7 @@
</main>
<footer style="visibility: hidden;">
<p class="text-center">eduGAIN Access Check [% app.version %] - <a href="mailto:[% app.support_email %]">[% lh.maketext("contact us") %]</a></p>
<p class="text-center">[ app.name %] [% app.version %] - <a href="mailto:[% app.support_email %]">[% lh.maketext("contact us") %]</a></p>
<div class="central-section">
<div class="col-1-1">
<img src="images/footer_logo_padded.jpg" style="width: 111px; height:26px;" />
......
......@@ -9,7 +9,7 @@
<h2>[% lh.maketext("Test accounts created") %]</h2>
<p>
[% lh.maketext("You can now use these test accounts to login at your federated service.") %]
[% lh.maketext("You can now use these test accounts to login at your service provider.") %]
[% lh.maketext("To do so, select <strong>[_1]</strong> when choosing an identity provider.", idp_displayname) %]
</p>
......@@ -50,7 +50,7 @@
<h3>[% lh.maketext("List of user attributes") %]</h3>
<p>
[% lh.maketext("Below is the list of user attributes associated to this test account.") %]
[% lh.maketext("After a successfull authentication process these attributes are transmited via the SAML protocol from eduGAIN Access Check Identity Provider to your Service Provider.") %]
[% lh.maketext("After a successfull authentication process these attributes are transmitted via the SAML protocol to your service provider.") %]
</p>
<div>
<table>
......@@ -85,13 +85,13 @@
<div class="row">
<div class="callout alert-callout-border warning">
<p>[% lh.maketext("Note that these test accounts will automatically expire in [_1] days and that they can only be used to test federated login to your eduGAIN-enabled Service Provider with entityID <strong>[_2]</strong>.", days, entityid) %]</p>
<p>[% lh.maketext("Note that these test accounts will automatically expire in [_1] days and that they can only be used to test federated login to your service provider <strong>[_2]</strong>.", days, entityid) %]</p>
</div>
</div>
<div class="row">
<div class="callout alert-callout-border primary text-center">
<strong>[% lh.maketext("Thank you for using eduGAIN Access Check") %]</strong>
<strong>[% lh.maketext("Thank you for using [_1]", app.name) %]</strong>
</div>
</div>
......
[% WRAPPER index.tt2.html %]
<h2>[% lh.maketext("Objective") %]</h2>
<p>
[%
lh.maketext("eduGAIN Access Check allows administrators of a Service Provider (SP) registered in an identity federation to create test accounts with different profiles to validate the behaviour and test federated login.")
%]
[% lh.maketext("The test accounts can only be used to access own services.") %]
</p>
<p>[% lh.maketext("RENATER Access Check is a service based on eduGAIN Access Check software, allowing administrators of service providers registered in Education-Research Federation to safely test their service behavior.") %]</p>
<p><a href="https://wiki.geant.org/display/eduGAIN/eduGAIN+Access+Check">[% lh.maketext("More information") %]</a></p>
<h2>[% lh.maketext("Functionning") %]</h2>
<img class="float-center" alt="eduGAIN Access Check" src="images/edugain_test_idp_basics.png" height="50%" width="50%"/>
<img class="float-center" alt="RENATER Access Check" src="images/edugain_test_idp_basics.png" height="50%" width="50%"/>
<h2>[% lh.maketext("Get started") %]</h2>
<p>[% lh.maketext("To start testing your own services, start by selecting one your are administrator for.") %]</p>
......
......@@ -23,7 +23,7 @@
<script type="text/javascript" src="foundation/js/vendor/foundation.min.js"></script>
<script type="text/javascript" src="js/startup.js"></script>
<title>RENATER Access Check</title>
<title>[% app.name %]</title>
</head>
<body>
......@@ -94,7 +94,7 @@
</nav>
</header>
<h1 class="row text-center">RENATER Access Check</h1>
<h1 class="row text-center">[% app.name %]</h1>
<main class="row">
[% content %]
......@@ -136,7 +136,7 @@
</aside>
</footer>
<div class="reveal" id="about_reveal" data-reveal>
<p class="text-center">eduGAIN Access Check [% app.version %] - <a href="mailto:[% app.support_email %]">[% lh.maketext("contact us") %]</a></p>
<p class="text-center">[% app.name %] [% app.version %] - <a href="mailto:[% app.support_email %]">[% lh.maketext("contact us") %]</a></p>
</div>
<div class="reveal" id="legal_reveal" data-reveal>
<p class="text-center">[% lh.maketext("As part of the GÉANT 2020 Framework Partnership Agreement (FPA), this project receives funding from the European Union’s Horizon 2020 research and innovation programme under Grant Agreement No. 731122 (GN4-2)." ) %]</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment