Commit Graph

25 Commits

Author SHA1 Message Date
Danny Coates
6184a70ba4
fixes #1005
The upstream gcp aggressively closes the connection once it has
received Content-Length bytes. However the @google-cloud/storage
module doesn't handle this well and emits no event in this case.
We were setting Content-Length because it's slightly more
efficient and was important for our download progress
bar (not anymore). The download should function fine without
setting the Content-Length, and allows the storage stream to finish
before closing the upstream socket.
2018-11-14 16:38:46 -08:00
Emily Hou
59ba89262f
fix download count on server (#863) 2018-07-17 09:48:47 -07:00
Emily
527e9f09c9 add a test 2018-07-12 16:07:18 -07:00
Emily
5ff92c6452 fix cancelled downloads increasing count 2018-07-12 14:02:05 -07:00
Danny Coates
480a06c426
track bytes sent on download 2018-06-05 15:26:24 -07:00
Danny Coates
74728782f3
removed unsafe-inline styles via svgo-loader. fixes #740 2018-02-26 11:48:28 -08:00
Danny Coates
22e836c98a
removed unused deps 2018-02-24 18:00:43 -08:00
Danny Coates
3fd2537311
refactored server 2018-02-09 15:03:05 -08:00
Danny Coates
1c5e47b4c4
validate id param without middleware 2018-02-05 17:21:32 -08:00
Danny Coates
aae61f9451
extracted server id validation 2018-02-05 16:37:06 -08:00
Danny Coates
be498e0bd3
/api/info values should be numbers. fixes #748 2018-02-02 10:10:51 -08:00
Danny Coates
97ad674be2
added /api/info/:id route 2018-01-30 17:29:51 -08:00
Danny Coates
565e47aef8
big refactor 2018-01-30 09:37:42 -08:00
ehuggett
ebbf06787c changes requested in review 2017-12-23 05:09:06 +00:00
ehuggett
ff9a107a29 API changes to accommodate 3rd party clients 2017-12-21 15:54:19 +00:00
Danny Coates
81f3347981
retry setPassword on first nonce failure. fixes #664 2017-12-08 09:45:00 -08:00
Danny Coates
7b4060f9e1
Added multiple download option 2017-12-04 15:52:31 -08:00
Danny Coates
b54f4575ee
allow inline styles. fixes #644 2017-11-15 10:54:13 -08:00
Danny Coates
bfcdf9340d
use fluent-langneg for subtag support 2017-11-10 12:40:18 -08:00
Danny Coates
2e233da16d
unsupport MS Edge (for now, sorry) and some http header nits 2017-11-06 13:36:56 -08:00
Danny Coates
bc24a069da
Add optional password to the download url 2017-10-10 10:45:10 -07:00
Danny Coates
74718d6361
disable CSP when env = development 2017-08-29 11:19:21 -07:00
Danny Coates
a9a34fdd0a
fixed GA var in jsconfig 2017-08-25 13:13:45 -07:00
Danny Coates
0a31e2d521
fixed __heartbeat__ route 2017-08-25 10:03:49 -07:00
Danny Coates
53e822964e
a few changes to make A/B testing easier 2017-08-25 09:44:52 -07:00