From aa38ceac1255ea4db374e0635e0b357a5d5194a2 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Thu, 2 Aug 2018 00:09:29 +0200 Subject: [PATCH] Add copyright and license lines in all files needed --- .travis.yml | 3 +++ app/controllers/application_controller.rb | 3 +++ app/controllers/checks_controller.rb | 3 +++ app/controllers/notifications_controller.rb | 3 +++ app/controllers/pages_controller.rb | 3 +++ app/frontend/packs/application.js | 3 +++ app/frontend/scss/_variables.scss | 3 +++ app/frontend/scss/components/checks.scss | 3 +++ app/frontend/scss/components/users.scss | 3 +++ app/frontend/scss/icons.scss | 3 +++ app/frontend/scss/index.js | 3 +++ app/frontend/scss/index.scss | 3 +++ app/frontend/scss/layout.scss | 3 +++ app/helpers/application_helper.rb | 3 +++ app/helpers/checks_helper.rb | 3 +++ app/helpers/domain_helper.rb | 3 +++ app/helpers/notifications_helper.rb | 3 +++ app/helpers/pages_helper.rb | 3 +++ app/helpers/users_helper.rb | 3 +++ app/mailers/application_mailer.rb | 3 +++ app/mailers/notifications_mailer.rb | 3 +++ app/models/application_record.rb | 3 +++ app/models/check.rb | 3 +++ app/models/check_log.rb | 3 +++ app/models/notification.rb | 3 +++ app/models/user.rb | 3 +++ app/policies/check_policy.rb | 3 +++ app/policies/notification_policy.rb | 3 +++ app/services/check_domain_processor.rb | 3 +++ app/services/check_logger.rb | 3 +++ app/services/check_processor.rb | 3 +++ app/services/check_ssl_processor.rb | 3 +++ app/services/notifier.rb | 3 +++ app/services/notifier/channels/base.rb | 3 +++ app/services/notifier/channels/email.rb | 3 +++ app/services/notifier/processor.rb | 3 +++ app/services/notifier/resolver.rb | 3 +++ app/services/ssl.rb | 3 +++ app/services/ssl/errors.rb | 3 +++ app/services/ssl/parser.rb | 3 +++ app/services/ssl/response.rb | 3 +++ app/services/system_command.rb | 3 +++ app/services/whois.rb | 3 +++ app/services/whois/errors.rb | 3 +++ app/services/whois/parser.rb | 3 +++ app/services/whois/parser/afnic.rb | 3 +++ app/services/whois/parser/base.rb | 3 +++ app/services/whois/parser/entry/base.rb | 3 +++ app/services/whois/parser/entry/blank.rb | 3 +++ app/services/whois/parser/entry/field.rb | 3 +++ app/services/whois/parser/entry/text.rb | 3 +++ app/services/whois/parser/entry_builder.rb | 3 +++ app/services/whois/parser/pir.rb | 3 +++ app/services/whois/parser/verisign.rb | 3 +++ app/services/whois/response.rb | 3 +++ app/views/checks/_filters.html.erb | 2 ++ app/views/checks/_form.html.erb | 2 ++ app/views/checks/_table.html.erb | 2 ++ app/views/checks/edit.html.erb | 2 ++ app/views/checks/index.html.erb | 2 ++ app/views/checks/new.html.erb | 2 ++ app/views/devise/confirmations/new.html.erb | 2 ++ app/views/devise/mailer/confirmation_instructions.html.erb | 2 ++ app/views/devise/mailer/confirmation_instructions.text.erb | 2 ++ app/views/devise/mailer/email_changed.html.erb | 2 ++ app/views/devise/mailer/email_changed.text.erb | 2 ++ app/views/devise/mailer/password_change.html.erb | 2 ++ app/views/devise/mailer/password_change.text.erb | 2 ++ app/views/devise/mailer/reset_password_instructions.html.erb | 2 ++ app/views/devise/mailer/reset_password_instructions.text.erb | 2 ++ app/views/devise/mailer/unlock_instructions.html.erb | 2 ++ app/views/devise/mailer/unlock_instructions.text.erb | 2 ++ app/views/devise/passwords/edit.html.erb | 2 ++ app/views/devise/passwords/new.html.erb | 2 ++ app/views/devise/registrations/edit.html.erb | 2 ++ app/views/devise/registrations/new.html.erb | 2 ++ app/views/devise/sessions/new.html.erb | 2 ++ app/views/devise/shared/_links.html.erb | 2 ++ app/views/devise/unlocks/new.html.erb | 2 ++ app/views/kaminari/_first_page.html.erb | 2 ++ app/views/kaminari/_gap.html.erb | 2 ++ app/views/kaminari/_last_page.html.erb | 2 ++ app/views/kaminari/_next_page.html.erb | 2 ++ app/views/kaminari/_page.html.erb | 2 ++ app/views/kaminari/_paginator.html.erb | 2 ++ app/views/kaminari/_prev_page.html.erb | 2 ++ app/views/layouts/application.html.erb | 2 ++ app/views/layouts/mailer.html.erb | 2 ++ app/views/layouts/mailer.text.erb | 2 ++ app/views/notifications/_nested_form.html.erb | 2 ++ app/views/notifications/_nested_form_headers.html.erb | 2 ++ app/views/notifications/destroy.js.erb | 2 ++ .../notifications_mailer/_check_comment_vendor.en.html.erb | 2 ++ .../notifications_mailer/_check_comment_vendor.en.text.erb | 2 ++ .../notifications_mailer/_check_comment_vendor.fr.html.erb | 2 ++ .../notifications_mailer/_check_comment_vendor.fr.text.erb | 2 ++ .../notifications_mailer/_footer_expires_soon.en.html.erb | 2 ++ .../notifications_mailer/_footer_expires_soon.en.text.erb | 2 ++ .../notifications_mailer/_footer_expires_soon.fr.html.erb | 2 ++ .../notifications_mailer/_footer_expires_soon.fr.text.erb | 2 ++ .../_footer_recurrent_failures.en.html.erb | 2 ++ .../_footer_recurrent_failures.en.text.erb | 2 ++ .../_footer_recurrent_failures.fr.html.erb | 2 ++ .../_footer_recurrent_failures.fr.text.erb | 2 ++ app/views/notifications_mailer/domain_expires_soon.en.html.erb | 2 ++ app/views/notifications_mailer/domain_expires_soon.en.text.erb | 2 ++ app/views/notifications_mailer/domain_expires_soon.fr.html.erb | 2 ++ app/views/notifications_mailer/domain_expires_soon.fr.text.erb | 2 ++ app/views/notifications_mailer/ssl_expires_soon.en.html.erb | 2 ++ app/views/notifications_mailer/ssl_expires_soon.en.text.erb | 2 ++ app/views/notifications_mailer/ssl_expires_soon.fr.html.erb | 2 ++ app/views/notifications_mailer/ssl_expires_soon.fr.text.erb | 2 ++ app/views/pages/home.html.erb | 2 ++ app/views/shared/_devise_form_container.html.erb | 2 ++ app/views/shared/_navbar.html.erb | 2 ++ app/views/shared/_notices.html.erb | 2 ++ config/deploy/config.example.yml | 3 +++ config/locales/en.yml | 3 +++ config/locales/fr.yml | 3 +++ config/routes.rb | 3 +++ db/migrate/20180523145630_devise_create_users.rb | 3 +++ db/migrate/20180524205809_add_custom_fields_to_users.rb | 3 +++ db/migrate/20180529092950_create_checks.rb | 3 +++ db/migrate/20180530123611_create_check_logs.rb | 3 +++ db/migrate/20180531101412_create_notifications.rb | 3 +++ ...4319_rename_checks_domain_expire_at_to_domain_expires_at.rb | 3 +++ .../20180605203552_rename_notifications_delay_to_interval.rb | 3 +++ db/migrate/20180613055303_add_locale_to_users.rb | 3 +++ db/seeds.rb | 3 +++ lib/errors.rb | 3 +++ lib/null_logger.rb | 3 +++ lib/tasks/checks.rake | 3 +++ lib/tasks/notifications.rake | 3 +++ script/to_production | 3 +++ script/to_staging | 3 +++ test/application_system_test_case.rb | 3 +++ test/chexpire_assertions.rb | 3 +++ test/controllers/checks_controller_test.rb | 3 +++ test/controllers/notifications_controller_test.rb | 3 +++ test/controllers/pages_controller_test.rb | 3 +++ test/factories/check_logs.rb | 3 +++ test/factories/checks.rb | 3 +++ test/factories/notifications.rb | 3 +++ test/factories/users.rb | 3 +++ test/helpers/domain_helper_test.rb | 3 +++ test/jobs/resync_job_test.rb | 3 +++ test/jobs/ssl_sync_job_test.rb | 3 +++ test/jobs/whois_sync_job_test.rb | 3 +++ test/mailers/notifications_mailer_test.rb | 3 +++ test/mailers/previews/notifications_mailer_preview.rb | 3 +++ test/models/check_log_test.rb | 3 +++ test/models/check_test.rb | 3 +++ test/models/notification_test.rb | 3 +++ test/models/user_test.rb | 3 +++ test/policies/check_policy_test.rb | 3 +++ test/policies/notification_policy_test.rb | 3 +++ test/services/check_domain_processor_test.rb | 3 +++ test/services/check_logger_test.rb | 3 +++ test/services/check_processor_test.rb | 3 +++ test/services/check_ssl_processor_test.rb | 3 +++ test/services/notifier/channels/base_test.rb | 3 +++ test/services/notifier/processor_test.rb | 3 +++ test/services/notifier/resolver_test.rb | 3 +++ test/services/notifier_test.rb | 3 +++ test/services/ssl/parser_test.rb | 3 +++ test/services/ssl_test.rb | 3 +++ test/services/system_command_test.rb | 3 +++ test/services/whois/parser/afnic_test.rb | 3 +++ test/services/whois/parser/pir_test.rb | 3 +++ test/services/whois/parser/verisign_test.rb | 3 +++ test/services/whois/parser_test.rb | 3 +++ test/services/whois_test.rb | 3 +++ test/system/checks_test.rb | 3 +++ test/system/users_test.rb | 3 +++ test/test_helper.rb | 3 +++ test/test_mocks_helper.rb | 3 +++ 176 files changed, 467 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6191048..3bc70d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + language: - ruby diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 86a4a95..0af9f21 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class ApplicationController < ActionController::Base include Pundit rescue_from Pundit::NotAuthorizedError, with: :user_not_authorized diff --git a/app/controllers/checks_controller.rb b/app/controllers/checks_controller.rb index cc12afd..0029c81 100644 --- a/app/controllers/checks_controller.rb +++ b/app/controllers/checks_controller.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class ChecksController < ApplicationController before_action :authenticate_user! before_action :set_check, except: [:index, :new, :create] diff --git a/app/controllers/notifications_controller.rb b/app/controllers/notifications_controller.rb index c1b7ed4..8fc3103 100644 --- a/app/controllers/notifications_controller.rb +++ b/app/controllers/notifications_controller.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class NotificationsController < ApplicationController before_action :authenticate_user! before_action :set_notification, except: [:create] diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index 2f5a600..d0c1067 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class PagesController < ApplicationController def home; end end diff --git a/app/frontend/packs/application.js b/app/frontend/packs/application.js index d2d55db..65d2c5b 100644 --- a/app/frontend/packs/application.js +++ b/app/frontend/packs/application.js @@ -1,3 +1,6 @@ +// Copyright (C) 2018 Colin Darie , 2018 Evolix +// License: GNU AGPL-3+ (see full text in LICENSE file) + /* eslint no-console:0 */ // This file is automatically compiled by Webpack, along with any other files // present in this directory. You're encouraged to place your actual application logic in diff --git a/app/frontend/scss/_variables.scss b/app/frontend/scss/_variables.scss index 822dfbf..e948707 100644 --- a/app/frontend/scss/_variables.scss +++ b/app/frontend/scss/_variables.scss @@ -1,3 +1,6 @@ +// Copyright (C) 2018 Colin Darie , 2018 Evolix +// License: GNU AGPL-3+ (see full text in LICENSE file) + $input-placeholder-color: #adb5bd; $enable-rounded: false; $theme-colors: ( diff --git a/app/frontend/scss/components/checks.scss b/app/frontend/scss/components/checks.scss index f0e20e6..83f2ea3 100644 --- a/app/frontend/scss/components/checks.scss +++ b/app/frontend/scss/components/checks.scss @@ -1,3 +1,6 @@ +// Copyright (C) 2018 Colin Darie , 2018 Evolix +// License: GNU AGPL-3+ (see full text in LICENSE file) + .checks-table { .action a { color: black; diff --git a/app/frontend/scss/components/users.scss b/app/frontend/scss/components/users.scss index 05ae08f..431faae 100644 --- a/app/frontend/scss/components/users.scss +++ b/app/frontend/scss/components/users.scss @@ -1,3 +1,6 @@ +// Copyright (C) 2018 Colin Darie , 2018 Evolix +// License: GNU AGPL-3+ (see full text in LICENSE file) + .form-check-label.optional.boolean { color: inherit; } diff --git a/app/frontend/scss/icons.scss b/app/frontend/scss/icons.scss index 2bb0254..5d64e5e 100644 --- a/app/frontend/scss/icons.scss +++ b/app/frontend/scss/icons.scss @@ -1,3 +1,6 @@ +// Copyright (C) 2018 Colin Darie , 2018 Evolix +// License: GNU AGPL-3+ (see full text in LICENSE file) + .octicon { fill: currentColor; vertical-align: text-top; diff --git a/app/frontend/scss/index.js b/app/frontend/scss/index.js index 67aac61..15c6e9b 100644 --- a/app/frontend/scss/index.js +++ b/app/frontend/scss/index.js @@ -1 +1,4 @@ +// Copyright (C) 2018 Colin Darie , 2018 Evolix +// License: GNU AGPL-3+ (see full text in LICENSE file) + import './index.scss'; diff --git a/app/frontend/scss/index.scss b/app/frontend/scss/index.scss index 4b15d76..2b38b06 100644 --- a/app/frontend/scss/index.scss +++ b/app/frontend/scss/index.scss @@ -1,3 +1,6 @@ +// Copyright (C) 2018 Colin Darie , 2018 Evolix +// License: GNU AGPL-3+ (see full text in LICENSE file) + @import '_variables'; @import '~bootstrap/scss/bootstrap'; @import 'layout'; diff --git a/app/frontend/scss/layout.scss b/app/frontend/scss/layout.scss index ce62abd..cd2fb3a 100644 --- a/app/frontend/scss/layout.scss +++ b/app/frontend/scss/layout.scss @@ -1,3 +1,6 @@ +// Copyright (C) 2018 Colin Darie , 2018 Evolix +// License: GNU AGPL-3+ (see full text in LICENSE file) + @import '~bootstrap/scss/_functions'; @import '~bootstrap/scss/_variables'; @import '~bootstrap/scss/mixins/_breakpoints'; diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 3d6fea9..856ac3e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module ApplicationHelper def format_date(time, format: :long) l(time.utc.to_date, format: format) diff --git a/app/helpers/checks_helper.rb b/app/helpers/checks_helper.rb index beeea2e..0cb3c92 100644 --- a/app/helpers/checks_helper.rb +++ b/app/helpers/checks_helper.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + # frozen_string_literal: true module ChecksHelper diff --git a/app/helpers/domain_helper.rb b/app/helpers/domain_helper.rb index f291fbc..07cfe36 100644 --- a/app/helpers/domain_helper.rb +++ b/app/helpers/domain_helper.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module DomainHelper def normalize_domain(str) str.strip.downcase diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index 7afd73d..0e9b90d 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module NotificationsHelper def many_channels_available? Notification.channels.many? diff --git a/app/helpers/pages_helper.rb b/app/helpers/pages_helper.rb index 2c057fd..777738d 100644 --- a/app/helpers/pages_helper.rb +++ b/app/helpers/pages_helper.rb @@ -1,2 +1,5 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module PagesHelper end diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb index 7aa200d..9394d07 100644 --- a/app/helpers/users_helper.rb +++ b/app/helpers/users_helper.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module UsersHelper # Inject a devise template inside a same container # while translation form keys are still valid diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index 1474cb7..3907406 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class ApplicationMailer < ActionMailer::Base default from: Rails.configuration.chexpire.fetch("mailer_default_from") layout "mailer" diff --git a/app/mailers/notifications_mailer.rb b/app/mailers/notifications_mailer.rb index 8f79612..b8cdc01 100644 --- a/app/mailers/notifications_mailer.rb +++ b/app/mailers/notifications_mailer.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class NotificationsMailer < ApplicationMailer helper :application diff --git a/app/models/application_record.rb b/app/models/application_record.rb index 10a4cba..6642e35 100644 --- a/app/models/application_record.rb +++ b/app/models/application_record.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class ApplicationRecord < ActiveRecord::Base self.abstract_class = true end diff --git a/app/models/check.rb b/app/models/check.rb index 8e1cb6f..5aa1b2e 100644 --- a/app/models/check.rb +++ b/app/models/check.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + # == Schema Information # # Table name: checks diff --git a/app/models/check_log.rb b/app/models/check_log.rb index 29ccb2c..25b424b 100644 --- a/app/models/check_log.rb +++ b/app/models/check_log.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + # == Schema Information # # Table name: check_logs diff --git a/app/models/notification.rb b/app/models/notification.rb index 4484a67..860f67e 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + # == Schema Information # # Table name: notifications diff --git a/app/models/user.rb b/app/models/user.rb index 695a239..8ec2a96 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + # == Schema Information # # Table name: users diff --git a/app/policies/check_policy.rb b/app/policies/check_policy.rb index db18e6f..111c940 100644 --- a/app/policies/check_policy.rb +++ b/app/policies/check_policy.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class CheckPolicy < ApplicationPolicy class Scope < Scope def resolve diff --git a/app/policies/notification_policy.rb b/app/policies/notification_policy.rb index 68c5167..ba2a514 100644 --- a/app/policies/notification_policy.rb +++ b/app/policies/notification_policy.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class NotificationPolicy < ApplicationPolicy class Scope < Scope def resolve diff --git a/app/services/check_domain_processor.rb b/app/services/check_domain_processor.rb index 183fc03..8afc7d1 100644 --- a/app/services/check_domain_processor.rb +++ b/app/services/check_domain_processor.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class CheckDomainProcessor include CheckProcessor diff --git a/app/services/check_logger.rb b/app/services/check_logger.rb index 5fe256a..64f7766 100644 --- a/app/services/check_logger.rb +++ b/app/services/check_logger.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class CheckLogger attr_reader :check attr_reader :check_log diff --git a/app/services/check_processor.rb b/app/services/check_processor.rb index 9492505..37226b5 100644 --- a/app/services/check_processor.rb +++ b/app/services/check_processor.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module CheckProcessor attr_reader :configuration diff --git a/app/services/check_ssl_processor.rb b/app/services/check_ssl_processor.rb index f36e7c5..bc75102 100644 --- a/app/services/check_ssl_processor.rb +++ b/app/services/check_ssl_processor.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + class CheckSSLProcessor include CheckProcessor diff --git a/app/services/notifier.rb b/app/services/notifier.rb index 36836fd..4a59233 100644 --- a/app/services/notifier.rb +++ b/app/services/notifier.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require "notifier/processor" module Notifier diff --git a/app/services/notifier/channels/base.rb b/app/services/notifier/channels/base.rb index 5c879aa..264a318 100644 --- a/app/services/notifier/channels/base.rb +++ b/app/services/notifier/channels/base.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module Notifier module Channels class Base diff --git a/app/services/notifier/channels/email.rb b/app/services/notifier/channels/email.rb index 9141ee0..743aa5a 100644 --- a/app/services/notifier/channels/email.rb +++ b/app/services/notifier/channels/email.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module Notifier module Channels class Email < Base diff --git a/app/services/notifier/processor.rb b/app/services/notifier/processor.rb index 8d3cad3..502c867 100644 --- a/app/services/notifier/processor.rb +++ b/app/services/notifier/processor.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module Notifier Configuration = Struct.new(:interval, :consecutive_failures) diff --git a/app/services/notifier/resolver.rb b/app/services/notifier/resolver.rb index 25c3592..bc1120c 100644 --- a/app/services/notifier/resolver.rb +++ b/app/services/notifier/resolver.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module Notifier class Resolver def notifications_expiring_soon diff --git a/app/services/ssl.rb b/app/services/ssl.rb index ee1d8d2..d2baa78 100644 --- a/app/services/ssl.rb +++ b/app/services/ssl.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require "null_logger" require "system_command" require_relative "ssl/parser" diff --git a/app/services/ssl/errors.rb b/app/services/ssl/errors.rb index fe100c9..aa15760 100644 --- a/app/services/ssl/errors.rb +++ b/app/services/ssl/errors.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module SSL class Error < StandardError; end diff --git a/app/services/ssl/parser.rb b/app/services/ssl/parser.rb index 39ff46b..81caf76 100644 --- a/app/services/ssl/parser.rb +++ b/app/services/ssl/parser.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require "null_logger" require "ssl/errors" diff --git a/app/services/ssl/response.rb b/app/services/ssl/response.rb index 762c498..bee60d4 100644 --- a/app/services/ssl/response.rb +++ b/app/services/ssl/response.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module SSL class Response attr_accessor :expire_at diff --git a/app/services/system_command.rb b/app/services/system_command.rb index c4d3e7a..04b1957 100644 --- a/app/services/system_command.rb +++ b/app/services/system_command.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require "open4" require "null_logger" diff --git a/app/services/whois.rb b/app/services/whois.rb index 68c9b27..f6c0765 100644 --- a/app/services/whois.rb +++ b/app/services/whois.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require "null_logger" require "domain_helper" require "system_command" diff --git a/app/services/whois/errors.rb b/app/services/whois/errors.rb index 5fcbe49..6348a98 100644 --- a/app/services/whois/errors.rb +++ b/app/services/whois/errors.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module Whois class Error < StandardError; end diff --git a/app/services/whois/parser.rb b/app/services/whois/parser.rb index bc54ec4..3783b8d 100644 --- a/app/services/whois/parser.rb +++ b/app/services/whois/parser.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require "null_logger" require "whois/errors" require "whois/parser/afnic" diff --git a/app/services/whois/parser/afnic.rb b/app/services/whois/parser/afnic.rb index e612543..712fd2f 100644 --- a/app/services/whois/parser/afnic.rb +++ b/app/services/whois/parser/afnic.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require "domain_helper" require "whois/errors" require_relative "base" diff --git a/app/services/whois/parser/base.rb b/app/services/whois/parser/base.rb index ce7c3da..e5b1742 100644 --- a/app/services/whois/parser/base.rb +++ b/app/services/whois/parser/base.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require "null_logger" require_relative "../response" require_relative "../errors" diff --git a/app/services/whois/parser/entry/base.rb b/app/services/whois/parser/entry/base.rb index 5356772..658ae0a 100644 --- a/app/services/whois/parser/entry/base.rb +++ b/app/services/whois/parser/entry/base.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module Whois module Parser module Entry diff --git a/app/services/whois/parser/entry/blank.rb b/app/services/whois/parser/entry/blank.rb index 3933cbe..4c34f8b 100644 --- a/app/services/whois/parser/entry/blank.rb +++ b/app/services/whois/parser/entry/blank.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require_relative "base" module Whois diff --git a/app/services/whois/parser/entry/field.rb b/app/services/whois/parser/entry/field.rb index e4ccf91..53ed379 100644 --- a/app/services/whois/parser/entry/field.rb +++ b/app/services/whois/parser/entry/field.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require_relative "base" module Whois diff --git a/app/services/whois/parser/entry/text.rb b/app/services/whois/parser/entry/text.rb index 68ac771..dc8c79c 100644 --- a/app/services/whois/parser/entry/text.rb +++ b/app/services/whois/parser/entry/text.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require_relative "base" module Whois diff --git a/app/services/whois/parser/entry_builder.rb b/app/services/whois/parser/entry_builder.rb index cedcdb2..7b488d4 100644 --- a/app/services/whois/parser/entry_builder.rb +++ b/app/services/whois/parser/entry_builder.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require_relative "entry/blank" require_relative "entry/field" require_relative "entry/text" diff --git a/app/services/whois/parser/pir.rb b/app/services/whois/parser/pir.rb index c8cfde3..abb5ea3 100644 --- a/app/services/whois/parser/pir.rb +++ b/app/services/whois/parser/pir.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require "domain_helper" require "whois/errors" require_relative "base" diff --git a/app/services/whois/parser/verisign.rb b/app/services/whois/parser/verisign.rb index ad704e3..a6ec93a 100644 --- a/app/services/whois/parser/verisign.rb +++ b/app/services/whois/parser/verisign.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + require "domain_helper" require "whois/errors" require_relative "base" diff --git a/app/services/whois/response.rb b/app/services/whois/response.rb index e4718fa..1a77ded 100644 --- a/app/services/whois/response.rb +++ b/app/services/whois/response.rb @@ -1,3 +1,6 @@ +# Copyright (C) 2018 Colin Darie , 2018 Evolix +# License: GNU AGPL-3+ (see full text in LICENSE file) + module Whois class Response attr_accessor :created_at diff --git a/app/views/checks/_filters.html.erb b/app/views/checks/_filters.html.erb index 80e6b17..c03f6ec 100644 --- a/app/views/checks/_filters.html.erb +++ b/app/views/checks/_filters.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
diff --git a/app/views/checks/_form.html.erb b/app/views/checks/_form.html.erb index 959d5b0..cffce68 100644 --- a/app/views/checks/_form.html.erb +++ b/app/views/checks/_form.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= simple_form_for(check) do |f| %> <%= f.input :domain, autofocus: true, diff --git a/app/views/checks/_table.html.erb b/app/views/checks/_table.html.erb index 3808d01..f356d7c 100644 --- a/app/views/checks/_table.html.erb +++ b/app/views/checks/_table.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
diff --git a/app/views/checks/edit.html.erb b/app/views/checks/edit.html.erb index 86ae5d1..1d5d060 100644 --- a/app/views/checks/edit.html.erb +++ b/app/views/checks/edit.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
diff --git a/app/views/checks/index.html.erb b/app/views/checks/index.html.erb index ae8d626..8cd4578 100644 --- a/app/views/checks/index.html.erb +++ b/app/views/checks/index.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
diff --git a/app/views/checks/new.html.erb b/app/views/checks/new.html.erb index 3a662a7..1d43968 100644 --- a/app/views/checks/new.html.erb +++ b/app/views/checks/new.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index 474e5a0..be1fe91 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= devise_form_container do %>

