Commit 9eaafe5f
Changed files (16)
app
assets
javascripts
controllers
views
creations
devise
layouts
registrations
shared
tutorials
lib
tasks
script
app/assets/javascripts/users_edit.js
@@ -6,7 +6,7 @@ DeviseUsers.Edit = {
$('#user_city').autocomplete({
source: function(request, response){
$.ajax({
- url: 'http://ws.geonames.org/searchJSON',
+ url: 'https://ws.geonames.org/searchJSON',
dataType: "jsonp",
data: {
featureClass: "P",
app/controllers/sitemap_controller.rb
@@ -4,7 +4,7 @@ class SitemapController < ApplicationController
def index
@creations = Creation.all
@tutorials = Tutorial.all
- @base_url = "http://#{request.host_with_port}"
+ @base_url = "https://#{request.host_with_port}"
headers['Content-Type'] = 'application/xml'
respond_to do |format|
format.xml
app/views/creations/_form.html.erb
@@ -7,7 +7,6 @@
});
</script>
<% end %>
-<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/flick/jquery-ui.css">
<%= form_for(@creation, :html => {:multipart => true, :class => "form-horizontal"}) do |f| %>
<fieldset>
<div class="control-group">
app/views/devise/mailer/reset_password_instructions.html.erb
@@ -9,5 +9,5 @@
<br/>
<p>Regards,</p>
<p>The CakeSide Team</p>
-<p>Your security and privacy is important to us so please <a href="http://www.cakeside.com/">visit us</a> if you have any questions?</p>
+<p>Your security and privacy is important to us so please <%= link_to "visit us", root_path %> if you have any questions?</p>
app/views/devise/registrations/new.html.erb
@@ -12,7 +12,7 @@
$('#user_city').autocomplete({
source: function(request, response){
$.ajax({
- url: 'http://ws.geonames.org/searchJSON',
+ url: 'https://ws.geonames.org/searchJSON',
dataType: "jsonp",
data: {
featureClass: "P",
@@ -53,7 +53,7 @@
<h3>Why CakeSide?</h3>
<p>CakeSide is a community dedicated to giving cake artists, bakers, creators, hobbyists, and of course cake lovers a place to share ideas and creations. Explore your creativity and find your inspiration. Resources shared here are all user driven.</p>
<h3>About Us</h3>
- <p>We are a passionate team dedicated to improving the cake sharing experience. Frustrated with the lack of community that provides more than just photo sharing, CakeSide was born. All features of this site will be user inspired. We love to listen so feel free to give us <a href="http://cakeside.uservoice.com/" target="_blank">feedback</a>. Check back often to see what's new in the CakeSide community!</p>
+ <p>We are a passionate team dedicated to improving the cake sharing experience. Frustrated with the lack of community that provides more than just photo sharing, CakeSide was born. All features of this site will be user inspired. We love to listen so feel free to give us <a href="https://cakeside.uservoice.com/" target="_blank">feedback</a>. Check back often to see what's new in the CakeSide community!</p>
</div>
</div>
<div class="span6">
app/views/devise/sessions/new.html.erb
@@ -12,7 +12,7 @@
$('#user_city').autocomplete({
source: function(request, response){
$.ajax({
- url: 'http://ws.geonames.org/searchJSON',
+ url: 'https://ws.geonames.org/searchJSON',
dataType: "jsonp",
data: {
featureClass: "P",
@@ -51,7 +51,7 @@
<h3>Why CakeSide?</h3>
<p>CakeSide is a community dedicated to giving cake artists, bakers, creators, hobbyists, and of course cake lovers a place to share ideas and creations. Explore your creativity and find your inspiration. Resources shared here are all user driven.</p>
<h3>About Us</h3>
- <p>We are a passionate team dedicated to improving the cake sharing experience. Frustrated with the lack of community that provides more than just photo sharing, CakeSide was born. All features of this site will be user inspired. We love to listen so feel free to give us <a href="http://cakeside.uservoice.com/" target="_blank">feedback</a>. Check back often to see what's new in the CakeSide community!</p>
+ <p>We are a passionate team dedicated to improving the cake sharing experience. Frustrated with the lack of community that provides more than just photo sharing, CakeSide was born. All features of this site will be user inspired. We love to listen so feel free to give us <a href="https://cakeside.uservoice.com/" target="_blank">feedback</a>. Check back often to see what's new in the CakeSide community!</p>
</div>
</div>
<div class="span6">
app/views/home/why_cakeside.html.erb
@@ -1,5 +1,5 @@
<% provide(:title, "About Us") -%>
<h2>Why Cakeside</h2>
-<p>We are a passionate team dedicated to improving the cake sharing experience. Frustrated with the lack of community that provides more than just photo sharing, CakeSide was born. All features of this site will be user inspired. We love to listen so feel free to give us <a target="_blank" href="http://cakeside.uservoice.com/">feedback</a>. Check back often to see what's new in the CakeSide community!</p>
+<p>We are a passionate team dedicated to improving the cake sharing experience. Frustrated with the lack of community that provides more than just photo sharing, CakeSide was born. All features of this site will be user inspired. We love to listen so feel free to give us <a target="_blank" href="https://cakeside.uservoice.com/">feedback</a>. Check back often to see what's new in the CakeSide community!</p>
app/views/layouts/_chrome_frame.html.erb
@@ -1,5 +1,5 @@
<!--[if IE]>
-<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
<script>
CFInstall.check({ mode: "overlay" });
</script>
app/views/layouts/_disqus_comments_count.html.erb
@@ -3,7 +3,7 @@ var disqus_shortname = '<%= ENV['DISQUS_SHORTNAME'] %>';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
- s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
+ s.src = 'https://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
app/views/layouts/application.html.erb
@@ -29,7 +29,7 @@
<%= render "layouts/chrome_frame"%>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<%= render "layouts/mixpanel"%>
<%= render "layouts/embedly"%>
app/views/registrations/edit.html.erb
@@ -27,7 +27,7 @@ $(function(){
</div>
<div class="control-group">
<%= f.label :website, :class => "control-label" %>
- <div class="controls"> <%= f.url_field :website, :class => "input-xlarge, url", :placeholder => "http://cakeside.com" %> </div>
+ <div class="controls"> <%= f.url_field :website, :class => "input-xlarge, url", :placeholder => "https://cakeside.com" %> </div>
</div>
<div class="control-group">
<%= f.label :twitter, "Twitter username @", :class => "control-label" %>
app/views/tutorials/_form.html.erb
@@ -7,7 +7,6 @@ $(function(){
});
</script>
<% end %>
-<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/flick/jquery-ui.css">
<div class="span12">
<%= form_for(@tutorial, :html => {:class => "form-horizontal"}) do |f| %>
<fieldset>
lib/tasks/deployment.rake
@@ -2,13 +2,13 @@ namespace :deploy do
desc "deploy to staging server"
task :staging do
sh "cap staging deploy:migrations"
- sh "curl http://staging.cakeside.com/ > /dev/null"
+ sh "curl https://staging.cakeside.com/ > /dev/null"
end
desc "deploy to production server"
task :production do
sh "cap production deploy:migrations"
- sh "curl http://www.cakeside.com/ > /dev/null"
+ sh "curl https://www.cakeside.com/ > /dev/null"
end
end
script/perf.sh
@@ -1,4 +1,4 @@
-ENDPOINT="http://staging.cakeside.com/"
+ENDPOINT="https://staging.cakeside.com/"
REQUEST_COUNT="100"
THREAD_COUNT="10"