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 |
---|---|---|---|---|
☑️ | ☑️ | ☑️ | ☑️ | ❌ |
*: 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 #1095
- Make related panels respect blocks by @BentiGorlich in #1183
- Improve search by @BentiGorlich in #1167
- Fix checkmarks not being rendered correctly anymore by @BentiGorlich in #1233
- [Feature] Admin approval by @BentiGorlich in #1232
- Make applicationText nullable by @BentiGorlich in #1276
- [Feature] Admin Signup Notifications by @BentiGorlich in #1242
- Fix generated markdown search link not prefilling the query field by @BentiGorlich in #1369
- Fix search for URLs by @BentiGorlich in #1368
- Fix signup notifications for deleted accounts by @BentiGorlich in #1355
- English sentence fixes by @melroy89 in #1372
- Translations update from Hosted Weblate by @weblate in #1367
- Fix checkmarks not being rendered correctly anymore, again by @BentiGorlich in #1373
- Mark signup notification as read automatically by @BentiGorlich in #1354
- Translations update from Hosted Weblate by @weblate in #1374
- Fix Signup Notifications by @BentiGorlich in #1375
- Move from dotenv to ini codeblocks by @BentiGorlich in #1376
- Translations update from Hosted Weblate by @weblate in #1378
- Ban additional Semrush agents by @melroy89 in #1386
- Translations update from Hosted Weblate by @weblate in #1384
- Improve Nginx http accept regex by @melroy89 in #1387
- Dump version in issue template by @melroy89 in #1383
- Truncate body content in the production log by @melroy89 in #1377
- Bump phpunit/phpunit from 11.5.2 to 11.5.3 by @dependabot in #1379
- Use Paratest in GitHub Action by @garrettw in #1346
- Remove unnecessary memory limit passthrough by @BentiGorlich in #1391
- Translations update from Hosted Weblate by @weblate in #1389
- Make touch click open post by @BentiGorlich in #1390
- [Feature] Custom notification settings by @BentiGorlich in #1272
- Fix flakiness of MagazineActionReportsApiTest::testApiCanAcceptReport by @BentiGorlich in #1393
- Bump symfony/maker-bundle from 1.61.0 to 1.62.1 by @dependabot in #1380
- Bump doctrine/doctrine-bundle from 2.13.1 to 2.13.2 by @dependabot in #1392
- Leverage GitHub Actons concurrency groups by @melroy89 in #1396
- Translations update from Hosted Weblate by @weblate in #1395
- Introducing the mbin:images:delete command by @melroy89 in #1394
- Fix search link for missing communities not working by @BentiGorlich in #1399
- Add a default sort option for the front page and comments by @BentiGorlich in #1400
- Add twig component rendering to our markdown rendering by @BentiGorlich in #1366
- Increase padding in magazine description so numbers are not getting cut off by @BentiGorlich in #1398
- Update twig to v3.19.0 to fix composer audit by @BentiGorlich in #1404
- Limit touch click detection to the content div by @BentiGorlich in #1402
- Add endpoint to create bookmark list by @BentiGorlich in #1410
- Fix NRE within the
ExternalLinkRenderer
by @BentiGorlich in #1409 - Fix signup notification links when approvals are enabled by @BentiGorlich in #1411
- Fix nodeinfo not available when federation is disabled by @BentiGorlich in #1405
- Fix notification api route methods by @jwr1 in #1415
- Improve magazine matching in the
AddHandler
by @BentiGorlich in #1403 - Update npm packages by @melroy89 in #1417
- Improve README (part 1 / x) by @melroy89 in #1416
- docs(contributor): contributors readme action update by @github-actions in #1424
- Fix doctrine weirdness by @BentiGorlich in #1426
- Translations update from Hosted Weblate by @weblate in #1433
- Add missing colons to GitHub Issues template for bug reports by @MHLoppy in #1435
- Fix touch click on links in comments only opens comment by @BentiGorlich in #1430
- docs(contributor): contributors readme action update by @github-actions in #1438
- Fix the bookmark API and add tests for it by @BentiGorlich in #1425
- Mark signup notification as read, after clicking on the link by @melroy89 in #1437
- Adjust our pipeline docker file to use the prebuild ubuntu packages by @BentiGorlich in #1440
- Use new docker image by @melroy89 in #1441
- Add missing cascade deletes to NotificationSettings by @BentiGorlich in #1420
- Update symfony packages + minor release by @melroy89 in #1442
- Bump doctrine/doctrine-migrations-bundle from 3.3.1 to 3.4.1 by @dependabot in #1407
- Update version to v1.8.0 by @melroy89 in #1443
- Remove some cascade removes by @BentiGorlich in #1445
New Contributors
Full Changelog: v1.7.4...v1.8.0