0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00
discourse-custom-wizard/lib/custom_wizard
Faizaan Gagan f00d01c50f
FIX: ensure single incomplete submission existence (#136)
* created method to fetch incomplete submissions

* added new field 'updated_at' to submission schema

* Revert "created method to fetch incomplete submissions"

This reverts commit 15c65236e7.

* added logic to cleanup redundant incomplete submissions

* logic improvements and spec

* simplified the cleanup logic

* simplified the logic further

* early return to improve performance

* consolidated cleanup logic

* perform cleanup in wizard.update

* fixed issue

* minor fix

* use consistent naming
2021-08-02 13:01:49 +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 FIX: apply text length validations for non-empty fields only (#137) 2021-07-30 16:03:48 +05:30
action.rb FIX: skip_guardian option is removed from discourse core 2021-07-28 19:01:09 +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: Ensure user_email and user_option attributes are handled properly (#119) 2021-06-15 11:48:17 +05:30
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 FIX: ensure single incomplete submission existence (#136) 2021-08-02 13:01:49 +05:30
template.rb IMPROVE: ensure redirect_to_wizard is cleaned up even if sidekiq is not working (#116) 2021-06-07 18:45:41 +05:30
wizard.rb Fix specs and tighten conditional handling 2021-06-23 16:13:58 +10:00