etherpad-lite/src/node
John McLear c9d55c81a3 import/export: always rate limit import and exports
This is a departure from previous versions, which did not limit import/export
requests. Now such requests are ALWAYS rate limited. The default is 10 requests
per IP each 90 seconds, and also applies to old instances upgraded to 1.8.3.

Administrators can tune the parameters via settings.importExportRateLimiting.
2020-04-14 03:36:13 +02:00
..
db PadManager: use a set instead of an array in padlist 2020-04-09 03:39:32 +02:00
eejs use latest ejs 2015-04-11 09:53:27 +01:00
handler import: introduce importMaxFileSize setting. Defaults to 50 MB 2020-04-14 03:36:13 +02:00
hooks import/export: always rate limit import and exports 2020-04-14 03:36:13 +02:00
utils import/export: always rate limit import and exports 2020-04-14 03:36:13 +02:00
easysync_tests.js Revert "51c14d9947 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