diff --git a/CHANGELOG.md b/CHANGELOG.md
index 68e359f..4c07b7c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+### 1.0.3 - 2025-05-21
+
+- Fixed issues where opening an image attachment could lock you out of the UI while on a mobile device as a progressive web app.
+- Fixed issues where Safari would stop pushing notifications to a user after the first three.
+- Fixed attempts to notify banned users.
+- Fixed potential web root path issues in notification links.
+- Removed obsolete meta-tags for progressive web app functionality.
+
### 1.0.2 - 2025-01-04
- Instead of blocking all bots, we now let reverse proxies know we detected a bot.
@@ -12,13 +20,13 @@
### 1.0.1 - 2024-09-30
-- Added FAQ section to phpBB's FAQ page to answer any questions users may have about web push notifications.
+- Added a FAQ section to phpBB's FAQ page to answer any questions users may have about web push notifications.
- Fixed issues with Emoji not appearing correctly in push notifications.
- Fixed possible issues with the URLs linking to PWA icons for the Web Manifest.
-- Fixed issues causing logged-out users to see console errors in their browsers.
-- Ensure short site name for PWA is valid and compatible with the Web Manifest.
+- Fixed the issues causing logged-out users to see console errors in their browsers.
+- Ensure the short site name for PWA is valid and compatible with the Web Manifest.
- Will now check for required PHP modules during installation.
-- Various other under the hood improvements.
+- Various other under-the hood improvements.
### 1.0.0 - 2024-07-01
@@ -35,7 +43,7 @@
### 1.0.0-RC9 - 2024-06-16
-- The subscribe toggle in the notification dropdown has been optimized for better mobile usability.
+- The **subscribe** toggle in the notification dropdown has been optimized for better mobile usability.
- Notifications missed by logged-out users will now be delivered once they log back in.
- Users who are unable to subscribe due to previously denying notifications in their browser settings will now see an alert message.
@@ -53,7 +61,7 @@
### 1.0.0-RC6 - 2024-06-01
-- New: Added an enable push subscriptions toggle switch to the footer of the Notifications drop down.
+- New: Added an **enable push subscriptions** toggle switch to the footer of the Notifications drop down.
- Fixed an issue where the Subscribe button was appearing on some UCP pages unexpectedly.
- Fixed an issue where push notifications failed on Android devices using Firefox as their browser.
- Requires phpBB 3.3.12 or newer.
diff --git a/composer.json b/composer.json
index 85f44fb..66f46ca 100644
--- a/composer.json
+++ b/composer.json
@@ -3,7 +3,7 @@
"type": "phpbb-extension",
"description": "An official phpBB extension that allows board users to receive browser-based push notifications.",
"homepage": "https://www.phpbb.com/customise/db/extension/webpushnotifications/",
- "version": "1.0.2",
+ "version": "1.0.3",
"license": "GPL-2.0-only",
"authors": [
{
diff --git a/composer.lock b/composer.lock
index 7ac5b57..c7447e6 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "56daba3b86da3d572af3cd8c57509eff",
+ "content-hash": "ecb9034c8c529b039adf78c8963ad450",
"packages": [
{
"name": "brick/math",
diff --git a/tests/controller/controller_webpush_test.php b/tests/controller/controller_webpush_test.php
index 49a3f4c..94cc97e 100644
--- a/tests/controller/controller_webpush_test.php
+++ b/tests/controller/controller_webpush_test.php
@@ -145,7 +145,7 @@ private function getExpectedResponse(): array
return [
'heading' => 'yourdomain.com',
'title' => 'Quoted by Guest in:',
- 'text' => '"Welcome to phpBB3"',
+ 'text' => '"Welcome to phpBB"',
'url' => 'phpBB/viewtopic.php?p=1#p1',
'avatar' => ['src' => ''],
];
@@ -242,7 +242,7 @@ public function test_get_user_notification()
$this->request->method('variable')
->willReturnMap([
['token', '', false, request_interface::REQUEST, 'foobar'],
- ['item_id', 0, false, request_interface::REQUEST, 1],
+ ['item_id', 0, false, request_interface::REQUEST, 2],
['type_id', 0, false, request_interface::REQUEST, 4],
]);
$this->setupUserData(2);
@@ -262,7 +262,7 @@ public function test_get_user_notification_anonymous()
$this->request->method('variable')
->willReturnMap([
['token', '', false, request_interface::REQUEST, '0ccf8fcd96a66297b77b66109cbe9870e1a6fa66e42b9bf36d1f2c7263240058'],
- ['item_id', 0, false, request_interface::REQUEST, 1],
+ ['item_id', 0, false, request_interface::REQUEST, 2],
['type_id', 0, false, request_interface::REQUEST, 4],
['user_id', 0, false, request_interface::REQUEST, 2],
]);
@@ -283,7 +283,7 @@ public function test_get_user_notification_anonymous_invalid_token()
$this->request->method('variable')
->willReturnMap([
['token', '', false, request_interface::REQUEST, '488c17afe4f18714c235b395e21b78df1c3d78bf1e13d0633ed9425d2eebf967'],
- ['item_id', 0, false, request_interface::REQUEST, 1],
+ ['item_id', 0, false, request_interface::REQUEST, 2],
['type_id', 0, false, request_interface::REQUEST, 4],
['user_id', 0, false, request_interface::REQUEST, 2],
]);
diff --git a/tests/controller/fixtures/webpush.xml b/tests/controller/fixtures/webpush.xml
index 41a7ba2..f9f67fe 100644
--- a/tests/controller/fixtures/webpush.xml
+++ b/tests/controller/fixtures/webpush.xml
@@ -17,7 +17,7 @@
notification_time
1
-
+
488c17afe4f18714c235b395e21b78df1c3d78bf1e13d0633ed9425d2eebf967
2
4
@@ -25,7 +25,7 @@
2
-
+
488c17afe4f18714c235b395e21b78df1c3d78bf1e13d0633ed9425d2eebf967
2
4