Enhance PostsHelper and View Logic for Improved Post Metadata Display

- Updated `PostsHelper` to enforce strict typing and added new methods for guessing HTTP log entries related to scanned posts and file downloads.
- Refactored the `post_state_string` method to handle unknown states more gracefully.
- Modified the view template to replace the old scanned and file description logic with links to log entries, providing clearer metadata about post actions.
- Removed deprecated tests related to the old description methods and added new tests for the updated functionality.

These changes improve the clarity and usability of post metadata in the application.
This commit is contained in:
Dylan Knutson
2025-01-20 17:57:58 +00:00
parent d8ffd9bde1
commit 4d3a8e9fc6
6 changed files with 1009 additions and 86 deletions

File diff suppressed because one or more lines are too long