Skip to content

Releases: rafalp/Misago

Misago 0.6a11

14 May 01:00
Compare
Choose a tag to compare

This is small hotfix release that fixes issue with events always displaying as new due to presence of debug code causing them to do so.

Misago 0.6a10

14 May 00:53
Compare
Choose a tag to compare

This release brings default theme to Misago, together with redesigned posts, threads and categories lists. This theme lives in the "flavor" directory in Misago styles and defines only decorative stylesheets, thus making it easy to remove and revert Misago back to its "Bootstrap" looks for custom theme development.

It also fixes few bugs, including potential show-stopper on categories list that could result by deletion of last thread in category.

Updating instructions

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

pip uninstall misago
pip install misago --pre

New features

  • #801 - Threads list now displays thread starter's and last poster's avatars.

Theme changes

  • #790 - Added default styles for site navbar.
  • #791 - Added default styles for site footer.
  • #789 - Went through the page headers, increased vertical spacing, changed menu dropdowns for vertically-scrolled tabs and redesigned search form.
  • #799 - Default themes for message pages, also tweaked basic css for those.
  • #801 - Added avatars and styles to threads lists.
  • #802 - Added icons for search providers, default styles for side menus.
  • #803 - Redesigned posts, improving their responsiveness.
  • #804 - Redesigned post feeds.
  • #805 - Redesigned categories page.
  • #806 - Default styles for form panels.
  • #807 - Styled sign in form.
  • #808 - Improved and styled registration form.
  • #809 - Improved modal message style.
  • #810 - Added styles for avatar options modal.
  • #811 - Default styles for form modals.
  • #812 - Added default styles for polls, tweaked UI for poll panel and form components.
  • #813 - Small spacing fixes in posting form, fixed thread weight icons to be same across the UI.
  • #814 - Added btn-outline class to some buttons, themed buttons.
  • #815 - Default styles for inputs.
  • #817 - Added icons to option dropdowns that were missing them.
  • #818 - Default styles for wells.
  • #819 - Added some default styles for categories.
  • #820 - Added some default styles to user ranks.
  • #821 - Moved user lists to user card component.
  • #822 - Added cancel and ok buttons as alternative way to dismiss modals.
  • #823 - Added user avatars to post likes modals, changed their titles to spell number of likes.
  • #825 - Added default styles for post markup.
  • #827 - Moved events to .media component, added default styles and explicit "new" label.
  • #828 - Redesigned and styled private thread's participants list.
  • #832 - Aligned events with posts content.

Bugs fixed

  • Avatar upload form will no longer crash if user cancels file selection in browser if he or she has previously selected invalid file.
  • #792 - Items were misaligned in compact navbar used on mobile devices.
  • #826 - Added permission test before displaying unapproved posts flag for threads.
  • #830 - Synchronize category after thread is deleted from it via moderation action.

Implementation and API changes

  • #804 - Removed read and like states from post feeds like search results or user's posts/threads lists in profiles.

Documentation changes

  • #819 - Documented defualt category styles.

Misago 0.6a9

12 Apr 18:36
Compare
Choose a tag to compare

This release fixes the calls to gettext module that resulted in showstoppers when some translated strings contained non-ascii characters.

Usually I don't ship on weekdays, preffering tweaks and improvements to snowball over time for me to ship at the weekend, but this one's exception aimed to fix the blocker for translation efforts that are undergoing currently

Updating instructions

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

pip uninstall misago
pip install misago --pre

New features

none

Theme changes

none

Bugs fixed

  • #793 - changed all gettext functions to u- prefixed versions that support unicode.

Implementation and API changes

none

Documentation changes

none

Misago 0.6a8

08 Apr 23:25
Compare
Choose a tag to compare

This release fixes the bug that prevented the JavaScript translations from loading as well as other bug that prevented poll edits. In addition, it further improves Misago's support for touch devices as well as tablet and mobile screen sizes.

This release also bumps required Pillow version to 4 to improve compatibility with Windows 10, but Misago will work with latest Pillow 3 just fine.

