This is the 1.5.0 release of Mbin. It brings changes to messenger queue layout (again), adds Zitadel SSO support, UI improvements, a proper account deletion which is controlled by the user, performance improvements, and a bunch of bug fixes and security updates in our dependencies.
An explanation of the new messenger queues can be found here: admin_guide.md#symfony-messenger-queues and other documentation improvements.
DB migration may take multiple minutes for new index creation.
Comparison to previous version 1.4.1:
DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
---|---|---|---|
☑️ | ☑️ | ☑️ | ☑️ |
Upgrade Instructions
For Docker
- Get the official image or checkout the code and build it locally
- Stop all containers
docker compose down
- Start all containers
docker compose up -d
For Bare Metal
- Stop all messenger processes by running
supervisorctl stop messenger:*
as the root user - Edit the supervisor messenger config located at
/etc/supervisor/conf.d/messenger-worker.conf
to
command=php /var/www/mbin/bin/console messenger:consume scheduler_default old async outbox deliver inbox resolve receive failed --time-limit=3600
user=www-data
numprocs=6
startsecs=0
autostart=true
autorestart=true
startretries=10
process_name=%(program_name)s_%(process_num)02d
Adjust the numprocs
parameter to your needs. Also be aware of the path to the mbin repo. If you are coming from kbin and never changed your folder structure then the second line has to be changed to:
command=php /var/www/kbin/bin/console messenger:consume scheduler_default old async outbox deliver inbox resolve receive failed --time-limit=3600
- Login as the mbin/kbin user:
su mbin
- Go to your repo
cd /var/www/mbin
- Get the new release:
git fetch && git checkout v1.5.0
- Run the update script:
bash bin/post-upgrade.sh
. If you get an error when running the db migrations you maybe have to stop your webserver, so nothing is trying to access the database. - Run
exit
so we are back at the root user (or put a sudo infront of every command) - flush your redis db by running
redis-cli
, type inAUTH [YOUR PASSWORD]
and thenFLUSHDB
- clear your opcache by reloading php fpm
systemctl reload php8.2-fpm
- Refresh supervisor and start the new messenger group:
supervisorctl reread && supervisorctl update && supervisorctl start messenger:*
What's Changed
- Consolidate markdown mention linking by @BentiGorlich in #534
- Translations update from Hosted Weblate by @weblate in #539
- Fix default theme admin setting's aria-label by @thepaperpilot in #540
- Add entry domain to single view by @BentiGorlich in #532
- Fix rename of findUsersPaginated to findWithAboutPaginated by @melroy89 in #541
- apply padding around reduce option similar to other items by @e-five256 in #542
- open domain urls in new window by default by @e-five256 in #543
- add preview grid areas to compact views by @e-five256 in #544
- Add Matrix Chat badge by @melroy89 in #549
- adjust external link icon size by @e-five256 in #546
- Way of Working by @melroy89 in #34
- Bump phpseclib/phpseclib from 3.0.35 to 3.0.37 by @dependabot in #551
- delete image handler only delete image when not null by @asdfzdfj in #555
- limit image caption height and make it scroll by @asdfzdfj in #557
- add figure badges to entry thumbs and for gif image by @asdfzdfj in #556
- Fix clipping / z-index on visibility private posts by @e-five256 in #559
- Use title in "related magazines" panel by @BentiGorlich in #554
- fix broken entry preview for non-image embeds by @asdfzdfj in #561
- Fix infinite scrolling on domain pages by @e-five256 in #560
- Translations update from Hosted Weblate by @weblate in #562
- Fix User Statistics page not allowing federated filter by @e-five256 in #564
- Improve AP documentation, debugging and error throwing by @melroy89 in #550
- Update docker_deployment_guide.md by @TheVillageGuy in #567
- Fix Statistics page Local Content query by @e-five256 in #563
- Fix profile option being marked active when viewing other profiles by @e-five256 in #565
- Make comment timestamp links in most places by @e-five256 in #403
- Remove unused environment vars for API platform by @e-five256 in #569
- Extend editability of username by @melroy89 in #572
- Fix circular like/announce message by @BentiGorlich in #573
- Fix GitHub oauth getId() type mismatch on assignment by @nobodyatroot in #581
- Add missing findWithAboutQueryBuilder method to UserRepository by @nobodyatroot in #582
- Update bug_report.md by @melroy89 in #585
- Add migration for unique indexes on favourite by @BentiGorlich in #580
- Fix/boost regression by @BentiGorlich in #579
- Adding the correct indexes for the user table by @BentiGorlich in #588
- Bump npm follow-redirects package to 1.15.6 by @nobodyatroot in #590
- Only count content from the last 30 days for active people by @BentiGorlich in #589
- Specify project name attribute in package.json by @nobodyatroot in #591
- Remove messager_app compose prd + minimal stability by @melroy89 in #586
- fix extra padding on password preview icon by @e-five256 in #601
- Translations update from Hosted Weblate by @weblate in #596
- Only do an update actor if it is actually necessary by @BentiGorlich in #602
- First cut of showing federation staleness by @andrewmoise in #436
- Only update lastOriginUpdate of magazines on announces by @BentiGorlich in #599
- Fix reporting content in remote magazines and without a summary by @BentiGorlich in #598
- Remove empty panel from admin users pages when there is no pagination by @e-five256 in #606
- Add admin option to disable SSO registrations by @e-five256 in #604
- Add support for Zitadel authentication by @thepaperpilot in #429
- Only unsubscribe or unfollow on block if already doing so by @e-five256 in #607
- Add sso registration disabled check to zitadel by @e-five256 in #608
- Translations update from Hosted Weblate by @weblate in #609
- Add missing search method to domain repository by @nobodyatroot in #611
- Add dragonfly to the admin guide documentation by @melroy89 in #612
- Address high severity npm security warning for node_modules/webpack-dev-middleware by @nobodyatroot in #614
- set user report link to pending by default by @e-five256 in #615
- Open remote mag/user links in new window, add mag link to sidebar by @e-five256 in #616
- add alt text as title as well by @e-five256 in #617
- Update user popover for remote users by @e-five256 in #618
- Rework account deletion by @BentiGorlich in #522
- Translations update from Hosted Weblate by @weblate in #623
- Rework messenger config by @BentiGorlich in #595
- Add resolve queue explanation to admin guide by @BentiGorlich in #624
- Rewrite the
ChainActivityHandler
by @BentiGorlich in #597 - Bump Version to 1.5.0 by @BentiGorlich in #625
- Translations update from Hosted Weblate by @weblate in #626
- fix DeleteHandler calling getId() on null by @asdfzdfj in #628
- Fix error pollution on null $user object by @melroy89 in #627
- cap max creation time used in ranking calculation by @asdfzdfj in #630
- Use the correct names for RabbitMQ & PostgreSQL by @melroy89 in #631
Full Changelog: v1.4.1...v1.5.0