Commit Graph

391 Commits

Author SHA1 Message Date
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
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