Daniel Baark
50c50806be
Add additional tests ( #108 )
...
* Spec case logs admin table
* Spec admin user admin index
* Dashboard controller panel specs
* Spec panel contents
* Add create specs
* Don't assign non db ids if we don't need them
* Fix specs for new section
* Fix up fields
3 years ago
magicmilo
ee976eea44
change unitletas
3 years ago
magicmilo
a923e14969
change field to correct unitletas
3 years ago
magicmilo
d6c4027dd2
add optional fields
3 years ago
kosiakkatrina
8d0ff38e51
Fix header styling ( #107 )
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
7babd2cb71
Fix reasonable preference validation ( #105 )
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
b85a2a3332
change rsnvac enums to correct
3 years ago
magicmilo
c7a63e46b8
change column types
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
Daniel Baark
f947b0f74e
Check answers should be a single summary list ( #100 )
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
kosiakkatrina
79def05518
Display correct answer/change link for the checkboxes in the checck answers page ( #99 )
3 years ago
Matthew Phelan
3a576ab6c3
Link update
3 years ago
baarkerlounger
1a00e880ce
Add flash banner spec and functionality
3 years ago
baarkerlounger
c607458783
Rubocop
3 years ago
baarkerlounger
b1cf1ea71f
Password reset routing
3 years ago
Kat
04b823ff77
Fix validation name
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
93efd969e5
Form changes and small fixes ( #96 )
...
* Remove tenancy code question
* Rubocop
* Fix spec
* Use Gov component gem header
3 years ago
Daniel Baark
f8f2e464f9
Width layout class ( #94 )
3 years ago
Daniel Baark
b764b42a2e
Bugfixes ( #93 )
...
* Update footer email
* Page validations need to match form page names
* Update specs
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
Daniel Baark
6c4bb79b6a
Bug fixes ( #90 )
...
* Use the correct blue
* Use SASS for hover
* Use govuk frontend classes
* Don't add new stylesheet
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
16086503f9
Fix merge conflict
3 years ago
baarkerlounger
ff5c1ddd26
Fix major repairs date
3 years ago
MadeTech Dushan
f0f75dc48f
lint fixes
3 years ago
MadeTech Dushan
701951411e
no password confirmation field in reset password
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
72b8864cdc
add test around protecting emails
3 years ago
MadeTech Dushan
e0242ad1ce
make a step to protect emails
3 years ago
MadeTech Dushan
6c63b3266a
Make the email display test pass
...
Co-authored-by: Daniel Baark <baarkerlounger@users.noreply.github.com>
3 years ago
MadeTech Dushan
0a9e964691
pass first reset confirmation test
3 years ago
MadeTech Dushan
afa7321c80
make stlye of reset password page match design
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
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
5699c90e06
fixed dependency and updated readme
3 years ago
magicmilo
fa86626d37
added rake form_definition (can't load json-schema)
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