diff --git a/ATTRIBUTION b/ATTRIBUTION index c6741fa..43c7b8c 100644 --- a/ATTRIBUTION +++ b/ATTRIBUTION @@ -1,3 +1,3 @@ Large Glasses by Kyle Scott, from The Noun Project CC-BY 3.0 -http://thenounproject.com/term/glasses/1017/ +https://thenounproject.com/term/glasses/1017/ diff --git a/Gemfile b/Gemfile index 4cf4d7e..a401b70 100644 --- a/Gemfile +++ b/Gemfile @@ -21,7 +21,7 @@ gem 'http_accept_language' gem 'mechanize', require: false gem 'prawn', '1.0.0' gem 'prawn-qrcode' -gem 'prawn-rails', git: 'git://github.com/cortiz/prawn-rails.git', ref: 'c276c1b601e3' +gem 'prawn-rails', git: 'https://github.com/cortiz/prawn-rails.git', ref: 'c276c1b601e3' group :development do gem 'better_errors' @@ -39,7 +39,7 @@ end group :test do gem 'simplecov', require: false gem 'codeclimate-test-reporter', require: nil - gem 'poltergeist', git: 'git://github.com/teampoltergeist/poltergeist.git' + gem 'poltergeist', git: 'https://github.com/teampoltergeist/poltergeist.git' gem 'capybara-screenshot' gem 'database_cleaner' gem 'factory_girl_rails' diff --git a/Gemfile.lock b/Gemfile.lock index cb34f75..4f64e63 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,5 +1,5 @@ GIT - remote: git://github.com/cortiz/prawn-rails.git + remote: https://github.com/cortiz/prawn-rails.git revision: c276c1b601e3fd3bcf9e6edd04da6330419b2d12 ref: c276c1b601e3 specs: @@ -8,7 +8,7 @@ GIT rails (>= 3.1.0) GIT - remote: git://github.com/teampoltergeist/poltergeist.git + remote: https://github.com/teampoltergeist/poltergeist.git revision: 3aec468f9f0f93570b6c58bfd7f67e4cf1a9d360 specs: poltergeist (1.5.1) diff --git a/README.md b/README.md index 8c0c260..6accef6 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ cd /var/www # Install HipsterPizza and its dependencies: sudo -u www-data -s - git clone git://github.com/breunigs/hipsterpizza + git clone https://github.com/breunigs/hipsterpizza.git cd hipsterpizza /usr/bin/bundle --deployment --without development test diff --git a/app/assets/javascripts/_guess_postcode.js b/app/assets/javascripts/_guess_postcode.js index b7b6ae4..887712b 100644 --- a/app/assets/javascripts/_guess_postcode.js +++ b/app/assets/javascripts/_guess_postcode.js @@ -13,7 +13,7 @@ var HIPSTER = (function (my) { } function queryNominatim(pos) { - var url = 'http://nominatim.openstreetmap.org/reverse?format=json&zoom=18'; + var url = 'https://nominatim.openstreetmap.org/reverse?format=json&zoom=18'; var c = pos.coords; var coords = '&lat='+c.latitude+'&lon='+c.longitude; my.log('Querying Nominatim at ' + coords); diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 6251cf0..a8b181d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -69,7 +69,7 @@ def replay_mode def stream(template) response.headers['X-Accel-Buffering'] = 'no' - # via http://stackoverflow.com/a/748646/1684530 + # via https://stackoverflow.com/a/748646/1684530 # ensure that streamed pages are never cached response.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate' response.headers['Pragma'] = 'no-cache' diff --git a/app/validators/json_validator.rb b/app/validators/json_validator.rb index 5296dde..c82f312 100644 --- a/app/validators/json_validator.rb +++ b/app/validators/json_validator.rb @@ -1,6 +1,6 @@ # encoding: utf-8 -# via http://stackoverflow.com/a/19445201/1684530 +# via https://stackoverflow.com/a/19445201/1684530 # license: CC-BY-SA 3.0 # Put this code in lib/validators/json_validator.rb diff --git a/app/views/basket/fax.pdf.prawn b/app/views/basket/fax.pdf.prawn index 67235d9..8ebb03c 100644 --- a/app/views/basket/fax.pdf.prawn +++ b/app/views/basket/fax.pdf.prawn @@ -27,7 +27,7 @@ if @fax_config['lat'] && @fax_config['lon'] lat = @fax_config['lat'] lon = @fax_config['lon'] - osm = "http://www.osm.org/?mlat=#{lat}&mlon=#{lon}#map=17/#{lat}/#{@fax_config['lon']}" + osm = "https://www.openstreetmap.org/?mlat=#{lat}&mlon=#{lon}#map=17/#{lat}/#{lon}" gmaps = "https://maps.google.de/maps?q=#{lat},#{lon}&num=1&t=m&z=18" size = 100 diff --git a/app/views/main/privacy.html.slim b/app/views/main/privacy.html.slim index 434f7ee..1776643 100644 --- a/app/views/main/privacy.html.slim +++ b/app/views/main/privacy.html.slim @@ -46,7 +46,7 @@ dl.dl-horizontal dt pizza.de dd - a href="http://pizza.de/info/datenschutz" main.privacy.third_party.pizzade + a href="https://pizza.de/info/datenschutz" main.privacy.third_party.pizzade h3 main.privacy.questions.header p=I18n.t('main.privacy.questions.text', mail: 'stefan-hipsterpizza@yrden.de').html_safe diff --git a/config/initializers/monkey_patch_logger.rb b/config/initializers/monkey_patch_logger.rb index 3bbbc86..775c3bd 100644 --- a/config/initializers/monkey_patch_logger.rb +++ b/config/initializers/monkey_patch_logger.rb @@ -1,4 +1,4 @@ -# via http://cbpowell.wordpress.com/2013/08/09/beautiful-logging-for-ruby-on-rails-4/ +# via https://cbpowell.wordpress.com/2013/08/09/beautiful-logging-for-ruby-on-rails-4/ class ActiveSupport::Logger::SimpleFormatter SEVERITY_TO_TAG_MAP = {'DEBUG'=>'DBG', 'INFO'=>'NFO', 'WARN'=>'WRN', 'ERROR'=>'ERR', 'FATAL'=>'FTL', 'UNKNOWN'=>'???'} SEVERITY_TO_COLOR_MAP = {'DEBUG'=>'0;37', 'INFO'=>'32', 'WARN'=>'33', 'ERROR'=>'31', 'FATAL'=>'31', 'UNKNOWN'=>'37'} diff --git a/config/locales/main/privacy.yml b/config/locales/main/privacy.yml index 8c10834..0aaccb9 100644 --- a/config/locales/main/privacy.yml +++ b/config/locales/main/privacy.yml @@ -31,7 +31,7 @@ en: header: Address Details server: header: On Server - details: 'Stored in scrambled form as part of a basket. Used estimate delivery times for your address.' + details: 'Stored in scrambled form as part of a basket. Used estimate delivery times for your address.' browser: header: In Browser details: Stored in local storage and can be read by third party provider. Remove it using your browser’s cleaning tools. @@ -64,7 +64,7 @@ de: order: "Bestellungen: Nick, Zeitstempel, Produkte und deren Preise" logs: "Server Logs: Seitenaufrufe mit Deiner IP, User Agent („Browser“) und Zeitstempel" - delete_method: 'Es wird kein sicheres Löschen verwendet, Daten könnten wiederherstellbar sein.' + delete_method: 'Es wird kein sicheres Löschen verwendet, Daten könnten wiederherstellbar sein.' browser: header: Browser @@ -77,7 +77,7 @@ de: header: Adressdaten server: header: Auf Server - details: 'Zusammen mit dem Warenkorb in zerhackter / gehashter Form gespeichert. Wird benutzt um die Lieferzeit an eine Adresse vorherzusagen.' + details: 'Zusammen mit dem Warenkorb in zerhackter / gehashter Form gespeichert. Wird benutzt um die Lieferzeit an eine Adresse vorherzusagen.' browser: header: Im Browser details: Wird im Browser via Local Storage gespeichert. Kann von Drittanbietern gelesen werden. Entfernung mit den Reinigungstools des Browsers möglich. diff --git a/config/locales/order_table.yml b/config/locales/order_table.yml index 20219ef..0d0fef4 100644 --- a/config/locales/order_table.yml +++ b/config/locales/order_table.yml @@ -1,6 +1,6 @@ en: order_table: - # http://en.wikipedia.org/wiki/The_Lives_of_Others + # https://en.wikipedia.org/wiki/The_Lives_of_Others heading: The Orders of Others id: ID diff --git a/db/seeds.rb b/db/seeds.rb index 5c08b29..0fffcc3 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -6,4 +6,4 @@ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # Mayor.create(name: 'Emanuel', city: cities.first) # Environment variables (ENV['...']) can be set in the file config/application.yml. -# See http://railsapps.github.io/rails-environment-variables.html +# See https://railsapps.github.io/rails-environment-variables.html diff --git a/docs/DOCKER.md b/docs/DOCKER.md index 2ffcf1b..3ef9af6 100644 --- a/docs/DOCKER.md +++ b/docs/DOCKER.md @@ -59,7 +59,7 @@ Please continue with the normal guide starting at [webserver integration](../REA You can also build your own Docker image from HipsterPizza’s source. Below are the basic steps need to do this. Please refer to Docker’s documentation for everything else: ``` -git clone git://github.com/breunigs/hipsterpizza +git clone https://github.com/breunigs/hipsterpizza.git cd hipsterpizza # (make some changes) docker build --tag MYPIZZA . diff --git a/script/get_bundler.sh b/script/get_bundler.sh index ba53fb1..7586dd5 100755 --- a/script/get_bundler.sh +++ b/script/get_bundler.sh @@ -2,7 +2,7 @@ cd $(dirname $0) cd .. -wget --quiet -O - "http://www.yrden.de/share/bundler/hipsterpizza.tar.xz" | tar -xJf - +wget --quiet -O - "https://www.yrden.de/share/bundler/hipsterpizza.tar.xz" | tar -xJf - # if the server is down or the file corrupt, contine install normally exit 0 diff --git a/vendor/assets/javascripts/sha512.js b/vendor/assets/javascripts/sha512.js index e484bd1..1f708aa 100644 --- a/vendor/assets/javascripts/sha512.js +++ b/vendor/assets/javascripts/sha512.js @@ -5,7 +5,7 @@ Copyright Brian Turek 2008-2013 Distributed under the BSD License - See http://caligatio.github.com/jsSHA/ for more information + See https://caligatio.github.com/jsSHA/ for more information Several functions taken from Paul Johnston */