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

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