baarkerlounger
4ef43c8738
Add validation
3 years ago
baarkerlounger
829e199478
Move LA validation to LA validation file
3 years ago
baarkerlounger
809667c673
Rubocop
3 years ago
baarkerlounger
6f6496ceaa
Unit test
3 years ago
baarkerlounger
d55a028719
Have form handler class decide the current form
3 years ago
baarkerlounger
d9883c13a4
Display LA name rather than code
3 years ago
baarkerlounger
2f73d250d1
Rubocop
3 years ago
baarkerlounger
5b4dc5a16c
Format bullet lists
3 years ago
baarkerlounger
81d14d426b
Refactor org edit permissions to helper
3 years ago
baarkerlounger
feefa4f358
Import task
3 years ago
baarkerlounger
f8d16bf098
Import data
3 years ago
baarkerlounger
80363d3c19
Add spec fixture
3 years ago
baarkerlounger
09eb55b0ca
Create org la relation
3 years ago
Paul Robert Lloyd
d675dccfe9
Use component for primary navigation
3 years ago
Paul Robert Lloyd
268cf40571
Primary navigation labels don’t use translation strings
3 years ago
Kat
8019e1c977
sign in user in test
3 years ago
Kat
1678e8c6a4
tests
3 years ago
Kat
88d4de0a25
lint and remove old tests
3 years ago
Stéphane Meny
ed9a32a7fb
Correct weekly income calculation based on a given yearly income ( #483 )
3 years ago
Paul Robert Lloyd
716dc59acc
Run Rubocop on ERB templates
3 years ago
Paul Robert Lloyd
42cb583332
Run default linters on ERB templates
3 years ago
Stéphane Meny
b8d60a86ea
Import changes ( #470 )
3 years ago
Paul Robert Lloyd
fd675bdf01
Add document list component
3 years ago
Dushan
33aa4a226f
Fix check answers bugs ( #474 )
...
* fix issues with check answers
* lint fixes
3 years ago
baarkerlounger
cbdcde2bcd
Hash syntax
3 years ago
kosiakkatrina
b9d8ba7933
Fix saving date ( #472 )
3 years ago
kosiakkatrina
919f25dd74
Add user filter ( #467 )
...
* Add user filter
* Add unit tests for user scope
3 years ago
kosiakkatrina
9a765a6415
Add year filter ( #464 )
...
* add year filter
* update text and filter order
* fix typo
* extract partials
* add tests with 2 filters
* Allow OR filters within scope categories and AND filters across them
* Rubocop
* Remove some of the N+1 query madness by preloading required organisations
* Refactor scopes
* Fix new specs
* unticked checkboxes by deault
* fix test
Co-authored-by: baarkerlounger <db@slothlife.xyz>
Co-authored-by: baarkerlounger <5101747+baarkerlounger@users.noreply.github.com>
3 years ago
kosiakkatrina
2b9cb6f257
Fix financial validation ( #465 )
3 years ago
baarkerlounger
fb0c6b8bd4
Allow support to edit users ( #463 )
...
* Allow support to edit users
* Refactor assignable roles
* Better spec descriptions
3 years ago
baarkerlounger
8ecb3844f7
Update devise translation strings ( #461 )
3 years ago
kosiakkatrina
f64a2b7d92
Reset errors if a log gets successfully updated ( #459 )
...
* reset errors if a log gets successfully updated
* Add test
3 years ago
baarkerlounger
30083933b9
Don't allow data coordinators to assign support role
3 years ago
kosiakkatrina
b4698e5ff7
Apply filters to csv downloads ( #458 )
3 years ago
kosiakkatrina
ce0752addb
Cldc 1010 filter ( #449 )
...
* Add a filter for status
* Add styling, separate filter tab into a file
* Add mobile styling
* use session instead of cookies
* Get statuses from case_log
* remove explicit builder set
* set filter from within get index
* style new log button
* refactor tests
3 years ago
baarkerlounger
68e105d58a
Translation strings ( #457 )
...
* Update en.yml
* Use translation string in test
Co-authored-by: Dan13L3 <daniel.culpan88@gmail.com>
3 years ago
baarkerlounger
0e9f7d12d2
CLDC-1100: Add a Customer Support user role ( #454 )
...
* A support role exists that can see all case logs
* Support role requires 2FA
* Support user sees 2FA code screen on login
* Use email for OTP code
* Ensure resend paths work
* Support user can see additional organisation columns on logs page
* Simpler test
* Remove spec description spaces
3 years ago
kosiakkatrina
258626d5a9
Add local housing authority referral validation ( #456 )
...
* Add local housing authority referral validation
* Update validation message
3 years ago
kosiakkatrina
868de89234
Update soft rent validations messages ( #453 )
...
* Update soft rent validations messages
* fix suffix and to_s for check_answers symbol
* rubocop
3 years ago
baarkerlounger
433748f5b6
Devise fields don't need versioning ( #455 )
3 years ago
baarkerlounger
206aab915d
Don't paginate CSV download
3 years ago
Stéphane Meny
5af5088c15
CLDC-1118: Implement empty master manifest ( #450 )
...
CLDC-1118: Implement empty daily master manifest
3 years ago
baarkerlounger
8b5be1925c
CLDC-1091: User Account URLs ( #448 )
...
* Works but relies on routes ordering
* Add helper test
* Actually work
* Test edit password auth even though we don't have a route for it
* Add spec description
* Consistency
3 years ago
baarkerlounger
2998170cdd
Remove hotwire turbo ( #406 )
...
* Remove turbo
* No turbo so redirect form response
* Handle multiple errors per field
* Remove turbo styles
3 years ago
baarkerlounger
00ebde0401
CLDC-1074: Derive landlord value from owning organisation provider type ( #447 )
...
* Derive landlord from owning org provider type
* Use valid charge values
3 years ago
baarkerlounger
9dc7e574bf
CLDC-1116: Don't route to ecstat if age is under 16 ( #446 )
...
* Ecstat dependent on age
* Derive ecstat if age is under 16
* Test value label derivation
* Ensure derived option is still shown in check answers
3 years ago
baarkerlounger
9387a743da
Remove unused methods ( #443 )
...
* Remove unused methods
* Spec setting data protection officer status
3 years ago
baarkerlounger
3acf1c65e2
CLDC-1117: Allow data providers to see but not edit users in their org ( #442 )
...
* Allow data providers to see but not edit users in their org
* Don't actually need octal literals
3 years ago
baarkerlounger
f1a0931b9f
Time bombing your own specs is a bad time
3 years ago
baarkerlounger
fcc7c14efb
Fix intermittent spec failure
3 years ago