flarum / framework

Simple forum software for building great communities.
http://flarum.org/
6.22k stars 830 forks source link

Extension Manager #3993

Open treybowman opened 1 month ago

treybowman commented 1 month ago

Current Behavior

Extension manager fails when packages are abandoned.

Also, can there be an addition to the extension manager that provides the below output, and or alerts users ahead of time of abandoned packages/extensions?

Package askvortsov/flarum-auto-moderator is abandoned, you should avoid using it. Use askvortsov/flarum-automod instead. Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead. Package web-token/jwt-key-mgmt is abandoned, you should avoid using it. Use web-token/jwt-library instead. Package web-token/jwt-signature is abandoned, you should avoid using it. Use web-token/jwt-library instead. Package web-token/jwt-signature-algorithm-ecdsa is abandoned, you should avoid using it. Use web-token/jwt-library instead. Package web-token/jwt-util-ecc is abandoned, you should avoid using it. Use web-token/jwt-library instead.

Steps to Reproduce

  1. Install extension via extension manager.

Expected Behavior

Installation to proceed

Screenshots

No response

Environment

Output of php flarum info

Flarum core: 1.8.5
PHP version: 8.3.6
MySQL version: 10.6.18-MariaDB-log
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, readline, Reflection, SPL, session, standard, bcmath, bz2, calendar, ctype, curl, dba, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imap, intl, ldap, exif, mysqlnd, odbc, PDO, pgsql, Phar, posix, pspell, shmop, SimpleXML, snmp, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, xmlreader, monarxprotect, imagick, sodium, Zend OPcache
+------------------------------------+---------+--------+
| Flarum Extensions                  |         |        |
+------------------------------------+---------+--------+
| ID                                 | Version | Commit |
+------------------------------------+---------+--------+
| flarum-flags                       | v1.8.0  |        |
| flarum-approval                    | v1.8.1  |        |
| flarum-tags                        | v1.8.0  |        |
| flarum-suspend                     | v1.8.1  |        |
| flarum-sticky                      | v1.8.0  |        |
| flarum-lock                        | v1.8.0  |        |
| flarum-nicknames                   | v1.8.0  |        |
| fof-pages                          | 1.0.8   |        |
| flamarkt-backoffice                | 0.1.3   |        |
| fof-ban-ips                        | 1.1.1   |        |
| flarum-mentions                    | v1.8.3  |        |
| flarum-subscriptions               | v1.8.0  |        |
| fof-byobu                          | 1.3.6   |        |
| flarum-markdown                    | v1.8.0  |        |
| v17development-user-badges         | v1.1.0  |        |
| v17development-seo                 | v1.8.1  |        |
| the-turk-stickiest                 | 3.0.1   |        |
| migratetoflarum-canonical          | 1.0.0   |        |
| mickmelon-coloured-usernames       | 0.1.1   |        |
| kilowhat-formulaire                | 1.9.0   |        |
| kilowhat-custom-paths              | 1.9.0   |        |
| katosdev-signature                 | 1.6     |        |
| justoverclock-og-meta-tag          | 0.1.0   |        |
| ianm-synopsis                      | 1.3.2   |        |
| ianm-log-viewer                    | 0.1.1   |        |
| fof-webhooks                       | 1.2.3   |        |
| fof-username-request               | 1.2.4   |        |
| fof-user-directory                 | 1.3.3   |        |
| fof-user-bio                       | 1.3.2   |        |
| fof-upload                         | 1.5.4   |        |
| fof-terms                          | 1.3.1   |        |
| fof-split                          | 1.1.1   |        |
| fof-sitemap                        | 2.2.1   |        |
| fof-share-social                   | 1.2.0   |        |
| fof-profile-image-crop             | 1.1.6   |        |
| fof-pretty-mail                    | 1.1.2   |        |
| fof-oauth                          | 1.6.9   |        |
| fof-nightmode                      | 1.5.3   |        |
| fof-moderator-notes                | 1.2.2   |        |
| fof-merge-discussions              | 1.4.1   |        |
| fof-links                          | 1.2.3   |        |
| fof-linguist                       | 1.1.2   |        |
| fof-geoip                          | 1.4.2   |        |
| fof-formatting                     | 1.0.3   |        |
| fof-follow-tags                    | 1.2.2   |        |
| fof-drafts                         | 1.2.10  |        |
| fof-doorman                        | 1.1.5   |        |
| fof-disposable-emails              | 1.0.0   |        |
| fof-direct-links                   | 1.0.0   |        |
| fof-custom-footer                  | 1.1.2   |        |
| fof-analytics                      | 1.1.0   |        |
| flarumite-simple-discussion-views  | 1.2.2   |        |
| flarum-statistics                  | v1.8.0  |        |
| flarum-pusher                      | v1.8.0  |        |
| flarum-likes                       | v1.8.0  |        |
| flarum-lang-english                | v1.8.0  |        |
| flarum-extension-manager           | v1.0.3  |        |
| flarum-emoji                       | v1.8.0  |        |
| flarum-bbcode                      | v1.8.0  |        |
| davwheat-share                     | v1.1.0  |        |
| davwheat-custom-sidenav-links      | 1.0.1   |        |
| clarkwinkelmann-post-stream-search | 1.1.0   |        |
| clarkwinkelmann-post-permissions   | 1.0.0   |        |
| clarkwinkelmann-mass-actions       | 1.1.2   |        |
| clarkwinkelmann-mailing            | 1.1.0   |        |
| clarkwinkelmann-group-list         | 1.0.0   |        |
| clarkwinkelmann-emojionearea       | 1.0.0   |        |
| clarkwinkelmann-circle-groups      | 1.0.1   |        |
| blomstra-turnstile                 | 0.1.4   |        |
| blomstra-secondary-tags-toggler    | 0.2.3   |        |
| blomstra-fontawesome               | 0.1.5   |        |
| askvortsov-rich-text               | v2.1.7  |        |
| askvortsov-pwa                     | v3.4.0  |        |
| askvortsov-markdown-tables         | v1.2.1  |        |
| askvortsov-discussion-templates    | v0.8.3  |        |
| askvortsov-checklist               | v1.3.1  |        |
| alexanderomara-gravatar            | 1.5.0   |        |
| acpl-mobile-tab                    | 1.4.3   |        |
+------------------------------------+---------+--------+
Base URL: https://atlticket.exchange
Installation path: /home/treyb/atlticket.com
Queue driver: sync
Session driver: file
Scheduler status: Active
Mail driver: mail
Debug mode: off

Possible Solution

No response

Additional Context

No response

SychO9 commented 1 month ago

these are only warnings, can you further explain how the extension manager fails? what action are you taking and what result are you expecting that isn't happening?

treybowman commented 1 month ago

Hi Sami -I am unable to install or update extensions via extension manager. I have traced the warnings to a PWA extension. With that extension disabled, extension manager works as designed. I am also unable to uninstall an extension via extension manager.

luceos commented 1 month ago

these are only warnings, can you further explain how the extension manager fails? what action are you taking and what result are you expecting that isn't happening?

I actually suggested on discuss to recommend opening an issue, because it would be smart for the extension manager - in the long run - to identify abandoned extensions and propose or even auto-install their successors.

@treybowman it would be smart continuing the discussion of a failing install on discuss, not here 👍