Commit Graph

347 Commits

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