docbrown/app
Alex b02d43ca2d
Create DiscussionLocks (#13905)
* Create DiscussionLocks

* Fix specs

* Update nullify_blank_notes_and_reason

* Update before_validation call

* Updated DiscussionLockPolicy for clarity

* Move permitted_attributes to a constant

* Update route

* Apply suggestions from code review for frontend

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* Add title tags

* Wrap unlock confirm in main element

* Wrap flash messages up in div

* Actually fix title tags

* Hide comment reply button when discussion is locked

* Add E2E tests

* Try to fix E2E tests

* Cypress...you work locally but not in CI...why!?

* PR feedback

* Update E2E tests

* More E2E updates 😭

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2021-06-10 11:04:33 -04:00
..
assets Get a11y lint script paths from rails helper (#13912) 2021-06-10 09:25:29 +01:00
black_box Remove <provider>_created_at columns (#13264) 2021-04-29 10:24:16 -05:00
controllers Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
decorators Pin posts to feed (#13807) 2021-06-04 10:54:53 +02:00
errors Replacing granular admin email settings with one default email (#13853) 2021-05-28 12:17:08 +03:00
helpers Replacing granular admin email settings with one default email (#13853) 2021-05-28 12:17:08 +03:00
javascript Get a11y lint script paths from rails helper (#13912) 2021-06-10 09:25:29 +01:00
lib Remove :runtime_banner feature flag (#13662) 2021-05-28 15:10:15 -06:00
liquid_tags Bump rubocop from 1.15.0 to 1.16.0 (#13894) 2021-06-02 09:11:38 -04:00
mailers Replacing granular admin email settings with one default email (#13853) 2021-05-28 12:17:08 +03:00
models Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
policies Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
queries Have specs run without Redis and refactor ConsumerApp and Device (#13647) 2021-05-07 08:03:16 +02:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers Remove unused attributes from markdown parser (#13484) 2021-04-27 09:33:01 -04:00
serializers Cleanup search classes and serializers (#13645) 2021-05-05 09:20:59 -04:00
services Search results: prioritize articles titles (#13918) 2021-06-09 14:28:19 +02:00
uploaders Change frame limit to match imgproxy (#13265) 2021-04-06 12:28:50 +02:00
validators Pin posts to feed (#13807) 2021-06-04 10:54:53 +02:00
view_objects Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
views Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
workers Detect animated images in articles asynchronously (#13766) 2021-06-01 10:34:04 +02:00