pad.libre-service.eu-etherpad/src/node
Richard Hansen c83bb058d1 PadMessageHandler: Fix stats null dereference
It is possible for the stats to be read before the
`expressCreateServer` hook is called (in particular: when there is an
error during startup), which is when the `socketio` variable is set.
Check for non-null `socketio` before attempting to count the number of
socket.io connections.
2021-07-22 13:07:03 -04:00
..
db lint: Fix straightforward ESLint errors 2021-05-12 11:26:35 +02:00
eejs lint: eejs/index.js 2021-02-21 21:06:38 -05:00
handler PadMessageHandler: Fix stats null dereference 2021-07-22 13:07:03 -04:00
hooks tests: Send frontend test spec list as JSON 2021-06-05 03:51:06 -04:00
utils tests: Add tests for settings.json parsing 2021-06-06 14:00:52 -04:00
easysync_tests.js lint: Fix straightforward ESLint errors 2021-05-12 11:26:35 +02:00
padaccess.js padaccess: Delete useless try/catch 2021-04-12 22:51:06 -04:00
README.md minor typo fix 2019-08-08 21:58:30 +02:00
server.js deps: Drop support for Node.js < 12.13.0 2021-06-14 23:17:17 +02:00
stats.js lint: Fix some straightforward ESLint errors 2020-12-23 16:18:28 -05: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