Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Update http links to https
Browse files Browse the repository at this point in the history
Reverse https change

Change instance of libraries to library
  • Loading branch information
VivianChu committed May 4, 2017
1 parent c28ef03 commit f81a006
Show file tree
Hide file tree
Showing 20 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![Dependency Status](https://gemnasium.com/ucsdlib/damspas.svg)](https://gemnasium.com/ucsdlib/damspas)

[UC San Diego Library](http://libraries.ucsd.edu/ "UC San Diego Library") Digital Collections Public Access System.
[UC San Diego Library](https://library.ucsd.edu/ "UC San Diego Library") Digital Collections Public Access System.

A Hydra repository backed by [DAMS Repository](http://github.com/ucsdlib/damsrepo).

Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/home-page.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$(document).ready(function(){

var roll = Math.floor(Math.random()*bg_data.length);
var bg_img_url = "http://libraries.ucsd.edu/assets/dams/home-page/img/" + bg_data[roll].ark + ".jpg";
var bg_img_url = "https://library.ucsd.edu/assets/dams/home-page/img/" + bg_data[roll].ark + ".jpg";
var collection_url = $("meta[name=dams_root]").attr("content") + "collection/" + bg_data[roll].ark;
var collection_title = (bg_data[roll].title != "") ? "<p>" + bg_data[roll].title : "";
var collection_creator = (bg_data[roll].creator != "") ? "<p>" + bg_data[roll].creator : "";
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/custom-object-viewer.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ $complexFile: #AC6F2B !default;
// Masked Objects (Restricted, Sensitive, etc.)
.restricted-notice
{
background:#b1b1b1 url(http://libraries.ucsd.edu/assets/dams/site/restricted.png) no-repeat center center;
background:#b1b1b1 url(https://library.ucsd.edu/assets/dams/site/restricted.png) no-repeat center center;
background-size:150%,150%;
border-radius: 3px;
padding:0;
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/catalog_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def thumbnail_url( solr_doc = {}, image_options = {} )
end

def restricted_object_url()
url = "http://libraries.ucsd.edu/assets/dams/site/thumb-restricted.png"
url = "https://library.ucsd.edu/assets/dams/site/thumb-restricted.png"

image_tag( url, :alt => "", :class => 'dams-search-thumbnail')
end
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<li class="muted">|</li>
<li><%= link_to 'Feedback', contact_path %></li>
<li class="muted">|</li>
<li><a href="http://libraries.ucsd.edu/">Library Home</a></li>
<li><a href="https://library.ucsd.edu/">Library Home</a></li>
</ul>
</section>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<li><%= link_to 'Sign In', new_user_session_path %></li>
<% end %>

<li><%= link_to 'The Library', 'http://libraries.ucsd.edu/' %></li>
<li><%= link_to 'The Library', 'https://library.ucsd.edu/' %></li>

</ul>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_sitetrackings.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Hotjar Tracking Code for http://libraries.ucsd.edu/ -->
<!-- Hotjar Tracking Code for https://library.ucsd.edu/ -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/ucsdlib.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<%= render :partial => 'layouts/twitter_card' %>
<link href="<%= opensearch_catalog_path(:format => 'xml', :only_url => false) %>" title="<%= application_name%>" type="application/opensearchdescription+xml" rel="search"/>

<script src="https://libraries.ucsd.edu/jwplayer/jwplayer.js"></script>
<script src="https://libraries.ucsd.edu/jwplayer/key.js"></script>
<script src="https://library.ucsd.edu/jwplayer/jwplayer.js"></script>
<script src="https://library.ucsd.edu/jwplayer/key.js"></script>
<% mapquest_key = ENV.fetch('APPS_DHH_MAPQUEST_KEY') {'zrnNkNZDkELMvViepTqFjZP8bEKxjDaG' if Rails.env.development? || Rails.env.test?}%>
<script src="https://www.mapquestapi.com/sdk/leaflet/v2.2/mq-map.js?key=<%= mapquest_key%>"></script>

Expand Down
2 changes: 1 addition & 1 deletion config/environments/gimili.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
config.editor_groups = ['dams-editor','dams-manager-admin']
config.super_role = 'dams-manager-admin'
config.unknown_groups = ['unknown']
config.zoomify_baseurl = 'http://rohan.ucsd.edu/zoomify/'
config.zoomify_baseurl = 'https://rohan.ucsd.edu/zoomify/'
config.shibboleth = false
config.share_notify_sample = 'share_notify.yml.staging.sample'
end
2 changes: 1 addition & 1 deletion config/environments/pontos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
config.editor_groups = ['dams-editor','dams-manager-admin']
config.super_role = 'dams-manager-admin'
config.unknown_groups = ['unknown']
config.zoomify_baseurl = 'http://rohan.ucsd.edu/zoomify/'
config.zoomify_baseurl = 'https://rohan.ucsd.edu/zoomify/'
config.shibboleth = true
config.share_notify_sample = 'share_notify.yml.staging.sample'
end
4 changes: 2 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
config.editor_groups = ['dams-editor','dams-manager-admin']
config.super_role = 'dams-manager-admin'
config.unknown_groups = ['unknown']
config.zoomify_baseurl = 'http://library.ucsd.edu/zoomify/'
config.zoomify_baseurl = 'https://library.ucsd.edu/zoomify/'
config.shibboleth = true
config.host_name = 'http://library.ucsd.edu/dc'
config.host_name = 'https://library.ucsd.edu/dc'
end
2 changes: 1 addition & 1 deletion config/environments/qa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
config.editor_groups = ['dams-editor','dams-manager-admin']
config.super_role = 'dams-manager-admin'
config.unknown_groups = ['unknown']
config.zoomify_baseurl = 'http://libraryqa.ucsd.edu/zoomify/'
config.zoomify_baseurl = 'https://libraryqa.ucsd.edu/zoomify/'
config.shibboleth = true
config.share_notify_sample = 'share_notify.yml.staging.sample'
end
4 changes: 2 additions & 2 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
config.editor_groups = ['dams-editor','dams-manager-admin']
config.super_role = 'dams-manager-admin'
config.unknown_groups = ['unknown']
config.zoomify_baseurl = 'http://librarytest.ucsd.edu/zoomify/'
config.zoomify_baseurl = 'https://librarytest.ucsd.edu/zoomify/'
config.shibboleth = true
config.host_name = 'http://librarytest.ucsd.edu/dc'
config.host_name = 'https://librarytest.ucsd.edu/dc'
end
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
config.editor_groups = ['dams-editor','dams-manager-admin']
config.super_role = 'dams-manager-admin'
config.unknown_groups = ['unknown']
config.zoomify_baseurl = 'http://rohan.ucsd.edu/zoomify/'
config.zoomify_baseurl = 'https://rohan.ucsd.edu/zoomify/'
config.shibboleth = false
config.share_notify_sample = 'share_notify.yml.staging.sample'
end
2 changes: 1 addition & 1 deletion config/sitemap.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set the host name for URL creation
SitemapGenerator::Sitemap.default_host = "http://library.ucsd.edu/dc"
SitemapGenerator::Sitemap.default_host = "https://library.ucsd.edu/dc"
SitemapGenerator::Sitemap.compress = :all_but_first

SitemapGenerator::Sitemap.create do
Expand Down
4 changes: 2 additions & 2 deletions public/403.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<style>
body{margin:0;padding:0;}
#dc-error,#container,#msg{-moz-box-sizing:border-box;}
#dc-error{background-image:url(http://libraries.ucsd.edu/assets/dams/error/403.jpg);margin:0 auto;max-width:1200px;width:100%;background-position:center center;background-size:cover;height:640px;position:relative;}
#dc-error{background-image:url(https://library.ucsd.edu/assets/dams/error/403.jpg);margin:0 auto;max-width:1200px;width:100%;background-position:center center;background-size:cover;height:640px;position:relative;}
#container{background-color:#6C0000;background-color:rgba(108,0,0,0.85);padding:0;width:100%;height:640px;overflow:hidden;}
#dc-logo{display:block;margin:0 auto;padding-top:50px;}
#msg{background-color:#460000;background-color:rgba(70,0,0,0.85);padding:20px;font-family:sans-serif;width:80%;margin:20px auto;color:#fff;font-size:1em;}
Expand All @@ -22,7 +22,7 @@
<body>
<section id="dc-error">
<section id="container">
<img alt="Digital Collections Error Message" id="dc-logo" src="http://libraries.ucsd.edu/assets/dams/error/logo-dc-error.png" />
<img alt="Digital Collections Error Message" id="dc-logo" src="https://library.ucsd.edu/assets/dams/error/logo-dc-error.png" />
<section id="msg">
<h1>Forbidden</h1>
<p>You are not allowed to view this page.</p>
Expand Down
4 changes: 2 additions & 2 deletions public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<style>
body{margin:0;padding:0;}
#dc-error,#container,#msg{-moz-box-sizing:border-box;}
#dc-error{background-image:url(http://libraries.ucsd.edu/assets/dams/error/404.jpg);margin:0 auto;max-width:1200px;width:100%;background-position:center center;background-size:cover;height:640px;position:relative;}
#dc-error{background-image:url(https://library.ucsd.edu/assets/dams/error/404.jpg);margin:0 auto;max-width:1200px;width:100%;background-position:center center;background-size:cover;height:640px;position:relative;}
#container{background-color:#6C0000;background-color:rgba(108,0,0,0.85);padding:0;width:100%;height:640px;overflow:hidden;}
#dc-logo{display:block;margin:0 auto;padding-top:50px;}
#msg{background-color:#460000;background-color:rgba(70,0,0,0.85);padding:20px;font-family:sans-serif;width:80%;margin:20px auto;color:#fff;font-size:1em;}
Expand All @@ -22,7 +22,7 @@
<body>
<section id="dc-error">
<section id="container">
<img alt="Digital Collections Error Message" id="dc-logo" src="http://libraries.ucsd.edu/assets/dams/error/logo-dc-error.png" />
<img alt="Digital Collections Error Message" id="dc-logo" src="https://library.ucsd.edu/assets/dams/error/logo-dc-error.png" />
<section id="msg">
<h1>Not Found</h1>
<p>The page you were looking for does not exist.</p>
Expand Down
4 changes: 2 additions & 2 deletions public/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<style>
body{margin:0;padding:0;}
#dc-error,#container,#msg{-moz-box-sizing:border-box;}
#dc-error{background-image:url(http://libraries.ucsd.edu/assets/dams/error/500.jpg);margin:0 auto;max-width:1200px;width:100%;background-position:center center;background-size:cover;height:640px;position:relative;}
#dc-error{background-image:url(https://library.ucsd.edu/assets/dams/error/500.jpg);margin:0 auto;max-width:1200px;width:100%;background-position:center center;background-size:cover;height:640px;position:relative;}
#container{background-color:#6C0000;background-color:rgba(108,0,0,0.85);padding:0;width:100%;height:640px;overflow:hidden;}
#dc-logo{display:block;margin:0 auto;padding-top:50px;}
#msg{background-color:#460000;background-color:rgba(70,0,0,0.85);padding:20px;font-family:sans-serif;width:80%;margin:20px auto;color:#fff;font-size:1em;}
Expand All @@ -22,7 +22,7 @@
<body>
<section id="dc-error">
<section id="container">
<img alt="Digital Collections Error Message" id="dc-logo" src="http://libraries.ucsd.edu/assets/dams/error/logo-dc-error.png" />
<img alt="Digital Collections Error Message" id="dc-logo" src="https://library.ucsd.edu/assets/dams/error/logo-dc-error.png" />
<section id="msg">
<h1>Internal Server Error</h1>
<p>We're sorry, but something went wrong. Please try again later.</p>
Expand Down
4 changes: 2 additions & 2 deletions public/503.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<style>
body{margin:0;padding:0;}
#dc-error,#container,#msg{-moz-box-sizing:border-box;}
#dc-error{background-image:url(http://libraries.ucsd.edu/assets/dams/error/503.jpg);margin:0 auto;max-width:1200px;width:100%;background-position:center center;background-size:cover;height:640px;position:relative;}
#dc-error{background-image:url(https://library.ucsd.edu/assets/dams/error/503.jpg);margin:0 auto;max-width:1200px;width:100%;background-position:center center;background-size:cover;height:640px;position:relative;}
#container{background-color:#6C0000;background-color:rgba(108,0,0,0.85);padding:0;width:100%;height:640px;overflow:hidden;}
#dc-logo{display:block;margin:0 auto;padding-top:50px;}
#msg{background-color:#460000;background-color:rgba(70,0,0,0.85);padding:20px;font-family:sans-serif;width:80%;margin:20px auto;color:#fff;font-size:1em;}
Expand All @@ -22,7 +22,7 @@
<body>
<section id="dc-error">
<section id="container">
<img alt="Digital Collections Error Message" id="dc-logo" src="http://libraries.ucsd.edu/assets/dams/error/logo-dc-error.png" />
<img alt="Digital Collections Error Message" id="dc-logo" src="https://library.ucsd.edu/assets/dams/error/logo-dc-error.png" />
<section id="msg">
<h1>Service Unavailable</h1>
<p>The service is not available at this time. Please try again later.</p>
Expand Down
2 changes: 1 addition & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# User-Agent: *
# Disallow: /

Sitemap: http://library.ucsd.edu/dc/sitemap.xml
Sitemap: https://library.ucsd.edu/dc/sitemap.xml

0 comments on commit f81a006

Please sign in to comment.