Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 3b539c8fcd3800d916b0a82032400e21a5716e5d
https://github.com/openSUSE/open-build-service/commit/3b539c8fcd3800d916b0a8...
Author: Eduardo Navarro
Date: 2024-05-21 (Tue, 21 May 2024)
Changed paths:
M src/api/app/models/concerns/configuration_constants.rb
M src/api/app/models/configuration.rb
M src/api/spec/models/configuration_spec.rb
Log Message:
-----------
Move some configuration methods to class methods
We don't need to retrieve the values stored in the singleton record of
the table `configurations` in the database for none of the
`ldap_enabled?`, `proxy_auth_mode_enabled?` and `amqp_namespace`
methods.
Moving each method to the class methods section prevents from
performing unneeded database queries.
Commit: 018a29316d032e365a238736a266f55a7d123b8c
https://github.com/openSUSE/open-build-service/commit/018a29316d032e365a2387...
Author: Eduardo Navarro
Date: 2024-05-21 (Tue, 21 May 2024)
Changed paths:
M src/api/app/components/sign_up_component.html.haml
M src/api/app/components/sign_up_component.rb
M src/api/app/helpers/webui/user_helper.rb
M src/api/app/views/webui/users/edit.html.haml
Log Message:
-----------
Rewrite calls to Configuration class methods
Before, some methods were defined in the Configuration ActiveRecord
instance section. Later, those methods were moved to the class section.
Adapt the calls to those moved methods.
Commit: 1abe6b4d4c4b1deda44541966ca2eaaeda86a6b4
https://github.com/openSUSE/open-build-service/commit/1abe6b4d4c4b1deda44541...
Author: Henne Vogelsang
Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths:
M src/api/app/components/sign_up_component.html.haml
M src/api/app/components/sign_up_component.rb
M src/api/app/helpers/webui/user_helper.rb
M src/api/app/models/concerns/configuration_constants.rb
M src/api/app/models/configuration.rb
M src/api/app/views/webui/users/edit.html.haml
M src/api/spec/models/configuration_spec.rb
Log Message:
-----------
Merge pull request #16164 from eduardoj/refactoring/configuration_class_methods
Move configuration methods to class methods
Compare: https://github.com/openSUSE/open-build-service/compare/b04e67a30f75...1abe6b...
To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications