baarkerlounger
05c0e47c49
Preload organisations to remove n+1 queries
3 years ago
baarkerlounger
049d9b2296
Enable support users to download user details ( #589 )
...
* Enable support users to download user details
* Download all users
* Rubocop
3 years ago
baarkerlounger
116a1b12f4
CLDC-1217: Retirement soft validation ( #586 )
...
* Don't trigger soft validation if tenant prefers not to say
* Update gender content
* Fix spec description
3 years ago
Stéphane Meny
f31c2be851
CLDC-1118: Implement data export structure (CDS) ( #587 )
...
Co-authored-by: Dushan Despotovic <dushan@madetech.com>
3 years ago
Paul Robert Lloyd
8a79603457
Add status tag helper
3 years ago
baarkerlounger
93a10b40ef
Fix organisation filter ( #582 )
...
* Filter values correctly
* Remove filter value if hidden
* Return empty string rather than nil for accessible autocomplete
* Additional test for accessible automcomplete defaulting
3 years ago
Paul Robert Lloyd
6dc28bcb62
Update heading, label and hint text for user details
3 years ago
Paul Robert Lloyd
93bc1de859
Show ‘Data protection officer’ and/or ‘Key contact’ tags in users table
3 years ago
Paul Robert Lloyd
3603e25bd2
Update logs table column heading to say ‘Status’, not ‘Completed’
3 years ago
Ted-U
3c8959e4b2
Export improvements ( #581 )
...
* improved export - set start point for reference
* remove completed status from exports
* Added exception handling to export
* Improved tests, replaced rescue block with Sentry
Co-authored-by: Kat <katrina@madetech.com>
3 years ago
baarkerlounger
9f738b53e5
CLDC-1224: Tenancy type and tenancy length ( #578 )
...
* Fix value mapping for tenancy type 22/23
* Update secure helper
* Null safe
* Spec update
* Update mandatory
* Use helper
3 years ago
baarkerlounger
91a9137c75
CLDC-1101: Case log filter by organisation ( #522 )
...
* Rename org filter
* Ensure filters work when ID is passed
* UI init
* Lint
* Fix filter nesting
* Reduce width
* Set checked status of filters correctly
* Test filter presence
* Add filter test
* Rubocop
* Tweak styles for autocomplete within filter
Co-authored-by: Paul Robert Lloyd <me+git@paulrobertlloyd.com>
3 years ago
baarkerlounger
cb1c136c98
Generisize pagination links
3 years ago
Paul Robert Lloyd
9bb44a0ec2
Fix repeated use of Password in error summary (and use smart quotes)
3 years ago
Dushan
41757a8998
remove letting_in_sheltered_accomodation field ( #577 )
...
* remove letting_in_sheltered_accomodation field
This field is now duplicated by the shelteredaccom field
* lint fixes
* fix all failing specs
3 years ago
baarkerlounger
bd88eadb35
Hide inactive users and allow support users to view all users ( #576 )
...
* Hide inactive users and allow support users to view all users
* Enable support users to invite users to any organisation
* Add pagination to user views
3 years ago
Ted-U
970c9afcf7
Cldc 1217 retirement soft validation ( #570 )
...
* Interruption screen refactor
* Add test for retirement_age_for_person
Co-authored-by: Stéphane Meny <smeny@users.noreply.github.com>
* Rubocop
* update 22-23 form
* fix failures
* lint fixes
* remove whitespace
* remove commented code
* make spec file use translations instead of content
* update content
* lint fixes
* fix typo
* fix question wording
* fix failing spec
* add full stop
Co-authored-by: Stéphane Meny <smeny@users.noreply.github.com>
Co-authored-by: Dushan Despotovic <dushan@madetech.com>
3 years ago
Paul Robert Lloyd
48e0c63aa7
Make logs link less ambiguous
3 years ago
baarkerlounger
e374aadd16
Remove needs type question until we support supported housing logs ( #569 )
3 years ago
baarkerlounger
a078517c46
Sort case log index table by most recent by default ( #567 )
3 years ago
baarkerlounger
a6d9370972
Map joint tenancy field ( #565 )
3 years ago
baarkerlounger
501fcd91e0
Inactive users ( #564 )
...
* Allow users to be marked as inactive
* Import inactive users
3 years ago
baarkerlounger
85b4ae81e3
Make tshortfall optional based on hidden tshortfall_known question ( #563 )
...
* Make tshortfall optional based on hidden tshortfall_known question
* Add test for optional
* Add test for JSON derived and dependent on false options
* Test routing
* Fix optionality
3 years ago
baarkerlounger
ad12b8e4dc
Set case log ID offset at export ( #562 )
3 years ago
baarkerlounger
a06a5f5896
Referral can be internal for homeless ( #561 )
3 years ago
baarkerlounger
d17075fc44
CLDC-1218: Fix hbrentshortfall import ( #558 )
...
* Infer hbrentshortfall not known if tshortfall not provided and overridden
* Reorder import
3 years ago
baarkerlounger
055f23723e
Refactor for testability
3 years ago
baarkerlounger
5737ab2f2d
Works but helper is hard to test
3 years ago
baarkerlounger
940012d31e
Fix specs and linters
3 years ago
Paul Robert Lloyd
96497cdff8
Add navigation items helper
3 years ago
Dushan
26c0107779
add check to prevent error on hhmemb if joint is nil ( #560 )
...
* add failing spec
* add check to prevent error on hhmemb if joint is nil
3 years ago
baarkerlounger
6139866565
Improve DB seeding ( #556 )
...
* Improve DB seeding
* Don't seed LA Rent Ranges in test
3 years ago
Dushan
69bdfb2e5b
CLDC-744-joint-tenancy-validation ( #549 )
...
* add joint tenancy validation
* fix validation and spec
* improvements
* updates
* lint fixes
* fix typo
* change message displayed on hhmemb page
3 years ago
Ted-U
07e3bad429
Radio button on log filter is now preset to "All" ( #552 )
...
* Radio button on log filter is now preset to "All"
* lint fixes
* removed instance @ variable
3 years ago
baarkerlounger
233f54997b
Allow illness type to be refused ( #553 )
3 years ago
kosiakkatrina
4c4f52f021
Save correct la if postcode is invalid ( #551 )
3 years ago
kosiakkatrina
1ead78462b
Set tshortfall to 0 if it should exists but is not provided ( #550 )
...
* Set tshortfall to 0 if it should exists but is not provided
* check if tshortfall is overridden
3 years ago
Ted-U
32212369d0
Cldc 1149 radio buttons filter ( #548 )
...
* radio button
* radio button again
* rubocop versioning issue fixed
* linux and darwin
* Fix Gemfile
* rubocop
* erb lint
Co-authored-by: baarkerlounger <db@slothlife.xyz>
3 years ago
baarkerlounger
a859d8b37d
Rubocop
3 years ago
baarkerlounger
aa9705cda7
Majorrepairs will never match
3 years ago
baarkerlounger
7bff1d100b
Set major repair date
3 years ago
baarkerlounger
92fd859ac8
Derive major repairs for import
3 years ago
baarkerlounger
6f0f9ab95c
Dry depends on evaluation
3 years ago
baarkerlounger
048db88d47
Refactor ecstat age check
3 years ago
baarkerlounger
0383e27821
Enable dynamically dependent answer options
3 years ago
Dushan
f4401869de
Age known believe import fixes ( #545 )
...
* amend fixture to make test fail
* fix failing test
* lint fixes
3 years ago
baarkerlounger
9389d952ab
Fix Reason preference reason and lettings allocation answer option import
3 years ago
baarkerlounger
deb74f97c9
Make case log status rely on subsection status so they can't get out of sync
3 years ago
baarkerlounger
25fa0d4eff
Fix condition affects question (illness type)
3 years ago
kosiakkatrina
df3b8371ef
map tshortfall value ( #543 )
3 years ago