pad.libre-service.eu-etherpad/src/node
Clark Boylan 1060595676 Check for valid session in handleUserInfoUpdate
Address issue 2674 by checking that the session is valid and has a valid
author and padId before using it to update the userInfo for that
session. Otherwise it is possible that by the time we try to update a
session with new userInfo that session has disconnected and is no longer
available to be updated. Without this commit the etherpad-lite service
gracefully shutsdown whenever this happens.
2015-06-24 15:18:35 -07:00
..
db Add an 'author' entry to the context for the padCreate and padUpdate hooks. 2015-06-21 11:29:17 -04:00
eejs use latest ejs 2015-04-11 09:53:27 +01:00
handler Check for valid session in handleUserInfoUpdate 2015-06-24 15:18:35 -07:00
hooks other bits required for read only 2015-05-19 16:57:53 +01:00
utils Do not extend Array.prototype 2015-05-22 12:27:08 +02:00
easysync_tests.js Revert "51c14d994756e60333b0b60eccb7255cf0c86461 changed the return value of" 2015-02-16 06:22:49 +01:00
padaccess.js Use the cookie parser middleware 2015-05-07 18:35:21 +01:00
README.md Merge branch 'pita' 2012-03-02 22:00:20 +01:00
server.js show versions of plugins at startup, fixes #2642 2015-04-28 23:41:55 +01:00
stats.js Record metrics with 'measured' 2013-10-27 17:42:55 +01:00

About the folder structure

  • db - all modules that are accesing the data structure and are communicating directly to the database
  • handler - all modules that responds 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