Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: ba0cead47079a2ab846beeb3353edfff6fe4c256
https://github.com/openSUSE/open-build-service/commit/ba0cead47079a2ab846bee...
Author: Eduardo Navarro
Date: 2020-09-25 (Fri, 25 Sep 2020)
Changed paths:
M src/api/app/presenters/notification_presenter.rb
Log Message:
-----------
Remove markdown tags in notifications' excerpts
Use a render that strips the markdown tags. This way we show a more
understandable excerpt in the list of notifications.
Commit: ae51b7cd507954b41ace6b2688b856e63d12e33a
https://github.com/openSUSE/open-build-service/commit/ae51b7cd507954b41ace6b...
Author: Eduardo Navarro
Date: 2020-09-25 (Fri, 25 Sep 2020)
Changed paths:
M src/api/app/helpers/webui/markdown_helper.rb
M src/api/spec/helpers/webui/markdown_helper_spec.rb
M src/api/spec/mailers/event_mailer_spec.rb
Log Message:
-----------
Use sanitize helper to show safer user input
Make showing the user input in a comment or a description of a request
safer. This way we also don't need to disable the Rails/OutputSafety
RuboCop cop. Tests were adapted accordingly.
Kudos to @krauselukas.
Commit: bbc4566d4284a949c90acf972844cf47cdd48b11
https://github.com/openSUSE/open-build-service/commit/bbc4566d4284a949c90acf...
Author: Henne Vogelsang
Date: 2020-09-25 (Fri, 25 Sep 2020)
Changed paths:
M src/api/app/helpers/webui/markdown_helper.rb
M src/api/app/presenters/notification_presenter.rb
M src/api/spec/helpers/webui/markdown_helper_spec.rb
M src/api/spec/mailers/event_mailer_spec.rb
Log Message:
-----------
Merge pull request #10199 from eduardoj/remove_markdown_from_notifications
Remove markdown tags in notifications' excerpts
Compare: https://github.com/openSUSE/open-build-service/compare/7659b4657eef...bbc456...