Updated all links to use https

This commit is contained in:
Absurdon 2017-04-18 16:01:36 +02:00
parent 1f9f5f8dce
commit d3fdef95c4
15 changed files with 22 additions and 22 deletions

View file

@ -4,7 +4,7 @@
# ENSL Website
This is the source code of ENSL website. Currently deployed on [ensl.org](http://www.ensl.org).
This is the source code of ENSL website. Currently deployed on [ensl.org](https://www.ensl.org).
Features:

View file

@ -2,8 +2,8 @@
Typography
*/
@import url(http://fonts.googleapis.com/css?family=Russo+One);
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Russo+One);
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
body {
color: $base-font-color;

View file

@ -2,8 +2,8 @@
Typography
*/
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700);
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700);
body {
color: $base-font-color;

View file

@ -195,7 +195,7 @@ module ApplicationHelper
if Rails.env.production?
"https://gathers.ensl.org"
else
"http://gathers.staging.ensl.org"
"https://gathers.staging.ensl.org"
end
end
end

View file

@ -37,7 +37,7 @@
$("#jplayer").jPlayer({
ready: function() {
$(this).jPlayer("setMedia", {
mp3: "http://www.ensl.org/sounds/gather-1.mp3"
mp3: "https://www.ensl.org/sounds/gather-1.mp3"
}).jPlayer("play");
var click = document.ontouchstart === undefined ? 'click' : 'touchstart';

View file

@ -1,9 +1,9 @@
<p>Hello <%= h @user.username %>,</p>
<p><%= yield %></p>
<p>- <a href="http://www.ensl.org">ENSL Website</a></p>
<p>- <a href="https://www.ensl.org">ENSL Website</a></p>
<p>
(To disable these: <a href="http://www.ensl.org">Log In</a>
-> <a href="http://www.ensl.org/users/edit/<%= @user.id %>">Profile</a>
(To disable these: <a href="https://www.ensl.org">Log In</a>
-> <a href="https://www.ensl.org/users/edit/<%= @user.id %>">Profile</a>
-> Notifications)
</p>

View file

@ -2,7 +2,7 @@
<embed type="application/x-vlc-plugin"
name="video1"
autoplay="yes" loop="yes" width="640" height="480"
target=http://ensl.org:29100" />
target=https://ensl.org:29100" />
<br />
If you cannot see the video, please install the
<%= link_to "newest VLC", DataFile.find(855) %>,

View file

@ -1 +1 @@
There are is a new article on ENSL. Click <%= link_to "here", "http://www.ensl.org/articles/#{@article.id}" %> to read it.
There are is a new article on ENSL. Click <%= link_to "here", "https://www.ensl.org/articles/#{@article.id}" %> to read it.

View file

@ -1,2 +1,2 @@
There are <%= Gather::NOTIFY %> persons in the gather.<br />
Click <%= link_to "here", "http://www.ensl.org/gathers/#{@gather.id}" %> to join it.
Click <%= link_to "here", "https://www.ensl.org/gathers/#{@gather.id}" %> to join it.

View file

@ -1,9 +1,9 @@
There are is a new <%= link_to "match", "http://www.ensl.org/matches/#{@match.id}" %> on ENSL.<br />
There are is a new <%= link_to "match", "https://www.ensl.org/matches/#{@match.id}" %> on ENSL.<br />
<br />
<b>Contest:<b/> <%= link_to (h @match.contest), "http://www.ensl.org/contests/#{@match.contest.id}" %><br />
<b>Contest:</b> <%= link_to (h @match.contest), "https://www.ensl.org/contests/#{@match.contest.id}" %><br />
<b>Teams</b> <%= h @match.to_s %><br />
<b>Date:</b> <%= @match.match_time.strftime("%d %B %y %H:%M") %><br />
<br />
<% if @match.hltv %>
<b>HLTV: </b> <%= h @match.hltv.addr %> (<%= link_to (h @match.hltv), "http://www.ensl.org/servers/#{@match.hltv.id}" %>)
<b>HLTV: </b> <%= h @match.hltv.addr %> (<%= link_to (h @match.hltv), "https://www.ensl.org/servers/#{@match.hltv.id}" %>)
<% end %>

View file

@ -1 +1 @@
There are is a new article on ENSL: <%= link_to (h @news.title), "http://www.ensl.org/articles/#{@news.id}" %><br />
There are is a new article on ENSL: <%= link_to (h @news.title), "https://www.ensl.org/articles/#{@news.id}" %><br />

View file

@ -1,2 +1,2 @@
You have received a new private message from: <%= h @pm.sender.to_s %><br />
Click <%= link_to "here", "http://www.ensl.org/messages/#{@pm.id}" %> to read it.
Click <%= link_to "here", "https://www.ensl.org/messages/#{@pm.id}" %> to read it.

View file

@ -1,6 +1,6 @@
<h1>Password Recovery</h1>
<p>If you do not receive your new password by email, please see the guide <a href="http://www.ensl.org/articles/713">here</a>.</p>
<p>If you do not receive your new password by email, please see the guide <a href="https://www.ensl.org/articles/713">here</a>.</p>
<%= form_tag({ controller: 'users', action: 'forgot' }, { class: 'square' }) do %>

View file

@ -1,3 +1,3 @@
#!/bin/bash
# wget -O /dev/null http://www.ensl.org/servers/refresh/1
wget -O /dev/null http://www.ensl.org/tweets/refresh/1
# wget -O /dev/null https://www.ensl.org/servers/refresh/1
wget -O /dev/null https://www.ensl.org/tweets/refresh/1

View file

@ -1,2 +1,2 @@
#!/bin/bash
wget -O /dev/null http://www.ensl.org/directories/refresh/1
wget -O /dev/null https://www.ensl.org/directories/refresh/1