Age | Commit message (Collapse) | Author | Files | Lines |
|
Turns out the recent update didn't allow me to moderate private threads
anymore. :(
I decided not make it a boardmod feature this time, one person for
moderating private threads is enough.
|
|
So we can apply the new preview functionality.
I got rid of the "Go advanced" button, because there's really nothing
advanced about it.
|
|
That behavior was more distracting, especially when the intention of the
link isn't to link to that post in particular, but just to the more
recent part of the thread.
As an additional advantage, this doesn't rely on the t#.# redirect
anymore, this making browsing the forums slightly faster.
|
|
I did not reimplement the 'poll_recast' and 'poll_preview' settings,
these actions are now always permitted.
Updated CSS a little bit to highlight the linked post and fix the double
border at the bottom.
The nice thing about the sql_visible_threads() function I wrote earlier
is that is can also be used for access control on a single thread. More
code re-use. \o/
|
|
Requires the latest git version of TUWF.
|
|
|
|
listing
i.e. private and hidden threads are now included in the counter if you
can see those threads.
|
|
A board-wide "tab"-like structure rather than breadcrumbs, has a more
consistent feeling.
|
|
|
|
Requiring callers to fetch the right fields and pass it along to
framework_() just seems brittle. This implementation requires an extra
query but does make an effort to avoid fetching the skin and css when
it's not needed.
|
|
hidden/private flags
|
|
Not super happy with the layout of the thread listing table, maybe I'll
revisit that after converting the board listings.
Also not super happy with the overall (lack of) structure in the board
listing pages, should be able to find something for that as well.
|
|
With minor styling improvements and full pagination for thread title
search.
I did combine a few queries which I initially separated for performance
reasons. A few quick benchmarks show that it's fast enough, but I'll
have to see how it performs in production.
|
|
Simple conversion, no real changes other than that the new version has
full pagination.
|