Misago

Latest version: v0.39.3

Safety actively analyzes 723326 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 13

0.11.0

Not secure
Updating instructions

To update Misago from 0.10 to 0.11 use PIP to uninstall old Misago and install new one:


pip uninstall misago
pip install misago


Next, open your `settings.py`, look up the `context_processors` setting under `TEMPLATES`, and find `'misago.conf.context_processors.settings',` line:


'misago.conf.context_processors.settings',


Next, add new line with `'misago.search.context_processors.search_providers',` below it:


'misago.conf.context_processors.settings',
'misago.search.context_processors.search_providers',


New features

* 886 - Misago will now display search icon in navbar on desktop and tablet sized displays, that lets your users to perform quick searches for threads and users without need for going to search page.
* 902 - It's now possible to link to page containing search results for search provider and query. This is currently used for "see all results" links in navbar's search, but may be expanded in the future.

Theme changes

* 900 - If user has permission to use private threads, icon link to them will always be present next to user's avatar in navbar.

Bugs fixed

* 901 - Misago will no longer display links to private threads in UI if user has no permission to use them.
* 904 - Fixed showstopper on "delete all" action in users admin, increased its tests coverage.

Implementation and API changes

*none*

Documentation changes

*none*

Localization changes

* 906 - Misago now includes the configuration files required for the [Transifex Client] to work, which should make it easier for translators to work and test their translations. In addition to this Misago now includes translation files for languages which translation progress is greater than 40%: Russian, French and Chinese.

0.10.0

Not secure
Misago 0.10 was originally planned to be feature release adding search field to forum's navbar, but it was delayed first by discovery of showstopper fixing of which I've prioritized, then cleanup of permission system's handling of closed categories and threads. Finally RL interrupted limiting amount of time I could spend on development.

Still, I'm releasing Misago 0.10 with improvements to bulk moderation actions, permission system, as well as small configurability option implemented by musindmitriy and small improvement in loading JavaScript translations that should hopefully solve caching problems where browser would cache JavaScript translation for old language that was changed in site's configuration.

Updating instructions

To update Misago from 0.9 to 0.10 use PIP to uninstall old Misago and install new one:


pip uninstall misago
pip install misago


As always, you should run `python manage.py migrate` and `python manage.py collectstatic` commands to put your database and static files up to date.

New features

* 890 - Added `MISAGO_BLEACH_CALLBACKS` setting for better control over automatic links in user posts for those who wish for it.

Theme changes

*none*

Bugs fixed

* 884 - Added bulk update/delete operations support for API, that should help with deadlocks.
* 890 - Misago will no longer add `rel="nofollow"` to internal urls.

Implementation and API changes

* 887 - Unified handling of closed categories and threads in permissions system.
* 893 - Moved ID's lists cleaning to utility function.
* 899 - Misago will now add language code at the end of the link to JavaScript's translation catalog to bypass browser caching and make language change instantaneous.

Translation changes

* 888 - Generated new translation files containing changes for new messages - uploaded on Transifex.

Documentation changes

* 892 - Added readme to project's page on pypi.
* 894 - Fixed some url's in readme and docs.

0.9.0

Not secure
Updating instructions

To update Misago from 0.8 to 0.9 use PIP to uninstall old Misago and install new one:


pip uninstall misago
pip install misago


After installing Misago 0.9 from PIP you should run the `python manage.py collectstatic` for your site to update your static files to their latest versions.


New features

* 874 - Added mention user suggestion dropdown to post editor.
* 878 - Logged profile detail changes now include "absolute_url" tag that allows quick access to profile's detail tab.

Theme changes

* 883 - Lighted up code blocks.

Bugs fixed

* 879 - Fix js build on case sensitive filesystems.
* 882 - Commit missing moment.js translation file for zh_hans.

Implementation and API changes

*none*

Documentation changes

* 880 - Documented cron.txt file in setup docs.

0.8.0

Not secure
Updating instructions

To update Misago from 0.7 to 0.8 use PIP to uninstall old Misago and install new one:


pip uninstall misago
pip install misago


> This release includes changes to database. Make sure you have backup of your data before carrying on with the update.


Enabling profile fields

Misago 0.8 adds new feature named "profile fields" that enables your users to share additional information about themselves with other users via "details" tab on their profiles.

To enable this feature on your forum, open your `settings.py` and find this code:

python
import os


Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


And edit it look like this:

python
import os


Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


Define placeholder gettext function
This function will mark strings in settings visible to makemessages
without need for Django's i18n features be initialized first.
_ = lambda x: x



Next, insert below code in same file, preferably at it its and:

python
Profile fields

MISAGO_PROFILE_FIELDS = [
{
'name': _("Personal"),
'fields': [
'misago.users.profilefields.default.FullNameField',
'misago.users.profilefields.default.GenderField',
'misago.users.profilefields.default.BioField',
'misago.users.profilefields.default.LocationField',
],
},
{
'name': _("Contact"),
'fields': [
'misago.users.profilefields.default.TwitterHandleField',
'misago.users.profilefields.default.SkypeIdField',
'misago.users.profilefields.default.WebsiteField',
],
},
{
'name': _("IP address"),
'fields': [
'misago.users.profilefields.default.JoinIpField',
'misago.users.profilefields.default.LastIpField',
],
},
]


