[openSUSE/open-build-service] 998f12: Split setting configuration title and host variabl...

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 998f12fa4e3509b18c3084569187a1a1469a36ac https://github.com/openSUSE/open-build-service/commit/998f12fa4e3509b18c3084... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/event_mailer.rb M src/api/app/views/layouts/event_mailer.html.haml M src/api/app/views/layouts/event_mailer.text.erb Log Message: ----------- Split setting configuration title and host variables used in mailers Commit: 0241e4fefde3aa5f78cfaa9de8e60239c3f5fb00 https://github.com/openSUSE/open-build-service/commit/0241e4fefde3aa5f78cfaa... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/admin_mailer.rb Log Message: ----------- Remove not needed assignment The @configuration variable is not used in views of mails to administrators. Commit: 86a0dbea75817d8a56dcb6c8625fd78732469202 https://github.com/openSUSE/open-build-service/commit/86a0dbea75817d8a56dcb6... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/event_mailer.rb Log Message: ----------- Use default method to set headers instead of a before filter Commit: 179113fffe92c101bcc4395827c17c2441604198 https://github.com/openSUSE/open-build-service/commit/179113fffe92c101bcc439... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/admin_mailer.rb M src/api/app/mailers/consistency_mailer.rb Log Message: ----------- Set headers using the default method Extract the set_headers action into setting the default headers and setting the host. Commit: 79dfba4bba476e952c120d6a09aa815e643d8e6a https://github.com/openSUSE/open-build-service/commit/79dfba4bba476e952c120d... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/admin_mailer.rb Log Message: ----------- Move non actions methods to the private section Commit: 0395635a5a4a7dda706134595749929a26bb8726 https://github.com/openSUSE/open-build-service/commit/0395635a5a4a7dda706134... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/admin_mailer.rb M src/api/app/mailers/consistency_mailer.rb Log Message: ----------- Set host in a a before_action callback Commit: 417635044713759c91289f76203118f1e35976af https://github.com/openSUSE/open-build-service/commit/417635044713759c91289f... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/.rubocop_todo.yml M src/api/app/mailers/admin_mailer.rb A src/api/app/mailers/application_mailer.rb M src/api/app/mailers/event_mailer.rb Log Message: ----------- Extract common configuration to a base application mailer Commit: dd71cc89a8eee840c240df1e65327f63be3c7aef https://github.com/openSUSE/open-build-service/commit/dd71cc89a8eee840c240df... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/admin_mailer.rb M src/api/app/mailers/application_mailer.rb M src/api/app/mailers/event_mailer.rb M src/api/test/fixtures/event_mailer/repo_delete_request M src/api/test/fixtures/event_mailer/request_event M src/api/test/fixtures/event_mailer/set_bugowner_event M src/api/test/fixtures/event_mailer/tom_declined M src/api/test/fixtures/event_mailer/tom_gets_mail_too Log Message: ----------- Move setting headers with variable parts to before_action callbacks Commit: e2145b07d0020302c2ae9d2c6204be9cd7752969 https://github.com/openSUSE/open-build-service/commit/e2145b07d0020302c2ae9d... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/.rubocop_todo.yml M src/api/app/mailers/admin_mailer.rb A src/api/app/mailers/application_mailer.rb M src/api/app/mailers/consistency_mailer.rb M src/api/app/mailers/event_mailer.rb M src/api/app/views/layouts/event_mailer.html.haml M src/api/app/views/layouts/event_mailer.text.erb M src/api/test/fixtures/event_mailer/repo_delete_request M src/api/test/fixtures/event_mailer/request_event M src/api/test/fixtures/event_mailer/set_bugowner_event M src/api/test/fixtures/event_mailer/tom_declined M src/api/test/fixtures/event_mailer/tom_gets_mail_too Log Message: ----------- Merge pull request #16837 from eduardoj/refactoring/action_mailer Refactoring of action mailers Compare: https://github.com/openSUSE/open-build-service/compare/a6b4dac123c6...e2145b... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications
participants (1)
-
Dani Donisa