Commit Graph

411 Commits

Author SHA1 Message Date
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
Danny Coates
f7dc86ab2b
reinstate the 'exited' metric. fixes #653 2018-01-19 15:07:05 -08:00
Danny Coates
9688dde1a4
Merge pull request #694 from himanish-star/feature-change-password
Passwords can now be changed (#687)
2018-01-18 11:46:11 -08:00
Soumya Himanish Mohapatra
fdcc31f049 Passwords can now be reset 2018-01-18 15:45:04 +05:30
Danny Coates
55ed6100e0
fixes #675. progress on ios 2018-01-16 13:52:09 -08:00
Danny Coates
7fb11ba912
added 'browser' to survey url. fixes #657 2018-01-16 13:21:26 -08:00
Danny Coates
f3d77fdcf2
Merge pull request #702 from himanish-star/remove-banner
Restricted the banner from showing on unsupported browsers
2018-01-13 14:50:17 -08:00
Soumya Himanish Mohapatra
6489ab6a56 Restricted the banner from showing on unsupported browsers 2018-01-13 09:32:55 +05:30
Danny Coates
bace117ada
fixed error on metadata 404 2018-01-11 23:20:56 -08:00
Danny Coates
1741b1c686
use monospace font for password display 2018-01-10 10:02:21 -08:00
Danny Coates
096489d486
tweaked delete popup 2018-01-09 11:20:36 -08:00
Soumya Himanish Mohapatra
910cde4380 Popup for delete button attached 2018-01-09 20:56:27 +05:30
Danny Coates
4f1ccf83c8
Merge pull request #695 from shikhar-scs/warning-for-high-file-size
Show Warning, Cancel and Redirect on size > 2GB ; fixes #578
2018-01-08 20:11:44 -08:00
shikhar-scs
9501c1ce4b checking for file size > 2GB
included global MAXFILESIZE
2018-01-09 09:28:23 +05:30
Danny Coates
069f0e53e1
Merge pull request #684 from himanish-star/delete-btn-background-red
delete btn popup attached
2018-01-08 12:22:57 -08:00
Soumya Himanish Mohapatra
9f162c0703 Popup attached for delete Button 2018-01-08 23:53:16 +05:30
Danny Coates
7b96c46e39
Merge pull request #686 from shikhar-scs/hidePassword
Hide password while Typing and after Entering: Fixes #670
2018-01-08 09:49:40 -08:00
shikhar-scs
8434312728 Toggleable Password
Changed * to ●
2018-01-06 08:11:16 +05:30
Derek Tamsen
1d26f4b24f
Use EXPIRE_SECONDS to calculate file ttl for static content 2017-12-13 18:22:17 -08:00
Danny Coates
81f3347981
retry setPassword on first nonce failure. fixes #664 2017-12-08 09:45:00 -08:00
Danny Coates
6434329f61
added utm params to unsupported page download link 2017-12-06 15:43:36 -08:00
Danny Coates
459499d5f5
fixed password ui 2017-12-05 19:41:53 -08:00
Danny Coates
53d5b08559
rename number to num in ftl 2017-12-05 19:07:23 -08:00
Danny Coates
bb10c1aa9d
added 'report IP infringement' footer link 2017-12-05 14:16:22 -08:00
Danny Coates
b2c1daa6c7
color promo experiment 2017-12-05 14:06:40 -08:00
Danny Coates
1849d712b1
added ver to qsurvey url 2017-12-05 12:51:37 -08:00
Danny Coates
7b4060f9e1
Added multiple download option 2017-12-04 15:52:31 -08:00
Laurent Jouanneau
00fb353465
Remove the leak of the password into the console 2017-11-16 12:28:16 +01:00
Danny Coates
490a1e88eb
don't disable copy while setting password. fixes #638 2017-11-14 19:07:24 -08:00
Danny Coates
e7fdf76120
Added experiment for firefox download promo 2017-11-14 12:24:54 -08:00
Danny Coates
bfcdf9340d
use fluent-langneg for subtag support 2017-11-10 12:40:18 -08:00
Danny Coates
deabca5a94
wrap number localization in try/catch 2017-11-09 13:58:20 -08:00
Danny Coates
6ff251b24a
fixes #319 - unsupported redirect 2017-11-06 14:09:23 -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
ed4e8e8f25
Merge pull request #633 from ehuggett/563-regres
Keyboard navigation/visual feedback regression
2017-11-06 10:01:43 -08:00
ehuggett
166b2f3a52 fix keyboard navigation/visual feedback for upload 2017-11-05 13:00:58 +00:00
Danny Coates
17adc644fb
display the 'add password' button only when the input field isn't empty 2017-11-02 14:27:54 -07:00
ehuggett
98491eed01 set autocomplete off for addPassword checkbox 2017-11-02 00:08:36 +00:00
ehuggett
fdafc1c59e minor fix for togglePasswordInput 2017-11-01 23:36:45 +00:00
Danny Coates
054a97371c
Merge pull request #624 from ehuggett/nit
set a default MIME type in file metadata
2017-10-31 11:09:01 -07:00
Danny Coates
6a008bf312
Merge pull request #612 from mozilla/password-nits
Password UI nits
2017-10-30 12:59:29 -07:00
Danny Coates
789d67209c
Merge pull request #617 from mozilla/drop-nav
allow drag and drop if navigating from shared page
2017-10-30 10:20:56 -07:00
Erica Wright
f814427a7d
clear password input on toggle off 2017-10-30 10:29:49 -04:00
ehuggett
58555a6b85 set a default MIME type 2017-10-27 22:41:20 +01:00
Erica Wright
202e428412
display spaces as they were originally in the password 2017-10-25 15:48:01 -04:00
Erica Wright
6e7ed3cea3
password maxlength and wrapping 2017-10-25 10:50:37 -04:00
Erica Wright
41cb49141b
allow drag and drop if navigating from shared page 2017-10-24 16:45:05 -04:00
Erica Wright
a5d28adc44
focus password field when clicking password checkbox 2017-10-24 12:47:03 -04:00
Erica Wright
82e206bccf
password input at smaller screens 2017-10-24 12:36:09 -04:00
Erica Wright
1e4d6646c6
style password checkbox 2017-10-23 15:36:05 -04:00
Erica Wright
046f227003
disable copying link when password not completed 2017-10-23 09:53:12 -04:00
Danny Coates
bc24a069da
Add optional password to the download url 2017-10-10 10:45:10 -07:00
Danny Coates
32c5b414de
use beefy ui 2017-10-10 10:20:49 -07:00
Erica Wright
e1e8af2489
Hide cancel button when upload reached 100% 2017-10-04 16:34:41 -04:00
ehuggett
208c28ee01 Make upload button focusable (accessibility/tab navigation) 2017-10-02 23:04:55 +01:00
Danny Coates
401311a05f
updated deps. removed choo-log 2017-09-20 13:09:33 -07:00
Danny Coates
137f474b69
fixed A/B test control group selection 2017-09-14 10:02:47 -07:00
Danny Coates
8e14d3f8f7
QA bug fixes 2017-09-13 12:01:55 -07:00
Danny Coates
17e61bb09d
added first A/B experiment 2017-09-11 17:30:05 -07:00
Danny Coates
3d8b38ffe4
fixed delete dialog broken in last commit 🙄 2017-09-06 14:27:09 -07:00
Danny Coates
fddc415c86
fixes #539 2017-09-06 14:09:17 -07:00
Danny Coates
7abbc60e17
fixes #546 drag effect 2017-08-29 11:36:40 -07:00
Danny Coates
15244e1a64
fixes #545 copy effect 2017-08-29 11:25:41 -07:00
Danny Coates
4b39d61ff4
don't upload empty files 2017-08-29 11:20:34 -07:00
Danny Coates
2b5c9dfb35
removed unused data-l10n attributes 2017-08-25 13:14:17 -07:00
Danny Coates
53e822964e
a few changes to make A/B testing easier 2017-08-25 09:44:52 -07:00