summaryrefslogtreecommitdiff
path: root/src/node/handler/PadMessageHandler.js
AgeCommit message (Collapse)Author
2018-01-03Add settings to scroll on edition out of viewport (#3282)Joas Souza
* 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
2017-05-11Do not use cookie for pad shortcutsLuiza Pagliari
Users still cannot choose which shortcuts they want to enable/disable, so it does not make sense (yet) to have a cookie with that preference. This can be reverted once we create an UI to change shortcuts, but PLEASE PLEASE PLEASE do not read the cookie every time handleKeyEvent is called!!! This is an adjustment to #2891.
2017-04-04[feature] Create option to automatically reconnect after a few secondsLuiza Pagliari
On some erros that display a modal with "Force reconnect" button, allow Etherpad to automatically reload pad after a few seconds. Amount of seconds is defined on settings.json. Still need to create tests for this feature, and implement i18n.
2016-04-26Update socket.io to version 1.4.5Stefan
2015-12-17check for soffice before removing export pathsChris Birk
2015-11-26regex incoming colorsJohn McLear
2015-10-13Create setting to control if a new line will be indented or notLuiza Pagliari
Currently pressing ENTER on a line that ends with ':', '[', '(' or '{' automaticaly indents the new line with 4 spaces. The variable added by this commit to settings.json allow an Etherpad instance to not have this behavior.
2015-10-10Merge pull request #2730 from emilyxxie/clientready_hookStefan
added clientReady hook
2015-10-09if granularity is negative, endNum is negative and loopwebzwo0i
2015-10-09check if ChangesetRequest granularity is a number (#2796)webzwo0i
2015-08-15Fix API call appendChatMessage to send new message to all connected clientsStefan
2015-07-20clientReady hook- pass entire message, updated docEmily Xie
2015-06-24Check for valid session in handleUserInfoUpdateClark Boylan
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-19Allow a pad to only end with a single newline, rather than requiring two.Xavid
2015-05-20more read only mode fixes andadd support for handleMessageSecurity hookJohn McLear
2015-04-11session key is now ignored and also padOptions are available in settingsJohn McLear
2015-03-31Merge pull request #2530 from ↵John McLear
webzwo0i/exception-handling-for-mimatched-composition do not crash when encountering mismatched compositions. log the changese...
2015-03-03empty author should be allowed to support clearAuthorship functionalitywebzwo0i
2015-03-03- operator do not show up in the attribs of a pad, but authors could still ↵webzwo0i
leak to the pool
2015-03-03check author in = operatorwebzwo0i
2015-03-02print revision numbers - not changesets - in warn-logwebzwo0i
2015-03-02callback with argument error in async.series insteadwebzwo0i
2015-02-26do not crash when encountering mismatched compositions. log the changesets ↵webzwo0i
and padid
2015-01-24Stop processing a message without auth (i.e. a client did not sendwebzwo0i
CLIENT_READY)
2014-12-30Merge pull request #2406 from Gared/fix/author-not-set-callbackStefan
Fix missing callback of #2400 and ignore missing author on timeslider on client-side
2014-12-29Merge pull request #2091 from ↵John McLear
webzwo0i/disconnect-if-an-old-cs-is-submitted-twice disconnect client if it submits an already accepted changeset based on a...
2014-12-29fix sockets of switch to padJohn McLear
2014-12-29Merge branch 'switch-to-pad' of github.com:derosm2/etherpad-lite into localTestJohn McLear
2014-12-27Fix missing callback of #2400 and ignore missing author on timeslider on ↵Gared
client-side
2014-12-27Merge pull request #2404 from webzwo0i/sanity-in-atextJohn McLear
block changeset if it deletes more lines than exist in the whole pad
2014-12-27Prevent server crash if author is not setGared
2014-12-04wrap appendRevision in try-catch blockwebzwo0i
2014-11-30stop death on no sessionJohn McLear
2014-11-23more fixesJohn McLear
2014-11-22Merge pull request #2334 from luto/api-mystery-crashJohn McLear
fix api mystery crash
2014-11-22fix api mystery crashluto
2014-11-21missing socketio fixJohn McLear
2014-11-04whoops I missed this oneJohn McLear
2014-11-04working handling of setting client ip and anonymizing etcJohn McLear
2014-11-04fix author notification handlerJohn McLear
2014-11-04fix room client leaveJohn McLear
2014-11-04re-apply roomsizeJohn McLear
2014-11-04working messagesJohn McLear
2014-11-04Begin to repair damage done to rooms logicJohn McLear
2014-11-04more stuff required to stop it crashing, now we have identified what needs ↵John McLear
fixing we can fix it
2014-11-04identify which parts are causing issues and comment them out, obviously this ↵John McLear
needs fixing
2014-08-08Added a `userLeave` hook that gets called when a user leaves a padSimon Gaeremynck
2014-07-12Checking if the author for the sessions match instead of comparing the ↵Mike DeRosa
entire session.
2014-07-12Cleaning up switchToPad functionality so that we only need one call to the ↵Mike DeRosa
server("SWITCH_TO_PAD") instead of two (cleaning session info and client ready). Also Clearing chat messages when switchToPad is called in pad.js instead of having the server tell the client to clear the chat messages.
2014-06-14Added function to switch to a different pad without having to reload the ↵Mike DeRosa
whole page.