<%= t('.resend_confirmation_instructions') %>

diff --git a/app/views/devise/mailer/confirmation_instructions.html.erb b/app/views/devise/mailer/confirmation_instructions.html.erb index c57770b..eb6493a 100644 --- a/app/views/devise/mailer/confirmation_instructions.html.erb +++ b/app/views/devise/mailer/confirmation_instructions.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

<%= t('.greeting', recipient: @email) %>

<%= t('.instruction') %>

diff --git a/app/views/devise/mailer/confirmation_instructions.text.erb b/app/views/devise/mailer/confirmation_instructions.text.erb index 80484f5..dac5368 100644 --- a/app/views/devise/mailer/confirmation_instructions.text.erb +++ b/app/views/devise/mailer/confirmation_instructions.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= t('.greeting', recipient: @email) %> <%= t('.instruction') %> diff --git a/app/views/devise/mailer/email_changed.html.erb b/app/views/devise/mailer/email_changed.html.erb index 0402428..4b37966 100644 --- a/app/views/devise/mailer/email_changed.html.erb +++ b/app/views/devise/mailer/email_changed.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

<%= t('.greeting', recipient: @email) %>

<% if @resource.try(:unconfirmed_email?) %> diff --git a/app/views/devise/mailer/email_changed.text.erb b/app/views/devise/mailer/email_changed.text.erb index cf41f7f..ed03bcb 100644 --- a/app/views/devise/mailer/email_changed.text.erb +++ b/app/views/devise/mailer/email_changed.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= t('.greeting', recipient: @email) %> <% if @resource.try(:unconfirmed_email?) %> diff --git a/app/views/devise/mailer/password_change.html.erb b/app/views/devise/mailer/password_change.html.erb index a30313b..342b11c 100644 --- a/app/views/devise/mailer/password_change.html.erb +++ b/app/views/devise/mailer/password_change.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

