Skip to content

Commit

Permalink
Update TODO.md
Browse files Browse the repository at this point in the history
  • Loading branch information
latortuga authored Aug 17, 2023
1 parent 2993be4 commit 453938a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# TODO list

- [ ] Add a hidden field with a string of all the fields used in the form builder
- [ ] Add a hidden field with a signature, take value toJson, sign and encrypt it
- [ ] For upgrades, we can suggest / allow a setting to try to catch the exception that SP raises and try to call auto_permit! and don't raise.
- [X] Add a hidden field with a signed string of all the fields used in the form builder
- [X] Look at how cookies are decrypted to decrypt server-side
- [X] Patch ActionController::Parameters to have auto_permit! and use the shape from the form
- [ ] Add radio button support
- [ ] Handle signature verification errors in a customizable way (error/log/silent)
- [ ] For upgrades, we can suggest / allow a setting to try to catch the exception that SP raises and try to call auto_permit! and don't raise.

# Future enhancements
- Add option to enforce that selects or really any values are submitted are only within the choicies that were actually rendered in the form. This makes the most sense for foreign keys.

0 comments on commit 453938a

Please sign in to comment.