0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00
discourse-custom-wizard/controllers/custom_wizard
Faizaan Gagan 51553bc71d
FEATURE: validate liquid templates on wizard save (#156)
* DEV: validate liquid templates on wizard save

* minor fix

* code improvements and spec

* version bump

* fixed failing specs

* FIX: handle displaying backend validation errors on frontend

* fixed linting

* improved error display

* validate raw description for steps

* refactor conditional

* Identify attribute with liquid template error and pass syntax error

Co-authored-by: angusmcleod <angus@mcleod.org.au>
Co-authored-by: Angus McLeod <angusmcleod@users.noreply.github.com>
2022-01-31 15:11:14 +05:30
..
admin FEATURE: validate liquid templates on wizard save (#156) 2022-01-31 15:11:14 +05:30
realtime_validations.rb Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
steps.rb FIX: Cache valid directs and only allow one type in a template (#176) 2022-01-31 14:48:04 +05:30
wizard.rb FIX: Cache valid directs and only allow one type in a template (#176) 2022-01-31 14:48:04 +05:30