send/app
2021-06-04 14:03:58 +02:00
..
ui Replace links from mozilla/send to timvisee/send 2021-05-19 16:09:01 +02:00
.eslintrc.yml
api.js
archive.js Add DEFAULT_DOWNLOADS variable to set default download count 2021-06-04 14:03:58 +02:00
capabilities.js restrict "share" to mobile, fixes #1505 2020-10-16 15:52:22 +02:00
controller.js
dragManager.js
ece.js fixed size limit on server to include crypto overhead 2019-03-06 10:31:50 -08:00
experiments.js
fileReceiver.js
fileSender.js
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
main.css main.css: Use ::marker to avoid browser console warning 2021-05-03 00:13:24 +02:00
main.js Add DEFAULT_DOWNLOADS variable to set default download count 2021-06-04 14:03:58 +02: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
qrcode.js added qr code to copyDialog 2020-10-16 18:16:14 +02:00
readme.md Fixes link to routes file 2019-11-12 19:09:07 +01:00
routes.js
serviceWorker.js added hmac auth to report route 2020-10-16 15:50:36 +02:00
storage.js
streams.js updated eslint config 2019-08-02 12:03:53 -07:00
user.js
utils.js
zip.js

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