Ricky Rosario be055ff7ba Update URL for the VPN 4 лет назад
..
ui be055ff7ba Update URL for the VPN 4 лет назад
.eslintrc.yml 53e822964e a few changes to make A/B testing easier 7 лет назад
api.js 8702fda651 handle websocket construction exceptions 5 лет назад
archive.js 1c44d1d0f9 added /config endpoint, use fewer globals (#1172) 5 лет назад
capabilities.js 924f5dc682 disable streaming download on mobile firefox 5 лет назад
controller.js 807ecff471 updated sentry libs from raven to @sentry 5 лет назад
dragManager.js 74d8a12c07 fixes #1013. dragging page elements 6 лет назад
ece.js 7f9674f494 fixed size limit on server to include crypto overhead 5 лет назад
experiments.js 23ecb632eb added signin button color experiment. closes #1306 (#1320) 5 лет назад
fileReceiver.js 7073cc8ce6 added download hang detection and error reporting 5 лет назад
fileSender.js 96c750c098 added size and duration to connection error reporting 5 лет назад
fxa.js 6cc12528b3 fixed some old TODOs 6 лет назад
keychain.js 29f243fdda removed old encryption key implementation 5 лет назад
locale.js c80f9ada65 updated deps 5 лет назад
main.css c71c246959 Dark theme 5 лет назад
main.js 2a3db78f97 update promo to be for the vpn 4 лет назад
metrics.js 96c750c098 added size and duration to connection error reporting 5 лет назад
ownedFile.js 0c458e180c error if file from localStorage is old (no manifest) 5 лет назад
pasteManager.js 7710cf98e9 fixed paste email bug 5 лет назад
readme.md e77fea09bc Fixes link to routes file 5 лет назад
routes.js ff9be6a213 updated deps 5 лет назад
serviceWorker.js 883f2bc0f9 wait until serviceWorker activate to precache 5 лет назад
storage.js 23ecb632eb added signin button color experiment. closes #1306 (#1320) 5 лет назад
streams.js f036df5f47 updated eslint config 5 лет назад
user.js 20b9279eec added survey dialog. closes #1307 5 лет назад
utils.js 2f34dffab4 fixed sw initialization error 5 лет назад
zip.js 7f13d4d9b6 fixed incorrect uncompressed size in zip 5 лет назад

readme.md

Application Code

app/ contains the browser code that gets bundled into app.[hash].js. It's got all the logic, crypto, and UI. All of it gets used in the browser, and some of it by the server for server side rendering.

The main entrypoint for the browser is main.js and on the server routes.js is imported by /server/routes/pages.js

  • pages contains display logic an markup for pages
  • routes contains route definitions and logic
  • templates contains ui elements smaller than pages