etherpad-lite/src/node
Joas Souza f1fcd16894 Add settings to scroll on edition out of viewport (#3282)
* Add scroll when it edits a line out of viewport

By default, when there is an edition of a line, which is out of the
viewport, Etherpad scrolls the minimum necessary to make this line
visible. This makes that the line stays either on the top or the bottom
of the viewport. With this commit, we add a setting to make possible to
scroll to a position x% pixels from the viewport. Besides of that, we
add a setting to make an animation of this scroll.
If nothing is changed on settings.json the Etherpad default behavior is
kept
2018-01-03 19:57:28 -02:00
..
db fix typo 2017-07-10 20:59:08 +02:00
eejs use latest ejs 2015-04-11 09:53:27 +01:00
handler Add settings to scroll on edition out of viewport (#3282) 2018-01-03 19:57:28 -02:00
hooks Catch SIGTERM for graceful shutdown (#3266) 2017-11-04 19:59:19 -02:00
utils Add settings to scroll on edition out of viewport (#3282) 2018-01-03 19:57:28 -02:00
easysync_tests.js Revert "51c14d9947 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 whoops 2015-12-02 12:10:25 +00: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