Commit Graph

332 Commits

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