magicmilo
a923e14969
change field to correct unitletas
3 years ago
magicmilo
903726eda6
switch renewal field
3 years ago
magicmilo
e6d59173b4
add enums and switch to ints
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
aa6fb32710
CLDC-724: Admin Panel requires authentication ( #104 )
...
* Admi Users must sign in to access panel
* Add ADR doc for design decision
* Add AdminUsers dashboard to ActiveAdmin
3 years ago
magicmilo
b1c3cae3be
put rsnvac as array of possibilities dependson
3 years ago
magicmilo
c7a63e46b8
change column types
3 years ago
magicmilo
667902e5ab
add renewal general needs routing
3 years ago
magicmilo
0ba94c9266
remove conditional_route_to
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
magicmilo
8ba2cd26b3
more json
3 years ago
magicmilo
9647a3e562
Add in the depends_on
3 years ago
kosiakkatrina
04a6986827
Change armed forces question ( #101 )
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
baarkerlounger
b1cf1ea71f
Password reset routing
3 years ago
Daniel Baark
93efd969e5
Form changes and small fixes ( #96 )
...
* Remove tenancy code question
* Rubocop
* Fix spec
* Use Gov component gem header
3 years ago
magicmilo
3d729c1823
remove test json
3 years ago
magicmilo
ebf0d5dddb
intial
3 years ago
baarkerlounger
1f4775182a
Fix conditional key
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
kosiakkatrina
b358a67dde
CLDC-679: Update main tenancy type mappings ( #91 )
...
* Update main tenancy type mappins
* Fix the tests and validations
3 years ago
magicmilo
a9a14724cc
initial
3 years ago
MadeTech Dushan
f0f75dc48f
lint fixes
3 years ago
MadeTech Dushan
4eb1fe4814
Set up password emailing for dev
3 years ago
MadeTech Dushan
07e2c80105
update reset password page and devise config
3 years ago
MadeTech Dushan
d8fdfc520a
added back the rest link to email
3 years ago
MadeTech Dushan
0a9e964691
pass first reset confirmation test
3 years ago
MadeTech Dushan
4a300bf8d2
lint fixes
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
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
magicmilo
a714efeaf6
aggh reverted wrong commit
3 years ago
magicmilo
8a6207fb00
Revert "fix duplicate keys in form json letting_type"
...
This reverts commit 3f885b4bc3
.
3 years ago
magicmilo
3f885b4bc3
fix duplicate keys in form json letting_type
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
magicmilo
ebdf41764b
add check answer label requirement
3 years ago
kosiakkatrina
20bda98d4b
Save mcr date as datetime, fix saving the dates ( #85 )
3 years ago
magicmilo
c67fccdcd0
change pattern to ignore conditional_route_to
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
kosiakkatrina
15bbe798df
Cldc 591/further data changes ( #83 )
...
* Remove condition_effects_prefer_not_to_say field
* Change reason type
* Remove prefer not to say from illness
* add majorrepairs,propcode and infer postcode
* Update previous location and la
* Update majorrepairs, national and reasonpref
* Update housing benefits fields
* rename file
* Add previous postcode
* Move inferred postcode to model
* refactor infered poscode method
* Remove unneeded import
* update miration and some mappings
* Remove duplicate migration command
3 years ago
MadeTech Dushan
596a3eaf08
pass first reset confirmation test
3 years ago
magicmilo
152e3a17f0
.
3 years ago
magicmilo
e1f758ba07
save
3 years ago
magicmilo
f844f9273e
outline
3 years ago
Daniel Baark
dbef8dfba4
CLDC-642: Soft validation UI bug fix ( #82 )
...
* Soft validation UI needs to be on both questions being validated
* Fix whether the box is checked or not
* All checkboxes are integers now
* Fix
* Use enums as well for consistency
* Use capybara matcher for less flakiness
* Click link already waits
* Add a retry to our fetch so tests are more resilient to intermittent network issues
3 years ago