Commit Graph

315 Commits

Author SHA1 Message Date
Danny Coates e2259ae737
made download count and expiry options server configurable 2018-09-24 15:08:39 -07:00
Danny Coates 7eb7590f06
fixed getFileList when the response isn't OK 2018-09-24 12:23:46 -07:00
Danny Coates c8bf3101aa
fixed multiple issues with the /signin page. #935 #936 #937 2018-09-24 12:01:39 -07:00
Danny Coates d34ff79fd7
implemented oauth state parameter 2018-09-21 14:16:56 -07:00
Danny Coates fb83b324ab
fixed download button multi-click. fixes #927 2018-09-20 09:04:02 -07:00
Danny Coates 93e82cf953
disable capabilities.account when no FXA_CLIENT_ID is set 2018-09-19 12:54:27 -07:00
Danny Coates 99055b1342
fixed leaky app.state on the server-side. fixes #928 2018-09-18 16:23:58 -07:00
Danny Coates 17a0393ce0
disable upload button while uploading. fixes #927 2018-09-18 12:56:42 -07:00
Danny Coates 7dcf4bcdb9
fixed capabilities.account when localStorage is disabled 2018-09-17 12:05:03 -07:00
Danny Coates 942457b357
added account to capabilities 2018-09-14 13:58:19 -07:00
Danny Coates bf83b43866
Merge branch 'vnext' into modal 2018-09-14 09:20:30 -07:00
Danny Coates 7ccf462bf8 implemented PKCE auth (#921)
* implemented PKCE auth

* removed node-jose

* added PKCE tests
2018-09-14 11:00:33 -04:00
Danny Coates cdc15596df
stubbed in modal dialog 2018-09-13 10:37:52 -07:00
Donovan Preston 71ea4e74f6
Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server (#918)
* Merge branch 'vnext' of https://github.com/mozilla/send into android-preferences

Fix conflicts

* Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server

* Use a try/catch in case localStorage isn't available, which it isn't in a ServiceWorker
2018-09-06 18:56:04 -04:00
Danny Coates a1fa36b79c
minor serviceWorker tweaks to url matching and 302 redirects 2018-09-05 10:35:36 -07:00
Danny Coates 025f040388
adjust streamDownload capability to exclude safari but not chrome 2018-09-04 13:05:11 -07:00
Danny Coates df1c4ef913
emit complete for blob downloads 2018-09-04 11:08:44 -07:00
Danny Coates 976fd61f23
removed unused crypto functions 2018-09-04 10:41:45 -07:00
Danny Coates 00550872d7
hide signup promo when logged in 2018-08-31 15:15:25 -07:00
Danny Coates 85185d048c
added fxa auth to /ws 2018-08-31 14:30:50 -07:00
Danny Coates fb7176d989
added fxa auth to /params 2018-08-31 11:43:56 -07:00
Danny Coates 718d74fa50
Implemented FxA 2018-08-30 22:10:08 -07:00
Emily 29bafe1bae prevent uploading duplicate files 2018-08-10 13:11:17 -07:00
Emily 650d30c4bc fix merge conflicts 2018-08-09 15:58:02 -07:00
Emily b89bef6e89 refactor to single bucket 2018-08-09 14:49:52 -07:00
Emily 4ee497a83f minor ui fixes 2018-08-08 17:24:58 -07:00
Emily bf16e5c8a9 integrate with new ui 2018-08-08 11:07:09 -07:00
Emily 894545a6f0 add fxA ui elements 2018-08-03 16:11:13 -07:00
Emily 4c64593262 add cancel buttons 2018-08-03 16:10:00 -07:00
Emily c9ae76b209 hook multifile to ui 2018-08-03 16:10:00 -07:00
Danny Coates a0edff1ead
make ece encrypt key extractable for Edge 2018-07-31 15:37:04 -07:00
Danny Coates 4fabd539d1
added exportKey to capabilities check 2018-07-31 15:10:12 -07:00
Danny Coates 9501bf7270
colon in wss url breaks edge when port is not explicit 2018-07-31 12:19:27 -07:00
Danny Coates d14aeb29e9
began adding capability flags 2018-07-31 11:29:26 -07:00
Danny Coates 7bf104960e
Implemented multi-file upload/download 2018-07-27 16:40:52 -07:00
Donovan Preston a80d007e0c
Hook up the android kotlin code to the send js code (#860) 2018-07-27 09:11:46 -04:00
Danny Coates 5e9e63944b
extracted blobSlicer, fixed download cancel tests 2018-07-25 12:30:28 -07:00
Danny Coates 5483dc2506
use actual file size in dl progress. detect cancelled stream 2018-07-23 15:18:38 -07:00
Danny Coates 7673715c65
disabled frontend tests in ci
frontend tests are failing in puppeteer but work in the
browsers.
2018-07-23 09:49:16 -07:00
Danny Coates 38fd349d9b
use TransformStream if available 2018-07-19 14:46:12 -07:00
Danny Coates f32ebd913a
send nonce to sw 2018-07-19 13:20:10 -07:00
Danny Coates 86f2a531d4
Merge branch 'vnext' into sw 2018-07-19 12:16:48 -07:00
Danny Coates f923ff4f87
Merge remote-tracking branch 'origin/master' into vnext 2018-07-19 12:14:57 -07:00
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
Danny Coates 94e707da8a
added gradient experiment 2018-01-31 11:46:29 -08:00
Danny Coates 4fb4041f13
sender no longer needs file nonce 2018-01-31 11:12:36 -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
shikhar-scs 050a1aff83 show download Limits on page 2018-01-23 07:41:48 +05:30
Danny Coates 72279f4995
a very slight refactor of previous commit 2018-01-19 17:14:14 -08:00
Danny Coates 48b21de011
a few tweaks to password input. fixes #703 2018-01-19 16:53:57 -08:00