From 5db5281d9f658ea2af9d0bb38a72124ef2eb1bab Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 11 Jan 2025 03:10:32 +0000 Subject: [PATCH 1/7] Update dependency rubocop to v1.70.0 --- Gemfile.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4295b50..43419fb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -143,7 +143,7 @@ GEM jbuilder (2.13.0) actionview (>= 5.0.0) activesupport (>= 5.0.0) - json (2.8.2) + json (2.9.1) json-schema (5.0.1) addressable (~> 2.8) jsonapi-deserializable (0.2.0) @@ -288,7 +288,7 @@ GEM redis-client (>= 0.22.0) redis-client (0.22.2) connection_pool - regexp_parser (2.9.3) + regexp_parser (2.10.0) reline (0.6.0) io-console (~> 0.5) responders (3.1.1) @@ -327,7 +327,7 @@ GEM rswag-ui (2.16.0) actionpack (>= 5.2, < 8.1) railties (>= 5.2, < 8.1) - rubocop (1.69.2) + rubocop (1.70.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -337,7 +337,7 @@ GEM rubocop-ast (>= 1.36.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.36.2) + rubocop-ast (1.37.0) parser (>= 3.3.1.0) rubocop-factory_bot (2.26.1) rubocop (~> 1.61) @@ -502,7 +502,7 @@ CHECKSUMS io-console (0.8.0) sha256=cd6a9facbc69871d69b2cb8b926fc6ea7ef06f06e505e81a64f14a470fddefa2 irb (1.14.3) sha256=c457f1f2f1438ae9ce5c5be3981ae2138dec7fb894c7d73777eeeb0a6c0d0752 jbuilder (2.13.0) sha256=7200a38a1c0081aa81b7a9757e7a299db75bc58cf1fd45ca7919a91627d227d6 - json (2.8.2) sha256=dd4fa6c9c81daecf72b86ea36e56ed8955fdbb4d4dc379c93d313a59344486cf + json (2.9.1) sha256=d2bdef4644052fad91c1785d48263756fe32fcac08b96a20bb15840e96550d11 json-schema (5.0.1) sha256=bef71a82c600a42594911553522e143f7634affc198ed507ef3ded2f920a74a9 jsonapi-deserializable (0.2.0) sha256=5f0ca2d3f8404cce1584a314e8a3753be32a56054c942adfe997b87e92bce147 jsonapi-parser (0.1.1) sha256=9ee0dc031e88fc7548d56fab66f9716d1e1c06f972b529b8c4617bc42a097020 @@ -562,7 +562,7 @@ CHECKSUMS react-rails (3.2.1) sha256=2235db0b240517596b1cb3e26177ab5bc64d3a56579b0415ee242b1691f81f64 redis (5.3.0) sha256=6bf810c5ae889187f0c45f77db503310980310afa57cf1640d57f419ccda72b1 redis-client (0.22.2) sha256=31fee4b7cf04109b227327fabeaaf1fc5b652cf48a186a03bc607e40767bacc0 - regexp_parser (2.9.3) sha256=4b620657ed8349d82e1331a076415c79b9dd714a5546162ddd790ea9988f6379 + regexp_parser (2.10.0) sha256=cb6f0ddde88772cd64bff1dbbf68df66d376043fe2e66a9ef77fcb1b0c548c61 reline (0.6.0) sha256=57620375dcbe56ec09bac7192bfb7460c716bbf0054dc94345ecaa5438e539d2 responders (3.1.1) sha256=92f2a87e09028347368639cfb468f5fefa745cb0dc2377ef060db1cdd79a341a rexml (3.3.9) sha256=d71875b85299f341edf47d44df0212e7658cbdf35aeb69cefdb63f57af3137c9 @@ -575,8 +575,8 @@ CHECKSUMS rswag-api (2.16.0) sha256=b653f7bd92e98be18b01ab4525d88950d7b0960e293a99f856b9efcee3ae6074 rswag-specs (2.16.0) sha256=8ba26085c408b0bd2ed21dc8015c80f417c7d34c63720ab7133c2549b5bd2a91 rswag-ui (2.16.0) sha256=a1f49e927dceda92e6e6e7c1000f1e217ee66c565f69e28131dc98b33cd3a04f - rubocop (1.69.2) sha256=762fb0f30a379bf6054588d39f1815a2a1df8f067bc0337d3fe500e346924bb8 - rubocop-ast (1.36.2) sha256=566405b7f983eb9aa3b91d28aca6bc6566e356a97f59e89851dd910aef1dd1ca + rubocop (1.70.0) sha256=96751f8440b36a0ac6e9a8ab596900803118d83d6b83f2037bf8b3d7a5bc440e + rubocop-ast (1.37.0) sha256=9513ac88aaf113d04b52912533ffe46475de1362d4aa41141b51b2455827c080 rubocop-factory_bot (2.26.1) sha256=8de13cd4edcee5ca800f255188167ecef8dbfc3d1fae9f15734e9d2e755392aa rubocop-rails (2.28.0) sha256=4967bed9ea13e6dcab566fea4265a6dd0381db739b305e48930aba1282da2715 rubocop-rspec (3.3.0) sha256=79e1b281a689044d1516fefbc52e2e6c06cd367c25ebeaf06a7a198e9071cd7d From fd40fb61b50cb110ef40dd4201f4a9898a42f781 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 12 Jan 2025 03:06:19 +0000 Subject: [PATCH 2/7] Update dependency factory_bot_rails to v6.4.4 --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 43419fb..a64f4a1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -176,7 +176,7 @@ GEM tomlrb (>= 1.3, < 2.1) with_env (= 1.1.0) xml-simple (~> 1.1.9) - logger (1.6.4) + logger (1.6.5) loofah (2.23.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -515,7 +515,7 @@ CHECKSUMS letter_opener (1.10.0) sha256=2ff33f2e3b5c3c26d1959be54b395c086ca6d44826e8bf41a14ff96fdf1bdbb2 letter_opener_web (3.0.0) sha256=3f391efe0e8b9b24becfab5537dfb17a5cf5eb532038f947daab58cb4b749860 license_finder (7.2.1) sha256=179ead19b64b170638b72fd16024233813673ac9d20d5ba75ae0b4444887ef14 - logger (1.6.4) sha256=b627b91c922231050932e7bf8ee886fe54790ba2238a468ead52ba21911f2ee7 + logger (1.6.5) sha256=c3cfe56d01656490ddd103d38b8993d73d86296adebc5f58cefc9ec03741e56b loofah (2.23.1) sha256=d0a07422cb3b69272e124afa914ef6d517e30d5496b7f1c1fc5b95481f13f75e mail (2.8.1) sha256=ec3b9fadcf2b3755c78785cb17bc9a0ca9ee9857108a64b6f5cfc9c0b5bfc9ad marcel (1.0.4) sha256=0d5649feb64b8f19f3d3468b96c680bae9746335d02194270287868a661516a4 From 088c609a447f1c6ddda0c0900e6fcc3d2fbc342b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 12 Jan 2025 03:06:30 +0000 Subject: [PATCH 3/7] Update dependency rubytree to v2.1.1 --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 43419fb..ddd8b63 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -352,8 +352,8 @@ GEM rubocop (~> 1.61) rubocop-rspec (~> 3, >= 3.0.1) ruby-progressbar (1.13.0) - rubytree (2.1.0) - json (~> 2.0, > 2.3.1) + rubytree (2.1.1) + json (~> 2.0, > 2.9) rubyzip (2.3.2) securerandom (0.4.1) shoulda-matchers (6.4.0) @@ -582,7 +582,7 @@ CHECKSUMS rubocop-rspec (3.3.0) sha256=79e1b281a689044d1516fefbc52e2e6c06cd367c25ebeaf06a7a198e9071cd7d rubocop-rspec_rails (2.30.0) sha256=888112e83f9d7ef7ad2397e9d69a0b9614a4bae24f072c399804a180f80c4c46 ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33 - rubytree (2.1.0) sha256=30e8759ba060dff0dabf7e40cbaaa4df892fa34cbe9f1b3fbb00e83a3f321e4b + rubytree (2.1.1) sha256=4925016356a81730e982f1f8c3b5f8da461f18906c77d238bad4c4ba896abd41 rubyzip (2.3.2) sha256=3f57e3935dc2255c414484fbf8d673b4909d8a6a57007ed754dde39342d2373f securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1 shoulda-matchers (6.4.0) sha256=9055bb7f4bb342125fb860809798855c630e05ef5e75837b3168b8e6ee1608b0 From f997657cd3ac1c170ea8767d46178b331744887f Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 12 Jan 2025 20:41:01 +0100 Subject: [PATCH 4/7] Define an endpoint to return the default affinities of a group --- app/controllers/affinities_controller.rb | 21 +++++++++++++++++---- config/routes.rb | 1 + spec/requests/affinities_spec.rb | 15 +++++++++++++++ 3 files changed, 33 insertions(+), 4 deletions(-) diff --git a/app/controllers/affinities_controller.rb b/app/controllers/affinities_controller.rb index f8b7052..097e051 100644 --- a/app/controllers/affinities_controller.rb +++ b/app/controllers/affinities_controller.rb @@ -9,10 +9,10 @@ class AffinitiesController < ApplicationController overridden = @group.affinities.each_with_object({}) do |affinity, acc| acc[affinity.another_group(@group).id] = affinity.discomfort end - Group.where.not(id: @group.id) - .pluck(:id) - .index_with { |group_id| GroupAffinity::MAX_DISCOMFORT - (overridden[group_id] || GroupAffinity::NEUTRAL) } - .then { |affinities| render json: affinities } + + for_each_group do |group_id| + overridden[group_id] || GroupAffinity::NEUTRAL + end end def bulk_update @@ -33,8 +33,21 @@ class AffinitiesController < ApplicationController render json: { error: 'Invalid group ID or discomfort provided.' }, status: :bad_request end + def default + for_each_group do |group_id| + Tables::DiscomfortCalculator.cohesion_discomfort(id_a: @group.id, id_b: group_id).to_f + end + end + private + def for_each_group + Group.where.not(id: @group.id) + .pluck(:id) + .index_with { |group_id| GroupAffinity::MAX_DISCOMFORT - yield(group_id) } + .then { |affinities| render json: affinities } + end + def set_group @group = Group.find(params[:group_id]) end diff --git a/config/routes.rb b/config/routes.rb index 9e2b004..b87e0a0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -26,6 +26,7 @@ Rails.application.routes.draw do resources :groups, only: %i[index create update destroy] do resources :affinities, only: %i[index] do put :bulk_update, on: :collection + get :default, on: :collection end end diff --git a/spec/requests/affinities_spec.rb b/spec/requests/affinities_spec.rb index c964018..e458abb 100644 --- a/spec/requests/affinities_spec.rb +++ b/spec/requests/affinities_spec.rb @@ -20,6 +20,21 @@ RSpec.describe 'affinities' do end end + path '/{slug}/groups/{group_id}/affinities/default' do + parameter Swagger::Schema::SLUG + parameter name: 'group_id', in: :path, type: :string, format: :uuid, description: 'group_id' + + get('calculate default affinity') do + tags 'Affinities' + produces 'application/json' + + response(200, 'successful') do + schema type: :object, additionalProperties: { type: :integer, minimum: 0, maximum: 2 } + xit + end + end + end + path '/{slug}/groups/{group_id}/affinities/bulk_update' do parameter Swagger::Schema::SLUG parameter name: 'group_id', in: :path, type: :string, format: :uuid, description: 'group_id' From a154e92b6cfd38aa13b1659ac2d6368aeb17ae95 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Mon, 13 Jan 2025 21:16:06 +0100 Subject: [PATCH 5/7] Define an endpoint to reset the discomfort between all groups --- app/controllers/affinities_controller.rb | 16 +++++++++++++++- config/routes.rb | 1 + spec/requests/affinities_spec.rb | 11 +++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/app/controllers/affinities_controller.rb b/app/controllers/affinities_controller.rb index 097e051..f8cb9cb 100644 --- a/app/controllers/affinities_controller.rb +++ b/app/controllers/affinities_controller.rb @@ -3,7 +3,7 @@ # frozen_string_literal: true class AffinitiesController < ApplicationController - before_action :set_group + before_action :set_group, except: :reset def index overridden = @group.affinities.each_with_object({}) do |affinity, acc| @@ -39,6 +39,20 @@ class AffinitiesController < ApplicationController end end + def reset + affinities = Group.pluck(:id).combination(2).map do |(group_a_id, group_b_id)| + { + group_a_id:, + group_b_id:, + discomfort: Tables::DiscomfortCalculator.cohesion_discomfort(id_a: group_a_id, id_b: group_b_id).to_f + } + end + + GroupAffinity.upsert_all(affinities) + + render json: {}, status: :ok + end + private def for_each_group diff --git a/config/routes.rb b/config/routes.rb index b87e0a0..10c45ae 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -24,6 +24,7 @@ Rails.application.routes.draw do end resources :groups, only: %i[index create update destroy] do + post 'affinities/reset', to: 'affinities#reset', on: :collection resources :affinities, only: %i[index] do put :bulk_update, on: :collection get :default, on: :collection diff --git a/spec/requests/affinities_spec.rb b/spec/requests/affinities_spec.rb index e458abb..a236160 100644 --- a/spec/requests/affinities_spec.rb +++ b/spec/requests/affinities_spec.rb @@ -5,6 +5,17 @@ require 'swagger_helper' RSpec.describe 'affinities' do + path '/{slug}/groups/affinities/reset' do + parameter Swagger::Schema::SLUG + + post('reset affinities') do + tags 'Affinities' + description 'Reset all affinities to default values based on the distance between groups in the hierarchy.' + + response_empty200 + end + end + path '/{slug}/groups/{group_id}/affinities' do parameter Swagger::Schema::SLUG parameter name: 'group_id', in: :path, type: :string, format: :uuid, description: 'group_id' From e20a366410e82e2ffe5e9590096bcb5482d06d39 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Mon, 13 Jan 2025 21:37:02 +0100 Subject: [PATCH 6/7] Update copyright assignment to cover 2025 and include all contributors --- app/channels/application_cable/channel.rb | 2 +- app/channels/application_cable/connection.rb | 2 +- app/controllers/affinities_controller.rb | 2 +- app/controllers/application_controller.rb | 2 +- app/controllers/captcha_controller.rb | 2 +- app/controllers/expenses_controller.rb | 2 +- app/controllers/groups_controller.rb | 2 +- app/controllers/guests_controller.rb | 2 +- app/controllers/summary_controller.rb | 2 +- app/controllers/tables_arrangements_controller.rb | 2 +- app/controllers/tokens_controller.rb | 2 +- app/controllers/users/confirmations_controller.rb | 2 +- app/controllers/users/registrations_controller.rb | 2 +- app/controllers/users/sessions_controller.rb | 2 +- app/extensions/tree_node_extension.rb | 2 +- app/helpers/application_helper.rb | 2 +- app/helpers/expenses_helper.rb | 2 +- app/helpers/groups_helper.rb | 2 +- app/helpers/guests_helper.rb | 2 +- app/helpers/tables_arrangements_helper.rb | 2 +- app/jobs/application_job.rb | 2 +- app/jobs/table_simulator_job.rb | 2 +- app/mailers/application_mailer.rb | 2 +- app/models/application_record.rb | 2 +- app/models/expense.rb | 2 +- app/models/group.rb | 2 +- app/models/group_affinity.rb | 2 +- app/models/guest.rb | 2 +- app/models/seat.rb | 2 +- app/models/tables_arrangement.rb | 2 +- app/models/user.rb | 2 +- app/models/wedding.rb | 2 +- app/queries/expenses/total_query.rb | 2 +- app/queries/groups/summary_query.rb | 2 +- app/serializers/serializable_group.rb | 2 +- app/serializers/serializable_guest.rb | 2 +- app/services/affinity_groups_hierarchy.rb | 2 +- app/services/libre_captcha.rb | 2 +- app/services/tables/discomfort_calculator.rb | 2 +- app/services/tables/distribution.rb | 2 +- app/services/tables/shift.rb | 2 +- app/services/tables/swap.rb | 2 +- app/services/tables/table.rb | 2 +- app/services/vns/engine.rb | 2 +- app/views/layouts/mailer.html.erb | 2 +- app/views/layouts/mailer.text.erb | 2 +- app/views/users/mailer/confirmation_instructions.html.erb | 2 +- app/views/users/mailer/email_changed.html.erb | 2 +- app/views/users/mailer/password_change.html.erb | 2 +- app/views/users/mailer/reset_password_instructions.html.erb | 2 +- app/views/users/mailer/unlock_instructions.html.erb | 2 +- config/application.rb | 2 +- config/boot.rb | 2 +- config/environment.rb | 2 +- config/environments/development.rb | 2 +- config/environments/production.rb | 2 +- config/environments/test.rb | 2 +- config/importmap.rb | 2 +- config/initializers/acts_as_tenant.rb | 2 +- config/initializers/assets.rb | 2 +- config/initializers/colors.rb | 2 +- config/initializers/content_security_policy.rb | 2 +- config/initializers/cors.rb | 2 +- config/initializers/devise.rb | 2 +- config/initializers/filter_parameter_logging.rb | 2 +- config/initializers/inflections.rb | 2 +- config/initializers/permissions_policy.rb | 2 +- config/initializers/rswag_api.rb | 2 +- config/initializers/rswag_ui.rb | 2 +- config/initializers/ruby_extensions.rb | 2 +- config/puma.rb | 2 +- config/routes.rb | 2 +- db/migrate/20240711175425_create_expenses.rb | 2 +- db/migrate/20240711180753_create_guests.rb | 2 +- ...cts_as_taggable_on_migration.acts_as_taggable_on_engine.rb | 2 +- ...7_add_missing_unique_indices.acts_as_taggable_on_engine.rb | 2 +- ...ggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb | 2 +- ...9_add_missing_taggable_index.acts_as_taggable_on_engine.rb | 2 +- ...ange_collation_for_tag_names.acts_as_taggable_on_engine.rb | 2 +- ..._missing_indexes_on_taggings.acts_as_taggable_on_engine.rb | 2 +- ...81632_add_tenant_to_taggings.acts_as_taggable_on_engine.rb | 2 +- db/migrate/20240724181756_create_tables_arrangements.rb | 2 +- db/migrate/20240724181853_create_seats.rb | 2 +- db/migrate/20240811142121_create_groups.rb | 2 +- db/migrate/20240811143801_add_parent_to_group.rb | 2 +- db/migrate/20240811154115_add_group_to_guest.rb | 2 +- db/migrate/20240811170021_add_status_to_guest.rb | 2 +- db/migrate/20241101181052_drop_taggable_tables.rb | 2 +- db/migrate/20241103072808_add_name_to_tables_arrangements.rb | 2 +- db/migrate/20241103075705_solid_queue_install.rb | 2 +- db/migrate/20241103093955_remove_email_from_guests.rb | 2 +- db/migrate/20241103133122_add_color_to_group.rb | 2 +- db/migrate/20241111063741_merge_guest_names.rb | 2 +- db/migrate/20241130095753_devise_create_users.rb | 2 +- db/migrate/20241130182228_create_weddings.rb | 2 +- db/migrate/20241130185731_add_wedding_id_to_models.rb | 2 +- db/migrate/20241207112305_remove_wedding_date.rb | 2 +- db/migrate/20241208102932_allow_ungrouped_guests.rb | 2 +- db/migrate/20241216231415_create_group_affinities.rb | 2 +- db/queue_schema.rb | 2 +- db/schema.rb | 2 +- db/seeds.rb | 2 +- spec/extensions/tree_spec.rb | 2 +- spec/factories/expense.rb | 4 ++-- spec/factories/group_affinities.rb | 4 ++-- spec/factories/groups.rb | 4 ++-- spec/factories/guest.rb | 4 ++-- spec/factories/table_arrangement.rb | 4 ++-- spec/factories/users.rb | 4 ++-- spec/factories/weddings.rb | 4 ++-- spec/models/expense_spec.rb | 4 ++-- spec/models/group_affinity_spec.rb | 2 +- spec/models/group_spec.rb | 4 ++-- spec/models/guest_spec.rb | 2 +- spec/models/seat_spec.rb | 4 ++-- spec/models/tables_arrangement_spec.rb | 4 ++-- spec/models/user_spec.rb | 4 ++-- spec/models/wedding_spec.rb | 4 ++-- spec/queries/expenses/total_query_spec.rb | 2 +- spec/queries/groups/summary_query_spec.rb | 2 +- spec/rails_helper.rb | 2 +- spec/requests/affinities_spec.rb | 2 +- spec/requests/captcha_spec.rb | 2 +- spec/requests/expenses_spec.rb | 2 +- spec/requests/groups_spec.rb | 2 +- spec/requests/guests_spec.rb | 2 +- spec/requests/schemas.rb | 2 +- spec/requests/summary_spec.rb | 2 +- spec/requests/tables_arrangements_spec.rb | 2 +- spec/requests/tokens_spec.rb | 2 +- spec/requests/users/confirmations_spec.rb | 2 +- spec/requests/users/registrations_spec.rb | 2 +- spec/requests/users/sessions_spec.rb | 2 +- spec/services/tables/discomfort_calculator_spec.rb | 2 +- spec/services/tables/distribution_spec.rb | 2 +- spec/services/tables/shift_spec.rb | 2 +- spec/services/tables/swap_spec.rb | 2 +- spec/services/vns/engine_spec.rb | 2 +- spec/spec_helper.rb | 2 +- spec/swagger_helper.rb | 2 +- spec/swagger_response_helper.rb | 2 +- 141 files changed, 154 insertions(+), 154 deletions(-) diff --git a/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb index 72b2bf5..88942fe 100644 --- a/app/channels/application_cable/channel.rb +++ b/app/channels/application_cable/channel.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb index d45ff4d..ab575d6 100644 --- a/app/channels/application_cable/connection.rb +++ b/app/channels/application_cable/connection.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/affinities_controller.rb b/app/controllers/affinities_controller.rb index 097e051..a62288c 100644 --- a/app/controllers/affinities_controller.rb +++ b/app/controllers/affinities_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index b1baa15..025dc85 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/captcha_controller.rb b/app/controllers/captcha_controller.rb index 57dac61..6c3f3ca 100644 --- a/app/controllers/captcha_controller.rb +++ b/app/controllers/captcha_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/expenses_controller.rb b/app/controllers/expenses_controller.rb index 6e1b63b..8b00ddb 100644 --- a/app/controllers/expenses_controller.rb +++ b/app/controllers/expenses_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 77a347f..08334aa 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/guests_controller.rb b/app/controllers/guests_controller.rb index e7f9ff0..9778795 100644 --- a/app/controllers/guests_controller.rb +++ b/app/controllers/guests_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/summary_controller.rb b/app/controllers/summary_controller.rb index e165127..0d3f655 100644 --- a/app/controllers/summary_controller.rb +++ b/app/controllers/summary_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/tables_arrangements_controller.rb b/app/controllers/tables_arrangements_controller.rb index 23b99ba..c09d453 100644 --- a/app/controllers/tables_arrangements_controller.rb +++ b/app/controllers/tables_arrangements_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/tokens_controller.rb b/app/controllers/tokens_controller.rb index 5a8490d..a0ee546 100644 --- a/app/controllers/tokens_controller.rb +++ b/app/controllers/tokens_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/users/confirmations_controller.rb b/app/controllers/users/confirmations_controller.rb index 7e5c048..01eb91e 100644 --- a/app/controllers/users/confirmations_controller.rb +++ b/app/controllers/users/confirmations_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/users/registrations_controller.rb b/app/controllers/users/registrations_controller.rb index 0849d96..f261e90 100644 --- a/app/controllers/users/registrations_controller.rb +++ b/app/controllers/users/registrations_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/users/sessions_controller.rb b/app/controllers/users/sessions_controller.rb index 5e3ad06..4d7b6a8 100644 --- a/app/controllers/users/sessions_controller.rb +++ b/app/controllers/users/sessions_controller.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/extensions/tree_node_extension.rb b/app/extensions/tree_node_extension.rb index 9bd1ed4..6894dd7 100644 --- a/app/extensions/tree_node_extension.rb +++ b/app/extensions/tree_node_extension.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 1bc40d8..9dbd98c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/helpers/expenses_helper.rb b/app/helpers/expenses_helper.rb index 287c70f..0b8c324 100644 --- a/app/helpers/expenses_helper.rb +++ b/app/helpers/expenses_helper.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index b0492f2..feda408 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/helpers/guests_helper.rb b/app/helpers/guests_helper.rb index 849ddb8..369b8ed 100644 --- a/app/helpers/guests_helper.rb +++ b/app/helpers/guests_helper.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/helpers/tables_arrangements_helper.rb b/app/helpers/tables_arrangements_helper.rb index bd95809..6353e46 100644 --- a/app/helpers/tables_arrangements_helper.rb +++ b/app/helpers/tables_arrangements_helper.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb index 02ef80e..561fb56 100644 --- a/app/jobs/application_job.rb +++ b/app/jobs/application_job.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/jobs/table_simulator_job.rb b/app/jobs/table_simulator_job.rb index 50fe728..51b7256 100644 --- a/app/jobs/table_simulator_job.rb +++ b/app/jobs/table_simulator_job.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index b168ff3..b28db31 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/application_record.rb b/app/models/application_record.rb index 1a28db5..61b9d31 100644 --- a/app/models/application_record.rb +++ b/app/models/application_record.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/expense.rb b/app/models/expense.rb index a34cfc5..66b32f3 100644 --- a/app/models/expense.rb +++ b/app/models/expense.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/group.rb b/app/models/group.rb index ddf6e52..2db28ed 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/group_affinity.rb b/app/models/group_affinity.rb index 1e85485..8e70d59 100644 --- a/app/models/group_affinity.rb +++ b/app/models/group_affinity.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/guest.rb b/app/models/guest.rb index 8687767..ad0542f 100644 --- a/app/models/guest.rb +++ b/app/models/guest.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/seat.rb b/app/models/seat.rb index a00ec99..9c31c42 100644 --- a/app/models/seat.rb +++ b/app/models/seat.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/tables_arrangement.rb b/app/models/tables_arrangement.rb index 72f13d5..adece9a 100644 --- a/app/models/tables_arrangement.rb +++ b/app/models/tables_arrangement.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/user.rb b/app/models/user.rb index 5a9683e..ff46fff 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/wedding.rb b/app/models/wedding.rb index c94d83d..83525b5 100644 --- a/app/models/wedding.rb +++ b/app/models/wedding.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/queries/expenses/total_query.rb b/app/queries/expenses/total_query.rb index fc46a6b..ae4fe65 100644 --- a/app/queries/expenses/total_query.rb +++ b/app/queries/expenses/total_query.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/queries/groups/summary_query.rb b/app/queries/groups/summary_query.rb index 28fe6a5..81c91b4 100644 --- a/app/queries/groups/summary_query.rb +++ b/app/queries/groups/summary_query.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/serializers/serializable_group.rb b/app/serializers/serializable_group.rb index eb30b10..b3e2258 100644 --- a/app/serializers/serializable_group.rb +++ b/app/serializers/serializable_group.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/serializers/serializable_guest.rb b/app/serializers/serializable_guest.rb index 981e58b..ee4bac1 100644 --- a/app/serializers/serializable_guest.rb +++ b/app/serializers/serializable_guest.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/affinity_groups_hierarchy.rb b/app/services/affinity_groups_hierarchy.rb index 310bac8..ef47845 100644 --- a/app/services/affinity_groups_hierarchy.rb +++ b/app/services/affinity_groups_hierarchy.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/libre_captcha.rb b/app/services/libre_captcha.rb index 314c186..a3843da 100644 --- a/app/services/libre_captcha.rb +++ b/app/services/libre_captcha.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/tables/discomfort_calculator.rb b/app/services/tables/discomfort_calculator.rb index 48dacce..adae828 100644 --- a/app/services/tables/discomfort_calculator.rb +++ b/app/services/tables/discomfort_calculator.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/tables/distribution.rb b/app/services/tables/distribution.rb index 04d1e6a..aca8618 100644 --- a/app/services/tables/distribution.rb +++ b/app/services/tables/distribution.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/tables/shift.rb b/app/services/tables/shift.rb index 2326b1e..d5592d9 100644 --- a/app/services/tables/shift.rb +++ b/app/services/tables/shift.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/tables/swap.rb b/app/services/tables/swap.rb index 1fe6944..04abc18 100644 --- a/app/services/tables/swap.rb +++ b/app/services/tables/swap.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/tables/table.rb b/app/services/tables/table.rb index 8877e7c..cc05ea0 100644 --- a/app/services/tables/table.rb +++ b/app/services/tables/table.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/vns/engine.rb b/app/services/vns/engine.rb index 9f600df..d66c80b 100644 --- a/app/services/vns/engine.rb +++ b/app/services/vns/engine.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index ca6bd25..32b0c16 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -1,4 +1,4 @@ -<%# 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..9bdce1a 100644 --- a/app/views/layouts/mailer.text.erb +++ b/app/views/layouts/mailer.text.erb @@ -1,3 +1,3 @@ -<%# 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..cd3b2f1 100644 --- a/app/views/users/mailer/confirmation_instructions.html.erb +++ b/app/views/users/mailer/confirmation_instructions.html.erb @@ -1,4 +1,4 @@ -<%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %>

Welcome <%= @email %>!

diff --git a/app/views/users/mailer/email_changed.html.erb b/app/views/users/mailer/email_changed.html.erb index 51cfa7a..f5f2998 100644 --- a/app/views/users/mailer/email_changed.html.erb +++ b/app/views/users/mailer/email_changed.html.erb @@ -1,4 +1,4 @@ -<%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %>

Hello <%= @email %>!

diff --git a/app/views/users/mailer/password_change.html.erb b/app/views/users/mailer/password_change.html.erb index 7bfd484..1181727 100644 --- a/app/views/users/mailer/password_change.html.erb +++ b/app/views/users/mailer/password_change.html.erb @@ -1,4 +1,4 @@ -<%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %>

Hello <%= @resource.email %>!

diff --git a/app/views/users/mailer/reset_password_instructions.html.erb b/app/views/users/mailer/reset_password_instructions.html.erb index 3bc6fcd..95bc588 100644 --- a/app/views/users/mailer/reset_password_instructions.html.erb +++ b/app/views/users/mailer/reset_password_instructions.html.erb @@ -1,4 +1,4 @@ -<%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %>

Hello <%= @resource.email %>!

diff --git a/app/views/users/mailer/unlock_instructions.html.erb b/app/views/users/mailer/unlock_instructions.html.erb index 6df5c0a..3efb341 100644 --- a/app/views/users/mailer/unlock_instructions.html.erb +++ b/app/views/users/mailer/unlock_instructions.html.erb @@ -1,4 +1,4 @@ -<%# Copyright (C) 2024 Manuel Bustillo %> +<%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %>

Hello <%= @resource.email %>!

diff --git a/config/application.rb b/config/application.rb index 8233705..1795a6f 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors require_relative 'boot' diff --git a/config/boot.rb b/config/boot.rb index b7afb85..4bebfef 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) diff --git a/config/environment.rb b/config/environment.rb index 6cec499..49c0fb1 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,4 +1,4 @@ -# 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..232e88e 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors require "active_support/core_ext/integer/time" diff --git a/config/environments/production.rb b/config/environments/production.rb index 2a94187..4db7dca 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors require "active_support/core_ext/integer/time" diff --git a/config/environments/test.rb b/config/environments/test.rb index ef2b3a4..0982e19 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors require "active_support/core_ext/integer/time" diff --git a/config/importmap.rb b/config/importmap.rb index f84aa44..7ec75cd 100644 --- a/config/importmap.rb +++ b/config/importmap.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Pin npm packages by running ./bin/importmap diff --git a/config/initializers/acts_as_tenant.rb b/config/initializers/acts_as_tenant.rb index c535737..fd8890d 100644 --- a/config/initializers/acts_as_tenant.rb +++ b/config/initializers/acts_as_tenant.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors ActsAsTenant.configure do |config| config.require_tenant = !Rails.env.test? diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index f67fe73..4772d1a 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Be sure to restart your server when you modify this file. diff --git a/config/initializers/colors.rb b/config/initializers/colors.rb index b435084..ea065fa 100644 --- a/config/initializers/colors.rb +++ b/config/initializers/colors.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors Chroma.define_palette :decreasing_saturation do spin(20).desaturate(40) diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb index 9004631..8798db8 100644 --- a/config/initializers/content_security_policy.rb +++ b/config/initializers/content_security_policy.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Be sure to restart your server when you modify this file. diff --git a/config/initializers/cors.rb b/config/initializers/cors.rb index f4b450f..ce186ed 100644 --- a/config/initializers/cors.rb +++ b/config/initializers/cors.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # config/initializers/cors.rb diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 5f631ef..3977aa9 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb index b5bfef2..1be5be3 100644 --- a/config/initializers/filter_parameter_logging.rb +++ b/config/initializers/filter_parameter_logging.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Be sure to restart your server when you modify this file. diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb index 6633bb9..2a6b3c4 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Be sure to restart your server when you modify this file. diff --git a/config/initializers/permissions_policy.rb b/config/initializers/permissions_policy.rb index 57547a3..f281e9b 100644 --- a/config/initializers/permissions_policy.rb +++ b/config/initializers/permissions_policy.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Be sure to restart your server when you modify this file. diff --git a/config/initializers/rswag_api.rb b/config/initializers/rswag_api.rb index 5c46141..42deb17 100644 --- a/config/initializers/rswag_api.rb +++ b/config/initializers/rswag_api.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors Rswag::Api.configure do |c| diff --git a/config/initializers/rswag_ui.rb b/config/initializers/rswag_ui.rb index 9540ca4..a50e133 100644 --- a/config/initializers/rswag_ui.rb +++ b/config/initializers/rswag_ui.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors Rswag::Ui.configure do |c| diff --git a/config/initializers/ruby_extensions.rb b/config/initializers/ruby_extensions.rb index 46016e7..47091de 100644 --- a/config/initializers/ruby_extensions.rb +++ b/config/initializers/ruby_extensions.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class Numeric def to_currency diff --git a/config/puma.rb b/config/puma.rb index 0e947b4..128df0b 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,4 +1,4 @@ -# 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 diff --git a/config/routes.rb b/config/routes.rb index b87e0a0..bb2be8f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,4 @@ -# 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? diff --git a/db/migrate/20240711175425_create_expenses.rb b/db/migrate/20240711175425_create_expenses.rb index cdac7d0..52fa269 100644 --- a/db/migrate/20240711175425_create_expenses.rb +++ b/db/migrate/20240711175425_create_expenses.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateExpenses < ActiveRecord::Migration[7.1] def change diff --git a/db/migrate/20240711180753_create_guests.rb b/db/migrate/20240711180753_create_guests.rb index ca3f85b..d2f876a 100644 --- a/db/migrate/20240711180753_create_guests.rb +++ b/db/migrate/20240711180753_create_guests.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateGuests < ActiveRecord::Migration[7.1] def change 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..f1709ca 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,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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..a1f7d1c 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,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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..078b0c0 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,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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..126aa38 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,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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..fec8036 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,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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..5f98782 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,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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..16fc678 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,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/db/migrate/20240724181756_create_tables_arrangements.rb b/db/migrate/20240724181756_create_tables_arrangements.rb index ac69487..81defbc 100644 --- a/db/migrate/20240724181756_create_tables_arrangements.rb +++ b/db/migrate/20240724181756_create_tables_arrangements.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateTablesArrangements < ActiveRecord::Migration[7.1] def change diff --git a/db/migrate/20240724181853_create_seats.rb b/db/migrate/20240724181853_create_seats.rb index b28c9d0..a4fa0ae 100644 --- a/db/migrate/20240724181853_create_seats.rb +++ b/db/migrate/20240724181853_create_seats.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateSeats < ActiveRecord::Migration[7.1] def change diff --git a/db/migrate/20240811142121_create_groups.rb b/db/migrate/20240811142121_create_groups.rb index b21f067..cad993a 100644 --- a/db/migrate/20240811142121_create_groups.rb +++ b/db/migrate/20240811142121_create_groups.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateGroups < ActiveRecord::Migration[7.1] def change diff --git a/db/migrate/20240811143801_add_parent_to_group.rb b/db/migrate/20240811143801_add_parent_to_group.rb index c8a3a14..868ea79 100644 --- a/db/migrate/20240811143801_add_parent_to_group.rb +++ b/db/migrate/20240811143801_add_parent_to_group.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddParentToGroup < ActiveRecord::Migration[7.1] def change diff --git a/db/migrate/20240811154115_add_group_to_guest.rb b/db/migrate/20240811154115_add_group_to_guest.rb index f1fcdaf..b7df5aa 100644 --- a/db/migrate/20240811154115_add_group_to_guest.rb +++ b/db/migrate/20240811154115_add_group_to_guest.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddGroupToGuest < ActiveRecord::Migration[7.1] def change diff --git a/db/migrate/20240811170021_add_status_to_guest.rb b/db/migrate/20240811170021_add_status_to_guest.rb index de51170..ec92086 100644 --- a/db/migrate/20240811170021_add_status_to_guest.rb +++ b/db/migrate/20240811170021_add_status_to_guest.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddStatusToGuest < ActiveRecord::Migration[7.1] def change diff --git a/db/migrate/20241101181052_drop_taggable_tables.rb b/db/migrate/20241101181052_drop_taggable_tables.rb index cce88c7..1ece831 100644 --- a/db/migrate/20241101181052_drop_taggable_tables.rb +++ b/db/migrate/20241101181052_drop_taggable_tables.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class DropTaggableTables < ActiveRecord::Migration[7.2] def change diff --git a/db/migrate/20241103072808_add_name_to_tables_arrangements.rb b/db/migrate/20241103072808_add_name_to_tables_arrangements.rb index 53dd4fa..1893200 100644 --- a/db/migrate/20241103072808_add_name_to_tables_arrangements.rb +++ b/db/migrate/20241103072808_add_name_to_tables_arrangements.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddNameToTablesArrangements < ActiveRecord::Migration[7.2] def change diff --git a/db/migrate/20241103075705_solid_queue_install.rb b/db/migrate/20241103075705_solid_queue_install.rb index 3a0b744..fcd7627 100644 --- a/db/migrate/20241103075705_solid_queue_install.rb +++ b/db/migrate/20241103075705_solid_queue_install.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class SolidQueueInstall < ActiveRecord::Migration[7.2] def change diff --git a/db/migrate/20241103093955_remove_email_from_guests.rb b/db/migrate/20241103093955_remove_email_from_guests.rb index 26ca939..cde2f00 100644 --- a/db/migrate/20241103093955_remove_email_from_guests.rb +++ b/db/migrate/20241103093955_remove_email_from_guests.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class RemoveEmailFromGuests < ActiveRecord::Migration[7.2] def change diff --git a/db/migrate/20241103133122_add_color_to_group.rb b/db/migrate/20241103133122_add_color_to_group.rb index bca1c30..a031638 100644 --- a/db/migrate/20241103133122_add_color_to_group.rb +++ b/db/migrate/20241103133122_add_color_to_group.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddColorToGroup < ActiveRecord::Migration[7.2] def change diff --git a/db/migrate/20241111063741_merge_guest_names.rb b/db/migrate/20241111063741_merge_guest_names.rb index 849f58f..3b2690c 100644 --- a/db/migrate/20241111063741_merge_guest_names.rb +++ b/db/migrate/20241111063741_merge_guest_names.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class MergeGuestNames < ActiveRecord::Migration[8.0] def change diff --git a/db/migrate/20241130095753_devise_create_users.rb b/db/migrate/20241130095753_devise_create_users.rb index 977c72e..efdddef 100644 --- a/db/migrate/20241130095753_devise_create_users.rb +++ b/db/migrate/20241130095753_devise_create_users.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/db/migrate/20241130182228_create_weddings.rb b/db/migrate/20241130182228_create_weddings.rb index 2151f72..857b63e 100644 --- a/db/migrate/20241130182228_create_weddings.rb +++ b/db/migrate/20241130182228_create_weddings.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateWeddings < ActiveRecord::Migration[8.0] def change diff --git a/db/migrate/20241130185731_add_wedding_id_to_models.rb b/db/migrate/20241130185731_add_wedding_id_to_models.rb index 63e5c32..85fbabf 100644 --- a/db/migrate/20241130185731_add_wedding_id_to_models.rb +++ b/db/migrate/20241130185731_add_wedding_id_to_models.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddWeddingIdToModels < ActiveRecord::Migration[8.0] def change diff --git a/db/migrate/20241207112305_remove_wedding_date.rb b/db/migrate/20241207112305_remove_wedding_date.rb index c810ee4..5b2e987 100644 --- a/db/migrate/20241207112305_remove_wedding_date.rb +++ b/db/migrate/20241207112305_remove_wedding_date.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class RemoveWeddingDate < ActiveRecord::Migration[8.0] def change diff --git a/db/migrate/20241208102932_allow_ungrouped_guests.rb b/db/migrate/20241208102932_allow_ungrouped_guests.rb index c06d40c..572a871 100644 --- a/db/migrate/20241208102932_allow_ungrouped_guests.rb +++ b/db/migrate/20241208102932_allow_ungrouped_guests.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AllowUngroupedGuests < ActiveRecord::Migration[8.0] def change diff --git a/db/migrate/20241216231415_create_group_affinities.rb b/db/migrate/20241216231415_create_group_affinities.rb index 2b03897..22f86c5 100644 --- a/db/migrate/20241216231415_create_group_affinities.rb +++ b/db/migrate/20241216231415_create_group_affinities.rb @@ -1,4 +1,4 @@ -# 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..41a41b0 100644 --- a/db/queue_schema.rb +++ b/db/queue_schema.rb @@ -1,4 +1,4 @@ -# 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..11aa68c 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1,4 +1,4 @@ -# 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 diff --git a/db/seeds.rb b/db/seeds.rb index eb45757..fcf5ec3 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors NUMBER_OF_GUESTS = 50 diff --git a/spec/extensions/tree_spec.rb b/spec/extensions/tree_spec.rb index 1d3e6d0..4b45e26 100644 --- a/spec/extensions/tree_spec.rb +++ b/spec/extensions/tree_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/expense.rb b/spec/factories/expense.rb index e122a43..c722f78 100644 --- a/spec/factories/expense.rb +++ b/spec/factories/expense.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# 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..ca83cb9 100644 --- a/spec/factories/group_affinities.rb +++ b/spec/factories/group_affinities.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/groups.rb b/spec/factories/groups.rb index 84ae9ec..de8d929 100644 --- a/spec/factories/groups.rb +++ b/spec/factories/groups.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/guest.rb b/spec/factories/guest.rb index 25a5c5e..f80c7ac 100644 --- a/spec/factories/guest.rb +++ b/spec/factories/guest.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# 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..3f447ed 100644 --- a/spec/factories/table_arrangement.rb +++ b/spec/factories/table_arrangement.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/users.rb b/spec/factories/users.rb index 3616935..8e7f582 100644 --- a/spec/factories/users.rb +++ b/spec/factories/users.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/weddings.rb b/spec/factories/weddings.rb index 1e6f555..a1959c6 100644 --- a/spec/factories/weddings.rb +++ b/spec/factories/weddings.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# 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..c48bc93 100644 --- a/spec/models/expense_spec.rb +++ b/spec/models/expense_spec.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# 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..8afd2c6 100644 --- a/spec/models/group_affinity_spec.rb +++ b/spec/models/group_affinity_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index f7e7fd3..73185ca 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# 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..e1f7ad6 100644 --- a/spec/models/guest_spec.rb +++ b/spec/models/guest_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/models/seat_spec.rb b/spec/models/seat_spec.rb index 40e63f2..5a7ddb4 100644 --- a/spec/models/seat_spec.rb +++ b/spec/models/seat_spec.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# 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..6bdbb55 100644 --- a/spec/models/tables_arrangement_spec.rb +++ b/spec/models/tables_arrangement_spec.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# 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..274c031 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# 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..acc5c4c 100644 --- a/spec/models/wedding_spec.rb +++ b/spec/models/wedding_spec.rb @@ -1,6 +1,6 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors -# Copyright (C) 2024 Manuel Bustillo +# 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..f1c2c4f 100644 --- a/spec/queries/expenses/total_query_spec.rb +++ b/spec/queries/expenses/total_query_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/queries/groups/summary_query_spec.rb b/spec/queries/groups/summary_query_spec.rb index 1ef1a33..6300724 100644 --- a/spec/queries/groups/summary_query_spec.rb +++ b/spec/queries/groups/summary_query_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 7058316..faf5740 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/affinities_spec.rb b/spec/requests/affinities_spec.rb index e458abb..95e4b13 100644 --- a/spec/requests/affinities_spec.rb +++ b/spec/requests/affinities_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/captcha_spec.rb b/spec/requests/captcha_spec.rb index 17dc9bf..e3f49cf 100644 --- a/spec/requests/captcha_spec.rb +++ b/spec/requests/captcha_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/expenses_spec.rb b/spec/requests/expenses_spec.rb index 557f2e3..1f064d6 100644 --- a/spec/requests/expenses_spec.rb +++ b/spec/requests/expenses_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/groups_spec.rb b/spec/requests/groups_spec.rb index 30c512e..2e9d5ac 100644 --- a/spec/requests/groups_spec.rb +++ b/spec/requests/groups_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/guests_spec.rb b/spec/requests/guests_spec.rb index 1ef80d4..0ecd72f 100644 --- a/spec/requests/guests_spec.rb +++ b/spec/requests/guests_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/schemas.rb b/spec/requests/schemas.rb index ee914b3..549834e 100644 --- a/spec/requests/schemas.rb +++ b/spec/requests/schemas.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/summary_spec.rb b/spec/requests/summary_spec.rb index f39ab7a..d6a1f85 100644 --- a/spec/requests/summary_spec.rb +++ b/spec/requests/summary_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/tables_arrangements_spec.rb b/spec/requests/tables_arrangements_spec.rb index 34c686f..4e87cb2 100644 --- a/spec/requests/tables_arrangements_spec.rb +++ b/spec/requests/tables_arrangements_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/tokens_spec.rb b/spec/requests/tokens_spec.rb index 406e041..a6aac2e 100644 --- a/spec/requests/tokens_spec.rb +++ b/spec/requests/tokens_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/users/confirmations_spec.rb b/spec/requests/users/confirmations_spec.rb index 8628683..492f6f3 100644 --- a/spec/requests/users/confirmations_spec.rb +++ b/spec/requests/users/confirmations_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/users/registrations_spec.rb b/spec/requests/users/registrations_spec.rb index f1dd82c..e55d4c8 100644 --- a/spec/requests/users/registrations_spec.rb +++ b/spec/requests/users/registrations_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/users/sessions_spec.rb b/spec/requests/users/sessions_spec.rb index 775f56c..60b49e1 100644 --- a/spec/requests/users/sessions_spec.rb +++ b/spec/requests/users/sessions_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/services/tables/discomfort_calculator_spec.rb b/spec/services/tables/discomfort_calculator_spec.rb index 3851bbf..5597dd1 100644 --- a/spec/services/tables/discomfort_calculator_spec.rb +++ b/spec/services/tables/discomfort_calculator_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/services/tables/distribution_spec.rb b/spec/services/tables/distribution_spec.rb index d22b817..e598a52 100644 --- a/spec/services/tables/distribution_spec.rb +++ b/spec/services/tables/distribution_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/services/tables/shift_spec.rb b/spec/services/tables/shift_spec.rb index 590d62b..39e07f8 100644 --- a/spec/services/tables/shift_spec.rb +++ b/spec/services/tables/shift_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/services/tables/swap_spec.rb b/spec/services/tables/swap_spec.rb index 94ccced..d8db4a7 100644 --- a/spec/services/tables/swap_spec.rb +++ b/spec/services/tables/swap_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/services/vns/engine_spec.rb b/spec/services/vns/engine_spec.rb index e3f379c..73d7b82 100644 --- a/spec/services/vns/engine_spec.rb +++ b/spec/services/vns/engine_spec.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2aa37f6..d405628 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/swagger_helper.rb b/spec/swagger_helper.rb index 2c53057..5ba4cce 100644 --- a/spec/swagger_helper.rb +++ b/spec/swagger_helper.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/swagger_response_helper.rb b/spec/swagger_response_helper.rb index b3f3e0b..09df9a1 100644 --- a/spec/swagger_response_helper.rb +++ b/spec/swagger_response_helper.rb @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Manuel Bustillo +# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true From 91bbae1c63f3ea8346c59230a2ca635a54e3bda2 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Mon, 13 Jan 2025 20:38:47 +0000 Subject: [PATCH 7/7] Add copyright notice --- app/channels/application_cable/channel.rb | 2 ++ app/channels/application_cable/connection.rb | 2 ++ app/controllers/affinities_controller.rb | 2 ++ app/controllers/application_controller.rb | 2 ++ app/controllers/captcha_controller.rb | 2 ++ app/controllers/expenses_controller.rb | 2 ++ app/controllers/groups_controller.rb | 2 ++ app/controllers/guests_controller.rb | 2 ++ app/controllers/summary_controller.rb | 2 ++ app/controllers/tables_arrangements_controller.rb | 2 ++ app/controllers/tokens_controller.rb | 2 ++ app/controllers/users/confirmations_controller.rb | 2 ++ app/controllers/users/registrations_controller.rb | 2 ++ app/controllers/users/sessions_controller.rb | 2 ++ app/extensions/tree_node_extension.rb | 2 ++ app/helpers/application_helper.rb | 2 ++ app/helpers/expenses_helper.rb | 2 ++ app/helpers/groups_helper.rb | 2 ++ app/helpers/guests_helper.rb | 2 ++ app/helpers/tables_arrangements_helper.rb | 2 ++ app/jobs/application_job.rb | 2 ++ app/jobs/table_simulator_job.rb | 2 ++ app/mailers/application_mailer.rb | 2 ++ app/models/application_record.rb | 2 ++ app/models/expense.rb | 2 ++ app/models/group.rb | 2 ++ app/models/group_affinity.rb | 2 ++ app/models/guest.rb | 2 ++ app/models/seat.rb | 2 ++ app/models/tables_arrangement.rb | 2 ++ app/models/user.rb | 2 ++ app/models/wedding.rb | 2 ++ app/queries/expenses/total_query.rb | 2 ++ app/queries/groups/summary_query.rb | 2 ++ app/serializers/serializable_group.rb | 2 ++ app/serializers/serializable_guest.rb | 2 ++ app/services/affinity_groups_hierarchy.rb | 2 ++ app/services/libre_captcha.rb | 2 ++ app/services/tables/discomfort_calculator.rb | 2 ++ app/services/tables/distribution.rb | 2 ++ app/services/tables/shift.rb | 2 ++ app/services/tables/swap.rb | 2 ++ app/services/tables/table.rb | 2 ++ app/services/vns/engine.rb | 2 ++ app/views/layouts/mailer.html.erb | 2 ++ app/views/layouts/mailer.text.erb | 2 ++ app/views/users/mailer/confirmation_instructions.html.erb | 2 ++ app/views/users/mailer/email_changed.html.erb | 2 ++ app/views/users/mailer/password_change.html.erb | 2 ++ app/views/users/mailer/reset_password_instructions.html.erb | 2 ++ app/views/users/mailer/unlock_instructions.html.erb | 2 ++ config/application.rb | 2 ++ config/boot.rb | 2 ++ config/environment.rb | 2 ++ config/environments/development.rb | 2 ++ config/environments/production.rb | 2 ++ config/environments/test.rb | 2 ++ config/importmap.rb | 2 ++ config/initializers/acts_as_tenant.rb | 2 ++ config/initializers/assets.rb | 2 ++ config/initializers/colors.rb | 2 ++ config/initializers/content_security_policy.rb | 2 ++ config/initializers/cors.rb | 2 ++ config/initializers/devise.rb | 2 ++ config/initializers/filter_parameter_logging.rb | 2 ++ config/initializers/inflections.rb | 2 ++ config/initializers/permissions_policy.rb | 2 ++ config/initializers/rswag_api.rb | 2 ++ config/initializers/rswag_ui.rb | 2 ++ config/initializers/ruby_extensions.rb | 2 ++ config/puma.rb | 2 ++ config/routes.rb | 2 ++ db/migrate/20240711175425_create_expenses.rb | 2 ++ db/migrate/20240711180753_create_guests.rb | 2 ++ ..._acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb | 2 ++ ...627_add_missing_unique_indices.acts_as_taggable_on_engine.rb | 2 ++ ...taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb | 2 ++ ...629_add_missing_taggable_index.acts_as_taggable_on_engine.rb | 2 ++ ...change_collation_for_tag_names.acts_as_taggable_on_engine.rb | 2 ++ ...dd_missing_indexes_on_taggings.acts_as_taggable_on_engine.rb | 2 ++ ...1181632_add_tenant_to_taggings.acts_as_taggable_on_engine.rb | 2 ++ db/migrate/20240724181756_create_tables_arrangements.rb | 2 ++ db/migrate/20240724181853_create_seats.rb | 2 ++ db/migrate/20240811142121_create_groups.rb | 2 ++ db/migrate/20240811143801_add_parent_to_group.rb | 2 ++ db/migrate/20240811154115_add_group_to_guest.rb | 2 ++ db/migrate/20240811170021_add_status_to_guest.rb | 2 ++ db/migrate/20241101181052_drop_taggable_tables.rb | 2 ++ db/migrate/20241103072808_add_name_to_tables_arrangements.rb | 2 ++ db/migrate/20241103075705_solid_queue_install.rb | 2 ++ db/migrate/20241103093955_remove_email_from_guests.rb | 2 ++ db/migrate/20241103133122_add_color_to_group.rb | 2 ++ db/migrate/20241111063741_merge_guest_names.rb | 2 ++ db/migrate/20241130095753_devise_create_users.rb | 2 ++ db/migrate/20241130182228_create_weddings.rb | 2 ++ db/migrate/20241130185731_add_wedding_id_to_models.rb | 2 ++ db/migrate/20241207112305_remove_wedding_date.rb | 2 ++ db/migrate/20241208102932_allow_ungrouped_guests.rb | 2 ++ db/migrate/20241216231415_create_group_affinities.rb | 2 ++ db/queue_schema.rb | 2 ++ db/schema.rb | 2 ++ db/seeds.rb | 2 ++ spec/extensions/tree_spec.rb | 2 ++ spec/factories/expense.rb | 2 ++ spec/factories/group_affinities.rb | 2 ++ spec/factories/groups.rb | 2 ++ spec/factories/guest.rb | 2 ++ spec/factories/table_arrangement.rb | 2 ++ spec/factories/users.rb | 2 ++ spec/factories/weddings.rb | 2 ++ spec/models/expense_spec.rb | 2 ++ spec/models/group_affinity_spec.rb | 2 ++ spec/models/group_spec.rb | 2 ++ spec/models/guest_spec.rb | 2 ++ spec/models/seat_spec.rb | 2 ++ spec/models/tables_arrangement_spec.rb | 2 ++ spec/models/user_spec.rb | 2 ++ spec/models/wedding_spec.rb | 2 ++ spec/queries/expenses/total_query_spec.rb | 2 ++ spec/queries/groups/summary_query_spec.rb | 2 ++ spec/rails_helper.rb | 2 ++ spec/requests/affinities_spec.rb | 2 ++ spec/requests/captcha_spec.rb | 2 ++ spec/requests/expenses_spec.rb | 2 ++ spec/requests/groups_spec.rb | 2 ++ spec/requests/guests_spec.rb | 2 ++ spec/requests/schemas.rb | 2 ++ spec/requests/summary_spec.rb | 2 ++ spec/requests/tables_arrangements_spec.rb | 2 ++ spec/requests/tokens_spec.rb | 2 ++ spec/requests/users/confirmations_spec.rb | 2 ++ spec/requests/users/registrations_spec.rb | 2 ++ spec/requests/users/sessions_spec.rb | 2 ++ spec/services/tables/discomfort_calculator_spec.rb | 2 ++ spec/services/tables/distribution_spec.rb | 2 ++ spec/services/tables/shift_spec.rb | 2 ++ spec/services/tables/swap_spec.rb | 2 ++ spec/services/vns/engine_spec.rb | 2 ++ spec/spec_helper.rb | 2 ++ spec/swagger_helper.rb | 2 ++ spec/swagger_response_helper.rb | 2 ++ 141 files changed, 282 insertions(+) diff --git a/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb index 88942fe..716be35 100644 --- a/app/channels/application_cable/channel.rb +++ b/app/channels/application_cable/channel.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb index ab575d6..286b699 100644 --- a/app/channels/application_cable/connection.rb +++ b/app/channels/application_cable/connection.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/affinities_controller.rb b/app/controllers/affinities_controller.rb index a62288c..00876b9 100644 --- a/app/controllers/affinities_controller.rb +++ b/app/controllers/affinities_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 025dc85..a73aa87 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/captcha_controller.rb b/app/controllers/captcha_controller.rb index 6c3f3ca..98fcbcb 100644 --- a/app/controllers/captcha_controller.rb +++ b/app/controllers/captcha_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/expenses_controller.rb b/app/controllers/expenses_controller.rb index 8b00ddb..093d691 100644 --- a/app/controllers/expenses_controller.rb +++ b/app/controllers/expenses_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 08334aa..8baa833 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/guests_controller.rb b/app/controllers/guests_controller.rb index 9778795..7aee16d 100644 --- a/app/controllers/guests_controller.rb +++ b/app/controllers/guests_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/summary_controller.rb b/app/controllers/summary_controller.rb index 0d3f655..9481a47 100644 --- a/app/controllers/summary_controller.rb +++ b/app/controllers/summary_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/tables_arrangements_controller.rb b/app/controllers/tables_arrangements_controller.rb index c09d453..76a6774 100644 --- a/app/controllers/tables_arrangements_controller.rb +++ b/app/controllers/tables_arrangements_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/tokens_controller.rb b/app/controllers/tokens_controller.rb index a0ee546..4b71df3 100644 --- a/app/controllers/tokens_controller.rb +++ b/app/controllers/tokens_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/users/confirmations_controller.rb b/app/controllers/users/confirmations_controller.rb index 01eb91e..c078a1a 100644 --- a/app/controllers/users/confirmations_controller.rb +++ b/app/controllers/users/confirmations_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/users/registrations_controller.rb b/app/controllers/users/registrations_controller.rb index f261e90..2a25268 100644 --- a/app/controllers/users/registrations_controller.rb +++ b/app/controllers/users/registrations_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/controllers/users/sessions_controller.rb b/app/controllers/users/sessions_controller.rb index 4d7b6a8..8464417 100644 --- a/app/controllers/users/sessions_controller.rb +++ b/app/controllers/users/sessions_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/extensions/tree_node_extension.rb b/app/extensions/tree_node_extension.rb index 6894dd7..443c658 100644 --- a/app/extensions/tree_node_extension.rb +++ b/app/extensions/tree_node_extension.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 9dbd98c..d0c1baa 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/helpers/expenses_helper.rb b/app/helpers/expenses_helper.rb index 0b8c324..05513f7 100644 --- a/app/helpers/expenses_helper.rb +++ b/app/helpers/expenses_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index feda408..85d797b 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/helpers/guests_helper.rb b/app/helpers/guests_helper.rb index 369b8ed..639cf38 100644 --- a/app/helpers/guests_helper.rb +++ b/app/helpers/guests_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/helpers/tables_arrangements_helper.rb b/app/helpers/tables_arrangements_helper.rb index 6353e46..a039c6e 100644 --- a/app/helpers/tables_arrangements_helper.rb +++ b/app/helpers/tables_arrangements_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb index 561fb56..62fb66f 100644 --- a/app/jobs/application_job.rb +++ b/app/jobs/application_job.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/jobs/table_simulator_job.rb b/app/jobs/table_simulator_job.rb index 51b7256..56a59d0 100644 --- a/app/jobs/table_simulator_job.rb +++ b/app/jobs/table_simulator_job.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index b28db31..706222d 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/application_record.rb b/app/models/application_record.rb index 61b9d31..d6fee04 100644 --- a/app/models/application_record.rb +++ b/app/models/application_record.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/expense.rb b/app/models/expense.rb index 66b32f3..f810d1c 100644 --- a/app/models/expense.rb +++ b/app/models/expense.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/group.rb b/app/models/group.rb index 2db28ed..92d88a6 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/group_affinity.rb b/app/models/group_affinity.rb index 8e70d59..b94e0c5 100644 --- a/app/models/group_affinity.rb +++ b/app/models/group_affinity.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/guest.rb b/app/models/guest.rb index ad0542f..c9eb0b0 100644 --- a/app/models/guest.rb +++ b/app/models/guest.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/seat.rb b/app/models/seat.rb index 9c31c42..71e9d77 100644 --- a/app/models/seat.rb +++ b/app/models/seat.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/tables_arrangement.rb b/app/models/tables_arrangement.rb index adece9a..3e6aef9 100644 --- a/app/models/tables_arrangement.rb +++ b/app/models/tables_arrangement.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/user.rb b/app/models/user.rb index ff46fff..d263c97 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/models/wedding.rb b/app/models/wedding.rb index 83525b5..4368c50 100644 --- a/app/models/wedding.rb +++ b/app/models/wedding.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/queries/expenses/total_query.rb b/app/queries/expenses/total_query.rb index ae4fe65..0ba9f5f 100644 --- a/app/queries/expenses/total_query.rb +++ b/app/queries/expenses/total_query.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/queries/groups/summary_query.rb b/app/queries/groups/summary_query.rb index 81c91b4..e1b7138 100644 --- a/app/queries/groups/summary_query.rb +++ b/app/queries/groups/summary_query.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/serializers/serializable_group.rb b/app/serializers/serializable_group.rb index b3e2258..4572c78 100644 --- a/app/serializers/serializable_group.rb +++ b/app/serializers/serializable_group.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/serializers/serializable_guest.rb b/app/serializers/serializable_guest.rb index ee4bac1..3e95236 100644 --- a/app/serializers/serializable_guest.rb +++ b/app/serializers/serializable_guest.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/affinity_groups_hierarchy.rb b/app/services/affinity_groups_hierarchy.rb index ef47845..783c7ed 100644 --- a/app/services/affinity_groups_hierarchy.rb +++ b/app/services/affinity_groups_hierarchy.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/libre_captcha.rb b/app/services/libre_captcha.rb index a3843da..d644ba2 100644 --- a/app/services/libre_captcha.rb +++ b/app/services/libre_captcha.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/tables/discomfort_calculator.rb b/app/services/tables/discomfort_calculator.rb index adae828..bd35087 100644 --- a/app/services/tables/discomfort_calculator.rb +++ b/app/services/tables/discomfort_calculator.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/tables/distribution.rb b/app/services/tables/distribution.rb index aca8618..7b4762f 100644 --- a/app/services/tables/distribution.rb +++ b/app/services/tables/distribution.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/tables/shift.rb b/app/services/tables/shift.rb index d5592d9..45e7150 100644 --- a/app/services/tables/shift.rb +++ b/app/services/tables/shift.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/tables/swap.rb b/app/services/tables/swap.rb index 04abc18..230959d 100644 --- a/app/services/tables/swap.rb +++ b/app/services/tables/swap.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/tables/table.rb b/app/services/tables/table.rb index cc05ea0..3628c49 100644 --- a/app/services/tables/table.rb +++ b/app/services/tables/table.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/services/vns/engine.rb b/app/services/vns/engine.rb index d66c80b..fe1ff91 100644 --- a/app/services/vns/engine.rb +++ b/app/services/vns/engine.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index 32b0c16..4eee621 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -1,3 +1,5 @@ +<%# 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 9bdce1a..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 cd3b2f1..688f1bc 100644 --- a/app/views/users/mailer/confirmation_instructions.html.erb +++ b/app/views/users/mailer/confirmation_instructions.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024 Manuel Bustillo %> + <%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %>

Welcome <%= @email %>!

diff --git a/app/views/users/mailer/email_changed.html.erb b/app/views/users/mailer/email_changed.html.erb index f5f2998..8935bc0 100644 --- a/app/views/users/mailer/email_changed.html.erb +++ b/app/views/users/mailer/email_changed.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024 Manuel Bustillo %> + <%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %>

Hello <%= @email %>!

diff --git a/app/views/users/mailer/password_change.html.erb b/app/views/users/mailer/password_change.html.erb index 1181727..3d72a19 100644 --- a/app/views/users/mailer/password_change.html.erb +++ b/app/views/users/mailer/password_change.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024 Manuel Bustillo %> + <%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %>

Hello <%= @resource.email %>!

diff --git a/app/views/users/mailer/reset_password_instructions.html.erb b/app/views/users/mailer/reset_password_instructions.html.erb index 95bc588..fc45ec9 100644 --- a/app/views/users/mailer/reset_password_instructions.html.erb +++ b/app/views/users/mailer/reset_password_instructions.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024 Manuel Bustillo %> + <%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %>

Hello <%= @resource.email %>!

diff --git a/app/views/users/mailer/unlock_instructions.html.erb b/app/views/users/mailer/unlock_instructions.html.erb index 3efb341..fddd365 100644 --- a/app/views/users/mailer/unlock_instructions.html.erb +++ b/app/views/users/mailer/unlock_instructions.html.erb @@ -1,3 +1,5 @@ +<%# Copyright (C) 2024 Manuel Bustillo %> + <%# Copyright (C) 2024-2025 LibreWeddingPlanner contributors %>

Hello <%= @resource.email %>!

diff --git a/config/application.rb b/config/application.rb index 1795a6f..32fbf95 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors require_relative 'boot' diff --git a/config/boot.rb b/config/boot.rb index 4bebfef..59676bc 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) diff --git a/config/environment.rb b/config/environment.rb index 49c0fb1..df4bf2e 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Load the Rails application. diff --git a/config/environments/development.rb b/config/environments/development.rb index 232e88e..b0f2198 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors require "active_support/core_ext/integer/time" diff --git a/config/environments/production.rb b/config/environments/production.rb index 4db7dca..59e22d6 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors require "active_support/core_ext/integer/time" diff --git a/config/environments/test.rb b/config/environments/test.rb index 0982e19..28b85d7 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors require "active_support/core_ext/integer/time" diff --git a/config/importmap.rb b/config/importmap.rb index 7ec75cd..19991f1 100644 --- a/config/importmap.rb +++ b/config/importmap.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Pin npm packages by running ./bin/importmap diff --git a/config/initializers/acts_as_tenant.rb b/config/initializers/acts_as_tenant.rb index fd8890d..72510c4 100644 --- a/config/initializers/acts_as_tenant.rb +++ b/config/initializers/acts_as_tenant.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors ActsAsTenant.configure do |config| diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index 4772d1a..8e722ce 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Be sure to restart your server when you modify this file. diff --git a/config/initializers/colors.rb b/config/initializers/colors.rb index ea065fa..f1bbdd2 100644 --- a/config/initializers/colors.rb +++ b/config/initializers/colors.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors Chroma.define_palette :decreasing_saturation do diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb index 8798db8..3f9221f 100644 --- a/config/initializers/content_security_policy.rb +++ b/config/initializers/content_security_policy.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Be sure to restart your server when you modify this file. diff --git a/config/initializers/cors.rb b/config/initializers/cors.rb index ce186ed..565fe09 100644 --- a/config/initializers/cors.rb +++ b/config/initializers/cors.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # config/initializers/cors.rb diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 3977aa9..0ecbf5e 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb index 1be5be3..e184d9a 100644 --- a/config/initializers/filter_parameter_logging.rb +++ b/config/initializers/filter_parameter_logging.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Be sure to restart your server when you modify this file. diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb index 2a6b3c4..0f9a0ea 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Be sure to restart your server when you modify this file. diff --git a/config/initializers/permissions_policy.rb b/config/initializers/permissions_policy.rb index f281e9b..af956f8 100644 --- a/config/initializers/permissions_policy.rb +++ b/config/initializers/permissions_policy.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Be sure to restart your server when you modify this file. diff --git a/config/initializers/rswag_api.rb b/config/initializers/rswag_api.rb index 42deb17..4c11988 100644 --- a/config/initializers/rswag_api.rb +++ b/config/initializers/rswag_api.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors Rswag::Api.configure do |c| diff --git a/config/initializers/rswag_ui.rb b/config/initializers/rswag_ui.rb index a50e133..dec08ce 100644 --- a/config/initializers/rswag_ui.rb +++ b/config/initializers/rswag_ui.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors Rswag::Ui.configure do |c| diff --git a/config/initializers/ruby_extensions.rb b/config/initializers/ruby_extensions.rb index 47091de..9fb7af1 100644 --- a/config/initializers/ruby_extensions.rb +++ b/config/initializers/ruby_extensions.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class Numeric diff --git a/config/puma.rb b/config/puma.rb index 128df0b..3d8dbc2 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # This configuration file will be evaluated by Puma. The top-level methods that diff --git a/config/routes.rb b/config/routes.rb index bb2be8f..cf97731 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors Rails.application.routes.draw do diff --git a/db/migrate/20240711175425_create_expenses.rb b/db/migrate/20240711175425_create_expenses.rb index 52fa269..1538790 100644 --- a/db/migrate/20240711175425_create_expenses.rb +++ b/db/migrate/20240711175425_create_expenses.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateExpenses < ActiveRecord::Migration[7.1] diff --git a/db/migrate/20240711180753_create_guests.rb b/db/migrate/20240711180753_create_guests.rb index d2f876a..6597d34 100644 --- a/db/migrate/20240711180753_create_guests.rb +++ b/db/migrate/20240711180753_create_guests.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateGuests < ActiveRecord::Migration[7.1] 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 f1709ca..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,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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 a1f7d1c..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,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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 078b0c0..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,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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 126aa38..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,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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 fec8036..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,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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 5f98782..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,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true 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 16fc678..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,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/db/migrate/20240724181756_create_tables_arrangements.rb b/db/migrate/20240724181756_create_tables_arrangements.rb index 81defbc..ed278c8 100644 --- a/db/migrate/20240724181756_create_tables_arrangements.rb +++ b/db/migrate/20240724181756_create_tables_arrangements.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateTablesArrangements < ActiveRecord::Migration[7.1] diff --git a/db/migrate/20240724181853_create_seats.rb b/db/migrate/20240724181853_create_seats.rb index a4fa0ae..462df84 100644 --- a/db/migrate/20240724181853_create_seats.rb +++ b/db/migrate/20240724181853_create_seats.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateSeats < ActiveRecord::Migration[7.1] diff --git a/db/migrate/20240811142121_create_groups.rb b/db/migrate/20240811142121_create_groups.rb index cad993a..8380c36 100644 --- a/db/migrate/20240811142121_create_groups.rb +++ b/db/migrate/20240811142121_create_groups.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateGroups < ActiveRecord::Migration[7.1] diff --git a/db/migrate/20240811143801_add_parent_to_group.rb b/db/migrate/20240811143801_add_parent_to_group.rb index 868ea79..fc4a881 100644 --- a/db/migrate/20240811143801_add_parent_to_group.rb +++ b/db/migrate/20240811143801_add_parent_to_group.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddParentToGroup < ActiveRecord::Migration[7.1] diff --git a/db/migrate/20240811154115_add_group_to_guest.rb b/db/migrate/20240811154115_add_group_to_guest.rb index b7df5aa..ff88298 100644 --- a/db/migrate/20240811154115_add_group_to_guest.rb +++ b/db/migrate/20240811154115_add_group_to_guest.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddGroupToGuest < ActiveRecord::Migration[7.1] diff --git a/db/migrate/20240811170021_add_status_to_guest.rb b/db/migrate/20240811170021_add_status_to_guest.rb index ec92086..09a2a9e 100644 --- a/db/migrate/20240811170021_add_status_to_guest.rb +++ b/db/migrate/20240811170021_add_status_to_guest.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddStatusToGuest < ActiveRecord::Migration[7.1] diff --git a/db/migrate/20241101181052_drop_taggable_tables.rb b/db/migrate/20241101181052_drop_taggable_tables.rb index 1ece831..6787951 100644 --- a/db/migrate/20241101181052_drop_taggable_tables.rb +++ b/db/migrate/20241101181052_drop_taggable_tables.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class DropTaggableTables < ActiveRecord::Migration[7.2] diff --git a/db/migrate/20241103072808_add_name_to_tables_arrangements.rb b/db/migrate/20241103072808_add_name_to_tables_arrangements.rb index 1893200..3bd57a2 100644 --- a/db/migrate/20241103072808_add_name_to_tables_arrangements.rb +++ b/db/migrate/20241103072808_add_name_to_tables_arrangements.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddNameToTablesArrangements < ActiveRecord::Migration[7.2] diff --git a/db/migrate/20241103075705_solid_queue_install.rb b/db/migrate/20241103075705_solid_queue_install.rb index fcd7627..ca9e45e 100644 --- a/db/migrate/20241103075705_solid_queue_install.rb +++ b/db/migrate/20241103075705_solid_queue_install.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class SolidQueueInstall < ActiveRecord::Migration[7.2] diff --git a/db/migrate/20241103093955_remove_email_from_guests.rb b/db/migrate/20241103093955_remove_email_from_guests.rb index cde2f00..a6f9798 100644 --- a/db/migrate/20241103093955_remove_email_from_guests.rb +++ b/db/migrate/20241103093955_remove_email_from_guests.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class RemoveEmailFromGuests < ActiveRecord::Migration[7.2] diff --git a/db/migrate/20241103133122_add_color_to_group.rb b/db/migrate/20241103133122_add_color_to_group.rb index a031638..30218e3 100644 --- a/db/migrate/20241103133122_add_color_to_group.rb +++ b/db/migrate/20241103133122_add_color_to_group.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddColorToGroup < ActiveRecord::Migration[7.2] diff --git a/db/migrate/20241111063741_merge_guest_names.rb b/db/migrate/20241111063741_merge_guest_names.rb index 3b2690c..90d5e82 100644 --- a/db/migrate/20241111063741_merge_guest_names.rb +++ b/db/migrate/20241111063741_merge_guest_names.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class MergeGuestNames < ActiveRecord::Migration[8.0] diff --git a/db/migrate/20241130095753_devise_create_users.rb b/db/migrate/20241130095753_devise_create_users.rb index efdddef..496e3fc 100644 --- a/db/migrate/20241130095753_devise_create_users.rb +++ b/db/migrate/20241130095753_devise_create_users.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/db/migrate/20241130182228_create_weddings.rb b/db/migrate/20241130182228_create_weddings.rb index 857b63e..77ada38 100644 --- a/db/migrate/20241130182228_create_weddings.rb +++ b/db/migrate/20241130182228_create_weddings.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateWeddings < ActiveRecord::Migration[8.0] diff --git a/db/migrate/20241130185731_add_wedding_id_to_models.rb b/db/migrate/20241130185731_add_wedding_id_to_models.rb index 85fbabf..c9b231c 100644 --- a/db/migrate/20241130185731_add_wedding_id_to_models.rb +++ b/db/migrate/20241130185731_add_wedding_id_to_models.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AddWeddingIdToModels < ActiveRecord::Migration[8.0] diff --git a/db/migrate/20241207112305_remove_wedding_date.rb b/db/migrate/20241207112305_remove_wedding_date.rb index 5b2e987..ca28b71 100644 --- a/db/migrate/20241207112305_remove_wedding_date.rb +++ b/db/migrate/20241207112305_remove_wedding_date.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class RemoveWeddingDate < ActiveRecord::Migration[8.0] diff --git a/db/migrate/20241208102932_allow_ungrouped_guests.rb b/db/migrate/20241208102932_allow_ungrouped_guests.rb index 572a871..f567676 100644 --- a/db/migrate/20241208102932_allow_ungrouped_guests.rb +++ b/db/migrate/20241208102932_allow_ungrouped_guests.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class AllowUngroupedGuests < ActiveRecord::Migration[8.0] diff --git a/db/migrate/20241216231415_create_group_affinities.rb b/db/migrate/20241216231415_create_group_affinities.rb index 22f86c5..113d026 100644 --- a/db/migrate/20241216231415_create_group_affinities.rb +++ b/db/migrate/20241216231415_create_group_affinities.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors class CreateGroupAffinities < ActiveRecord::Migration[8.0] diff --git a/db/queue_schema.rb b/db/queue_schema.rb index 41a41b0..149f41f 100644 --- a/db/queue_schema.rb +++ b/db/queue_schema.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors ActiveRecord::Schema[7.1].define(version: 1) do diff --git a/db/schema.rb b/db/schema.rb index 11aa68c..cfc1383 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # This file is auto-generated from the current state of the database. Instead diff --git a/db/seeds.rb b/db/seeds.rb index fcf5ec3..e61f33b 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors NUMBER_OF_GUESTS = 50 diff --git a/spec/extensions/tree_spec.rb b/spec/extensions/tree_spec.rb index 4b45e26..937a0fe 100644 --- a/spec/extensions/tree_spec.rb +++ b/spec/extensions/tree_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/factories/expense.rb b/spec/factories/expense.rb index c722f78..ceaf501 100644 --- a/spec/factories/expense.rb +++ b/spec/factories/expense.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/factories/group_affinities.rb b/spec/factories/group_affinities.rb index ca83cb9..c33de53 100644 --- a/spec/factories/group_affinities.rb +++ b/spec/factories/group_affinities.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/factories/groups.rb b/spec/factories/groups.rb index de8d929..f19ba72 100644 --- a/spec/factories/groups.rb +++ b/spec/factories/groups.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/factories/guest.rb b/spec/factories/guest.rb index f80c7ac..a1f284a 100644 --- a/spec/factories/guest.rb +++ b/spec/factories/guest.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/factories/table_arrangement.rb b/spec/factories/table_arrangement.rb index 3f447ed..86ddddf 100644 --- a/spec/factories/table_arrangement.rb +++ b/spec/factories/table_arrangement.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/factories/users.rb b/spec/factories/users.rb index 8e7f582..cc49d11 100644 --- a/spec/factories/users.rb +++ b/spec/factories/users.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/factories/weddings.rb b/spec/factories/weddings.rb index a1959c6..de994c8 100644 --- a/spec/factories/weddings.rb +++ b/spec/factories/weddings.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/models/expense_spec.rb b/spec/models/expense_spec.rb index c48bc93..9a8fc47 100644 --- a/spec/models/expense_spec.rb +++ b/spec/models/expense_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/models/group_affinity_spec.rb b/spec/models/group_affinity_spec.rb index 8afd2c6..5469d27 100644 --- a/spec/models/group_affinity_spec.rb +++ b/spec/models/group_affinity_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index 73185ca..d7ec456 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/models/guest_spec.rb b/spec/models/guest_spec.rb index e1f7ad6..ed526e8 100644 --- a/spec/models/guest_spec.rb +++ b/spec/models/guest_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/models/seat_spec.rb b/spec/models/seat_spec.rb index 5a7ddb4..da5c17f 100644 --- a/spec/models/seat_spec.rb +++ b/spec/models/seat_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/models/tables_arrangement_spec.rb b/spec/models/tables_arrangement_spec.rb index 6bdbb55..b216b18 100644 --- a/spec/models/tables_arrangement_spec.rb +++ b/spec/models/tables_arrangement_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 274c031..9f69608 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/models/wedding_spec.rb b/spec/models/wedding_spec.rb index acc5c4c..735255d 100644 --- a/spec/models/wedding_spec.rb +++ b/spec/models/wedding_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors diff --git a/spec/queries/expenses/total_query_spec.rb b/spec/queries/expenses/total_query_spec.rb index f1c2c4f..e3f16c4 100644 --- a/spec/queries/expenses/total_query_spec.rb +++ b/spec/queries/expenses/total_query_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/queries/groups/summary_query_spec.rb b/spec/queries/groups/summary_query_spec.rb index 6300724..cb3b7fe 100644 --- a/spec/queries/groups/summary_query_spec.rb +++ b/spec/queries/groups/summary_query_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index faf5740..653bbf9 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/affinities_spec.rb b/spec/requests/affinities_spec.rb index 95e4b13..2adad02 100644 --- a/spec/requests/affinities_spec.rb +++ b/spec/requests/affinities_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/captcha_spec.rb b/spec/requests/captcha_spec.rb index e3f49cf..e1f2fea 100644 --- a/spec/requests/captcha_spec.rb +++ b/spec/requests/captcha_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/expenses_spec.rb b/spec/requests/expenses_spec.rb index 1f064d6..e6defe4 100644 --- a/spec/requests/expenses_spec.rb +++ b/spec/requests/expenses_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/groups_spec.rb b/spec/requests/groups_spec.rb index 2e9d5ac..49d121b 100644 --- a/spec/requests/groups_spec.rb +++ b/spec/requests/groups_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/guests_spec.rb b/spec/requests/guests_spec.rb index 0ecd72f..40a6686 100644 --- a/spec/requests/guests_spec.rb +++ b/spec/requests/guests_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/schemas.rb b/spec/requests/schemas.rb index 549834e..3fd49f2 100644 --- a/spec/requests/schemas.rb +++ b/spec/requests/schemas.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/summary_spec.rb b/spec/requests/summary_spec.rb index d6a1f85..3dc6ac0 100644 --- a/spec/requests/summary_spec.rb +++ b/spec/requests/summary_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/tables_arrangements_spec.rb b/spec/requests/tables_arrangements_spec.rb index 4e87cb2..cf48cac 100644 --- a/spec/requests/tables_arrangements_spec.rb +++ b/spec/requests/tables_arrangements_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/tokens_spec.rb b/spec/requests/tokens_spec.rb index a6aac2e..b5b9cf7 100644 --- a/spec/requests/tokens_spec.rb +++ b/spec/requests/tokens_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/users/confirmations_spec.rb b/spec/requests/users/confirmations_spec.rb index 492f6f3..d76d53a 100644 --- a/spec/requests/users/confirmations_spec.rb +++ b/spec/requests/users/confirmations_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/users/registrations_spec.rb b/spec/requests/users/registrations_spec.rb index e55d4c8..064d28e 100644 --- a/spec/requests/users/registrations_spec.rb +++ b/spec/requests/users/registrations_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/requests/users/sessions_spec.rb b/spec/requests/users/sessions_spec.rb index 60b49e1..61c2662 100644 --- a/spec/requests/users/sessions_spec.rb +++ b/spec/requests/users/sessions_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/services/tables/discomfort_calculator_spec.rb b/spec/services/tables/discomfort_calculator_spec.rb index 5597dd1..81633d7 100644 --- a/spec/services/tables/discomfort_calculator_spec.rb +++ b/spec/services/tables/discomfort_calculator_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/services/tables/distribution_spec.rb b/spec/services/tables/distribution_spec.rb index e598a52..a427f40 100644 --- a/spec/services/tables/distribution_spec.rb +++ b/spec/services/tables/distribution_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/services/tables/shift_spec.rb b/spec/services/tables/shift_spec.rb index 39e07f8..67a4d5d 100644 --- a/spec/services/tables/shift_spec.rb +++ b/spec/services/tables/shift_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/services/tables/swap_spec.rb b/spec/services/tables/swap_spec.rb index d8db4a7..ae9e974 100644 --- a/spec/services/tables/swap_spec.rb +++ b/spec/services/tables/swap_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/services/vns/engine_spec.rb b/spec/services/vns/engine_spec.rb index 73d7b82..c8d489d 100644 --- a/spec/services/vns/engine_spec.rb +++ b/spec/services/vns/engine_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d405628..f5a5a59 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/swagger_helper.rb b/spec/swagger_helper.rb index 5ba4cce..bbf6c7f 100644 --- a/spec/swagger_helper.rb +++ b/spec/swagger_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true diff --git a/spec/swagger_response_helper.rb b/spec/swagger_response_helper.rb index 09df9a1..c13d8a8 100644 --- a/spec/swagger_response_helper.rb +++ b/spec/swagger_response_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # Copyright (C) 2024-2025 LibreWeddingPlanner contributors # frozen_string_literal: true