From ddb761779c4644671131cfca8b5cbcaaf3649317 Mon Sep 17 00:00:00 2001 From: Md Siddiqur Rahman Date: Wed, 1 Dec 2021 15:19:43 +0600 Subject: [PATCH 01/10] update version --- .../components/com_speasyimagegallery/speasyimagegallery.xml | 2 +- .../components/com_speasyimagegallery/sql/updates/2.0.3.sql | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 administrator/components/com_speasyimagegallery/sql/updates/2.0.3.sql diff --git a/administrator/components/com_speasyimagegallery/speasyimagegallery.xml b/administrator/components/com_speasyimagegallery/speasyimagegallery.xml index acd0a84..aaec52a 100644 --- a/administrator/components/com_speasyimagegallery/speasyimagegallery.xml +++ b/administrator/components/com_speasyimagegallery/speasyimagegallery.xml @@ -7,7 +7,7 @@ http://www.joomshaper.com @JoomShaper 2010 - 2021. All rights reserved. GNU General Public License version 2 or later - 2.0.3 + 2.0.2 A simple image gallery component for Joomla. installer.script.php diff --git a/administrator/components/com_speasyimagegallery/sql/updates/2.0.3.sql b/administrator/components/com_speasyimagegallery/sql/updates/2.0.3.sql deleted file mode 100644 index b6dd42d..0000000 --- a/administrator/components/com_speasyimagegallery/sql/updates/2.0.3.sql +++ /dev/null @@ -1 +0,0 @@ --- v2.0.3 \ No newline at end of file From 45cfaee0b9b0e63ecff23f2f33f265916aa44ada Mon Sep 17 00:00:00 2001 From: Md Siddiqur Rahman Date: Wed, 1 Dec 2021 15:20:40 +0600 Subject: [PATCH 02/10] update gulpfile --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index ef8217c..46ff807 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -9,7 +9,7 @@ const config = { buildPath: './dist/component/', rootPath: './dist/', componentName: 'speasyimagegallery', - com_package_name: 'com_speasyimagegallery_fullpackage_v2.0.3.zip', + com_package_name: 'com_speasyimagegallery_fullpackage_v2.0.2.zip', moduleExts: ['xml','php','js','css','jpg','png','gif','ttf','otf','woff','woff2','svg','eot'] } From 9828e6a36ea15d6e4094098482daa207d301fd88 Mon Sep 17 00:00:00 2001 From: sanjana4khan Date: Fri, 17 Jun 2022 12:57:38 +0600 Subject: [PATCH 03/10] =?UTF-8?q?Fix(=F0=9F=94=A7)=20:=20Function=20parame?= =?UTF-8?q?ter=20wont=20accept=20default=20value=20in=20php=208?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com_speasyimagegallery/helpers/speasyimagegallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_speasyimagegallery/helpers/speasyimagegallery.php b/administrator/components/com_speasyimagegallery/helpers/speasyimagegallery.php index 4cfcf8b..703af7c 100644 --- a/administrator/components/com_speasyimagegallery/helpers/speasyimagegallery.php +++ b/administrator/components/com_speasyimagegallery/helpers/speasyimagegallery.php @@ -116,7 +116,7 @@ public static function getVersion($type = 'major') * @param string $ext file extention * @return boolean/string */ - public static function createThumbs($src, $sizes = array(), $folder, $base_name, $ext) + public static function createThumbs($src, $sizes , $folder, $base_name, $ext) { list($originalWidth, $originalHeight) = getimagesize($src); From f3c505ab0da56161b31b09f1b6591e2a0f7912c9 Mon Sep 17 00:00:00 2001 From: sanjana4khan Date: Fri, 17 Jun 2022 13:10:40 +0600 Subject: [PATCH 04/10] =?UTF-8?q?=F0=9F=86=95=20:=20Access=20level=20filte?= =?UTF-8?q?r=20code=20added?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/com_speasyimagegallery/models/albums.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/administrator/components/com_speasyimagegallery/models/albums.php b/administrator/components/com_speasyimagegallery/models/albums.php index 5206b6a..0a2907e 100644 --- a/administrator/components/com_speasyimagegallery/models/albums.php +++ b/administrator/components/com_speasyimagegallery/models/albums.php @@ -175,6 +175,12 @@ protected function getListQuery() } } + // Filter by access level + $access_level = $this->getState('filter.access'); + if (!empty($access_level)) { + $query->where('a.access = ' . (int) $access_level); + } + // Add the list ordering clause. $orderCol = $app->getUserStateFromRequest($this->context.'filter_order', 'filter_order', 'id', 'cmd'); $orderDirn = $app->getUserStateFromRequest($this->context.'filter_order_Dir', 'filter_order_Dir', 'desc', 'cmd'); @@ -183,5 +189,4 @@ protected function getListQuery() return $query; } -} - +} \ No newline at end of file From 07279e4e5e2387ca18658a2fb1ca3858592eeac9 Mon Sep 17 00:00:00 2001 From: sanjana4khan Date: Fri, 17 Jun 2022 14:48:56 +0600 Subject: [PATCH 05/10] =?UTF-8?q?Fix=20(=F0=9F=94=A7)=20:=20Ordering=20was?= =?UTF-8?q?=20not=20working.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com_speasyimagegallery/views/albums/tmpl/default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_speasyimagegallery/views/albums/tmpl/default.php b/administrator/components/com_speasyimagegallery/views/albums/tmpl/default.php index 67c9ca9..34aa9a7 100644 --- a/administrator/components/com_speasyimagegallery/views/albums/tmpl/default.php +++ b/administrator/components/com_speasyimagegallery/views/albums/tmpl/default.php @@ -153,7 +153,7 @@ - + Date: Fri, 17 Jun 2022 16:32:39 +0600 Subject: [PATCH 06/10] =?UTF-8?q?Fix(=F0=9F=94=A7)=20:=20Error=20fix=20for?= =?UTF-8?q?=20PHP=208.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../layouts/gallery/default/image.php | 19 ++++++----- .../layouts/gallery/mosaic/image.php | 15 ++++---- .../layouts/gallery/rectangle/image.php | 34 ++++++++++--------- .../layouts/gallery/default/image.php | 15 ++++---- .../layouts/gallery/mosaic/image.php | 15 ++++---- .../layouts/gallery/rectangle/image.php | 19 ++++++----- 6 files changed, 62 insertions(+), 55 deletions(-) diff --git a/components/com_speasyimagegallery/layouts/gallery/default/image.php b/components/com_speasyimagegallery/layouts/gallery/default/image.php index daf571b..ca9056a 100644 --- a/components/com_speasyimagegallery/layouts/gallery/default/image.php +++ b/components/com_speasyimagegallery/layouts/gallery/default/image.php @@ -14,14 +14,15 @@ $source = json_decode($image->images); ?> - -
- <?php echo $image->alt; ?> - - + \ No newline at end of file diff --git a/components/com_speasyimagegallery/layouts/gallery/mosaic/image.php b/components/com_speasyimagegallery/layouts/gallery/mosaic/image.php index a7db3ab..15313c0 100644 --- a/components/com_speasyimagegallery/layouts/gallery/mosaic/image.php +++ b/components/com_speasyimagegallery/layouts/gallery/mosaic/image.php @@ -35,11 +35,12 @@ $source = json_decode($image->images); $thumb = $sizes[$index]; ?> - -
- <?php echo $image->alt; ?> - - + \ No newline at end of file diff --git a/components/com_speasyimagegallery/layouts/gallery/rectangle/image.php b/components/com_speasyimagegallery/layouts/gallery/rectangle/image.php index 4f8e361..92fae28 100644 --- a/components/com_speasyimagegallery/layouts/gallery/rectangle/image.php +++ b/components/com_speasyimagegallery/layouts/gallery/rectangle/image.php @@ -1,10 +1,11 @@ + +
+ <?php echo $image->alt; ?> + +
+
+
\ No newline at end of file diff --git a/modules/mod_speasyimagegallery/layouts/gallery/default/image.php b/modules/mod_speasyimagegallery/layouts/gallery/default/image.php index 4bf9f0f..4962a81 100644 --- a/modules/mod_speasyimagegallery/layouts/gallery/default/image.php +++ b/modules/mod_speasyimagegallery/layouts/gallery/default/image.php @@ -14,11 +14,12 @@ $source = json_decode($image->images); ?> - -
- <?php echo $image->alt; ?> - - + \ No newline at end of file diff --git a/modules/mod_speasyimagegallery/layouts/gallery/mosaic/image.php b/modules/mod_speasyimagegallery/layouts/gallery/mosaic/image.php index 067b55d..ffe8af4 100644 --- a/modules/mod_speasyimagegallery/layouts/gallery/mosaic/image.php +++ b/modules/mod_speasyimagegallery/layouts/gallery/mosaic/image.php @@ -35,11 +35,12 @@ $source = json_decode($image->images); $thumb = $sizes[$index]; ?> - -
- <?php echo $image->alt; ?> - - + \ No newline at end of file diff --git a/modules/mod_speasyimagegallery/layouts/gallery/rectangle/image.php b/modules/mod_speasyimagegallery/layouts/gallery/rectangle/image.php index 513c7ab..29614c0 100644 --- a/modules/mod_speasyimagegallery/layouts/gallery/rectangle/image.php +++ b/modules/mod_speasyimagegallery/layouts/gallery/rectangle/image.php @@ -37,12 +37,13 @@ $col = $sizes[$index][1]; ?> + +
+ <?php echo $image->alt; ?> + +
+
+
\ No newline at end of file From 1a45b058aeaf4df9440c023477505617f4bbab89 Mon Sep 17 00:00:00 2001 From: Md Siddiqur Rahman <53170094+siddik-web@users.noreply.github.com> Date: Mon, 20 Jun 2022 17:41:19 +0600 Subject: [PATCH 07/10] Update speasyimagegallery.xml version update --- .../components/com_speasyimagegallery/speasyimagegallery.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_speasyimagegallery/speasyimagegallery.xml b/administrator/components/com_speasyimagegallery/speasyimagegallery.xml index aaec52a..acd0a84 100644 --- a/administrator/components/com_speasyimagegallery/speasyimagegallery.xml +++ b/administrator/components/com_speasyimagegallery/speasyimagegallery.xml @@ -7,7 +7,7 @@ http://www.joomshaper.com @JoomShaper 2010 - 2021. All rights reserved. GNU General Public License version 2 or later - 2.0.2 + 2.0.3 A simple image gallery component for Joomla. installer.script.php From ef5967085d47cb0f9b5d7ac9497e81631c419c10 Mon Sep 17 00:00:00 2001 From: Md Siddiqur Rahman <53170094+siddik-web@users.noreply.github.com> Date: Mon, 20 Jun 2022 17:42:07 +0600 Subject: [PATCH 08/10] Update gulpfile.js --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 46ff807..9a8c3b0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -9,7 +9,7 @@ const config = { buildPath: './dist/component/', rootPath: './dist/', componentName: 'speasyimagegallery', - com_package_name: 'com_speasyimagegallery_fullpackage_v2.0.2.zip', + com_package_name: 'com_speasyimagegallery_fullpackage_v2.0.3.zip', moduleExts: ['xml','php','js','css','jpg','png','gif','ttf','otf','woff','woff2','svg','eot'] } @@ -147,4 +147,4 @@ function componentPackage(callback) { exports.default = series( clean,modules, plugins, manifest, admin, site, adminLanguage, siteLanguage, componentPackage -) \ No newline at end of file +) From 1de45399356a7e83ed3b8a0bf146aecd14eac7f9 Mon Sep 17 00:00:00 2001 From: Md Siddiqur Rahman <53170094+siddik-web@users.noreply.github.com> Date: Mon, 20 Jun 2022 17:45:03 +0600 Subject: [PATCH 09/10] Update image.php --- .../layouts/gallery/rectangle/image.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/com_speasyimagegallery/layouts/gallery/rectangle/image.php b/components/com_speasyimagegallery/layouts/gallery/rectangle/image.php index 92fae28..b790a70 100644 --- a/components/com_speasyimagegallery/layouts/gallery/rectangle/image.php +++ b/components/com_speasyimagegallery/layouts/gallery/rectangle/image.php @@ -1,9 +1,8 @@
-
\ No newline at end of file + From 4e77e7bcbf583c7eda8f854ad10a6bcac0079082 Mon Sep 17 00:00:00 2001 From: sanjana4khan Date: Mon, 20 Jun 2022 17:51:51 +0600 Subject: [PATCH 10/10] =?UTF-8?q?=F0=9F=86=95:=20SQL=20file=20added?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/com_speasyimagegallery/sql/updates/2.0.3.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 administrator/components/com_speasyimagegallery/sql/updates/2.0.3.sql diff --git a/administrator/components/com_speasyimagegallery/sql/updates/2.0.3.sql b/administrator/components/com_speasyimagegallery/sql/updates/2.0.3.sql new file mode 100644 index 0000000..b6dd42d --- /dev/null +++ b/administrator/components/com_speasyimagegallery/sql/updates/2.0.3.sql @@ -0,0 +1 @@ +-- v2.0.3 \ No newline at end of file