summaryrefslogtreecommitdiff
path: root/src/node/utils
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-07-05Fetch credentials arg from CLIPatrick Easters
2017-05-11[fix] Have one setting for each shortcut to create ordered listLuiza Pagliari
This is an adjustment to #2891.
2017-05-11[fix] Fix shortcut enabling flag for 'ESC'Luiza Pagliari
This is an adjustment to #2891.
2017-05-11Merge pull request #2891 from bhldev/padShortcutDisableLuiza Pagliari
Added pad shortcut disabling feature to settings.json
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.
2017-02-07Refactor codejoassouza
2017-02-07Fix minification of codejoassouza
2016-09-09Handle relative paths properly, when `@import`ing.Dan Bornstein
2016-09-09Handle `@import` during CSS minification.Dan Bornstein
This meant plumbing a callback through to `compressCSS()`, which meant that I had to alter the innards of `getFileCompressed()`. I tried to leave that function looking more understandable than when I found it; for example, I flattened out the nested `if`. I went ahead and upgraded the version of `clean-css` while I was in the territory.
2016-09-08Remove unused parameter `noDocType`.Dan Bornstein
My editor also auto-stripped some EOL whitespace.
2016-09-08Remove the `noDocType` argument, which was only ever passed as `false`.Dan Bornstein
2016-08-24Use an EEJS template for HTML export instead of inlining it in the JS code.Dan Bornstein
The semantics of all the substitutions are identical to what they were before. I _did_ take the liberty of formatting the CSS to be a bit more readable (at the cost of adding a little bit of whitespace).
2016-06-20Fixed path checkStefan
2016-06-13Merge pull request #2991 from LokeshN/deactivate-settingsJohn McLear
Issue #2960 - deactivate settings.json
2016-05-22Issue #2960 - deactivate settings.jsonLokeshN
Deactivate settings.json in Admin dashboard
2016-05-16Use fs.statSync instead of fs.existsSync (deprecated)Stefan
2016-04-09include the padIdJohn McLear
2016-01-21Added pad shortcut disabling featureBrian Lim
2015-12-17check for soffice before removing export pathsChris Birk
2015-12-02working logicJohn McLear
2015-11-03Create hook exportHtmlAdditionalTagsWithDataLuiza Pagliari
The new hook does the same as exportHtmlAdditionalTags, but is declared in another hook to avoid confusion about how to export tags when they are stored as ['tag', 'value'] on attribute pool. This complements #2762, as per @Gared suggestions.
2015-10-22Merge pull request #2798 from ypid/fixed_get_git_hashJohn McLear
Get git commit hash even if the repo only points to a bare repo.
2015-10-22Merge pull request #2805 from storytouch/indentationSettingJohn McLear
Create setting to control if a new line will be indented or not
2015-10-22Use `Etherpad` rather than `Etherpad Lite` when exporting HTMLSimon Gaeremynck
2015-10-20Allow LibreOffice to be used when exporting a padSimon Gaeremynck
This commit adds support for LibreOffice when exporting a pad to doc, pdf, .. This commit also cleans up some export logic when exporting to txt
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-07Get git commit hash even if the repo only points to a bare repo.Robin Schneider
* Used by https://github.com/debops/ansible-etherpad
2015-09-17Fixing ed52626. It was closing the span with </span data-TAG=VALUE>, not </span>Luiza Pagliari
2015-09-07Generating pad HTML with tags like <span data-TAG="VALUE"> instead of ↵Luiza Pagliari
<TAG:VALUE>
2015-08-24Accepting Arrays on 'exportHtmlAdditionalTags' to handle attributes stored ↵Luiza Pagliari
as ['key', 'value'] (and not only ['key', 'true'])
2015-08-03Fix link to etherpad-lite on GitHubThomas Russell Murphy
2015-05-22Do not extend Array.prototypeStéphane Alnet
2015-05-22use removeItem instead of remove namespaceJohn McLear
2015-05-19Merge branch 'develop' of github.com:ether/etherpad-lite into developJohn McLear
2015-05-19dont show editing buttons in R/O viewJohn McLear
2015-05-18Using log4js in TidyHtmlSimon Gaeremynck
2015-05-18Tidy HTML before trying to convert it with abiwordSimon Gaeremynck
2015-05-06Fix backend tests with new setText() implementation; tests dependedXavid
on the old setText() behavior leaving the last character.
2015-04-15revert to old path handling, but strip out "..". fixes #2614Tom Hunkapiller
2015-04-12dont allow directory traversal #2louis
2015-04-11Merge pull request #2604 from ether/pad-optionsJohn McLear
session key is now ignored and also padOptions are available in settings
2015-04-11merge object settings into default settingsPeter 'Pita' Martischka
2015-04-11session key is now ignored and also padOptions are available in settingsJohn McLear
2015-04-11Merge pull request #2602 from devoidfury/fix/import-large-etherpadJohn McLear
fix large etherpad import, fixes #2524
2015-04-11make setPadRaw async; streamline .etherpad file import handling chainTom Hunkapiller
2015-04-11Move sessionKey setting from settings.json to SESSIONKEY.txtStefan
2015-04-11Log version number and git-sha on server startStefan
2015-04-10Add version number to plugins-info pageStefan
2015-04-10dont allow directory traversalJohn McLear