Skip to content

Conversation

rafalp
Copy link
Owner

@rafalp rafalp commented Sep 2, 2025

Fixes #1991

Todo

  • Rename misago.privatethreadmembers to misago.privatethreads
  • Finish redirects tests
    • Remove unused fixtures from tests
    • Add tests that verify thread category's tree_id
    • Move generic views back to misago.threads
  • Move posting views from misago.threads to misago.posting (it already has cross-cutting logic for posting)
    • Generic StartView
    • Change naming order to ThreadAction[...]
    • Write tests
      • Test posting raises 404 if category doesnt exist
      • Test posting raises 404 if thread doesnt exist
      • Test post edit raises 404 if post doesnt belong to a thread
      • Add assert_contains(response, thread.title) to edit and reply views tests
    • Fix other apps tests
  • Move category selector to posting
  • Move thread updates views to misago.threadupdates
  • Move private thread views from misago.threads to misago.privatethreads
  • Rename & cleanup thread detail views and templates
  • Rename & cleanup threads lists views and templates
    • Break down lists views tests into threads and category thread list views

@rafalp rafalp added this to the Next feature release milestone Sep 2, 2025
@rafalp rafalp self-assigned this Sep 2, 2025
@rafalp rafalp added area: frontend This issue involves JavaScript, React.js and Node area: backend This issue involves Python, Django or dependency (eg. database) area: theme This issue involves HTML and CSS feature: threads list Lists of threads feature: thread page Thread and private thread pages labels Sep 2, 2025
@rafalp rafalp force-pushed the fix-1991-private-threads-app branch from 32fdd88 to 90ec76f Compare September 2, 2025 03:09
@coveralls
Copy link

coveralls commented Sep 2, 2025

Coverage Status

coverage: 96.505% (-0.006%) from 96.511%
when pulling 180515f on fix-1991-private-threads-app
into 726da8c on main.

@rafalp rafalp force-pushed the fix-1991-private-threads-app branch from 90ec76f to 894a60e Compare September 5, 2025 15:39
@rafalp rafalp force-pushed the fix-1991-private-threads-app branch from f5ac140 to 79e7f8a Compare September 5, 2025 17:36
@rafalp rafalp changed the title Private threads app Break down misago.threads Sep 7, 2025
@rafalp
Copy link
Owner Author

rafalp commented Oct 10, 2025

This is only waiting for me to re-organize thread list views tests. After that I'll merge this and do a rollback of misago.posts app as a separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: backend This issue involves Python, Django or dependency (eg. database) area: frontend This issue involves JavaScript, React.js and Node area: theme This issue involves HTML and CSS feature: thread page Thread and private thread pages feature: threads list Lists of threads

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move private threads logic to misago.privatethreads app

2 participants