Skip to main content

Misago is modern, fully featured forum application written in Python and ES6, powered by Django and React.js. It works out of the box and plays nicely with other projects like Django-CMS.

Project description

Tests Result Test Coverage Works on Python 3.7 Community Chat

Development Status: 🍌 Bananas 🍌

Misago aims to be complete, featured and modern forum solution that has no fear to say ‘NO’ to common and outdated opinions about how forum software should be made and what it should do.

Screenshots

Forum index Thread view

Production use

As of now Misago implements all features considered “must have” on live internet forum:

  • Your users may register accounts, set avatars, change options and edit their profiles. They have option to reset forgotten password.

  • Sign in with Facebook, Google, Github, Steam, Blizzard.net or any other over 50 supported OAuth providers.

  • Site admins may require users to confirm validity of their e-mail addresses via e-mail sent activation link, or limit user account activation to administrator action. They can use custom Q&A challenge, ReCAPTCHA, Stop Forum Spam or IP’s blacklist to combat spam registrations. Pletora of settings are available to control user account behaviour, like username lengths or avatar restrictions.

  • Create categories together with unlimited number and depth of subcategories.

  • Write messages using either GitHub flavoured markdown, BBCode subset, or both.

  • Presence features let site members know when other users are online, offline or banned. Individual users have setting to hide their activity from non-admins.

  • Complete moderation toolset allowing admin-approved moderators to edit, move, hide, approve, delete or close user posted content. This also includes option to delete or block user accounts or avatars.

  • Ban system allows you to ban existing users as well as forbid certain user names, e-mails or IP addresses from registering accounts.

  • Permission system allowing you to control which features are available to users based on their rank, roles or category they are in.

  • Post accurate read tracker that lets your users spot threads with new posts as well as let moderators spot unapproved replies and non-moderators spot approved posts.

  • Private threads feature allowing users to create threads visible only to them and those they’ve invited.

  • Python-based profile fields framework letting site owners to define custom fields for users to fill in complete with powerful customization options for custom requirements, display or validation logic.

  • Rich polls system, allowing polls with public and private voters, single and multiple choices as well as ones that allow vote change or limit voting tp limited period of time.

  • Post attachments complete thumbnailing and gif’s animation removal.

  • Mark post in question thread as best answer, bringing basic Q&A functionality.

  • Posts edits log allowing you to see how user messages used to look in past as well as revert function protecting you from malignant users emptying their posts contents.

  • Moderation queue for users and categories allowing you to moderate content before it becomes visible to other members of the community.

  • Custom theme developed over bootstrap.

  • Features and settings for achieving GDPR compliance.

Even more features will follow in future releases:

  • Achievements and awards system.

  • Content reporting for users to report offensive content.

  • Forum-wide JS routing further reducing navigation times.

  • IP search for moderators to find sock puppets or bot nets.

  • Notifications for users to notice content and events of concern faster.

  • OAuth2 server for those looking to use Misago as auth provider for other apps.

  • Warning system for easy tracking users history of infractions and offenses.

  • WYSIWYM content editor for even easier post formatting.

  • Ranking system for forum search results based on post links, likes, author and thread importance.

  • Post reactions in place of likes.

…and more!

If you are looking into using Misago to run live forum, you are absolutely invited to, but please keep in mind that Misago is relatively immature software that may contain serious bugs or issues as well as quirks and lackings thay may take time to resolve, despite best efforts.

Development

Preferred way to run Misago development instances on your machine is with Docker, which makes it easy to spin up arbitrary number of instances running different code with separate databases and dependencies besides each other.

To start, clone the repository and run ./dev init command in your terminal. This will build necessary docker containers, install python dependencies and initialize the database. After command does its magic, you will be able to start development server using the docker-compose up command.

After development server starts, visit the http://127.0.0.1:8000/ in your browser to see your Misago installation.

Admin Control Panel is available under the http://127.0.0.1:8000/admincp/ address. To log in to it use Admin username and password password.

The ./dev utility implements other features besides the init. Run it without any arguments to get the list of available actions.

Running Misago in development without dev

You may skip ./dev init and setup dev instance manually, running those commands:

  1. docker-compose build - builds docker containers

  2. docker-compose run –rm misago python manage.py migrate - runs migrations

  3. docker-compose run –rm misago python manage.py createsuperuser - creates test user

  4. docker-compose up - starts dev server

Frontend

With exception of Admin Panel, Misago frontend relies heavily on React.js components backed by Django API. This application relies on custom Gulp.js-based toolkit for development. As of current, Misago’s gulpfile.js defines following tasks:

  • build does production build of Misago’s assets, concating and minifying javascripts, css and images, as well as moving them to misago/static directory

  • watch does quick build for assets (concat assets into single files, compile less, deploy to misago/static but don’t minify/optimize) as well as runs re-build when less/js changes

  • watchstyle does quick build of less files, and re-builds them when they change

  • test runs Mocha.js tests suite for Misago’s javascript

To start work on custom frontend for Misago, fork and install it locally to have development forum setup. You can now develop custom theme by modifing assets in frontend directory, however special care should be taken when changing source javascripts.

Misago defines template that allows you to include custom html and js code before Misago’s JavaScript app is ran, named scripts.html.

Bug reports, features and feedback

If you have found bug, please report it on issue tracker.

For feature or support requests as well as general feedback please use official forum instead. Your feedback means much to the project so please do share your thoughts!

There’s also Gitter for those looking for intant-messaging approach for discussing Misago development.

Contributing

If you have corrected spelling, wrote new tests or fixed a bug, feel free to open pull request.

Many issues are open for takers. If you’ve found one you feel you could take care of, please announce your intent in issue discussion before you start working. That way situations when more than one person works on solving same issue can be avoided.

Authors

Rafał Pitoń

English sentences used within misago.faker.phrases were extracted from National Aeronautics and Space Administration Solar System Exploration Portal and are not copyrighted as per Media and content usage guidelines.

Project details


Release history Release notifications | RSS feed

This version

0.20

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Misago-0.20.tar.gz (5.2 MB view details)

Uploaded Source

Built Distribution

Misago-0.20-py3-none-any.whl (5.8 MB view details)

Uploaded Python 3

File details

Details for the file Misago-0.20.tar.gz.

File metadata

  • Download URL: Misago-0.20.tar.gz
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for Misago-0.20.tar.gz
Algorithm Hash digest
SHA256 bd436e01b71c5686d213fb43ce8e8968ec53a51f43fe9b15186a2a6b061fe99f
MD5 d0bedf105d21c379a667d3ecdb0599a8
BLAKE2b-256 3bacc48c6c8d967943f654e48e5feed735888ae653be61010745359e7f5f8b8c

See more details on using hashes here.

File details

Details for the file Misago-0.20-py3-none-any.whl.

File metadata

  • Download URL: Misago-0.20-py3-none-any.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for Misago-0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 df193f55eee02b3c739902082d24e8d2ecb5ecbfc6f6e448e70ab6764cbd7071
MD5 f48c402105bdb6f206cd3d42503d5b25
BLAKE2b-256 f010a6922343058bdd5dfe34719b989d1eb9c28cd89229625ef17512088cb496

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page