Commit Graph

328 Commits

Author SHA1 Message Date
Danny Coates 58191975b9
stubbed /login page for redirect base login flow 2019-07-23 09:27:34 -07:00
Danny Coates b9c87fd779
updated tailwindcss to 1.0 2019-06-14 11:37:30 -07:00
Danny Coates 23ecb632eb added signin button color experiment. closes #1306 (#1320) 2019-05-03 13:10:56 -04:00
Danny Coates f603f40f43 added agent to server metrics (#1321) 2019-05-03 12:25:12 -04:00
Hugo Abreu f517c514d8 Defined retry_strategy for redis. Closes #1292 2019-05-02 21:56:28 +01:00
Danny Coates 20b9279eec added survey dialog. closes #1307 2019-05-01 09:47:04 -07:00
Robert f94918bebd Prevent possible download counter race condition 2019-04-19 13:10:49 +02:00
Danny Coates 7f76a279c3
fixed L10N_DEV option 2019-03-31 13:04:16 -07:00
Danny Coates efea0e5ab0
added gravatar to CSP image-src 2019-03-31 13:04:15 -07:00
Danny Coates 5d19a9d696
fixed dev android for longer file ids 2019-03-31 13:04:15 -07:00
Danny Coates 8cf3b89f91
increase file id to 8 bytes 2019-03-26 09:32:44 -07:00
Danny Coates ebbb1d05d2
use crypto.timingSafeEqual in hmac and ownerToken authentication 2019-03-14 22:09:34 -07:00
Danny Coates 3e14d3049d
only index / route 2019-03-14 13:17:47 -07:00
Danny Coates c4891c3866
fixed req.route bug when no routes match 2019-03-14 12:02:36 -07:00
Danny Coates 4e26c6ab75
added robots meta tag 2019-03-14 11:40:01 -07:00
Danny Coates 017bb0d146
wrap openid-config request in try/catch 2019-03-13 12:07:59 -07:00
Danny Coates e702022d7f
default accept-language to en-US when regexp does not match 2019-03-13 11:30:37 -07:00
Christopher Ramírez f3fb433531 Fix link to dev.js and prod.js files.
The links on readme.md were pointing to no longer existant files.
With this PR these links are updated to the new location of the
files inside the ./bin directory.
2019-03-13 07:45:55 -06:00
Danny Coates d6becdcf3c
fixed meta image urls 2019-03-12 09:57:26 -07:00
Danny Coates 3b7bf2ae7e
updated pwa theme-color 2019-03-09 16:45:17 -08:00
Danny Coates 7464d46843
removed unused fira bits 2019-03-06 16:37:02 -08:00
Danny Coates f9fd9940bd
fixed server l10n parse error 2019-03-06 16:36:17 -08:00
Danny Coates fb0f0f0b5d
added gcp dev to csp 2019-03-06 12:59:54 -08:00
Danny Coates 7f9674f494
fixed size limit on server to include crypto overhead 2019-03-06 10:31:50 -08:00
Danny Coates 445811931f
added accounts.firefox.com to csp connect-src for /metrics-flow 2019-03-05 13:05:51 -08:00
Danny Coates 5e04f367c1
utms for everybody 2019-03-05 12:58:40 -08:00
Danny Coates 421967ea81
updated default config values 2019-02-28 16:39:38 -08:00
Danny Coates f968083f74
added '-' to /api/filelist validation 2019-02-26 19:58:03 -08:00
Danny Coates 4cb6646cce
updated filelist storage so userid is not used directly 2019-02-26 13:53:11 -08:00
Danny Coates 1c44d1d0f9
added /config endpoint, use fewer globals (#1172)
* added /config endpoint, use fewer globals

* fixed integration tests
2019-02-26 10:39:50 -08:00
Danny Coates cccc1a5383
enabled accounts on Edge 2019-02-25 11:44:44 -08:00
Danny Coates c146c584f6
static require cryptofill for Edge 2019-02-21 11:21:06 -08:00
Danny Coates e5f9673521
added window.app for debugging 2019-02-19 14:14:28 -08:00
Danny Coates 2c27665e39
updated favicon 2019-02-19 12:52:09 -08:00
Danny Coates 8eaacfea18
use text/plain on /api/metrics 2019-02-15 11:59:39 -08:00
Danny Coates 5ce35a71ef
added missing entrypoint to metrics 2019-02-14 13:00:57 -08:00
Danny Coates 2a8a8abfde
added Inter font and intro image 2019-02-14 11:39:28 -08:00
Danny Coates 9b37e92a81
implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
Danny Coates 3df32e2a22
removed /download from android routes in dev.js since it has no ui 2019-01-10 15:00:03 -08:00
Donovan Preston 52b4c382cb Make ANDROID=1 npm start work again, as it broke at some point 2019-01-10 15:08:16 -05:00
Danny Coates 7f1ce41d9c
disable validation and resumable for gcs uploads 2019-01-09 13:36:27 -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
Abd ar-Rahman Hamidi 30d7ec50f3
Convert ContentLength of storage to number 2019-01-02 22:16:03 +05: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 b1db7ac312
simplified app/main.js a bit 2018-12-18 12:27:43 -08:00
Donovan Preston d217ac14fc Fix npm run android by removing the <base href> when running under the dev server 2018-12-13 11:44:28 -05:00
Danny Coates 31ff9aaabe
remove cryptofill from layout.js 2018-11-26 11:07:48 -08:00
Danny Coates 531584dbf1
implemented websocket flow control to prevent over buffering 2018-11-22 13:21:39 -08:00
Danny Coates 015067648e
fixed initScript version.json path 2018-11-21 14:40:38 -08:00
Danny Coates d4528848d9
moved jsconfig code into initScript 2018-11-20 12:23:05 -08:00
Danny Coates 416b9902cb added a webmanifest (#1023) 2018-11-20 15:00:32 -05: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 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 6184a70ba4
fixes #1005
The upstream gcp aggressively closes the connection once it has
received Content-Length bytes. However the @google-cloud/storage
module doesn't handle this well and emits no event in this case.
We were setting Content-Length because it's slightly more
efficient and was important for our download progress
bar (not anymore). The download should function fine without
setting the Content-Length, and allows the storage stream to finish
before closing the upstream socket.
2018-11-14 16:38:46 -08:00
Danny Coates 99f6f53e40
renamed android's index.html to android.html 2018-11-06 11:21:14 -08:00
Danny Coates eb79ce1835
wip on using shared ui in android 2018-11-02 16:33:16 -07:00
Danny Coates 53426b950a
added gcs 2018-11-02 14:24:10 -07:00
Danny Coates 932a2a4576
removed unused code 2018-11-01 10:44:47 -07:00
Danny Coates 0e5202c470
updated modal 2018-11-01 10:44:45 -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 9e8e604024
stubbed in gcs (untested) 2018-11-01 10:36:05 -07:00
Danny Coates a997a44a23
renamed auth route 2018-09-26 12:22:51 -07:00
Donovan Preston 8b21a54ab4
Add the options route to the dev server 2018-09-25 11:14:17 -07:00
Danny Coates e2259ae737
made download count and expiry options server configurable 2018-09-24 15:08:39 -07:00
Danny Coates b61bf3c867
changed default config to have accounts disabled 2018-09-24 13:04:29 -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 135f40f65d
set default fxa env for localhost 2018-09-20 14:13:07 -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 ec5d301814
set capabilities.account = false on the server to defer rendering those components. fixes #929 2018-09-19 09:01:19 -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 942457b357
added account to capabilities 2018-09-14 13:58:19 -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 20528eb0d1
added ANDROID environment variable to dev server for hosting the android html 2018-09-10 10:56:59 -07:00
Danny Coates 17ee4e0058 load android ui in dev when browsing to /android (#919) 2018-09-07 13:08:01 -04:00
Danny Coates 71b24b05d0
added http logging to the console in dev 2018-09-04 12:09:03 -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 b89bef6e89 refactor to single bucket 2018-08-09 14:49:52 -07:00
Emily bf16e5c8a9 integrate with new ui 2018-08-08 11:07:09 -07:00
Emily c9ae76b209 hook multifile to ui 2018-08-03 16:10:00 -07:00
Danny Coates d14aeb29e9
began adding capability flags 2018-07-31 11:29:26 -07:00
Danny Coates 28131243f9
up default max_file_size to 3gb 2018-07-27 10:39:23 -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 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
Emily Hou 59ba89262f
fix download count on server (#863) 2018-07-17 09:48:47 -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
Danny Coates 1a78f57515
don't set cache header on serviceWorker.js 2018-07-12 20:48:07 -07:00
Emily 527e9f09c9 add a test 2018-07-12 16:07:18 -07:00
Danny Coates ddeaf8076d
added wss to csp connect-src 2018-07-12 14:27:49 -07:00
Emily 5ff92c6452 fix cancelled downloads increasing count 2018-07-12 14:02:05 -07:00
Danny Coates ebf6bda467
updated to webpack 4 2018-07-12 13:16:02 -07:00
Emily ff7969a7ef fix download workflow tests 2018-07-11 16:52:46 -07:00