- Return
422
(:unprocessable_entity
) when form submissions fails. Turbo requires an HTTP Status code between 400-499 or 500-599 when a FormSubmission request fails. This pull request makes wicked compatible with Turbo Drive (#294) - Pass the provided step when raising InvalidStepError errors (#284)
- Update readme to include
current_step?
(#271) - Add
*_url
versions ofwizard_path
,next_wizard_path
, andprevious_wizard_path
(#272)
- Remove arity check for AR objects (#257)
- Support being able to set a context in validation (#236)
- Support for params (#222)
- Docs and minor fixes
- [#201] Avoid Rails 5 deprecations.
- [#186] Do not require use of ApplicationController with wicked.
- [#159] Default wizard index actions now work when using
default_url_options
- [#136]
skip_step
andjump_to
now take redirect options. You can use this to effectively pass parameters to a redirect initiated by either of these method.
- All
to_sym
have been removed. Symbol attacks are no longer possible. - Log final step behavior with debug
- Contains Security updates plz upgrade
- Only allow params[:id] to be used as step if in valid list
- Better redirect handling thanks @gabrielg
- Fix security issue #94
- Rails 4 compatible tested version released
- Remove compatibility for Ruby 1.8.7 since it is EOL
- [#62] bugfix to translating wizard values thanks @hwo411
- Breaking change: hardcoded internal
finish
keyword changed towicked_finish
. Can be modified by settingWicked::FINISH_STEP
. Please use constants from now on instead of relying on the values of the strings. - [#56] raise error while using reserved keyword
- Keywords are now configurable as constants
Wicked::FIRST_STEP
,Wicked::LAST_STEP
, andWicked::FINISH_STEP
- [#51] bug fix: while using translations all wizard helpers now return values
in the same language (in whatever locale is being used). So if a user is
requesting a controller action in spanish, then
step
will be in spanish and all the values inside ofsteps
andnext_step
etc. will be in spanish. To convert one of these values to a "canonical" wizard value (that matches the names of your files) you can usewizard_value(step)
method.
- User inputs no longer converted to symbol this mitigates risk of DoS via symbol table or RAM (symbols are not garbage collected).
- Dynamic steps officially supported and tested
- warn users users who forgot to set steps
- Forward params passed to the index action
- bug fix: 1.8.7 hash ordering
- Prettier code, thanks code climate
- [#22] enable I18n on wicked paths with
Wicked::Wizard::Translated
- jRuby is officially supported and tested with Travis
- [#30] bugfix, filter options now work on
steps
method (@jeremyruppel)
- Make step configuration an instance level config instead of class.
- [#25] current_step?, past_step?, future_step?, next_step? & previous_step? step helper methods to be used in the view(thanks @ahorner)
- remove
WizardController#_reset_invocation_response
- bug fix for when jump_to is used in conjunction with passing a resource to render_wizard (thanks @fschwahn)
- rename
controller
towizard_controller
to avoid collisions with other controller based gems (thanks @lucatironi)
- expose
steps
andwizard_steps
to view - default index path of wizard controller to the first step
- paths to first and last steps
/wizard_first
&/wizard_last
- previous_wizard_path introduced
- next_wizard_path takes options (thanks @Flink)
- fixed include bug
- Allow including
Wicked::Wizard
into controllers - Added Tests for Helpers
- Fixed url bug
- First Release