pad.libre-service.eu-etherpad/src/node/utils
muxator 631b23f7a2 utils/AbsolutePaths.js: do not break when running as a Windows manual install
A Windows manual install has the same directory layout of a normal Unix one
(e.g. the nice symlink node_modules/ep_etherpad-lite -> ../src).
Only when running from the pre-built Windows package the directory layout is
different (e.g. src is physically copied into node_modules/ep_etherpad-lite).
The previous version of the code wrongly assumed that all Windows installs would
be run from the pre-built pakage.

In this version the path search is the same on all platform. If it fails, and we
are on Windows, there is a fallback for the specific case of the pre-built
package.

Fixes #3550
2019-02-11 03:28:02 +01:00
..
Abiword.js logs: on the server, use template literals when possible 2018-08-27 01:29:37 +02:00
AbsolutePaths.js utils/AbsolutePaths.js: do not break when running as a Windows manual install 2019-02-11 03:28:02 +01:00
caching_middleware.js deprecations: get rid of DEP0005 about Buffer() 2018-08-14 19:45:03 +02:00
Cli.js remove -k argument as it is currently for both sessionkey and apikey 2018-08-09 19:42:14 +02:00
customError.js The Big Renaming - etherpad is now an NPM module 2012-02-26 13:07:51 +01:00
ExportEtherpad.js upgrade to 1.6.5 2018-04-24 12:25:56 +03:00
ExportHelper.js fix bug for getPadPlainText 2018-08-11 11:02:20 -03:00
ExportHtml.js merge with ether/etherpad-lite develop branch 2018-05-21 16:18:40 +03:00
ExportTxt.js Remove unused parameter noDocType. 2016-09-08 09:46:13 -07:00
ImportEtherpad.js make setPadRaw async; streamline .etherpad file import handling chain 2015-04-11 12:02:19 -05:00
ImportHtml.js Fix backend tests with new setText() implementation; tests depended 2015-05-06 08:45:22 -04:00
LibreOffice.js LibreOffice: add debugging log statements 2018-11-01 00:22:27 +01:00
Minify.js Fix misparse of port when binding Unix socket 2018-08-10 01:57:30 +02:00
NodeVersion.js NodeVersion.js: factor out require('semver') 2019-02-08 19:10:49 +01:00
padDiff.js add try-catch clause around calls to applyToAText 2015-02-16 09:01:30 +01:00
path_exists.js Fixed path check 2016-06-20 00:22:29 +02:00
randomstring.js fix randomstring 2014-01-24 01:19:14 +01:00
RemoteAddress.js working handling of setting client ip and anonymizing etc 2014-11-04 23:25:18 +00:00
Settings.js settings: reword some log messages 2018-08-27 01:56:33 +02:00
tar.json swap out jquery browser for bower but expose browser object to all pages also enable minification.. Seems to work well 2014-11-22 19:11:35 +00:00
TidyHtml.js Using log4js in TidyHtml 2015-05-18 17:43:46 +01:00
toolbar.js toolbar: missing var declaration 2018-08-27 01:34:01 +02:00