[obs-commits] [openSUSE/open-build-service] 929f1c: Associate projects to notifications
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 929f1c26820e6edd6ce368f0649e088b0cea9df7 https://github.com/openSUSE/open-build-service/commit/929f1c26820e6edd6ce368... Author: Eduardo Navarro <enavarro@suse.com> Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M src/api/app/services/notification_creator.rb Log Message: ----------- Associate projects to notifications When a notification is created, we also add its associated projects. Co-authored-by: Saray Cabrera Padrón <scabrerapadron@suse.de> Commit: f93352f395db8edef69def9b9e6246ecd4af2a95 https://github.com/openSUSE/open-build-service/commit/f93352f395db8edef69def... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M src/api/app/controllers/webui/users/notifications_controller.rb M src/api/app/helpers/webui/notification_helper.rb M src/api/app/helpers/webui/webui_helper.rb M src/api/app/queries/notifications_finder.rb M src/api/app/services/notification_creator.rb M src/api/app/views/webui/users/notifications/index.html.haml Log Message: ----------- Filter notifications by project Show a clickable list of projects to filter notifications by them. Each item on the filter by project list, displays the project's name and the amount of notifications associated to the project. The list is sorted by amount of notifications and then name. Co-authored-by: Eduardo Navarro <enavarro@suse.com> Commit: c657fc5232e0da64123a2e06baf7c24f56898c4a https://github.com/openSUSE/open-build-service/commit/c657fc5232e0da64123a2e... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M src/api/app/models/notified_project.rb Log Message: ----------- Add validation for the notification and project association The pair notification and project should be unique. Commit: 0317ed47b7f35c4699162d7cc9f090d867d8f26e https://github.com/openSUSE/open-build-service/commit/0317ed47b7f35c4699162d... Author: Victor Pereira <vpereira@suse.de> Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M src/api/app/controllers/webui/users/notifications_controller.rb M src/api/app/helpers/webui/notification_helper.rb M src/api/app/helpers/webui/webui_helper.rb M src/api/app/models/notified_project.rb M src/api/app/queries/notifications_finder.rb M src/api/app/services/notification_creator.rb M src/api/app/views/webui/users/notifications/index.html.haml Log Message: ----------- Merge pull request #9447 from saraycp/notifications_filtered_by_projects Notifications filtered by projects Compare: https://github.com/openSUSE/open-build-service/compare/90847a2aecf0...0317ed...
participants (1)
-
Victor Pereira