Skip to content

Releases: MbinOrg/mbin

v1.8.0

10 Feb 11:45
95338ff
Compare
Choose a tag to compare

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

  1. Get the official image or checkout the code and build it locally
  2. Stop all containers docker compose down
  3. Start all containers docker compose up -d

For Bare Metal

  1. Login as the mbin/kbin user: su mbin
  2. Go to your repo cd /var/www/mbin
  3. Get the new release: git fetch && git checkout v1.8.0
  4. Run the update script: bash bin/post-upgrade.
  5. Run exit so we are back at the root user (or put a sudo in front of every command)
  6. Clear your OPcache by reloading php fpm systemctl restart php8.3-fpm (or restart php8.2-fpm in case of PHP 8.2)
  7. Optional: Flush your Redis DB by running redis-cli, type in AUTH [YOUR PASSWORD] and then FLUSHDB
  8. Restart the messengers: supervisorctl restart messenger:*

What's Changed

New Contributors

Full Changelog: v1.7.4...v1.8.0

v1.7.4

13 Jan 19:50
ec8bc2d
Compare
Choose a tag to compare

This is the v1.7.4 release of Mbin and it brings a lot of documentation updates and bug fixes (especially in the backend): documentation for the Nginx setup has been altered a lot (allowing the server admin to rate limit on Nginx), PostgreSQL has also seen a few edits, most Symfony commands are now documented, we improved the federation backend, we "revive" dead instances when we get activities from them, the search experience is now improved when searching for URLs, we now support strike through HTML to markdown and a lot more.

The most important thing for developers is that the automated tests are now working and required for PRs to be merged.

A total of 62 pull requests from 10 contributors (excluding dependabot) have been merged.

Comparison to previous stable version v1.7.3:

DB migrations New ENV vars Admin guide changes Suggest cache clearing New dependencies
☑️

Upgrade Instructions

For Docker

  1. Get the official image or checkout the code and build it locally
  2. Stop all containers docker compose down
  3. Start all containers docker compose up -d
  4. execute the command to remove the default domain from entries that are not local: docker compose exec php php bin/console mbin:update:local-domain

For Bare Metal

  1. Login as the mbin/kbin user: su mbin
  2. Go to your repo cd /var/www/mbin
  3. Get the new release: git fetch && git checkout v1.7.4
  4. Run the update script: bash bin/post-upgrade.
  5. Run exit so we are back at the root user (or put a sudo in front of every command)
  6. flush your redis db by running redis-cli, type in AUTH [YOUR PASSWORD] and then FLUSHDB
  7. clear your opcache by reloading php fpm systemctl restart php8.2-fpm (or for PHP 8.3: systemctl restart php8.3-fpm)
  8. Restart the messengers: supervisorctl restart messenger:*
  9. Login as the mbin/kbin user: su mbin again
  10. Run the command to remove the default domain from entries that are not local: php bin/console mbin:update:local-domain

What's Changed

Read more

v1.7.3

23 Nov 13:44
d2d1822
Compare
Choose a tag to compare

We are excited to announce the latest release of Mbin; v1.7.3! It's a big patch release once again.
This version is focused on bug fixes and improvements rather than new features. Notable improvements in random order are:

  • Improved PHP (max_children), Nginx (improved logging using map, upstream block for Mercure and open_file_cache) and PostgreSQL documentation (adding commit_delay config option and better defaults).
  • Better RabbitMQ messenger defaults
  • Fixed security Symfony audit & update all Symfony packages
  • Fixed self-delivery looping
  • Improved delivery handler by not rolling back InvalidApPostException exceptions
  • Fixed private comments retrieval via API
  • Fixed dead instance query (by allowing lastSuccessfulDeliver to be NULL)
  • Fixed markdown toolbar editor during editing a thread
  • Improved federation page
  • New/improved npm audit and composer audit checks in GitHub Actions workflow

Comparison to previous stable version 1.7.2:

DB migrations New ENV vars Admin guide changes Suggest cache clearing New dependencies
☑️ ☑️

What's Changed

Full Changelog: v1.7.2...v1.7.3

v1.7.2

09 Oct 15:11
c4d351f
Compare
Choose a tag to compare

