"Start thread" page has reached a feature parity with Misago 0.39. Last missing piece was option to post locked/hidden/pinned thread:
That looks incredible!!
Let's make another estimate!
I am guessing that I'll finish thread views late June/early July. Then I'll do new search feature over July. With search done, last threads pain point to do will be a post markup update logic that will replace old attachments syntax with a new one. This should take a few weeks to get done. Then, during August I would like to rewrite user profiles. September is for finishing all blockers for Misago 0.40 Alpha 1, which I would like to ship in October.November and December for testing, polishing, fixing, and Misago 0.40 sometime late December, so I have time for fixes and tweaks over the holidays.
Cheers!
It's an ambitious programme that you have undertaken. I really appreciate your commitment and desire to continually evolve misago.
Moderation actions for threads have been completed, and so is the moderation framework for Misago 0.40.
Misago 0.40 introduces a single new moderation action: an option to flag a thread to require moderator's approval of new posts. It also lets a moderator specify a reason for hiding a thread. Oh, and "close/open" naming has been replaced with "lock/unlock".
The biggest change is the architectural one: Misago 0.40 splits moderation actions into low-level operations like lock_thread, move_thread or delete_thread that can be used outside of the context of moderation, and actual high-level moderation actions that implement validation, use those operations to mutate the state, but also create thread update objects and return moderation results that are then used to build HTTP responses.
Moderation actions for posts have been completed.
The only new features for post moderation are the option to merge posts across pages and the ability to merge older posts into newer ones.
There are still some quirks and bugs in moderation actions that I'll have to fix before moving on to polishing thread pages, but it won't be long now!
Misago 0.40 brings redesigned thread headers, that include new meta bars:
Those meta bars are populated using the code, making them very quick to extend from Python:
items: list = [
UserDatetimeMetadata(
id="thread-started",
user=thread.starter if thread.starter else thread.starter_name,
datetime=thread.started_at,
url=self.get_thread_url(thread) + f"#post-{thread.first_post_id}",
),
]
if thread.replies:
items.append(
NumberMetadata(
id="thread-replies",
icon="tabler/messages.svg",
text=npgettext(
"thread meta bar replies",
"%(number)s reply",
"%(number)s replies",
thread.replies,
),
number=thread.replies,
)
)
items.append(
DatetimeMetadata(
id="thread-last-reply",
icon="tabler/calendar.svg",
text="Last reply: %(datetime)s",
datetime=thread.last_posted_at,
is_sentence=False,
url=self.get_post_last_url(thread),
)
)
Any news on the readmap / timeframe?
I plan to integrated the SunEditor but 0.40 will make much changes so it may be better to wait for the first alpha.
First alpha should ship this year. You can follow open PRs on the GitHub for progress.
Goal for the first alpha is to have a final database structure for 0.40, and target views rewritten to HTMX.
After nearly four months of development, the new search has been merged to the Misago's main branch.
I have a confession to make: I have always rushed Misago's search feature. Be it search in 0.16's React.js rewrite, or even one before which used the Django Haystack library. I've always done it last, and I've always done it as fast as possible, with a plan to "do it right eventually".
This time is now. Misago 0.40 brings forum search up to industry standards.
Here's a new search page:
It is now possible to search for content using advanced options like categories, users and date. Search can look for thread titles, threads or posts and return results sorted by relevance or date.
Search also supports a Google-inspired syntax:
Search results get match highlighting:
As a security measure, search has a throttling mechanism that can be configured with settings and permissions:
User search is also much better, using a trigram matching algorithm for candidate selection, followed by a second filtering and ranking step in Python:
The quick search also got a redesign. Clicking on the search icon in menu opens a modal with quick search:
This modal's state is preserved when it's closed and reopened, but a full-page reload will still reset it.
Quick search is context aware. On thread pages, it includes an option to search in the current thread:
Searches are logged to the database. Forum administrators can access those logs in the admin panel to find out what people are searching for:
For privacy reasons, searches in private threads are excluded from this page.
Search is configurable from the admin control panel, with additional backend-specific options configurable in settings.py file.
There are also search-associated permissions:
Misago 0.40 uses PostgreSQL full text search by default, but support for custom search services is also provided.
Forum search exposes a range of plugin hooks that developers can use to customize and fine-tune the search feature.
I am happy to share that there are no items on the roadmap for Misago 0.40 alpha release left that are of comparable or greater scope than the new search.
Next on the to-do list is finishing the post template, with redesigned user lists and profiles next. And then adding user permissions to hide their own posts and threads for sites that need it. I will also be moving attachment types back to the database to enable easier configuration of supported uploads. Oh, and I need to finish post markup updater for new attachments!
Being honest, I don't think first 0.40 alpha will ship this year, but late January/early February feels very plausible.