Updating instructions

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

pip uninstall misago
pip install misago --pre

New features

  • #774 - Default Pillow version bumped to 4.0 for better cross-system compatibility. Misago is guaranteed to run on latest 3.x, but apparently that version has issues when installed on Windows 10.
  • #783 - Prompt user for confirmation before marking category's threads as read.

Theme changes

  • #757 - Use the pager from threadview on users list.
  • #762 - Improved posts editor on small displays.
  • #763 - Fixed breakpoints used by navbar, made full navbar displayed starting with 700px widths.
  • #764 - Redesigned threads list, removed top-category resolution.
  • #766 - Improved active posters ranking display on mobile devices.
  • #767 - Improved way the polls are displayed on tablet and mobile displays.
  • #768 - Improved post's changelog on mobile devices.
  • #769 - Improved posts attachments lists appearance on small displays.
  • #770 - Improved private threads participants list responsiveness for tablets and mobile displays.
  • #773 - Made youtube videos in posts responsive.
  • #781 - Empty posts footers will no longer be displayed.
  • #782 - CSS and icons links have been moved to separate template misago/head.html for easier customization.
  • #787 - Small improvements to poll votes and posts likes lists modals markup.

Bugs fixed

  • #767 - Fixed bug that caused poll edit form to don't appear.
  • #786 - Fixed JS catalogue view so it loads Misago's djangojs.mo file with translated messages for javascript.

Implementation and API changes

none

Documentation changes

  • #786 - Documented the MISAGO_JS_CATALOG_PACKAGES setting.

Misago 0.6a7

25 Mar 21:25
Compare
Choose a tag to compare

This release fixes the bug causing Misago to register post markup element in onebox service on every render, causing it to eventually call onebox service dozens of times per page, greatly spiking CPU usage.

Updating instructions

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

pip uninstall misago
pip install misago --pre

New features

none

Theme changes

none

Bugs fixed

  • #779 - misago-markup component was registering onebox to run on every component's update, eventually flooding the CPU with repeated calls for onebox render on posts.

Implementation and API changes

none

Documentation changes

none

Misago 0.6a6

19 Mar 17:57
Compare
Choose a tag to compare

This release improves Misago's UI responsiveness as well as adds support for search filters, enabling board administrators to include simple tweaks in forum's search engine.

Updating instructions

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

pip uninstall misago
pip install misago --pre

New features

  • #645 - Search filters feature that allows tweaking of the search engine via implementation of functions that normalize and fix search queries and indexed documents.
  • #756 - Django user admin now includes "edit this user in Misago admin" backlink.
  • #759 - Made avatar cropper responsive.
  • #760 - Use uploaded image's Data URL in cropper to speed up new avatar upload process.

Theme changes

  • #752 - Dramatically improved page headers responsiveness.
  • #755 - Made paginator always present on thread view. This keeps markup simple and saves layout reflows when new thread page appears in active threads.

Bugs fixed

none

Implementation and API changes

none

Documentation changes

none

Misago 0.6a5

11 Mar 21:41
Compare
Choose a tag to compare

This release brings bugfixes to UI implementation and posted links handling as well as improves mobile UI on threads list and thread pages.

Updating instructions

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

pip uninstall misago
pip install misago --pre

New features

  • #750 - improved the way posts are displayed on small displays in thread views, user profiles and search results.
  • #753 - improved responsiveness of toolbars on threads list and threadviews.

Bugs fixed

  • #754 - protocol-less outgoing urls are prepended with 'http://' to make sure they correctly point outside of the site. [url] BBCode implementation was fixed.

Implementation and API changes

  • #749 - dropped custom importers for sake of django's import_string utility.

Documentation changes

none

Misago 0.6a4

04 Mar 23:22
Compare
Choose a tag to compare

This release brings showstopper fix to hidden online status handling, ability to require moderator approve users or category posts and threads, as well as changes in posting process implementation bringing developers option to plug in custom validation for posts as well as custom posting middleware that can send posts to moderation queue. This release also includes option to make selected bans checked only in registration form and new clearreadtracker management task intented to be ran periodically to clean readtracker's record.

