Mbin Releases
This is the v1.8.0 release of Mbin and it is a feature packed one. It brings an extensive bookmarking system, signup request support, signup notifications, extended markdown rendering, custom notification settings to set magazines, users, threads and microblogs to default, loud or muted, setting a default sort for the front page and comment lists, a new image delete command for admins and documentation changes. You also still might want to double check if you are using the latest Nginx configs (v1.8.0 has now additional regex improvements).
A total of 60* pull requests from 11 contributors** have been merged.
Comparison to previous stable version v1.7.4:
DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing | New dependencies |
---|---|---|---|---|
:ballot_box_with_check: | :ballot_box_with_check: | :ballot_box_with_check: | :ballot_box_with_check: | :x: |
*: excluding dependabot and github actions **: excluding dependabot, github actions and weblate
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
- 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.8.0
- Run the update script:
bash bin/post-upgrade
. - Run
exit
so we are back at the root user (or put asudo
in front of every command) - Clear your OPcache by reloading php fpm
systemctl restart php8.3-fpm
(or restartphp8.2-fpm
in case of PHP 8.2) - Optional: Flush your Redis DB by running
redis-cli
, type inAUTH [YOUR PASSWORD]
and thenFLUSHDB
- Restart the messengers:
supervisorctl restart messenger:*
What's Changed
- Introducing bookmarks by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1095
- Make related panels respect blocks by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1183
- Improve search by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1167
- Fix checkmarks not being rendered correctly anymore by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1233
- [Feature] Admin approval by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1232
- Make applicationText nullable by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1276
- [Feature] Admin Signup Notifications by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1242
- Fix generated markdown search link not prefilling the query field by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1369
- Fix search for URLs by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1368
- Fix signup notifications for deleted accounts by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1355
- English sentence fixes by @melroy89 in https://github.com/MbinOrg/mbin/pull/1372
- Translations update from Hosted Weblate by @weblate in https://github.com/MbinOrg/mbin/pull/1367
- Fix checkmarks not being rendered correctly anymore, again by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1373
- Mark signup notification as read automatically by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1354
- Translations update from Hosted Weblate by @weblate in https://github.com/MbinOrg/mbin/pull/1374
- Fix Signup Notifications by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1375
- Move from dotenv to ini codeblocks by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1376
- Translations update from Hosted Weblate by @weblate in https://github.com/MbinOrg/mbin/pull/1378
- Ban additional Semrush agents by @melroy89 in https://github.com/MbinOrg/mbin/pull/1386
- Translations update from Hosted Weblate by @weblate in https://github.com/MbinOrg/mbin/pull/1384
- Improve Nginx http accept regex by @melroy89 in https://github.com/MbinOrg/mbin/pull/1387
- Dump version in issue template by @melroy89 in https://github.com/MbinOrg/mbin/pull/1383
- Truncate body content in the production log by @melroy89 in https://github.com/MbinOrg/mbin/pull/1377
- Bump phpunit/phpunit from 11.5.2 to 11.5.3 by @dependabot in https://github.com/MbinOrg/mbin/pull/1379
- Use Paratest in GitHub Action by @garrettw in https://github.com/MbinOrg/mbin/pull/1346
- Remove unnecessary memory limit passthrough by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1391
- Translations update from Hosted Weblate by @weblate in https://github.com/MbinOrg/mbin/pull/1389
- Make touch click open post by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1390
- [Feature] Custom notification settings by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1272
- Fix flakiness of MagazineActionReportsApiTest::testApiCanAcceptReport by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1393
- Bump symfony/maker-bundle from 1.61.0 to 1.62.1 by @dependabot in https://github.com/MbinOrg/mbin/pull/1380
- Bump doctrine/doctrine-bundle from 2.13.1 to 2.13.2 by @dependabot in https://github.com/MbinOrg/mbin/pull/1392
- Leverage GitHub Actons concurrency groups by @melroy89 in https://github.com/MbinOrg/mbin/pull/1396
- Translations update from Hosted Weblate by @weblate in https://github.com/MbinOrg/mbin/pull/1395
- Introducing the mbin:images:delete command by @melroy89 in https://github.com/MbinOrg/mbin/pull/1394
- Fix search link for missing communities not working by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1399
- Add a default sort option for the front page and comments by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1400
- Add twig component rendering to our markdown rendering by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1366
- Increase padding in magazine description so numbers are not getting cut off by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1398
- Update twig to v3.19.0 to fix composer audit by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1404
- Limit touch click detection to the content div by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1402
- Add endpoint to create bookmark list by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1410
- Fix NRE within the
ExternalLinkRenderer
by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1409 - Fix signup notification links when approvals are enabled by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1411
- Fix nodeinfo not available when federation is disabled by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1405
- Fix notification api route methods by @jwr1 in https://github.com/MbinOrg/mbin/pull/1415
- Improve magazine matching in the
AddHandler
by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1403 - Update npm packages by @melroy89 in https://github.com/MbinOrg/mbin/pull/1417
- Improve README (part 1 / x) by @melroy89 in https://github.com/MbinOrg/mbin/pull/1416
- docs(contributor): contributors readme action update by @github-actions in https://github.com/MbinOrg/mbin/pull/1424
- Fix doctrine weirdness by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1426
- Translations update from Hosted Weblate by @weblate in https://github.com/MbinOrg/mbin/pull/1433
- Add missing colons to GitHub Issues template for bug reports by @MHLoppy in https://github.com/MbinOrg/mbin/pull/1435
- Fix touch click on links in comments only opens comment by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1430
- docs(contributor): contributors readme action update by @github-actions in https://github.com/MbinOrg/mbin/pull/1438
- Fix the bookmark API and add tests for it by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1425
- Mark signup notification as read, after clicking on the link by @melroy89 in https://github.com/MbinOrg/mbin/pull/1437
- Adjust our pipeline docker file to use the prebuild ubuntu packages by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1440
- Use new docker image by @melroy89 in https://github.com/MbinOrg/mbin/pull/1441
- Add missing cascade deletes to NotificationSettings by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1420
- Update symfony packages + minor release by @melroy89 in https://github.com/MbinOrg/mbin/pull/1442
- Bump doctrine/doctrine-migrations-bundle from 3.3.1 to 3.4.1 by @dependabot in https://github.com/MbinOrg/mbin/pull/1407
- Update version to v1.8.0 by @melroy89 in https://github.com/MbinOrg/mbin/pull/1443
- Remove some cascade removes by @BentiGorlich in https://github.com/MbinOrg/mbin/pull/1445
New Contributors
- @MHLoppy made their first contribution in https://github.com/MbinOrg/mbin/pull/1435
Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.7.4...v1.8.0