-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add backend/proxy Dockerfile, README.md and nginx config file #1380
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✔️ Deploy Preview for clever-edison-cd22c1 ready! 🔨 Explore the source changes: a711e07 🔍 Inspect the deploy log: https://app.netlify.com/sites/clever-edison-cd22c1/deploys/60cb4cdcd0a90400076e4028 😎 Browse the preview: https://deploy-preview-1380--clever-edison-cd22c1.netlify.app |
pbn4
added a commit
to housingbayarea/bloom
that referenced
this pull request
Jun 23, 2021
* 1321/listings management, additional details section (bloom-housing#1338) * adds step to db:reseed that adds the uuid extension if it's not present (bloom-housing#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * Add changelog for toPrecision fix (bloom-housing#1310) * 1158/currency field component (bloom-housing#1356) * v1.0.3 * Merge latest master (bloom-housing#1370) * Remove /auth/register endpoint (#140) * late-breaking phone number fix for Jones (#156) * Add monarch listing (#131) * catch up ala site to upstream before Monarch launch (#158) * fix requested QA changes for Monarch (#157) * Fix QA request changes * fix quotes and ordinal on preferences * add listing-specific rentalAssistance text * update office hours for C19 * update rentalAssistance text for Monarch (#159) * apply conditional fix for requiredDocuments from upstream (#163) * Fix deposit for Monarch listing (#161) * Fix deposit for Monarch listing * Update leasing agent address * change monarch pref ordinals to numeric format (#164) * extend Skylyne deadline to 1 Nov per request (#165) * Re-create Re-create SMC Brunswick Listing (#168) * Initial Logan listing (#169) * Update ala feedback link (#170) * Another round of Logan listing QA (#173) * Another round of QA fixes for Logan (#175) * adjust Logan lat/lng for map display (#177) * Update Logan leasing agent number (#179) * fix 2 decimal points for deposit min/max on Logan * Extend skylyne again (#182) * update Skylyne deadline to 12/1 * add triton-test listing from core so automated tests can use it * Fixes for Netlify build * Update from main repo + Alameda * Update SJ subrepo * SMC subrepo update * Update missing changes for Alameda repo * Fix env jsonpaths for templates * Move SMC and SJ listings to backend core * Update application methods for SJ and SMC listings * Move SMC and SJ listings to backend core * Update listings to the new shema * Remove missing route from SJ * Remove additional resources reference from SJ * Hide links to sign in * Add So Hay listing * Update So Hay occupancy * SqFeet fix for So Hay * Add events to So Hay * Update So Hay due date * Fixes for Brunswick listing * 2021 changes for Brunswick * Adds cost not included to Brunswick * Another round of fixes for Brunswick * Update SoHay, add ami chart * So Hay updates with download links * Late January So-Hay update * Copy public-ala over to public * Remove ami_charts * Increase JS heap * Add a mandatory GET listings county query param * Remove housing counselors from next.config.js * Fix HousingCounselors.tsx export * Fix translations * Add housing counselors page * Apply heroku JS VM best practices for container memory size optimization * Increase server request/response timeout * Increase max_old_space_size * Optimize next.js /listings queries * Revert "Add a mandatory GET listings county query param" This reverts commit 9547714. * Add missing jsonpath package * Add Alameda Specific Translation to 0.3 Alameda * Fix PageHeader changes * Fix counselors build * Fix counselors noneFound logic * Fix counselors build * Align Alameda changes with prod * So Hay updates, add events and hide counselors * Update listing_data/so-hay.json * update general.json with text View Additional Housing Opportunities and Resources * removed the second sentence from Nav text * Make hero centered * Remove duplicate get assistance link * Update the Alameda string to not include log-in text * Skip some validations for SoHay listing * Fix So Hay preference format * Improve presentation of the Additional Resources page * Fix class names * Translations for City of Hayward preferences * Update Do You Work In sections * Add link for more mission corridor information * Add the translation to the override file and remove from ui-components * Changed Displaced to Displacee * Final round of updates for So Hay with main repo merge * Update lottery translation * Update lottery translation * Fix lottery translations * Fix SoHay CSVFormattingType in json seed * Switch off the houshold size validation for SoHay * Updated 211 translations * Hotfix CSV encoder * Clean up aside block styling and add missing mobile blocks (bloom-housing#1140) * Clean up aside block styling and add missing mobile blocks * Remove tinting from Open Housts section * Add mercy listing (#259) * Initial Mercy listing setup * Updates for Mercy listing * Add city center listing (#260) * Initial City Center listing setup * Updates for City Center listing * Nova Listing v1 * Updated Nova listing * Rename file * json updates * linting issues * Enable sign in (#267) * Bump ssri from 6.0.1 to 6.0.2 (bloom-housing#1194) * feature: support rent as percent income (bloom-housing#1195) * Enable sign in and account creation * Add translations for referral application Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> * QA updates for City Center (#268) * Mercy QA updates (#269) * Updates for Mercy listing (#262) * add aurora listing * Enable sign in on application (#273) * Updates for Mercy and City Center (#276) * Update CSV formatter for city_center, mercy and nova * Aurora Listing Updates * Updated translations (#261) * Updated translations * Reduced changes to just override county-specific translations * Updated translation strings * Removed missionCorridor preference translation overrides * Added preference titles Co-authored-by: dominikx96 <dominik@airnauts.com> * Update paper application links for City Center and Mercy (#281) * Update paper application links for City Center and Mercy * Update City Center link * Merge changes 05.11 (#280) * Add description for pulling newest changes from core repository * Updated translations to support listing countyCode * Updated translations * removed extra comma * Removed extra comma * translation file fix * Removed unused properties * Replaced text * Removed extra comma * update nova qa pt 2 * Updated translations * Listings links update (#295) * Update paper application links for City Center and Mercy * Update City Center link * Update paper application links for City Center and Mercy * Update City Center link * Updates for mercy and city center * Display City Center waitlist (#297) * Final qa to city center (#298) * Final City Center QA (#300) * coliseum listing * coliseum json issues * nova updates * aurora qa * update ami chart * updates MetaTags source * updates translation overrides and _app.tsx to add them in for "en" as well * BACKEND_API_BASE is being used from toml instead of netlify env setting * update coliseum pt 3 * coliseum updates pt 5 * coliseum updates pt 6 * coliseum updates pt 7 * coliseum updates pt 8 * removes BACKEND_API_BASE from partners netlify.toml * coliseum 8 * string overrides * coliseum updates pt 9 * coliseum updates pt 10 * coliseum updates pt 11 * coliseum updates pt 12 * Upstream merge (#321) * Removes BACKEND_API_BASE from partners netlify.toml (bloom-housing#1273) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * Add icon support to standard variants of Button component (bloom-housing#1268) * Refactor icon placement in Button component * Update tests and icon placement styles for Button component * Add Icon Button PR to Changelog * Detect proper inline sizing for button * Remove explicit fill color from back arrow icon * fix: preference select text issues (bloom-housing#1270) * feat: new checkbox behavior (bloom-housing#1272) * Bump class-transformer and apply ClassSerializerInterceptor globally (bloom-housing#1265) * Bump class-transformer and apply ClassSerializerInterceptor globally * Switch back to nestjs/swagger@4.6.1 * Regenerate backend-swagger.ts client * Update changelog * Add missing typing to @Transforms * Fix linter * Define generic type for authorizeUserAction * Add a migration fixing extraData serialization problems for applications.preferences Co-authored-by: Bart <bart@barts-macbook-pro.home> * Ensure Netlify builds always do a full rebuild and deploy (bloom-housing#1279) * Fix/preference extradata (bloom-housing#1282) * Save an empty array if there is no extraData * Fixed broken test * Updated changelog * Fix all spec Co-authored-by: dominikx96 <dominik@airnauts.com> * Remove legacy tests sites/public/cypress/integration/pages/applications_new.ts * un-comment out income verification * add back in household validation * add back in live-alone validation * validation typo * comment out validations and the tests w feature flag todo * remove incorrect disclaimer URL check Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Bart <bart@barts-macbook-pro.home> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * coliseum updates pt 13 * add office hours update * application links * coliseum updates pt 14 * coliseum updates pt 15 * Mercy QA updates (#315) * Mercy QA updates * Updates for Mercy * Upstream merge (#328) * Add OHA formatter (bloom-housing#1292) * Add OHA formatter * Update changelog * Change coliseum CSVFormattingType to ohaFormat * Fixes for Mercy (#329) * Merge upstream (#330) * Add OHA formatter (bloom-housing#1292) * Add OHA formatter * Update changelog * Remove displaced tenant preferences from ohaFormat CSV formatter (bloom-housing#1293) * Add hopwa preference (bloom-housing#1295) * Add hopwa preference * Update changelog * Update changelog (bloom-housing#1296) * Fixed search param (bloom-housing#1301) * Fixed search param * Updated changelog * Cleanup Co-authored-by: dominikx96 <dominik@airnauts.com> * Bump ws from 7.3.1 to 7.4.6 (bloom-housing#1291) * Replace toPrecision with toFixed (bloom-housing#1304) Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> * mercy updates * mercy updates pt 2 * mercy updates pt 2 * removes production GTM key from netlify config * mercy updates pt 3 * Draft Skyline (#331) Co-authored-by: Ben Kutler <ben@benkutler.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Netra Patil <netrapatil@Netras-MacBook-Pro-2.local> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Netra Badami <58486174+netrabadami@users.noreply.github.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Bart <bart@barts-macbook-pro.home> * Issue 1362/total flagged bug (bloom-housing#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (bloom-housing#1375) * Replace UserContext with AuthContext (bloom-housing#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (bloom-housing#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (bloom-housing#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (bloom-housing#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (bloom-housing#1370)" (bloom-housing#1394) * Revert "Merge latest master (bloom-housing#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Ben Kutler <ben@benkutler.com> Co-authored-by: Netra Patil <netrapatil@Netras-MacBook-Pro-2.local> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Netra Badami <58486174+netrabadami@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Bart <bart@barts-macbook-pro.home>
seanmalbert
added a commit
that referenced
this pull request
Jun 23, 2021
* Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com>
pbn4
added a commit
that referenced
this pull request
Jul 7, 2021
* 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com>
seanmalbert
added a commit
that referenced
this pull request
Jul 7, 2021
* Re-create Re-create SMC Brunswick Listing (#168) * Initial Logan listing (#169) * Update ala feedback link (#170) * Another round of Logan listing QA (#173) * Another round of QA fixes for Logan (#175) * adjust Logan lat/lng for map display (#177) * Update Logan leasing agent number (#179) * fix 2 decimal points for deposit min/max on Logan * Extend skylyne again (#182) * update Skylyne deadline to 12/1 * add triton-test listing from core so automated tests can use it * Fixes for Netlify build * Update from main repo + Alameda * Update SJ subrepo * SMC subrepo update * Update missing changes for Alameda repo * Fix env jsonpaths for templates * Move SMC and SJ listings to backend core * Update application methods for SJ and SMC listings * Move SMC and SJ listings to backend core * Update listings to the new shema * Remove missing route from SJ * Remove additional resources reference from SJ * Hide links to sign in * Add So Hay listing * Update So Hay occupancy * SqFeet fix for So Hay * Add events to So Hay * Update So Hay due date * Fixes for Brunswick listing * 2021 changes for Brunswick * Adds cost not included to Brunswick * Another round of fixes for Brunswick * Update SoHay, add ami chart * So Hay updates with download links * Late January So-Hay update * Copy public-ala over to public * Remove ami_charts * Increase JS heap * Add a mandatory GET listings county query param * Remove housing counselors from next.config.js * Fix HousingCounselors.tsx export * Fix translations * Add housing counselors page * Apply heroku JS VM best practices for container memory size optimization * Increase server request/response timeout * Increase max_old_space_size * Optimize next.js /listings queries * Revert "Add a mandatory GET listings county query param" This reverts commit 9547714. * Add missing jsonpath package * Add Alameda Specific Translation to 0.3 Alameda * Fix PageHeader changes * Fix counselors build * Fix counselors noneFound logic * Fix counselors build * Align Alameda changes with prod * So Hay updates, add events and hide counselors * Update listing_data/so-hay.json * update general.json with text View Additional Housing Opportunities and Resources * removed the second sentence from Nav text * Make hero centered * Remove duplicate get assistance link * Update the Alameda string to not include log-in text * Skip some validations for SoHay listing * Fix So Hay preference format * Improve presentation of the Additional Resources page * Fix class names * Translations for City of Hayward preferences * Update Do You Work In sections * Add link for more mission corridor information * Add the translation to the override file and remove from ui-components * Changed Displaced to Displacee * Final round of updates for So Hay with main repo merge * Update lottery translation * Update lottery translation * Fix lottery translations * Fix SoHay CSVFormattingType in json seed * Switch off the houshold size validation for SoHay * Updated 211 translations * Hotfix CSV encoder * Clean up aside block styling and add missing mobile blocks (#1140) * Clean up aside block styling and add missing mobile blocks * Remove tinting from Open Housts section * Add mercy listing (#259) * Initial Mercy listing setup * Updates for Mercy listing * Add city center listing (#260) * Initial City Center listing setup * Updates for City Center listing * Nova Listing v1 * Updated Nova listing * Rename file * json updates * linting issues * Enable sign in (#267) * Bump ssri from 6.0.1 to 6.0.2 (#1194) * feature: support rent as percent income (#1195) * Enable sign in and account creation * Add translations for referral application Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> * QA updates for City Center (#268) * Mercy QA updates (#269) * Updates for Mercy listing (#262) * add aurora listing * Enable sign in on application (#273) * Updates for Mercy and City Center (#276) * Update CSV formatter for city_center, mercy and nova * Aurora Listing Updates * Updated translations (#261) * Updated translations * Reduced changes to just override county-specific translations * Updated translation strings * Removed missionCorridor preference translation overrides * Added preference titles Co-authored-by: dominikx96 <dominik@airnauts.com> * Update paper application links for City Center and Mercy (#281) * Update paper application links for City Center and Mercy * Update City Center link * Merge changes 05.11 (#280) * Add description for pulling newest changes from core repository * Updated translations to support listing countyCode * Updated translations * removed extra comma * Removed extra comma * translation file fix * Removed unused properties * Replaced text * Removed extra comma * update nova qa pt 2 * Updated translations * Listings links update (#295) * Update paper application links for City Center and Mercy * Update City Center link * Update paper application links for City Center and Mercy * Update City Center link * Updates for mercy and city center * Display City Center waitlist (#297) * Final qa to city center (#298) * Final City Center QA (#300) * coliseum listing * coliseum json issues * nova updates * aurora qa * update ami chart * updates MetaTags source * updates translation overrides and _app.tsx to add them in for "en" as well * BACKEND_API_BASE is being used from toml instead of netlify env setting * update coliseum pt 3 * coliseum updates pt 5 * coliseum updates pt 6 * coliseum updates pt 7 * coliseum updates pt 8 * removes BACKEND_API_BASE from partners netlify.toml * coliseum 8 * string overrides * coliseum updates pt 9 * coliseum updates pt 10 * coliseum updates pt 11 * coliseum updates pt 12 * Upstream merge (#321) * Removes BACKEND_API_BASE from partners netlify.toml (#1273) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * Add icon support to standard variants of Button component (#1268) * Refactor icon placement in Button component * Update tests and icon placement styles for Button component * Add Icon Button PR to Changelog * Detect proper inline sizing for button * Remove explicit fill color from back arrow icon * fix: preference select text issues (#1270) * feat: new checkbox behavior (#1272) * Bump class-transformer and apply ClassSerializerInterceptor globally (#1265) * Bump class-transformer and apply ClassSerializerInterceptor globally * Switch back to nestjs/swagger@4.6.1 * Regenerate backend-swagger.ts client * Update changelog * Add missing typing to @Transforms * Fix linter * Define generic type for authorizeUserAction * Add a migration fixing extraData serialization problems for applications.preferences Co-authored-by: Bart <bart@barts-macbook-pro.home> * Ensure Netlify builds always do a full rebuild and deploy (#1279) * Fix/preference extradata (#1282) * Save an empty array if there is no extraData * Fixed broken test * Updated changelog * Fix all spec Co-authored-by: dominikx96 <dominik@airnauts.com> * Remove legacy tests sites/public/cypress/integration/pages/applications_new.ts * un-comment out income verification * add back in household validation * add back in live-alone validation * validation typo * comment out validations and the tests w feature flag todo * remove incorrect disclaimer URL check Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Bart <bart@barts-macbook-pro.home> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * coliseum updates pt 13 * add office hours update * application links * coliseum updates pt 14 * coliseum updates pt 15 * Mercy QA updates (#315) * Mercy QA updates * Updates for Mercy * Upstream merge (#328) * Add OHA formatter (#1292) * Add OHA formatter * Update changelog * Change coliseum CSVFormattingType to ohaFormat * Fixes for Mercy (#329) * Merge upstream (#330) * Add OHA formatter (#1292) * Add OHA formatter * Update changelog * Remove displaced tenant preferences from ohaFormat CSV formatter (#1293) * Add hopwa preference (#1295) * Add hopwa preference * Update changelog * Update changelog (#1296) * Fixed search param (#1301) * Fixed search param * Updated changelog * Cleanup Co-authored-by: dominikx96 <dominik@airnauts.com> * Bump ws from 7.3.1 to 7.4.6 (#1291) * Replace toPrecision with toFixed (#1304) Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> * mercy updates * mercy updates pt 2 * mercy updates pt 2 * removes production GTM key from netlify config * mercy updates pt 3 * Draft Skyline (#331) * mercy updates pt 4 * text updates * Initial add of Alexan (#341) * Initial add of Alexan * Next round of Alexan changes * Fix Alexan link * Skyline QA updates (#343) * Merge upstream/06.23 (#346) * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * Add changelog for toPrecision fix (#1310) * 1158/currency field component (#1356) * v1.0.3 * Merge latest master (#1370) * Remove /auth/register endpoint (#140) * late-breaking phone number fix for Jones (#156) * Add monarch listing (#131) * catch up ala site to upstream before Monarch launch (#158) * fix requested QA changes for Monarch (#157) * Fix QA request changes * fix quotes and ordinal on preferences * add listing-specific rentalAssistance text * update office hours for C19 * update rentalAssistance text for Monarch (#159) * apply conditional fix for requiredDocuments from upstream (#163) * Fix deposit for Monarch listing (#161) * Fix deposit for Monarch listing * Update leasing agent address * change monarch pref ordinals to numeric format (#164) * extend Skylyne deadline to 1 Nov per request (#165) * Re-create Re-create SMC Brunswick Listing (#168) * Initial Logan listing (#169) * Update ala feedback link (#170) * Another round of Logan listing QA (#173) * Another round of QA fixes for Logan (#175) * adjust Logan lat/lng for map display (#177) * Update Logan leasing agent number (#179) * fix 2 decimal points for deposit min/max on Logan * Extend skylyne again (#182) * update Skylyne deadline to 12/1 * add triton-test listing from core so automated tests can use it * Fixes for Netlify build * Update from main repo + Alameda * Update SJ subrepo * SMC subrepo update * Update missing changes for Alameda repo * Fix env jsonpaths for templates * Move SMC and SJ listings to backend core * Update application methods for SJ and SMC listings * Move SMC and SJ listings to backend core * Update listings to the new shema * Remove missing route from SJ * Remove additional resources reference from SJ * Hide links to sign in * Add So Hay listing * Update So Hay occupancy * SqFeet fix for So Hay * Add events to So Hay * Update So Hay due date * Fixes for Brunswick listing * 2021 changes for Brunswick * Adds cost not included to Brunswick * Another round of fixes for Brunswick * Update SoHay, add ami chart * So Hay updates with download links * Late January So-Hay update * Copy public-ala over to public * Remove ami_charts * Increase JS heap * Add a mandatory GET listings county query param * Remove housing counselors from next.config.js * Fix HousingCounselors.tsx export * Fix translations * Add housing counselors page * Apply heroku JS VM best practices for container memory size optimization * Increase server request/response timeout * Increase max_old_space_size * Optimize next.js /listings queries * Revert "Add a mandatory GET listings county query param" This reverts commit 9547714. * Add missing jsonpath package * Add Alameda Specific Translation to 0.3 Alameda * Fix PageHeader changes * Fix counselors build * Fix counselors noneFound logic * Fix counselors build * Align Alameda changes with prod * So Hay updates, add events and hide counselors * Update listing_data/so-hay.json * update general.json with text View Additional Housing Opportunities and Resources * removed the second sentence from Nav text * Make hero centered * Remove duplicate get assistance link * Update the Alameda string to not include log-in text * Skip some validations for SoHay listing * Fix So Hay preference format * Improve presentation of the Additional Resources page * Fix class names * Translations for City of Hayward preferences * Update Do You Work In sections * Add link for more mission corridor information * Add the translation to the override file and remove from ui-components * Changed Displaced to Displacee * Final round of updates for So Hay with main repo merge * Update lottery translation * Update lottery translation * Fix lottery translations * Fix SoHay CSVFormattingType in json seed * Switch off the houshold size validation for SoHay * Updated 211 translations * Hotfix CSV encoder * Clean up aside block styling and add missing mobile blocks (#1140) * Clean up aside block styling and add missing mobile blocks * Remove tinting from Open Housts section * Add mercy listing (#259) * Initial Mercy listing setup * Updates for Mercy listing * Add city center listing (#260) * Initial City Center listing setup * Updates for City Center listing * Nova Listing v1 * Updated Nova listing * Rename file * json updates * linting issues * Enable sign in (#267) * Bump ssri from 6.0.1 to 6.0.2 (#1194) * feature: support rent as percent income (#1195) * Enable sign in and account creation * Add translations for referral application Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> * QA updates for City Center (#268) * Mercy QA updates (#269) * Updates for Mercy listing (#262) * add aurora listing * Enable sign in on application (#273) * Updates for Mercy and City Center (#276) * Update CSV formatter for city_center, mercy and nova * Aurora Listing Updates * Updated translations (#261) * Updated translations * Reduced changes to just override county-specific translations * Updated translation strings * Removed missionCorridor preference translation overrides * Added preference titles Co-authored-by: dominikx96 <dominik@airnauts.com> * Update paper application links for City Center and Mercy (#281) * Update paper application links for City Center and Mercy * Update City Center link * Merge changes 05.11 (#280) * Add description for pulling newest changes from core repository * Updated translations to support listing countyCode * Updated translations * removed extra comma * Removed extra comma * translation file fix * Removed unused properties * Replaced text * Removed extra comma * update nova qa pt 2 * Updated translations * Listings links update (#295) * Update paper application links for City Center and Mercy * Update City Center link * Update paper application links for City Center and Mercy * Update City Center link * Updates for mercy and city center * Display City Center waitlist (#297) * Final qa to city center (#298) * Final City Center QA (#300) * coliseum listing * coliseum json issues * nova updates * aurora qa * update ami chart * updates MetaTags source * updates translation overrides and _app.tsx to add them in for "en" as well * BACKEND_API_BASE is being used from toml instead of netlify env setting * update coliseum pt 3 * coliseum updates pt 5 * coliseum updates pt 6 * coliseum updates pt 7 * coliseum updates pt 8 * removes BACKEND_API_BASE from partners netlify.toml * coliseum 8 * string overrides * coliseum updates pt 9 * coliseum updates pt 10 * coliseum updates pt 11 * coliseum updates pt 12 * Upstream merge (#321) * Removes BACKEND_API_BASE from partners netlify.toml (#1273) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * Add icon support to standard variants of Button component (#1268) * Refactor icon placement in Button component * Update tests and icon placement styles for Button component * Add Icon Button PR to Changelog * Detect proper inline sizing for button * Remove explicit fill color from back arrow icon * fix: preference select text issues (#1270) * feat: new checkbox behavior (#1272) * Bump class-transformer and apply ClassSerializerInterceptor globally (#1265) * Bump class-transformer and apply ClassSerializerInterceptor globally * Switch back to nestjs/swagger@4.6.1 * Regenerate backend-swagger.ts client * Update changelog * Add missing typing to @Transforms * Fix linter * Define generic type for authorizeUserAction * Add a migration fixing extraData serialization problems for applications.preferences Co-authored-by: Bart <bart@barts-macbook-pro.home> * Ensure Netlify builds always do a full rebuild and deploy (#1279) * Fix/preference extradata (#1282) * Save an empty array if there is no extraData * Fixed broken test * Updated changelog * Fix all spec Co-authored-by: dominikx96 <dominik@airnauts.com> * Remove legacy tests sites/public/cypress/integration/pages/applications_new.ts * un-comment out income verification * add back in household validation * add back in live-alone validation * validation typo * comment out validations and the tests w feature flag todo * remove incorrect disclaimer URL check Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Bart <bart@barts-macbook-pro.home> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * coliseum updates pt 13 * add office hours update * application links * coliseum updates pt 14 * coliseum updates pt 15 * Mercy QA updates (#315) * Mercy QA updates * Updates for Mercy * Upstream merge (#328) * Add OHA formatter (#1292) * Add OHA formatter * Update changelog * Change coliseum CSVFormattingType to ohaFormat * Fixes for Mercy (#329) * Merge upstream (#330) * Add OHA formatter (#1292) * Add OHA formatter * Update changelog * Remove displaced tenant preferences from ohaFormat CSV formatter (#1293) * Add hopwa preference (#1295) * Add hopwa preference * Update changelog * Update changelog (#1296) * Fixed search param (#1301) * Fixed search param * Updated changelog * Cleanup Co-authored-by: dominikx96 <dominik@airnauts.com> * Bump ws from 7.3.1 to 7.4.6 (#1291) * Replace toPrecision with toFixed (#1304) Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> * mercy updates * mercy updates pt 2 * mercy updates pt 2 * removes production GTM key from netlify config * mercy updates pt 3 * Draft Skyline (#331) Co-authored-by: Ben Kutler <ben@benkutler.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Netra Patil <netrapatil@Netras-MacBook-Pro-2.local> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Netra Badami <58486174+netrabadami@users.noreply.github.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Bart <bart@barts-macbook-pro.home> * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Ben Kutler <ben@benkutler.com> Co-authored-by: Netra Patil <netrapatil@Netras-MacBook-Pro-2.local> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Netra Badami <58486174+netrabadami@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Bart <bart@barts-macbook-pro.home> * Initial add Jordan listing (#342) * Initial add Jordan listing * Add leasing agent for Jordan * Add preferences for Alexan (#347) * Add preferences for Alexan * Alexan QA and preferences update * Add unavailable units for Skyline (#344) * linter cleanup * comment add member tests as before * comment out live-alone test as before Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Ben Kutler <ben@benkutler.com> Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Netra Patil <netrapatil@Netras-MacBook-Pro-2.local> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Michał Plebański <m.plebanski4@gmail.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Netra Badami <58486174+netrabadami@users.noreply.github.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bart <bart@barts-macbook-pro.home> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com>
abbiefarr
referenced
this pull request
in CityOfDetroit/bloom
Jul 22, 2021
* 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog * Add Github action for running Prettier on PRs (#1440) * Run prettier automatically with Github Actions. Introduces an action to automatically run prettier and commit fixes to the PR. This ensures that the repo will always adhere to the style guide. * Fix code style issues with Prettier Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Entries for unreleased and adds 1.0.4 * Fix code style issues with Prettier * 1444/optional fields (#1470) * Add optional indicator to fields that have IsOptional validator set with class-validator * moves changelog comment to unreleased * Fix code style issues with Prettier * updates optional fields from merge * Fix code style issues with Prettier * fixes tests and makes listing.name required * Fix code style issues with Prettier * householdsize fixes * Add optional indicator to fields that have IsOptional validator set with class-validator * moves changelog comment to unreleased * updates optional fields from merge * Fix code style issues with Prettier * fixes tests and makes listing.name required * Fix code style issues with Prettier * householdsize fixes * Fix code style issues with Prettier * Fix code style issues with Prettier * Fix code style issues with Prettier * Apply cleanup with now optional fields * Fix code style issues with Prettier * updates HouseholdSizeField so min is optional * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * 1454/listings management visual QA round (#1463) * Refactor/user module 2 (#1474) * Encapsulate User module within Auth module * Move business logic from User controller to user service * moves changelog message to unreleased section * Fix code style issues with Prettier * fixes unrelated ag_grid warnings * replaces use of backend client with swagger * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * 1404/add action block (#1459) * Add ActionBlock component * Add changelog for ActionBlock * Style tweaks for ActionBlock * Add DAHLIA styles for ActionBlock and fix margin on smaller screen * Fix changelog placement for ActionBlock * Connect ag-grid sort with the API (#1492) * Connect ag-grid sort with the API * Fix code style issues with Prettier * Updated changelog * Fix code style issues with Prettier * Add empty values as last * Fix code style issues with Prettier * Add missing OrderBy enum definitions * Add migrating empty strings to nulls in applicant.last_name and applicant.first_name * Fix code style issues with Prettier * Fix 1625746856273-migrate-empty-strings-to-nulls-in-app SQL queries * Map firstName and lastName empty strings to nulls * Update sorting compare method * Add applicant firstName and lastName MinLength(1) validators * Fix e2e tests (missing lastName in test fixtures) * Update var name * Update order type * Update types Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Michal Plebanski <michalp@airnauts.com> * Add commands to run Cypress tests in "headless" mode (#1505) This change adds yarn commands to run the Cypress tests in "headless" mode. It also removes two Cypress test outputs (which shouldn't have been committed but slipped past the gitignore) and updates the gitignore rules to ensure no more slip through. * 1503/fix out of sync swagger (#1504) * Update swagger * Fix code style issues with Prettier Fix broken test: fixtures update and Address type Change return element to null Fix code style issues with Prettier * fixes issues with partners build with updated backend swagger * fixes tests Co-authored-by: seanmalbert <smabert@gmail.com> * Add storybook a11y testing #142 (#1450) * Add storybook storyshots puppeteer addon * Get yarn:a11y test up and running locally * Fix alt text-related issues * Try running a11y tests on circleCI * Make sure static storybook build is gitignored * Actually add a11y tests to circleCI pipeline * Disable nested interactive rule for Tab-like Nav * Move storyshots-puppeteer and puppeteer into dev dependencies * Add unmet peer dependency of preact Follow-up ticket created in #1489 * Fix failing jest tests * Try node docker image with browsers * Use non-legacy docker image * Fix code style issues with Prettier * Fix a11y issue with dropzone story * Add changes to changelog * Fix code style issues with Prettier * adds description prop to ImageCard for alt text * updates ImageCard tests * Fix code style issues with Prettier Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * 1480/ Fix double submit (#1508) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * refactors listing submit * moves setAlert and setLoading calls * adds useCallback for onSubmit * adds an additional state and useEffect to handle submission * adds status dependency on useEffect * moves setLoading to trigger sooner * set setStatus prop for Aside to optional * Fix code style issues with Prettier * Remove unused inverse relations from entities (#1520) * Fixes bug with listing form (#1521) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * fixes listing bug issue * 1184/unit type rent (#1439) * Add unit_type table * Add unit_rent_type table * Add unit_accessibility_priority_type table * Update autogenerated frontend client * Fix missing imports in Unit and App modules * Snapshot * Update unit related migrations * Fix leftjoins in listings.service.ts Refactor seeds module * Update backend-swagger.ts * Change src/listings/PaperListingForm/index.tsx to align with unit_type related changes * Fix linter complaints * Fix code style issues with Prettier * adds priorityType.name to partners * Update changelog.md * Improve migration script to take into account existing values with SELECT DISTINCT query * adds unit type and priority options and cleans up how that's all handled Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Adds additional checks for unit type and priority (#1525) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * Add preview (disabled) state for Listings Application button (#1502) * Add preview (disabled) state for Listings Application button * Also fix bug in the LinkButton component * Update changelog with #1502 * Update jest-backend ci/cd job environment variables sourced through .… (#1526) Update jest-backend ci/cd job environment variables sourced through .circleci/config.yaml * 1348/Add photo upload to the Listing form (#1491) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * Adding photo upload to Listings MVP (WIP) * Fix image data issue for edits, add detail preview * Upload to Cloudinary using a signed preset * Revert previous double-submit issue * Remove stray console call * Fix undefined error on new listing page * fix lint error * Add #1491 to changelog * Use state only for Cloudinary upload data Co-authored-by: seanmalbert <smabert@gmail.com> * 1352/Add flagged and mark as duplicate to CSV export (#1500) * Initial changes for CSV flagged export * Fix typeorm join and flagged mapping * Fix flagged query + changelog * updates use of flagged for only csv Co-authored-by: seanmalbert <smabert@gmail.com> * Listings close & unpublish (#1498) * Added unpublish action * Update aside * Add button type attr * Add close and unpublish listings endpoints * Revert "Add close and unpublish listings endpoints" This reverts commit 39e854b. * Fix error when listing is in add mode (there is no listing.id property) * Update aside buttons * Prevent error when time field is emty & tag style update * Fix type * updates watch list for onSubmit callback * removes router reload * Remove button * Fix form save after close listing action Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Convert listing address jsonb columns to separate address tables (#1512) * Convert listing address jsonb columns to separate address tables * Update backend swagger interfaces Co-authored-by: seanmalbert <smabert@gmail.com> * Recreated foreign keys constraints (#1514) * Recreated foreign keys constraints for `application_flagged_set_applications_applications`, `listings_leasing_agents_user_accounts`, `property_group_properties_property` and add missing `NOT NULL` migration for listing name column * moved entry to unreleased section Co-authored-by: seanmalbert <smabert@gmail.com> * Add debug flags and instructions for debugging frontends (#1519) * Add debug flags and instructions for debugging frontends (#195) * add debug flags and instructions to frontend package.json files and readmes * update changelog * update changelog * 1445/move listing events to table (#1515) * Convert listing.events json column of ListingEvent[] to a separate listing_events table * Update changelog.md * Add a test for updating ListingEvent through Listing endpoint * Update backend-swagger interfaces * Add ListingEvent relation to assets (file_id column) * Update backend-swagger.ts * Fix validations in ListingEvent create and update DTO, (file IsOptional) * merges listing seed updates from upstream Co-authored-by: seanmalbert <smabert@gmail.com> * Fix code style issues with Prettier * re-add lint config * Fix code style issues with ESLint Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com>
abbiefarr
referenced
this pull request
in CityOfDetroit/bloom
Jul 22, 2021
* 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1st attempt at frontend listing pagination * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * Paginate public listings page * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog * Add Github action for running Prettier on PRs (#1440) * Run prettier automatically with Github Actions. Introduces an action to automatically run prettier and commit fixes to the PR. This ensures that the repo will always adhere to the style guide. * Fix code style issues with Prettier Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Entries for unreleased and adds 1.0.4 * Fix code style issues with Prettier * initial style fixes * initial request for filtered state * 1444/optional fields (#1470) * Add optional indicator to fields that have IsOptional validator set with class-validator * moves changelog comment to unreleased * Fix code style issues with Prettier * updates optional fields from merge * Fix code style issues with Prettier * fixes tests and makes listing.name required * Fix code style issues with Prettier * householdsize fixes * Add optional indicator to fields that have IsOptional validator set with class-validator * moves changelog comment to unreleased * updates optional fields from merge * Fix code style issues with Prettier * fixes tests and makes listing.name required * Fix code style issues with Prettier * householdsize fixes * Fix code style issues with Prettier * Fix code style issues with Prettier * Fix code style issues with Prettier * Apply cleanup with now optional fields * Fix code style issues with Prettier * updates HouseholdSizeField so min is optional * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * remove prop type * 1454/listings management visual QA round (#1463) * Refactor/user module 2 (#1474) * Encapsulate User module within Auth module * Move business logic from User controller to user service * moves changelog message to unreleased section * Fix code style issues with Prettier * fixes unrelated ag_grid warnings * replaces use of backend client with swagger * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * 1404/add action block (#1459) * Add ActionBlock component * Add changelog for ActionBlock * Style tweaks for ActionBlock * Add DAHLIA styles for ActionBlock and fix margin on smaller screen * Fix changelog placement for ActionBlock * Connect ag-grid sort with the API (#1492) * Connect ag-grid sort with the API * Fix code style issues with Prettier * Updated changelog * Fix code style issues with Prettier * Add empty values as last * Fix code style issues with Prettier * Add missing OrderBy enum definitions * Add migrating empty strings to nulls in applicant.last_name and applicant.first_name * Fix code style issues with Prettier * Fix 1625746856273-migrate-empty-strings-to-nulls-in-app SQL queries * Map firstName and lastName empty strings to nulls * Update sorting compare method * Add applicant firstName and lastName MinLength(1) validators * Fix e2e tests (missing lastName in test fixtures) * Update var name * Update order type * Update types Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Michal Plebanski <michalp@airnauts.com> * Add commands to run Cypress tests in "headless" mode (#1505) This change adds yarn commands to run the Cypress tests in "headless" mode. It also removes two Cypress test outputs (which shouldn't have been committed but slipped past the gitignore) and updates the gitignore rules to ensure no more slip through. * 1503/fix out of sync swagger (#1504) * Update swagger * Fix code style issues with Prettier Fix broken test: fixtures update and Address type Change return element to null Fix code style issues with Prettier * fixes issues with partners build with updated backend swagger * fixes tests Co-authored-by: seanmalbert <smabert@gmail.com> * Add storybook a11y testing #142 (#1450) * Add storybook storyshots puppeteer addon * Get yarn:a11y test up and running locally * Fix alt text-related issues * Try running a11y tests on circleCI * Make sure static storybook build is gitignored * Actually add a11y tests to circleCI pipeline * Disable nested interactive rule for Tab-like Nav * Move storyshots-puppeteer and puppeteer into dev dependencies * Add unmet peer dependency of preact Follow-up ticket created in #1489 * Fix failing jest tests * Try node docker image with browsers * Use non-legacy docker image * Fix code style issues with Prettier * Fix a11y issue with dropzone story * Add changes to changelog * Fix code style issues with Prettier * adds description prop to ImageCard for alt text * updates ImageCard tests * Fix code style issues with Prettier Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * 1480/ Fix double submit (#1508) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * refactors listing submit * moves setAlert and setLoading calls * adds useCallback for onSubmit * adds an additional state and useEffect to handle submission * adds status dependency on useEffect * moves setLoading to trigger sooner * set setStatus prop for Aside to optional * Fix code style issues with Prettier * Remove unused inverse relations from entities (#1520) * just playing * Fixes bug with listing form (#1521) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * fixes listing bug issue * Final touches on filtering ui MVP * 1184/unit type rent (#1439) * Add unit_type table * Add unit_rent_type table * Add unit_accessibility_priority_type table * Update autogenerated frontend client * Fix missing imports in Unit and App modules * Snapshot * Update unit related migrations * Fix leftjoins in listings.service.ts Refactor seeds module * Update backend-swagger.ts * Change src/listings/PaperListingForm/index.tsx to align with unit_type related changes * Fix linter complaints * Fix code style issues with Prettier * adds priorityType.name to partners * Update changelog.md * Improve migration script to take into account existing values with SELECT DISTINCT query * adds unit type and priority options and cleans up how that's all handled Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Adds additional checks for unit type and priority (#1525) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * Add preview (disabled) state for Listings Application button (#1502) * Add preview (disabled) state for Listings Application button * Also fix bug in the LinkButton component * Update changelog with #1502 * Update jest-backend ci/cd job environment variables sourced through .… (#1526) Update jest-backend ci/cd job environment variables sourced through .circleci/config.yaml * 1348/Add photo upload to the Listing form (#1491) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * Adding photo upload to Listings MVP (WIP) * Fix image data issue for edits, add detail preview * Upload to Cloudinary using a signed preset * Revert previous double-submit issue * Remove stray console call * Fix undefined error on new listing page * fix lint error * Add #1491 to changelog * Use state only for Cloudinary upload data Co-authored-by: seanmalbert <smabert@gmail.com> * 1352/Add flagged and mark as duplicate to CSV export (#1500) * Initial changes for CSV flagged export * Fix typeorm join and flagged mapping * Fix flagged query + changelog * updates use of flagged for only csv Co-authored-by: seanmalbert <smabert@gmail.com> * Listings close & unpublish (#1498) * Added unpublish action * Update aside * Add button type attr * Add close and unpublish listings endpoints * Revert "Add close and unpublish listings endpoints" This reverts commit 39e854b. * Fix error when listing is in add mode (there is no listing.id property) * Update aside buttons * Prevent error when time field is emty & tag style update * Fix type * updates watch list for onSubmit callback * removes router reload * Remove button * Fix form save after close listing action Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Incorporate modal * Convert listing address jsonb columns to separate address tables (#1512) * Convert listing address jsonb columns to separate address tables * Update backend swagger interfaces Co-authored-by: seanmalbert <smabert@gmail.com> * Recreated foreign keys constraints (#1514) * Recreated foreign keys constraints for `application_flagged_set_applications_applications`, `listings_leasing_agents_user_accounts`, `property_group_properties_property` and add missing `NOT NULL` migration for listing name column * moved entry to unreleased section Co-authored-by: seanmalbert <smabert@gmail.com> * Add debug flags and instructions for debugging frontends (#1519) * Add debug flags and instructions for debugging frontends (#195) * add debug flags and instructions to frontend package.json files and readmes * update changelog * update changelog * 1445/move listing events to table (#1515) * Convert listing.events json column of ListingEvent[] to a separate listing_events table * Update changelog.md * Add a test for updating ListingEvent through Listing endpoint * Update backend-swagger interfaces * Add ListingEvent relation to assets (file_id column) * Update backend-swagger.ts * Fix validations in ListingEvent create and update DTO, (file IsOptional) * merges listing seed updates from upstream Co-authored-by: seanmalbert <smabert@gmail.com> * Fix code style issues with Prettier * re-add lint config * address review comments Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Austin Valeske <avaleske@google.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com>
seanmalbert
added a commit
that referenced
this pull request
Jul 30, 2021
* Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * fix from PR 1398 * #1378 Use specific aria props in LocalizedLink (#1379) * Rename aria to ariaProps on LocalizedLink avoids name colision with future react prop while allowing for flexibility in what aria props are passed * Update CHANGELOG to document change * Use aria attributes with the - * Define aria-current type with AriaAttributes * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * master resolved with merge conflicts from dev (#1482) * 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * update master from dev pt 2 (#1554) * new line * Fix code style issues with Prettier Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
seanmalbert
added a commit
that referenced
this pull request
Aug 3, 2021
* Dev updates from master before merge (#1594) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * fix from PR 1398 * #1378 Use specific aria props in LocalizedLink (#1379) * Rename aria to ariaProps on LocalizedLink avoids name colision with future react prop while allowing for flexibility in what aria props are passed * Update CHANGELOG to document change * Use aria attributes with the - * Define aria-current type with AriaAttributes * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * master resolved with merge conflicts from dev (#1482) * 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * update master from dev pt 2 (#1554) * new line * Fix code style issues with Prettier Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Refactor ImageCard and ApplicationStatus components (#1555) * Remove San Francisco email from ui-components general.json (#1571) * Make unitsSummarized a Transform field within Listing (#259) (#1572) * 1428/community type (#1540) * Minor visual fixes 1465 (#1596) * Minor style fixes * Update changelog for style fixes * Fix base button styles * update changelog formatting Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * Let the counselor page render if no props. (#1599) * 1601/change open soon text (#1602) * Update styling mobile image-only logo #1466 (#1597) * Update height of image-only SiteHeader logo * Update comment * Change back to goal height of 75px * Add changes to CHANGELOG * Revert back to example of the listing image as an image-only logo * updates package version to 1.0.5 Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: ant <anthony.kong@sfgov.org> Co-authored-by: elenm <16543000+elenm@users.noreply.github.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com>
seanmalbert
added a commit
that referenced
this pull request
Aug 12, 2021
* Dev updates from master before merge (#1594) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * fix from PR 1398 * #1378 Use specific aria props in LocalizedLink (#1379) * Rename aria to ariaProps on LocalizedLink avoids name colision with future react prop while allowing for flexibility in what aria props are passed * Update CHANGELOG to document change * Use aria attributes with the - * Define aria-current type with AriaAttributes * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * master resolved with merge conflicts from dev (#1482) * 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * update master from dev pt 2 (#1554) * new line * Fix code style issues with Prettier Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Refactor ImageCard and ApplicationStatus components (#1555) * Remove San Francisco email from ui-components general.json (#1571) * Make unitsSummarized a Transform field within Listing (#259) (#1572) * 1428/community type (#1540) * Minor visual fixes 1465 (#1596) * Minor style fixes * Update changelog for style fixes * Fix base button styles * update changelog formatting Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * Let the counselor page render if no props. (#1599) * 1601/change open soon text (#1602) * Update styling mobile image-only logo #1466 (#1597) * Update height of image-only SiteHeader logo * Update comment * Change back to goal height of 75px * Add changes to CHANGELOG * Revert back to example of the listing image as an image-only logo * updates package version to 1.0.5 * Fix code style issues with Prettier * Pricing table styling (#1566) * Initial pricing table styling * Pricing table updates for minimal table * Styling fixes for ResponsiveTable * Cleanup tables * Add changelog for REsponsiveTable * moves changelog update * Fix code style issues with Prettier * Change availability to be consistent on mobile and desktop * Allow cell to accept string or TableHeaderOptions Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> * Update active/closed listing visibility (#1585) * Update active/closed listing visibility * Update changelog * updated changelog Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Fix code style issues with Prettier * 1581 - Update buttons/pages visibility depending on a user role (#1609) * Remove env variable * Show add button for admins only * Create guard to show listing details/edit for allowed users only * Remove listingId prop * Fix code style issues with Prettier * Update changelog * Fix code style issues with Prettier Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Add filters, pagination, and tests to listings endpoint (#1578) * Copy changes from CityOfDetroit/bloom/main * remove detroit specific changes * update changelog with PR number * update frontend listings callsites, add pagination that accepts all * expose seed listings to tests, update service to return entity objects, not DTOs * add ListingsFilterparams and ListingsFilterKeysTransporter to ApiExtraModels, so the backend swagger code-gen picks them up * clarify comment * adds comment explaining typeguard * fix type exports, move filter keys to separate export, add custom validator for pagination * Fix tests. * fix listing e2e test * fix typo * fix changelog, cachekey Co-authored-by: Will Lin <wrl@google.com> * Fix code style issues with Prettier * Add Cloudinary cloud ENV var for the public site (#1598) * Update listings importer for latest unit and priority types changes (#1584) * Update listings importer for latest unit and priority types changes * Update change log * changelog and unrelated property cleanup * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Create units summary table (#1607) * Create units summary table * update changelog * Fix code style issues with Prettier * Add a Detroit CountyCode. (#1620) Regenerates the backend-swagger.ts to match and adds a convenience Prettier write when generating the client such that you're only comparing the actual diff. * Allow lottery results to be uploaded for a closed listing (#1568) * Allow lottery results to be uploaded for a closed listing * Upload and preview lottery results * More locale strings * remove stray console * Fix missing img alt * Update Changelog for #1568 * Fix null bug * debugging statements * more debug statements * Fix to keep results events in place * Fix event type bug * Fix code style issues with Prettier * Fix TS problem * Use optional chaining for listing * Moves changelog entry * Fix code style issues with Prettier * DRY up file uploader function and address PR feedback Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * 1589/Sets Redis to handle backend cache (#1637) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * 1589/Redis cache manager - part 2 (#1648) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * adds tls setting to cache module * 356/csv berekely housing authority (#1640) * 1631/table styling bug (#1632) * Add support for comma-separated lists to filter and ensure comparisons are valid (#356) (#1634) * add support for lists to filters * update changelog * add check that provided comparison is a valid comparison * fix issue with test * fix comment * Add limit all to listings call on partners (#1647) * Add limit all to listings call on partners * Add change log for listings fix * netlify build issues (#1650) * 1630/preferences order bug (#1641) * 1605/cannot edit terms color (#1645) * Revert redis (#1659) * force quit redis connection on app close * pulls back redis changes until they're ready * Force quits redis connection on app close (#1658) * force quit redis connection on app close * updates for redis config * adds enableShutdownHooks to main app * 1663/when seeding data, create application methods unique to each listing (#1662) * create an unique app method for each listing * fix importer * changelog * Update listings.e2e-spec.ts Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: ant <anthony.kong@sfgov.org> Co-authored-by: elenm <16543000+elenm@users.noreply.github.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> Co-authored-by: Will Lin <wrl@google.com> Co-authored-by: Abbie Farr <83078310+abbiefarr@users.noreply.github.com>
seanmalbert
added a commit
that referenced
this pull request
Aug 12, 2021
* Dev updates from master before merge (#1594) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * fix from PR 1398 * #1378 Use specific aria props in LocalizedLink (#1379) * Rename aria to ariaProps on LocalizedLink avoids name colision with future react prop while allowing for flexibility in what aria props are passed * Update CHANGELOG to document change * Use aria attributes with the - * Define aria-current type with AriaAttributes * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * master resolved with merge conflicts from dev (#1482) * 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * update master from dev pt 2 (#1554) * new line * Fix code style issues with Prettier Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Refactor ImageCard and ApplicationStatus components (#1555) * Remove San Francisco email from ui-components general.json (#1571) * Make unitsSummarized a Transform field within Listing (#259) (#1572) * 1428/community type (#1540) * Minor visual fixes 1465 (#1596) * Minor style fixes * Update changelog for style fixes * Fix base button styles * update changelog formatting Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * Let the counselor page render if no props. (#1599) * 1601/change open soon text (#1602) * Update styling mobile image-only logo #1466 (#1597) * Update height of image-only SiteHeader logo * Update comment * Change back to goal height of 75px * Add changes to CHANGELOG * Revert back to example of the listing image as an image-only logo * updates package version to 1.0.5 * Fix code style issues with Prettier * Pricing table styling (#1566) * Initial pricing table styling * Pricing table updates for minimal table * Styling fixes for ResponsiveTable * Cleanup tables * Add changelog for REsponsiveTable * moves changelog update * Fix code style issues with Prettier * Change availability to be consistent on mobile and desktop * Allow cell to accept string or TableHeaderOptions Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> * Update active/closed listing visibility (#1585) * Update active/closed listing visibility * Update changelog * updated changelog Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Fix code style issues with Prettier * 1581 - Update buttons/pages visibility depending on a user role (#1609) * Remove env variable * Show add button for admins only * Create guard to show listing details/edit for allowed users only * Remove listingId prop * Fix code style issues with Prettier * Update changelog * Fix code style issues with Prettier Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Add filters, pagination, and tests to listings endpoint (#1578) * Copy changes from CityOfDetroit/bloom/main * remove detroit specific changes * update changelog with PR number * update frontend listings callsites, add pagination that accepts all * expose seed listings to tests, update service to return entity objects, not DTOs * add ListingsFilterparams and ListingsFilterKeysTransporter to ApiExtraModels, so the backend swagger code-gen picks them up * clarify comment * adds comment explaining typeguard * fix type exports, move filter keys to separate export, add custom validator for pagination * Fix tests. * fix listing e2e test * fix typo * fix changelog, cachekey Co-authored-by: Will Lin <wrl@google.com> * Fix code style issues with Prettier * Add Cloudinary cloud ENV var for the public site (#1598) * Update listings importer for latest unit and priority types changes (#1584) * Update listings importer for latest unit and priority types changes * Update change log * changelog and unrelated property cleanup * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Create units summary table (#1607) * Create units summary table * update changelog * Fix code style issues with Prettier * Add a Detroit CountyCode. (#1620) Regenerates the backend-swagger.ts to match and adds a convenience Prettier write when generating the client such that you're only comparing the actual diff. * Allow lottery results to be uploaded for a closed listing (#1568) * Allow lottery results to be uploaded for a closed listing * Upload and preview lottery results * More locale strings * remove stray console * Fix missing img alt * Update Changelog for #1568 * Fix null bug * debugging statements * more debug statements * Fix to keep results events in place * Fix event type bug * Fix code style issues with Prettier * Fix TS problem * Use optional chaining for listing * Moves changelog entry * Fix code style issues with Prettier * DRY up file uploader function and address PR feedback Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * 1589/Sets Redis to handle backend cache (#1637) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * 1589/Redis cache manager - part 2 (#1648) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * adds tls setting to cache module * 356/csv berekely housing authority (#1640) * 1631/table styling bug (#1632) * Add support for comma-separated lists to filter and ensure comparisons are valid (#356) (#1634) * add support for lists to filters * update changelog * add check that provided comparison is a valid comparison * fix issue with test * fix comment * Add limit all to listings call on partners (#1647) * Add limit all to listings call on partners * Add change log for listings fix * netlify build issues (#1650) * 1630/preferences order bug (#1641) * 1605/cannot edit terms color (#1645) * Revert redis (#1659) * force quit redis connection on app close * pulls back redis changes until they're ready * Force quits redis connection on app close (#1658) * force quit redis connection on app close * updates for redis config * adds enableShutdownHooks to main app * 1663/when seeding data, create application methods unique to each listing (#1662) * create an unique app method for each listing * fix importer * changelog * Update listings.e2e-spec.ts Co-authored-by: seanmalbert <smabert@gmail.com> * Update to reset cache on module init * adds "/listings?limit=all" to cacheKeys Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: ant <anthony.kong@sfgov.org> Co-authored-by: elenm <16543000+elenm@users.noreply.github.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> Co-authored-by: Will Lin <wrl@google.com> Co-authored-by: Abbie Farr <83078310+abbiefarr@users.noreply.github.com>
seanmalbert
added a commit
that referenced
this pull request
Aug 13, 2021
* Dev updates from master before merge (#1594) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * fix from PR 1398 * #1378 Use specific aria props in LocalizedLink (#1379) * Rename aria to ariaProps on LocalizedLink avoids name colision with future react prop while allowing for flexibility in what aria props are passed * Update CHANGELOG to document change * Use aria attributes with the - * Define aria-current type with AriaAttributes * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * master resolved with merge conflicts from dev (#1482) * 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 845f2e6. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * update master from dev pt 2 (#1554) * new line * Fix code style issues with Prettier Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Refactor ImageCard and ApplicationStatus components (#1555) * Remove San Francisco email from ui-components general.json (#1571) * Make unitsSummarized a Transform field within Listing (#259) (#1572) * 1428/community type (#1540) * Minor visual fixes 1465 (#1596) * Minor style fixes * Update changelog for style fixes * Fix base button styles * update changelog formatting Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * Let the counselor page render if no props. (#1599) * 1601/change open soon text (#1602) * Update styling mobile image-only logo #1466 (#1597) * Update height of image-only SiteHeader logo * Update comment * Change back to goal height of 75px * Add changes to CHANGELOG * Revert back to example of the listing image as an image-only logo * updates package version to 1.0.5 * Fix code style issues with Prettier * Pricing table styling (#1566) * Initial pricing table styling * Pricing table updates for minimal table * Styling fixes for ResponsiveTable * Cleanup tables * Add changelog for REsponsiveTable * moves changelog update * Fix code style issues with Prettier * Change availability to be consistent on mobile and desktop * Allow cell to accept string or TableHeaderOptions Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> * Update active/closed listing visibility (#1585) * Update active/closed listing visibility * Update changelog * updated changelog Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Fix code style issues with Prettier * 1581 - Update buttons/pages visibility depending on a user role (#1609) * Remove env variable * Show add button for admins only * Create guard to show listing details/edit for allowed users only * Remove listingId prop * Fix code style issues with Prettier * Update changelog * Fix code style issues with Prettier Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Add filters, pagination, and tests to listings endpoint (#1578) * Copy changes from CityOfDetroit/bloom/main * remove detroit specific changes * update changelog with PR number * update frontend listings callsites, add pagination that accepts all * expose seed listings to tests, update service to return entity objects, not DTOs * add ListingsFilterparams and ListingsFilterKeysTransporter to ApiExtraModels, so the backend swagger code-gen picks them up * clarify comment * adds comment explaining typeguard * fix type exports, move filter keys to separate export, add custom validator for pagination * Fix tests. * fix listing e2e test * fix typo * fix changelog, cachekey Co-authored-by: Will Lin <wrl@google.com> * Fix code style issues with Prettier * Add Cloudinary cloud ENV var for the public site (#1598) * Update listings importer for latest unit and priority types changes (#1584) * Update listings importer for latest unit and priority types changes * Update change log * changelog and unrelated property cleanup * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Create units summary table (#1607) * Create units summary table * update changelog * Fix code style issues with Prettier * Add a Detroit CountyCode. (#1620) Regenerates the backend-swagger.ts to match and adds a convenience Prettier write when generating the client such that you're only comparing the actual diff. * Allow lottery results to be uploaded for a closed listing (#1568) * Allow lottery results to be uploaded for a closed listing * Upload and preview lottery results * More locale strings * remove stray console * Fix missing img alt * Update Changelog for #1568 * Fix null bug * debugging statements * more debug statements * Fix to keep results events in place * Fix event type bug * Fix code style issues with Prettier * Fix TS problem * Use optional chaining for listing * Moves changelog entry * Fix code style issues with Prettier * DRY up file uploader function and address PR feedback Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * 1589/Sets Redis to handle backend cache (#1637) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * 1589/Redis cache manager - part 2 (#1648) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * adds tls setting to cache module * 356/csv berekely housing authority (#1640) * 1631/table styling bug (#1632) * Add support for comma-separated lists to filter and ensure comparisons are valid (#356) (#1634) * add support for lists to filters * update changelog * add check that provided comparison is a valid comparison * fix issue with test * fix comment * Add limit all to listings call on partners (#1647) * Add limit all to listings call on partners * Add change log for listings fix * netlify build issues (#1650) * 1630/preferences order bug (#1641) * 1605/cannot edit terms color (#1645) * Revert redis (#1659) * force quit redis connection on app close * pulls back redis changes until they're ready * Force quits redis connection on app close (#1658) * force quit redis connection on app close * updates for redis config * adds enableShutdownHooks to main app * 1663/when seeding data, create application methods unique to each listing (#1662) * create an unique app method for each listing * fix importer * changelog * Update listings.e2e-spec.ts Co-authored-by: seanmalbert <smabert@gmail.com> * Update to reset cache on module init * adds "/listings?limit=all" to cacheKeys * Updates redis reset to flush all keys Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: ant <anthony.kong@sfgov.org> Co-authored-by: elenm <16543000+elenm@users.noreply.github.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> Co-authored-by: Will Lin <wrl@google.com> Co-authored-by: Abbie Farr <83078310+abbiefarr@users.noreply.github.com>
seanmalbert
referenced
this pull request
in CityOfDetroit/bloom
Jun 23, 2022
* 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog * Add Github action for running Prettier on PRs (#1440) * Run prettier automatically with Github Actions. Introduces an action to automatically run prettier and commit fixes to the PR. This ensures that the repo will always adhere to the style guide. * Fix code style issues with Prettier Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Entries for unreleased and adds 1.0.4 * Fix code style issues with Prettier * 1444/optional fields (#1470) * Add optional indicator to fields that have IsOptional validator set with class-validator * moves changelog comment to unreleased * Fix code style issues with Prettier * updates optional fields from merge * Fix code style issues with Prettier * fixes tests and makes listing.name required * Fix code style issues with Prettier * householdsize fixes * Add optional indicator to fields that have IsOptional validator set with class-validator * moves changelog comment to unreleased * updates optional fields from merge * Fix code style issues with Prettier * fixes tests and makes listing.name required * Fix code style issues with Prettier * householdsize fixes * Fix code style issues with Prettier * Fix code style issues with Prettier * Fix code style issues with Prettier * Apply cleanup with now optional fields * Fix code style issues with Prettier * updates HouseholdSizeField so min is optional * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * 1454/listings management visual QA round (#1463) * Refactor/user module 2 (#1474) * Encapsulate User module within Auth module * Move business logic from User controller to user service * moves changelog message to unreleased section * Fix code style issues with Prettier * fixes unrelated ag_grid warnings * replaces use of backend client with swagger * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * 1404/add action block (#1459) * Add ActionBlock component * Add changelog for ActionBlock * Style tweaks for ActionBlock * Add DAHLIA styles for ActionBlock and fix margin on smaller screen * Fix changelog placement for ActionBlock * Connect ag-grid sort with the API (#1492) * Connect ag-grid sort with the API * Fix code style issues with Prettier * Updated changelog * Fix code style issues with Prettier * Add empty values as last * Fix code style issues with Prettier * Add missing OrderBy enum definitions * Add migrating empty strings to nulls in applicant.last_name and applicant.first_name * Fix code style issues with Prettier * Fix 1625746856273-migrate-empty-strings-to-nulls-in-app SQL queries * Map firstName and lastName empty strings to nulls * Update sorting compare method * Add applicant firstName and lastName MinLength(1) validators * Fix e2e tests (missing lastName in test fixtures) * Update var name * Update order type * Update types Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Michal Plebanski <michalp@airnauts.com> * Add commands to run Cypress tests in "headless" mode (#1505) This change adds yarn commands to run the Cypress tests in "headless" mode. It also removes two Cypress test outputs (which shouldn't have been committed but slipped past the gitignore) and updates the gitignore rules to ensure no more slip through. * 1503/fix out of sync swagger (#1504) * Update swagger * Fix code style issues with Prettier Fix broken test: fixtures update and Address type Change return element to null Fix code style issues with Prettier * fixes issues with partners build with updated backend swagger * fixes tests Co-authored-by: seanmalbert <smabert@gmail.com> * Add storybook a11y testing #142 (#1450) * Add storybook storyshots puppeteer addon * Get yarn:a11y test up and running locally * Fix alt text-related issues * Try running a11y tests on circleCI * Make sure static storybook build is gitignored * Actually add a11y tests to circleCI pipeline * Disable nested interactive rule for Tab-like Nav * Move storyshots-puppeteer and puppeteer into dev dependencies * Add unmet peer dependency of preact Follow-up ticket created in #1489 * Fix failing jest tests * Try node docker image with browsers * Use non-legacy docker image * Fix code style issues with Prettier * Fix a11y issue with dropzone story * Add changes to changelog * Fix code style issues with Prettier * adds description prop to ImageCard for alt text * updates ImageCard tests * Fix code style issues with Prettier Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * 1480/ Fix double submit (#1508) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * refactors listing submit * moves setAlert and setLoading calls * adds useCallback for onSubmit * adds an additional state and useEffect to handle submission * adds status dependency on useEffect * moves setLoading to trigger sooner * set setStatus prop for Aside to optional * Fix code style issues with Prettier * Remove unused inverse relations from entities (#1520) * Fixes bug with listing form (#1521) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * fixes listing bug issue * 1184/unit type rent (#1439) * Add unit_type table * Add unit_rent_type table * Add unit_accessibility_priority_type table * Update autogenerated frontend client * Fix missing imports in Unit and App modules * Snapshot * Update unit related migrations * Fix leftjoins in listings.service.ts Refactor seeds module * Update backend-swagger.ts * Change src/listings/PaperListingForm/index.tsx to align with unit_type related changes * Fix linter complaints * Fix code style issues with Prettier * adds priorityType.name to partners * Update changelog.md * Improve migration script to take into account existing values with SELECT DISTINCT query * adds unit type and priority options and cleans up how that's all handled Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Adds additional checks for unit type and priority (#1525) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * Add preview (disabled) state for Listings Application button (#1502) * Add preview (disabled) state for Listings Application button * Also fix bug in the LinkButton component * Update changelog with #1502 * Update jest-backend ci/cd job environment variables sourced through .… (#1526) Update jest-backend ci/cd job environment variables sourced through .circleci/config.yaml * 1348/Add photo upload to the Listing form (#1491) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * Adding photo upload to Listings MVP (WIP) * Fix image data issue for edits, add detail preview * Upload to Cloudinary using a signed preset * Revert previous double-submit issue * Remove stray console call * Fix undefined error on new listing page * fix lint error * Add #1491 to changelog * Use state only for Cloudinary upload data Co-authored-by: seanmalbert <smabert@gmail.com> * 1352/Add flagged and mark as duplicate to CSV export (#1500) * Initial changes for CSV flagged export * Fix typeorm join and flagged mapping * Fix flagged query + changelog * updates use of flagged for only csv Co-authored-by: seanmalbert <smabert@gmail.com> * Listings close & unpublish (#1498) * Added unpublish action * Update aside * Add button type attr * Add close and unpublish listings endpoints * Revert "Add close and unpublish listings endpoints" This reverts commit 3b3ae1802d96c1cf05fa124a19e72a970f95ea6b. * Fix error when listing is in add mode (there is no listing.id property) * Update aside buttons * Prevent error when time field is emty & tag style update * Fix type * updates watch list for onSubmit callback * removes router reload * Remove button * Fix form save after close listing action Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Convert listing address jsonb columns to separate address tables (#1512) * Convert listing address jsonb columns to separate address tables * Update backend swagger interfaces Co-authored-by: seanmalbert <smabert@gmail.com> * Recreated foreign keys constraints (#1514) * Recreated foreign keys constraints for `application_flagged_set_applications_applications`, `listings_leasing_agents_user_accounts`, `property_group_properties_property` and add missing `NOT NULL` migration for listing name column * moved entry to unreleased section Co-authored-by: seanmalbert <smabert@gmail.com> * Add debug flags and instructions for debugging frontends (#1519) * Add debug flags and instructions for debugging frontends (#195) * add debug flags and instructions to frontend package.json files and readmes * update changelog * update changelog * 1445/move listing events to table (#1515) * Convert listing.events json column of ListingEvent[] to a separate listing_events table * Update changelog.md * Add a test for updating ListingEvent through Listing endpoint * Update backend-swagger interfaces * Add ListingEvent relation to assets (file_id column) * Update backend-swagger.ts * Fix validations in ListingEvent create and update DTO, (file IsOptional) * merges listing seed updates from upstream Co-authored-by: seanmalbert <smabert@gmail.com> * Fix code style issues with Prettier * re-add lint config * Fix code style issues with ESLint Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com>
seanmalbert
referenced
this pull request
in CityOfDetroit/bloom
Jun 23, 2022
* 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1st attempt at frontend listing pagination * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * Paginate public listings page * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog * Add Github action for running Prettier on PRs (#1440) * Run prettier automatically with Github Actions. Introduces an action to automatically run prettier and commit fixes to the PR. This ensures that the repo will always adhere to the style guide. * Fix code style issues with Prettier Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Entries for unreleased and adds 1.0.4 * Fix code style issues with Prettier * initial style fixes * initial request for filtered state * 1444/optional fields (#1470) * Add optional indicator to fields that have IsOptional validator set with class-validator * moves changelog comment to unreleased * Fix code style issues with Prettier * updates optional fields from merge * Fix code style issues with Prettier * fixes tests and makes listing.name required * Fix code style issues with Prettier * householdsize fixes * Add optional indicator to fields that have IsOptional validator set with class-validator * moves changelog comment to unreleased * updates optional fields from merge * Fix code style issues with Prettier * fixes tests and makes listing.name required * Fix code style issues with Prettier * householdsize fixes * Fix code style issues with Prettier * Fix code style issues with Prettier * Fix code style issues with Prettier * Apply cleanup with now optional fields * Fix code style issues with Prettier * updates HouseholdSizeField so min is optional * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * remove prop type * 1454/listings management visual QA round (#1463) * Refactor/user module 2 (#1474) * Encapsulate User module within Auth module * Move business logic from User controller to user service * moves changelog message to unreleased section * Fix code style issues with Prettier * fixes unrelated ag_grid warnings * replaces use of backend client with swagger * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * 1404/add action block (#1459) * Add ActionBlock component * Add changelog for ActionBlock * Style tweaks for ActionBlock * Add DAHLIA styles for ActionBlock and fix margin on smaller screen * Fix changelog placement for ActionBlock * Connect ag-grid sort with the API (#1492) * Connect ag-grid sort with the API * Fix code style issues with Prettier * Updated changelog * Fix code style issues with Prettier * Add empty values as last * Fix code style issues with Prettier * Add missing OrderBy enum definitions * Add migrating empty strings to nulls in applicant.last_name and applicant.first_name * Fix code style issues with Prettier * Fix 1625746856273-migrate-empty-strings-to-nulls-in-app SQL queries * Map firstName and lastName empty strings to nulls * Update sorting compare method * Add applicant firstName and lastName MinLength(1) validators * Fix e2e tests (missing lastName in test fixtures) * Update var name * Update order type * Update types Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Michal Plebanski <michalp@airnauts.com> * Add commands to run Cypress tests in "headless" mode (#1505) This change adds yarn commands to run the Cypress tests in "headless" mode. It also removes two Cypress test outputs (which shouldn't have been committed but slipped past the gitignore) and updates the gitignore rules to ensure no more slip through. * 1503/fix out of sync swagger (#1504) * Update swagger * Fix code style issues with Prettier Fix broken test: fixtures update and Address type Change return element to null Fix code style issues with Prettier * fixes issues with partners build with updated backend swagger * fixes tests Co-authored-by: seanmalbert <smabert@gmail.com> * Add storybook a11y testing #142 (#1450) * Add storybook storyshots puppeteer addon * Get yarn:a11y test up and running locally * Fix alt text-related issues * Try running a11y tests on circleCI * Make sure static storybook build is gitignored * Actually add a11y tests to circleCI pipeline * Disable nested interactive rule for Tab-like Nav * Move storyshots-puppeteer and puppeteer into dev dependencies * Add unmet peer dependency of preact Follow-up ticket created in #1489 * Fix failing jest tests * Try node docker image with browsers * Use non-legacy docker image * Fix code style issues with Prettier * Fix a11y issue with dropzone story * Add changes to changelog * Fix code style issues with Prettier * adds description prop to ImageCard for alt text * updates ImageCard tests * Fix code style issues with Prettier Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * 1480/ Fix double submit (#1508) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * refactors listing submit * moves setAlert and setLoading calls * adds useCallback for onSubmit * adds an additional state and useEffect to handle submission * adds status dependency on useEffect * moves setLoading to trigger sooner * set setStatus prop for Aside to optional * Fix code style issues with Prettier * Remove unused inverse relations from entities (#1520) * just playing * Fixes bug with listing form (#1521) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * fixes listing bug issue * Final touches on filtering ui MVP * 1184/unit type rent (#1439) * Add unit_type table * Add unit_rent_type table * Add unit_accessibility_priority_type table * Update autogenerated frontend client * Fix missing imports in Unit and App modules * Snapshot * Update unit related migrations * Fix leftjoins in listings.service.ts Refactor seeds module * Update backend-swagger.ts * Change src/listings/PaperListingForm/index.tsx to align with unit_type related changes * Fix linter complaints * Fix code style issues with Prettier * adds priorityType.name to partners * Update changelog.md * Improve migration script to take into account existing values with SELECT DISTINCT query * adds unit type and priority options and cleans up how that's all handled Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Adds additional checks for unit type and priority (#1525) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * Add preview (disabled) state for Listings Application button (#1502) * Add preview (disabled) state for Listings Application button * Also fix bug in the LinkButton component * Update changelog with #1502 * Update jest-backend ci/cd job environment variables sourced through .… (#1526) Update jest-backend ci/cd job environment variables sourced through .circleci/config.yaml * 1348/Add photo upload to the Listing form (#1491) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * Adding photo upload to Listings MVP (WIP) * Fix image data issue for edits, add detail preview * Upload to Cloudinary using a signed preset * Revert previous double-submit issue * Remove stray console call * Fix undefined error on new listing page * fix lint error * Add #1491 to changelog * Use state only for Cloudinary upload data Co-authored-by: seanmalbert <smabert@gmail.com> * 1352/Add flagged and mark as duplicate to CSV export (#1500) * Initial changes for CSV flagged export * Fix typeorm join and flagged mapping * Fix flagged query + changelog * updates use of flagged for only csv Co-authored-by: seanmalbert <smabert@gmail.com> * Listings close & unpublish (#1498) * Added unpublish action * Update aside * Add button type attr * Add close and unpublish listings endpoints * Revert "Add close and unpublish listings endpoints" This reverts commit 3b3ae1802d96c1cf05fa124a19e72a970f95ea6b. * Fix error when listing is in add mode (there is no listing.id property) * Update aside buttons * Prevent error when time field is emty & tag style update * Fix type * updates watch list for onSubmit callback * removes router reload * Remove button * Fix form save after close listing action Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Incorporate modal * Convert listing address jsonb columns to separate address tables (#1512) * Convert listing address jsonb columns to separate address tables * Update backend swagger interfaces Co-authored-by: seanmalbert <smabert@gmail.com> * Recreated foreign keys constraints (#1514) * Recreated foreign keys constraints for `application_flagged_set_applications_applications`, `listings_leasing_agents_user_accounts`, `property_group_properties_property` and add missing `NOT NULL` migration for listing name column * moved entry to unreleased section Co-authored-by: seanmalbert <smabert@gmail.com> * Add debug flags and instructions for debugging frontends (#1519) * Add debug flags and instructions for debugging frontends (#195) * add debug flags and instructions to frontend package.json files and readmes * update changelog * update changelog * 1445/move listing events to table (#1515) * Convert listing.events json column of ListingEvent[] to a separate listing_events table * Update changelog.md * Add a test for updating ListingEvent through Listing endpoint * Update backend-swagger interfaces * Add ListingEvent relation to assets (file_id column) * Update backend-swagger.ts * Fix validations in ListingEvent create and update DTO, (file IsOptional) * merges listing seed updates from upstream Co-authored-by: seanmalbert <smabert@gmail.com> * Fix code style issues with Prettier * re-add lint config * address review comments Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Austin Valeske <avaleske@google.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com>
seanmalbert
referenced
this pull request
in CityOfDetroit/bloom
Jun 23, 2022
* Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * fix from PR 1398 * #1378 Use specific aria props in LocalizedLink (#1379) * Rename aria to ariaProps on LocalizedLink avoids name colision with future react prop while allowing for flexibility in what aria props are passed * Update CHANGELOG to document change * Use aria attributes with the - * Define aria-current type with AriaAttributes * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * master resolved with merge conflicts from dev (#1482) * 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * update master from dev pt 2 (#1554) * new line * Fix code style issues with Prettier Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
seanmalbert
referenced
this pull request
in CityOfDetroit/bloom
Jun 23, 2022
* Dev updates from master before merge (#1594) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * fix from PR 1398 * #1378 Use specific aria props in LocalizedLink (#1379) * Rename aria to ariaProps on LocalizedLink avoids name colision with future react prop while allowing for flexibility in what aria props are passed * Update CHANGELOG to document change * Use aria attributes with the - * Define aria-current type with AriaAttributes * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * master resolved with merge conflicts from dev (#1482) * 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * update master from dev pt 2 (#1554) * new line * Fix code style issues with Prettier Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Refactor ImageCard and ApplicationStatus components (#1555) * Remove San Francisco email from ui-components general.json (#1571) * Make unitsSummarized a Transform field within Listing (#259) (#1572) * 1428/community type (#1540) * Minor visual fixes 1465 (#1596) * Minor style fixes * Update changelog for style fixes * Fix base button styles * update changelog formatting Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * Let the counselor page render if no props. (#1599) * 1601/change open soon text (#1602) * Update styling mobile image-only logo #1466 (#1597) * Update height of image-only SiteHeader logo * Update comment * Change back to goal height of 75px * Add changes to CHANGELOG * Revert back to example of the listing image as an image-only logo * updates package version to 1.0.5 Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: ant <anthony.kong@sfgov.org> Co-authored-by: elenm <16543000+elenm@users.noreply.github.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com>
seanmalbert
referenced
this pull request
in CityOfDetroit/bloom
Jun 23, 2022
* Dev updates from master before merge (#1594) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * fix from PR 1398 * #1378 Use specific aria props in LocalizedLink (#1379) * Rename aria to ariaProps on LocalizedLink avoids name colision with future react prop while allowing for flexibility in what aria props are passed * Update CHANGELOG to document change * Use aria attributes with the - * Define aria-current type with AriaAttributes * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * master resolved with merge conflicts from dev (#1482) * 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * update master from dev pt 2 (#1554) * new line * Fix code style issues with Prettier Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Refactor ImageCard and ApplicationStatus components (#1555) * Remove San Francisco email from ui-components general.json (#1571) * Make unitsSummarized a Transform field within Listing (#259) (#1572) * 1428/community type (#1540) * Minor visual fixes 1465 (#1596) * Minor style fixes * Update changelog for style fixes * Fix base button styles * update changelog formatting Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * Let the counselor page render if no props. (#1599) * 1601/change open soon text (#1602) * Update styling mobile image-only logo #1466 (#1597) * Update height of image-only SiteHeader logo * Update comment * Change back to goal height of 75px * Add changes to CHANGELOG * Revert back to example of the listing image as an image-only logo * updates package version to 1.0.5 * Fix code style issues with Prettier * Pricing table styling (#1566) * Initial pricing table styling * Pricing table updates for minimal table * Styling fixes for ResponsiveTable * Cleanup tables * Add changelog for REsponsiveTable * moves changelog update * Fix code style issues with Prettier * Change availability to be consistent on mobile and desktop * Allow cell to accept string or TableHeaderOptions Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> * Update active/closed listing visibility (#1585) * Update active/closed listing visibility * Update changelog * updated changelog Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Fix code style issues with Prettier * 1581 - Update buttons/pages visibility depending on a user role (#1609) * Remove env variable * Show add button for admins only * Create guard to show listing details/edit for allowed users only * Remove listingId prop * Fix code style issues with Prettier * Update changelog * Fix code style issues with Prettier Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Add filters, pagination, and tests to listings endpoint (#1578) * Copy changes from CityOfDetroit/bloom/main * remove detroit specific changes * update changelog with PR number * update frontend listings callsites, add pagination that accepts all * expose seed listings to tests, update service to return entity objects, not DTOs * add ListingsFilterparams and ListingsFilterKeysTransporter to ApiExtraModels, so the backend swagger code-gen picks them up * clarify comment * adds comment explaining typeguard * fix type exports, move filter keys to separate export, add custom validator for pagination * Fix tests. * fix listing e2e test * fix typo * fix changelog, cachekey Co-authored-by: Will Lin <wrl@google.com> * Fix code style issues with Prettier * Add Cloudinary cloud ENV var for the public site (#1598) * Update listings importer for latest unit and priority types changes (#1584) * Update listings importer for latest unit and priority types changes * Update change log * changelog and unrelated property cleanup * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Create units summary table (#1607) * Create units summary table * update changelog * Fix code style issues with Prettier * Add a Detroit CountyCode. (#1620) Regenerates the backend-swagger.ts to match and adds a convenience Prettier write when generating the client such that you're only comparing the actual diff. * Allow lottery results to be uploaded for a closed listing (#1568) * Allow lottery results to be uploaded for a closed listing * Upload and preview lottery results * More locale strings * remove stray console * Fix missing img alt * Update Changelog for #1568 * Fix null bug * debugging statements * more debug statements * Fix to keep results events in place * Fix event type bug * Fix code style issues with Prettier * Fix TS problem * Use optional chaining for listing * Moves changelog entry * Fix code style issues with Prettier * DRY up file uploader function and address PR feedback Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * 1589/Sets Redis to handle backend cache (#1637) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * 1589/Redis cache manager - part 2 (#1648) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * adds tls setting to cache module * 356/csv berekely housing authority (#1640) * 1631/table styling bug (#1632) * Add support for comma-separated lists to filter and ensure comparisons are valid (#356) (#1634) * add support for lists to filters * update changelog * add check that provided comparison is a valid comparison * fix issue with test * fix comment * Add limit all to listings call on partners (#1647) * Add limit all to listings call on partners * Add change log for listings fix * netlify build issues (#1650) * 1630/preferences order bug (#1641) * 1605/cannot edit terms color (#1645) * Revert redis (#1659) * force quit redis connection on app close * pulls back redis changes until they're ready * Force quits redis connection on app close (#1658) * force quit redis connection on app close * updates for redis config * adds enableShutdownHooks to main app * 1663/when seeding data, create application methods unique to each listing (#1662) * create an unique app method for each listing * fix importer * changelog * Update listings.e2e-spec.ts Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: ant <anthony.kong@sfgov.org> Co-authored-by: elenm <16543000+elenm@users.noreply.github.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> Co-authored-by: Will Lin <wrl@google.com> Co-authored-by: Abbie Farr <83078310+abbiefarr@users.noreply.github.com>
seanmalbert
referenced
this pull request
in CityOfDetroit/bloom
Jun 23, 2022
* Dev updates from master before merge (#1594) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * fix from PR 1398 * #1378 Use specific aria props in LocalizedLink (#1379) * Rename aria to ariaProps on LocalizedLink avoids name colision with future react prop while allowing for flexibility in what aria props are passed * Update CHANGELOG to document change * Use aria attributes with the - * Define aria-current type with AriaAttributes * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * master resolved with merge conflicts from dev (#1482) * 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * update master from dev pt 2 (#1554) * new line * Fix code style issues with Prettier Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Refactor ImageCard and ApplicationStatus components (#1555) * Remove San Francisco email from ui-components general.json (#1571) * Make unitsSummarized a Transform field within Listing (#259) (#1572) * 1428/community type (#1540) * Minor visual fixes 1465 (#1596) * Minor style fixes * Update changelog for style fixes * Fix base button styles * update changelog formatting Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * Let the counselor page render if no props. (#1599) * 1601/change open soon text (#1602) * Update styling mobile image-only logo #1466 (#1597) * Update height of image-only SiteHeader logo * Update comment * Change back to goal height of 75px * Add changes to CHANGELOG * Revert back to example of the listing image as an image-only logo * updates package version to 1.0.5 * Fix code style issues with Prettier * Pricing table styling (#1566) * Initial pricing table styling * Pricing table updates for minimal table * Styling fixes for ResponsiveTable * Cleanup tables * Add changelog for REsponsiveTable * moves changelog update * Fix code style issues with Prettier * Change availability to be consistent on mobile and desktop * Allow cell to accept string or TableHeaderOptions Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> * Update active/closed listing visibility (#1585) * Update active/closed listing visibility * Update changelog * updated changelog Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Fix code style issues with Prettier * 1581 - Update buttons/pages visibility depending on a user role (#1609) * Remove env variable * Show add button for admins only * Create guard to show listing details/edit for allowed users only * Remove listingId prop * Fix code style issues with Prettier * Update changelog * Fix code style issues with Prettier Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Add filters, pagination, and tests to listings endpoint (#1578) * Copy changes from CityOfDetroit/bloom/main * remove detroit specific changes * update changelog with PR number * update frontend listings callsites, add pagination that accepts all * expose seed listings to tests, update service to return entity objects, not DTOs * add ListingsFilterparams and ListingsFilterKeysTransporter to ApiExtraModels, so the backend swagger code-gen picks them up * clarify comment * adds comment explaining typeguard * fix type exports, move filter keys to separate export, add custom validator for pagination * Fix tests. * fix listing e2e test * fix typo * fix changelog, cachekey Co-authored-by: Will Lin <wrl@google.com> * Fix code style issues with Prettier * Add Cloudinary cloud ENV var for the public site (#1598) * Update listings importer for latest unit and priority types changes (#1584) * Update listings importer for latest unit and priority types changes * Update change log * changelog and unrelated property cleanup * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Create units summary table (#1607) * Create units summary table * update changelog * Fix code style issues with Prettier * Add a Detroit CountyCode. (#1620) Regenerates the backend-swagger.ts to match and adds a convenience Prettier write when generating the client such that you're only comparing the actual diff. * Allow lottery results to be uploaded for a closed listing (#1568) * Allow lottery results to be uploaded for a closed listing * Upload and preview lottery results * More locale strings * remove stray console * Fix missing img alt * Update Changelog for #1568 * Fix null bug * debugging statements * more debug statements * Fix to keep results events in place * Fix event type bug * Fix code style issues with Prettier * Fix TS problem * Use optional chaining for listing * Moves changelog entry * Fix code style issues with Prettier * DRY up file uploader function and address PR feedback Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * 1589/Sets Redis to handle backend cache (#1637) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * 1589/Redis cache manager - part 2 (#1648) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * adds tls setting to cache module * 356/csv berekely housing authority (#1640) * 1631/table styling bug (#1632) * Add support for comma-separated lists to filter and ensure comparisons are valid (#356) (#1634) * add support for lists to filters * update changelog * add check that provided comparison is a valid comparison * fix issue with test * fix comment * Add limit all to listings call on partners (#1647) * Add limit all to listings call on partners * Add change log for listings fix * netlify build issues (#1650) * 1630/preferences order bug (#1641) * 1605/cannot edit terms color (#1645) * Revert redis (#1659) * force quit redis connection on app close * pulls back redis changes until they're ready * Force quits redis connection on app close (#1658) * force quit redis connection on app close * updates for redis config * adds enableShutdownHooks to main app * 1663/when seeding data, create application methods unique to each listing (#1662) * create an unique app method for each listing * fix importer * changelog * Update listings.e2e-spec.ts Co-authored-by: seanmalbert <smabert@gmail.com> * Update to reset cache on module init * adds "/listings?limit=all" to cacheKeys Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: ant <anthony.kong@sfgov.org> Co-authored-by: elenm <16543000+elenm@users.noreply.github.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> Co-authored-by: Will Lin <wrl@google.com> Co-authored-by: Abbie Farr <83078310+abbiefarr@users.noreply.github.com>
seanmalbert
referenced
this pull request
in CityOfDetroit/bloom
Jun 23, 2022
* Dev updates from master before merge (#1594) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * fix from PR 1398 * #1378 Use specific aria props in LocalizedLink (#1379) * Rename aria to ariaProps on LocalizedLink avoids name colision with future react prop while allowing for flexibility in what aria props are passed * Update CHANGELOG to document change * Use aria attributes with the - * Define aria-current type with AriaAttributes * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * master resolved with merge conflicts from dev (#1482) * 1320/additional eligibility, listings management (#1374) * 1349/leasing agent section, listings management (#1376) * Issue 1328/move property to the listing model (#1361) * Working seeding and read/write * Refactor seeds types * Add tests for encapsulated property * Update frontend client * Update changelog * Update sites/partners and sites/public according to new Listing schema * Update Waitlist.test.tsx and listings-importer.ts * Fix url-helper.ts * Update ui-components tests after schema changes * Fix listingUrlSlug and corresponding tests * Fix types in cypress/support/helpers.ts * Updated broken tests Co-authored-by: dominikx96 <dominik@airnauts.com> * Align dev with master (#1399) * Issue 1362/total flagged bug (#1366) * Fix counting totalFlagged property in AFS module * Fix a race condition in AFS module * Update changelog * fix retry import * Throw 429 on application creation retry failure Co-authored-by: Sean Albert <smabert@gmail.com> * fix merge conflicts in master (#1375) * Replace UserContext with AuthContext (#1311) * Replace UserContext with AuthContext * Remove api_requests * Fix imports * Fix userService params * Fix ConfirmationModal * Add missing appUrl * Fixes after rebase and remove useRouter for ui-components * Fix language passed to axios * Adds debug instructions to backend/core readme (#15) (#1390) * Adds start command for backend in debug mode (#15) * Adds start command for backend in debug mode * add notes to readme on debugging the backend * remove package.json changes since there was already a debug command, and update readme (#16) * Add backend/proxy Dockerfile, README.md and nginx config file (#1380) * Add backend/proxy Dockerfile, README.md and nginx config file * Update changelog * Add /jurisdictions endpoint (#1391) * Add /jurisdictions endpoint * Update changelog * Update migration to create jurisdiction relation automatically for existing listings * Revert "Merge latest master (#1370)" (#1394) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Retain overrideTranslations related change from housingbayarea fork * Add reservedCommunityType endpoint (#1395) * Revert "Merge latest master (#1370)" This reverts commit 43c84a2. * Add reservedCommunityType endpoint * adds reservedCommunityType join and select to listing service qb adds reservedCommunityType join and select to listing service qb and reverts change to _app Co-authored-by: seanmalbert <smabert@gmail.com> * updates listing units reference * fixes cypress tests for application household Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> * 1351 Preview (#1359) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds simple filter capability to listings and implements * regenerated swagger * changelog entry * Brings dev up-to-date with master (#1360) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * Fixed paper app submission error if there are no preferences (#1340) * Fixed paper app submission error if there are no preferences * Updated changelog Co-authored-by: dominikx96 <dominik@airnauts.com> * Add assets module (#1307) * Add basic tests for assets module * Add eager to createpresignedurl dto and implement CloudinaryService * Move AppModule imports from module to dynamic resolver * Rework assets service to return timestamp and signature * Rework assets service to return timestamp and signature * Add missing ApiProperty decorator for FormMetadata properties * Add fake cloudinary environment variables to circleci config * Add fake cloudinary secrets to circleci workflows * Fix unit tests * Update changelog * Add assets migration * Return UserBasicDto from POST /users (#1324) * Return UserBasicDto from POST /users * Update User DTO to not include resetToken and update frontend client * Update changelog * Fix user controller responses * Fix yarn.lock being out of sync with package.json (#1342) * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noWelcomeEmail query param to POST /users (#1326) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Fix yarn.lock being out of sync with package.json (#1342) * Removes GTM_KEY from netlify configuration - already deployed to alameda (#1347) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * Remove unused package-lock.json (#1344) * refactor: seed data (#1312) * Update hero button styles #1314 (#1329) * feat: navbar custom widths and image only support (#1346) * Add noConfirmationEmail query param to POST /users * Add tests for noConfirmationEmail * Fix linter * Update changelog * Remove merge markers * Remove duplicate tests from user e2e Co-authored-by: Sean Albert <smabert@gmail.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> * Flagged Applications Table (#1132) * Add Application flagged sets listing and onInsert creation * Add resolve action * Add client code * Clean up DB after afs tests * Fix backend cross test dependencies * Created flags page * Added listing param * Created hook to fetch flagged applications * Added flags navigation * Added inner navigation * Initial work on the flags page * Added flags navigation * Updated flags cols * Added unique primary applicants qty * Updated columns * Updated columns and table style * Added link to the single flag set * Created new fag page * Basic columns definition * Added checkboxes to select applications * Updated secondary nav applications qty * Renamed and moved component * Added SHOW_DUPLICATES variable to temporary enable/disable navigation * Updated flags routes after next update * Updated tag size * Updated header title * Updated duplicates table * Created useMutation hook * Updated mutation hook * Updated duplicates table and data fetching hook * Created pagionation component to use with ag-grid * Applications page cleanup & implemented a new pagination component * Added page and limit params to the flags hook * Updated flags table and pagination * Cleanup * Updated changelog * Pagination improvements on mobile * Updated navigation tabs * Disable next button when there are no appliacations * Cleanup & updated Layout path * Cleanup * Move navigation component into partners dir Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> * Add table image thumbnails and minimal flush styles (#1339) * Add table image thumbnails and minimal flush styles * Switch to using a TableThumbnail component, fix CSS * Update Changelog with PR #1339 * Update link in Changelog to PR #1339 * 1321/listings management, additional details section (#1338) * adds step to db:reseed that adds the uuid extension if it's not present (#1357) Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * update dev branch with master (#1373) * addresses issues from review * updates filter implementation * completely changed filtering for listings * updates to handle multiple values for the same key * aside cleanup and log removal Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * 1318/additional fees, listings management (#1377) * Fix units availability display (#1398) * Fix units availability display * Add changelog for unit availability * 1388/date component update take 2 (#1392) * Adds uuid extension step to e2e tests, and update to .env.template (#19) (#1406) * adds step to create uuid extension to e2e test initialization * Add test database environment variable to .env.template and note to readme about it * Add reserved_community_type seed migration (#1411) * Add reserved_community_type seed migration * Update changelog * 1177/add image to listing (#1413) * Add image field to listing * Add image asset relation to listing model Co-authored-by: seanmalbert <smabert@gmail.com> * 1408/submission due date (#1409) * Add due date check to application submission endpoint * Add test checking if submission deadline works * Revert listing state after changes in one of the e2e tests * Add changelog.md udpates * 1418/cache and cleanup (#1422) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds cache clearing, links for adding/editing and cleanup * updated changelog * updates application count logic * adds clearCacheKeys in cacheLib * Add assets endpoints for list and retrieve by id (#1412) * Add assets endpoints for list and retrieve by id * Add assets endpoints for list and retrieve by id Co-authored-by: seanmalbert <smabert@gmail.com> * 1317/listings management, building details & intro (#1420) * 1319/listings management, building features (#1421) * 1178 add result and waitlist related fields to Listing (#1434) * Add tests for updating listing.image relation through listing endpoint * Add resultLink, isWaitlistOpen and waitlistOpenSpots to Listing model * Remove eager relation to listing from user entity * Update client * 1383/listings management, ranking and results (#1433) * 1350 / Units (#1448) * updates pull request template * removes BACKEND_API_BASE from netlify.toml * updates for partners translation locale overrides * resolve issue with out of sync lock and package files * removes package-lock * updates Layout path * removes gtm key for production, since it should be coming from netlify's settings Already deployed to alameda. * adds units to listings form * cleanup around editing/saving units * unit details * updates for disableUnitAccourdion * check for amiChart and FieldGroup revert * fix new listing issue * fixes issues from feedback * moved code into formatFormData * 1381/listings management, application addresses (#1425) * 1381 wip * last toggleable fields * add office hours * translations * details * Add applicationPickUpAddressType and applicationDropOffAddressType columns to Listing model * new backend fields for dropoff address * details page * submit issues * show address types * remove unused application methods * cleanup * application submission notes * default values load in the form * default values for postmark date * typing issues w add page * use existing addresses on listing page * can really share addresses * Add additionalApplicationSubmissionNotes migration (#1441) * pr feedback * pr feedback pr 2 * changelog * type yes/no * combine types * fixup address fxn * update migration * office hours fix * test updated config yaml * testing circleci config update * updated circleci config test * Updated config.yml * Updated config.yml * update migration file Co-authored-by: Michal Plebanski <michalp@airnauts.com> Co-authored-by: Sean Albert <smabert@gmail.com> * 1382/listings management, application dates (#1432) * set fallback to true for getStaticPaths so new paths can be added (#1461) * Dev - adds cache revalidation to frontend app (#1462) * set fallback to true for getStaticPaths so new paths can be added * adds revalidate to staticProps * updates for cache revalidation on the frontend * removes listing controller update (#1464) * Application method/paperpickup (#1469) * adds PaperPickup back * Update listings.controller.ts * revert swagger changes * removes preview logic from ListingView (#1476) * 1153 Dropzone-style file upload component (#1437) * First pass at a dropzone Cloudinary uploader * Style the progress control and provide more complete flow * Tighten up Dropzone usability * Add id for accessibility * Update Changelog with #1437 * 1331/hide eligibility header if no sections present (#1457) * 1331/hide eligibility header if no sections present * changelog Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> * trigger cleanup * fixes listing bug issue * adds additional checks for unit type and priority * update master from dev pt 2 (#1554) * new line * Fix code style issues with Prettier Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Fix code style issues with Prettier * Refactor ImageCard and ApplicationStatus components (#1555) * Remove San Francisco email from ui-components general.json (#1571) * Make unitsSummarized a Transform field within Listing (#259) (#1572) * 1428/community type (#1540) * Minor visual fixes 1465 (#1596) * Minor style fixes * Update changelog for style fixes * Fix base button styles * update changelog formatting Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> * Let the counselor page render if no props. (#1599) * 1601/change open soon text (#1602) * Update styling mobile image-only logo #1466 (#1597) * Update height of image-only SiteHeader logo * Update comment * Change back to goal height of 75px * Add changes to CHANGELOG * Revert back to example of the listing image as an image-only logo * updates package version to 1.0.5 * Fix code style issues with Prettier * Pricing table styling (#1566) * Initial pricing table styling * Pricing table updates for minimal table * Styling fixes for ResponsiveTable * Cleanup tables * Add changelog for REsponsiveTable * moves changelog update * Fix code style issues with Prettier * Change availability to be consistent on mobile and desktop * Allow cell to accept string or TableHeaderOptions Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> * Update active/closed listing visibility (#1585) * Update active/closed listing visibility * Update changelog * updated changelog Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Fix code style issues with Prettier * 1581 - Update buttons/pages visibility depending on a user role (#1609) * Remove env variable * Show add button for admins only * Create guard to show listing details/edit for allowed users only * Remove listingId prop * Fix code style issues with Prettier * Update changelog * Fix code style issues with Prettier Co-authored-by: Dominik Barcikowski <dominik@airnauts.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * Add filters, pagination, and tests to listings endpoint (#1578) * Copy changes from CityOfDetroit/bloom/main * remove detroit specific changes * update changelog with PR number * update frontend listings callsites, add pagination that accepts all * expose seed listings to tests, update service to return entity objects, not DTOs * add ListingsFilterparams and ListingsFilterKeysTransporter to ApiExtraModels, so the backend swagger code-gen picks them up * clarify comment * adds comment explaining typeguard * fix type exports, move filter keys to separate export, add custom validator for pagination * Fix tests. * fix listing e2e test * fix typo * fix changelog, cachekey Co-authored-by: Will Lin <wrl@google.com> * Fix code style issues with Prettier * Add Cloudinary cloud ENV var for the public site (#1598) * Update listings importer for latest unit and priority types changes (#1584) * Update listings importer for latest unit and priority types changes * Update change log * changelog and unrelated property cleanup * Fix code style issues with Prettier Co-authored-by: seanmalbert <smabert@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * Create units summary table (#1607) * Create units summary table * update changelog * Fix code style issues with Prettier * Add a Detroit CountyCode. (#1620) Regenerates the backend-swagger.ts to match and adds a convenience Prettier write when generating the client such that you're only comparing the actual diff. * Allow lottery results to be uploaded for a closed listing (#1568) * Allow lottery results to be uploaded for a closed listing * Upload and preview lottery results * More locale strings * remove stray console * Fix missing img alt * Update Changelog for #1568 * Fix null bug * debugging statements * more debug statements * Fix to keep results events in place * Fix event type bug * Fix code style issues with Prettier * Fix TS problem * Use optional chaining for listing * Moves changelog entry * Fix code style issues with Prettier * DRY up file uploader function and address PR feedback Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: seanmalbert <smabert@gmail.com> * 1589/Sets Redis to handle backend cache (#1637) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * 1589/Redis cache manager - part 2 (#1648) * updates for cache revalidation on the frontend * sets redis as cache store * cleanup and adds ClassSerializerInterceptor after CacheInterceptor * Update CHANGELOG.md * adds to manually close redis when app closes * removes double entry * removes duplicate from rebase * checks for response.data.items * adds tls setting to cache module * 356/csv berekely housing authority (#1640) * 1631/table styling bug (#1632) * Add support for comma-separated lists to filter and ensure comparisons are valid (#356) (#1634) * add support for lists to filters * update changelog * add check that provided comparison is a valid comparison * fix issue with test * fix comment * Add limit all to listings call on partners (#1647) * Add limit all to listings call on partners * Add change log for listings fix * netlify build issues (#1650) * 1630/preferences order bug (#1641) * 1605/cannot edit terms color (#1645) * Revert redis (#1659) * force quit redis connection on app close * pulls back redis changes until they're ready * Force quits redis connection on app close (#1658) * force quit redis connection on app close * updates for redis config * adds enableShutdownHooks to main app * 1663/when seeding data, create application methods unique to each listing (#1662) * create an unique app method for each listing * fix importer * changelog * Update listings.e2e-spec.ts Co-authored-by: seanmalbert <smabert@gmail.com> * Update to reset cache on module init * adds "/listings?limit=all" to cacheKeys * Updates redis reset to flush all keys Co-authored-by: Michał Plebański <michalp@airnauts.com> Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com> Co-authored-by: Marcin Jędras <mjjedras@gmail.com> Co-authored-by: Austin Valeske <avaleske@users.noreply.github.com> Co-authored-by: Andrea Egan <akegan@users.noreply.github.com> Co-authored-by: dominikx96 <dominik@airnauts.com> Co-authored-by: dominikx96 <dominikx96@gmail.com> Co-authored-by: Jared White <jared@jaredwhite.com> Co-authored-by: Will Lin <4317058+willrlin@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: ant <anthony.kong@sfgov.org> Co-authored-by: elenm <16543000+elenm@users.noreply.github.com> Co-authored-by: Anders Schneider <anderseschneider@gmail.com> Co-authored-by: Emily Jablonski <emily.jablonski@exygy.com> Co-authored-by: Andrea Egan <andrea.egan@sfgov.org> Co-authored-by: Will Lin <wrl@google.com> Co-authored-by: Abbie Farr <83078310+abbiefarr@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Template
Issue
Addresses # (1368)
Description
This PR adds files necessary for proxy Docker image build and deployment heroku app.
NOTE: Heroku handles ingress with AWS Elastic Loadbalancer and performs SSL termination, so this proxy is listening on HTTP protocol and encrypts payload second time when forwarding traffic to target AWS ELB in particular v1 or v2 app.
TODO: Once this is deployed in for e.g. core staging it should be the default DNS target for listings-next.bloom.exygy.dev (instead of actual v1 backend) and BACKEND_V1_HOSTNAME env variable should point herokudns.com DNS target assigned to v1 app out of the box (so in other words domain configured for v1 should be changed to point to the proxy app now). A minimal downtime is required to set that up.
Type of change
How Can This Be Tested/Reviewed?
Please describe the tests that you ran to verify your changes. Provide instructions so we can review. Please also list any relevant details for your test configuration
Checklist: