-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |