Skip to content
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

Scan and delete uploaded files, nodejs upgrade. #335

Merged
merged 90 commits into from
Mar 2, 2021
Merged

Conversation

rahearn
Copy link
Contributor

@rahearn rahearn commented Mar 2, 2021

280

Description of change
Adds support to delete files.

How to test

  1. Pull down changes.
  2. Upload files.
  3. Verify they are present in minio and the db.
  4. click on the trash can icon next to the file
  5. verify they are gone from minio and the db

Issue(s)

Checklist

  • Meets issue criteria
  • Code tested
  • Meets accessibility standards (WCAG 2.1 Levels A, AA)
  • Documentation updated

333

Description of change
Change CLAMAV_ENDPOINT env var in all 4 environments.
Add TLS support for cloud.gov instances.

How to test
Go to https://tta-smarthub-sandbox.app.cloud.gov/ and start a new report.

Issue(s)

Checklist

  • Meets issue criteria
  • Code tested
  • Meets accessibility standards (WCAG 2.1 Levels A, AA)
  • Documentation updated

324

Description of change

  1. Update to NodeJS 14.15.4, the latest LTS supported by nodejs_buildpack 1.7.41
  2. Upgrade all yarn dependencies to their most recent versions, except sequelize (on the latest 5.x series) and jest (react-scripts complains if we don't use that exact version)
  3. Break up docker compose files a bit to support easily running only db & services with docker and app code directly on the host machine.

How to test

  1. yarn deps:local/yarn docker:deps
  2. bin/run-tests --local/bin/run-tests

Issue(s)

Checklist

  • Meets issue criteria
  • Code tested
  • Meets accessibility standards (WCAG 2.1 Levels A, AA)
  • Documentation updated

commit 68a69d1
Merge: f9408ad 7f4d157
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 11:39:32 2021 -0500

    Merge pull request #196 from adhocteam/cm-310-update-file-statuses

    simplify file upload statuses

commit 7f4d157
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:43:33 2021 -0500

    fmt

commit b7724ce
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:39:19 2021 -0500

    add tests for getStatus()

commit cc12546
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:04:59 2021 -0500

    simplify file upload statuses
commit 68a69d1
Merge: f9408ad 7f4d157
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 11:39:32 2021 -0500

    Merge pull request #196 from adhocteam/cm-310-update-file-statuses

    simplify file upload statuses

commit 7f4d157
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:43:33 2021 -0500

    fmt

commit b7724ce
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:39:19 2021 -0500

    add tests for getStatus()

commit cc12546
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:04:59 2021 -0500

    simplify file upload statuses
commit 68a69d1
Merge: f9408ad 7f4d157
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 11:39:32 2021 -0500

    Merge pull request #196 from adhocteam/cm-310-update-file-statuses

    simplify file upload statuses

commit 7f4d157
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:43:33 2021 -0500

    fmt

commit b7724ce
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:39:19 2021 -0500

    add tests for getStatus()

commit cc12546
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:04:59 2021 -0500

    simplify file upload statuses
commit 68a69d1
Merge: f9408ad 7f4d157
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 11:39:32 2021 -0500

    Merge pull request #196 from adhocteam/cm-310-update-file-statuses

    simplify file upload statuses

commit 7f4d157
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:43:33 2021 -0500

    fmt

commit b7724ce
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:39:19 2021 -0500

    add tests for getStatus()

commit cc12546
Author: Chuck McAndrew <[email protected]>
Date:   Thu Feb 25 10:04:59 2021 -0500

    simplify file upload statuses
rahearn and others added 27 commits February 26, 2021 12:07
* add a README warning about the dev containers
* use a random port for bin/run-tests
* dont bind at all for the prod-style-server
* adhoc-main: (29 commits)
  Default value and navigation updates
  Reports can be saved in draft mode even without recipients
  "new" id is replaced silently instead of triggering a reload
  Switch to deep compare useEffect
  Make Region non-required
  Remove unused file
  Updates from review
  Switch from email link to Smartsheet link for 'request permission' from Welcome screen
  Lint fix
  Add review from feedback
  Add missing tests
  Give that login placard the role=dialog. Set attributes for label and description
  Update Mock in test
  Updat test
  Update tests that rely on login placard
  Implement welcome placard, per design
  Duration supports half hours
  Prevent review page alerts from printing
  Form navigation more consistent
  lint fixes
  ...
* adhoc-main: (63 commits)
  add focus to delete file modal
  add focus to deleteFile modal
  change clamav endpoint
  fix generateRedisConfig
  allow empty object for tls config
  add tls options for cloud.gov to redis
  fmt
  fix delete file bug
  fmt
  refactor and fix tests
  refactor for testability and add tests
  fix 2 tests
  fmt
  fix tests
  fmt
  update frontend and api docs to deal with authorization
  clean up after merge
  Clean up after merge
  Squashed commit of the following:
  Squashed commit of the following:
  ...
@rahearn rahearn merged commit ae93f65 into HHS:main Mar 2, 2021
@rahearn rahearn mentioned this pull request Mar 2, 2021
kryswisnaskas added a commit that referenced this pull request Jun 24, 2021
* Add non-grantees; layout changes

* Deploy to sandbox

* Include legacy reports in statistics; limit to approved reports only

* Increase frontend test timeout

* Add a script to connect non-grantees to activity reports for legacy data

* Add a script to connect non-grantees to activity reports for legacy data

* Add a script to connect non-grantees to activity reports for legacy data

* Fix lint errors

* Fix test

* Remove non-legacy filter

* Remove statement

* Adjust test

* Remove new test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File scanning not happening in cloud.gov Delete uploaded files
2 participants