discourse-solved/app/lib
Gabriel Grubba 2b6e17d1d5
FEATURE: Prevents assign notification & change status on solved (#285)
* FEATURE: Prevents assign notification & change status on solved

Relates to this [topic](https://meta.discourse.org/t/assign-plugin-for-informatica/256974/94)

Add an event listener to `accepted_solution` event

Add `assigns_reminder_assigned_topics_query` modifier to not notify if
`prevent_assign_notification` setting is on.

Add settings to prevent assign notification and change status on solved

* DEV: Address review comments

Update SiteSettings names.

* DEV(WIP): Add tests for integration with discourse-assign

Add test for integration with discourse-assign plugin
checks if the assignment status is moved to `Done`

* DEV: lint solved_spec.rb

* DEV: Update test where it updates all assignments

Change `on(:accepted_solution)` is defined

Update test to use acting_user instead of admin

* DEV: lint & add tests for assigns_reminder_assigned_topics_query

Linted and added tests for `assigns_reminder_assigned_topics_query` modifier.

* DEV: Update tests based on review feedback

change plugin_initializer location

update spec with new tests to test integration with discourse-assign

* DEV: Add describe to spec for discourse-assign integration tests

* DEV: update describe name for discourse-assing spec integration

* DEV: Add more tests to spec for discourse-assign integration

* DEV: Lint solved_spec

* DEV: Lint and update spec to not have `p1` topic inside
2024-04-26 13:21:09 -03:00
..
plugin_initializers FEATURE: Prevents assign notification & change status on solved (#285) 2024-04-26 13:21:09 -03:00
accepted_answer_cache.rb DEV: Change accept_all_solutions_trust_level to group setting (#276) 2024-01-23 11:45:32 +10:00
before_head_close.rb DEV: Fix new Rubocop offenses 2024-03-06 10:25:26 +01:00
category_extension.rb DEV: Fix new Rubocop offenses 2024-03-06 10:25:26 +01:00
first_accepted_post_solution_validator.rb DEV: Introduce syntax_tree for ruby formatting (#217) 2022-12-23 20:36:08 +00:00
guardian_extensions.rb DEV: Change accept_all_solutions_trust_level to group setting (#276) 2024-01-23 11:45:32 +10:00
post_serializer_extension.rb DEV: Fix new Rubocop offenses 2024-03-06 10:25:26 +01:00
topic_posters_summary_extension.rb DEV: Fix new Rubocop offenses 2024-03-06 10:25:26 +01:00
topic_view_serializer_extension.rb DEV: Fix new Rubocop offenses 2024-03-06 10:25:26 +01:00
user_summary_extension.rb DEV: Fix new Rubocop offenses 2024-03-06 10:25:26 +01:00
web_hook_extension.rb DEV: Fix new Rubocop offenses 2024-03-06 10:25:26 +01:00