send/app
2018-11-01 10:43:43 -07:00
..
pages wip 2018-11-01 10:43:14 -07:00
templates wip 2018-11-01 10:43:14 -07:00
ui a new approach for the ui 2018-11-01 10:43:43 -07:00
.eslintrc.yml
api.js fixed getFileList when the response isn't OK 2018-09-24 12:23:46 -07:00
archive.js a new approach for the ui 2018-11-01 10:43:43 -07:00
base.css wip 2018-11-01 10:43:14 -07:00
capabilities.js disable capabilities.account when no FXA_CLIENT_ID is set 2018-09-19 12:54:27 -07:00
dragManager.js a new approach for the ui 2018-11-01 10:43:43 -07:00
ece.js make ece encrypt key extractable for Edge 2018-07-31 15:37:04 -07:00
experiments.js
fileManager.js a new approach for the ui 2018-11-01 10:43:43 -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 PKCE auth (#921) 2018-09-14 11:00:33 -04:00
keychain.js removed unused crypto functions 2018-09-04 10:41:45 -07:00
main.css a new approach for the ui 2018-11-01 10:43:43 -07:00
main.js a new approach for the ui 2018-11-01 10:43:43 -07:00
metrics.js
ownedFile.js added fxa auth to /params 2018-08-31 11:43:56 -07:00
pasteManager.js improved paste to handle text and pasted file's names 2018-10-01 17:46:09 -07:00
readme.md
routes.js a new approach for the ui 2018-11-01 10:43:43 -07:00
serviceWorker.js stubbed in modal dialog 2018-09-13 10:37:52 -07:00
storage.js Implemented FxA 2018-08-30 22:10:08 -07:00
streams.js
user.js removed keys_jwe from local storage 2018-10-08 11:16:06 -07:00
utils.js a new approach for the ui 2018-11-01 10:43:43 -07:00
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/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