Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to post views #1802

Merged
merged 13 commits into from
Sep 4, 2024
Merged

Redirect to post views #1802

merged 13 commits into from
Sep 4, 2024

Conversation

rafalp
Copy link
Owner

@rafalp rafalp commented Sep 3, 2024

This PR adds "redirect to post" views

Fixes #1799

TODO

  • Calculate item's page based on its offset
  • Redirect to first unread post
    • Threads
    • Private threads
  • Redirect to last post
    • Threads
    • Private threads
  • Redirect to first unapproved post
    • Raise PermissionDenied if user is missing moderator permission
    • Threads
    • Private threads
  • Redirect to first solution post
    • Threads
  • Redirect to any post on site with ID
    • Threads
    • Private threads
    • Plugin hook
  • Delete old goto views
  • Update links in emails
  • Update links in notifications

@rafalp rafalp added area: backend This issue involves Python, Django or dependency (eg. database) feature: read tracker Tracks read and unread threads and posts feature: thread page Thread and private thread pages labels Sep 3, 2024
@rafalp rafalp added this to the Next feature release milestone Sep 3, 2024
@rafalp rafalp self-assigned this Sep 3, 2024
@rafalp rafalp merged commit 323bfff into main Sep 4, 2024
1 check failed
@rafalp rafalp deleted the fix-1799-redirect-to-post-views branch September 4, 2024 19:23
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) feature: read tracker Tracks read and unread threads and posts feature: thread page Thread and private thread pages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace thread posts goto views with redirect views that use new generics and permissions system
1 participant