Updating instructions

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

pip uninstall misago
pip install misago --pre

Next, add clearreadtracker task to your task runner (like cron) for your forum to run periodic maintenance of readtracker's database tables.

If you've overrided the MISAGO_POSTING_MIDDLEWARES setting, you'll need to manually insert the misago.threads.api.postingendpoint.moderationqueue.ModerationQueueMiddleware middleware after the misago.threads.api.postingendpoint.reply.ReplyMiddleware.

New features

  • #40 - Post validation framework allows running custom validation and cleaning logic when users post on forum.
  • #122 - Added support for [url] and [img] BBCodes.
  • #555 - Added registration-only bans.
  • #674 - Added clearreadtracker management command that clears expired entries from readtracker.
  • #745 - Categories may be setup either via its properties or user role to require user threads, replies or edits to receive moderator approval before being visible to other users.

Bugs fixed

  • #743 - Fixed showstopper in get_user_status that occured when getting hidden user's status.

Implementation and API changes

  • #746 - Populate images, internal_links, outgoing_links and mentions in parsing_result dict returned by parser.

Documentation changes

none

Misago 0.6a3

27 Feb 19:08
Compare
Choose a tag to compare

This release brings bugfixes, reliability improvements and cleanups to Misago's codebase.

Updating instructions

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

pip uninstall misago
pip install misago --pre

Next, run migrate command to update your database to latest version:

python manage.py migrate

New features

  • #125 - Added schema.org structural data on threads lists, thread view and users lists.
  • #702 - Misago now comes with special "cleansource" utility tool that reformats and lints python codebase using yapf, pylint, isort and custom overrides.

Bugs fixed

  • #723 - Added default values for some settings. This solves showstopper on changing forum configuration using empty values, and brings in intended behavior of Misago changing those settings to default if user attempts to clear their values.
  • #724 - Fixed misalignment of labels in modals horizontal forms.
  • #732 - Threadview pagination could report incorrect number of pages for threads with number of pages on next page equal to MISAGO_POSTS_TAIL.
  • #733 - Disallowed /options/, /p/ and /private-threads/ in default robots.txt
  • #737 - Fixed showstopper when user enters string containing non-ascii characters in auth forms accepting e-mail addresses.

Implementation and API changes

  • #594 - Renamed user.acl attribute to user.acl_cache and user.acl_ to user.acl.
  • #629 - User follows and followers lists in API were moved to designated edges.
  • #643 - UserTestCase, AuthenticatedUserTestCase and SuperUserTestCase are using force_login and logout utilities instead of previous approach of signing user in and out via test client, which has greatly speed up tests suite.
  • #644 - Introduced optional API for creating derivate model serializers in situ, via Serializer.subset_fields, Serializer.extend_fields and Serializer.exclude_fields. Performed cleaning pass over existing serializers making those list's fields easier to maintain.
  • #648 - Moved constants under their classes or constants.py modules, simplified their names and made them easier to use across codebase.
  • #676 - Misago's validate_password utility has been removed and replaced with Django's password validation facilities.
  • #706 - moved bunch of forms used exclusively by an API to serializers, so they handle json data better.
  • #707 - relative imports other than from sibling or child paths have been converted back to absolute.
  • #710 - moved user profile and users lists views to classes.
  • #726 - replaced user.is_authenticated() and user.is_anonymous() calls with user.is_authenticated and user.is_anonymous as per Django 1.10 api change.
  • #727 - cleanup get_user_model() usage and made it consistent with Django's codebase.
  • #731 - camelcase Model, Form and SearchForm attributes on generics for writing admin views.
  • #728 - cleanup import * and __all__ clauses in python code.
  • #734 - moved bulk of user API edges and views to viewmodels.
  • #740 - codebase is now tested with pylint to fish out basic errors and omissions like using undefined name, redefining value or having unused imports.
  • #741 - cleaned response.json handling in tests a little.

