Add a new "demo" mode

And when enabled, display a new "Who's behind VROOM" part in the about page
master
Daniel Berteaud 10 years ago
parent 8826076e0a
commit fd1f38ebc5
  1. 4
      conf/settings.ini.dist
  2. 5
      lib/Vroom/I18N/en.pm
  3. 5
      lib/Vroom/I18N/fr.pm
  4. 14
      templates/default/about.html.ep
  5. 1
      vroom.pl

@ -40,6 +40,10 @@
;template = 'default' ;template = 'default'
; ID of the chrome extension which will be proposed when sharing screen on Chrome ; ID of the chrome extension which will be proposed when sharing screen on Chrome
;chrome_extension_id = 'ecicdpoejfllflombfanbhfpgcimjddn' ;chrome_extension_id = 'ecicdpoejfllflombfanbhfpgcimjddn'
; demo can be 0 or 1 (anything else is considered 1). When set to 1, it'll display a few
; pages which would be hidden otherwise (documentation on how to install it for example)
; Default to 0
;demo = 0
[cookie] [cookie]
; Secret passphrase used to sign cookies. You must set this ; Secret passphrase used to sign cookies. You must set this

@ -331,6 +331,11 @@ our %Lexicon = (
" But even in those cases, the server only relays ciphered packets, and has no access to the data " . " But even in those cases, the server only relays ciphered packets, and has no access to the data " .
" so confidentiality is not compromised (only latency will be affected)</li>". " so confidentiality is not compromised (only latency will be affected)</li>".
"</ol>", "</ol>",
"WHO_IS_BEHIND_VROOM" => "Who's behind VROOM ?",
"ABOUT_WHO_IS_BEHIND_VROOM" => "VROOM started as a simple personal project, developped by a single person " .
"(Daniel Berteaud) on my spare time. This project wouldn't be that far without my employer " .
"<a href='http://www.firewall-services.com'>Firewall Services</a> " .
"who hosts <a href='http://vroom.im'>the demo instance</a>",
"THANKS" => "Thanks", "THANKS" => "Thanks",
"ABOUT_THANKS" => "VROOM uses the following components, so, thanks to their respective authors :-)", "ABOUT_THANKS" => "VROOM uses the following components, so, thanks to their respective authors :-)",
"ABOUT_MUSICS" => "Also thanks to the authors of songs used", "ABOUT_MUSICS" => "Also thanks to the authors of songs used",

@ -360,6 +360,11 @@ our %Lexicon = (
" chiffrées parfaitement inintelligibles, la confidentialité des communications " . " chiffrées parfaitement inintelligibles, la confidentialité des communications " .
" n'est donc pas compromise (la latence sera par contre affectée)</li>". " n'est donc pas compromise (la latence sera par contre affectée)</li>".
"</ol>", "</ol>",
"WHO_IS_BEHIND_VROOM" => "Qui développe VROOM ?",
"ABOUT_WHO_IS_BEHIND_VROOM" => "VROOM a démarré comme un simple projet personnel, développé par une seule personne " .
"(Daniel Berteaud) sur mon temps libre. Ce projet n'en serait pas " .
"là sans l'aide de mon enreprise, <a href='http://www.firewall-services.com'>Firewall Services</a> " .
"qui assure entre autre l'hébergement de <a href='http://vroom.im'>l'instance de référence</a>",
"THANKS" => "Remerciements", "THANKS" => "Remerciements",
"ABOUT_THANKS" => "VROOM utilise les composants suivants, merci donc aux auteurs respectifs :-)", "ABOUT_THANKS" => "VROOM utilise les composants suivants, merci donc aux auteurs respectifs :-)",
"ABOUT_MUSICS" => "Merci également aux auteurs des morceaux de musique utilisés", "ABOUT_MUSICS" => "Merci également aux auteurs des morceaux de musique utilisés",

@ -38,6 +38,20 @@
</p> </p>
</div> </div>
</div> </div>
<% if ($config->{'interface.demo'}){ %>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<%=l 'WHO_IS_BEHIND_VROOM' %>
</h3>
</div>
<div class="panel-body">
<p>
<%==l 'ABOUT_WHO_IS_BEHIND_VROOM' %>
</p>
</div>
</div>
<% } %>
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"> <h3 class="panel-title">

@ -45,6 +45,7 @@ $config->{'email.sendmail'} ||= '/sbin/sendmail';
$config->{'interface.powered_by'} ||= '<a href="http://www.firewall-services.com" target="_blank">Firewall Services</a>'; $config->{'interface.powered_by'} ||= '<a href="http://www.firewall-services.com" target="_blank">Firewall Services</a>';
$config->{'interface.template'} ||= 'default'; $config->{'interface.template'} ||= 'default';
$config->{'interface.chrome_extension_id'} ||= 'ecicdpoejfllflombfanbhfpgcimjddn'; $config->{'interface.chrome_extension_id'} ||= 'ecicdpoejfllflombfanbhfpgcimjddn';
$config->{'interface.chrome_extension_id'} ||= 0;
$config->{'cookie.secret'} ||= 'secret'; $config->{'cookie.secret'} ||= 'secret';
$config->{'cookie.name'} ||= 'vroom'; $config->{'cookie.name'} ||= 'vroom';
$config->{'rooms.inactivity_timeout'} ||= 60; $config->{'rooms.inactivity_timeout'} ||= 60;

Loading…
Cancel
Save