Commit Graph

222 Commits

Author SHA1 Message Date
Danny Coates 282cf0b595
use lib for setting content-disposition for more correctness 2018-07-19 12:11:55 -07:00
Danny Coates f12d3abe79
refactored stream transforms 2018-07-18 16:39:14 -07:00
Danny Coates f58b6194ce
updated streams ponyfill 2018-07-17 11:40:01 -07:00
Emily Hou 59ba89262f
fix download count on server (#863) 2018-07-17 09:48:47 -07:00
Danny Coates f4f8332f96
WIP on shimming streams in firefox 2018-07-13 17:05:19 -07:00
Danny Coates 23c347175a
Merge branch 'vnext' into sw 2018-07-13 12:27:39 -07:00
Danny Coates dd0cb78ea2
Merge remote-tracking branch 'origin/master' into vnext 2018-07-13 12:25:28 -07:00
Danny Coates 787d227761
got webpack production mode running 2018-07-13 11:13:09 -07:00
Emily 527e9f09c9 add a test 2018-07-12 16:07:18 -07:00
Danny Coates 5677390a45
added content-length to sw response 2018-07-12 15:32:07 -07:00
Danny Coates ebf6bda467
updated to webpack 4 2018-07-12 13:16:02 -07:00
Emily b76899a353 fix download cancel 2018-07-12 11:22:49 -07:00
Emily ff7969a7ef fix download workflow tests 2018-07-11 16:52:46 -07:00
Emily 6db3009e5f download cancel and progress 2018-07-09 17:00:19 -07:00
Emily 921df9e1aa dupe network request bug 2018-07-09 15:39:06 -07:00
Emily f98bc0878c saves stream to file 2018-07-06 15:49:50 -07:00
Emily 62ed0a411f sw 2018-07-05 12:40:49 -07:00
Emily 38ef52d3ba uses fetch.body 2018-06-29 09:36:08 -07:00
Emily 5f79a9fb6d fixes downloading files as .part 2018-06-28 11:15:16 -07:00
Danny Coates 9472d5eaa6
added delay when ws.bufferedAmount is high 2018-06-27 09:20:16 -07:00
Danny Coates 126ea8c7e6
use a Duplex stream for EOF 2018-06-25 14:27:56 -07:00
Emily Hou 9bfdf86bec
Merge pull request #855 from mozilla/streaming
add streaming upload
2018-06-25 11:37:06 -07:00
Emily Hou 9d04514f8e stream footer 2018-06-25 11:26:48 -07:00
Danny Coates a4cf46c0eb
fixed minor streaming nits 2018-06-25 10:57:52 -07:00
Emily Hou dafe4884fc revisions 2018-06-22 13:17:23 -07:00
Emily Hou 12ccce3016 fix checking file early 2018-06-21 16:36:34 -07:00
Emily Hou e4a0028f5d add streaming 2018-06-21 13:57:53 -07:00
Danny Coates 863a2e9c29
improved background rendering slightly 2018-06-21 11:28:31 -07:00
Danny Coates 207179484c
added striped box 2018-06-21 10:32:31 -07:00
Emily Hou 1bd7e4d486 add streaming 2018-06-20 17:05:33 -07:00
Danny Coates 211b1a8576
added background image 2018-06-19 12:58:42 -07:00
Danny Coates fb3747785b
Merge pull request #846 from pd4d10/patch-1
Fix #843: Upload image on paste
2018-06-18 12:27:58 -07:00
Vimal Raghubir e28a92848d
Remove bad role attribute 2018-06-15 10:12:34 -04:00
Rongjian Zhang 11173c520b Add return to prevent multiple uploads 2018-06-07 10:46:55 +08:00
Rongjian Zhang 608112d56c Fix #843: Upload image on paste 2018-06-06 12:39:26 +08:00
Emily Hou a8fef2c0a5 add ece transformers 2018-06-04 10:47:55 -07:00
Brainlulz 0edfc8405f fix: added a tabindex to the CopyUrl and Delete icon 2018-06-03 11:36:20 +02:00
Danny Coates af7a262ef0
refactored upload away from multipart forms to binary data 2018-05-31 14:10:02 -07:00
Danny Coates 196d4211b6
an additional tweak to the position of the selectbox arrow 2018-05-29 15:12:00 -07:00
Ashok kumar 6acf58f9e9
changes related to arrow positioning
Issue fixes related to https://github.com/mozilla/send/issues/820.
2018-05-29 16:42:34 +05:30
Emily Hou 8a496022f4 fixes #798 2018-05-21 13:20:33 -07:00
Danny Coates cc9b622bde
fixed cryptofill on edge 2018-03-28 22:03:46 -07:00
Danny Coates fb91fd03cc
adjusted selectbox styles 2018-03-27 23:19:07 -07:00
rcmainak 77e3b5a3e6
Replaced the selectbox with native HTML <select> 2018-03-27 21:40:59 -07:00
Danny Coates da82ef814b
MS Edge hacks 2018-03-12 12:24:43 -07:00
Danny Coates b840173429
Merge pull request #789 from RCMainak/issue_775
Fixed #775 : Made text not-selectable
2018-03-12 10:43:53 -07:00
rcmainak e1dc1687fc Fixed #775 : Made text not-selectable 2018-03-12 23:09:00 +05:30
Danny Coates 3e6a88d31d
render header and footer only once. fixes #788 2018-03-12 10:15:11 -07:00
Danny Coates 5079d9a317
Merge pull request #782 from mozilla/docs
updated docs
2018-03-07 15:20:11 -08:00
Danny Coates 18e1609cb3
updated docs 2018-03-07 15:01:08 -08:00
timvisee 171b64bc98
Don't translate URL-safe chars, b64 is doing it for us 2018-03-06 14:38:29 +01:00
Danny Coates 80e9f129d8
ignore some lint warnings 2018-03-01 21:36:45 -08:00
Danny Coates fddf1c40dc
fixed password input style on small screens 2018-03-01 21:33:59 -08:00
Danny Coates cd7da20024
implemented crypto polyfills for ms edge 2018-03-01 13:10:57 -08:00
Danny Coates 2de5378208
use a separate circle in the progress svg for indefinite progress. fixes #771 2018-02-28 08:57:35 -08:00
Danny Coates fb8e0afd85
fixed checkFiles bug 2018-02-26 17:50:58 -08:00
Danny Coates 5263839731
undo a fup from previous commit 2018-02-26 13:54:41 -08:00
Danny Coates 484063a596
fixed some html nits 2018-02-26 13:49:26 -08:00
Danny Coates d6c0489fa3
more frontend tests and some factoring based on them 2018-02-24 12:57:19 -08:00
Danny Coates 78728ce4ca
some frontend unit tests 2018-02-24 11:21:48 -08:00
Danny Coates b39bbaf6fb
Merge pull request #761 from mozilla/i741
added maxPasswordLength and passwordError messages
2018-02-22 09:10:26 -08:00
Danny Coates 14b40d820b
added password setting error UI 2018-02-22 09:01:29 -08:00
Danny Coates 5c68437b1c
trimmed progress.css 2018-02-21 16:59:54 -08:00
Danny Coates 0106f280f0
removed unused css class on preview page 2018-02-21 16:53:14 -08:00
Danny Coates b567aaac69
updated preview page 2018-02-21 16:40:52 -08:00
Danny Coates 36b419202b
updated notFound page 2018-02-21 16:33:06 -08:00
Danny Coates c80d01c648
updated error page 2018-02-21 16:28:40 -08:00
Danny Coates 1d00646b17
go back to faster createObjectURL for saveFile on non-iOS 2018-02-21 15:43:32 -08:00
Danny Coates e4b98fe65a
moved saveFile from utils to fileReceiver 2018-02-21 14:58:41 -08:00
Danny Coates 03f08de32f
added indefinite progress mode 2018-02-21 13:59:06 -08:00
Danny Coates c18f488be7
added maxPasswordLength and passwordError messages 2018-02-21 10:03:19 -08:00
Danny Coates 099012fac9
updated password input behavior. fixes #762 & fixes #763 2018-02-21 09:55:04 -08:00
Danny Coates 019c8814f6
disable nanotiming without localstorage (as of 7.3.0) 2018-02-20 16:00:19 -08:00
Danny Coates ebecc6bb81
updated download password input style 2018-02-20 12:21:00 -08:00
Danny Coates 130ddca135
make 'change' button visible by default after pwd set 2018-02-20 11:27:56 -08:00
Danny Coates afb099f9df
updated noscript style 2018-02-19 23:10:03 -08:00
Danny Coates 7992ba5bc1
tweaked password input style 2018-02-19 16:22:17 -08:00
Danny Coates b14c70f4b6
fixed file button style on input focus 2018-02-19 15:06:46 -08:00
Danny Coates ad77fc20c6
fixed dnd after css changes 2018-02-19 14:29:13 -08:00
Danny Coates 029633f3d3
tweaked input styles 2018-02-19 14:02:26 -08:00
Danny Coates 346e604f34
updated password input UI 2018-02-17 15:07:47 -08:00
Danny Coates 8d41111cd6
refactored css, including some markup changes 2018-02-15 15:54:59 -08:00
Danny Coates 3163edcbe4
exclude fxios from fxPromo banner. fixes #753 2018-02-15 11:49:41 -08:00
Danny Coates c0ad7635f2
change saveFile. attempting to fix for iOS 2018-02-14 09:29:37 -08:00
Danny Coates b5b29aeb17
focus download password input on render. fixes #745 2018-02-12 09:53:34 -08:00
Danny Coates dcfda9521b
nit: use 'html/raw' instead of html() where possible 2018-02-11 14:03:00 -08:00
Danny Coates cf36a33aea
localize other displayed numbers 2018-02-07 19:46:18 -08:00
Danny Coates a78150b7ad
disable nanotiming 2018-02-07 18:52:41 -08:00
Danny Coates deb177c6bb
updated availableLanguages and localized progress percentage. fixes #747 2018-02-07 12:09:23 -08:00
Danny Coates 77d5f1e603
fixed welcome page flicker 2018-02-05 13:28:38 -08:00
Danny Coates ce79d7b745
reset FileReceiver on cancel. fixes #751 2018-02-05 09:11:42 -08:00
Danny Coates fde4d311e3
added FileReceiver.reset 2018-02-04 18:30:33 -08:00
Danny Coates cf5defa6a9
fixed file list time wrap. fixes #749 2018-02-02 10:37:28 -08:00
Danny Coates 3de760db12
added fileTooBig alert to drop handler. fixes #578 2018-02-02 10:22:32 -08:00
Danny Coates 1366f0b68e
moved ownedFile.type assignment 2018-02-02 10:15:17 -08:00
Danny Coates fd6a3a5579
return false from form submit handlers 2018-02-01 12:49:18 -08:00
Danny Coates 2292267e39
remove download cancel button while decrypting 2018-02-01 11:42:07 -08:00
Danny Coates dbfae53222
added autofocus to download password input 2018-02-01 10:41:52 -08:00
Danny Coates 11cbb4df23
refactored dl-file html 2018-01-31 16:26:59 -08:00
Danny Coates 232911f725
fixed download preview page render issues and links 2018-01-31 15:47:34 -08:00