[add] Update Info via Alert/Push + Settings (only for superAdmins)
[add] Prefix of the add-on is displayed (Beta, Unmaintained etc.)
[change] Significant changes have been made to the server component...
Some optimisations
Thank you for your help and feedback!
Does it work smoothly? Php 8 and xenforo2.2.10 patch also0815 submitted a new resource:
Check Add-On update - Always stay informed about new versions of your installed add-ons.
Read more about this resource...
I'll let the ratings speak for themselves.Does it work smoothly?
PHP 8.x and current XF version are no problem. They are my basis for development.Php 8 and xenforo2.2.10 patch also
Very good idea. Noted.Would it be possible to add an option to ignore an update? There are some add-ons which I think have gone beyond what they were originally designed for and as such have purposely ignored further updates. It would be great if 'Go to update' also had the option of 'Ignore update'
Thanks
[add] Option of direct download of an update (of course, only for free add-ons)
[add] Ignore add-ons
[add] Donate Button
View attachment 273395
Server error log
GuzzleHttp\Exception\ConnectException: Macro admin:addon_list_macros :: addon_list_item_menu() error: cURL error 35: Peer reports incompatible or unsupported protocol version. (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:200
Generated by: Admin Sep 15, 2022 at 12:53 AM
Stack trace
#0 src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(105): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 src/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#3 src/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#4 src/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#5 src/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(66): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#6 src/vendor/guzzlehttp/guzzle/src/Middleware.php(29): GuzzleHttp\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#7 src/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(70): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#8 src/vendor/guzzlehttp/guzzle/src/Middleware.php(59): GuzzleHttp\RedirectMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#9 src/vendor/guzzlehttp/guzzle/src/HandlerStack.php(71): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#10 src/vendor/guzzlehttp/guzzle/src/Client.php(351): GuzzleHttp\HandlerStack->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#11 src/vendor/guzzlehttp/guzzle/src/Client.php(162): GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array)
#12 src/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttp\Client->requestAsync('post', Object(GuzzleHttp\Psr7\Uri), Array)
#13 src/vendor/guzzlehttp/guzzle/src/Client.php(95): GuzzleHttp\Client->request('post', 'https://xtest.d...', Array)
#14 src/addons/X0815/ChkAddOnUpdate/Repository/Update.php(18): GuzzleHttp\Client->__call('post', Array)
#15 src/addons/X0815/ChkAddOnUpdate/Repository/Update.php(32): X0815\ChkAddOnUpdate\Repository\Update->getCacheData()
#16 src/addons/X0815/ChkAddOnUpdate/Listener.php(22): X0815\ChkAddOnUpdate\Repository\Update->rebuildCache()
#17 src/XF/App.php(1802): X0815\ChkAddOnUpdate\Listener::X0815\ChkAddOnUpdate\{closure}(Object(XF\Container), 'addonUpdates')
#18 src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container))
#19 src/XF/App.php(2374): XF\Container->offsetGet('addonUpdates')
#20 src/addons/X0815/ChkAddOnUpdate/XF/Entity/AddOn.php(11): XF\App->get('addonUpdates')
#21 src/addons/X0815/ChkAddOnUpdate/XF/Entity/AddOn.php(28): X0815\ChkAddOnUpdate\XF\Entity\AddOn->getUpdateAddon()
#22 src/XF/Template/Templater.php(1191): X0815\ChkAddOnUpdate\XF\Entity\AddOn->isUnsupported()
#23 internal_data/code_cache/templates/l1/s0/admin/addon_list_macros.php(294): XF\Template\Templater->method(Object(X0815\ChkAddOnUpdate\XF\Entity\AddOn), 'isUnsupported', Array)
#24 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#25 src/addons/MaZ/AMP/XF/Template/Templater.php(139): XF\Template\Templater->callMacro('addon_list_macr...', 'addon_list_item...', Array, Array, Object(XF\Template\MacroState))
#26 internal_data/code_cache/templates/l1/s0/admin/addon_list_macros.php(116): MaZ\AMP\XF\Template\Templater->callMacro(NULL, 'addon_list_item...', Array, Array)
#27 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#28 src/addons/MaZ/AMP/XF/Template/Templater.php(139): XF\Template\Templater->callMacro('addon_list_macr...', 'addon_list_item', Array, Array, Object(XF\Template\MacroState))
#29 internal_data/code_cache/templates/l1/s0/admin/addon_list_macros.php(79): MaZ\AMP\XF\Template\Templater->callMacro(NULL, 'addon_list_item', Array, Array)
#30 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#31 src/addons/MaZ/AMP/XF/Template/Templater.php(139): XF\Template\Templater->callMacro('addon_list_macr...', 'addon_list_bloc...', Array, Array, Object(XF\Template\MacroState))
#32 internal_data/code_cache/templates/l1/s0/admin/addon_list.php(96): MaZ\AMP\XF\Template\Templater->callMacro('addon_list_macr...', 'addon_list_bloc...', Array, Array)
#33 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#34 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('addon_list', Array, true, NULL)
#35 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('admin:addon_lis...', Array)
#36 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#37 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:AddOn\\Listin...', 'admin:addon_lis...', Array)
#38 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#39 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#40 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#41 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#42 src/XF.php(524): XF\App->run()
#43 admin.php(13): XF::runApp('XF\\Admin\\App')
#44 {main}
Request state
array(4) {
["url"] => string(19) "/admin.php?add-ons/"
["referrer"] => string(35) "https://xf.com/admin.php?pwa/"
["_GET"] => array(1) {
["add-ons/"] => string(0) ""
}
["_POST"] => array(0) {
}
}
I had to disable via CLI.
Bash:php cmd.php xf:addon-disable X0815/ChkAddOnUpdate
I tested with the same cURL as yours and php 7.4.26 and it worked without a problem.My PHP CURL info.
We use essential cookies to make this site work, and optional cookies to enhance your experience.