Age | Commit message (Collapse) | Author | Files | Lines |
|
Conflicts:
ChangeLog
|
|
This takes less code and may (or may not) be more efficient since it
does not require any HDD I/O while performing some checks.
|
|
Cleaner this way.
Also found two occurences of manually HTML-escaping text for textareas,
which isn't necessary anymore.
|
|
With the new TUWF, kv_validate() returns undef when the param isn't
present and an empty string if it is, but left empty. This is a more
efficient way to differentiate between empty and nonexistent than the
previous YAWF-method of grepping all param names.
|
|
|
|
That's more what you'd expect from a list that functions somewhat as a
short-lived FIFO "archive".
|
|
|
|
This removes the last dependency on XML::Writer.
|
|
|
|
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
|
|
TUWF::XML does not automatically convert '\n' to '<br />' anymore, so
it's now safe to pass the contents of the textarea to its HTML function.
|
|
No more ugly hacks in my code thanks to TUWF!
(a browser check in itself is already ugly enough for my tastes...)
|
|
|
|
|
|
Way more convenient. This also fixes several bugs with the previous
commit, since the cookie_prefix wasn't used for *all* cookies. Since it
is now, the 'l10n' cookie now also respects the configured prefix, which
means some people will have to set their default language again.
Configuration changes: 'cookie_domain' option has been removed, the
'cookie_defaults' option of TUWF should now be used.
|
|
Configuration change: Make sure you more the cookie_prefix option from
%S to %O. (It's now a TUWF option rather than a VNDB one)
|
|
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.
|
|
Just an alias for the correct date_before or date_after filter. Allows
bookmarking 'just released' or 'to be released' listings since the URL
doesn't change now. Same for saved filters - it's now possible to
permanently exclude future releases without having to change the filter
each day.
|
|
Makes more sense this way.
|
|
Caused by an errorneous sort statement when comparing the producer
values.
|
|
Reverted back to the old behaviour.
|
|
This finalizes the moderation tag vote overrule. And Damnit, the logic
behind saving the tags to the database isn't fun, I hope I haven't made
any mistakes there.
|
|
This is the second step in adding support for overruling tag votes by
moderators.
This required a different approach to calculating the score in
dbTagStats(). For some reason this approach turns out to be slightly
faster as well...
|
|
This is the first step in adding support for overruling tag votes by
moderators.
Also removed some unused options from dbTagStats(); the
tag-vote-stats-by-user pages have been removed in the previous VNDB
update, which was the only page using these additional options.
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
ChangeLog
lib/VNDB/Handler/ULists.pm
|
|
|
|
|
|
|
|
This finalizes the permanent filters feature.
|
|
- Added a 'prefs' option to htmlFooter() to add preference data for use by
Javascript.
- Added an /xml/prefs.xml URL for setting preferences from JS.
- Added 'filter_*' keys to the prefs_key ENUM
- Load filters by default on VN and Release browser
|
|
This will correctly handle fetching stuff from the database when
permanent filters are enabled.
This update also removes compatibility with some old VN browse URLs. The
old 'ti' and 'te' (tag include/exclude) query parameters are now
ignored, and searching for a language in the query string (e.g.
"q=English") won't enable the language filter.
|
|
|
|
Bug introduced in 6ff1efe0d07e24e9fb2db199c308c6cbed51e578.
|
|
|
|
|
|
And renamed notify_dbedit to notify_nodbedit, since the default is to
provide a notify on a database edit.
Also fixed a few bugs along the way.
|
|
In the users_prefs table, the default value should evaluate to 'false'
in Perl, so show_list had to be inverted to hide_list.
|
|
|
|
Will convert the other preferences later.
|
|
Performance. Those featues are hardly used, but they can block other
visitors when used in bad combinations.
|
|
This makes the UI slightly uglier and less intuitive. I'll see if I can
find a way around that. This update is required for the permanent
browsing filters to be fast and reliable.
|
|
Can only filter on one option. If there are more things to filter on it
would make sense to use the filter selector, but for now this will do.
|
|
The interface to set this could be more dynamic, since it'll be a lot of
work to set different notes for each VN. But oh well, let's first see
how many people will use this feature.
|
|
|
|
|