<%= t('.greeting', recipient: @resource.email) %>

<%= t('.message') %>

diff --git a/app/views/devise/mailer/password_change.text.erb b/app/views/devise/mailer/password_change.text.erb index ca2d9b9..b73f1c8 100644 --- a/app/views/devise/mailer/password_change.text.erb +++ b/app/views/devise/mailer/password_change.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= t('.greeting', recipient: @resource.email) %> <%= t('.message') %> diff --git a/app/views/devise/mailer/reset_password_instructions.html.erb b/app/views/devise/mailer/reset_password_instructions.html.erb index 6c22abf..e8b6f06 100644 --- a/app/views/devise/mailer/reset_password_instructions.html.erb +++ b/app/views/devise/mailer/reset_password_instructions.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

<%= t('.greeting', recipient: @resource.email) %>

<%= t('.instruction') %>

diff --git a/app/views/devise/mailer/reset_password_instructions.text.erb b/app/views/devise/mailer/reset_password_instructions.text.erb index 70b22db..c323451 100644 --- a/app/views/devise/mailer/reset_password_instructions.text.erb +++ b/app/views/devise/mailer/reset_password_instructions.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= t('.greeting', recipient: @resource.email) %> <%= t('.instruction') %> diff --git a/app/views/devise/mailer/unlock_instructions.html.erb b/app/views/devise/mailer/unlock_instructions.html.erb index 84d0981..11ba5bf 100644 --- a/app/views/devise/mailer/unlock_instructions.html.erb +++ b/app/views/devise/mailer/unlock_instructions.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

