goxlur 6520d71faa Fix page scroll overflow 3 years ago
..
ui 1520942ac9 Fix UI error after upload when share link is too long 3 years ago
.eslintrc.yml 53e822964e a few changes to make A/B testing easier 7 years ago
api.js a0bc20aeb6 Remove metrics #4 4 years ago
archive.js 1a923d21b5 Add DEFAULT_DOWNLOADS variable to set default download count 3 years ago
capabilities.js 3631bc8f39 restrict "share" to mobile, fixes #1505 4 years ago
controller.js 3e07f648b3 Merge branch 'remove-fxa-dialog-on-big-file' into 'master' 4 years ago
dragManager.js 74d8a12c07 fixes #1013. dragging page elements 6 years ago
ece.js 7f9674f494 fixed size limit on server to include crypto overhead 6 years ago
experiments.js 23ecb632eb added signin button color experiment. closes #1306 (#1320) 5 years ago
fileReceiver.js b9292abefe fix: remove iOS saveFile workaround #20 3 years ago
fileSender.js 96c750c098 added size and duration to connection error reporting 5 years ago
fxa.js 6cc12528b3 fixed some old TODOs 6 years ago
keychain.js 29f243fdda removed old encryption key implementation 6 years ago
locale.js c80f9ada65 updated deps 5 years ago
main.css 6520d71faa Fix page scroll overflow 3 years ago
main.js 1a923d21b5 Add DEFAULT_DOWNLOADS variable to set default download count 3 years ago
ownedFile.js 0c458e180c error if file from localStorage is old (no manifest) 6 years ago
pasteManager.js 7710cf98e9 fixed paste email bug 6 years ago
qrcode.js 0e17cd567c Update qrcode snippet 3 years ago
readme.md e77fea09bc Fixes link to routes file 5 years ago
routes.js 84da34169d Create static robots.txt file, remove dynamic route 3 years ago
serviceWorker.js f64e772145 added hmac auth to report route 4 years ago
storage.js 23ecb632eb added signin button color experiment. closes #1306 (#1320) 5 years ago
streams.js f036df5f47 updated eslint config 5 years ago
user.js 15d37da667 Remove obsolete anonymous limits 3 years ago
utils.js 3631bc8f39 restrict "share" to mobile, fixes #1505 4 years ago
zip.js 7f13d4d9b6 fixed incorrect uncompressed size in zip 6 years ago

readme.md

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