8000 Releases · rafalp/Misago · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: rafalp/Misago

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.

Misago 0.6a1

22 Jan 01:07
Compare
Choose a tag to compare

Misago 0.6 Alpha 1 took four years to complete and brings near-complete rewrite of codebase, automatic tests suite, move to PostgreSQL for database engine, JSON API, React.js powered UI and greatly improved quality of codebase... at least its backend part ;)

Misago 0.5.7

15 Feb 18:15
Compare
Choose a tag to compare
Misago 0.5.7 Pre-release
Pre-release

Misago 0.5.7 release is an bugfix release that introduces fixes to posts and threads multi-moderation actions.

Misago 0.5.6

07 Feb 20:39
Compare
Choose a tag to compare
Misago 0.5.6 Pre-release
Pre-release

This release brings in small fixes from last PR's and MovePostsForm.

Misago 0.5.5

29 Oct 21:08
Compare
Choose a tag to compare
Misago 0.5.5 Pre-release
Pre-release

Misago 0.5.5 release fixes reported showstoppers in moderation actions

Misago 0.5.4

13 Jun 22:51
Compare
Choose a tag to compare
Misago 0.5.4 Pre-release
Pre-release

Misago 0.5.4 is maintenance release with latest fixes.

Misago 0.5.3

29 Apr 18:45
Compare
Choose a tag to compare
Misago 0.5.3 Pre-release
Pre-release

Misago 0.5.3 is bugfix release that fixes showstopper issue in handling of user edition form in Admin CP.

Misago 0.5.2

16 Feb 18:07
Compare
Choose a tag to compare
Misago 0.5.2 Pre-release
Pre-release

This release is bugfix release for Misago 0.5 line that corrects following issues:

#314 - Encode emails to UTF-8 before making MD5 of them
#322 - Don't crash when user clicks "unwatch thread" repeatedly
#325 - Make attachment keys unique.
#327 - Links to attachments are absolute instead of relative
#330 - Links to mentioned users are absolute instead of relative

Misago 0.5.1

29 Jan 15:35
Compare
Choose a tag to compare
Misago 0.5.1 Pre-release
Pre-release

This is bugfix release for 0.5 line that is directed to fix issues that super-early adopters have found.

0