<%= t('.greeting', recipient: @resource.email) %>

<%= t('.message') %>

diff --git a/app/views/devise/mailer/unlock_instructions.text.erb b/app/views/devise/mailer/unlock_instructions.text.erb index 239c04f..bbce0b0 100644 --- a/app/views/devise/mailer/unlock_instructions.text.erb +++ b/app/views/devise/mailer/unlock_instructions.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= t('.greeting', recipient: @resource.email) %> <%= t('.message') %> diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb index 964ded5..4a154c4 100644 --- a/app/views/devise/passwords/edit.html.erb +++ b/app/views/devise/passwords/edit.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= devise_form_container do %>

<%= t('.change_your_password') %>

diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index 0fefc18..9325cf2 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= devise_form_container do %>

<%= t('.forgot_your_password') %>

diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index 8207e04..95a0023 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= devise_form_container do %>

<%= t('.title', resource: resource_name.to_s.humanize) %>

diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index a7de793..260bff8 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= devise_form_container do %>

<%= t('.sign_up') %>

diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index a40f03a..4a7ed2b 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= devise_form_container do %>

<%= t('.sign_in') %>

diff --git a/app/views/devise/shared/_links.html.erb b/app/views/devise/shared/_links.html.erb index f07506a..bc4bedc 100644 --- a/app/views/devise/shared/_links.html.erb +++ b/app/views/devise/shared/_links.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%- if controller_name != 'sessions' %> <%= link_to t(".sign_in"), new_session_path(resource_name) %>
<% end -%> diff --git a/app/views/devise/unlocks/new.html.erb b/app/views/devise/unlocks/new.html.erb index ea83e83..1b01ac4 100644 --- a/app/views/devise/unlocks/new.html.erb +++ b/app/views/devise/unlocks/new.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= devise_form_container do %>

<%= t('.resend_unlock_instructions') %>

diff --git a/app/views/kaminari/_first_page.html.erb b/app/views/kaminari/_first_page.html.erb index be84d7b..c553afe 100644 --- a/app/views/kaminari/_first_page.html.erb +++ b/app/views/kaminari/_first_page.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%# Link to the "First" page - available local variables url: url to the first page diff --git a/app/views/kaminari/_gap.html.erb b/app/views/kaminari/_gap.html.erb index cd730b7..e24b290 100644 --- a/app/views/kaminari/_gap.html.erb +++ b/app/views/kaminari/_gap.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%# Non-link tag that stands for skipped pages... - available local variables current_page: a page object for the currently displayed page diff --git a/app/views/kaminari/_last_page.html.erb b/app/views/kaminari/_last_page.html.erb index 4ef40e0..ad209fe 100644 --- a/app/views/kaminari/_last_page.html.erb +++ b/app/views/kaminari/_last_page.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%# Link to the "Last" page - available local variables url: url to the last page diff --git a/app/views/kaminari/_next_page.html.erb b/app/views/kaminari/_next_page.html.erb index c967dd8..4db34c3 100644 --- a/app/views/kaminari/_next_page.html.erb +++ b/app/views/kaminari/_next_page.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%# Link to the "Next" page - available local variables url: url to the next page diff --git a/app/views/kaminari/_page.html.erb b/app/views/kaminari/_page.html.erb index efcbe03..56a6b1d 100644 --- a/app/views/kaminari/_page.html.erb +++ b/app/views/kaminari/_page.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%# Link showing page number - available local variables page: a page object for "this" page diff --git a/app/views/kaminari/_paginator.html.erb b/app/views/kaminari/_paginator.html.erb index 7a26612..2746ddf 100644 --- a/app/views/kaminari/_paginator.html.erb +++ b/app/views/kaminari/_paginator.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%# The container tag - available local variables current_page: a page object for the currently displayed page diff --git a/app/views/kaminari/_prev_page.html.erb b/app/views/kaminari/_prev_page.html.erb index d272a5a..8ebbfe5 100644 --- a/app/views/kaminari/_prev_page.html.erb +++ b/app/views/kaminari/_prev_page.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%# Link to the "Previous" page - available local variables url: url to the previous page diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 36ba294..2affb94 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index cbd34d2..3bf1c07 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb index 37f0bdd..6b55102 100644 --- a/app/views/layouts/mailer.text.erb +++ b/app/views/layouts/mailer.text.erb @@ -1 +1,3 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%= yield %> diff --git a/app/views/notifications/_nested_form.html.erb b/app/views/notifications/_nested_form.html.erb index 5937bb2..52e7472 100644 --- a/app/views/notifications/_nested_form.html.erb +++ b/app/views/notifications/_nested_form.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
<%- if many_channels_available? %> diff --git a/app/views/notifications/_nested_form_headers.html.erb b/app/views/notifications/_nested_form_headers.html.erb index eb30535..4e538c4 100644 --- a/app/views/notifications/_nested_form_headers.html.erb +++ b/app/views/notifications/_nested_form_headers.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
<%- if many_channels_available? %>
diff --git a/app/views/notifications/destroy.js.erb b/app/views/notifications/destroy.js.erb index 7e031d0..e05a19b 100644 --- a/app/views/notifications/destroy.js.erb +++ b/app/views/notifications/destroy.js.erb @@ -1 +1,3 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> document.querySelector("[data-notification-id='<%= @notification.id %>']").remove(); diff --git a/app/views/notifications_mailer/_check_comment_vendor.en.html.erb b/app/views/notifications_mailer/_check_comment_vendor.en.html.erb index 8394dd9..e1b81bc 100644 --- a/app/views/notifications_mailer/_check_comment_vendor.en.html.erb +++ b/app/views/notifications_mailer/_check_comment_vendor.en.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%- if check.comment.present? -%>

