Skip to content

Commit

Permalink
prefer https
Browse files Browse the repository at this point in the history
  • Loading branch information
acmetech committed Jan 4, 2024
1 parent 5036990 commit 53ad13d
Show file tree
Hide file tree
Showing 31 changed files with 89 additions and 89 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
2 changes: 1 addition & 1 deletion MIT-LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
6 changes: 3 additions & 3 deletions app/assets/fonts/socializer/socializer.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/assets/javascripts/socializer/activities.coffee
Original file line number Diff line number Diff line change
@@ -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+
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/socializer/notes.coffee
Original file line number Diff line number Diff line change
@@ -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]")
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/socializer/people.coffee
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/socializer/shares.coffee
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/socializer/components/_media.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Media objects
// Source: http://stubbornella.org/content/?p=497
// Source: https://stubbornella.org/content/?p=497
// --------------------------------------------------

$media-color: $text-color;
Expand Down
2 changes: 1 addition & 1 deletion app/models/concerns/socializer/object_type_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/models/socializer/activity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/simple_form_bootstrap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion socializer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/decorators/socializer/person_decorator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion spec/dummy/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/factories/socializer/group_links.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion spec/factories/socializer/person_contributions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/factories/socializer/person_links.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion spec/factories/socializer/person_profiles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion spec/models/socializer/person_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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") }
Expand Down
8 changes: 4 additions & 4 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions vendor/assets/javascripts/jquery.qtip.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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,
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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; }
Expand Down Expand Up @@ -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 = '<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';" ' +
Expand Down
14 changes: 7 additions & 7 deletions vendor/assets/javascripts/jquery.tokeninput.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* jQuery Plugin: Tokenizing Autocomplete Text Entry
* Version 1.6.0
*
* Copyright (c) 2009 James Smith (http://loopj.com)
* Copyright (c) 2009 James Smith (https://loopj.com)
* Licensed jointly under the GPL and MIT licenses,
* choose which one suits your project best!
*
Expand Down Expand Up @@ -414,7 +414,7 @@ $.TokenList = function (input, url_or_data, settings) {
}
});
}

this.getTokens = function() {
return saved_tokens;
}
Expand Down Expand Up @@ -658,7 +658,7 @@ $.TokenList = function (input, url_or_data, settings) {
function highlight_term(value, term) {
return value.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)(" + term + ")(?![^<>]*>)(?![^&;]+;)", "gi"), "<b>$1</b>");
}

function find_value_and_highlight_term(template, value, term) {
return template.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)(" + value + ")(?![^<>]*>)(?![^&;]+;)", "g"), highlight_term(value, term));
}
Expand All @@ -681,11 +681,11 @@ $.TokenList = function (input, url_or_data, settings) {

$.each(results, function(index, value) {
var this_li = settings.resultsFormatter(value);
this_li = find_value_and_highlight_term(this_li ,value[settings.propertyToSearch], query);

this_li = find_value_and_highlight_term(this_li ,value[settings.propertyToSearch], query);

this_li = $(this_li).appendTo(dropdown_ul);

if(index % 2) {
this_li.addClass(settings.classes.dropdownItem);
} else {
Expand Down

0 comments on commit 53ad13d

Please sign in to comment.