magicmilo
5699c90e06
fixed dependency and updated readme
3 years ago
magicmilo
fa86626d37
added rake form_definition (can't load json-schema)
3 years ago
magicmilo
bda09d7886
update readme for schema validation
3 years ago
magicmilo
ebdf41764b
add check answer label requirement
3 years ago
magicmilo
967ee6b0e1
more fix
3 years ago
magicmilo
c67fccdcd0
change pattern to ignore conditional_route_to
3 years ago
magicmilo
d1db752842
only validate real forms
3 years ago
magicmilo
8c27ae6ffc
Validate structure correctly
3 years ago
magicmilo
5dacd38187
blank conditional for
3 years ago
magicmilo
16685a25e2
nearly working
3 years ago
magicmilo
8517613c64
.
3 years ago
magicmilo
152e3a17f0
.
3 years ago
magicmilo
e1f758ba07
save
3 years ago
magicmilo
f844f9273e
outline
3 years ago
magicmilo
ebc79e4982
.
3 years ago
magicmilo
78547d4a2c
dir loop
3 years ago
magicmilo
cf6e5a0994
move about
3 years ago
magicmilo
614851af34
generated schema, is real 2021_2022 valid
3 years ago
magicmilo
ceb8ea03cb
and check schema
3 years ago
magicmilo
a0d73baf6a
basic intial operation
3 years ago
magicmilo
6c272dad87
can't find jsonspec
3 years ago
magicmilo
6aef3f0900
JsonValidate_Initial
3 years ago
Daniel Baark
0a9851b43e
CLDC-639: Active admin ( #75 )
...
* Install ActiveAdmin
* Tidy up dashboard
* Set time zone as per Gov UK recommendations
* Add chartkick for some basic admin dashboard charts
3 years ago
Daniel Baark
81ff68bb11
CLDC-510: Income range soft validations ( #72 )
...
* Init
* Add some tests
* Add failing spec
* Move soft validations into a module
* Update test
* Rubocop
* Scope are auto created by enums
* Rename folder to validations
* No instance variable
* Commit both lines
* Add error indication
* Make partial slightly more generic
* Fix back link
* Write failing test
* All specs currently passing. Can this be real?
* Check page should have an override question
* Fix back button for check answers pages
* Don't really need a wrapper method for the validations
* We're really validating a page here not a question
* Dup variable
* Bit of a nasty hack but maybe better than deriving back link?
* Set a no cache header instead of reloading
* Move a teeny bit of logic out of the controller
* Rubocop
* Extract method
3 years ago
baarkerlounger
d92dd2d8b1
Rubocop
3 years ago
Matthew J. Phelan
7397483078
Merge pull request #74 from communitiesuk/CLDC-467/validate_other_household_members
...
Cldc 467/validate other household members
3 years ago
Matthew Phelan
4a4ffd90f2
Merge branch 'main' into CLDC-467/validate_other_household_members
3 years ago
Matthew Phelan
ba9cdd31a2
Code review updates
3 years ago
Milo
f52f498f2c
Merge pull request #70 from communitiesuk/CLDC-497-SharedAccomodationBedrooms
...
Cldc 497 shared accomodation bedrooms
3 years ago
magicmilo
6ca1fa1bc2
fix merge
3 years ago
magicmilo
a83a0c53fd
fix merge and move validation
3 years ago
magicmilo
31b594d51c
switched to between for range
3 years ago
Milo
f7a7987f2b
Merge branch 'main' into CLDC-497-SharedAccomodationBedrooms
3 years ago
magicmilo
ee2323a805
Switch to household number of other members
3 years ago
baarkerlounger
d240e299bd
Add some test for our validations
3 years ago
baarkerlounger
656c7bda26
Specs passing
3 years ago
Matthew Phelan
c3e1f07797
validate_other_household_members refactor
...
Co-authored-by: Daniel Baark <baarkerlounger@users.noreply.github.com>
3 years ago
Matthew Phelan
bdefe35caa
Merge branch 'main' into CLDC-467/validate_other_household_members
3 years ago
Daniel Baark
fff5da304e
Refactor validations into modules ( #73 )
...
* Refactor validations into modules
* PropertyValidations
* Add financial and tenancy validations
* Shorten comment
* Simplify
3 years ago
Matthew Phelan
971c3909ee
validate_other_household_members
3 years ago
kosiakkatrina
c7cd48c2e8
CLDC-513: Refused income validation ( #71 )
...
* Add net income known field
* only require the income if it is known
* fix a typo
3 years ago
Daniel Baark
f372a4727e
Hard validation ( #69 )
3 years ago
Milo
5c8a306cf2
Merge branch 'main' into CLDC-497-SharedAccomodationBedrooms
3 years ago
magicmilo
2367ad16d5
tests and tweaks
3 years ago
kosiakkatrina
055cbf8fc5
CLDC-464: Other tenancy type validation ( #68 )
...
* Add other_tenancy_type conditional field
* Extract private validdate_other_field_method
* Implement other tenancy type validation
* Add missing migration file and update API doc
3 years ago
baarkerlounger
fba2474747
rubocop
3 years ago
Milo
a78a9a0e13
Merge pull request #64 from communitiesuk/CLDC-469-if-served-did-leave-validation
...
added armed forces active response validation
3 years ago
Milo
f8a460b424
Merge branch 'main' into CLDC-469-if-served-did-leave-validation
3 years ago
Milo
562883495d
Merge pull request #65 from communitiesuk/CLDC-493-OutstandingRentAmount-Validation
...
added simple validation for outstanding rent
3 years ago
magicmilo
073ccfe633
rubocop
3 years ago