You wrote the following comment with this domain: diff --git a/app/views/notifications_mailer/_check_comment_vendor.en.text.erb b/app/views/notifications_mailer/_check_comment_vendor.en.text.erb index 2f62655..3aaeb92 100644 --- a/app/views/notifications_mailer/_check_comment_vendor.en.text.erb +++ b/app/views/notifications_mailer/_check_comment_vendor.en.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%- if check.comment.present? -%> You wrote the following comment with this domain: diff --git a/app/views/notifications_mailer/_check_comment_vendor.fr.html.erb b/app/views/notifications_mailer/_check_comment_vendor.fr.html.erb index a2772ff..ddaf595 100644 --- a/app/views/notifications_mailer/_check_comment_vendor.fr.html.erb +++ b/app/views/notifications_mailer/_check_comment_vendor.fr.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%- if check.comment.present? -%>

Vous avez saisi le commentaire suivant pour ce domaine : diff --git a/app/views/notifications_mailer/_check_comment_vendor.fr.text.erb b/app/views/notifications_mailer/_check_comment_vendor.fr.text.erb index 6bddf75..256f5ae 100644 --- a/app/views/notifications_mailer/_check_comment_vendor.fr.text.erb +++ b/app/views/notifications_mailer/_check_comment_vendor.fr.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> <%- if check.comment.present? -%> Vous avez saisi le commentaire suivant pour ce domaine : <%= check.comment -%> diff --git a/app/views/notifications_mailer/_footer_expires_soon.en.html.erb b/app/views/notifications_mailer/_footer_expires_soon.en.html.erb index 33ed241..77b0fec 100644 --- a/app/views/notifications_mailer/_footer_expires_soon.en.html.erb +++ b/app/views/notifications_mailer/_footer_expires_soon.en.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

