send/app
2019-11-05 20:37:44 -08:00
..
ui Merge pull request #1408 from drakkein/master 2019-10-21 10:13:56 -07:00
.eslintrc.yml a few changes to make A/B testing easier 2017-08-25 09:44:52 -07:00
api.js handle websocket construction exceptions 2019-08-09 11:47:44 -07:00
archive.js added /config endpoint, use fewer globals (#1172) 2019-02-26 10:39:50 -08:00
capabilities.js disable streaming download on mobile firefox 2019-08-26 10:49:19 -07:00
controller.js updated sentry libs from raven to @sentry 2019-08-09 11:06:21 -07:00
dragManager.js fixes #1013. dragging page elements 2018-11-19 10:48:52 -08:00
ece.js fixed size limit on server to include crypto overhead 2019-03-06 10:31:50 -08:00
experiments.js added signin button color experiment. closes #1306 (#1320) 2019-05-03 13:10:56 -04:00
fileReceiver.js added download hang detection and error reporting 2019-08-08 13:54:02 -07:00
fileSender.js added size and duration to connection error reporting 2019-08-08 09:52:22 -07:00
fxa.js fixed some old TODOs 2018-12-18 13:55:46 -08:00
keychain.js removed old encryption key implementation 2019-04-11 10:24:29 -07:00
locale.js updated deps 2019-07-29 15:26:11 -07:00
main.css Dark theme 2019-10-03 23:10:11 -07:00
main.js updated deps 2019-08-26 08:58:34 -07:00
metrics.js added size and duration to connection error reporting 2019-08-08 09:52:22 -07:00
ownedFile.js error if file from localStorage is old (no manifest) 2019-03-12 07:39:50 -07:00
pasteManager.js fixed paste email bug 2019-03-12 08:37:43 -07:00
readme.md updated docs 2018-03-07 15:01:08 -08:00
routes.js updated deps 2019-08-26 08:58:34 -07:00
serviceWorker.js wait until serviceWorker activate to precache 2019-09-05 19:04:03 -07:00
storage.js added signin button color experiment. closes #1306 (#1320) 2019-05-03 13:10:56 -04:00
streams.js updated eslint config 2019-08-02 12:03:53 -07:00
user.js added survey dialog. closes #1307 2019-05-01 09:47:04 -07:00
utils.js fixed sw initialization error 2019-11-05 20:37:44 -08:00
zip.js fixed incorrect uncompressed size in zip 2019-03-16 09:19:28 -07:00

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/index.js gets 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