Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
See TUWF commit fd3d2ca6a18222dafaa13dbcb7a6ccce1c4d9e6e
Fixes https://vndb.org/t2520.822 and a few related bugs.
(I may have introduced a few new bugs with this, let's see...)
|
|
As discussed in https://vndb.org/t20453
|
|
So that the save/load functionality is also available on a user's list.
Suggested by https://vndb.org/t950.1537
|
|
Hopefully without breaking anything.
Switched to using flexbox for the homepage boxes instead of grid, in
order to fix an overflow issue on Pale Moon. But I later fixed a similar
issue with the relation graphs and history tables, so perhaps that
switch wasn't necessary.
|
|
To reserve <b> for the standout styling.
|
|
This is a huge back-end change for a small benefit, but it also improves
consistency a bit in the way that titles are handled and passed around.
The Elm code still uses separate title/alttitle fields at various
places, not sure if I want to bother converting that, too.
I'm sure there's bugs, given how many files this touches.
|
|
Instead using the static view for the default title preferences, inline
SELECT statements for custom preferences and wonderful
vnt()/releasest() SQL functions for item_info().
Performance wise I don't expect much of a difference, except there's
fewer writes and less per-page overhead from the CREATE TEMPORARY VIEW
commands. Primary motivation for these changes is so that we can extend
title preferences to other database types without incurring more
overhead by needing to create more views.
|
|
The card/grid modes are totally half-assed, they don't display release
status or notes and changes using the widget are not reflected in the
listing until a page refresh.
And the card mode will overflow if too many fields are selected.
|
|
Goal is to slowly consolidate more UList code with VN::List, so that all
columns and display options of the latter are also available on the
former. The only real change with the current commit is that more
columns can be selected in UList, but this is just step one.
|
|
|
|
Fixes https://vndb.org/t2520.647
|
|
This implements the main database model part of custom title languages
(https://vndb.org/t12465). Selecting the right title for display is done
in SQL through the 'vnt' VIEW, which can be overridden in each session
with a TEMPORARY VIEW in order to support user title preferences, but
that part has not been implemented yet.
I had started out using an sql_vn() function that returned a subquery
instead of using a VIEW, but then ran into trouble with the item_info()
SQL function. This VIEW approach also happened to simplify much of the
code. I did have to get rid of the Discusssions::Lib::sql_boards()
function, as Postgres was unable to optimize the subquery inside a UNION
inside a subquery for some reason. Haven't run into any other noticeable
performance regressions yet.
TODO:
- Implement actual user title preferences
- Add the correct 'lang' HTML attributes everywhere a title is displayed
(we do have the information now, though it still isn't trivial)
- Add title fetching support to API
|
|
Fixes https://vndb.org/t2520.567
|
|
With additional VN cache columns for the new developers and average
table columns. The developers cache is also used by the AdvSearch to
potentially speed up some queries (and slow down others).
I also changed the popularity and rating caches to smallint. Doesn't
save anything with the current padding, but there's not much point in
using a floating point type when the values get rounded anyway.
|
|
This way there is always a single canonical path for each tag/trait,
which fixes the problem with traits that could belong to multiple groups
yet you couldn't control which one was selected, and this also removes
duplication in the VN->tags tab, which now doesn't have to non-canonical
tag paths.
|
|
This also fixes the issue that the reason for deletion is not displayed
if it's in the message of the last change, which is the case for newly
rejected tags/traits. The edit message is not displayed if the entry was
deleted in the first revision, as that's most likely an import.
|
|
I obviously forgot to test this one.
|
|
Another commit with changes all across the tree. But at least we have a
tangible improvement now: edit histories for tags.
|
|
Fixes https://vndb.org/t2520.542
|
|
I had them as temporary redirects in order to safely handle a rollback,
but that won't be necessary anymore.
|
|
I think I've seen all the possible errors by now, what remains are
invalid/corrupted filter strings that aren't very interesting to handle.
|
|
Largely a copy-paste from TagPage.
|
|
|
|
Amazing how can browsers(?) and bots mangle URLs sometimes.
Anyway, the user will now get a friendly error message instead of a 500,
and I get to see log messages. Everyone happy. I hope.
|
|
|
|
Moved old release browser, VN browser and tag pages to /old/, moved
/experimental/ pages to /, removed warnings and updated some references.
|
|
|
|
|