send/app
2021-01-27 13:34:26 +01:00
..
ui Fix footer, properly layout no affiliation notice on small screens 2021-01-27 13:34:26 +01:00
.eslintrc.yml
api.js added hmac auth to report route 2020-10-16 15:50:36 +02:00
archive.js
capabilities.js restrict "share" to mobile, fixes #1505 2020-10-16 15:52:22 +02:00
controller.js query selector fix + revert favicon in case of cancel and complete 2020-10-18 15:31:21 +02:00
dragManager.js
ece.js
experiments.js added signin button color experiment. closes #1306 (#1320) 2019-05-03 13:10:56 -04:00
fileReceiver.js added hmac auth to report route 2020-10-16 15:50:36 +02:00
fileSender.js added size and duration to connection error reporting 2019-08-08 09:52:22 -07:00
fxa.js
keychain.js removed old encryption key implementation 2019-04-11 10:24:29 -07:00
locale.js updated deps 2019-07-29 15:26:11 -07:00
main.css Fix footer, properly layout no affiliation notice on small screens 2021-01-27 13:34:26 +01:00
main.js Add missing global variable to linter configuration to fix lint test 2021-01-27 00:30:44 +01:00
metrics.js added size and duration to connection error reporting 2019-08-08 09:52:22 -07:00
ownedFile.js
pasteManager.js
qrcode.js added qr code to copyDialog 2020-10-16 18:16:14 +02:00
readme.md Fixes link to routes file 2019-11-12 19:09:07 +01:00
routes.js Remove legal page, add no affiliation text in footer 2021-01-09 19:14:42 +01:00
serviceWorker.js added hmac auth to report route 2020-10-16 15:50:36 +02:00
storage.js added signin button color experiment. closes #1306 (#1320) 2019-05-03 13:10:56 -04:00
streams.js updated eslint config 2019-08-02 12:03:53 -07:00
user.js minor style tweaks and refresh token fixes 2020-10-16 15:47:46 +02:00
utils.js restrict "share" to mobile, fixes #1505 2020-10-16 15:52:22 +02:00
zip.js fixed incorrect uncompressed size in zip 2019-03-16 09:19:28 -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