Commit Graph

500 Commits

Author SHA1 Message Date
John Gruen 7449d1c351 update strings 2019-02-22 17:12:30 +01:00
Danny Coates 47d75d8220
adjusted modal background and download preview 2019-02-21 16:43:15 -08:00
Danny Coates 694e05f738
disable accounts on Edge. more crypto errors 2019-02-21 15:38:36 -08:00
Danny Coates de88885189
replaced cryptofill with webcrypto-liner 2019-02-21 15:20:28 -08:00
Danny Coates 9e919eddb5
beginning to decompose cryptofill to allow dynamic import 2019-02-21 12:22:12 -08:00
Danny Coates c146c584f6
static require cryptofill for Edge 2019-02-21 11:21:06 -08:00
Danny Coates 6fd3019aba
added title to download link 2019-02-21 09:24:43 -08:00
Danny Coates f0a60d8c8e
added control titles 2019-02-20 19:59:29 -08:00
Danny Coates 2169a49d4c
made account menu keyboard navible 2019-02-20 16:11:54 -08:00
Danny Coates b6a703d5de
added outline styles for keyboard nav 2019-02-20 15:58:44 -08:00
Danny Coates 060b6835f1
clear password on checkPassword 2019-02-20 11:51:09 -08:00
Danny Coates fd2b58d96d
made main "add files" area keyboard navible 2019-02-20 10:59:05 -08:00
Danny Coates b1e5073e59
made sign in button keyboard navible 2019-02-20 10:57:32 -08:00
Danny Coates ec356b703f
disable service worker on Edge 2019-02-19 18:53:55 -08:00
Danny Coates e5f9673521
added window.app for debugging 2019-02-19 14:14:28 -08:00
Danny Coates 2c12b614f0
updated header logo 2019-02-19 13:13:14 -08:00
Danny Coates c1df061669
android style fixes 2019-02-19 11:25:40 -08:00
Danny Coates 41bfe31d61
prefix /api/metrics on android. fixes #1159 2019-02-19 10:46:16 -08:00
Tim Visée b76150d4d9 Fix function to calculate encrypted ECE ciphertext length (#1153) 2019-02-18 11:19:15 -08:00
Danny Coates a2ede30f09
updated password input style 2019-02-15 14:42:09 -08:00
Danny Coates 8eaacfea18
use text/plain on /api/metrics 2019-02-15 11:59:39 -08:00
Danny Coates b30be6e4a2
updated intro image 2019-02-14 16:16:30 -08:00
Danny Coates 6b6b04e93b
a few font adjustments 2019-02-14 12:23:27 -08:00
Danny Coates 21e3095dc9
updated file icon 2019-02-14 12:01:14 -08:00
Danny Coates 2a8a8abfde
added Inter font and intro image 2019-02-14 11:39:28 -08:00
Danny Coates 4d8f27e96e
adjusted intro layout 2019-02-14 09:33:49 -08:00
Danny Coates be8e507d25
updated footer links 2019-02-13 13:09:57 -08:00
Danny Coates 26d6606e09
added custom details arrow (needs final svg) 2019-02-13 12:39:53 -08:00
Danny Coates 1c61915b53
styled selectbox 2019-02-13 11:14:53 -08:00
Danny Coates e9ee7d022c
adjusted padding of wip area 2019-02-12 19:14:01 -08:00
Danny Coates fc37fd1fe3
Work in progress on latest design 2019-02-12 12:27:52 -08:00
Danny Coates 9b37e92a81
implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
Danny Coates 6b33192a55
use default avatar instead of ff logo for users with no avatar 2019-02-08 11:58:42 -08:00
Donovan Preston 16224b3c02 Fix #1108 Hide email input on signup page so that it doesn't hide par… (#1140)
* Fix #1108 Hide email input on signup page so that it doesn't hide part of the bottom of the page

* Fix #1115 Prevent clicking on the button more than once in a row.

* Show the email input on desktop
2019-02-08 09:44:21 -08:00
Mark Liang (You-Wen) b55960d743 fix 1112 (#1128) 2019-01-30 10:59:22 -05:00
Danny Coates 9e3bde2cc9 full page download ui (#1126) 2019-01-30 10:50:17 -05:00
Danny Coates 5eb24065b6
added modal to other pages 2019-01-29 13:08:54 -08:00
Danny Coates 87a517a169
exclude text inputs from paste handler 2019-01-29 12:43:09 -08:00
Danny Coates c0d8300a8e
fixed some scrollbars 2019-01-29 12:06:23 -08:00
Danny Coates d159825b27
added download icon 2019-01-28 15:44:14 -08:00
Danny Coates 8794b1d101
npm run format 2019-01-24 12:31:20 -08:00
Danny Coates dece0969c2
added download link to tile 2019-01-23 15:10:09 -08:00
Donovan Preston 73123a690b Switch to the Android share icon. 2019-01-23 09:42:13 -05:00
Mark Liang de0a1ddcaa #1103 2019-01-18 16:09:17 +08:00
Danny Coates 7d051d5eaf
restored accidentally deleted style 2019-01-16 16:18:23 -08:00
Danny Coates d5a1271bbe
fixed account menu z-index on android 2019-01-16 14:58:10 -08:00
Danny Coates a6a8fa6528
Merge pull request #1099 from mozilla/android-implement-share-card
Fix #888 Implement share card.
2019-01-16 13:26:41 -08:00
Donovan Preston c90d811087 Switch to using utils.browserName 2019-01-16 16:20:15 -05:00
Danny Coates 57422d6406
refactored styles to extract btn 2019-01-16 12:49:11 -08:00
Donovan Preston af61434b72 Fix #888 Implement share card. 2019-01-16 12:05:39 -05:00
Danny Coates 32a77180b0
Merge pull request #1088 from mozilla/vnext-ui-changes
Update UI
2019-01-15 10:40:11 -08:00
Danny Coates 783d7bfa03
save download count changes to localStorage. fixes #1080 2019-01-15 10:11:51 -08:00
Mark Liang 38f8a68827 update ux 2019-01-14 16:51:50 +08:00
Danny Coates f402011c82
use custom elements instead of adding css classes for selectors 2019-01-10 16:22:40 -08:00
Danny Coates 8e8570c357
use blob instead of stream to get file list. fixes #1084 2019-01-10 11:10:51 -08:00
Danny Coates 4a633c8930
initialize dlimit of ownedfile on upload. fixes #1080 2019-01-10 10:52:52 -08:00
Danny Coates 6cc374865e
refactored code/tests around download tests 2019-01-09 17:25:43 -08:00
Dhyey Thakore e9a9ead762 [Integration-Test] Add test for number of downloads, fixes #810 2019-01-09 19:33:48 +05:30
Danny Coates 1bb1e8123f
Merge pull request #1076 from mozilla/i1059
don't make title a link on android
2019-01-08 14:14:45 -08:00
Danny Coates 65be118e82
clicking signin shows cta. fixes #1073 2019-01-08 14:06:15 -08:00
Danny Coates ffe8045d82
don't make title a link on android. fixes #1059 2019-01-08 13:53:53 -08:00
Danny Coates 4e0425ad7e
fixed text overflow on 404 page. fixes #1025 2019-01-08 11:46:14 -08:00
Danny Coates 06b25dcba6
fixed initial page load rendering for expired downloads and when the upload list isn't empty. fixes #1069 and fixes #1021 2019-01-08 11:24:07 -08:00
Danny Coates 8c496e3bee
don't add zero length files (also directories) 2019-01-03 16:12:40 -08:00
Danny Coates a79400f99f
signup dialog changes
- send empty or invalid emails to the standard fxa signup page
- show the signup dialog when file too big and not logged in
2018-12-21 11:40:52 -08:00
Danny Coates c585c34c01
use one Archive instance for state.archive 2018-12-21 10:54:38 -08:00
Danny Coates 6cc12528b3
fixed some old TODOs 2018-12-18 13:55:46 -08:00
Danny Coates ac87fdff97
style tweak to user avatar image 2018-12-18 12:50:01 -08:00
Danny Coates b1db7ac312
simplified app/main.js a bit 2018-12-18 12:27:43 -08:00
Danny Coates 793dfb4f42
initial state refactor 2018-12-13 11:12:06 -08:00
Mark Liang (You-Wen) aa156558b6 Update vnext android ui (#1036)
* refine android ui

* fix layout
2018-12-13 11:36:03 -05:00
Danny Coates 09a4d7b9ee
fixed filelist sync on initial login and after upload 2018-12-12 10:14:06 -08:00
Danny Coates e58ebc835c
changed upload button label 2018-12-11 15:11:38 -08:00
Danny Coates 61299dd8ea
split serviceWorker and streamDownload capabilities 2018-12-10 12:47:23 -08:00
Danny Coates 0640902350
moved non-async init earlier in main.js 2018-11-26 16:05:22 -08:00
Danny Coates 613a70f473
improved serviceworker caching 2018-11-26 13:25:47 -08:00
Danny Coates 87ac8b241b
load cryptofill.js async 2018-11-26 10:36:49 -08:00
Danny Coates 1e62aa976d reimplemented l10n using dynamic import() (#1012)
this should greatly reduce the complexity of the l10n code
and build pipeline and eliminate the most common error
seen in sentry logs (no translate function)
2018-11-20 09:50:59 -05:00
Danny Coates 5afa4e5c9b
Merge pull request #1010 from mozilla/totalSize
added total size to wip tile
2018-11-19 21:37:31 -08:00
Donovan Preston ae4b8cf0d3 Add setApiUrlPrefix and use it in the android version. 2018-11-19 15:10:57 -05:00
Danny Coates 74d8a12c07
fixes #1013. dragging page elements 2018-11-19 10:48:52 -08:00
Danny Coates c99697caae
fixes #1015. lolwhoops 2018-11-19 10:34:58 -08:00
Danny Coates b80dd48434
added total size to wip tile 2018-11-16 17:31:37 -08:00
Danny Coates 0dc7398414
removed unused images and testpilot twitter link 2018-11-16 16:23:24 -08:00
Danny Coates b6517c5442
port fix for #1005 to vnext 2018-11-16 13:33:40 -08:00
Danny Coates fbad1ab55a
formatting update 2018-11-16 12:39:36 -08:00
Danny Coates 6fdc430c4f
delete old service worker caches 2018-11-16 12:32:32 -08:00
Danny Coates 32a55d00b2
don't render expired uploads 2018-11-16 12:30:15 -08:00
Danny Coates 9989f944c3
fixed account ui when not enabled 2018-11-16 10:01:53 -08:00
Danny Coates 660a1947cc
try out service worker cache 2018-11-16 09:32:29 -08:00
Danny Coates 037c79730d
converting some things to choo/component 2018-11-15 15:43:32 -08:00
Danny Coates d67716f26b
fixed some element heights at md width 2018-11-15 09:27:17 -08:00
Donovan Preston 43c596fb99 Fix rendering problems with the android ui. 2018-11-15 10:06:35 -05:00
Danny Coates 1d09a2e694
fixed double file open on chrome 2018-11-08 16:24:32 -08:00
Danny Coates 0631abe653
renamed fileManager.js to controller.js 2018-11-08 15:12:07 -08:00
Donovan Preston cab6f1bafb
Implement the mechanics of fxa login on android, but don't show ui fo… (#1000)
* Implement the mechanics of fxa login on android, but don't show ui for it yet. Also, scopedKeys are not yet implemented.

* Hopefully fix the package-lock conflict?

* WIP on android scoped keys

* Finish implementing login.

* created android/user.js to handle android logins
2018-11-08 16:35:19 -05:00
Danny Coates e9d5d87691
changed sign in area 2018-11-06 21:30:35 -08:00
Danny Coates 4eca951a1c
fixed syncFileList result when logged out 2018-11-06 11:36:20 -08:00
Danny Coates 6868af11cd
add click handler to whole empty area 2018-11-05 20:55:26 -08:00
Danny Coates ae89f1964f
fixes #994. add new files to top of upload area 2018-11-05 16:43:45 -08:00
Danny Coates be38392192
log out when the auth token is expired 2018-11-05 15:56:59 -08:00
Danny Coates 1ef80febcb
fixed filename word-break 2018-11-05 15:46:49 -08:00
Danny Coates 43748295b0
style updated for chrome 2018-11-05 15:00:35 -08:00
Mark Liang 7394d20cb7 fix #985-#988, #990-#993 2018-11-05 16:12:40 +08:00
Danny Coates 1c063111cc
a few style tweaks 2018-11-02 11:28:56 -07:00
Mark Liang cacb3a898d update ui 2018-11-02 17:42:59 +08:00
Danny Coates 5ebe869c26
fixed intro size on home page 2018-11-01 12:04:14 -07:00
Danny Coates dee9c0a538
fixed modal placement in responsive view 2018-11-01 11:05:17 -07:00
Danny Coates 90f261a314
moved some styles 2018-11-01 10:44:48 -07:00
Danny Coates 932a2a4576
removed unused code 2018-11-01 10:44:47 -07:00
Danny Coates 6ba3be8a0f
updated integration tests for new ui 2018-11-01 10:44:47 -07:00
Danny Coates 891ffc20af
added copied text after copy button click 2018-11-01 10:44:47 -07:00
Danny Coates c359678226
styled dl password input a bit 2018-11-01 10:44:46 -07:00
Danny Coates 26a943939d
wip on download page 2018-11-01 10:44:46 -07:00
Danny Coates 12e6eb1666
added password to upload form 2018-11-01 10:44:45 -07:00
Danny Coates 0e5202c470
updated modal 2018-11-01 10:44:45 -07:00
Danny Coates 7ad63ae004
stubbed copy dialog 2018-11-01 10:44:44 -07:00
Danny Coates d881755814
added purgecss and cssnano 2018-11-01 10:44:16 -07:00
Danny Coates 211404237a
added wide layout 2018-11-01 10:43:45 -07:00
Danny Coates 7838ad586d
removed old ui 2018-11-01 10:43:44 -07:00
Danny Coates f0cfc19f8c
a new approach for the ui 2018-11-01 10:43:43 -07:00
Danny Coates cc85486414
wip 2018-11-01 10:43:14 -07:00
Danny Coates 2b81ff1fb3
some wip. still broken 2018-11-01 10:43:14 -07:00
Danny Coates 5b939d2c95
reorged routes/index.js (broken) 2018-11-01 10:43:13 -07:00
John Gruen 8964387331
update ui 2018-11-01 10:43:13 -07:00
Danny Coates d87fb64390
removed keys_jwe from local storage 2018-10-08 11:16:06 -07:00
Danny Coates 7166f4e3d6
improved paste to handle text and pasted file's names 2018-10-01 17:46:09 -07:00
Danny Coates f7f8944e00
stubbed in signup dialog 2018-09-27 15:46:46 -07:00
Danny Coates a997a44a23
renamed auth route 2018-09-26 12:22:51 -07:00
Mark Liang (You-Wen) 88db2c1cf4 UI Review German Edition (#950)
* UI changes for longer text

* UI changes for longer text
2018-09-26 10:59:33 -07:00
Danny Coates 307c9d3fa1
tweaked okDialog style 2018-09-26 10:48:37 -07:00
Danny Coates 84657ed149
use firefox logo as logged in default avatar 2018-09-25 13:54:47 -07:00
Danny Coates 3d95848ba3
changed feedback button style 2018-09-25 13:49:46 -07:00
Danny Coates 044138b540
removed background image 2018-09-25 13:39:45 -07:00
Danny Coates 294cd0dfa8
reset page expiry options on logout 2018-09-24 15:25:08 -07:00
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