send/app
2020-07-28 08:23:59 -07:00
..
ui add copyright link to bare /report page 2020-07-26 10:04:50 -07:00
.eslintrc.yml
api.js added hmac auth to report route 2020-07-25 15:36:29 -07:00
archive.js
capabilities.js
controller.js added hmac auth to report route 2020-07-25 15:36:29 -07:00
crc32.js fixed local without fxa 2020-07-28 08:23:59 -07:00
dragManager.js
ece.js remove browser dependency on "buffer" 2020-07-27 19:23:03 -07:00
experiments.js
fileReceiver.js added hmac auth to report route 2020-07-25 15:36:29 -07:00
fileSender.js
fxa.js remove browser dependency on "buffer" 2020-07-27 19:23:03 -07:00
keychain.js
locale.js
main.css Begin implementing a reporting mechanism 2020-07-24 08:32:43 -07:00
main.js
metrics.js
ownedFile.js
pasteManager.js
readme.md
routes.js refactored storage, style tweaks 2020-07-25 11:25:55 -07:00
serviceWorker.js added hmac auth to report route 2020-07-25 15:36:29 -07:00
storage.js
streams.js
user.js fixed local without fxa 2020-07-28 08:23:59 -07:00
utils.js remove browser dependency on "buffer" 2020-07-27 19:23:03 -07:00
zip.js remove browser dependency on "buffer" 2020-07-27 19:23:03 -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.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