We are excited to announce the release of Mbin v1.7.2! This version is packed with important bug fixes and performance improvements, focused on bug fixes rather than new features.

The main improvements are (in random order):

  • Fixing many PHP undefined, null or other errors that admins might see in their production logs.
  • Resolving several templating null issues.
  • Removing CSRF tokens from public forms (when user isn't logged-in), reduce unnecessary large amount of sessions.
  • Migrating Symfony sessions from Redis to PostgreSQL to avoid race conditions.
  • Increase session & cookies duration to 4 months (so people stay logged-in).
  • Adding a down-vote mode in .env.
  • Add stricter requirements on the routes configuration (reducing invalid requests are making it to the controller).
  • Introducing a scheduler for removing deleted user messages & pruning the dead letter queue in RabbitMQ.
  • Various other bug fixes and updating package dependencies and translation improvements.

For more details see below the "What's Changed" section.

Comparison to previous stable version 1.7.1:

DB migrations New ENV vars Admin guide changes Suggest cache clearing New dependencies
☑️ ☑️

What's Changed

Full Changelog: v1.7.1...v1.7.2

v1.7.1

08 Sep 16:36
0f9604e
Compare
Choose a tag to compare

Welcome to version 1.7.1 of Mbin. A very packed Mbin release once again!

This version includes tons of fixes (too many to mention here, look at "What's Changed") and introduces also new features like: trusted proxy configuration (see also docs), activate accounts manually using the admin panel, show an error when the image is too large to upload (look at the latest .env template file), improved API end-points (isAdmin, isGlobalModerator is part of the user API, fixed AP context and more) as well as many documentation improvements.

Note: Due to a dead-lock issue in 1.7.0, which is now fixed in 1.7.1, we strongly recommend upgrading your Mbin server as soon as possible.

And as always, we would like to thank all the contributors and the Mbin community! We can't do it without you!

Comparison to previous stable version 1.7.0:

DB migrations New ENV vars Admin guide changes Suggest cache clearing New dependencies
☑️ ☑️ ☑️ ☑️

Upgrade Instructions

For Docker

  1. Get the official image or checkout the code and build it locally
  2. Stop all containers docker compose down
  3. Start all containers docker compose up -d

For Bare Metal

  1. Login as the mbin/kbin user: su mbin
  2. Go to your repo cd /var/www/mbin
  3. Get the new release: git fetch && git checkout v1.7.1
  4. Run the update script: ./bin/post-upgrade. 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.
  5. Run exit so we are back at the root user (or put a sudo in-front of every command)
  6. Flush your Redis db by running redis-cli, type in AUTH [YOUR PASSWORD] and then FLUSHDB
  7. Clear your opcache by reloading PHP-FPM systemctl reload php8.3-fpm (or for PHP 8.2: systemctl reload php8.2-fpm)
  8. Restart the messengers: supervisorctl restart messenger:*

What's Changed

  • Update docker php config to match bare metal guide by @jwr1 in #992
  • docs(contributor): contributors readme action update by @github-actions in #993
  • Update docker ini files to be a little more consistent with docs in #994
  • Fix the error when saving the admin settings by @BentiGorlich in #997
  • Add posting restricted to mods to the API by @BentiGorlich in #998
  • Add user ban and suspension lists to admin panel in #995
  • Translations update from Hosted Weblate by @weblate in #999
  • Add user password set/reset command to bin/console in #1002
  • Fix remove moderator api throwing error by @BentiGorlich in #1003
  • Fix ActivityHandler errors regarding the payload by @BentiGorlich in #1004
  • Fix the managers checking wrong fields for editing permissions by @BentiGorlich in #1005
  • Allow admins to activate/verify accounts manually using the admin user panel in #1000
  • Stop banned or suspended users from notification creation on posts and entries in #1007
  • Invalidate collection cache before getting collection for likes, dislikes and shares by @BentiGorlich in #1008
  • Bump version to 1.7.1-rc1 by @BentiGorlich in #1010
  • add default null to Instance entity nullables field by @asdfzdfj in #1006
  • Remove \intval around MAX_IMAGE_BYTES in src/Service/SettingsManager.php, breaks settings name resolution in #1011
  • Add trusted proxy config to framework configuration in #1012
  • Version bump for 1.7.1-rc2 in #1015
  • Translations update from Hosted Weblate by @weblate in #1017
  • Make the API return the server public key and add a dedicated route for it by @BentiGorlich in #1018
  • Use the default when the value is zero by @BentiGorlich in #1020
  • Add an image too large error by @BentiGorlich in #1019
  • Revert "Make the API return the server public key and add a dedicated route for it" by @jwr1 in #1024
  • Fix user getting deleted when unregistering push by @BentiGorlich in #1029
  • Fix getAccessToken always returning null by @BentiGorlich in #1030
  • docs(contributor): contributors readme action update by @github-actions in #1031
  • Fix UserPushSubscriptionManager using wrong AccessToken type by @BentiGorlich in #1033
  • Bump version to 1.7.1-rc3 by @BentiGorlich in #1027
  • Fix 500 error when a thread is empty by @BentiGorlich in #1034
  • Translations update from Hosted Weblate by @weblate in #1038
  • Translations update from Hosted Weblate by @weblate in #1041
  • Update PHP Dependencies by @BentiGorlich in #1037
  • Fix user soft delete and user account restore within 30 days in #1013
  • Change attributed to parsing to not expect a url by @BentiGorlich in #1035
  • Add cascade delete to report.considered_by_id by @BentiGorlich in #1028
  • Only match magazine by hashtag if post was in random by @BentiGorlich in #1036
  • Fix error when updating an actor and the instance has no nodeinfo endpoint by @BentiGorlich in #1040
  • Return only the host as audience for remote magazines by @BentiGorlich in #1039
  • Bump Version to 1.7.1-rc4 by @BentiGorlich in #1042
  • Add isAdmin and isGlobalModerator fields to user api response by @BentiGorlich in #1044
  • Add field to all content response DTOs: canAuthUserModerate by @BentiGorlich in #1043
  • Add missing checks for banned instance by @BentiGorlich in #1053
  • actually building user agent in ProjectInfoService by @asdfzdfj in #1057
  • push navbar front route generation into twig func by @asdfzdfj in #1058
  • Fix AP context by @melroy89 in #1060
  • Edit the contributing docs by @BentiGorlich in #1048
  • Translations update from Hosted Weblate by @weblate in #1061
  • Add a warning message when we hit the cache in post by @BentiGorlich in #1049
  • Use different values for timeout and max_duration by @BentiGorlich in #1051
  • Use a different cache key for activity object by @BentiGorlich in #1050
  • Add the featured collection to the ap context by @BentiGorlich in #1065
  • Update _form_media.html.twig by @TheVillageGuy in #1055
  • docs(contributor): contributors readme action update by @github-actions in #1067
  • Fix some leftover magazine undefined errors in the nav by @BentiGorlich in #1069
  • chore: Create PR template in #1059
  • Add installation filler by @melroy89 in #1074
  • docs(contributor): contributors readme action update by @github-actions in #1075
  • Translations update from Hosted Weblate by @weblate in #1076
  • Update theme-dark.scss by @TheVillageGuy in #1062
  • Fix messenger deadlocks caused by cache locks by @BentiGorlich in #1066
  • Fix the regex, so FF is no longer complaining by @BentiGorlich in #1077
  • Use the latest pipeline docker image by @melroy89 in #1078
  • Use is defined on twig report notification objects by @melroy89 in #1080
  • Bump the version to 1.7.1-rc5 by @BentiGorlich in #1079
  • move private vars out of some services/handlers by @asdfzdfj in #1070
  • Add error message to logger in case of invalid reg form submission by @melroy89 in #1082
  • Translations update from Hosted Weblate by @weblate in #1081
  • docs(contributor): contributors readme action update by @github-actions in #1084
  • Do not stealth anti-spam error messages in log by @melroy89 in https://github.com/MbinOr...
Read more

v1.7.1-rc5

03 Sep 12:52
a50b924
Compare
Choose a tag to compare
v1.7.1-rc5 Pre-release
Pre-release

This the fifth release candidate of 1.7.1. It fixes some major and minor bugs and improves the API

Comparison to previous version 1.7.1-rc4:

DB migrations New ENV vars Admin guide changes Suggest cache clearing New dependencies
☑️

Upgrade Instructions

For Docker

  1. Get the official image or checkout the code and build it locally
  2. Stop all containers docker compose down
  3. Start all containers docker compose up -d

For Bare Metal

  1. Login as the mbin/kbin user: su mbin
  2. Go to your repo cd /var/www/mbin
  3. Get the new release: git fetch && git checkout v1.7.1-rc5
  4. 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.
  5. Run exit so we are back at the root user (or put a sudo infront of every command)
  6. flush your redis db by running redis-cli, type in AUTH [YOUR PASSWORD] and then FLUSHDB
  7. clear your opcache by reloading php fpm systemctl reload php8.2-fpm (or for PHP 8.3: systemctl reload php8.3-fpm)
  8. Restart the messengers: supervisorctl restart messenger:*

What's Changed

New Contributors

  • @LoveIsGrief made their first contribution in #1059

Full Changelog: v1.7.1-rc4...v1.7.1-rc5

v1.7.1-rc4

19 Aug 18:40
a103bd7
Compare
Choose a tag to compare
v1.7.1-rc4 Pre-release
Pre-release

This the fourth release candidate of 1.7.1. It fixes some bugs with messages from deleted users, changes the microblog hashtag matching feature, updating dependencies (which itself should solve some bugs related to rabbitmq), fixes failed deletions when the user has reports attached to them, fixes PeerTube channel groups not having moderators and fixes updating actors failing when their instance doesn't have a nodeinfo endpoint

Comparison to previous version 1.7.1-rc3:

DB migrations New ENV vars Admin guide changes Suggest cache clearing New dependencies
☑️ ☑️

Upgrade Instructions

For Docker

  1. Get the official image or checkout the code and build it locally
  2. Stop all containers docker compose down
  3. Start all containers docker compose up -d

For Bare Metal

  1. Login as the mbin/kbin user: su mbin
  2. Go to your repo cd /var/www/mbin
  3. Get the new release: git fetch && git checkout v1.7.1-rc4
  4. 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.
  5. Run exit so we are back at the root user (or put a sudo infront of every command)
  6. flush your redis db by running redis-cli, type in AUTH [YOUR PASSWORD] and then FLUSHDB
  7. clear your opcache by reloading php fpm systemctl reload php8.2-fpm (or for PHP 8.3: systemctl reload php8.3-fpm)
  8. Restart the messengers: supervisorctl restart messenger:*

What's Changed

Full Changelog: v1.7.1-rc3...v1.7.1-rc4

v1.7.1-rc3

15 Aug 19:14
53b909d
Compare
Choose a tag to compare
v1.7.1-rc3 Pre-release
Pre-release

This is the third release candidate of v1.7.1. It fixes some bugs relating to the PushNotificationsAPI and the max image size env var. It also introduces an error message if the image is too large and displays the maximum file size next to the image upload

Comparison to previous version 1.7.1-rc2:

DB migrations New ENV vars Admin guide changes Suggest cache clearing New dependencies
☑️

Upgrade Instructions

For Docker

  1. Get the official image or checkout the code and build it locally
  2. Stop all containers docker compose down
  3. Start all containers docker compose up -d

For Bare Metal

  1. Login as the mbin/kbin user: su mbin
  2. Go to your repo cd /var/www/mbin
  3. Get the new release: git fetch && git checkout v1.7.1-rc3
  4. 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.
  5. Run exit so we are back at the root user (or put a sudo infront of every command)
  6. flush your redis db by running redis-cli, type in AUTH [YOUR PASSWORD] and then FLUSHDB
  7. clear your opcache by reloading php fpm systemctl reload php8.2-fpm (or for PHP 8.3: systemctl reload php8.3-fpm)
  8. Restart the messengers: supervisorctl restart messenger:*

What's Changed

Full Changelog: v1.7.1-rc2...v1.7.1-rc3

v1.7.1-rc2

11 Aug 21:28
69438cd
Compare
Choose a tag to compare
v1.7.1-rc2 Pre-release
Pre-release

This is the second release candidate of v1.7.1. This release fixes a critical bug that was introduced in v.1.7.1-rc1 related to image uploads failing if the instance admin forgets to set the MAX_IMAGE_BYTES environmental variable. Framework configuration for trusted proxies was also introduced to properly handle rate limiting trigged by user IP addresses.

Comparison to previous version 1.7.0:

DB migrations New ENV vars Admin guide changes Suggest cache clearing New dependencies
☑️ ☑️

Upgrade Instructions

For Docker

  1. Get the official image or checkout the code and build it locally
  2. Stop all containers docker compose down
  3. Start all containers docker compose up -d

For Bare Metal

  1. Login as the mbin/kbin user: su mbin
  2. Go to your repo cd /var/www/mbin
  3. Get the new release: git fetch && git checkout v1.7.1-rc2
  4. 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.
  5. Run exit so we are back at the root user (or put a sudo infront of every command)
  6. flush your redis db by running redis-cli, type in AUTH [YOUR PASSWORD] and then FLUSHDB
  7. clear your opcache by reloading php fpm systemctl reload php8.2-fpm (or for PHP 8.3: systemctl reload php8.3-fpm)
  8. Restart the messengers: supervisorctl restart messenger:*

What's Changed

  • add default null to Instance entity nullables field by @asdfzdfj in #1006
  • Remove \intval around MAX_IMAGE_BYTES in src/Service/SettingsManager.php, breaks settings name resolution by @nobodyatroot in #1011
  • Add trusted proxy config to framework configuration by @nobodyatroot in #1012
  • Version bump for 1.7.1-rc2 by @nobodyatroot in #1015

Full Changelog: v1.7.1-rc1...v1.7.1-rc2

v1.7.1-rc1

09 Aug 14:56
27abb80
Compare
Choose a tag to compare
v1.7.1-rc1 Pre-release
Pre-release

This is the first release candidate for v1.7.1. This release brings a lot of bug fixes, but also a few new features: admins can verify users by clicking a button, new admin user lists, extend the API,

Comparison to previous version 1.7.0:

DB migrations New ENV vars Admin guide changes Suggest cache clearing New dependencies
☑️

Upgrade Instructions

For Docker

  1. Get the official image or checkout the code and build it locally
  2. Stop all containers docker compose down
  3. Start all containers docker compose up -d

For Bare Metal

  1. Login as the mbin/kbin user: su mbin
  2. Go to your repo cd /var/www/mbin
  3. Get the new release: git fetch && git checkout v1.7.1-rc1
  4. 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.
  5. Run exit so we are back at the root user (or put a sudo infront of every command)
  6. flush your redis db by running redis-cli, type in AUTH [YOUR PASSWORD] and then FLUSHDB
  7. clear your opcache by reloading php fpm systemctl reload php8.2-fpm (or for PHP 8.3: systemctl reload php8.3-fpm)
  8. Restart the messengers: supervisorctl restart messenger:*

What's Changed

  • Update docker php config to match bare metal guide by @jwr1 in #992
  • docs(contributor): contributors readme action update by @github-actions in #993
  • Update docker ini files to be a little more consistent with docs by @nobodyatroot in #994
  • Fix the error when saving the admin settings by @BentiGorlich in #997
  • Add posting restricted to mods to the API by @BentiGorlich in #998
  • Add user ban and suspension lists to admin panel by @nobodyatroot in #995
  • Translations update from Hosted Weblate by @weblate in #999
  • Add user password set/reset command to bin/console by @nobodyatroot in #1002
  • Fix remove moderator api throwing error by @BentiGorlich in #1003
  • Fix ActivityHandler errors regarding the payload by @BentiGorlich in #1004
  • Fix the managers checking wrong fields for editing permissions by @BentiGorlich in #1005
  • Allow admins to activate/verify accounts manually using the admin user panel by @nobodyatroot in #1000
  • Stop banned or suspended users from notification creation on posts and entries by @nobodyatroot in #1007
  • Invalidate collection cache before getting collection for likes, dislikes and shares by @BentiGorlich in #1008
  • Bump version to 1.7.1-rc1 by @BentiGorlich in #1010

New Contributors

  • @jwr1 made their first contribution in #992

Full Changelog: v1.7.0...v1.7.1-rc1