etherpad-lite/src/node
Richard Hansen ef7ae15722 PadMessageHandler: Don't send USER_NEWINFO about unknown authors
When a new client opens a socket.io connection and sends a
CLIENT_READY message, Etherpad sends the new client a bunch of
USER_NEWINFO messages, one per other user already connected to the
pad. When iterating over the other users, filter out those without an
author ID or missing from the global authors database.
2020-11-26 15:00:46 +00:00
..
db lint: Run eslint --fix on src/ 2020-11-24 20:06:12 +00:00
eejs lint: Run eslint --fix on src/ 2020-11-24 20:06:12 +00:00
handler PadMessageHandler: Don't send USER_NEWINFO about unknown authors 2020-11-26 15:00:46 +00:00
hooks lint: Run eslint --fix on src/ 2020-11-24 20:06:12 +00:00
utils Minify: Accept single quotes in ace.js's $$INCLUDE_*(...) lines (#4513) 2020-11-25 03:40:02 +01:00
easysync_tests.js lint: Run eslint --fix on src/ 2020-11-24 20:06:12 +00:00
padaccess.js lint: Run eslint --fix on src/ 2020-11-24 20:06:12 +00:00
README.md minor typo fix 2019-08-08 21:58:30 +02:00
server.js lint: Run eslint --fix on src/ 2020-11-24 20:06:12 +00:00
stats.js lint: Run eslint --fix on src/ 2020-11-24 20:06:12 +00: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