diff --git a/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb index 72b2bf5..716be35 100644 --- a/app/channels/application_cable/channel.rb +++ b/app/channels/application_cable/channel.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module ApplicationCable diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb index d45ff4d..286b699 100644 --- a/app/channels/application_cable/connection.rb +++ b/app/channels/application_cable/connection.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module ApplicationCable diff --git a/app/controllers/affinities_controller.rb b/app/controllers/affinities_controller.rb index f8cb9cb..7d63e9e 100644 --- a/app/controllers/affinities_controller.rb +++ b/app/controllers/affinities_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class AffinitiesController < ApplicationController diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index b1baa15..a73aa87 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class ApplicationController < ActionController::Base diff --git a/app/controllers/captcha_controller.rb b/app/controllers/captcha_controller.rb index 57dac61..98fcbcb 100644 --- a/app/controllers/captcha_controller.rb +++ b/app/controllers/captcha_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class CaptchaController < ApplicationController diff --git a/app/controllers/expenses_controller.rb b/app/controllers/expenses_controller.rb index 6e1b63b..093d691 100644 --- a/app/controllers/expenses_controller.rb +++ b/app/controllers/expenses_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class ExpensesController < ApplicationController diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 77a347f..8baa833 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class GroupsController < ApplicationController diff --git a/app/controllers/guests_controller.rb b/app/controllers/guests_controller.rb index e7f9ff0..7aee16d 100644 --- a/app/controllers/guests_controller.rb +++ b/app/controllers/guests_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'csv' diff --git a/app/controllers/summary_controller.rb b/app/controllers/summary_controller.rb index e165127..9481a47 100644 --- a/app/controllers/summary_controller.rb +++ b/app/controllers/summary_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class SummaryController < ApplicationController diff --git a/app/controllers/tables_arrangements_controller.rb b/app/controllers/tables_arrangements_controller.rb index 23b99ba..76a6774 100644 --- a/app/controllers/tables_arrangements_controller.rb +++ b/app/controllers/tables_arrangements_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class TablesArrangementsController < ApplicationController diff --git a/app/controllers/tokens_controller.rb b/app/controllers/tokens_controller.rb index 5a8490d..4b71df3 100644 --- a/app/controllers/tokens_controller.rb +++ b/app/controllers/tokens_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class TokensController < ApplicationController diff --git a/app/controllers/users/confirmations_controller.rb b/app/controllers/users/confirmations_controller.rb index 7e5c048..c078a1a 100644 --- a/app/controllers/users/confirmations_controller.rb +++ b/app/controllers/users/confirmations_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module Users diff --git a/app/controllers/users/registrations_controller.rb b/app/controllers/users/registrations_controller.rb index 0849d96..2a25268 100644 --- a/app/controllers/users/registrations_controller.rb +++ b/app/controllers/users/registrations_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module Users diff --git a/app/controllers/users/sessions_controller.rb b/app/controllers/users/sessions_controller.rb index 5e3ad06..8464417 100644 --- a/app/controllers/users/sessions_controller.rb +++ b/app/controllers/users/sessions_controller.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module Users diff --git a/app/extensions/tree_node_extension.rb b/app/extensions/tree_node_extension.rb index 9bd1ed4..443c658 100644 --- a/app/extensions/tree_node_extension.rb +++ b/app/extensions/tree_node_extension.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module TreeNodeExtension diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 1bc40d8..d0c1baa 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module ApplicationHelper diff --git a/app/helpers/expenses_helper.rb b/app/helpers/expenses_helper.rb index 287c70f..05513f7 100644 --- a/app/helpers/expenses_helper.rb +++ b/app/helpers/expenses_helper.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module ExpensesHelper diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index b0492f2..85d797b 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module GroupsHelper diff --git a/app/helpers/guests_helper.rb b/app/helpers/guests_helper.rb index 849ddb8..639cf38 100644 --- a/app/helpers/guests_helper.rb +++ b/app/helpers/guests_helper.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module GuestsHelper diff --git a/app/helpers/tables_arrangements_helper.rb b/app/helpers/tables_arrangements_helper.rb index bd95809..a039c6e 100644 --- a/app/helpers/tables_arrangements_helper.rb +++ b/app/helpers/tables_arrangements_helper.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module TablesArrangementsHelper diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb index 02ef80e..62fb66f 100644 --- a/app/jobs/application_job.rb +++ b/app/jobs/application_job.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class ApplicationJob < ActiveJob::Base diff --git a/app/jobs/table_simulator_job.rb b/app/jobs/table_simulator_job.rb index 50fe728..56a59d0 100644 --- a/app/jobs/table_simulator_job.rb +++ b/app/jobs/table_simulator_job.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class TableSimulatorJob < ApplicationJob diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index b168ff3..706222d 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class ApplicationMailer < ActionMailer::Base diff --git a/app/models/application_record.rb b/app/models/application_record.rb index 1a28db5..d6fee04 100644 --- a/app/models/application_record.rb +++ b/app/models/application_record.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class ApplicationRecord < ActiveRecord::Base diff --git a/app/models/expense.rb b/app/models/expense.rb index a34cfc5..f810d1c 100644 --- a/app/models/expense.rb +++ b/app/models/expense.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # == Schema Information diff --git a/app/models/group.rb b/app/models/group.rb index ddf6e52..92d88a6 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # == Schema Information diff --git a/app/models/group_affinity.rb b/app/models/group_affinity.rb index 1e85485..b94e0c5 100644 --- a/app/models/group_affinity.rb +++ b/app/models/group_affinity.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # == Schema Information diff --git a/app/models/guest.rb b/app/models/guest.rb index 8687767..c9eb0b0 100644 --- a/app/models/guest.rb +++ b/app/models/guest.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # == Schema Information diff --git a/app/models/seat.rb b/app/models/seat.rb index a00ec99..71e9d77 100644 --- a/app/models/seat.rb +++ b/app/models/seat.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # == Schema Information diff --git a/app/models/tables_arrangement.rb b/app/models/tables_arrangement.rb index 72f13d5..3e6aef9 100644 --- a/app/models/tables_arrangement.rb +++ b/app/models/tables_arrangement.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # == Schema Information diff --git a/app/models/user.rb b/app/models/user.rb index 5a9683e..d263c97 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # == Schema Information diff --git a/app/models/wedding.rb b/app/models/wedding.rb index c94d83d..4368c50 100644 --- a/app/models/wedding.rb +++ b/app/models/wedding.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # == Schema Information diff --git a/app/queries/expenses/total_query.rb b/app/queries/expenses/total_query.rb index fc46a6b..0ba9f5f 100644 --- a/app/queries/expenses/total_query.rb +++ b/app/queries/expenses/total_query.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module Expenses diff --git a/app/queries/groups/summary_query.rb b/app/queries/groups/summary_query.rb index 28fe6a5..e1b7138 100644 --- a/app/queries/groups/summary_query.rb +++ b/app/queries/groups/summary_query.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module Groups diff --git a/app/serializers/serializable_group.rb b/app/serializers/serializable_group.rb index eb30b10..4572c78 100644 --- a/app/serializers/serializable_group.rb +++ b/app/serializers/serializable_group.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class SerializableGroup < JSONAPI::Serializable::Resource diff --git a/app/serializers/serializable_guest.rb b/app/serializers/serializable_guest.rb index 981e58b..3e95236 100644 --- a/app/serializers/serializable_guest.rb +++ b/app/serializers/serializable_guest.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class SerializableGuest < JSONAPI::Serializable::Resource diff --git a/app/services/affinity_groups_hierarchy.rb b/app/services/affinity_groups_hierarchy.rb index 310bac8..783c7ed 100644 --- a/app/services/affinity_groups_hierarchy.rb +++ b/app/services/affinity_groups_hierarchy.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class AffinityGroupsHierarchy < Array diff --git a/app/services/libre_captcha.rb b/app/services/libre_captcha.rb index 314c186..d644ba2 100644 --- a/app/services/libre_captcha.rb +++ b/app/services/libre_captcha.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class LibreCaptcha diff --git a/app/services/tables/discomfort_calculator.rb b/app/services/tables/discomfort_calculator.rb index 48dacce..bd35087 100644 --- a/app/services/tables/discomfort_calculator.rb +++ b/app/services/tables/discomfort_calculator.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module Tables diff --git a/app/services/tables/distribution.rb b/app/services/tables/distribution.rb index 04d1e6a..7b4762f 100644 --- a/app/services/tables/distribution.rb +++ b/app/services/tables/distribution.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require_relative '../../extensions/tree_node_extension' diff --git a/app/services/tables/shift.rb b/app/services/tables/shift.rb index 2326b1e..45e7150 100644 --- a/app/services/tables/shift.rb +++ b/app/services/tables/shift.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module Tables diff --git a/app/services/tables/swap.rb b/app/services/tables/swap.rb index 1fe6944..230959d 100644 --- a/app/services/tables/swap.rb +++ b/app/services/tables/swap.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module Tables diff --git a/app/services/tables/table.rb b/app/services/tables/table.rb index 8877e7c..3628c49 100644 --- a/app/services/tables/table.rb +++ b/app/services/tables/table.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module Tables diff --git a/app/services/vns/engine.rb b/app/services/vns/engine.rb index 9f600df..fe1ff91 100644 --- a/app/services/vns/engine.rb +++ b/app/services/vns/engine.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module VNS diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index ca6bd25..4eee621 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -1,5 +1,7 @@ <%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +
diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb index 0b40d6b..62b17c3 100644 --- a/app/views/layouts/mailer.text.erb +++ b/app/views/layouts/mailer.text.erb @@ -1,3 +1,5 @@ <%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> + <%= yield %> diff --git a/app/views/users/mailer/confirmation_instructions.html.erb b/app/views/users/mailer/confirmation_instructions.html.erb index 448e3d9..688f1bc 100644 --- a/app/views/users/mailer/confirmation_instructions.html.erb +++ b/app/views/users/mailer/confirmation_instructions.html.erb @@ -1,5 +1,7 @@ <%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +Welcome <%= @email %>!
You can confirm your account email through the link below:
diff --git a/app/views/users/mailer/email_changed.html.erb b/app/views/users/mailer/email_changed.html.erb index 51cfa7a..8935bc0 100644 --- a/app/views/users/mailer/email_changed.html.erb +++ b/app/views/users/mailer/email_changed.html.erb @@ -1,5 +1,7 @@ <%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +Hello <%= @email %>!
<% if @resource.try(:unconfirmed_email?) %> diff --git a/app/views/users/mailer/password_change.html.erb b/app/views/users/mailer/password_change.html.erb index 7bfd484..3d72a19 100644 --- a/app/views/users/mailer/password_change.html.erb +++ b/app/views/users/mailer/password_change.html.erb @@ -1,5 +1,7 @@ <%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +Hello <%= @resource.email %>!
We're contacting you to notify you that your password has been changed.
diff --git a/app/views/users/mailer/reset_password_instructions.html.erb b/app/views/users/mailer/reset_password_instructions.html.erb index 3bc6fcd..fc45ec9 100644 --- a/app/views/users/mailer/reset_password_instructions.html.erb +++ b/app/views/users/mailer/reset_password_instructions.html.erb @@ -1,5 +1,7 @@ <%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +Hello <%= @resource.email %>!
Someone has requested a link to change your password. You can do this through the link below.
diff --git a/app/views/users/mailer/unlock_instructions.html.erb b/app/views/users/mailer/unlock_instructions.html.erb index 6df5c0a..fddd365 100644 --- a/app/views/users/mailer/unlock_instructions.html.erb +++ b/app/views/users/mailer/unlock_instructions.html.erb @@ -1,5 +1,7 @@ <%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %> +Hello <%= @resource.email %>!
Your account has been locked due to an excessive number of unsuccessful sign in attempts.
diff --git a/config/application.rb b/config/application.rb index 8233705..32fbf95 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + require_relative 'boot' require 'rails' diff --git a/config/boot.rb b/config/boot.rb index b7afb85..59676bc 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) require "bundler/setup" # Set up gems listed in the Gemfile. diff --git a/config/environment.rb b/config/environment.rb index 6cec499..df4bf2e 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # Load the Rails application. require_relative "application" diff --git a/config/environments/development.rb b/config/environments/development.rb index b3b6593..b0f2198 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + require "active_support/core_ext/integer/time" Rails.application.configure do diff --git a/config/environments/production.rb b/config/environments/production.rb index 2a94187..59e22d6 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + require "active_support/core_ext/integer/time" Rails.application.configure do diff --git a/config/environments/test.rb b/config/environments/test.rb index ef2b3a4..28b85d7 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + require "active_support/core_ext/integer/time" # The test environment is used exclusively to run your application's diff --git a/config/importmap.rb b/config/importmap.rb index f84aa44..19991f1 100644 --- a/config/importmap.rb +++ b/config/importmap.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # Pin npm packages by running ./bin/importmap pin "application" diff --git a/config/initializers/acts_as_tenant.rb b/config/initializers/acts_as_tenant.rb index c535737..72510c4 100644 --- a/config/initializers/acts_as_tenant.rb +++ b/config/initializers/acts_as_tenant.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + ActsAsTenant.configure do |config| config.require_tenant = !Rails.env.test? end \ No newline at end of file diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index f67fe73..8e722ce 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. diff --git a/config/initializers/colors.rb b/config/initializers/colors.rb index b435084..f1bbdd2 100644 --- a/config/initializers/colors.rb +++ b/config/initializers/colors.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + Chroma.define_palette :decreasing_saturation do spin(20).desaturate(40) spin(-20).desaturate(40) diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb index 9004631..3f9221f 100644 --- a/config/initializers/content_security_policy.rb +++ b/config/initializers/content_security_policy.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # Be sure to restart your server when you modify this file. # Define an application-wide content security policy. diff --git a/config/initializers/cors.rb b/config/initializers/cors.rb index f4b450f..565fe09 100644 --- a/config/initializers/cors.rb +++ b/config/initializers/cors.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # config/initializers/cors.rb Rails.application.config.middleware.insert_before 0, Rack::Cors do diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 5f631ef..0ecbf5e 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # Assuming you have not yet modified this file, each configuration option below diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb index b5bfef2..e184d9a 100644 --- a/config/initializers/filter_parameter_logging.rb +++ b/config/initializers/filter_parameter_logging.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # Be sure to restart your server when you modify this file. # Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file. diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb index 6633bb9..0f9a0ea 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # Be sure to restart your server when you modify this file. # Add new inflection rules using the following format. Inflections diff --git a/config/initializers/permissions_policy.rb b/config/initializers/permissions_policy.rb index 57547a3..af956f8 100644 --- a/config/initializers/permissions_policy.rb +++ b/config/initializers/permissions_policy.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # Be sure to restart your server when you modify this file. # Define an application-wide HTTP permissions policy. For further diff --git a/config/initializers/rswag_api.rb b/config/initializers/rswag_api.rb index 5c46141..4c11988 100644 --- a/config/initializers/rswag_api.rb +++ b/config/initializers/rswag_api.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + Rswag::Api.configure do |c| # Specify a root folder where Swagger JSON files are located diff --git a/config/initializers/rswag_ui.rb b/config/initializers/rswag_ui.rb index 9540ca4..dec08ce 100644 --- a/config/initializers/rswag_ui.rb +++ b/config/initializers/rswag_ui.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + Rswag::Ui.configure do |c| # List the Swagger endpoints that you want to be documented through the diff --git a/config/initializers/ruby_extensions.rb b/config/initializers/ruby_extensions.rb index 46016e7..9fb7af1 100644 --- a/config/initializers/ruby_extensions.rb +++ b/config/initializers/ruby_extensions.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class Numeric def to_currency Money.from_amount(self, "EUR").format diff --git a/config/puma.rb b/config/puma.rb index 0e947b4..3d8dbc2 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # This configuration file will be evaluated by Puma. The top-level methods that # are invoked here are part of Puma's configuration DSL. For more information # about methods provided by the DSL, see https://puma.io/puma/Puma/DSL.html. diff --git a/config/routes.rb b/config/routes.rb index 10c45ae..457503d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + Rails.application.routes.draw do mount LetterOpenerWeb::Engine, at: "/letter_opener" if Rails.env.development? get 'token' => 'tokens#show', as: :token diff --git a/db/migrate/20240711175425_create_expenses.rb b/db/migrate/20240711175425_create_expenses.rb index cdac7d0..1538790 100644 --- a/db/migrate/20240711175425_create_expenses.rb +++ b/db/migrate/20240711175425_create_expenses.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class CreateExpenses < ActiveRecord::Migration[7.1] def change create_enum :pricing_types, ["fixed", "per_person"] diff --git a/db/migrate/20240711180753_create_guests.rb b/db/migrate/20240711180753_create_guests.rb index ca3f85b..6597d34 100644 --- a/db/migrate/20240711180753_create_guests.rb +++ b/db/migrate/20240711180753_create_guests.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class CreateGuests < ActiveRecord::Migration[7.1] def change create_table :guests, id: :uuid do |t| diff --git a/db/migrate/20240711181626_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb b/db/migrate/20240711181626_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb index 803f800..a614c83 100644 --- a/db/migrate/20240711181626_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb +++ b/db/migrate/20240711181626_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # This migration comes from acts_as_taggable_on_engine (originally 1) diff --git a/db/migrate/20240711181627_add_missing_unique_indices.acts_as_taggable_on_engine.rb b/db/migrate/20240711181627_add_missing_unique_indices.acts_as_taggable_on_engine.rb index 7fe34a2..ab62f5f 100644 --- a/db/migrate/20240711181627_add_missing_unique_indices.acts_as_taggable_on_engine.rb +++ b/db/migrate/20240711181627_add_missing_unique_indices.acts_as_taggable_on_engine.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # This migration comes from acts_as_taggable_on_engine (originally 2) diff --git a/db/migrate/20240711181628_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb b/db/migrate/20240711181628_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb index a329d5d..1d9f0e9 100644 --- a/db/migrate/20240711181628_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb +++ b/db/migrate/20240711181628_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # This migration comes from acts_as_taggable_on_engine (originally 3) diff --git a/db/migrate/20240711181629_add_missing_taggable_index.acts_as_taggable_on_engine.rb b/db/migrate/20240711181629_add_missing_taggable_index.acts_as_taggable_on_engine.rb index 4548054..0d79854 100644 --- a/db/migrate/20240711181629_add_missing_taggable_index.acts_as_taggable_on_engine.rb +++ b/db/migrate/20240711181629_add_missing_taggable_index.acts_as_taggable_on_engine.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # This migration comes from acts_as_taggable_on_engine (originally 4) diff --git a/db/migrate/20240711181630_change_collation_for_tag_names.acts_as_taggable_on_engine.rb b/db/migrate/20240711181630_change_collation_for_tag_names.acts_as_taggable_on_engine.rb index d0ff9c4..e643bb4 100644 --- a/db/migrate/20240711181630_change_collation_for_tag_names.acts_as_taggable_on_engine.rb +++ b/db/migrate/20240711181630_change_collation_for_tag_names.acts_as_taggable_on_engine.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # This migration comes from acts_as_taggable_on_engine (originally 5) diff --git a/db/migrate/20240711181631_add_missing_indexes_on_taggings.acts_as_taggable_on_engine.rb b/db/migrate/20240711181631_add_missing_indexes_on_taggings.acts_as_taggable_on_engine.rb index 194dea4..fa60128 100644 --- a/db/migrate/20240711181631_add_missing_indexes_on_taggings.acts_as_taggable_on_engine.rb +++ b/db/migrate/20240711181631_add_missing_indexes_on_taggings.acts_as_taggable_on_engine.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # This migration comes from acts_as_taggable_on_engine (originally 6) diff --git a/db/migrate/20240711181632_add_tenant_to_taggings.acts_as_taggable_on_engine.rb b/db/migrate/20240711181632_add_tenant_to_taggings.acts_as_taggable_on_engine.rb index 23cb9f8..fa8df4d 100644 --- a/db/migrate/20240711181632_add_tenant_to_taggings.acts_as_taggable_on_engine.rb +++ b/db/migrate/20240711181632_add_tenant_to_taggings.acts_as_taggable_on_engine.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # This migration comes from acts_as_taggable_on_engine (originally 7) diff --git a/db/migrate/20240724181756_create_tables_arrangements.rb b/db/migrate/20240724181756_create_tables_arrangements.rb index ac69487..ed278c8 100644 --- a/db/migrate/20240724181756_create_tables_arrangements.rb +++ b/db/migrate/20240724181756_create_tables_arrangements.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class CreateTablesArrangements < ActiveRecord::Migration[7.1] def change create_table :tables_arrangements, id: :uuid do |t| diff --git a/db/migrate/20240724181853_create_seats.rb b/db/migrate/20240724181853_create_seats.rb index b28c9d0..462df84 100644 --- a/db/migrate/20240724181853_create_seats.rb +++ b/db/migrate/20240724181853_create_seats.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class CreateSeats < ActiveRecord::Migration[7.1] def change create_table :seats, id: :uuid do |t| diff --git a/db/migrate/20240811142121_create_groups.rb b/db/migrate/20240811142121_create_groups.rb index b21f067..8380c36 100644 --- a/db/migrate/20240811142121_create_groups.rb +++ b/db/migrate/20240811142121_create_groups.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class CreateGroups < ActiveRecord::Migration[7.1] def change create_table :groups, id: :uuid do |t| diff --git a/db/migrate/20240811143801_add_parent_to_group.rb b/db/migrate/20240811143801_add_parent_to_group.rb index c8a3a14..fc4a881 100644 --- a/db/migrate/20240811143801_add_parent_to_group.rb +++ b/db/migrate/20240811143801_add_parent_to_group.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class AddParentToGroup < ActiveRecord::Migration[7.1] def change add_reference :groups, :parent, type: :uuid, index: true, foreign_key: { to_table: :groups } diff --git a/db/migrate/20240811154115_add_group_to_guest.rb b/db/migrate/20240811154115_add_group_to_guest.rb index f1fcdaf..ff88298 100644 --- a/db/migrate/20240811154115_add_group_to_guest.rb +++ b/db/migrate/20240811154115_add_group_to_guest.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class AddGroupToGuest < ActiveRecord::Migration[7.1] def change add_reference :guests, :group, null: false, foreign_key: true, type: :uuid diff --git a/db/migrate/20240811170021_add_status_to_guest.rb b/db/migrate/20240811170021_add_status_to_guest.rb index de51170..09a2a9e 100644 --- a/db/migrate/20240811170021_add_status_to_guest.rb +++ b/db/migrate/20240811170021_add_status_to_guest.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class AddStatusToGuest < ActiveRecord::Migration[7.1] def change add_column :guests, :status, :integer, default: 0 diff --git a/db/migrate/20241101181052_drop_taggable_tables.rb b/db/migrate/20241101181052_drop_taggable_tables.rb index cce88c7..6787951 100644 --- a/db/migrate/20241101181052_drop_taggable_tables.rb +++ b/db/migrate/20241101181052_drop_taggable_tables.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class DropTaggableTables < ActiveRecord::Migration[7.2] def change drop_table 'taggings', force: :cascade do |t| diff --git a/db/migrate/20241103072808_add_name_to_tables_arrangements.rb b/db/migrate/20241103072808_add_name_to_tables_arrangements.rb index 53dd4fa..3bd57a2 100644 --- a/db/migrate/20241103072808_add_name_to_tables_arrangements.rb +++ b/db/migrate/20241103072808_add_name_to_tables_arrangements.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class AddNameToTablesArrangements < ActiveRecord::Migration[7.2] def change add_column :tables_arrangements, :name, :string, null: false diff --git a/db/migrate/20241103075705_solid_queue_install.rb b/db/migrate/20241103075705_solid_queue_install.rb index 3a0b744..ca9e45e 100644 --- a/db/migrate/20241103075705_solid_queue_install.rb +++ b/db/migrate/20241103075705_solid_queue_install.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class SolidQueueInstall < ActiveRecord::Migration[7.2] def change create_table 'solid_queue_blocked_executions', force: :cascade do |t| diff --git a/db/migrate/20241103093955_remove_email_from_guests.rb b/db/migrate/20241103093955_remove_email_from_guests.rb index 26ca939..a6f9798 100644 --- a/db/migrate/20241103093955_remove_email_from_guests.rb +++ b/db/migrate/20241103093955_remove_email_from_guests.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class RemoveEmailFromGuests < ActiveRecord::Migration[7.2] def change remove_column :guests, :email, :string diff --git a/db/migrate/20241103133122_add_color_to_group.rb b/db/migrate/20241103133122_add_color_to_group.rb index bca1c30..30218e3 100644 --- a/db/migrate/20241103133122_add_color_to_group.rb +++ b/db/migrate/20241103133122_add_color_to_group.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class AddColorToGroup < ActiveRecord::Migration[7.2] def change add_column :groups, :color, :string diff --git a/db/migrate/20241111063741_merge_guest_names.rb b/db/migrate/20241111063741_merge_guest_names.rb index 849f58f..90d5e82 100644 --- a/db/migrate/20241111063741_merge_guest_names.rb +++ b/db/migrate/20241111063741_merge_guest_names.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class MergeGuestNames < ActiveRecord::Migration[8.0] def change add_column :guests, :name, :string diff --git a/db/migrate/20241130095753_devise_create_users.rb b/db/migrate/20241130095753_devise_create_users.rb index 977c72e..496e3fc 100644 --- a/db/migrate/20241130095753_devise_create_users.rb +++ b/db/migrate/20241130095753_devise_create_users.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true class DeviseCreateUsers < ActiveRecord::Migration[8.0] diff --git a/db/migrate/20241130182228_create_weddings.rb b/db/migrate/20241130182228_create_weddings.rb index 2151f72..77ada38 100644 --- a/db/migrate/20241130182228_create_weddings.rb +++ b/db/migrate/20241130182228_create_weddings.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class CreateWeddings < ActiveRecord::Migration[8.0] def change create_table :weddings, id: :uuid do |t| diff --git a/db/migrate/20241130185731_add_wedding_id_to_models.rb b/db/migrate/20241130185731_add_wedding_id_to_models.rb index 63e5c32..c9b231c 100644 --- a/db/migrate/20241130185731_add_wedding_id_to_models.rb +++ b/db/migrate/20241130185731_add_wedding_id_to_models.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class AddWeddingIdToModels < ActiveRecord::Migration[8.0] def change [:expenses, :guests, :seats, :tables_arrangements, :groups, :users].each do |table| diff --git a/db/migrate/20241207112305_remove_wedding_date.rb b/db/migrate/20241207112305_remove_wedding_date.rb index c810ee4..ca28b71 100644 --- a/db/migrate/20241207112305_remove_wedding_date.rb +++ b/db/migrate/20241207112305_remove_wedding_date.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class RemoveWeddingDate < ActiveRecord::Migration[8.0] def change remove_column :weddings, :date, :date, null: false diff --git a/db/migrate/20241208102932_allow_ungrouped_guests.rb b/db/migrate/20241208102932_allow_ungrouped_guests.rb index c06d40c..f567676 100644 --- a/db/migrate/20241208102932_allow_ungrouped_guests.rb +++ b/db/migrate/20241208102932_allow_ungrouped_guests.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class AllowUngroupedGuests < ActiveRecord::Migration[8.0] def change change_column_null :guests, :group_id, true diff --git a/db/migrate/20241216231415_create_group_affinities.rb b/db/migrate/20241216231415_create_group_affinities.rb index 2b03897..113d026 100644 --- a/db/migrate/20241216231415_create_group_affinities.rb +++ b/db/migrate/20241216231415_create_group_affinities.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + class CreateGroupAffinities < ActiveRecord::Migration[8.0] disable_ddl_transaction! diff --git a/db/queue_schema.rb b/db/queue_schema.rb index 24748f4..149f41f 100644 --- a/db/queue_schema.rb +++ b/db/queue_schema.rb @@ -1,4 +1,6 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + ActiveRecord::Schema[7.1].define(version: 1) do end diff --git a/db/schema.rb b/db/schema.rb index f723b74..cfc1383 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. diff --git a/db/seeds.rb b/db/seeds.rb index eb45757..e61f33b 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + NUMBER_OF_GUESTS = 50 ActsAsTenant.without_tenant do diff --git a/spec/extensions/tree_spec.rb b/spec/extensions/tree_spec.rb index 1d3e6d0..937a0fe 100644 --- a/spec/extensions/tree_spec.rb +++ b/spec/extensions/tree_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/factories/expense.rb b/spec/factories/expense.rb index e122a43..ceaf501 100644 --- a/spec/factories/expense.rb +++ b/spec/factories/expense.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/group_affinities.rb b/spec/factories/group_affinities.rb index f5f2b65..c33de53 100644 --- a/spec/factories/group_affinities.rb +++ b/spec/factories/group_affinities.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/groups.rb b/spec/factories/groups.rb index 84ae9ec..f19ba72 100644 --- a/spec/factories/groups.rb +++ b/spec/factories/groups.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/guest.rb b/spec/factories/guest.rb index 25a5c5e..a1f284a 100644 --- a/spec/factories/guest.rb +++ b/spec/factories/guest.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/table_arrangement.rb b/spec/factories/table_arrangement.rb index 19c5f14..86ddddf 100644 --- a/spec/factories/table_arrangement.rb +++ b/spec/factories/table_arrangement.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/users.rb b/spec/factories/users.rb index 3616935..cc49d11 100644 --- a/spec/factories/users.rb +++ b/spec/factories/users.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/weddings.rb b/spec/factories/weddings.rb index 1e6f555..de994c8 100644 --- a/spec/factories/weddings.rb +++ b/spec/factories/weddings.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/models/expense_spec.rb b/spec/models/expense_spec.rb index b002e78..9a8fc47 100644 --- a/spec/models/expense_spec.rb +++ b/spec/models/expense_spec.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/models/group_affinity_spec.rb b/spec/models/group_affinity_spec.rb index 9d56d08..5469d27 100644 --- a/spec/models/group_affinity_spec.rb +++ b/spec/models/group_affinity_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index f7e7fd3..d7ec456 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/models/guest_spec.rb b/spec/models/guest_spec.rb index a63da70..ed526e8 100644 --- a/spec/models/guest_spec.rb +++ b/spec/models/guest_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/models/seat_spec.rb b/spec/models/seat_spec.rb index 40e63f2..da5c17f 100644 --- a/spec/models/seat_spec.rb +++ b/spec/models/seat_spec.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/models/tables_arrangement_spec.rb b/spec/models/tables_arrangement_spec.rb index 493318c..b216b18 100644 --- a/spec/models/tables_arrangement_spec.rb +++ b/spec/models/tables_arrangement_spec.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index ae1be79..9f69608 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/models/wedding_spec.rb b/spec/models/wedding_spec.rb index 84db4f1..735255d 100644 --- a/spec/models/wedding_spec.rb +++ b/spec/models/wedding_spec.rb @@ -1,6 +1,8 @@ # Copyright (C) 2024 Manuel Bustillo -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/queries/expenses/total_query_spec.rb b/spec/queries/expenses/total_query_spec.rb index 7847abe..e3f16c4 100644 --- a/spec/queries/expenses/total_query_spec.rb +++ b/spec/queries/expenses/total_query_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/queries/groups/summary_query_spec.rb b/spec/queries/groups/summary_query_spec.rb index 1ef1a33..cb3b7fe 100644 --- a/spec/queries/groups/summary_query_spec.rb +++ b/spec/queries/groups/summary_query_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 7058316..653bbf9 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # This file is copied to spec/ when you run 'rails generate rspec:install' diff --git a/spec/requests/affinities_spec.rb b/spec/requests/affinities_spec.rb index a236160..3a39c0c 100644 --- a/spec/requests/affinities_spec.rb +++ b/spec/requests/affinities_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/requests/captcha_spec.rb b/spec/requests/captcha_spec.rb index 17dc9bf..e1f2fea 100644 --- a/spec/requests/captcha_spec.rb +++ b/spec/requests/captcha_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/requests/expenses_spec.rb b/spec/requests/expenses_spec.rb index 557f2e3..e6defe4 100644 --- a/spec/requests/expenses_spec.rb +++ b/spec/requests/expenses_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/requests/groups_spec.rb b/spec/requests/groups_spec.rb index 30c512e..49d121b 100644 --- a/spec/requests/groups_spec.rb +++ b/spec/requests/groups_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/requests/guests_spec.rb b/spec/requests/guests_spec.rb index 1ef80d4..40a6686 100644 --- a/spec/requests/guests_spec.rb +++ b/spec/requests/guests_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/requests/schemas.rb b/spec/requests/schemas.rb index ee914b3..3fd49f2 100644 --- a/spec/requests/schemas.rb +++ b/spec/requests/schemas.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module Swagger diff --git a/spec/requests/summary_spec.rb b/spec/requests/summary_spec.rb index f39ab7a..3dc6ac0 100644 --- a/spec/requests/summary_spec.rb +++ b/spec/requests/summary_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/requests/tables_arrangements_spec.rb b/spec/requests/tables_arrangements_spec.rb index 34c686f..cf48cac 100644 --- a/spec/requests/tables_arrangements_spec.rb +++ b/spec/requests/tables_arrangements_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/requests/tokens_spec.rb b/spec/requests/tokens_spec.rb index 406e041..b5b9cf7 100644 --- a/spec/requests/tokens_spec.rb +++ b/spec/requests/tokens_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/requests/users/confirmations_spec.rb b/spec/requests/users/confirmations_spec.rb index 8628683..d76d53a 100644 --- a/spec/requests/users/confirmations_spec.rb +++ b/spec/requests/users/confirmations_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/requests/users/registrations_spec.rb b/spec/requests/users/registrations_spec.rb index f1dd82c..064d28e 100644 --- a/spec/requests/users/registrations_spec.rb +++ b/spec/requests/users/registrations_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/requests/users/sessions_spec.rb b/spec/requests/users/sessions_spec.rb index 775f56c..61c2662 100644 --- a/spec/requests/users/sessions_spec.rb +++ b/spec/requests/users/sessions_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'swagger_helper' diff --git a/spec/services/tables/discomfort_calculator_spec.rb b/spec/services/tables/discomfort_calculator_spec.rb index 3851bbf..81633d7 100644 --- a/spec/services/tables/discomfort_calculator_spec.rb +++ b/spec/services/tables/discomfort_calculator_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/services/tables/distribution_spec.rb b/spec/services/tables/distribution_spec.rb index d22b817..a427f40 100644 --- a/spec/services/tables/distribution_spec.rb +++ b/spec/services/tables/distribution_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/services/tables/shift_spec.rb b/spec/services/tables/shift_spec.rb index 590d62b..67a4d5d 100644 --- a/spec/services/tables/shift_spec.rb +++ b/spec/services/tables/shift_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/services/tables/swap_spec.rb b/spec/services/tables/swap_spec.rb index 94ccced..ae9e974 100644 --- a/spec/services/tables/swap_spec.rb +++ b/spec/services/tables/swap_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/services/vns/engine_spec.rb b/spec/services/vns/engine_spec.rb index e3f379c..c8d489d 100644 --- a/spec/services/vns/engine_spec.rb +++ b/spec/services/vns/engine_spec.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2aa37f6..f5a5a59 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true # This file was generated by the `rails generate rspec:install` command. Conventionally, all diff --git a/spec/swagger_helper.rb b/spec/swagger_helper.rb index 2c53057..bbf6c7f 100644 --- a/spec/swagger_helper.rb +++ b/spec/swagger_helper.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true require 'rails_helper' diff --git a/spec/swagger_response_helper.rb b/spec/swagger_response_helper.rb index b3f3e0b..c13d8a8 100644 --- a/spec/swagger_response_helper.rb +++ b/spec/swagger_response_helper.rb @@ -1,5 +1,7 @@ # Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors + # frozen_string_literal: true module SwaggerResponseHelper