send/app
2019-03-13 10:30:27 -07:00
..
ui enable promo banner 2019-03-13 10:30:27 -07:00
.eslintrc.yml
api.js Really switch the android beta to use send.firefox.com. 2019-03-12 13:59:30 -04:00
archive.js added /config endpoint, use fewer globals (#1172) 2019-02-26 10:39:50 -08:00
capabilities.js enable promo banner 2019-03-13 10:30:27 -07:00
controller.js try web share api 2019-03-09 17:59:21 -08: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 found source of double-render, removed old experiment 2019-02-25 14:03:08 -08:00
fileReceiver.js Add setApiUrlPrefix and use it in the android version. 2018-11-19 15:10:57 -05:00
fileSender.js fixed size limit on server to include crypto overhead 2019-03-06 10:31:50 -08:00
fxa.js fixed some old TODOs 2018-12-18 13:55:46 -08:00
keychain.js removed unused crypto functions 2018-09-04 10:41:45 -07:00
locale.js reimplemented l10n using dynamic import() (#1012) 2018-11-20 09:50:59 -05:00
main.css body overflow-x: hidden. fixes #1219 2019-03-12 13:36:46 -07:00
main.js Merge pull request #1213 from mozilla/localized-filesize 2019-03-12 21:49:36 -07:00
metrics.js utms for everybody 2019-03-05 12:58:40 -08: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 enabled accounts on Edge 2019-02-25 11:44:44 -08:00
serviceWorker.js fixed some old TODOs 2018-12-18 13:55:46 -08:00
storage.js implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
streams.js Implemented multi-file upload/download 2018-07-27 16:40:52 -07:00
user.js use fxa email-first flow 2019-03-07 12:08:42 -08:00
utils.js localize file sizes 2019-03-12 21:46:50 -07:00
zip.js Implemented multi-file upload/download 2018-07-27 16:40:52 -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