Documentation changes

  • #739 - documented installation error that occurs when installing Misago using setuptools release older than 8.

Misago 0.6a2

05 Feb 00:36
Compare
Choose a tag to compare

This release brings bugfixes, reliability improvements and some API cleanups to Misago.

Updating instructions

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

pip uninstall misago
pip install misago --pre

This release includes new features that require additional configuration:

Moment.js locale context processor

This release adds new context processor, available under the misago.core.context_processors.momentjs_locale that has to be added to your TEMPLATES['OPTIONS']['context_processors'] setting in order for Misago to load Moment.js locale file. If your site is running with LANGUAGE_CODE set to something else than en-us (default), you'll need to add this context processor to your settings.py.

To do so, find list of context_processors under the TEMPLATES setting, and add 'misago.core.context_processors.momentjs_locale', line to it, like this:

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            os.path.join(BASE_DIR, 'theme', 'templates'),
        ],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.i18n',
                'django.template.context_processors.media',
                'django.template.context_processors.request',
                'django.template.context_processors.static',
                'django.template.context_processors.tz',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',

                'misago.core.context_processors.site_address',
                'misago.core.context_processors.momentjs_locale',
                'misago.conf.context_processors.settings',
                'misago.users.context_processors.user_links',
                'misago.legal.context_processors.legal_links',

                # Data preloaders
                'misago.conf.context_processors.preload_settings_json',
                'misago.core.context_processors.current_link',
                'misago.markup.context_processors.preload_api_url',
                'misago.threads.context_processors.preload_threads_urls',
                'misago.users.context_processors.preload_user_json',

                # Note: keep frontend_context processor last for previous processors
                # to be able to expose data UI app via request.frontend_context
                'misago.core.context_processors.frontend_context',
            ],
        },
    },
]

Older clients support

Misago Alpha 0.2 includes small JavaScript snippet in its scripts that test for presence of JavaScript apis required for it to run, and includes polyfill if those are not found. This was done mostly with IE11 support in mind, but should also work for some older android devices and Trident-powered clients.

New features

  • #475 - If you are unhappy with default slugs generation logic, you may now specify custom function instead via entering path to it in MISAGO_SLUGIFY setting.
  • #703, #718 - Polyfills are included by Misago if client's JS lacks apis required by Misago JavaScript.
  • #721 - Misago will now set current language's ISO 639-1 code in <html>'s lang= attribute.

Bugs fixed

  • #695 - removed overflow form user status on posters ranking.
  • #696 - Don't linkify url's in code elements.
  • #712 - Display previous thread's title in "thread title was changed from" event instead of "undefined".
  • #714 - Display valid likes message for posts with more than three likes.

Implementation and API changes

  • #589 - misago.core.forms module is no longer abstraction layer over django.forms. Instead its utility module defining two misago-specifis form fields IsoDateTimeField and YesNoSwitch.
  • #635 - misago.core.shortcuts.pagination_dict no longer includes page_range in pagination data. Also returned value type is dict instead of OrderedDict.
  • #699 - Unified posting flags value types to be booleans. Ealier some flags used 0's and 1's instead for holding their values.
  • #708 - misago.core.apipaginator has been removed. Misago now uses paginate and pagination_dict utilities from misago.core.shortcuts for paginating api.
  • #713 - misago.core.shortcuts.paginated_response shortcut function for returning paginated responses procedural way.
  • #717 - zxcvbn.js library is now lazily loaded by password-strenght component after it was displayed. This makes registration form display faster than previously due to lack of blocking 400kb (or 800kb minus gzip) download.
  • #719 - /api/auth/token/ edge has been removed. To use Misago API from other applications, use token authentication instead.
  • #720 - momentjs-i18n view has been removed. Instead Misago uses context processor to inject MOMENTJS_LOCALE_URL variable containing path to Moment.js locale file that should be used to the templates.

Documentation changes

  • #666 - moved documentation away from Sphinx/reStructuredText to GitBook/Markdown.
  • #700 - links to Django docs version were made configurable and set to point to Django 1.10.