* Etherpad lite installed by hand in /home/etherpadlite and run by /etc/init.d/etherpad-lite
** http://foo.fixme.ch:9001/ or http://62.220.135.248:9001
*== Cosmetic ==* Modification of the file ''/home/etherpadlite/etherpad-lite/static/js/pad.js'' 96-102 so it's Monospace font by default (didn't find a better working way), editing ''static/custom/pad.js'' with ''pad.changeViewOption('useMonospaceFont', true);'' doesn't work.*<syntaxhighlight lang="diff">diff --git a/static/js/pad.js b/static/js/pad.jsindex bda6895..4d2e4e9 100644--- a/static/js/pad.js+++ b/static/js/pad.js@@ -93,13 +93,13 @@ function getParams() settings.LineNumbersDisabled = true; } }- if(useMonospaceFont)- {- if(useMonospaceFont == "true")- {+ //if(useMonospaceFont)+ //{+ // if(useMonospaceFont == "true")+ // { settings.useMonospaceFontGlobal = true;- }- }+ // }+ //} if(userName) { // If the username is set as a parameter we should set a global value that we can call once we have initiated the pad.diff --git a/static/pad.html b/static/pad.htmlindex 4c6d4d8..1318257 100644--- a/static/pad.html+++ b/static/pad.html@@ -1,7 +1,7 @@ <!doctype html> <html> - <title>Etherpad Lite</title>+ <title>FIXME Etherpad Lite</title> <meta charset="utf-8"> <meta name="robots" content="noindex, nofollow">@@ -276,4 +276,4 @@ }()); </script> -</html>\ No newline at end of file+</html></syntaxhighlight> == IPv6 and SSL ==* IPv6 doesn't work out of the box*** Considering patching etherpad-lite to use ipv6 as well*** Use a reverse-proxy** SSL was not working, patched /home/etherpadlite/etherpad-lite/node/server.js line 81.** Here is the ugly patch, considering using a proxy
<syntaxhighlight lang="diff">
diff --git a/node/server.js b/node/server.js
+}
+
diff --git a/static/js/pad.js b/static/js/pad.js
index bda6895..4d2e4e9 100644
--- a/static/js/pad.js
+++ b/static/js/pad.js
@@ -93,13 +93,13 @@ function getParams()
settings.LineNumbersDisabled = true;
}
}
- if(useMonospaceFont)
- {
- if(useMonospaceFont == "true")
- {
+ //if(useMonospaceFont)
+ //{
+ // if(useMonospaceFont == "true")
+ // {
settings.useMonospaceFontGlobal = true;
- }
- }
+ // }
+ //}
if(userName)
{
// If the username is set as a parameter we should set a global value that we can call once we have initiated the pad.
diff --git a/static/pad.html b/static/pad.html
index 4c6d4d8..1318257 100644
--- a/static/pad.html
+++ b/static/pad.html
@@ -1,7 +1,7 @@
<!doctype html>
<html>
- <title>Etherpad Lite</title>
+ <title>FIXME Etherpad Lite</title>
<meta charset="utf-8">
<meta name="robots" content="noindex, nofollow">
@@ -276,4 +276,4 @@
}());
</script>
-</html>
\ No newline at end of file
+</html>
</syntaxhighlight>