Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: eeb1d71ef1b8f4f1550839c303066c90719b82d4
https://github.com/openSUSE/open-build-service/commit/eeb1d71ef1b8f4f1550839...
Author: Dani Donisa
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M src/api/app/jobs/send_event_emails_job.rb
M src/api/app/models/event/review_wanted.rb
M src/api/app/presenters/notification_presenter.rb
A src/api/app/queries/outdated_notifications_finder/bs_request.rb
A src/api/app/queries/outdated_notifications_finder/comment.rb
R src/api/app/services/notification_creator.rb
A src/api/app/services/notification_service/notifier.rb
A src/api/app/services/notification_service/rss_channel.rb
A src/api/app/services/notification_service/web_channel.rb
M src/api/config/initializers/zeitwerk.rb
M src/api/db/data/20200326221616_regenerate_notifications.rb
M src/api/spec/db/data/regenerate_notifications_spec.rb
R src/api/spec/services/notification_creator_spec.rb
A src/api/spec/services/notification_service/notifier_spec.rb
Log Message:
-----------
Clean up old or irrelevant notifications
We delete old or outdated notifications for Requests and Comments.
When someone adds a Review the notifications page will show a
notification for a Request instead.
The notifications page can get a bit crowded with notifications
sometimes.
Most of those notifications would be no longer relevant because the
latest will have the most up to date information. With this change the
notifications page will only show useful and up to date data about
your Requests.
Co-authored-by: David Kang
Co-authored-by: Lukas Krause
Commit: 17b2a6f69c0abeae9d718d48b8ae0138e719d992
https://github.com/openSUSE/open-build-service/commit/17b2a6f69c0abeae9d718d...
Author: Dani Donisa
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M src/api/app/models/review.rb
Log Message:
-----------
Fix notifiable association by setting the request id
Commit: 897fdb92c176df6501055fdbca2414094412b8b6
https://github.com/openSUSE/open-build-service/commit/897fdb92c176df6501055f...
Author: Dani Donisa
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M src/api/app/services/notification_service/notifier.rb
M src/api/app/services/notification_service/web_channel.rb
Log Message:
-----------
Do not use `constantize`
Commit: 165d67a82bec51d1e42f9f323e34aca71f56d3c0
https://github.com/openSUSE/open-build-service/commit/165d67a82bec51d1e42f9f...
Author: Victor Pereira
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M src/api/app/jobs/send_event_emails_job.rb
M src/api/app/models/event/review_wanted.rb
M src/api/app/models/review.rb
M src/api/app/presenters/notification_presenter.rb
A src/api/app/queries/outdated_notifications_finder/bs_request.rb
A src/api/app/queries/outdated_notifications_finder/comment.rb
R src/api/app/services/notification_creator.rb
A src/api/app/services/notification_service/notifier.rb
A src/api/app/services/notification_service/rss_channel.rb
A src/api/app/services/notification_service/web_channel.rb
M src/api/config/initializers/zeitwerk.rb
M src/api/db/data/20200326221616_regenerate_notifications.rb
M src/api/spec/db/data/regenerate_notifications_spec.rb
R src/api/spec/services/notification_creator_spec.rb
A src/api/spec/services/notification_service/notifier_spec.rb
Log Message:
-----------
Merge pull request #9873 from danidoni/clean_up_outdated_or_irrelevant_notifications
Clean up old or irrelevant notifications
Compare: https://github.com/openSUSE/open-build-service/compare/c54d885d4d74...165d67...