etherpad-lite/src/node
Richard Hansen 4d498725c7 SessionStore: Improve cookie expiration check
* Don't mutate `sess.cookie.expires`.
  * Allow `sess.cookie` to be nullish.
  * Always compare `Date` objects.
2022-01-17 18:17:40 -05:00
..
db SessionStore: Improve cookie expiration check 2022-01-17 18:17:40 -05:00
eejs lint: eejs/index.js 2021-02-21 21:06:38 -05:00
handler PadMessageHandler: Allow handleMessageSecurity to grant one-time write access 2021-12-21 17:23:56 -05:00
hooks express: Move preAuthorize hook after express-session 2022-01-14 00:44:54 -05:00
utils promises: Add a comment explaining a subtlety in Gate 2022-01-02 18:57:44 -05: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 promises: Move Gate from server.js (to enable reuse) 2022-01-02 18:57:44 -05: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