pad.libre-service.eu-etherpad/src/node
Sebastian Castro 95fd5ce2a4 assets: add random string to query string to bust cache on restart and deploys
After each Eterpad restart, the clients will request a new version of the
static assets, even if they are not modified. This is the price we pay for
knowing that no stale files are going to be served ever again. We could also
have used a salted hash of the Etherpad version, but we chose the simpler way.

For the rationale behind using a random string at each restart, see #3958.

ACHTUNG: this may prevent caching HTTP proxies to work.

Closes #3955.
2020-05-13 18:58:26 +02:00
..
db pad.js: wait write callback instead of buffer callback 2020-04-26 04:14:19 +02:00
eejs use latest ejs 2015-04-11 09:53:27 +01:00
handler pad.html: UI telling the user that a contribution is required before importing 2020-04-22 21:12:49 +02:00
hooks tests: avoid ERR_TOO_MANY_REDIRECTS on frontend tests under Windows 2020-04-20 01:48:23 +02:00
utils assets: add random string to query string to bust cache on restart and deploys 2020-05-13 18:58:26 +02:00
easysync_tests.js Revert "51c14d994756e60333b0b60eccb7255cf0c86461 changed the return value of" 2015-02-16 06:22:49 +01:00
padaccess.js access controls: promisification 2019-01-23 16:29:36 +00:00
README.md minor typo fix 2019-08-08 21:58:30 +02:00
server.js runtime: require node >= 10.13.0 LTS 2020-04-09 04:43:37 +02:00
stats.js node8: we no longer need to use a shim for Object.values in stats.js 2019-02-19 22:01:12 +01:00

About the folder structure

  • db - all modules that are accessing the data structure and are communicating directly to the database
  • handler - all modules that respond directly to requests/messages of the browser
  • utils - helper modules

Module name conventions

Module file names start with a capital letter and uses camelCase

Where does it start?

server.js is started directly