Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes a (harmless) warning:
Issuing rollback() due to DESTROY without explicit disconnect() of
DBD::Pg::db handle dbname=vndb at util/dbdump.pl line 247.
|
|
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.
|
|
Today's export had a little inconsistency caused by a database update
while the export script was running.
|
|
|
|
Also fixes the hover effect for threads, which I broke earlier due to
the threads moving to v2rw.js.
|
|
|
|
So we can apply the new preview functionality.
I got rid of the "Go advanced" button, because there's really nothing
advanced about it.
|
|
|
|
|
|
TODO:
- Managing labels
- Assigning labels to VNs
Not yet sure what the API for the latter should look like.
|
|
To directly query the new list feature. I'll migrate the old
vnlist/wishlist/votelist APIs later to query the 'ulist' tables.
|
|
This is a remnant from when I was running a public sandbox VNDB, to
avoid getting people confused and wasting their time contributing to the
sandbox.
Removed for consistency with pages that have migrated to the new
v2rw.js, which doesn't have the message, and for the new .onion address.
|
|
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/
|
|
|
|
|
|
Kind of backwards to use input elements to display a link when they're
backed by Javascript anyway. This also avoids the need to create a
unique id for each linkradio element.
|
|
It works pretty well, but Lists.pm is getting *really* ugly now. :(
|
|
I wasn't able to do this while the .maintabs used floats.
|
|
Flexbox instead of floats. Apart from that, it's still very hacky. Uses
relative positioning in order to overlay 1px over the .mainbox.
This should fix the ages-old 'bottom tabs overlay next mainbox' bug and
provide more flexibility with adding a top-level <fieldset> or centered
buttons.
|
|
|
|
|
|
This is pretty slow for large lists, but let's just see how it goes.
|
|
|
|
People leave their window open for a while, and that's fine.
|
|
|
|
It's redundant. The goal was to make the notes feature more prominent so
it'd stand out more, but in hindsight it seems more like a distraction.
|
|
Less clutter when not editing.
|
|
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.
|
|
Broken due to confusion over whether a 'fmt' subroutine returns an fmt
string or a full URL. In the case of Wikidata, it should return the full
URL...
|
|
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.
|
|
This is where the ExtLink module comes in handy: generating the revision
comparison thing is much easier now. Did find and fix a bunch of issues
with the new revision box generator code, but that was to be expected, I
hadn't tested that code well yet and this is its first more demanding
use.
Rest of this is a pretty direct rewrite, nothing too special.
|
|
This is yak shaving. The new module doesn't have much value as it is,
apart from having a central place to define link formats. This new
enrich_extlinks() approach is also a bit more efficient in that it can
avoid separate SQL queries for multiple objects.
But the real reason for these changes is that I can use that %LINKS hash
table to automatically generate the links part in the edit summary and
it should (hopefully) also be useful to generate a more
convenient/streamlined Elm edit form.
|
|
field
|
|
|
|
|
|
changes
|
|
|
|
Instantiating 100 <input type="date"> takes about 180ms on my system
with Firefox, so doing that lazily is a big win. UList.Opt is typically
hidden, lazily initializing that saves an additional 60ms.
Also increase the mouse-over div for the date editor a bit so that
there's more hover space.
|
|
rlisted VNs
|
|
|
|
|
|
Found a cleaner way to recognize outside-of-dropdown clicks, so that
gets rid of the weird and unreliable message timing workarounds.
TODO:
- Dynamically updating that releases summary thing (1/1 blah)
- Adding releases
- Add "linkradio" styling for plain <a> tags? These hidden checkboxes
are silly for stuff that requires JS anyway.
|