1
0
Fork 0
discourse-custom-wizard-unl.../lib/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
..
api Added files used by github actions workflows (#78) 2021-04-16 13:37:32 +05:30
exceptions Revert "Revert "DEV: add new sprockets directive to require discourse folders" (#111)" 2021-05-12 06:14:09 +05:30
liquid_extensions FEATURE: added liquid based templating (#83) 2021-04-09 11:04:42 +05:30
realtime_validations Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
validators FEATURE: validate liquid templates on wizard save (#156) 2022-01-31 15:11:14 +05:30
action.rb simplified logic 2022-01-31 12:50:20 +05:30
action_result.rb Fix specs and tighten conditional handling 2021-06-23 16:13:58 +10:00
builder.rb FIX: ensure single incomplete submission existence (#136) 2021-08-02 13:01:49 +05:30
cache.rb Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
custom_field.rb Add custom field improvements (#115) 2021-06-08 17:09:49 +05:30
engine.rb Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
field.rb FEATURE: new field type Composer Preview (#130) 2021-07-12 17:05:05 +05:30
log.rb Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
mapper.rb FIX: cast both key and value as boolean if operator is `is:[true|false]` 2021-10-20 20:48:38 +08:00
realtime_validation.rb Apply rubcop and get tests pass (#76) 2021-03-11 12:00:15 +05:30
step.rb Step and field conditionality (#87) 2021-04-20 23:28:19 +05:30
step_updater.rb Step and field conditionality (#87) 2021-04-20 23:28:19 +05:30
submission.rb removed redundant method 2021-08-23 10:38:02 +05:30
template.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