From d37608577792f66a7d663f2a645877b95b5c823c Mon Sep 17 00:00:00 2001
From: Tazzios <23451105+Tazzios@users.noreply.github.com>
Date: Sun, 18 Sep 2022 16:16:41 +0200
Subject: [PATCH 1/8] fix customfield page
When using jdownloads custom field page and search setting a page did not work. An empty search string was always given.
---
content_plugin/pdfviewer.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content_plugin/pdfviewer.php b/content_plugin/pdfviewer.php
index ccf8b9a..ce0be8a 100644
--- a/content_plugin/pdfviewer.php
+++ b/content_plugin/pdfviewer.php
@@ -137,7 +137,7 @@ public function onContentPrepare($context, &$article, &$params, $page = 0)
}
//get searchterm from tagparameters if not set yet and no page by url is given
- if (isset($tagparameters['search']) and $search =='' and isset($_GET["page"])==false) {
+ if ( $search =='' and isset($tagparameters['search']) and trim($tagparameters['search'],'"') <>'' and isset($_GET["page"])==false) {
$search = str_replace('%20', ' ' ,$tagparameters['search']); //replace dummy space
$search = trim($search);
$search = trim($search,'"'); // any combination of ' and "
From 5d17caf2774f737c2cb590d44e10ec99000cd1a7 Mon Sep 17 00:00:00 2001
From: Tazzios <23451105+Tazzios@users.noreply.github.com>
Date: Fri, 23 Sep 2022 13:56:52 +0200
Subject: [PATCH 2/8] Update README.md
update feature list
---
README.md | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index b8da7a5..0e83178 100644
--- a/README.md
+++ b/README.md
@@ -4,10 +4,16 @@ Compared to other existing pdfviewer for joomla this one is focused on integrati
## Features
-- Set pagenumber
+- Uses the pdf.js webviewer
+- Set pagenumber to open by tag or url.
- Joomla Highlight smartsearch integration
+- Set search by url.
+- Show the PDF file as Embedded, popup or in a new window
+- Customize height and width for each PDF embedding.
- Advanced jDownloads integration
-- Show a page as a image
+- Show one page as an image
+- Editor button
+
## Examples
From 705efec7cd5d1c8fb49fe3692fe282a2f15fbfe2 Mon Sep 17 00:00:00 2001
From: Tazzios <23451105+Tazzios@users.noreply.github.com>
Date: Sat, 24 Sep 2022 16:54:53 +0200
Subject: [PATCH 3/8] Update updates_plugin.xml
---
updates_plugin.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/updates_plugin.xml b/updates_plugin.xml
index 747f302..e1c02dc 100644
--- a/updates_plugin.xml
+++ b/updates_plugin.xml
@@ -7,7 +7,6 @@
pdfviewer
plugin
content
- pdfviewer
1.2.5
https://github.com/Tazzios/pdfviewer/releases
From 0392e2841f9a03b1073ed3271a6eb59aef105c94 Mon Sep 17 00:00:00 2001
From: Tazzios <23451105+Tazzios@users.noreply.github.com>
Date: Sat, 24 Sep 2022 18:54:15 +0200
Subject: [PATCH 4/8] Other demo website
Other demo website
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 0e83178..1ded809 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ Compared to other existing pdfviewer for joomla this one is focused on integrati
## Examples
-Demo website: http://marijqg132.132.axc.nl/demopdfviewer/
+Demo website: http://marijqg132.132.axc.nl/demo/
### basic article examples
From 6911127d91fd5d54f428dc048c200b8d61d58352 Mon Sep 17 00:00:00 2001
From: Tazzios <23451105+Tazzios@users.noreply.github.com>
Date: Sat, 24 Sep 2022 18:54:35 +0200
Subject: [PATCH 5/8] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 1ded809..edda75f 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ Compared to other existing pdfviewer for joomla this one is focused on integrati
## Examples
-Demo website: http://marijqg132.132.axc.nl/demo/
+Demo website: https://marijqg132.132.axc.nl/demo/
### basic article examples
From 70432f770da5367d03f44251d5bf12742e02f5fb Mon Sep 17 00:00:00 2001
From: Tazzios <23451105+Tazzios@users.noreply.github.com>
Date: Sun, 25 Sep 2022 09:53:33 +0200
Subject: [PATCH 6/8] Update README.md
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index edda75f..f8c85bd 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?business=SAT23GPU7F6AS&no_recurring=1¤cy_code=EUR)
+
# Pdfviewer
PDFviewer is a joomla content plugin which make it possible to show pdf files in content based on https://github.com/mozilla/pdf.js.
Compared to other existing pdfviewer for joomla this one is focused on integration with jDownloads and searching.
From 50a432da9e86a6b1df8c6cdf464249b138480e35 Mon Sep 17 00:00:00 2001
From: Tazzios <23451105+Tazzios@users.noreply.github.com>
Date: Mon, 26 Sep 2022 11:25:41 +0200
Subject: [PATCH 7/8] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index f8c85bd..9a9971f 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ Compared to other existing pdfviewer for joomla this one is focused on integrati
## Examples
-Demo website: https://marijqg132.132.axc.nl/demo/
+[Demo website](https://marijqg132.132.axc.nl/demo/)
### basic article examples
From de1db74b2b16d28a4abf2aa61222789df8a0bad5 Mon Sep 17 00:00:00 2001
From: Tazzios <23451105+Tazzios@users.noreply.github.com>
Date: Fri, 30 Sep 2022 16:35:48 +0200
Subject: [PATCH 8/8] Update Changelog.md
text layout
---
Changelog.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Changelog.md b/Changelog.md
index d7b9785..3ecd18a 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,6 +1,6 @@
-V1.2.5 agustus 2022
-Content plugin
+V1.2.5 agustus 2022
+Content plugin
Update: PDFjs to v2.15.349
V1.2.5 oct 2021