diff --git a/.eslintrc b/.eslintrc
index 9faa37508..e6eba31cf 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -9,7 +9,7 @@ env:
jquery: true
node: true
-# http://eslint.org/docs/rules/
+# https://eslint.org/docs/rules/
rules:
# Possible Errors
comma-dangle: [2, never]
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d63e7048c..eba93c334 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -45,4 +45,4 @@ Some things that will increase the chance that your pull request is accepted, ta
## License
By contributing your code, you agree to license your contribution under the
-terms of the MIT license: http://www.opensource.org/licenses/mit-license.php
+terms of the MIT license: https://opensource.org/license/mit/
diff --git a/MIT-LICENSE b/MIT-LICENSE
index c925af82e..390523d06 100644
--- a/MIT-LICENSE
+++ b/MIT-LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2011-2023, Dominic Goulet, http://www.dominicgoulet.com
+Copyright (c) 2011-2023, Dominic Goulet, https://www.dominicgoulet.com
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/README.md b/README.md
index 07e9fa345..5f4fc3464 100644
--- a/README.md
+++ b/README.md
@@ -4,13 +4,13 @@
[![Coverage Status](https://coveralls.io/repos/github/socializer/socializer/badge.svg?branch=main)](https://coveralls.io/github/socializer/socializer?branch=main)
[![Maintainability](https://api.codeclimate.com/v1/badges/597d0f0dd08d9ec1dba5/maintainability)](https://codeclimate.com/github/socializer/socializer/maintainability)
[![Dependency Status](https://gemnasium.com/badges/github.com/socializer/socializer.svg)](https://gemnasium.com/github.com/socializer/socializer)
-[![Inline docs](http://inch-ci.org/github/socializer/socializer.svg?branch=main)](http://inch-ci.org/github/socializer/socializer)
+[![Inline docs](https://inch-ci.org/github/socializer/socializer.svg?branch=main)](https://inch-ci.org/github/socializer/socializer)
Socializer is a rails engine fully dedicated to adding social network capabilities so you can focus
on what really matters.
-It is designed based on the Wikipedia definition of [social networks](http://en.wikipedia.org/wiki/Social_network)
-and the excellent spec from [activitystrea.ms](http://www.activitystrea.ms). Yes, it may look like a Google+ clone, but Google did a
+It is designed based on the Wikipedia definition of [social networks](https://en.wikipedia.org/wiki/Social_network)
+and the excellent spec from [activitystrea.ms](https://www.activitystrea.ms). Yes, it may look like a Google+ clone, but Google did a
great job implementing the social network definition. And yes, it does a lot less than Google+, we don't have
400 developers on the project.
diff --git a/app/assets/fonts/socializer/socializer.svg b/app/assets/fonts/socializer/socializer.svg
index ae83ac402..5a994f28d 100644
--- a/app/assets/fonts/socializer/socializer.svg
+++ b/app/assets/fonts/socializer/socializer.svg
@@ -1,6 +1,6 @@
-
-
diff --git a/app/assets/javascripts/socializer/activities.coffee b/app/assets/javascripts/socializer/activities.coffee
index d090f67ee..f57d83204 100644
--- a/app/assets/javascripts/socializer/activities.coffee
+++ b/app/assets/javascripts/socializer/activities.coffee
@@ -1,6 +1,6 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
-# You can use CoffeeScript in this file: http://coffeescript.org/
+# You can use CoffeeScript in this file: https://coffeescript.org/
@addTimeAgoSupport = ->
# Use moment.js to mimic Google+
diff --git a/app/assets/javascripts/socializer/circles/suggestions.coffee b/app/assets/javascripts/socializer/circles/suggestions.coffee
index ab06681dd..a9900ff63 100644
--- a/app/assets/javascripts/socializer/circles/suggestions.coffee
+++ b/app/assets/javascripts/socializer/circles/suggestions.coffee
@@ -1,6 +1,6 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
-# You can use CoffeeScript in this file: http://coffeescript.org/
+# You can use CoffeeScript in this file: https://coffeescript.org/
@setup = ->
$("[data-behavior~=draggable]").draggable
diff --git a/app/assets/javascripts/socializer/notes.coffee b/app/assets/javascripts/socializer/notes.coffee
index 373d74e1a..443547a94 100644
--- a/app/assets/javascripts/socializer/notes.coffee
+++ b/app/assets/javascripts/socializer/notes.coffee
@@ -1,6 +1,6 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
-# You can use CoffeeScript in this file: http://coffeescript.org/
+# You can use CoffeeScript in this file: https://coffeescript.org/
@resetNoteForm = (resetContent = true) ->
noteContent = $("[data-behavior~=note-content]")
diff --git a/app/assets/javascripts/socializer/people.coffee b/app/assets/javascripts/socializer/people.coffee
index 0f9e630f7..920671ef4 100644
--- a/app/assets/javascripts/socializer/people.coffee
+++ b/app/assets/javascripts/socializer/people.coffee
@@ -1,6 +1,6 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
-# You can use CoffeeScript in this file: http://coffeescript.org/
+# You can use CoffeeScript in this file: https://coffeescript.org/
jQuery ->
controllerName = $("body").data("controller")
diff --git a/app/assets/javascripts/socializer/shares.coffee b/app/assets/javascripts/socializer/shares.coffee
index bf2b66af8..3b4196a96 100644
--- a/app/assets/javascripts/socializer/shares.coffee
+++ b/app/assets/javascripts/socializer/shares.coffee
@@ -1,6 +1,6 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
-# You can use CoffeeScript in this file: http://coffeescript.org/
+# You can use CoffeeScript in this file: https://coffeescript.org/
jQuery ->
if $("body").data("controller") == "shares"
diff --git a/app/assets/stylesheets/socializer/components/_media.scss b/app/assets/stylesheets/socializer/components/_media.scss
index 03223fdd4..a2a188f57 100644
--- a/app/assets/stylesheets/socializer/components/_media.scss
+++ b/app/assets/stylesheets/socializer/components/_media.scss
@@ -1,5 +1,5 @@
// Media objects
-// Source: http://stubbornella.org/content/?p=497
+// Source: https://stubbornella.org/content/?p=497
// --------------------------------------------------
$media-color: $text-color;
diff --git a/app/models/concerns/socializer/object_type_base.rb b/app/models/concerns/socializer/object_type_base.rb
index 63fbf6614..588b38bb0 100644
--- a/app/models/concerns/socializer/object_type_base.rb
+++ b/app/models/concerns/socializer/object_type_base.rb
@@ -8,7 +8,7 @@ module Socializer
# Object Type Base concern
#
# Common functionality for the
- # {http://activitystrea.ms/registry/object_types/ Activity Streams}
+ # {https://activitystrea.ms/registry/object_types/ Activity Streams}
# object types
#
module ObjectTypeBase
diff --git a/app/models/socializer/activity.rb b/app/models/socializer/activity.rb
index bdc0b0939..88b2ca5a9 100644
--- a/app/models/socializer/activity.rb
+++ b/app/models/socializer/activity.rb
@@ -11,7 +11,7 @@ module Socializer
# {Socializer::ObjectTypeBase Object}
# type that provide information about pending, ongoing or completed actions.
#
- # Activities follow the {http://activitystrea.ms/ Activity Streams} standard.
+ # Activities follow the {https://activitystrea.ms/ Activity Streams} standard.
#
class Activity < ApplicationRecord
include ObjectTypeBase
diff --git a/config/initializers/simple_form_bootstrap.rb b/config/initializers/simple_form_bootstrap.rb
index bee9c704e..aeb4e5415 100644
--- a/config/initializers/simple_form_bootstrap.rb
+++ b/config/initializers/simple_form_bootstrap.rb
@@ -124,7 +124,7 @@
end
# Wrappers for forms and inputs using the Bootstrap toolkit.
- # Check the Bootstrap docs (http://getbootstrap.com)
+ # Check the Bootstrap docs (https://getbootstrap.com)
# to learn about the different styles for forms and inputs,
# buttons and other elements.
config.default_wrapper = :vertical_form
diff --git a/socializer.gemspec b/socializer.gemspec
index f570645ef..1f58b460a 100644
--- a/socializer.gemspec
+++ b/socializer.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
spec.version = Socializer::VERSION
spec.authors = ["Dominic Goulet"]
spec.email = ["dominic.goulet@froggedsoft.com"]
- spec.homepage = "http://www.froggedsoft.com"
+ spec.homepage = "https://www.froggedsoft.com"
spec.summary = "Make your project social."
spec.description = "Add social network capabilities to your projects."
spec.license = "MIT"
diff --git a/spec/controllers/socializer/people/contributions_controller_spec.rb b/spec/controllers/socializer/people/contributions_controller_spec.rb
index 25f469b7d..3fda52c4c 100644
--- a/spec/controllers/socializer/people/contributions_controller_spec.rb
+++ b/spec/controllers/socializer/people/contributions_controller_spec.rb
@@ -12,7 +12,7 @@ module Socializer
let(:valid_params) do
{ person_id: user,
person_contribution: { display_name: "My Test",
- url: "http://test.org",
+ url: "https://test.org",
label: :current_contributor } }
end
diff --git a/spec/controllers/socializer/people/links_controller_spec.rb b/spec/controllers/socializer/people/links_controller_spec.rb
index b6207b63b..a6904afab 100644
--- a/spec/controllers/socializer/people/links_controller_spec.rb
+++ b/spec/controllers/socializer/people/links_controller_spec.rb
@@ -11,7 +11,7 @@ module Socializer
let(:valid_params) do
{ person_id: user,
- person_link: { display_name: "test", url: "http://test.org" } }
+ person_link: { display_name: "test", url: "https://test.org" } }
end
let(:invalid_params) do
diff --git a/spec/controllers/socializer/people/profiles_controller_spec.rb b/spec/controllers/socializer/people/profiles_controller_spec.rb
index c261af6cb..034352b44 100644
--- a/spec/controllers/socializer/people/profiles_controller_spec.rb
+++ b/spec/controllers/socializer/people/profiles_controller_spec.rb
@@ -11,7 +11,7 @@ module Socializer
let(:valid_params) do
{ person_id: user,
- person_profile: { display_name: "test", url: "http://test.org" } }
+ person_profile: { display_name: "test", url: "https://test.org" } }
end
let(:invalid_params) do
diff --git a/spec/decorators/socializer/person_decorator_spec.rb b/spec/decorators/socializer/person_decorator_spec.rb
index ee73f8ffd..6c429b093 100644
--- a/spec/decorators/socializer/person_decorator_spec.rb
+++ b/spec/decorators/socializer/person_decorator_spec.rb
@@ -97,7 +97,7 @@ module Socializer
context "when the provider is Facebook, LinkedIn, or Twitter" do
let(:authentication_attributes) do
{ provider: provider.downcase,
- image_url: "http://#{provider.downcase}.com",
+ image_url: "https://#{provider.downcase}.com",
uid: person.id }
end
diff --git a/spec/dummy/config/environments/production.rb b/spec/dummy/config/environments/production.rb
index 5780e946b..c7c239053 100644
--- a/spec/dummy/config/environments/production.rb
+++ b/spec/dummy/config/environments/production.rb
@@ -31,7 +31,7 @@
config.assets.compile = false
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.asset_host = "http://assets.example.com"
+ # config.asset_host = "https://assets.example.com"
# Specifies the header that your server uses for sending files.
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache
diff --git a/spec/factories/socializer/group_links.rb b/spec/factories/socializer/group_links.rb
index 7c78c3a54..730b9f09f 100644
--- a/spec/factories/socializer/group_links.rb
+++ b/spec/factories/socializer/group_links.rb
@@ -5,7 +5,7 @@
FactoryBot.define do
factory :group_link, class: "Socializer::Group::Link" do
display_name { "test" }
- url { "http://test.org" }
+ url { "https://test.org" }
group
end
end
diff --git a/spec/factories/socializer/person_contributions.rb b/spec/factories/socializer/person_contributions.rb
index 8b8ee1a9d..9e94be416 100644
--- a/spec/factories/socializer/person_contributions.rb
+++ b/spec/factories/socializer/person_contributions.rb
@@ -5,7 +5,7 @@
FactoryBot.define do
factory :person_contribution, class: "Socializer::Person::Contribution" do
sequence(:display_name) { |n| "Contribution #{n}" }
- url { "http://test.org" }
+ url { "https://test.org" }
label { :current_contributor }
person
end
diff --git a/spec/factories/socializer/person_links.rb b/spec/factories/socializer/person_links.rb
index be85aff7e..49f3ff695 100644
--- a/spec/factories/socializer/person_links.rb
+++ b/spec/factories/socializer/person_links.rb
@@ -5,7 +5,7 @@
FactoryBot.define do
factory :person_link, class: "Socializer::Person::Link" do
display_name { "test" }
- url { "http://test.org" }
+ url { "https://test.org" }
person
end
end
diff --git a/spec/factories/socializer/person_profiles.rb b/spec/factories/socializer/person_profiles.rb
index a433f97d3..5131de41c 100644
--- a/spec/factories/socializer/person_profiles.rb
+++ b/spec/factories/socializer/person_profiles.rb
@@ -5,7 +5,7 @@
FactoryBot.define do
factory :person_profile, class: "Socializer::Person::Profile" do
display_name { "test" }
- url { "http://test.org" }
+ url { "https://test.org" }
person
end
end
diff --git a/spec/models/socializer/person_spec.rb b/spec/models/socializer/person_spec.rb
index 06535ead1..624a8e7b7 100644
--- a/spec/models/socializer/person_spec.rb
+++ b/spec/models/socializer/person_spec.rb
@@ -51,7 +51,7 @@ module Socializer
describe "#services" do
let(:authentications_attributes) do
- { provider: "facebook", image_url: "http://facebook.com", uid: 1 }
+ { provider: "facebook", image_url: "https://facebook.com", uid: 1 }
end
let(:person) { create(:person, avatar_provider: "FACEBOOK") }
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index cd0e7019b..0fa837885 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -14,7 +14,7 @@
# the additional setup, and require it from the spec files that actually need
# it.
#
-# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
+# See https://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
# rspec-expectations config goes here. You can use an alternate
# assertion/expectation library such as wrong or the stdlib/minitest
@@ -63,9 +63,9 @@
# Limits the available syntax to the non-monkey patched syntax that is
# recommended. For more details, see:
- # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
- # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
+ # - https://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
+ # - https://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
+ # - https://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
config.disable_monkey_patching!
# Many RSpec users commonly either run the entire suite or an individual
diff --git a/vendor/assets/javascripts/jquery.qtip.js b/vendor/assets/javascripts/jquery.qtip.js
index 0ee19cee8..af3900ae2 100644
--- a/vendor/assets/javascripts/jquery.qtip.js
+++ b/vendor/assets/javascripts/jquery.qtip.js
@@ -1,10 +1,10 @@
/*
* qTip2 - Pretty powerful tooltips - v3.0.3
- * http://qtip2.com
+ * https://qtip2.com
*
* Copyright (c) 2016
* Released under the MIT licenses
- * http://jquery.org/license
+ * httpss://jquery.org/license
*
* Date: Wed May 11 2016 10:31 GMT+0100+0100
* Plugins: tips modal viewport svg imagemap ie6
@@ -26,7 +26,7 @@
}
}
(function($) {
- "use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
+ "use strict"; // Enable ECMAScript "strict" operation for this function. See more: https://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
;// Munge the primitives - Paul Irish tip
var TRUE = true,
FALSE = false,
@@ -1914,7 +1914,7 @@ QTIP.api = {};
/* Fire off 'removeqtip' handler in $.cleanData if jQuery UI not present (it already does similar).
* This snippet is taken directly from jQuery UI source code found here:
- * http://code.jquery.com/ui/jquery-ui-git.js
+ * https://code.jquery.com/ui/jquery-ui-git.js
*/
if(!$.ui) {
$['cleanData'+replaceSuffix] = $.cleanData;
@@ -2033,12 +2033,12 @@ HASCANVAS = !!document.createElement('canvas').getContext,
INVALID = /rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i;
// Camel-case method, taken from jQuery source
-// http://code.jquery.com/jquery-1.8.0.js
+// https://code.jquery.com/jquery-1.8.0.js
function camel(s) { return s.charAt(0).toUpperCase() + s.slice(1); }
/*
* Modified from Modernizr's testPropsAll()
- * http://modernizr.com/downloads/modernizr-latest.js
+ * https://modernizr.com/downloads/modernizr-latest.js
*/
var cssProps = {}, cssPrefixes = ['Webkit', 'O', 'Moz', 'ms'];
function vendorCss(elem, prop) {
@@ -2661,7 +2661,7 @@ OVERLAY = function()
elem;
// Modified code from jQuery UI 1.10.0 source
- // http://code.jquery.com/ui/1.10.0/jquery-ui.js
+ // https://code.jquery.com/ui/1.10.0/jquery-ui.js
function focusable(element) {
// Use the defined focusable checker when possible
if($.expr[':'].focusable) { return $.expr[':'].focusable; }
@@ -3346,7 +3346,7 @@ $.extend(TRUE, QTIP.defaults, {
;var IE6,
/*
- * BGIFrame adaption (http://plugins.jquery.com/project/bgiframe)
+ * BGIFrame adaption (https://plugins.jquery.com/project/bgiframe)
* Special thanks to Brandon Aaron
*/
BGIFRAME = '