magicmilo
a923e14969
change field to correct unitletas
3 years ago
magicmilo
cdb9f94a2c
remove unused test form so fix validate test
3 years ago
magicmilo
903726eda6
switch renewal field
3 years ago
magicmilo
83df9292ea
change type
3 years ago
magicmilo
d6c4027dd2
add optional fields
3 years ago
magicmilo
4362d6cd1d
add missing fields to completelog
3 years ago
Daniel Baark
ba51e66a56
Refactor the form parsing and navigation logic into OOP domain objects ( #106 )
...
* OOP form
* Add ADR
* PR commits
3 years ago
Daniel Baark
7babd2cb71
Fix reasonable preference validation ( #105 )
3 years ago
magicmilo
b1c3cae3be
put rsnvac as array of possibilities dependson
3 years ago
magicmilo
5c3bc1db2c
add fields to completecaselog
3 years ago
Daniel Baark
f333ed7a35
Add section dependencies ( #103 )
...
* Lock sections until about this log is completed
* Add dependent sections
* Specs
* Fix tests
3 years ago
kosiakkatrina
04a6986827
Change armed forces question ( #101 )
3 years ago
baarkerlounger
20f564ee52
Email content is ascii encoded
3 years ago
Daniel Baark
548467561a
Refactor routing ( #98 )
...
* Refactor routing
* Tenant code is now in About This Log
* Invert form definition routing syntax
* Make GDPR acceptance explicit dependency
* Add ReadMe description
* Add ADR for form routing logic
* Update JSON schema
* Add frontend gem repo to readme
* Rubocop
3 years ago
Matthew Phelan
cf000c76d5
Reset email specs
3 years ago
kosiakkatrina
79def05518
Display correct answer/change link for the checkboxes in the checck answers page ( #99 )
3 years ago
baarkerlounger
1a00e880ce
Add flash banner spec and functionality
3 years ago
baarkerlounger
8a2835dddd
Remove obsolete comments
3 years ago
baarkerlounger
c607458783
Rubocop
3 years ago
baarkerlounger
b1cf1ea71f
Password reset routing
3 years ago
kosiakkatrina
26e423aaf7
CLDC-700: date validation ( #97 )
...
* Add date validation for mrc date
* validate the rest of the date fields
3 years ago
Daniel Baark
b764b42a2e
Bugfixes ( #93 )
...
* Update footer email
* Page validations need to match form page names
* Update specs
3 years ago
magicmilo
b08b8d717c
CLDC-699-RemoveSaleCompletionDate
3 years ago
Daniel Baark
6f80051c10
CLDC-638: Bulk upload ( #84 )
...
* Add file broswer view
* Read file
* Happy path
* Route constraint
* Some placeholders
* Add more fields
* Inferred vals
* Add some file type error handling
* Spec empty file handling
* Fail silently for now
* Collection route
* Rubocop
* Conventional routes are easier to reason about than constraints
* Remove uneeded fields
* Add a guard clause
* Allow log creation with bad rows.
* Update major repairs field name
* Make route bulk upload singular
* More realistic spec file
* Fix merge conflict resolution
* Set hhemb
3 years ago
Daniel Baark
b787ad803f
CLDC-709: Conditional section status bugfix ( #92 )
...
* Failing spec
* Fix the failing spec
* Fix rake spec
3 years ago
kosiakkatrina
b358a67dde
CLDC-679: Update main tenancy type mappings ( #91 )
...
* Update main tenancy type mappins
* Fix the tests and validations
3 years ago
baarkerlounger
06ac7b8c35
Downcase case log status in tasklist
3 years ago
magicmilo
b410ca04f8
assume schema validation true for test
3 years ago
magicmilo
ef32e2ba67
fix one validation test
3 years ago
Daniel Baark
4c479d4fd3
Bug fixes ( #89 )
...
* Check answers to tasklist
* Fix status display
* Fix case log status
* Update footer
* Update spec
* Fix spec
* Make form pages 2/3 width
* Make spec failures less likely
3 years ago
baarkerlounger
0e88b5e703
Refactor
3 years ago
MadeTech Dushan
f0f75dc48f
lint fixes
3 years ago
MadeTech Dushan
12f2c95844
Add test for password reset email
3 years ago
MadeTech Dushan
72b8864cdc
add test around protecting emails
3 years ago
MadeTech Dushan
b5d4f32b91
add failing test for user email display
...
Co-authored-by: Daniel Baark <baarkerlounger@users.noreply.github.com>
3 years ago
MadeTech Dushan
b16b4f4a46
add a failing test for the check email page
3 years ago
MadeTech Dushan
86198c3609
Make style of login page match design and fix test
3 years ago
MadeTech Dushan
4a300bf8d2
lint fixes
3 years ago
MadeTech Dushan
8b8665ecc7
add second passing spec
3 years ago
MadeTech Dushan
a0ae5025bf
Add devise gem and a first test for user login
...
Devise is a commonly used gem for user authentication and management. Using
rails generators and Devise allows us to get a lot of boilerplate code for
user authentication and management and means we don't have to revinvent the
wheel. Styling will need to be done for the necessary pages and there are
likely to be bits of generated code that can be deleted. This will act as
a starting point to be built up from using TDD.
3 years ago
magicmilo
127958a47f
readd testform
3 years ago
kosiakkatrina
7942dec5c4
Add incref column ( #87 )
...
* Add incref column
* Rubocop
* update migration version
3 years ago
magicmilo
ea992e8cf3
Revert "Revert "Merge branch 'main' of https://github.com/communitiesuk/mhclg-data-collection-beta ""
...
This reverts commit 6d2a0a11b6
.
3 years ago
magicmilo
6d2a0a11b6
Revert "Merge branch 'main' of https://github.com/communitiesuk/mhclg-data-collection-beta "
...
This reverts commit d1ae40dc3b
, reversing
changes made to 3f885b4bc3
.
3 years ago
kosiakkatrina
894228c02e
CLDC-678: Store total household members ( #86 )
...
* Store other housdehold members and infer total household members
* Remove redundant question
3 years ago
kosiakkatrina
20bda98d4b
Save mcr date as datetime, fix saving the dates ( #85 )
3 years ago
magicmilo
967ee6b0e1
more fix
3 years ago
magicmilo
c67fccdcd0
change pattern to ignore conditional_route_to
3 years ago
magicmilo
8c27ae6ffc
Validate structure correctly
3 years ago
Kat
109947bb97
Update majorrepairs field name in docs and test file
3 years ago