send/app
Donovan Preston 71ea4e74f6
Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server (#918)
* Merge branch 'vnext' of https://github.com/mozilla/send into android-preferences

Fix conflicts

* Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server

* Use a try/catch in case localStorage isn't available, which it isn't in a ServiceWorker
2018-09-06 18:56:04 -04:00
..
pages hide signup promo when logged in 2018-08-31 15:15:25 -07:00
routes Implemented FxA 2018-08-30 22:10:08 -07:00
templates hide signup promo when logged in 2018-08-31 15:15:25 -07:00
.eslintrc.yml
api.js Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server (#918) 2018-09-06 18:56:04 -04:00
archive.js Implemented FxA 2018-08-30 22:10:08 -07:00
base.css fix merge conflicts 2018-08-09 15:58:02 -07:00
capabilities.js adjust streamDownload capability to exclude safari but not chrome 2018-09-04 13:05:11 -07:00
dragManager.js add fxA ui elements 2018-08-03 16:11:13 -07:00
ece.js make ece encrypt key extractable for Edge 2018-07-31 15:37:04 -07:00
experiments.js
fileManager.js added fxa auth to /ws 2018-08-31 14:30:50 -07:00
fileReceiver.js emit complete for blob downloads 2018-09-04 11:08:44 -07:00
fileSender.js added fxa auth to /ws 2018-08-31 14:30:50 -07:00
fxa.js Implemented FxA 2018-08-30 22:10:08 -07:00
keychain.js removed unused crypto functions 2018-09-04 10:41:45 -07:00
main.css hook multifile to ui 2018-08-03 16:10:00 -07:00
main.js Implemented FxA 2018-08-30 22:10:08 -07:00
metrics.js
ownedFile.js added fxa auth to /params 2018-08-31 11:43:56 -07:00
pasteManager.js add fxA ui elements 2018-08-03 16:11:13 -07:00
readme.md updated docs 2018-03-07 15:01:08 -08:00
serviceWorker.js minor serviceWorker tweaks to url matching and 302 redirects 2018-09-05 10:35:36 -07:00
storage.js Implemented FxA 2018-08-30 22:10:08 -07:00
streams.js Implemented multi-file upload/download 2018-07-27 16:40:52 -07:00
user.js Implemented FxA 2018-08-30 22:10:08 -07:00
utils.js Implemented FxA 2018-08-30 22:10:08 -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