Age | Commit message (Collapse) | Author | Files | Lines |
|
Unfinished, primarily for testing.
https://vndb.org/t20399.36
|
|
Which is also kind of an abuse, but at least the semantics are much
closer.
(Next up: the standout class. Slowly working towards a "font: inherit"
and "color: inherit" reset, which'll remove the need for a bunch of ugly
workarounds)
|
|
It was possible to search for deleted producers, but I didn't really see
the value in that. Checking for deleted VNs is still important, likewise
for tags & traits.
This reduces the size of the cache a bit, but more importantly also
improves accuracy of the search result counts for other DB entries.
|
|
|
|
|
|
|
|
|
|
Much the same as the previous conversion of tags.
|
|
Another commit with changes all across the tree. But at least we have a
tangible improvement now: edit histories for tags.
|
|
I had wanted to split this up into multiple commits and roll out in
stages, but couldn't really find a natural way to do so. There are
several places that take a generic identifier and expect it to work the
same for all entries they support, so changing one entry at a time
wasn't going to be any easier. Only the tags & traits haven't been
updated yet, I'll convert those later.
While this is a major change and affects a lot of code, the individual
changes are all pretty simple. I'm surprised how much code did not have
to be updated at all. No doubt I've missed a few places, though, so this
commit will almost certainly break something.
|
|
Fixes https://vndb.org/t14995.53 point 1
|
|
Seems more efficient - no need to fetch and transfer those lists when
they won't be needed in the majority of cases.
|
|
Using a lazily loaded static list
|
|
|
|
This prevents the input from being counted as part of the parent form
element, which in turn prevents pointless "advsearch_" parameters from
being included in the URL when submitting the advanced search form while
an autompletion input is still open.
|
|
Broken in 960946ac90a8da32953a4a21128d993f2049f8d1
https://vndb.org/t2520.506
|
|
The copy-pasting here is ridiculous. But at the same time, that did
allow me to quickly rewrite the form in a single commit.
Here's hoping I didn't introduce too many copy-paste errors.
|
|
|
|
|
|
Completing the "General info" tab. This makes use of the new anime
titles import for validation and autocomplete.
It does have a bug, though, as it also autocompletes deleted AniDB
entries that happen to have been linked to old VN revisions. Need to
find a way to mark those for exclusion.
|
|
|
|
|
|
https://vndb.org/t950.697
|
|
Lots of copy-pasting going on here. Meh.
Also added a couple of overdue server-side validations.
|
|
And a few minor styling fixes.
|
|
So much more convenient. \o/
|
|
|
|
|
|
This also changes the voting interface a little bit:
- Spoiler options are a bit more concise
- Mouse-over a button indicates what it does
- The -1 and -2 options are not available anymore
- Downvoted tags are hidden by default
- Moderators can now vote-and-overrule in a single go
|
|
endpoint
The new elm_api() function now creates an API endpoint (like json_api())
and generates a corresponding Elm module to interact with that API (like
elm_form()). The API endpoint URL is now derived from the name of the
Elm module, so there's no need to think of a separate URL and less prone
to making typos when using that URL from Elm.
Reduces the boilerplace a bit as well.
|
|
Now with BBCode preview, interactive board search, client-side error
reporting and lots of new bugs.
This took me far too long, turns out it wasn't such a trivial rewrite.
|