From 42a6b7eb4ad9424197a5e261f467e5fc10461528 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Thu, 25 Sep 2025 08:25:11 -0700 Subject: [PATCH 1/2] =?UTF-8?q?Rebrand=20as=20phpbb/lightbox=20=E2=80=9Cph?= =?UTF-8?q?pBB=20Image=20Lightbox=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/codecov.yml | 2 +- .github/workflows/tests.yml | 2 +- CHANGELOG.md | 10 ++- README.md | 24 ++---- build.xml | 4 +- composer.json | 14 +--- config/services.yml | 4 +- event/listener.php | 8 +- ext.php | 4 +- language/ar/common.php | 2 +- language/ar/lightbox.php | 2 +- language/cs/common.php | 2 +- language/cs/lightbox.php | 2 +- language/de/common.php | 2 +- language/de/lightbox.php | 2 +- language/en/common.php | 2 +- language/en/lightbox.php | 2 +- language/es/common.php | 2 +- language/es/lightbox.php | 2 +- language/fr/common.php | 2 +- language/fr/lightbox.php | 2 +- language/it/common.php | 2 +- language/it/lightbox.php | 2 +- language/ja/common.php | 2 +- language/ja/lightbox.php | 2 +- language/nl/common.php | 2 +- language/nl/lightbox.php | 2 +- language/pl/common.php | 2 +- language/pl/lightbox.php | 2 +- language/pt_br/common.php | 2 +- language/pt_br/lightbox.php | 2 +- language/ru/common.php | 2 +- language/ru/lightbox.php | 2 +- language/sk/common.php | 2 +- language/sk/lightbox.php | 2 +- language/sl/common.php | 2 +- language/sl/lightbox.php | 2 +- language/sv/common.php | 2 +- language/sv/lightbox.php | 2 +- language/tr/common.php | 2 +- language/tr/lightbox.php | 2 +- language/vi/common.php | 2 +- language/vi/lightbox.php | 2 +- migrations/m1_add_configs.php | 4 +- migrations/m2_image_titles.php | 6 +- migrations/m3_add_configs.php | 6 +- package-lock.json | 74 +++++++++++++------ package.json | 2 +- .../template/event/overall_footer_after.html | 22 +++--- styles/all/template/js/resizer.js | 24 +++--- tests/event/listener_test.php | 22 +++--- tests/ext_test.php | 6 +- tests/functional/acp_test.php | 8 +- 53 files changed, 165 insertions(+), 149 deletions(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index ddf2c04..6e40e6e 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -1,2 +1,2 @@ fixes: - - "/phpBB3/phpBB/ext/vse/lightbox/::" + - "/phpBB3/phpBB/ext/phpbb/lightbox/::" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 642a6d4..b30137e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ jobs: name: Extension tests uses: phpbb-extensions/test-framework/.github/workflows/tests.yml@master with: - EXTNAME: vse/lightbox # Your extension vendor/package name + EXTNAME: phpbb/lightbox # Your extension vendor/package name CODECOV: 1 # Run code coverage via codecov? 1 or 0 secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} # Do not change this diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ec0f57..6e4c8c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ -## Changelog +# Changelog + +## phpBB 4.x Releases (phpbb/lightbox) + +### 3.0.0-dev + +- Fork of vse/lightbox rebranded as an official phpBB extension for phpBB 4 + +## phpBB 3.x Releases (vse/lightbox) ### 2.0.4 - 2022-06-16 diff --git a/README.md b/README.md index 2622206..fa77a7f 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,18 @@ -# Lightbox extension for phpBB +# phpBB Image Lightbox for phpBB 4 This extension adds the [Lightbox 2](http://lokeshdhakar.com/projects/lightbox2/) jQuery plugin to phpBB. It will resize posted images to a maximum set width and/or height and display them full-screen in a Lightbox overlay effect. -[![Build Status](https://github.com/iMattPro/lightbox/actions/workflows/tests.yml/badge.svg)](https://github.com/iMattPro/lightbox/actions) -[![codecov](https://codecov.io/gh/iMattPro/lightbox/branch/master/graph/badge.svg?token=YnBuha7JFN)](https://codecov.io/gh/iMattPro/lightbox) -[![Latest Stable Version](https://poser.pugx.org/vse/lightbox/v/stable)](https://www.phpbb.com/customise/db/extension/lightbox/) +[![Build Status](https://github.com/phpbb-extensions/lightbox/actions/workflows/tests.yml/badge.svg)](https://github.com/phpbb-extensions/lightbox/actions) +[![codecov](https://codecov.io/gh/phpbb-extensions/lightbox/branch/master/graph/badge.svg?token=YnBuha7JFN)](https://codecov.io/gh/phpbb-extensions/lightbox) ## Minimum Requirements -* phpBB 3.2.0 -* PHP 5.4 - -## Install -1. [Download the latest release](https://www.phpbb.com/customise/db/extension/lightbox/) and unzip it. -2. Unzip the downloaded release and copy it to the `ext` directory of your phpBB board. -3. Navigate in the ACP to `Customise -> Manage extensions`. -4. Look for `Lightbox` under the Disabled Extensions list and click its `Enable` link. +* phpBB 4.0.0 +* PHP 8.1 ## Usage 1. Navigate in the ACP to `Post settings -> Lightbox image resizing`. 2. Set the `Maximum image width in pixel` to your desired resize width. 3. Click `Submit`. -## Uninstall -1. Navigate in the ACP to `Customise -> Manage extensions`. -2. Click the `Disable` link for Lightbox. -3. To permanently uninstall, click `Delete Data`, then delete the `lightbox` folder from `phpBB/ext/vse/`. - ## License [GNU General Public License v2](https://opensource.org/licenses/GPL-2.0) - -© 2014 - Matt Friedman diff --git a/build.xml b/build.xml index 2b355cc..3683f76 100644 --- a/build.xml +++ b/build.xml @@ -1,6 +1,6 @@ - - + +