Skip to content

Commit

Permalink
22-04-29 release (#1213)
Browse files Browse the repository at this point in the history
* 2022-02-10 core (#982)

* fix: retnal assistance eror message

* Preferences cleanup (#1947)

* feat(backend): preferences cleanup

BREAKING CHANGE: Preferences are now M-N relation with a listing and have an intermediate table with ordinal number

* refactor(backend): preferences deduplication

So far each listing referenced it's own unique Preferences. This change introduces Many to Many
relationship between Preference and Listing entity and forces sharing Preferences between listings.

* feat(backend): extend preferences migration with moving existing relations to a new intermediate tab

* feat(backend): add Preference - Jurisdiction ManyToMany relation

* feat: adapt frontend to backend changes

* fix(backend): typeORM preferences select statement

* fix(backend): connect preferences with jurisdictions in seeds, fix pref filter validator

* fix(backend): fix missing import in preferences-filter-params.ts

* refactor: rebase issue

* feat: uptake jurisdictional preferences

* fix: fixup tests

* fix: application preferences ignore page, always separate

* Remove page from src/migration/1633359409242-add-listing-preferences-intermediate-relation.ts

* fix: preference fetching and ordering/pages

* Fix code style issues with Prettier

* fix(backend): query User__leasingAgentInListings__jurisdiction_User__leasingAgentIn specified more

* fix: perferences cypress tests

Co-authored-by: Emily Jablonski <[email protected]>
Co-authored-by: Sean Albert <[email protected]>
Co-authored-by: Lint Action <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: updates household member count (#2112)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: updates household member count

picked 5c4e03b240a5def6ca3f2616a1f2120e18c993b9

* fix: reverts preferences to re-add as breaking/major bump

* fix: reverts preferences to re-add as breaking/major bump

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* refactor: listing preferences and adds jurisdictional filtering

BREAKING CHANGE: updates preference relationship with listings

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: Updates lastName on application save

* docs: Update changelog

* Fix code style issues with Prettier

* chore(release): version

 - @bloom-housing/[email protected]

* fix: a11y color contrast issues with tint on ImageCard component (#2074)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: two new common app questions - Household Changes and Household Student (#2070)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: household member cypress test (#2113)

* chore(release): version

 - @bloom-housing/[email protected]

* fix: SiteHeader visual issues with long menu bars (#2068)

* feat: jurisdictional email signatures (#2111)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: don't send email confirmation on paper app submission (#2110)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 1838/ami chart jurisdictionalized (#2102)

* fix: jurisdictionalizes ami charts on partners

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: Updates application confirmation numbers (#2072)

* feat: Updates application confirmation numbers

* docs: Update changelog

* feat: adds confirmation number to csv export

Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: updates lastName on application save

picked from 4d13e0049df5661360ed42b9c47b390df36f81a5

* fix(backend): make it possible to filter portal users in /users endpoint (#2078)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* Revert "refactor: listing preferences and adds jurisdictional filtering"

This reverts commit 3cfd6d18ea4bf8370cf185112c56836b9daf7159.

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* hotfix: ensure Triton seed doesn't error out

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 1837/preferences cleanup 3 (#2144)

* feat(backend): preferences cleanup

BREAKING CHANGE: Preferences are now M-N relation with a listing and have an intermediate table with ordinal number

* refactor(backend): preferences deduplication

So far each listing referenced it's own unique Preferences. This change introduces Many to Many
relationship between Preference and Listing entity and forces sharing Preferences between listings.

* feat(backend): extend preferences migration with moving existing relations to a new intermediate tab

* feat(backend): add Preference - Jurisdiction ManyToMany relation

* feat: adapt frontend to backend changes

* fix(backend): typeORM preferences select statement

* fix(backend): connect preferences with jurisdictions in seeds, fix pref filter validator

* fix(backend): fix missing import in preferences-filter-params.ts

* refactor: rebase issue

* feat: uptake jurisdictional preferences

* fix: fixup tests

* fix: application preferences ignore page, always separate

* Remove page from src/migration/1633359409242-add-listing-preferences-intermediate-relation.ts

* fix: preference fetching and ordering/pages

* Fix code style issues with Prettier

* fix(backend): query User__leasingAgentInListings__jurisdiction_User__leasingAgentIn specified more

* fix: perferences cypress tests

Co-authored-by: Michal Plebanski <[email protected]>
Co-authored-by: Emily Jablonski <[email protected]>
Co-authored-by: Lint Action <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat(backend): extend UserUpdateDto to support email change with confirmation (#2120)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 2056/user account edit fix (#2073)

* fix: Replaces service to use newly created

* fix: Fix DOB initial values

* feat(backend): extend UserUpdateDto to support email change with confirmation

* fix: Update email form to use a new service

* fix: updates email change language

* Fix code style issues with Prettier

Co-authored-by: Michal Plebanski <[email protected]>
Co-authored-by: Sean Albert <[email protected]>
Co-authored-by: Lint Action <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: add Programs section to listings management (#2093)

* feat: add Programs section to listings management

* fix: sorting on detail page

* fix: merge issues

* feat: make program fetching jurisdictional

* fix: replace preference with program

* fix: program delete removes jurisdiction

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 2085/adds top level catchAll exception filter (#2132)

* fix: adds top level catchAll error filter

* fix: removing now unused exception filter

Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: Change unit number field type to text (#2136)

* chore(release): version

 - @bloom-housing/[email protected]

* chore(deps): bump electron from 13.1.7 to 13.3.0 (#2137)

Bumps [electron](https://github.com/electron/electron) from 13.1.7 to 13.3.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v13.1.7...v13.3.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump axios from 0.21.1 to 0.21.2 (#2138)

Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(backend): improve application flagged set saving efficiency (#2147)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 1655/invite user edit (#1982)

* feat: Update title to be also a react node

* feat: Update translations

* feat: Create reusable form to add and edit users

* feat: Add delete function

* feat(backend): Add ON UPDATE SET NULL to application-user relation

* fix: Fix type

* Fix code style issues with Prettier

* fix(jurisdictionResolverService): updates to return undefined if no jurisdictionName

* feat: Update drawer state name

* feat: Add missing translations

Co-authored-by: Michal Plebanski <[email protected]>
Co-authored-by: Lint Action <[email protected]>
Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* Add a phone number column to the user_accounts table (#2134)

* Merge pull request #710 from CityOfDetroit/feature/add-phonenumber-to-user-entity

Add phone number to user accounts.

* Merge pull request #728 from CityOfDetroit/fix/modify-phone-number-test

Fix user E2E tests.

* Merge pull request #728 from CityOfDetroit/fix/modify-phone-number-test

Fix user E2E tests.

* fix: add validation groups to phoneNumber

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* refactor: make backend a peer dependency in ui-components (#2146)

* refactor: make backend a peer dependency in ui-components

* fix: fix flaky test

Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: updates address order (#2151)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat(backend): add nginx proxy-cache configuration (#2119)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* Release 11 11 21 (#2162)

* fix: fix: adding unit tests to the unit type

picked from dev c33654d9abdeea274bf886acf46c6707b8477ccd

* fix: fix: a11y color contrast issues with tint on ImageCard component

picked from dev e2338ccebc65fdfbeac40750177ef32386599c4c

* feat: feat: two new common app questions - Household Changes and Household Student

picked from dev 29780f670dfae1350dd9bd1672b54a37537c80d8

* fix: fix: SiteHeader visual issues with long menu bars

picked from dev 17bde74b5e5ce9f2ed2ca2e8724d89e7fecdcc9c

* feat: feat: jurisdictional email signatures

picked from dev 5cb89d6daa3b9cd6e20d449b0ce6552ffa65649e

* fix: fix: don't send email confirmation on paper app submission

picked from dev 76fb4cccb0ad146eadd43700e664254d141fce7d

* feat: feat: Updates application confirmation numbers

picked from dev ac9526c2fa92364deac579faaa60bdb8bbfeebff

* fix: fix(backend): make it possible to filter portal users in /users endpoint

picked from dev 3360f41f327a5602cb7f49317fae43bf7fa42581

* feat: feat(backend): add languages (Language[]) to Jurisdiction entity

picked from dev d0c3a702b6b35e39946d311223c97a9fd50d2df0

* fix: feat(backend): try fixing SETEX redis e2e tests flakiness

picked from dev a268e1bc389d1f0690738c7d0f91ab7bd0c35086

* feat: feat(backend): Add user delete endpoint

picked from dev 5e751cec4027626decdd3a218bf999190c925ebe

* fix: fix: improved UX for the Building Selection Criteria drawer

picked from dev bba9033d10b57ff8f41fd80f14405e2d688c9b92

* feat: feat(backend): add Program entity

picked from dev d23a65653e27fbd45a8d174b6399692915ba2c17

* refactor: breaking: 1837/preferences cleanup

picked from dev 7ab4104a29d7989f4b3335654f463bfc3773fba8

BREAKING CHANGE: preferences model and relationships changed

* feat: feat(backend): extend UserUpdateDto to support email change

picked from dev 1933cca822596e1084319cb87b1763899620f40a

* fix: 2056/user account edit fix

picked from dev eac5bd1dc11d5db5d31d0400712d49fbfff17394

* refactor: 2085/adds top level catchAll exception filter

picked from dev 06f9cdaf10f54a37bb7b46f8b8230f024187d310

* feat: feat: Change unit number field type to text

picked from dev 09700aa2bff340fc62840569fb795161c7b25df1

* feat(backend): improve application flagged set saving efficiency

* fix: fix: updates address order

picked from dev 1ff66f0da0f4773b8e9eba1c0ada12e88c9c89e5

* fix: sets programs to optoinal and updates versions

* chore: chore(deps): bump electron from 13.1.7 to 13.3.0

* chore: chore(deps): bump axios from 0.21.1 to 0.21.2

* fix: adds programs service

* fix: fix lisitng e2e tests

* fix: fix member tests

* fix: fixes program, preference, ami-chart de-dupe (#2169)

* chore(release): version

 - @bloom-housing/[email protected]

* fix: adds jurisdictionId to useSWR path

* fix: recalculate units available on listing update (#2150)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: recalculate units available on listing update

picked form dev 9b12ff0d5897c04e3bcaa788f8ec225cb5af6dd3

* feat: feat(backend): make use of new application confirmation codes

picked from dev fddb626a17b911c4933566b64a4ac7e26e032279

* Revert "chore(deps): bump axios from 0.21.1 to 0.21.2 (#2138)"

This reverts commit a8e2a5c1dfc71a4f13ff548ae23aa67d18acbcd3.

* revert: revert "chore(deps): bump axios from 0.21.1 to 0.21.2

picked from dev e99944ecaec4d4527065e8b5cb5374a5612e9c4c

* refactor: remove applicationAddress (#2009)

* refactor: remove applicationAddress

* docs: readme update

* test: fix backend test

* fix: db migration

* Fix code style issues with Prettier

* test(backend): fix SETEX impossible to process

Co-authored-by: Lint Action <[email protected]>
Co-authored-by: Michal Plebanski <[email protected]>
Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: refactor and add public site application flow cypress tests (#2118)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: sapp submission w/ no due date

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* Revert "feat(backend): add nginx proxy-cache configuration (#2119)"

This reverts commit f51c05f34e84b22bf6093f786aea9fcc970aee85.

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: app submission w/ no due date

picked from dev 574b8ce65017d958bc392421ed4379ddc1f2216f

* 1975/better seed data for ami-charts (#2156)

* fix: better seed data for ami-charts

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 2154/avance prefs (#2177)

* feat: new preferences

* feat: preference updates

* Fix code style issues with Prettier

Co-authored-by: Lint Action <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 2154/avance prefs (#2178)

* feat: new preferences

* feat: preference updates

* Fix code style issues with Prettier

* feat: preference options bottom border

Co-authored-by: Lint Action <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]

* 2154/avance prefs III (#2179)

* feat: new preferences

* feat: preference updates

* Fix code style issues with Prettier

* feat: preference options bottom border

* feat: liveWorkLivermore preference

Co-authored-by: Lint Action <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 1988/adds listing management cypress tests to partner portal (#2103)

* test: adds listing management tests

* test: minor tweaks

* test: big updates for LM cypress tests

* test: fixes selectors

* feat: adding partner cypress tests to pr workflow

* fix: undoing

* chore: adds latest bloom-housing packages to partners

Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: adds new preferences, reserved community type

* feat: adds bottom border to preferences

* feat: updates preference string

* fix: preference cleanup for avance

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: preference cleanup for avance

* 1975/one month rent (#2158)

* feat: add depoist helper text

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix(backend): fix view.spec.ts test (#2175)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* refactor: removes jsonpath (#2206)

* refactor: removes jsonpath

* Fix code style issues with Prettier

Co-authored-by: Lint Action <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 1869/application program display (#2114)

* feat: add programs step to application forms

* test: add Cypress tests for the programs step

* feat: rework the Programs page and enhance seeds

* chore: fix programs Cypress test

* fix: fixup cypress tests

* fix: update mock data

* fix: fixup mock data pt 2

* fix: type issues

* fix: bugs and simplify program data processing

Co-authored-by: Emily Jablonski <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: adds jurisdictions to pref seeds (#2199)

* feat: adds jurisdictions to pref seeds

* Fix code style issues with Prettier

Co-authored-by: Lint Action <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 1901/application program partners (#2182)

* feat: add programs step to application forms

* test: add Cypress tests for the programs step

* feat: rework the Programs page and enhance seeds

* chore: fix programs Cypress test

* feat: add programs step to application forms

* test: add Cypress tests for the programs step

* feat: rework the Programs page and enhance seeds

* chore: fix programs Cypress test

* fix: fixup cypress tests

* fix: update mock data

* fix: fixup mock data pt 2

* fix: type issues

* feat: Create programs mapper

Closes #1901

* feat: Add programs section

Closes #1901

* feat: Create details section for programs

Closes #1901

* feat: Update translations

Closes #1901

* refactor: Remove console log

Closes #1901

* refactor: Simpify code

Closes #1901

* chore: remove console log

* fix: mapProgramToApi return

Co-authored-by: Jared White <[email protected]>
Co-authored-by: Emily Jablonski <[email protected]>
Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* test: update program test

* chore(release): version

 - @bloom-housing/[email protected]

* feat: new demographics sub-race questions (#2109)

* feat: new demographics sub-race questions

* fix: update migration to keep data

* feat: other text boxes

* feat: wip other labels

* feat: can edit demo in partners

* fix: cleanup

* feat: csv formatting

* fix: type issue

* feat: remove gender and sexual orientation

* fix: add test id

* fix: more test ids

* fix: select by checkboxes

* fix: dont use select

* fix: data

* fix: add tests, fixup other option

* Fix code style issues with Prettier

* fix: remove unneeded dependencies

* test: add additional test

* Fix code style issues with Prettier

* test: change test id attribute

* chore: cleanup formatApplicationData imports

Co-authored-by: Lint Action <[email protected]>
Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: updates email confirmation for lottery (#2200)

* feat: updates email confirmation for lottery

* Fix code style issues with Prettier

Co-authored-by: Lint Action <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: add ariaHidden to Icon component

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: add ariaLabel prop to Button component

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: change the yes/no radio text to be more descriptive (#2208)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: remove alameda reference in demographics (#2209)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* refactor: remove applicationAddress

picked from dev 081beeb541f354c1360fbeba170afe19a1d34f98

* feat: refactor and add public site application flow cypress tests

picked from dev 3d01626016ef611853770dea8431a68d1ca53fae

* feat: better seed data for ami-charts

picked from dev aae89af29e517673f42a06ca9aa8e28ef4198ded

* feat: adds listing management cypress tests to partner portal

* fix: listings management keep empty strings, remove empty objects

picked from dev bbef06bd1b95f549e9fecd6af787df009e01e9e0

* feat: one month rent

picked from dev 931903360faf813ef9a151d975586388d1a253b3

* test: view.spec.ts test

picked from dev 4a2dfbaaad6c3f9252b11dcec1b1db732ae53285

* refactor: removes jsonpath

picked from dev 75ee548d0646d33316beeb89cbe2c6fadca5ee67

* feat: adds jurisdictions to pref seeds

picked from dev f4b3c11e22337ce8c1a942881756e5c636fb0084

* feat: new demographics sub-race questions

picked from dev d81fb2f7c424acecc2ad89656855362dd1b9bcd4

* feat: updates email confirmation for lottery

picked from dev 8a9e21039fd6566664be2a4ecdef20d381048f03

* fix: add ariaHidden to Icon component

picked from dev f6dd5af88d207d92c2c02cc63b63d5e9fdf2f381

* fix: add ariaLabel prop to Button component

picked from dev 0434378b406417fe84cdb42d90ba77ea9366081c

* fix: change the yes/no radio text to be more descriptive

picked from dev 38a6ff76b8eb60293f82e0a4c37e129b2d7d52ba

* fix: remove alameda reference in demographics

picked from dev cfa1f78668e6d3834c1772a59f55f83608017f14

* chore: release version

picked from dev 8445513c6c4a996b2e3b552c204f23b6372713d7

* feat: ami chart jurisdictionalized

picked from dev d7d8d21c13db9c925e3826db2f0536d0832c3827

* refactor: make backend a peer dependency in ui-components

picked from dev b2ccff139082043a5fe068b8e6be859e4ce9a1a7

* feat: add a phone number column to the user_accounts table

picked from dev 3b4fd091730d24938b48f67970e224b60112eb33

* chore: removes application program partners

* chore: removes application program display

* Revert "chore: removes application program display"

This reverts commit dc268955bf981dcd4d48392948c00f9e7971b095.

* Revert "chore: removes application program partners"

This reverts commit 57cfefb15bfece763221d5445eac6ddd24576182.

* chore: yarn.lock and backend-swagger

* fix: removes Duplicate identifier fieldGroupObjectToArray

* feat: skip preferences if not on listing

* chore(release): version

* fix: cannot save custom mailing, dropoff, or pickup address

* chore(release): version

* chore: converge on one axios version, remove peer dependency

* chore(release): version

* feat: simplify Waitlist component and use more flexible schema

* chore(release): version

* fix: lottery results uploads now save

* chore(release): version

* feat: add SRO unit type

* chore(release): version

* fix: paper application submission

* chore(release): version

* fix: choose-language context

* chore(release): version

* fix: applications/view hide prefs

* chore(release): version

* feat: overrides fallback to english, tagalog support

* chore(release): version

* fix: account translations

* chore(release): version

* fix: units with invalid ami chart

* chore(release): version

* fix: remove description for the partners programs

* fix: fix modal styles on mobile

* fix: visual improvement to programs form display

* fix: submission tests not running

* chore: translations (#2293)

* chore: translations (#2295)

* chore: missing translations (#2296)

* fix: prefUnits on autofill summary (#2294)

* chore: move Programs step to come after Students (#2277)

* feat: adds whatToExpect to GTrans

* chore: missing translations (#2299)

* fix: 2259/fixes idle timeout not resetting properly (#2292)

* chore(release): version

* fix: demographics howDidYouHear options (2305)

* chore(release): version

* fix: mobile notice text wrap issue (#2308)

* feat: postmark date time fields partners (#2239)

* fix: versioning issues (#2311)

* chore(release): version

* chore(backend): move libs/ to shared/utils, clean up modules (#2230)

* feat(backend): all programs to csv export (#2302)

* chore(release): version

* feat: filter partner users

* chore(release): version

* feat: adds updating open listing modal (#2288)

* fix: closed listings allowed apps (#2317)

* feat: 2165/rosefield preference updates (#2386)

* chore(release): version

* Revert "chore(release): version"

This reverts commit 5a4b461c574530181f3c79cba03f4e6592a4422a.

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat(backend): add storing listing translations (#2215)

* feat: adds whatToExpect to GTrans (#2303)

* fix: patch issue with submit application section

* fix: patches translations for preferences (#2410)

* fix: issues with public app and readds auto save (2428)

* fix: ami charts without all households (#2430)

* fix: load blank application

* 2022-01-27 release (#2439)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix(backend): nginx with heroku configuration (#2196)

* fix(backend): nginx with heroku configuration

* feat(backend): nginx make hostname and port variable

* feat: nginx proxy updates

* feat(backend): modify proxy_pass and Host header settings

Co-authored-by: seanmalbert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: fetchBaseListingData (#2238)

* fix: fetchBaseListingData

* fix: fetchBaseListingData

* chore(release): version

 - @bloom-housing/[email protected]

* fix: lottery results uploads now save (#2226)

* fix: lottery results uploads now save

* fix: switch to partial typing

* chore(release): version

 - @bloom-housing/[email protected]

* feat: getStaticPaths fallback blocking test

* chore(release): version

 - @bloom-housing/[email protected]

* chore: add temp logs for testing id/slug

* chore(release): version

 - @bloom-housing/[email protected]

* chore(backend): move libs/ to shared/utils, clean up modules (#2230)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore: add SRO unit type (#2243)

* chore: add SRO unit type to DB / translations

* chore: additional string changes to SRO

* test(backend): add SRO to unit types test

* feat: SRO unit type additions

Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 2140/fix paper application submission (#2195)

* fix: fix paper application submission

* chore(release): version

 - @bloom-housing/[email protected]

* Fix code style issues with Prettier

* test: adds cypress test coverage

* fix: updates per sean

* fix: one more update

* test: fix partners unit tests

* fix: choose-language context

* chore(release): version

 - @bloom-housing/[email protected]

* fix: applications drop off address

* fix: applications/view hide prefs

* chore(release): version

 - @bloom-housing/[email protected]

* feat(backend): add storing listing translations (#2215)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix(backend): make nginx proxy use Language HTTP header in cache key (#2266)

* 2098/fix partner applications grid display (#2188)

* fix: partner applications grid display

* Fix code style issues with Prettier

* test: fix tests

* Fix code style issues with Prettier

* fix: updates to using views

* tests: add application grid test

* fix: updates per sean

* fix: one more update

Co-authored-by: Lint Action <[email protected]>
Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: fixes some issues with the deployment

* Revert/2188 (#2270)

* fix: fixes some issues with the deployment

* revert: partner applications grid display

* fix: view.spec

Co-authored-by: Yazeed Loonat <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 2098/fix partner applications grid display (#2188)

* fix: partner applications grid display

* Fix code style issues with Prettier

* test: fix tests

* Fix code style issues with Prettier

* fix: updates to using views

* tests: add application grid test

* fix: updates per sean

* fix: one more update

Co-authored-by: Lint Action <[email protected]>
Co-authored-by: Sean Albert <[email protected]>

* feat(backend): add listings closing routine (#2213)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat(backend): add user password expiration

* fix: Remove description for the partners programs (#2234)

Closes #1901

* chore(release): version

 - @bloom-housing/[email protected]

* 2227/lock login attempts frontend (#2260)

* feat: Add new translations

Closes #1927

* refactor: Make title as optional

Closes #1927

* feat: Update login alert text

Closes #1927

* fix: Use translation, instead of hardcoded text

Closes #1927

* feat: Add translation

Closes #1927

* feat: Update type name

Closes #1927

* feat: Add new alerts

Closes #1927

* fix: Fix translation

Closes #1927

* fix(AlertBox.tsx): Fix close icon placement

Closes #1927

* feat: Create helper to catch network errors

Closes #1927

* feat: Add translations

Closes #1927

* feat: Create reusable sign-in form

Closes #1927

* refactor(sign-in page, public and partners): Update sign-in pages to use reusable form

BREAKING CHANGE: sign-in pages have been updated

Closes #1927

* Fix code style issues with Prettier

* fix: fixes tests and also issue with user grid

* fix: fixes linting error

* feat(backend): add appropriate http exception for password outdated login failure

* fix: Fix modal styles on mobile (#2280)

Closes #2253

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: visual improvement to programs form display (#2276)

* chore(release): version

 - @bloom-housing/[email protected]

* fix: submission tests not running (#2282)

* chore(release): version

 - @bloom-housing/[email protected]

* feat: overrides fallback to english, tagalog support (#2262)

* chore: allow work-in strings to take jurisdiction name

* feat: add support for tagalog

* Fix code style issues with Prettier

* feat: tagalog language

* feat: translations precedence includes en overrides

Co-authored-by: Lint Action <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: account translations (#2278)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* test: fixes test issues

* fix: fix sortig on applications partner grid

* chore: translations (#2293)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore: translations (#2295)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore: missing translations (#2296)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: prefUnits on autofill summary (#2294)

* chore(release): version

 - @bloom-housing/[email protected]

* chore: move Programs step to come after Students (#2277)

* chore: move Programs step to come after Students

* test: rearrange order of programs within Cypress tests

* test: remove problematic statement

* chore(release): version

 - @bloom-housing/[email protected]

* fix: units with invalid ami chart (#2290)

* fix: alunits with invalid ami chart

* perf: uniquePercentageChartSet map

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore: missing translations (#2299)

* chore: missing translations

* chore: remove logs

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* 2259/fixes idle timeout not resetting properly (#2292)

* fix: fixes idle timeout not resetting properly

* chore(release): version

 - @bloom-housing/[email protected]

* feat: adds whatToExpect to GTrans (#2303)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: demographics howDidYouHear options were not changing on language change (#2305)

* chore(release): version

 - @bloom-housing/[email protected]

* Fix checkbox rtl style

* feat(backend): add password outdating only to users which are either admins or partners

* fix: fix hero button width with secondary button (#2306)

* fix: mobile notice text wrap issue (#2308)

* feat(backend): add activity logging to listings module (#2190)

* feat(backend): add activity logging to listings module

* feat(backend): add activity logging to applications and user controllers

* feat(backend): add metada column to activity log entity

* feat(backend): change activity log metadata column type

* feat(backend): remove applications related changes

* feat(backend): remove ListingActivityLogInterceptor

* 2040/postmark date time fields partners (#2239)

* feat: add postmark by date and time fields

* feat: fix display and preview page

* test: fix so the correct date displays

* Fix code style issues with Prettier

* fix: fixes per emily

* fix: updates per sean

Co-authored-by: Lint Action <[email protected]>

* fix: versioning issues (#2311)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat(backend): all programs to csv export (#2302)

* feat(backend): all programs to csv export

* chore: removes console log

Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat(backend): add partnerTerms to jurisdiction entity (#2301)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: removes ListingLangCacheInterceptor from get by id

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: Update translation

Closes 1927

* fix: Update hardcoded translations

Closes #1927

* refactor: listing detail props (#2313)

* refactor: listing detail props

* fix: HouseholdSizeField FieldError

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore(deps): bump next from 11.1.2 to 11.1.3 (#2289)

* feat(backend): refactor applications module (#2279)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: filter partner users

* chore(release): version

 - @bloom-housing/[email protected]

* feat: password reset message

* fix: make mailThin background transparent

* fix: add mailThin icon to stories

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: adds updating open listing modal (#2288)

* feat: adds updating open listing modal

* fix: closed listings allowed apps (#2317)

* feat: updates for gtm

* feat: updates for gtm

* fix: removes more closed listing application paths (#2319)

* feat: make page header title optional

* feat(backend): remove activity log interceptor from update-password

* refactor: removing helpers from ui-components that are backend dependent (#2108)

BREAKING CHANGE: moved some helpers from ui-components to shared-helpers

* chore: bump versions (#2326)

* fix: make numbered list breakpoint match config

* chore: bump shared-helpers version

* fix: partners shared-helpers version

* chore: bump partners version

* chore: bump public version

* chore: bump version

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: add matched style to ApplicationStatus

* Fix code style issues with Prettier

* fix: make primary buttons primary background

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore: backend & ui-component gitHead

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: propagate custom icon type to ImageCard prop

* Fix code style issues with Prettier

* fix: check for user lastLoginAt

* test: updates user login test

* fix: bump version (#2349)

* fix: bump version (#2350)

* fix: cypress coverage configs

* fix: force a release number if one exists (#2351)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: apply action block style to button class not component (#2348)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: remove next dependency from ui-components (#2352)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore: port latest dev updates over for paper listing form

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* Add public urls to jurisdiction (#2316)

* Add public urls to jurisdiction

* feat(backend): fix units-transformations.spec test

* feat(backend): fix changes in interface of the autogenerated client in sites/

* Fix code style issues with Prettier

* feat: adds detroit to migration for local/dev

* Fix code style issues with Prettier

* feat: updates to use publicUrl

* Fix code style issues with Prettier

* feat(backend): update add-public-url-to-jurisdiction migration

* fix(backend): jurisidctions e2e tests

* Fix code style issues with Prettier

Co-authored-by: Lint Action <[email protected]>
Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: move type declarations out of shared-helpers (#2356)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore(release): version

 - @bloom-housing/[email protected]

* refactor: unifiies logic around listingid

* refactor: prevent local reseed with cypress tests (#2353)

* chore(release): version

 - @bloom-housing/[email protected]

* test: add partners cypress ci job

* chore: fixup config

* chore: fixup config 2

* chore: fixup config 3

* chore: fixup config 3

* chore: fixup config 4

* chore: change name to be unique

* fix: update naming

* fix: remove empty secrets

* fix: add in env variable defaults

* fix: add test id

* fix: use drag n drop

* fix: rename var

* fix: rename var2

* test: update config

* 1290/use dayjs instead of moment (#2338)

* Convert all use of Moment to Dayjs

* fix: more moment -> dayjs cleanup

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* test: fix for cypress tests

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: listings group expandable section css updates (#2377)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: ensure dayjs parsing strings will work as expected

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: adds event logging to most of the pages

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: open house events can now be edited and work cross-browser (#2320)

* fix: open house events can be edited and work cross-browser

* chore: refactor event dates handling to use dayjs

* fix: lm form refresh and getDetailFieldTime

Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]

* 2165/rosefield preference updates (#2386)

* feat: rosefield preference updates

* feat: removes "no" from rosefield translations

* fix: removing translations

Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: dates showing as invalid in send by mail section (#2362)

BREAKING CHANGE: remove applicationDueTime field and consolidated into applicationDueDate

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: partners render issue (#2395)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: user status enum to camel case; gtm types

* fix: removes unnecessary ternary

* test: fix flaky cypress test

* fix: patches translations for preferences (#2410)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: listing card takes optional children (#2407)

* feat: listing card takes optional children

* fix: additional header

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* feat: set gtm pageTitle to english only

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* test: fix partner listing tests

* test: adds back mailing address checks

* chore(release): version

 - @bloom-housing/[email protected]

* fix: issues with public app and readds auto save

* fix: removing console logs

* chore(release): version

 - @bloom-housing/[email protected]

* fix: ami charts without all households (#2430)

* fix: ami charts without all households

* fix: merging filter and reduce together

Co-authored-by: Yazeed Loonat <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* chore: add translations for per month/year in hmi table (#2418)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: Fix infinite page width (#2434)

Closes #2374

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* refactor: Increase textarea limits (#2435)

Closes #2420

* chore(release): version

 - @bloom-housing/[email protected]

* 2328/address verification (#2412)

* feat: verify applicant address via MapBox API

* feat: support various selection states for address

* chore: refactor address to break up large file

* test: update Cypress tests to check address validation

* test: update mock data with a real address

* test: update minimal application data as well

* test: add additional tests for address validation

* test: relocate bad addresses to separate integration test

* feat: improve the error state when invalid address

Co-authored-by: Sean Albert <[email protected]>

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* revert: changes from fix: Fix infinite page width #2434

Co-authored-by: github.context.workflow <[email protected]>
Co-authored-by: Michał Plebański <[email protected]>
Co-authored-by: Jared White <[email protected]>
Co-authored-by: Yazeed Loonat <[email protected]>
Co-authored-by: Lint Action <[email protected]>
Co-authored-by: dominikx96 <[email protected]>
Co-authored-by: Emily Jablonski <[email protected]>
Co-authored-by: Gabe Benjamin <[email protected]>
Co-authored-by: Andrea Egan <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrea Egan <[email protected]>
Co-authored-by: Emily Jablonski <[email protected]>

* build: sets node max-old-space-size (#2458)

* build: max-old-space-size

* build: update casbin version

* fix: await casbin enforcer

* build: adds Aptfile for heroku (#2460)

* refactor: param and auth updates for export (#2465)

* 2382/berkeley way customizations (#2436)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: updates partner check for listing perm (#2484)

* feat: 2419/adding SMC preferences (#2482)

* feat: 2468/adding dublin preferences (#2483)

* chore(release): version

 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]
 - @bloom-housing/[email protected]

* fix: csv export auth check (#2488)

* chore: merge upstream master

* Fix code style issues with ESLint

* Fix code style issues with Prettier

* test: updates for tests to pass

* Fix code style issues with Prettier

* test: updates for ui-components

* build: updates for public and partners builds

* fix: issues with public

* fix: update to SiteHeader partner use

* test: fix user and ProgressNav tests

* Fix code style issues with Prettier

* test: temp skip activity monitor tests

* test: temp skip longer tests

* test: temp skip activity monitor tests

* fix: lint rule

Co-authored-by: Michał Plebański <[email protected]>
Co-authored-by: Emily Jablonski <[email protected]>
Co-authored-by: Lint Action <[email protected]>
Co-authored-by: github.context.workflow <[email protected]>
Co-authored-by: Dominik Barcikowski <[email protected]>
Co-authored-by: Emily Jablonski <[email protected]>
Co-authored-by: Yazeed Loonat <[email protected]>
Co-authored-by: Jared White <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: plunkettgoogle <[email protected]>
Co-authored-by: Jared White <[email protected]>
Co-authored-by: Gabe Benjamin <[email protected]>
Co-authored-by: Gabe Benjamin <[email protected]>
Co-authored-by: Andrea Egan <[email protected]>
Co-authored-by: Andrea Egan <[email protected]>

* feat: updates listings view config (#983)

* feat: updates listings view config

* fix: lint and back jurisdiction join

* feat: adds view to listingsFetcher

* refactor: Remove required to publish labels

Closes #970

* feat: show building accessibility features on partners (v2) (#984)

* feat: show building accessibility features on the listing form detail page

* fix: mobile styling

* chore: update primary color in Tailwind override (#980)

* Remove listing fields

* feat(backend): update units summary model

* style: formatting

* feat: backend-swagger with unit summary updates

* feat(backend): remove Listing published required fields (#996)

* refactor: comment out mistyped scripts

* fix: fixup base view

* feat(backend): fix unit group model update tests

* feat: occupancy tables wip

* build: local db to bloom_detroit

* fix: add summary in seed

* refactor: rename unitssummary, add needed fields

* fix: rebase issues

* Fixes Partner Portal Users (#1009)

* fix: partner portal users

* style: remove console log

* feat: updates user list to filter by isPortalUser

* feat: adds hud and mshda 2021 ami charts (#1020)

* feat: adds hud and mshda 2021 ami charts

* fix: remove mixed content assets from seeds

* fix: adds Detroit jurisdiction by default for partners

* fix: fixes file name to include dto

* feat: hides/prevents partner publish (#1021)

* feat: hides/prevents partner publish

* fix: pr requests and user update

* fix: issues exposed by tests

* feat: occupancy table based on unit groups (#1023)

* feat: occupancy table based on unit groups

* test: add tests

* test: update strings

* refactor: remove SRO strings

* test: more test coverage

* fix: make range translated

* fix: pre-existing ListingView template issues

* fix: patch old unit summary table pieces

Co-authored-by: Sean Albert <[email protected]>

* feat: adding partner unit groups

* feat: adds programs to Detroit (#1022)

* feat: adds programs to Detroit

* feat: adds programs to public site

* style: removes comment

* feat: remove Community Type section from form and detail

* refactor: updates program titles

* feat: updates for program descriptions per Safiya

* feat: adding save functionality

* fix: updates for editing

* 987/import listings basic (#1019)

* feat(backend): add import listing basic

* chore: remove todo notes from scripts

* feat: adds programs to Detroit (#1022)

* feat: adds programs to Detroit

* feat: adds programs to public site

* style: removes comment

* feat: remove Community Type section from form and detail…
  • Loading branch information
21 people authored Apr 29, 2022
1 parent 1636d3d commit 5fdff5d
Show file tree
Hide file tree
Showing 98 changed files with 3,341 additions and 2,448 deletions.
2 changes: 2 additions & 0 deletions backend/core/src/auth/controllers/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { UserService } from "../services/user.service"
import { GetMfaInfoDto } from "../dto/get-mfa-info.dto"
import { GetMfaInfoResponseDto } from "../dto/get-mfa-info-response.dto"
import { UserErrorExtraModel } from "../user-errors"
import { TokenDto } from "../dto/token.dto"

@Controller("auth")
@ApiTags("auth")
Expand All @@ -43,6 +44,7 @@ export class AuthController {

@UseGuards(DefaultAuthGuard)
@Post("token")
@ApiBody({ type: TokenDto })
@ApiOperation({ summary: "Token", operationId: "token" })
token(@Request() req): LoginResponseDto {
const accessToken = this.authService.generateAccessToken(req.user)
Expand Down
1 change: 1 addition & 0 deletions backend/core/src/auth/dto/token.dto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export class TokenDto {}
1 change: 1 addition & 0 deletions backend/core/src/auth/services/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { Listing } from "../../listings/entities/listing.entity"
import { UserRoles } from "../entities/user-roles.entity"
import { UserPreferences } from "../entities/user-preferences.entity"
import { Jurisdiction } from "../../jurisdictions/entities/jurisdiction.entity"
import { UserQueryFilter } from "../filters/user-query-filter"
import { assignDefined } from "../../shared/utils/assign-defined"
import { EmailService } from "../../email/email.service"
import { RequestMfaCodeDto } from "../dto/request-mfa-code.dto"
Expand Down
20 changes: 17 additions & 3 deletions backend/core/src/listings/dto/filter-type-to-field-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const filterTypeToFieldMap: Record<keysWithMappedField, string> = {
leasingAgents: "leasingAgents.id",
program: "listingsProgramsProgram.title",
// This is the inverse of the explanation for maxRent below.
minRent: "unitGroups.monthly_rent_max",
minRent: "amilevels.flat_rent_value",
/**
* The maxRent filter uses the monthly_rent_min field to avoid missing units
* in the unitGroups's rent range. For example, if there's a unitGroups with
Expand All @@ -41,7 +41,7 @@ export const filterTypeToFieldMap: Record<keysWithMappedField, string> = {
* listings with a monthly_rent_min that's <= $600. If we used the
* monthly_rent_max field, we'd miss it.
*/
maxRent: "unitGroups.monthly_rent_min",
maxRent: "amilevels.flat_rent_value",
elevator: "listing_features.elevator",
wheelchairRamp: "listing_features.wheelchairRamp",
serviceAnimalsAllowed: "listing_features.serviceAnimalsAllowed",
Expand All @@ -54,9 +54,23 @@ export const filterTypeToFieldMap: Record<keysWithMappedField, string> = {
grabBars: "listing_features.grabBars",
heatingInUnit: "listing_features.heatingInUnit",
acInUnit: "listing_features.acInUnit",
neighborhood: "property.neighborhood",
jurisdiction: "jurisdiction.id",
favorited: "",
marketingType: "listings.marketingType",
region: "property.region",
hearing: "",
mobility: "",
visual: "",
vacantUnits: "",
openWaitlist: "",
closedWaitlist: "",
Families: "",
ResidentswithDisabilities: "",
Seniors55: "",
Seniors62: "",
SupportiveHousingfortheHomeless: "",
Veterans: "",
bedRoomSize: "",
communityPrograms: "",
accessibility: "",
}
45 changes: 27 additions & 18 deletions backend/core/src/listings/dto/listing-filter-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import { Expose } from "class-transformer"
import { ApiProperty } from "@nestjs/swagger"
import { IsBooleanString, IsEnum, IsNumberString, IsOptional, IsString } from "class-validator"
import { ValidationsGroupsEnum } from "../../shared/types/validations-groups-enum"
import { AvailabilityFilterEnum, ListingFilterKeys } from "../types/listing-filter-keys-enum"
import { ListingFilterKeys } from "../types/listing-filter-keys-enum"
import { ListingStatus } from "../types/listing-status-enum"
import { ListingMarketingTypeEnum } from "../types/listing-marketing-type-enum"
import { Region } from "../../property/types/region-enum"

// add other listing filter params here
export class ListingFilterParams extends BaseFilter {
Expand Down Expand Up @@ -73,13 +72,13 @@ export class ListingFilterParams extends BaseFilter {

@Expose()
@ApiProperty({
enum: Object.keys(AvailabilityFilterEnum),
type: String,
example: "hasAvailability",
required: false,
})
@IsOptional({ groups: [ValidationsGroupsEnum.default] })
@IsEnum(AvailabilityFilterEnum, { groups: [ValidationsGroupsEnum.default] })
[ListingFilterKeys.availability]?: AvailabilityFilterEnum;
@IsString({ groups: [ValidationsGroupsEnum.default] })
[ListingFilterKeys.availability]?: string;

@Expose()
@ApiProperty({
Expand Down Expand Up @@ -254,22 +253,22 @@ export class ListingFilterParams extends BaseFilter {
@Expose()
@ApiProperty({
type: String,
example: "Forest Park, Elmwood Park",
example: "bab6cb4f-7a5a-4ee5-b327-0c2508807780",
required: false,
})
@IsOptional({ groups: [ValidationsGroupsEnum.default] })
@IsString({ groups: [ValidationsGroupsEnum.default] })
[ListingFilterKeys.neighborhood]?: string;
[ListingFilterKeys.jurisdiction]?: string;

@Expose()
@ApiProperty({
enum: Object.keys(Region),
example: "eastside",
enum: Object.keys(ListingMarketingTypeEnum),
example: "marketing",
required: false,
})
@IsOptional({ groups: [ValidationsGroupsEnum.default] })
@IsEnum(Region, { groups: [ValidationsGroupsEnum.default] })
[ListingFilterKeys.region]?: Region;
@IsEnum(ListingMarketingTypeEnum, { groups: [ValidationsGroupsEnum.default] })
[ListingFilterKeys.marketingType]?: ListingMarketingTypeEnum;

@Expose()
@ApiProperty({
Expand All @@ -279,25 +278,35 @@ export class ListingFilterParams extends BaseFilter {
})
@IsOptional({ groups: [ValidationsGroupsEnum.default] })
@IsString({ groups: [ValidationsGroupsEnum.default] })
[ListingFilterKeys.jurisdiction]?: string;
[ListingFilterKeys.favorited]?: string;

@Expose()
@ApiProperty({
enum: Object.keys(ListingMarketingTypeEnum),
example: "marketing",
type: String,
example: "senior55",
required: false,
})
@IsOptional({ groups: [ValidationsGroupsEnum.default] })
@IsEnum(ListingMarketingTypeEnum, { groups: [ValidationsGroupsEnum.default] })
[ListingFilterKeys.marketingType]?: ListingMarketingTypeEnum;
@IsString({ groups: [ValidationsGroupsEnum.default] })
[ListingFilterKeys.communityPrograms]?: string;

@Expose()
@ApiProperty({
type: String,
example: "bab6cb4f-7a5a-4ee5-b327-0c2508807780",
example: "visual",
required: false,
})
@IsOptional({ groups: [ValidationsGroupsEnum.default] })
@IsString({ groups: [ValidationsGroupsEnum.default] })
[ListingFilterKeys.accessibility]?: string;

@Expose()
@ApiProperty({
type: String,
example: "downtown,eastside",
required: false,
})
@IsOptional({ groups: [ValidationsGroupsEnum.default] })
@IsString({ groups: [ValidationsGroupsEnum.default] })
[ListingFilterKeys.favorited]?: string
[ListingFilterKeys.region]?: string
}
21 changes: 21 additions & 0 deletions backend/core/src/listings/dto/listings-metadata.dto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { Expose, Type } from "class-transformer"
import { IsDefined, IsOptional, ValidateNested } from "class-validator"
import { ValidationsGroupsEnum } from "../../shared/types/validations-groups-enum"
import { UnitTypeDto } from "../../unit-types/dto/unit-type.dto"
import { ProgramDto } from "../../program/dto/program.dto"

export class ListingMetadataDto {
@Expose()
@IsOptional({ groups: [ValidationsGroupsEnum.default], each: true })
@IsDefined({ groups: [ValidationsGroupsEnum.default] })
@ValidateNested({ groups: [ValidationsGroupsEnum.default], each: true })
@Type(() => ProgramDto)
programs?: ProgramDto[]

@Expose()
@IsOptional({ groups: [ValidationsGroupsEnum.default], each: true })
@IsDefined({ groups: [ValidationsGroupsEnum.default] })
@ValidateNested({ groups: [ValidationsGroupsEnum.default], each: true })
@Type(() => UnitTypeDto)
unitTypes?: UnitTypeDto[]
}
6 changes: 6 additions & 0 deletions backend/core/src/listings/entities/listing.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,12 @@ class Listing extends BaseEntity {
@IsString({ groups: [ValidationsGroupsEnum.default] })
whatToExpect?: string | null

@Column({ type: "text", nullable: true })
@Expose()
@IsOptional({ groups: [ValidationsGroupsEnum.default] })
@IsString({ groups: [ValidationsGroupsEnum.default] })
whatToExpectAdditionalText?: string | null

@Column({
type: "enum",
enum: ListingStatus,
Expand Down
9 changes: 9 additions & 0 deletions backend/core/src/listings/listings.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import { ListingUpdateDto } from "./dto/listing-update.dto"
import { ListingFilterParams } from "./dto/listing-filter-params"
import { ListingsQueryParams } from "./dto/listings-query-params"
import { ListingsRetrieveQueryParams } from "./dto/listings-retrieve-query-params"
import { ListingMetadataDto } from "./dto/listings-metadata.dto"
import { ListingCreateValidationPipe } from "./validation-pipes/listing-create-validation-pipe"
import { ListingUpdateValidationPipe } from "./validation-pipes/listing-update-validation-pipe"
import { ActivityLogInterceptor } from "../activity-log/interceptors/activity-log.interceptor"
Expand All @@ -45,6 +46,14 @@ import { ActivityLogMetadata } from "../activity-log/decorators/activity-log-met
export class ListingsController {
constructor(private readonly listingsService: ListingsService) {}

@Get("meta")
@ApiOperation({ summary: "Returns Listing Metadata", operationId: "metadata" })
@UseInterceptors(ClassSerializerInterceptor)
@UsePipes(new ValidationPipe(defaultValidationPipeOptions))
public async getListingMetaData(): Promise<ListingMetadataDto> {
return mapTo(ListingMetadataDto, await this.listingsService.getMetadata())
}

// TODO: Limit requests to defined fields
@Get()
@ApiExtraModels(ListingFilterParams)
Expand Down
6 changes: 4 additions & 2 deletions backend/core/src/listings/listings.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Module } from "@nestjs/common"
import { TypeOrmModule } from "@nestjs/typeorm"
import { BullModule } from "@nestjs/bull"
import { ListingsService } from "./listings.service"
import { ListingsController } from "./listings.controller"
import { Listing } from "./entities/listing.entity"
Expand All @@ -16,6 +15,8 @@ import { SmsModule } from "../sms/sms.module"
import { ListingFeatures } from "./entities/listing-features.entity"
import { ActivityLogModule } from "../activity-log/activity-log.module"
import { UnitGroup } from "../units-summary/entities/unit-group.entity"
import { UnitType } from "../unit-types/entities/unit-type.entity"
import { Program } from "../program/entities/program.entity"

@Module({
imports: [
Expand All @@ -28,10 +29,11 @@ import { UnitGroup } from "../units-summary/entities/unit-group.entity"
AmiChart,
ListingFeatures,
UnitGroup,
UnitType,
Program,
]),
AuthModule,
TranslationsModule,
BullModule.registerQueue({ name: "listings-notifications" }),
SmsModule,
ActivityLogModule,
],
Expand Down
28 changes: 28 additions & 0 deletions backend/core/src/listings/listings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ import { filterTypeToFieldMap } from "./dto/filter-type-to-field-map"
import { ListingStatus } from "./types/listing-status-enum"
import { TranslationsService } from "../translations/services/translations.service"
import { UnitGroup } from "../units-summary/entities/unit-group.entity"
import { ListingMetadataDto } from "./dto/listings-metadata.dto"
import { UnitType } from "../unit-types/entities/unit-type.entity"
import { Program } from "../program/entities/program.entity"
import { ListingSeasonEnum } from "./types/listing-season-enum"

@Injectable()
Expand All @@ -27,6 +30,8 @@ export class ListingsService {
@InjectRepository(Listing) private readonly listingRepository: Repository<Listing>,
@InjectRepository(AmiChart) private readonly amiChartsRepository: Repository<AmiChart>,
@InjectRepository(UnitGroup) private readonly unitGroupRepository: Repository<UnitGroup>,
@InjectRepository(UnitType) private readonly unitTypeRepository: Repository<UnitType>,
@InjectRepository(Program) private readonly programRepository: Repository<Program>,
private readonly translationService: TranslationsService
) {}

Expand All @@ -44,6 +49,10 @@ export class ListingsService {
.leftJoin("property.buildingAddress", "buildingAddress")
.leftJoin("listings.reservedCommunityType", "reservedCommunityType")
.leftJoin("listings.features", "listing_features")
.leftJoin("listings.listingPrograms", "listing_programs")
.leftJoin("listing_programs.program", "programs")
.leftJoin("listings.unitGroups", "unitgroups")
.leftJoin("unitgroups.amiLevels", "amilevels")
.groupBy("listings.id")

innerFilteredQuery = ListingsService.addOrderByToQb(innerFilteredQuery, params)
Expand Down Expand Up @@ -285,6 +294,25 @@ export class ListingsService {
return canUpdate
}

public async getMetadata(): Promise<ListingMetadataDto> {
const unitTypes = await this.unitTypeRepository
.createQueryBuilder("unitTypes")
.select("unitTypes.id")
.addSelect("unitTypes.name")
.addSelect("unitTypes.numBedrooms")
.orderBy("unitTypes.numBedrooms")
.getMany()

const programs = await this.programRepository
.createQueryBuilder("programs")
.select("programs.id")
.addSelect("programs.title")
.orderBy("programs.title")
.getMany()

return { programs, unitTypes }
}

private static addOrderByToQb(qb: SelectQueryBuilder<Listing>, params: ListingsQueryParams) {
switch (params.orderBy) {
case OrderByFieldsEnum.mostRecentlyUpdated:
Expand Down
Loading

0 comments on commit 5fdff5d

Please sign in to comment.