[DigitalPoint] PWA

xF2 Add-on [DigitalPoint] PWA 1.2.3

No permission to download

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,460
Points
823

Reputation:

ENXF NET submitted a new resource:

[DigitalPoint] PWA - Add some missing things to XenForo's progressive web app

This addon adds a few things that I felt were missing from XenForo's PWA app:
  • If the user that is installing the PWA app is logged in, auto-log them into the PWA app (don't need to force users to log-in from scratch when they first load the installed app).
  • Use Sec-Fetch-Site header as replacement for CSRF with a fallback to CSRF if browser doesn't support Sec-Fetch-Site (prevent stale sessions from causing security error message)
  • Automatic refresh of badge...

Read more about this resource...
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,460
Points
823

Reputation:

ENXF NET updated [DigitalPoint] PWA with a new update entry:

Update 1.2.0

  • Added ability to send push notices to users (Admin -> Communications -> Push users)
  • New PWA option: Enable debugging (you are welcome to enable this, but it was intended for me. It spews stuff to your server error log... but feel free)
    • Logs changes to user push subscriptions
    • Logs web push server errors
  • Delete push_subscription_updated session cookie when a new session is created (causes push subscription endpoint to be updated if old one was expired)...

Read the rest of this update entry...
 

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
324
Points
73

Reputation:

XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'error_count' in 'field list' in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 41
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 56
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 324
  6. XF\Db\AbstractAdapter->update() in src/addons/DigitalPoint/PWA/XF/Service/PushNotification.php at line 28
  7. DigitalPoint\PWA\XF\Service\PushNotification->handleResults() in src/XF/Service/PushNotification.php at line 176
  8. XF\Service\PushNotification->sendNotifications() in src/addons/DigitalPoint/PWA/Job/UserPush.php at line 51
  9. DigitalPoint\PWA\Job\UserPush->executeAction() in src/XF/Job/AbstractUserCriteriaJob.php at line 61
  10. XF\Job\AbstractUserCriteriaJob->run() in src/XF/Job/Manager.php at line 260
  11. XF\Job\Manager->runJobInternal() in src/addons/Hampel/JobRunner/XF/Job/Manager.php at line 87
  12. Hampel\JobRunner\XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
  13. XF\Job\Manager->runJobEntry() in src/addons/Hampel/JobRunner/XF/Job/Manager.php at line 80
  14. Hampel\JobRunner\XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
  15. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
  16. XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
  17. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  18. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  19. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  20. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2353
  21. XF\App->run() in src/XF.php at line 524
  22. XF::runApp() in admin.php at line 13
    1692204685476.jpg
When using push notifications, after send.
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
723
Points
253

Reputation:

XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'error_count' in 'field list' in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 41
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 56
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 324
  6. XF\Db\AbstractAdapter->update() in src/addons/DigitalPoint/PWA/XF/Service/PushNotification.php at line 28
  7. DigitalPoint\PWA\XF\Service\PushNotification->handleResults() in src/XF/Service/PushNotification.php at line 176
  8. XF\Service\PushNotification->sendNotifications() in src/addons/DigitalPoint/PWA/Job/UserPush.php at line 51
  9. DigitalPoint\PWA\Job\UserPush->executeAction() in src/XF/Job/AbstractUserCriteriaJob.php at line 61
  10. XF\Job\AbstractUserCriteriaJob->run() in src/XF/Job/Manager.php at line 260
  11. XF\Job\Manager->runJobInternal() in src/addons/Hampel/JobRunner/XF/Job/Manager.php at line 87
  12. Hampel\JobRunner\XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
  13. XF\Job\Manager->runJobEntry() in src/addons/Hampel/JobRunner/XF/Job/Manager.php at line 80
  14. Hampel\JobRunner\XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
  15. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
  16. XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
  17. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  18. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  19. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  20. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2353
  21. XF\App->run() in src/XF.php at line 524
  22. XF::runApp() in admin.php at line 13 View attachment 36422
When using push notifications, after send.
Thanos CraxI tried it and it's completely fine in my XF-2.2.13
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,460
Points
823

Reputation:

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,460
Points
823

Reputation:

ENXF NET updated [DigitalPoint] PWA with a new update entry:

Handles Safari/iOS PWA's security requirements that push subscribe requires a user gesture

By default XenForo relies on a browser being willing to subscribe to push notifications if the user previously granted permission. Safari (and iOS PWA) does not work that way, even a re-subscribe needs to be initiated by a user gesture (see this post). This causes iOS PWA (and desktop Safari browsers) to "lose" their push subscription since XenForo is relying on browsers to...

Read the rest of this update entry...
 
Top