-- diff --git a/app/views/notifications_mailer/_footer_expires_soon.en.text.erb b/app/views/notifications_mailer/_footer_expires_soon.en.text.erb index 8d392ca..e9bddb3 100644 --- a/app/views/notifications_mailer/_footer_expires_soon.en.text.erb +++ b/app/views/notifications_mailer/_footer_expires_soon.en.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> -- You received this email because of the notification <%= interval %> days before the expiry date. diff --git a/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb b/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb index 2389402..bc32b35 100644 --- a/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb +++ b/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

-- diff --git a/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb b/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb index 6c3880b..d92a00f 100644 --- a/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb +++ b/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> -- Vous avez reçu ce courriel à <%= pluralize(interval, "jour", "jours") %> avant diff --git a/app/views/notifications_mailer/_footer_recurrent_failures.en.html.erb b/app/views/notifications_mailer/_footer_recurrent_failures.en.html.erb index b5159d8..0de1753 100644 --- a/app/views/notifications_mailer/_footer_recurrent_failures.en.html.erb +++ b/app/views/notifications_mailer/_footer_recurrent_failures.en.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
-- diff --git a/app/views/notifications_mailer/_footer_recurrent_failures.en.text.erb b/app/views/notifications_mailer/_footer_recurrent_failures.en.text.erb index e91b7ae..79b00c0 100644 --- a/app/views/notifications_mailer/_footer_recurrent_failures.en.text.erb +++ b/app/views/notifications_mailer/_footer_recurrent_failures.en.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> -- You can handle all your checks by following this link: diff --git a/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb b/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb index 0f13c9e..c37a3a5 100644 --- a/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb +++ b/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
-- diff --git a/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb b/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb index 60c4ef6..656d2c6 100644 --- a/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb +++ b/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> -- Vous pouvez gérer l'ensemble de vos vérifications à cette adresse : diff --git a/app/views/notifications_mailer/domain_expires_soon.en.html.erb b/app/views/notifications_mailer/domain_expires_soon.en.html.erb index 9fb05a7..ced79fd 100644 --- a/app/views/notifications_mailer/domain_expires_soon.en.html.erb +++ b/app/views/notifications_mailer/domain_expires_soon.en.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

