Releases: MbinOrg/mbin
v1.7.0-rc1
This is the first release candidate for v1.7.0 of mbin it brings a lot of changes: improved instance wide modlog, new SSO providers, new translated languages, moderator updates in the modlog, new cake day display, better stability and scalability of the messengers, PeerTube support, federating direct messages, federate un-/pinning entries, updated robots.txt, improve the documentation, longer durability of the user session, adding admin notifications for reports, tombstones for deleted remote users, improve the federation of edits, push subscriptions, a new look of the federation page, add public API endpoints for getting de-/federated and dead instances, magazines can now restrict posting to mods, updating magazines and users should now federate instantly, new users and magazines now show a leaf icon next to them
A total of 123 reviewed and approved pull requests have been merged into this release! As always, a special thank you to new and existing contributors, without you, future Mbin releases would not be possible!
Comparison to previous version 1.6.0:
DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing | New dependencies |
---|---|---|---|---|
☑️ | ☑️ | ☑️ | ☑️ | ☑️ |
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
- Generate VAPID keys to support push notifications (for encryption):
docker compose exec php php bin/console mbin:push:keys:update
For Bare Metal
- Stop all messenger processes by running
supervisorctl stop messenger:*
as the root user - install the php extension
bcmath
, be sure the extension is for your installed php version. On debian for php 8.2 it would look like this:apt install php8.2-bcmath
. Check if that was successful by running:php -m | grep bcmath
- 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.7.0-rc1
- 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. - Generate VAPID keys to support push notifications (for encryption):
php bin/console mbin:push:keys:update
- 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
(or for PHP 8.3:systemctl reload php8.3-fpm
) - Refresh supervisor and start the new messenger group:
supervisorctl reread && supervisorctl update && supervisorctl start messenger:*
What's Changed
- Translations update from Hosted Weblate by @weblate in #798
- Translations update from Hosted Weblate by @weblate in #802
- Add Brazilian Portuguese and Danish language selectors by @nobodyatroot in #801
- change sso authentication success route to front page by @CocoPoops in #804
- Authentik SSO by @CocoPoops in #806
- Add moderator updates to the modlog by @BentiGorlich in #799
- docs(contributor): contributors readme action update by @github-actions in #808
- Docker caddy version bump by @nobodyatroot in #813
- fix modlog error when the user adding/removing a moderator is null by @BentiGorlich in #812
- Bump Symfony Framework to 7.0.8 by @nobodyatroot in #816
- docs(contributor): contributors readme action update by @github-actions in #817
- Add support for the Privacy Portal OAUTH provider by @privacyguard in #818
- Update contrib workflow with new version and permissions by @nobodyatroot in #820
- docs(contributor): contributors readme action update by @github-actions in #821
- Fix Authentik Account Registration by @CocoPoops in #824
- Improve modlog by @BentiGorlich in #828
- expose the
apFetchedAt
field of users and magazines for admins by @BentiGorlich in #826 - Translations update from Hosted Weblate by @weblate in #829
- New/cake day by @BentiGorlich in #827
- Include content of audience tag in the receivers by @BentiGorlich in #834
- Remove border radius on autocomplete form to fix letters from getting cutoff at the beginning of the item by @nobodyatroot in #835
- add aria attributes to cake day elements by @e-five256 in #841
- Try to fix wrong urls for images in the related panels by @BentiGorlich in #803
- Update all npm packages and address dependabot security notice by @nobodyatroot in #842
- Fix entries with not showing preview icon by @BentiGorlich in #847
- Try to fix the "Table too large for buffer" messenger errors by @BentiGorlich in #846
- Revert "Fix entries with not showing preview icon" by @BentiGorlich in #851
- improve
findActorOrCreate
by @BentiGorlich in #825 - Translations update from Hosted Weblate by @weblate in #850
- Revert "improve
findActorOrCreate
" by @BentiGorlich in #852 - Add Filipino language selector to sidebar by @nobodyatroot in #854
- Translations update from Hosted Weblate by @weblate in #856
- revert preview hide toggling visibility by @e-five256 in #855
- Fix rule mismatch on related entry front vs single by @e-five256 in #859
- Improve actor fetch by @BentiGorlich in #853
- reduce frequency of
lastoriginupdate
db writes by @e-five256 in #702 - Translations update from Hosted Weblate by @weblate in #865
- docs(contributor): contributors readme action update by @github-actions in #864
- Make outbox message handlers use the
DeliverManager
by @BentiGorlich in #862 - docs(contributor): contributors readme action update by @github-actions in #868
- Translations update from Hosted Weblate by @weblate in #871
- findActorOrCreate was changed to search by apPublicUrl which is wrong, revert to apProfileId by @BentiGorlich in #870
- Fix/actor 404 json error by @BentiGorlich in #872
- Translations update from Hosted Weblate by @weblate in #873
- Add new exception to provide descriptive error (returned false) from
openssl_pkey_get_public
in signature validator by @nobodyatroot in #874 - Translations update from Hosted Weblate by @weblate in #875
- Add peertube support by @BentiGorlich in #782
- Add Galician language support by @nobodyatroot in #876
- Cleanup deprecation warnings in Symfony profiler pre 1.6.1 release by @nobodyatroot in #877
- Implement message federation and redesign message view by @BentiGorlich in #830
- Translations update from Hosted Weblate by @weblate in #878
- Add send direct message button to profile by @melroy89 in #879
- Translations update from Hosted Weblate by @weblate in #881
- Fix/entry wrong type by @BentiGorlich in #880
- Remove text from DM button, stops excessive text wrap on desktop view with three columns by @nobodyatroot in #882
- Translations update from Hosted Weblate by @weblate in #884
- Federate pinned entries by @BentiGorlich in #831
- Translations update from Hosted Weblate by @weblate in #886
- Translations update from Hosted Weblate by @weblate in #888
- Add Discord SSO by @nobodyatroot in #887
- Update npm minor releases by @melroy89 in #895
- Add SSO documentation by @BentiGorlich in #892
- Add a lock to the handle if a user manually approves followers by @BentiGorlich in #885
- Fix PrivacyPortal SSO by @BentiGorlich in #894
- Update ...
v1.6.0
This is the 1.6.0 release of Mbin. It brings several changes and improvements including, but not limited to, a new UI filter for sorting threads and microblog posts, a new hashtag system, Microsoft Azure and SimpleLogin SSO additions, private instance mode, framework upgrade to Symfony 7.0, outgoing federation of delete actions, several backend improvements to address federation stability and compatibility, UI fixes and route changes, etc. A full change log can be seen at the bottom of these release notes.
A total of 98 reviewed and approved pull requests have been merged into this release! As always, a special thank you to new and existing contributors, without you, future Mbin releases would not be possible!
Caution
Please review the upgrade notes below before proceeding. Do NOT interrupt the database migration process... database migrations may take several minutes to finish. If a migration deadlocks, please make sure there are no lingering database sessions active and try the upgrade again.
Comparison to previous version 1.5.3:
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 - 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.6.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
- add editorconfig for more filetypes by @asdfzdfj in #663
- AttachEntryEmbedHandler add missing image source url (take 2) by @asdfzdfj in #650
- use markdown alert syntax for various emphasis in documentation by @e-five256 in #667
- Fix typo in admin guide warning message by @e-five256 in #669
- UI filter changes by @andrewmoise in #453
- ui adjustments by @e-five256 in #670
- Translations update from Hosted Weblate by @weblate in #659
- Admin option - Restrict magazine creation to admins/global moderators by @e-five256 in #610
- Translations update from Hosted Weblate by @weblate in #671
- Translations update from Hosted Weblate by @weblate in #672
- fix microblog post form missing from microblog pages by @e-five256 in #674
- add route requirements for filter options by @e-five256 in #673
- Update crosspost component, include entry title by @e-five256 in #587
- feat: implement microsoft azure oidc connector by @WebVoid in #665
- Removal of view counters and associated statistics by @nobodyatroot in #666
- Translations update from Hosted Weblate by @weblate in #675
- add back magazine to post dto when in magazine view by @e-five256 in #676
- restrict login css to main content containers by @e-five256 in #677
- Fix circular ChainActivityMessage again again by @BentiGorlich in #680
- Fix some API calls by @BentiGorlich in #681
- Remove ratio from entry view by @nobodyatroot in #682
- Translations update from Hosted Weblate by @weblate in #683
- Fix some bugs by @BentiGorlich in #679
- Adjust documentation for hosting by @BentiGorlich in #684
- Remove logo preload when header logo disabled by @e-five256 in #686
- disable trim trailing space on markdown files by @asdfzdfj in #688
- update links in readme by @e-five256 in #690
- Fix some type error when searching for an ap id by @BentiGorlich in #691
- Upgrade to Symfony 7.x, package updates and removal of deprecated features by @nobodyatroot in #662
- Fix email route and add exception logging on failed emails by @nobodyatroot in #693
- upgrade
Image::$sourceUrl
field to text for long links by @asdfzdfj in #695 - Admin and FAQ doc updates by @e-five256 in #685
- switch magazine list to show magazine display names by @e-five256 in #699
- limit magazine list column width to first column by @e-five256 in #700
- refactor base template by @e-five256 in #698
- Remove kbin migration, code bases are far too diverged to be a safe recommendation anymore by @nobodyatroot in #701
- update magazine ban and log table foreign keys by @e-five256 in #703
- add rel attribute when opening original urls by @e-five256 in #704
- fix topbar all link by @CocoPoops in #705
- bump version to 1.5.3 by @e-five256 in #707
- Small text changes to docs homepage by @melroy89 in #709
- use github format admonitions in docs by @asdfzdfj in #710
- Translations update from Hosted Weblate by @weblate in #713
- initial eslint integration and ruleset config by @asdfzdfj in #664
- Emphasize creating
random
magazine in first time install docs by @e-five256 in #714 - add rel to clipboard and github sidebar links by @e-five256 in #715
- add missing sensitivity field for entry comment AP Note by @asdfzdfj in #716
- Replace nucleos/antispam-bundle with omines/antispam-bundle by @nobodyatroot in #719
- Add contributors to the README (automated) by @melroy89 in #708
- use only
application/activity+json
for AP fetching by @asdfzdfj in #717 - update contributors workflow by @e-five256 in #720
- Update contributors readme by @melroy89 in #724
- Improve post-upgrade environment detection by @melroy89 in #726
- Add page to view specific entry comments by @e-five256 in #648
- refetch embed again on faulty redirect by @asdfzdfj in #718
- feat: implement private mode by @WebVoid in #678
- Update post-upgrade part 2 by @melroy89 in #730
- Implement rules federation, fix markdown federation by @BentiGorlich in #694
- Faq vacuum messages by @TheVillageGuy in #731
- set
doctrine.orm.controller_resolver.auto_mapping: true
by @asdfzdfj in #738 - post-upgrade detect env by reading
.env.local.php
directly by @asdfzdfj in #737 - Add page selector to user list at the top of the list users.html.twig by @TheVillageGuy in #736
- Add null check to magazine description/rules before getting passed to markdown converter by @nobodyatroot in #748
- move top pagination panel outside of section by @e-five256 in #746
- remove ratelimit on user create command for admins by @e-five256 in #747
- Fix 2fa redirect not being triggered on login by @e-five256 in #756
- Disable mercure by default on new installations by @nobodyatroot in #755
- Update contrib.yaml by @melroy89 in #759
- docs(contributor): contributors readme action update by @github-actions in #760
- Update cache action to v4 by @melroy89 in #761
- Add admin panel option to enable/disable SSO only mode by @e-five256 in #740
- Rename developement_server.md to development_server.md by @e-five256 in https://github.com/MbinOrg/...
v1.5.3
Caution
Do NOT checkout this release if you normally track main. Continue to track main as always. This release is ONLY for those that previously were on 1.5.2 0e63cdd. Those that track main already have these fixes and will get the new version number as usual.
Hotfix to circular chain activity messages and an account deletion FK violation that would cause deadlocks. Advise bringing down messengers in order the migrate the DB successfully, as there may be lock conflicts with the table changes.
DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
---|---|---|---|
☑️ | ❌ | ❌ | ❌ |
What's Changed
- Fix circular ChainActivityMessage again again by @BentiGorlich in #680
- update magazine ban and log table foreign keys by @e-five256 in #703
- bump version to 1.5.3 by @e-five256 in #707
Full Changelog: v1.5.2...v1.5.3
v1.5.2
Quick hotfix to some issues regarding local user actions and account deletion
In some scenarios:
- Local user replies to other local users weren't federating out
- Deleting your own posts may also have failed
- Account deletion may have failed due to foreign key constraints
These issues should now be resolved
DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
---|---|---|---|
☑️ | ❌ | ☑️ | ☑️ |
What's Changed
- Remove password and 2fa options for sso controlled users by @e-five256 in #603
- Bye Dragonfly, Hello KeyDB by @melroy89 in #641
- AttachEntryEmbedHandler add missing image source url by @asdfzdfj in #639
- Revert "AttachEntryEmbedHandler add missing image source url" by @e-five256 in #649
- Rename yarn to npm by @melroy89 in #652
- fix some minor css typos by @e-five256 in #651
- Fix error on local user replies to local users by @e-five256 in #655
- Fix missing delete cascade on MessageThread by @melroy89 in #656
- Translations update from Hosted Weblate by @weblate in #657
- Remove obsolete package-versions-deprecated by @melroy89 in #653
- npm package bump, fix recent warnings in security audit by @nobodyatroot in #658
- Update Symfony console recipe by @nobodyatroot in #660
- bump version to 1.5.2 by @e-five256 in #661
Full Changelog: v1.5.1...v1.5.2
Release v1.5.1 📦
Most important: Fix email sent issues (both during registration as well as contact form). The reason to create this patch release.
Have a nice Easter!
DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
---|---|---|---|
❌ | ❌ | ❌ | ☑️ |
What's Changed
- Fix Dragonfly redis compatibility config by @melroy89 in #634
- Fix width class missing if
KBIN_PAGE_WIDTH
has not been set by @BentiGorlich in #636 - Fix list display in magazine description by @BentiGorlich in #635
- Translations update from Hosted Weblate by @weblate in #637
- restore css to limit figure preview size by @asdfzdfj in #638
- Hotfix: Fix email sent by @melroy89 in #645
- Update to v1.5.1 by @melroy89 in #646
Full Changelog: v1.5.0...v1.5.1
v1.5.0
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 https://github.com/MbinOr...
v1.4.1
PLEASE REVIEW v1.4.0 RELEASE NOTES BEFORE CONTINUING!!!
https://github.com/MbinOrg/mbin/releases/tag/v1.4.0
Hi everyone, v1.4.1 is here to address some critical bugs that were discovered in v1.4.0 that may cause 500 errors and/or odd behavior under the right conditions, so please update at your earliest convenience. Thank you!
Comparison to previous version: v1.4.0
DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
---|---|---|---|
❌ | ❌ | ❌ | ☑️ |
What's Changed
- Set BaseEntityAutocompleteType with Ajax Form by @melroy89 in #533
- Update delete image message and handler to use object ids by @nobodyatroot in #535
- Allow null to be returned from MediaExtensionRuntime getPublicPath by @nobodyatroot in #536
- Version bump to 1.4.1 for critical bug fixes by @nobodyatroot in #537
Full Changelog: v1.4.0...v1.4.1
v1.4.0
Hi everybody this is our v1.4.0 release bringing big changes to the messenger queue layout, our background worker system. And because of that the update process is a little more complicated than usually. For a little more info you can check out our FAQ#messenger-queue-is-building-up-even-though-my-messengers-are-idling and our Admin Guide#symfony-messenger-queues
Comparison to previous version: v1.3.0
DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
---|---|---|---|
☑️ | ❌ | ☑️ | ☑️ |
Upgrade Instructions
For Docker
We removed one of the containers in the docker compose, because we do not have separate workers for the different queues anymore. That means that the default is only one work process on the messenger queue.
If you need more than that, you can
- copy & paste the
messenger
part of thedocker/compose.yml
and give them unique container names or - use the docker compose replicas option instead: comment out container_name for messenger service and this block and just change amount of replica you need
services:
messenger:
deploy:
mode: replicated
replicas: <number of replicas here>
- Get the new docker image by either checking out the new code and building the image or pull the published image
- Stop the containers and remove the messenger containers:
docker compose down && docker compose rm
- Start the containers
docker compose up -d
For Bare Metal
- Stop all supervisor messenger processes:
supervisorctl stop messenger-ap:* messenger-kbin:*
- Remove the all process groups
supervisorctl remove messenger-ap messenger-kbin
- Edit the messenger config at
/etc/supervisor/conf.d/messenger-worker.conf
to:
[program:messenger]
command=php /var/www/mbin/bin/console messenger:consume async async_ap failed --time-limit=3600
user=www-data
numprocs=4
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 async async_ap failed --time-limit=3600
- Get the new release:
git fetch && git checkout v1.4.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. - Refresh supervisor and start the new messenger group:
supervisorctl reread && supervisorctl update && supervisorctl start messenger:*
What's Changed
- Remove the local condition from magazine autocomplete by @BentiGorlich in #455
- Add missing flash on contact form by @melroy89 in #454
- Translations update from Hosted Weblate by @weblate in #460
- add user badges to entry and post templates by @e-five256 in #467
- Reread and update as well by @melroy89 in #462
- make search recognize
[email protected]
handle format by @asdfzdfj in #465 - fix nodeinfo schema wrong version, add metadata by @asdfzdfj in #471
- load custom css from routes instead of inline by @asdfzdfj in #472
- adding alt text as caption in lightbox by @asdfzdfj in #473
- hotfix: allow custom style while still in 2fa by @asdfzdfj in #488
- Change the messenger queue layout by @BentiGorlich in #461
- Translations update from Hosted Weblate by @weblate in #474
- Using loading lazy on images by @melroy89 in #491
- Preload our logo by @melroy89 in #493
- FAQ: Explain 'all' messages by @melroy89 in #490
- FAQ: Retries three times by @melroy89 in #489
- FAQ: Typical message queue has changed by @melroy89 in #492
- Fix error on entries with an empty body by @BentiGorlich in #504
- move service worker registration into main app bundle by @asdfzdfj in #507
- use title instead of body for federated entry summary by @asdfzdfj in #506
- adjust tag matching to better handle some eastern scripts by @asdfzdfj in #508
- somewhat fix phpunit so it could run functional tests again by @asdfzdfj in #396
- Add column
last_origin_update
to magazine by @BentiGorlich in #503 - Add the correct cascading attribute to Entities by @BentiGorlich in #500
- Update Symfony packages + recipes+ NPM by @melroy89 in #510
- Update remaining composer packages by @melroy89 in #512
- Fix circular message by @BentiGorlich in #514
- Add support for incoming dislikes by @BentiGorlich in #513
- Remove route for down votes and make it a span by @BentiGorlich in #516
- Upgrade all remaining symfony packages by @melroy89 in #517
- Fix imagemanager not having a useful error message by @BentiGorlich in #523
- slightly fix object body extraction on set but empty body by @asdfzdfj in #525
- Update Postmill link by @melroy89 in #526
- Improve handling of images by @BentiGorlich in #501
- Update version number for 1.4 release by @nobodyatroot in #530
Full Changelog: v1.3.0...v1.4.0
Release v1.3.0 📦
Happy new year! This is our v1.3.0 release, as always with new features, frontend changes, bug fixes and various other improvements.
Thank you everybody for all your contributions and being part of our Mbin community.
Comparison to previous version: v1.2.0
DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
---|---|---|---|
❌ | ❌ | ❌ | ☑️ |
What's Changed
- Update js packages by @melroy89 in #348
- fix duplicate sensitive image state id collision by @asdfzdfj in #349
- Add captcha to contact form by @nobodyatroot in #353
- Fix typo in #354
- fix blurhash function to handle long horizontal image strip by @asdfzdfj in #357
- enable image preview for image under instance domain by @asdfzdfj in #356
- remove system-ui font due to display issues by @e-five256 in #257
- Translations update from Hosted Weblate by @weblate in #358
- Fix 2 errors when announcing anything by @BentiGorlich in #359
- Add space to entry.html.twig (formatting) by @TheVillageGuy in #361
- Update time filter display by @e-five256 in #360
- Translations update from Hosted Weblate by @weblate in #363
- fixup style changes to effect change view option by @e-five256 in #364
- Bugs/public oauth client error by @nobodyatroot in #368
- Translations update from Hosted Weblate by @weblate in #371
- Translations update from Hosted Weblate by @weblate in #374
- Bump aws/aws-sdk-php from 3.287.0 to 3.288.1 by @dependabot in #373
- Update footer language selector to include Bulgarian, README update by @nobodyatroot in #375
- remove admin submenu when viewing reports as global mod by @e-five256 in #376
- Add user verify command to activate/deactivate user via php bin/console by @nobodyatroot in #380
- Fix 500 on parsed unresolved remote mags (might be specific to Flipboard) by @nobodyatroot in #381
- increase image store exception logging to error by @asdfzdfj in #378
- Update console commands to use mbin naming convention by @nobodyatroot in #382
- fix malformed external media link label that contain newline by @asdfzdfj in #377
- markdown details/spoilers block extension by @asdfzdfj in #355
- adjust logging for docker setups by @asdfzdfj in #379
- fix js error when clicking home button on mobile sidebar by @e-five256 in #383
- Update admin docs for manual user activation by @nobodyatroot in #386
- Rename "bot" user agent string and route to "agent" by @e-five256 in #387
- Update symfony doctrine recipe to 2.11 by @nobodyatroot in #388
- Reject user actions when banned by @e-five256 in #326
- Accessibility updates to FontAwesome icons by @e-five256 in #384
- Update InlineParserMatch regex in MentionLinkParser to correctly process usernames with hyphens by @nobodyatroot in #389
- add oauth keycloak env vars to docker example by @e-five256 in #390
- Translations update from Hosted Weblate by @weblate in #392
- Add Russian translation selector, update timeago js controller by @nobodyatroot in #393
- Handle exception on long embed URL length causing messages to go to failed queue by @nobodyatroot in #395
- Feature remote reporting by @BentiGorlich in #249
- redirect
/instances
to/federation
by @e-five256 in #394 - Translations update from Hosted Weblate by @weblate in #398
- Translations update from Hosted Weblate by @weblate in #399
- Add global moderator user role utilities to command line tools by @nobodyatroot in #400
- Validate HTTP status codes in calls to
getCollectionObject
by @nobodyatroot in #401 - Add various null/empty checks to abort or do nothing when encountered by @nobodyatroot in #402
- Translations update from Hosted Weblate by @weblate in #404
- Translations update from Hosted Weblate by @weblate in #408
- Move footer information into sidebar by @e-five256 in #385
- add back ru to lang select by @e-five256 in #410
- Translations update from Hosted Weblate by @weblate in #409
- update follow-redirects node module by @asdfzdfj in #411
- Fix notifications of blocked users by @BentiGorlich in #413
- Increase HTTP timeout to 15 seconds by @andrewmoise in #417
- Revert "Increase HTTP timeout to 15 seconds" by @BentiGorlich in #421
- Translations update from Hosted Weblate by @weblate in #422
- correctly fetch display names of remote magazines by @BentiGorlich in #419
- fix GitHub authenticator writes to users oauthFacebookId by @asdfzdfj in #424
- add mention to [email protected] magazine in README by @asdfzdfj in #425
- server assisted comment collapsing by @asdfzdfj in #397
- exposing jsonld contexts as a separate route by @asdfzdfj in #428
- Introducing /api/info - general info API by @melroy89 in #426
- Do not show debug messages in prod by @melroy89 in #430
- Limit the response body to error log by @melroy89 in #431
- Translations update from Hosted Weblate by @weblate in #432
- add faq answer on getinstanceprivatekeys cache clear requirement by @e-five256 in #434
- Announce posts and comments by @BentiGorlich in #369
- include remote users in followers collection by @BentiGorlich in #418
- Minor install doc updates by @andrewmoise in #433
- remove forced line break on timestamps from sidebar components by @e-five256 in #437
- Increase time-out to 8 seconds by @melroy89 in #439
- small adjustment to textarea enclosure wrapping by @asdfzdfj in #440
- Add setting to restrict sidebar sections to local only by @thepaperpilot in #435
- Improve handling of the random magazine and microblogs by @BentiGorlich in #445
- set default of local sidebar sections by @e-five256 in #448
- prune some likely unused ActivityPhp related code by @asdfzdfj in #441
- Improved logo's by @melroy89 in #443
- Npm update by @melroy89 in #450
- announce likes by @BentiGorlich in #420
- Translations update from Hosted Weblate by @weblate in #451
- Update to v1.3.0 by @melroy89 in #452
New Contributors
- @andrewmoise made their first contribution in #417
- @thepaperpilot made their first contribution in #435
Full Changelog: v1.2.1...v1.3.0
Release v1.2.1 📦
Thank you contributors and users! Wishing everyone a happy holiday season! ☃️
Comparison to previous version: v1.2.0
DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
---|---|---|---|
❌ | ❌ | ❌ | ☑️ |
What's Changed
- Changes to report links and magazine report fix by @e-five256 in #320
- Use the official PHPUnit Bridge recipe again for phpunit v10 by @melroy89 in #321
- Add an edit my profile button to your own user profile pages by @e-five256 in #322
- Update symfony packages by @melroy89 in #324
- Add missing deleted by translations by @melroy89 in #325
- fix debug log typo in ActivityPubManager by @asdfzdfj in #327
- ingest incoming AP object
source
property by @asdfzdfj in #312 - change inline js
on*=
actions to stimulus controllers/actions by @asdfzdfj in #330 - Unable to ban admin by @melroy89 in #331
- Change URL to the weblate engage page by @melroy89 in #332
- change AP as:Hashtag text property key to 'name' by @asdfzdfj in #328
- add some missing contexts for AP/json-ld output by @asdfzdfj in #329
- connect
window.KBIN_XXX
to notifications controller by @asdfzdfj in #334 - Move menu's to dedicated twig templates + small refactoring by @melroy89 in #335
- do not automatically show media previews of nsfw posts by @e-five256 in #300
- Introducing a Project Info service (updates useragent version as well) by @melroy89 in #336
- using blurhash for entry thumbnail blurred background by @asdfzdfj in #333
- Add a small margin between top level entry comments by @e-five256 in #337
- Add current sort and time options to navbar links by @e-five256 in #340
- Hide NSFW posts on user overview page when logged out or hide NSFW enabled by @e-five256 in #339
- recognize image url with extension case insensitively by @asdfzdfj in #344
- fix comment sort order being used for navbar sort by @e-five256 in #343
- using blurhash for obscuring sensitive image by @asdfzdfj in #342
- Translations update from Hosted Weblate by @weblate in #346
- update version from 1.2.0 to 1.2.1 by @e-five256 in #347
Full Changelog: v1.2.0...v1.2.1