Age | Commit message (Collapse) | Author | Files | Lines |
|
First part of a Javascript cleanup.
|
|
|
|
|
|
It's not a preference yet and the sexual traits are still visible by
default. I'll fix that later.
|
|
- Remove the obsolete 'use's
- Re-add max-width style when requested
- Fix comparison in displaying media
- Fix sorting on animation column
|
|
The previous code was using experimental perl features (switch /
smartmatch) that weren't really needed, and the information about
individual columns was spread around in multiple functions. This rewrite
makes the code consistent with the rest of VNDB, and has *all* of the
column-specific information in one data structure.
I did not replicate the similar-cell-merging feature, partly because the
code for it is definitely not trivial and partly because it doesn't make
the table look any less cluttered. In fact, I feel that it only makes
the table harder to interpret because it looks messy. This is a matter
opinion, of course, so I might reimplement the feature if people who
actually use this comparison page want to.
Overall, I'm still undecided on whether this comparison page should
exist at all in its current form - it's not very user-friendly and often
looks cluttered. I'm keeping it because it does have some use-cases
where it avoids opening every release page to do a manual comparison,
but I'd love a more friendly-looking alternative.
|
|
|
|
Reported by dim0k at https://www.xssposed.org/incidents/74523/
|
|
This fixes the unexpected behaviour that changing the spoiler setting on
one page will change it for all pages. All manual spoiler changing
options are temporary now.
|
|
|
|
The name of the profile setting isn't very clear. Not sure what to do
with it.
|
|
|
|
This was more trivial than I had expected. I already took ipv6 into
account when rewriting the API for AnyEvent (including the use of
norm_ip()), so that part was fine. The only part I had to fix was the
listening socket, and I had to ensure that the $c->{ip} was correct. The
first was easy, and the latter was properly handled by AnyEvent
automatically. Looks like AnyEvent automatically 'unpacks' IPv4-mapped
IPv6 addresses, so I didn't have to deal with that myself.
|
|
This is to save system resources when a misbehaving client keeps sending
commands while it's being throttled. It also protects against trivial
DoS attacks.
|
|
Used /v+/chars, other occurrences just use singular.
|
|
|
|
|
|
It's a relic of the past. IE 6 & 7 are very rarely used nowadays, and
people still using it will quickly realize why things don't quite work -
they'll be used to it.
|
|
First step in removing the use of the Referer header for redirects. The
Referer header is ugly and not always reliable, it's better to encode
the required information in the URL.
|
|
AE::timer accepts a time interval as argument, not a complete
timestamp. So the monthly cron job hasn't run in a while...
|
|
Apparently, imagemagick's Flatten() has some odd corner cases where it
seems to do more than just remove the alpha layer. The current approach
is the one recommended by the official docs:
http://www.imagemagick.org/Usage/masking/#remove
|
|
|
|
Same as 2f61c4f6772f852f9e0b9ede6228de4e4dbf71a0
|
|
- Allow non-logged in visitors to browse the translations
- Add 'Recent changes' link to the doc pages
- Add 'incomplete' indication to the doc page links
|
|
|
|
As suggested at https://vndb.org/t6668.18
I also like how the 'amount' option isn't documented for UnsharpMask().
All documentation says 'gain' instead, but that option throws an error.
|
|
|
|
|
|
Having a proper and up-to-date list of moderators is an often requested
feature.
|
|
Not entirely sure if this is an improvement, but it's slightly more
consistent with other layouts (combination of user page, release page
and character page), and leaves more room for the credit/cast listings.
|
|
|
|
|
|
Broken in commit 887607bb3744c727ec617508c17b2b7df46c2287
|
|
|
|
I forgot that AnyEvent::Handle works with bytes rather than unicode
strings, even though that is kind of obvious. I expected that
AnyEvent::IRC would automatically handle the conversion between byte
strings and Unicode strings, but it doesn't, so that has to be done
manually.
|
|
Conflicts:
lib/Multi/Feed.pm
lib/Multi/IRC.pm
|
|
|
|
I probably don't want to have the 'trace' log level on the actual
server.
|
|
Ugh I wish I had proper unit tests. Ugh writing proper unit tests is a
loooot more work than just doing a bunch of quick manual tests.
|
|
|
|
|
|
|
|
Includes changes from 5926ce95395976456c0e15895d13491a81819087 and
e20b19ce400ccf382a969a51777e0678ff8d44db
|
|
|
|
|
|
|
|
|
|
(Quoting mail:)
- character list is sorted by name in cast edit form (managing of the
huge lists like v6458 becomes slightly easier);
- display number of characters voiced on seiyuu page;
- display a notice in staff edit form when primary name could be
changed.
|
|
|
|
Ugh I hate merge commits, but for some reason 'git rebase' doesn't allow
empty email addreses, and refuses to rebase my commits. :-(
|