send/app
2022-08-11 23:06:47 +02:00
..
ui Merge branch 'timvisee:master' into master 2022-08-11 23:06:47 +02:00
.eslintrc.yml Update eslint & plugins 2022-08-09 15:26:25 +00:00
api.js Remove metrics #4 2021-03-15 19:56:51 +01:00
archive.js Add DEFAULT_DOWNLOADS variable to set default download count 2021-06-04 14:03:58 +02:00
capabilities.js Remove some polyfills 2022-08-09 15:17:38 +00:00
controller.js Merge branch 'remove-fxa-dialog-on-big-file' into 'master' 2021-03-15 20:15:27 +00:00
dragManager.js
ece.js Remove some polyfills 2022-08-09 15:17:38 +00:00
experiments.js Add ability to change the branding 2022-05-02 13:38:16 +02:00
fileReceiver.js fix: remove iOS saveFile workaround #20 2021-07-08 23:05:39 +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 Update fluent 2022-07-26 11:03:10 +00:00
main.css Fix stylelint errors 2022-08-09 09:12:32 +00:00
main.js Further dependency cleanup 2022-08-09 15:37:16 +00:00
ownedFile.js
pasteManager.js
qrcode.js Update qrcode snippet 2021-07-08 21:20:27 +02:00
readme.md Fixes link to routes file 2019-11-12 19:09:07 +01:00
routes.js Create static robots.txt file, remove dynamic route 2021-05-19 16:00:58 +02:00
serviceWorker.js added hmac auth to report route 2020-10-16 15:50:36 +02:00
storage.js Update eslint & plugins 2022-08-09 15:26:25 +00:00
streams.js Update eslint & plugins 2022-08-09 15:26:25 +00:00
user.js Remove obsolete anonymous limits 2021-04-12 15:19:02 +02:00
utils.js Remove some polyfills 2022-08-09 15:17:38 +00:00
zip.js Fix garbled filenames on Windows with ZIP files due to missing UTF-8 flag 2022-03-04 16:48:58 +01: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