Age | Commit message (Collapse) | Author | Files | Lines |
|
Haven't found any bugs this way, yet. I doubt there'll be any problems,
but it's a nice new feature that could help quite a bit. :-D
|
|
There may still be some bugs present and I've only converted the points
where TUWF is incompatible with YAWF. The new TUWF features are not in
use yet, I'll do that later on.
Note that, in order to run the new code, TUWF must be installed on your
system. The configuration for the TransAdmin plugin has also changed.
Other than that there shouldn't be any issues.
|
|
This finalizes the permanent filters feature.
|
|
|
|
|
|
|
|
|
|
This can be seen as a partial revert of
0a4f97f0186d6941a4cab2e3bd05201f1fed1441.
I used to think using NULL for special values is more "correct" in
database terms. But in the end I guess I should be aiming for whatever
solution is easier. Both are "correct" in a sense anyway.
|
|
Primary reason for this change is because Algorithm::Diff::Fast isn't
all that fast for character-level diffs. :-/
|
|
|
|
This is the first part. The flag is stored in the database, can be
edited through the usual VN edit form, and is displayed in the diff
viewer.
Things to do to make this feature fully functional:
- display "official" status on VN page at the relation listing
- update relation graphs to display unofficial relations differently
- update guidelines
|
|
|
|
|
|
And made sure the dimensions are truncated in VNDBUtil::imgsize().
Setting the width/height attributes makes sure that the browser can
reserve space for the image when it hasn't been loaded yet, which
prevents the overall page layout from changing while the images are
loading. (which is annoying if your connection isn't all that fast)
|
|
...rather useless option to have.
|
|
And greatly simplified the HTML of the screenshot viewer and fixed a
HTML bug (colspan when it wasn't needed) in the process.
|
|
|
|
The warnbg and warnborder colors from the skins are used for
highlighting.
|
|
|
|
The ORDER BY was previously specified using an 'order' argument, which
would then be directly inserted into the query. The new method is the
same as what I used for the public API: two 'sort' and 'reverse'
arguments. This should be less error-prone and more readable.
This changes quite a lot of code, so I hope I haven't forgotten to
update something along the way.
|
|
This adds about 100ms (sometimes more) to the page generation time of VN
pages... maybe I should cache the ratings after all.
|
|
|
|
|
|
TODO:
- document the relations
- emit a relgraph notify when needed
|
|
|
|
|
|
|
|
Abstacted a simple set of reusable functions for generating dropdown
lists, as I'm likely going to need that more often.
|
|
Again, two separate but related things.
|
|
This is a workaround for a bug in DBD::Pg:
http://rt.cpan.org/Public/Bug/Display.html?id=40199
Also added a charset to the content type header of the relation graph
pages, though this wasn't really necessary for my Firefox to work.
|
|
OK, these are actually two separate things: to make the relations
translatable they didn't necessarily have to be stored as enum, and I
could've also converted them to enum but not have it translatable.
Nevertheless, it was easier to just do both at the same time.
Also note how I used the string "$____vnrel_<rel>____$" as identifier in
the relation graphs while I could have used something a lot shorter
("$<rel>$" would have been fine, for example). This is done so that
graphviz can make some space for those relations - the long identifier
gives a slightly more realistic representation of the actual length of
the relation titles.
|
|
If a browser does support the application/xhtml+xml mime, let's assume
it also supports SVG (to my knowledge, this is the case in any recent
browser). OTOH, browsers not supporting that mime type are sure to not
support SVG, either.
|
|
The graphs are now stored in the DB in SVG format, the static/rg/
directory can be removed (not used anymore).
SVG data is stored using the xml data type, so now I can say for
sure you'd need at least PostgreSQL 8.3.
This feature still needs some tweaking, though. Current state isn't
perfect.
|
|
|
|
As they would soon be dead links, anyway.
|
|
|
|
|
|
This is one of the last easy-to-extract unextracted texts... the rest is
slightly harder to extract. Either because it's in JS, used in Multi, or
used in some creative way that doesn't work well together with
extraction... :/
|
|
|
|
|
|
This is the last Handler module. There are still some other things left
in Util:: and global.pl, though. But at least we're nearing the end!
|
|
and age()
|
|
And replaced the ugly release type cssicon class hack. The class is now
'tr'.$type_numer, instead of the first three characters of their English
representation in lowercase. No idea why I haven't done it this way in
the first place...
|
|
|
|
User ranks are easy... but the language names are used everywhere!
|
|
|
|
|
|
Removed most NOT NULL constraints, and converted lastfetch to a
timestamp data type.
The site has been updated to handle this, but Multi::Anime won't work.
|
|
The 'language' column in releases_rev has been replaced with a
releases_lang table. As this is quite a big change, there may still
be bugs floating around somewhere.
|
|
|