James Rose
18b81a43c0
Add Sidekiq web to project ( #914 )
...
This is only accessible when you are logged in as a support user. It is accessible at /sidekiq
2 years ago
baarkerlounger
401d5498b4
Add workers to production manifest ( #913 )
2 years ago
natdeanlewissoftwire
0acf0dbda8
feat: update test
2 years ago
natdeanlewissoftwire
fc1acfd2ea
Merge remote-tracking branch 'origin/CLDC-1482-sales-log-buyer-company' into CLDC-1482-sales-log-buyer-company
...
# Conflicts:
# app/models/form/sales/subsections/setup.rb
# db/schema.rb
# spec/models/form/sales/subsections/setup_spec.rb
# spec/models/form_handler_spec.rb
# spec/models/form_spec.rb
2 years ago
natdeanlewissoftwire
6ddf59f8e3
refactor: spacing
2 years ago
natdeanlewissoftwire
223f4e072b
tests: add tests for question and page
2 years ago
natdeanlewissoftwire
923d07f674
feat: update tests (and add housingneeds_type to schema that was previously missing)
2 years ago
natdeanlewissoftwire
b367c58971
feat: add migration and updated schema
2 years ago
natdeanlewissoftwire
49ae302a94
feat: add boyer_company page and question (migration still to be committed)
2 years ago
Jack S
cc93afa486
[CLDC-1484] Add prefer not to say to Age 1 question ( #910 )
2 years ago
Dushan
0712c694e7
changes for buyer live ( #892 )
...
feat: add migration and updated schema
fix specs
fix schema
fix db field name and specs
2 years ago
baarkerlounger
d72168ab08
Make purchid optional ( #908 )
2 years ago
James Rose
1aaa97bc8a
Revert "add sales building type question"
...
This reverts commit 2daa1f64cc
.
2 years ago
Ted-U
2daa1f64cc
add sales building type question
2 years ago
kosiakkatrina
f8f0624938
Cldc 1430 csv export ( #888 )
...
* Remove an unused ethnic_other column
* remove sale_completion_date from lettings logs
* Add collection start year
* Remove sale_or_letting column
* Rename rent_type to rent_type_detail in the export
* Format dates
* refactor
* Fix test
2 years ago
baarkerlounger
bcf9132004
CLDC-1511: Add "Will buyer 1 live in the property?" question ( #905 )
...
* Add "Will buyer 1 live in the property?" question
* Factory
2 years ago
Dushan
554b660f1a
update values ( #904 )
2 years ago
kosiakkatrina
ac3f864ad1
Extract voiddate out of the if statement ( #903 )
2 years ago
kosiakkatrina
2698ea1f4a
Cldc 1485 lead tenant gender ( #902 )
...
* Add gender 1 question
* Add gender identity 1 page
* rename files
* Add specs, add page to subsection
* Add sex1 column
* Add answer options to the gender question
* update tests, add depends on for subsection
* remove buyer_1_age from setup
* Change quotes to apostrophes
* Tests
2 years ago
kosiakkatrina
fb9e1c50e6
Folder structure ( #901 )
...
* Update the folder structure
* Add specs
* testy 💁♀️
* Update names in tests 🫠
2 years ago
kosiakkatrina
9bf189a919
set vacdays after setting the voiddate ( #900 )
2 years ago
bibblobcode
3b2b207c71
[CLDC-1484] Add Buyer 1 age question ( #898 )
...
* [CLDC-1484] Add buyer 1 questions to Sales form
* [CLDC-1484] Add Age1 page and sections
* [CLDC-1484] Enable rspec --only-failures
* Rubocop lint
2 years ago
kosiakkatrina
38f897a843
Cldc 1479 joint buyers ( #885 )
...
* Add number joint buyers page and question
* Add jointmore column
* fix form tests
* Add in progress trait and status test for sales log
* Fix test
2 years ago
baarkerlounger
f93cc49d78
Bump doc deps ( #897 )
2 years ago
baarkerlounger
2c06ec9d74
Bump dependencies ( #896 )
2 years ago
Ted-U
4a648a144b
CLDC 1465 Add beds question to saleslog ( #890 )
...
* Add beds question to saleslog
* move beds question to property section
* fix property filepath references
* fix failing tests
* add tests to form spec
* fix migration
2 years ago
baarkerlounger
653b844f36
Handle import validation failures ( #895 )
...
* Set age and relat to nil when inconsistent
* Set homeless and reasonable preference due to homelessness to nil if inconsistent
* Age not answered case
* Refused is also valid
* Check relationship has been answered
2 years ago
natdeanlewissoftwire
4696529c34
feat: update schema
2 years ago
natdeanlewissoftwire
da5bc33c1e
Merge branch 'main' into CLDC-1482-sales-log-buyer-company
...
# Conflicts:
# db/schema.rb
2 years ago
natdeanlewissoftwire
d597eb9d85
refactor: spacing
2 years ago
James Rose
7fc74ca6d1
Allow a user to have a link to many legacy users ( #894 )
...
While migrating users from the previous service to the new one we discovered that email addresses are not unique in the previous service. This means that one user in the new service might relate to multiple users in the previous service.
This change:
- Adds a new LegacyUser model that can belong to a User. Each LegacyUser model has one old_user_id that corresponds to the user ID in the legacy service.
- Updates the user import service so that we create this association for new users
- Creates a Rake script to backfill the association for existing users
2 years ago
natdeanlewissoftwire
ec6a1578fa
tests: add tests for question and page
2 years ago
natdeanlewissoftwire
21201dc875
feat: update tests (and add housingneeds_type to schema that was previously missing)
2 years ago
natdeanlewissoftwire
67e13b5df6
Merge branch 'main' into CLDC-1482-sales-log-buyer-company
2 years ago
natdeanlewissoftwire
ac897960a1
feat: remove codes from non support user csv exports ( #889 )
2 years ago
natdeanlewissoftwire
7cd54e7a5e
feat: add migration and updated schema
2 years ago
natdeanlewissoftwire
3c24d426ca
feat: add boyer_company page and question (migration still to be committed)
2 years ago
kosiakkatrina
67286125fb
Outright sale type ( #884 )
...
* Add outright sale question and page
* Add other type column
* Add a conditional OtherOwnershipType question
* Fix hash
2 years ago
kosiakkatrina
022bd97e36
Add discounted ownership type ( #882 )
...
* Add discounted ownership type question and page to the sales setup section
* Remove wrong hint text
* Add type to completes sales log mock
2 years ago
Ted-U
38aa770c9d
CLDC 1478 add joint purchase question ( #883 )
...
* add joint purchase question
* lint
* add test for joint purchase question
* fix and add tests
* Delete created_by.rb
* merge conflict
* lint
2 years ago
Dushan
cec396991b
add ownership scheme ( #886 )
2 years ago
James Rose
d3075e4e43
Revert to f4e6d6d6bb
( #887 )
2 years ago
natdeanlewissoftwire
f162f880ae
Revert "Merge remote-tracking branch 'origin/main' into CLDC-1429-output-la-code"
...
This reverts commit 626e2bd1a6
, reversing
changes made to f86e13cea7
.
2 years ago
natdeanlewissoftwire
8370d4aa45
Revert "feat: revert to previous behaviour"
...
This reverts commit 71481cc83a
.
2 years ago
natdeanlewissoftwire
71481cc83a
feat: revert to previous behaviour
2 years ago
natdeanlewissoftwire
626e2bd1a6
Merge remote-tracking branch 'origin/main' into CLDC-1429-output-la-code
2 years ago
kosiakkatrina
f4e6d6d6bb
Cldc 1475 shared ownership scheme type ( #881 )
...
* Add shared ownership type question and page
* Add type column to the sales logs table
* Add ownership scheme field to db
Isolating this into a separate commit so it can be cherry picked for any
other sales logs work that's necessary.
* Fix tests
* fix a test
* Fix typo
* Set default time for form handler
Co-authored-by: Dushan Despotovic <dushan@madetech.com>
2 years ago
baarkerlounger
f58c4054ee
Purchaser code hint text ( #879 )
2 years ago
baarkerlounger
a817a6f345
Lower case logs ( #878 )
...
* Sale completion date (#877 )
* Update page id (URL)
* Question order
* Lower case logs
2 years ago
baarkerlounger
b59b9c3e07
Sale completion date ( #877 )
...
* Update page id (URL)
* Question order
2 years ago