Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 497bbe8ac2ea09f57c10d822f4ddab07f77d6ba5
https://github.com/openSUSE/open-build-service/commit/497bbe8ac2ea09f57c10d8...
Author: Saray Cabrera Padrón
Date: 2022-05-19 (Thu, 19 May 2022)
Changed paths:
M src/api/app/controllers/webui/users/notifications_controller.rb
Log Message:
-----------
Send metrics for delivered notifications only
We want to track the notifications that were delivered (marked as
read), not those that changed the 'delivered' field to any value.
To do so, we need to do two bulk updates, so we distinguish which of them
changed to 'delivered = true'.
Commit: 957678833d17b3d4b2aa5b27aa7e522e0bfc97e3
https://github.com/openSUSE/open-build-service/commit/957678833d17b3d4b2aa5b...
Author: Saray Cabrera Padrón
Date: 2022-05-19 (Thu, 19 May 2022)
Changed paths:
M src/api/app/models/notification.rb
Log Message:
-----------
Send metrics for notifications delivered by API
This metric is the complement of the same metrics sent from the
notifications controller.
The metrics sent by the notifications model correspond to the API
requests, whereas the metrics sent by the controller correspond to the
UI requests (bulk update).
Commit: 848064055a5e501a1bd292a9e6f18a9221455462
https://github.com/openSUSE/open-build-service/commit/848064055a5e501a1bd292...
Author: Saray Cabrera Padrón
Date: 2022-05-19 (Thu, 19 May 2022)
Changed paths:
M src/api/spec/models/notification_spec.rb
Log Message:
-----------
Adapt specs about notifications metrics
Commit: e2ca6c9c50fb086d5a6aa8288025c45c371f1295
https://github.com/openSUSE/open-build-service/commit/e2ca6c9c50fb086d5a6aa8...
Author: Henne Vogelsang
Date: 2022-05-20 (Fri, 20 May 2022)
Changed paths:
M src/api/app/controllers/webui/users/notifications_controller.rb
M src/api/app/models/notification.rb
M src/api/spec/models/notification_spec.rb
Log Message:
-----------
Merge pull request #12586 from saraycp/fix_metrics-for_notifications
Fix metrics for notifications
Compare: https://github.com/openSUSE/open-build-service/compare/5fc8a3fc4082...e2ca6c...