[openSUSE/open-build-service] 49fbd9: Add moderation columns to comments
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 49fbd94b06ef25796cdb5461e61fea42e3666014 https://github.com/openSUSE/open-build-service/commit/49fbd94b06ef25796cdb54... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/models/comment.rb A src/api/db/migrate/20230918161340_add_moderator_id_and_moderated_at_columns_to_comments.rb M src/api/db/schema.rb Log Message: ----------- Add moderation columns to comments Commit: d5fe8a97f2d7d24076886c70a940229911b38578 https://github.com/openSUSE/open-build-service/commit/d5fe8a97f2d7d24076886c... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/models/comment.rb M src/api/app/models/user.rb Log Message: ----------- Set association between moderator and comment Commit: cbc4b2bfeda555a855b98078ce3649ef74023376 https://github.com/openSUSE/open-build-service/commit/cbc4b2bfeda555a855b980... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/models/comment.rb Log Message: ----------- Add functions for handling moderation into the comments model Commit: 57df80ae24fc3e76afca9ef1208044cefd68d702 https://github.com/openSUSE/open-build-service/commit/57df80ae24fc3e76afca9e... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/policies/comment_policy.rb Log Message: ----------- Add policy to moderate comments Commit: bd89b275754c9cbb8d04c5471c53fd3629299eed https://github.com/openSUSE/open-build-service/commit/bd89b275754c9cbb8d04c5... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/spec/policies/comment_policy_spec.rb Log Message: ----------- Add specs for policy to moderate comments Commit: 7d5425775bae6de69b77ffc7a123f80f52cab2aa https://github.com/openSUSE/open-build-service/commit/7d5425775bae6de69b77ff... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/assets/javascripts/webui/comment.js M src/api/app/components/bs_request_comment_component.html.haml M src/api/app/controllers/webui/comments_controller.rb M src/api/app/views/webui/comment/_reply.html.haml M src/api/config/routes/webui_routes.rb Log Message: ----------- Add an ui for moderating and unmoderating comments Commit: 0a7cae10996b2cce0360e9967a8e261646314d34 https://github.com/openSUSE/open-build-service/commit/0a7cae10996b2cce0360e9... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/models/comment.rb Log Message: ----------- Display a moderation message instead of body Commit: 6bc14043a94c84284d72e988dbc5c19edf9801e9 https://github.com/openSUSE/open-build-service/commit/6bc14043a94c84284d72e9... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/.rubocop_todo.yml Log Message: ----------- Postpone reducing the length of the comments controller Commit: b89c405bd64fd685555c93cc2e9176129b51abeb https://github.com/openSUSE/open-build-service/commit/b89c405bd64fd685555c93... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/controllers/webui/comments_controller.rb Log Message: ----------- Handle Record not Found error for comments properly Commit: 0918778114d2d6ff09ba2a35fb402c00dc5bd4aa https://github.com/openSUSE/open-build-service/commit/0918778114d2d6ff09ba2a... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/components/bs_request_comment_component.html.haml M src/api/app/views/webui/comment/_reply.html.haml Log Message: ----------- Move the moderation button behind the feature flag Commit: 3d42802cf354c868ef582be487909733f2d08218 https://github.com/openSUSE/open-build-service/commit/3d42802cf354c868ef582b... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/controllers/webui/comments_controller.rb Log Message: ----------- Add fixme for the set_comment function Commit: e17724adc65c8095b5150ab9964916bb7fb19b25 https://github.com/openSUSE/open-build-service/commit/e17724adc65c8095b5150a... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/components/bs_request_comment_component.html.haml M src/api/app/views/webui/comment/_reply.html.haml Log Message: ----------- Replace unmoderate by permit Commit: 58f7819b3ee801fed40578381539cf0b03d8e20b https://github.com/openSUSE/open-build-service/commit/58f7819b3ee801fed40578... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/policies/comment_policy.rb M src/api/spec/policies/comment_policy_spec.rb Log Message: ----------- Policy allows staff members to moderate Commit: 45eb0fc45caad0e72c4aa76eb719c1330c8c9662 https://github.com/openSUSE/open-build-service/commit/45eb0fc45caad0e72c4aa7... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/app/components/bs_request_comment_component.html.haml M src/api/app/views/webui/comment/_reply.html.haml M src/api/config/routes/webui_routes.rb Log Message: ----------- Define moderate as member route Commit: 449e3e31f09ecc7b4db8da4ce8af3487f3a709dd https://github.com/openSUSE/open-build-service/commit/449e3e31f09ecc7b4db8da... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/spec/policies/comment_policy_spec.rb Log Message: ----------- Simplify comment spec Commit: 1909cc0a27304a9272096ec4fcad5c664cc39a68 https://github.com/openSUSE/open-build-service/commit/1909cc0a27304a9272096e... Author: Dani Donisa <dani.doni@gmail.com> Date: 2023-09-18 (Mon, 18 Sep 2023) Changed paths: M src/api/.rubocop_todo.yml M src/api/app/assets/javascripts/webui/comment.js M src/api/app/components/bs_request_comment_component.html.haml M src/api/app/controllers/webui/comments_controller.rb M src/api/app/models/comment.rb M src/api/app/models/user.rb M src/api/app/policies/comment_policy.rb M src/api/app/views/webui/comment/_reply.html.haml M src/api/config/routes/webui_routes.rb A src/api/db/migrate/20230918161340_add_moderator_id_and_moderated_at_columns_to_comments.rb M src/api/db/schema.rb M src/api/spec/policies/comment_policy_spec.rb Log Message: ----------- Merge pull request #14907 from saraycp/comment_moderation Handle moderation on comments Compare: https://github.com/openSUSE/open-build-service/compare/cd35d166d861...1909cc...
participants (1)
-
Dani Donisa