Matthew Phelan
6204088f48
reason_for_leaving_last_settled_home validation added
3 years ago
Daniel Baark
e78e53ae4f
Attempt to solve race condition ( #56 )
3 years ago
Dushan
2721c63264
Merge pull request #55 from communitiesuk/CLDC-474-receive-income-frequency-validation
...
CLDC-474 receive income frequency validation
3 years ago
MadeTech Dushan
37fe1b4845
lint fixes
3 years ago
MadeTech Dushan
e32779104c
Make net income frequency not required dynamically
...
No errors need to be added if the net income is given as 0 but no frequency
is provided. It just needs to be made not required if the net income is
refused (given as 0) so that the record can still be added.
3 years ago
Matthew J. Phelan
dcf561150e
Merge pull request #52 from communitiesuk/CLDC-487/why-were-they-given-reasonable-preference
...
Why reasonable preference? validation added
3 years ago
Matthew Phelan
9b97a3eb47
Merge branch 'main' into CLDC-487/why-were-they-given-reasonable-preference
3 years ago
Dushan
5b75e9ff70
Merge pull request #54 from communitiesuk/CLDC-476-left-settled-home-validation
...
add other reason left settled home validation
3 years ago
baarkerlounger
1fce70bd3c
Rubocop fixes
3 years ago
MadeTech Dushan
9a8945ea9a
dynamically not required attributes for case logs
3 years ago
Daniel Baark
ac5223a09e
CLDC-542: OpenAPI documentation ( #53 )
...
* API doc init
* Rename docs dir
* Try YAML
* Index page
* Chars
* Case Log
* Summaries
* Add to readme
* Add sandbox server
* Dry
* Add some 422 examples
* GET doesn't have a request body
* Accept header
* Add show method to JSON API and document not found response
* Set header default
* Add some field guidance
* Don't need a default value if we only have one enum
3 years ago
Matthew Phelan
30b985dfe5
CLDC-487 - typo fixes
3 years ago
Matthew Phelan
3a81e91033
Merge branch 'main' into CLDC-487/why-were-they-given-reasonable-preference
3 years ago
Matthew Phelan
f25603bd7d
test fix for reasonable preference
3 years ago
Matthew Phelan
b87f1cbdee
CLDC-487 - Code review comments update
3 years ago
baarkerlounger
6529157ad5
More generic numeric conditions
3 years ago
MadeTech Dushan
9d95707e35
add other reason left settled home validation
3 years ago
Matthew Phelan
8ad852454f
Why reasonable preference? validation added
3 years ago
baarkerlounger
64bec55985
Add deployment troubleshooting to readme
3 years ago
baarkerlounger
df95c4f1c6
Fix column change migration
3 years ago
baarkerlounger
ae05c05dee
Linting
3 years ago
Matthew J. Phelan
4e953cfbc2
Merge pull request #50 from communitiesuk/CLCD-495/times-prev-offered
...
Clcd 495/times prev offered
3 years ago
baarkerlounger
9eb067e608
Fix some doc typos
3 years ago
Matthew Phelan
6cfdb9a0b7
number of times relet validation unit tests
3 years ago
baarkerlounger
f211373ffa
Use scopes for bulk status lookups
3 years ago
baarkerlounger
ad7050e205
Remove the need for disabling cops
3 years ago
baarkerlounger
5248a96db3
Linting
3 years ago
Matthew Phelan
0d112c9d0e
Merge branch 'main' into CLCD-495/times-prev-offered
3 years ago
Matthew Phelan
9de3d9dcec
finishing touches
3 years ago
Matthew Phelan
5a7183f450
CLCD-495 ready for review
3 years ago
baarkerlounger
882a1de227
Test case log state machine
3 years ago
Daniel Baark
1733a3bd1f
Api update ( #48 )
...
* Add PUT/PATCH/DELETE case log to API
3 years ago
Dushan
beccd74f83
CLDC-530 reduce test dependency on form definition ( #46 )
...
* use test_form.json in tests
* Pass in form to view from controller for check_answers
* reduce test json length for household section
* Further shorten the test json
* Remove extra radio questions from test json household section
* Trim test form and fix tests
* do some method extraction
* Extract creation of form into a formHandler
* rubocop
* redefine form model to use filepaths instead
* Check test env var in form handler
* remove singleton and make get_all_forms a private method
* refactor get_all_forms
Co-authored-by: Kat <katrina@madetech.com>
3 years ago
Daniel Baark
186d2d0847
Validations ADR ( #47 )
3 years ago
baarkerlounger
a2a407d561
ENV vars
3 years ago
Daniel Baark
59eb99617a
CLDC-531: Part 2 - Validate API created case logs ( #45 )
...
* Validate API created case logs
* Validate record completion
* Set complete or in progress status based on field presence validation
* Make autogenerated fields a named constant
* Test the whole validation
* Add some hated code comments to explain some things
* Be stricter about the params we allow mass updates on
3 years ago
Daniel Baark
f433d687f8
CLDC-531: Accept a basic create request with JSON params ( #43 )
...
* Accept a basic create request with JSON params and basic auth
3 years ago
Daniel Baark
2f7cb34e5c
Don't nest check answers routes in pages ( #42 )
3 years ago
Matthew Phelan
88da04550d
Merge branch 'main' of https://github.com/communitiesuk/mhclg-data-collection-beta into main
3 years ago
Matthew Phelan
df592aa6a3
tenant_age validation tests
3 years ago
Daniel Baark
8e93fb976d
Navigate straight to check answers page if a section has been started… ( #41 )
...
* Navigate straight to check answers page if a section has been started already
* Code review suggestion
* Remove Form config specific test
3 years ago
baarkerlounger
bb4ef5e168
Make the migration actually reversible
3 years ago
baarkerlounger
4886a3ceb5
Make it reversible
3 years ago
baarkerlounger
07c24913a9
Fix migration
3 years ago
baarkerlounger
541b850015
Linting
3 years ago
Matthew J. Phelan
ff38c89d54
Merge pull request #39 from communitiesuk/CLDC-344/Implement-a-few-validations
...
Cldc 344/implement a few validations
3 years ago
Matthew Phelan
b907946ac6
Merge branch 'main' into CLDC-344/Implement-a-few-validations
3 years ago
Matthew Phelan
dc3e13cbb0
Attr writter added
3 years ago
baarkerlounger
8f272c55b7
Rubocop
3 years ago
baarkerlounger
c4ae32a053
Make checkboxes checked if we have already saved an answer for them
3 years ago