send/app
2018-11-05 15:56:59 -08:00
..
ui fixed filename word-break 2018-11-05 15:46:49 -08: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
capabilities.js disable capabilities.account when no FXA_CLIENT_ID is set 2018-09-19 12:54:27 -07:00
dragManager.js removed unused code 2018-11-01 10:44:47 -07:00
ece.js
experiments.js
fileManager.js styled dl password input a bit 2018-11-01 10:44:46 -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 fixed filename word-break 2018-11-05 15:46:49 -08:00
main.js removed unused code 2018-11-01 10:44:47 -07:00
metrics.js
ownedFile.js added fxa auth to /params 2018-08-31 11:43:56 -07:00
pasteManager.js added password to upload form 2018-11-01 10:44:45 -07:00
readme.md
routes.js style updated for chrome 2018-11-05 15:00:35 -08: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 log out when the auth token is expired 2018-11-05 15:56:59 -08: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