Finally, find `django.contrib.contenttypes` in your `INSTALLED_APPS`:

python
INSTALLED_APPS = [
...bunch of lines here
'django.contrib.contenttypes',
...more lines there
]


And insert the `'django.contrib.postgres',` line below it:

python
INSTALLED_APPS = [
...bunch of lines here
'django.contrib.contenttypes',
'django.contrib.postgres',
...more lines there
]


[Here's the reference](https://github.com/rafalp/Misago/blob/master/misago/project_template/project_name/settings.py#L169) of `INSTALLED_APPS` including this change if you need one.


Wrapping up the update

After installing Misago 0.8 from PIP and modifying your `settings.py`, you should run the`python manage.py migrate` to update your database and `python manage.py collectstatic` for your site to update your static files to their latest versions.

If you'll encounter database permission error during migration, you'll need to elevate your database's user to superuser in order for Misago's migrations to enable the `hstore` extension for your database. {lease see the [documentation](https://rafalp.gitbooks.io/misago/setup/#about-the-djangodbutilsprogrammingerror-permission-denied-to-create-extension-errors-during-database-migration) short example on how to do this.


New langauge

Misago 0.8 is first release that contains (nearly complete) translation for other language, with 98% of language strings translated for simplified chinese. To enable simplified chinese language on your site, edit your `settings.py`, find `LANGUAGE_CODE = 'en_us'` in it and edit it to `LANGUAGE_CODE = 'zh_Hans'`.

New features

* 865 - User profiles fields.
* 876 - Included translation files for simplified chinese with 98% of language strings translated.

Theme changes

* 875 - Tweaked the spacing between elements in posts content, making header-induced breaks more noticeable.

Bugs fixed

* 869 - Goto views computed the target page incorrectly.
* 870 - Tweaked margins on row in post's changelog header so horizontal scrollbar no longer shows up.
* 871 - Invalid captcha would not interrupt the registration process, thus allowing users to register accounts after entering invalid answer to Q&A captcha.
* 876 - Moment.js translation was resolved incorrectly for some language codes, like `zh_Hans`.
* 877 - Approve thread moderation action didn't update its `has_unapproved_posts` flag correctly.

Implementation and API changes

*none*

Documentation changes

* 865 - Documentation for user profile fields feature.
* 872 - Small spelling corrections in setup and maintenance part of the docs.

0.7.1

Not secure
Misago 0.7.1 is small bugfix release correcting two bugs reported since 0.7 was released.

Updating instructions

To update Misago from 0.7 to 0.7.1, use PIP to uninstall old Misago and install new one:


pip uninstall misago
pip install misago


After installing new version with PIP make sure to run`python manage.py collectstatic` for your site to update your static files to their latest versions.

New features

*none*

Theme changes

*none*

Bugs fixed

* 864 - Lowercased all modules paths in JavaScript files, so builds shouldn't crash anymore on case-sensitive filesystems.
* 866 - Fixed bug in thread header where digit zero was displayed in place of hidden moderation button when user had not moderation actions available, but still could edit thread's title.

Implementation and API changes

*none*

Documentation changes

*none*

0.7

Misago 0.7 is codebase cleanup release that removes some deprecated features like the `misago.datamover` that enabled updates from Misago 0.5 as well as `CreatePartialIndex` and `CreatePartialCompositeIndex` migration utilities that were replaced by the `PgPartialIndex` in final 0.6 release.

Updating instructions

To update Misago from 0.6 to 0.7, use PIP to uninstall old Misago and install new one:


pip uninstall misago
pip install misago --pre


`misago.datamover` has been removed

`misago.datamover` entry in your `settings.py` `INSTALLED_APPS` setting is an error in Misago 0.7 and should be removed. Likewise the `url(r'^', include('misago.datamover.urls'))` entry in your `urls.py` will also error and has to be removed.

If you have updated to Misago 0.6 from Misago 0.5 and you looking to preserve redirects from old links after update to 0.7, please use the [Misago 0.5 Redirects](https://github.com/rafalp/Misago-05-Redirects) app.

`CreatePartialIndex` and `CreatePartialCompositeIndex` migration utilities have been removed

0.7 release finalizes deprecation of previous implementation of custom indexes via removal of old migration utilities as well as their migrations. Attempting the update from any of the 0.6's alphas to 0.7 and skipping the 0.6 final release on the way will lead to your database containing both old and new indexes which may be source of errors in future migrations.

New features

*none*

Theme changes

*none*

Bugs fixed

*none*

Implementation and API changes

* 858 - `CreatePartialIndex` and `CreatePartialCompositeIndex` migration utilities have been removed.
* 859 - `misago.datamover` has been removed. Redirects from old urls have been extracted to separate app: [Misago 0.5 Redirects](https://github.com/rafalp/Misago-05-Redirects)
* 863 - `extras` directory has been excluded from Misago releases published to Pypi. This directory contains few utility scripts that perform additional cleanups after the [yapf](github.com/google/yapf) and aren't the part of package.

Documentation changes

* 860 - Updated readme and docs to don't mention `--pre` anymore since Misago's Pypi releases are no longer marked as prelease.
* 862 - "Setup and maintenance" document was turned into the chapter that contains update path documentation as well as docs on updating from Misago 0.5 guide.

Page 9 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.