From a770910a3a7285be3e45a16255b078051c5afa26 Mon Sep 17 00:00:00 2001 From: johnyma22 Date: Wed, 17 Oct 2012 17:53:28 +0100 Subject: [PATCH 01/17] Add LibreJS Licensing information to headers of HTML templates --- src/templates/index.html | 23 +++++++++++++++++++++++ src/templates/pad.html | 24 +++++++++++++++++++++++- src/templates/timeslider.html | 27 ++++++++++++++++++++++++--- 3 files changed, 70 insertions(+), 4 deletions(-) diff --git a/src/templates/index.html b/src/templates/index.html index 4a45d6a54..a6e5123fa 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -2,6 +2,29 @@ Etherpad Lite + diff --git a/src/templates/pad.html b/src/templates/pad.html index 425e476d8..5cbae7aa5 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -3,8 +3,30 @@ %> - Etherpad Lite + diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index 469ddd94e..bc3c176be 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -1,11 +1,32 @@ +Etherpad Lite Timeslider + - - Etherpad Lite Timeslider - From 8199bf8377a110168a23dab1b8b074b722d18ffe Mon Sep 17 00:00:00 2001 From: Chia-liang Kao Date: Tue, 23 Oct 2012 15:21:05 +0800 Subject: [PATCH 02/17] Do not assume window object exists --- src/static/js/contentcollector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/contentcollector.js b/src/static/js/contentcollector.js index 6a75de43a..dd4fd1e54 100644 --- a/src/static/js/contentcollector.js +++ b/src/static/js/contentcollector.js @@ -311,7 +311,7 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class ['insertorder', 'first'] ].concat( _.map(state.lineAttributes,function(value,key){ - if (window.console) console.log([key, value]) + if (typeof(window)!= 'undefined' && window.console) console.log([key, value]) return [key, value]; }) ); From 526610e2e7a3d3ec687dc7ea8736081c7d69255b Mon Sep 17 00:00:00 2001 From: neurolit Date: Wed, 24 Oct 2012 19:48:13 +0200 Subject: [PATCH 03/17] =?UTF-8?q?Templates:=20relative=20links=20instead?= =?UTF-8?q?=20of=20absolute=20ones=20for=20/static=20directory=20=E2=80=A6?= =?UTF-8?q?irector?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two links were absolute ("/static/...") instead of relative ("../static"). The image was not loaded with sites behind reverse proxies and subdirectory. --- src/templates/pad.html | 2 +- src/templates/timeslider.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/pad.html b/src/templates/pad.html index 425e476d8..7e19535e5 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -233,7 +233,7 @@

Reestablishing connection...

-

+

Opened in another window.

diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index 469ddd94e..c7defcc00 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -83,7 +83,7 @@

Reestablishing connection...

-

+

Opened in another window.

From cb760aae5287a3cddbff31118194806323939a66 Mon Sep 17 00:00:00 2001 From: 0ip Date: Thu, 25 Oct 2012 14:37:41 +0300 Subject: [PATCH 04/17] Fix broken layout (Chrome Mobile) --- src/templates/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/templates/index.html b/src/templates/index.html index 4a45d6a54..b1d34eb4f 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -9,9 +9,11 @@