Hi,
diff --git a/app/views/notifications_mailer/domain_expires_soon.en.text.erb b/app/views/notifications_mailer/domain_expires_soon.en.text.erb index 6e93342..7bdf596 100644 --- a/app/views/notifications_mailer/domain_expires_soon.en.text.erb +++ b/app/views/notifications_mailer/domain_expires_soon.en.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> Hi, the domain <%= @check.domain %> will expire <%= format_utc(@check.domain_expires_at) %>. diff --git a/app/views/notifications_mailer/domain_expires_soon.fr.html.erb b/app/views/notifications_mailer/domain_expires_soon.fr.html.erb index 6aa8e1c..19db8cd 100644 --- a/app/views/notifications_mailer/domain_expires_soon.fr.html.erb +++ b/app/views/notifications_mailer/domain_expires_soon.fr.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

Salut,
diff --git a/app/views/notifications_mailer/domain_expires_soon.fr.text.erb b/app/views/notifications_mailer/domain_expires_soon.fr.text.erb index 126ac40..58d6366 100644 --- a/app/views/notifications_mailer/domain_expires_soon.fr.text.erb +++ b/app/views/notifications_mailer/domain_expires_soon.fr.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Jeremy Lecour , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> Salut, le domaine <%= @check.domain %> va expirer le <%= format_utc(@check.domain_expires_at) %>. diff --git a/app/views/notifications_mailer/ssl_expires_soon.en.html.erb b/app/views/notifications_mailer/ssl_expires_soon.en.html.erb index f0a5515..2c4d925 100644 --- a/app/views/notifications_mailer/ssl_expires_soon.en.html.erb +++ b/app/views/notifications_mailer/ssl_expires_soon.en.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

Hi,
diff --git a/app/views/notifications_mailer/ssl_expires_soon.en.text.erb b/app/views/notifications_mailer/ssl_expires_soon.en.text.erb index 73e13dd..5ceb903 100644 --- a/app/views/notifications_mailer/ssl_expires_soon.en.text.erb +++ b/app/views/notifications_mailer/ssl_expires_soon.en.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> Hi, the SSL certificate for <%= @check.domain %> will expire <%= format_utc(@check.domain_expires_at) %>. diff --git a/app/views/notifications_mailer/ssl_expires_soon.fr.html.erb b/app/views/notifications_mailer/ssl_expires_soon.fr.html.erb index 6869687..c38ee55 100644 --- a/app/views/notifications_mailer/ssl_expires_soon.fr.html.erb +++ b/app/views/notifications_mailer/ssl_expires_soon.fr.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

Salut,
diff --git a/app/views/notifications_mailer/ssl_expires_soon.fr.text.erb b/app/views/notifications_mailer/ssl_expires_soon.fr.text.erb index 9f6999c..541e3de 100644 --- a/app/views/notifications_mailer/ssl_expires_soon.fr.text.erb +++ b/app/views/notifications_mailer/ssl_expires_soon.fr.text.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %> Salut, le certificat SSL pour <%= @check.domain %> va expirer le <%= format_utc(@check.domain_expires_at) %>. diff --git a/app/views/pages/home.html.erb b/app/views/pages/home.html.erb index 4282a75..9c4a3dc 100644 --- a/app/views/pages/home.html.erb +++ b/app/views/pages/home.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

diff --git a/app/views/shared/_devise_form_container.html.erb b/app/views/shared/_devise_form_container.html.erb index 64ceb7c..989eedd 100644 --- a/app/views/shared/_devise_form_container.html.erb +++ b/app/views/shared/_devise_form_container.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index fccb7eb..688b500 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -1,3 +1,5 @@ +<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> +<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>