36 Commits

Author SHA1 Message Date
leigh-mil
c2814416fb Update atst to atat 2020-03-04 11:51:15 -05:00
dandds
0517bd1b0a Fix task order uploads.
Task order uploads and downloads were broken. Uploads were broken
because file content was eing read in as plaintext every time, resulting
in encoding issues. I updated the bundle to use the newer Azure JS SDK.
We can now use a method for uploading browser files directly without
having to read their content. This required a few small internal changes
to the upload component, since the response structure is different.

I also removed the `downloadUrl` method from the JS uploader since it
was not being used.

Downloads were broken because the method that generates the download
link was not updated to use the BlobSasPermissions class from the
updated Azure Python SDK.
2020-02-03 09:56:02 -05:00
richard-dds
7ace430dee Use url_for for all static paths 2019-11-21 16:42:42 -05:00
dandds
e0565e5b9a Measure JS test coverage for entire js directory.
Add an additional flag to the yarn `test` script.
2019-09-25 11:32:10 -04:00
tomdds
76fd5c09c7 Remove npm dependency and upgrade v-tooltip to resolve security issues 2019-08-08 11:33:32 -04:00
richard-dds
5329937eb9 Polyfill fetch 2019-08-06 10:39:46 -04:00
richard-dds
8eba9a097d Add CSP file uploads 2019-08-05 14:58:10 -04:00
tomdds
55cc774666 Force lodash resolution to higher patch version
This forces our dependencies to use a version of lodash that includes a fix for this vulnerability: https://snyk.io/vuln/SNYK-JS-LODASH-73638
2019-07-15 11:16:57 -04:00
richard-dds
84146608c7 Replace vue-sticky with stickybits for IE compat 2019-06-04 11:22:35 -04:00
richard-dds
37ca94df42 Create reusable StickyCTA component 2019-05-31 16:25:40 -04:00
George Drummond
20604e6ca9
Add prettier.js to project 2019-01-24 09:38:21 -05:00
Patrick Smith
01f588d54d Run tests in watch mode without cache
Running in watch mode was not printing out console.log.
https://github.com/facebook/jest/issues/2441 suggests setting --no-cache
and that fixed it.
2018-11-27 15:42:35 -05:00
Patrick Smith
c3c675ceba Run js test coverage on CI 2018-11-20 11:26:50 -05:00
Patrick Smith
9b60ac596f Add yarn command to run tests in watch mode 2018-11-20 11:09:09 -05:00
Patrick Smith
fae3aa12e1 Add babel-core to fix compilation issues 2018-11-19 21:03:52 -05:00
Patrick Smith
4149a4f1d5 Add dependencies to run jest 2018-11-19 21:02:11 -05:00
Patrick Smith
d82dd15b1a Update uswds dep to fix sub-dep security vulnerability
There was a security vulnerability in `cached-path-relative`: https://hackerone.com/reports/390847

The package is a dependency of `browserify` which is a dependency of
`uswds`, which is one of our dependencies. Upgrading `uswds` to the
latest version installs the latest version of `cached-path-relative`
that has the security fix.

This update also requires bringing in a new static image that was
recently added in `uswds`.
2018-11-13 16:44:37 -05:00
Patrick Smith
e536d5d9be Update name of parcel dependency 2018-11-12 13:20:16 -05:00
richard-dds
d540b2ae74 Sort requests 2018-11-01 10:25:52 -04:00
Andrew Croce
bfe32fa926 add ally.js 2018-10-18 09:59:15 -04:00
Andrew Croce
f25bd2aabf didnt actually need D3!! 2018-09-11 11:25:52 -04:00
Andrew Croce
072e565b84 polyfill for svg innerhtml 2018-09-11 11:23:22 -04:00
Andrew Croce
d882c552dc starting charting 2018-09-11 11:23:22 -04:00
Andrew Croce
00f238ffe8 revert Vue to 2.5.15 because reasons 2018-09-04 15:19:36 -04:00
Andrew Croce
738e6b0666 remove flexibility dependency... it doesnt work 2018-08-22 16:24:34 -04:00
Andrew Croce
bb7d8a7230 Add dependencies 2018-08-22 16:23:47 -04:00
Andrew Croce
9bee56152c Add browserlist support to identify supported browsers 2018-08-22 16:23:31 -04:00
luis cielak
3a5f8694ba Add vue tooltip dep 2018-08-13 15:47:29 -04:00
Andrew Croce
bed396131a Add text mask addons 2018-08-08 10:58:46 -04:00
Andrew Croce
b649d17eb8 input validations WIP 2018-08-07 15:43:03 -04:00
Patrick Smith
1f8c5b2c74 Specify public URL for parcel builds 2018-08-03 13:17:45 -04:00
Andrew Croce
bf3054908c move styles and js to the root directory 2018-08-03 09:09:07 -04:00
Patrick Smith
dea0962f7c Use flask-webassets to version js/css bundle 2018-08-02 14:54:07 -04:00
Patrick Smith
015adaf30f Working parcel setup 2018-08-02 14:37:16 -04:00
Patrick Smith
5b764a51fb Add parcel/vue js deps 2018-08-02 14:37:11 -04:00
Brian Duggan
22d14d97b4 Use npm and add a sass build script 2018-05-23 08:55:04 -04:00