pad.libre-service.eu-etherpad/src/node
Richard Hansen 250e932f59 webaccess: Enforce creation of req.session.user by authn plugins
The authorization logic determines whether the user has already
successfully authenticated by looking to see if `req.session.user`
exists. If an authentication plugin says that it successfully
authenticated the user but it did not create `req.session.user` then
authentication will re-run for every access, and authorization plugins
will be unable to determine whether the user has been authenticated.
Return a 500 internal server error to prevent these problems.
2020-09-15 19:26:14 +01:00
..
db security: Check authentication in SecurityManager checkAccess 2020-09-15 10:43:23 +01:00
eejs pluginfw/performance: Dont cache if max age is 0 (#4098) 2020-06-08 17:21:55 +01:00
handler PadMessageHandler: Move code out of unnecessary closure 2020-09-15 19:23:48 +01:00
hooks webaccess: Enforce creation of req.session.user by authn plugins 2020-09-15 19:26:14 +01:00
utils packaging: remove pad_docbar.js (#4286) 2020-09-13 19:01:28 +01:00
easysync_tests.js Revert "51c14d994756e60333b0b60eccb7255cf0c86461 changed the return value of" 2015-02-16 06:22:49 +01:00
padaccess.js security: Check authentication in SecurityManager checkAccess 2020-09-15 10:43:23 +01:00
README.md minor typo fix 2019-08-08 21:58:30 +02:00
server.js plugins: Move plugin definitions to avoid monkey patching 2020-09-08 00:50:24 +01: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