diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | data/docs/6 | 10 | ||||
-rw-r--r-- | lib/VNDB/DB/ULists.pm | 2 | ||||
-rw-r--r-- | lib/VNDB/Handler/Releases.pm | 2 |
4 files changed, 11 insertions, 9 deletions
@@ -1,9 +1,12 @@ -2.17 - ? +2.18 - + +2.17 - 2011-02-04 - Allow moderators to overrule VN tag votes - Added 'released' release filter - Changed order of the filter action buttons - Slightly re-organized lang.txt - Fixed perl warning on /u+/votes batchedit with nothing selected + - Don't update the 'date' when changing a VN vote - Switched to TUWF - Order "all notifications" with new notifications first - Added /t/all - a listing of all recently replied to threads @@ -14,6 +17,7 @@ - Bugfix: Don't show NSFW screenshots on homepage with filters - Bugfix-API: Use ~ for the get vn search filter instead of = - Bugfix: Secondary order by title or username on vote listings + - Bugfix: Don't allow empty edit on releases with multiple producers 2.16 - 2011-01-02 - VNDBUtil::bb2html(): Fixed bug when the string starts with a VNDBID diff --git a/data/docs/6 b/data/docs/6 index 0e0a9aab..4c26dad9 100644 --- a/data/docs/6 +++ b/data/docs/6 @@ -28,12 +28,10 @@ but it's usually the same as a visual novel, except that a dating sim generally uses a gameplay based on statistics.<br /> <br /> - There are no strict bounds to the definition of "visual novel", most - eroge and dating sims include elements of visual novels, but may - - strictly speaking - not be visual novels themselves. As VNDB aims to - be comprehensive, we simply accept any game that contains elements of a - visual novel and is produced by a Japanese or Japan-related company or - doujin cicle, see the <a href="/d2">guidelines</a> for more information. + There are no strict bounds to the definition of "visual novel", most eroge and + dating sims include elements of visual novels, but may - strictly speaking - + not be visual novels themselves. VNDB has its own rules for inclusion in the + database, see the <a href="/d2">guidelines</a> for more information. </p> diff --git a/lib/VNDB/DB/ULists.pm b/lib/VNDB/DB/ULists.pm index a47e848e..e1c22594 100644 --- a/lib/VNDB/DB/ULists.pm +++ b/lib/VNDB/DB/ULists.pm @@ -260,7 +260,7 @@ sub dbVoteAdd { my($self, $vid, $uid, $vote) = @_; $self->dbExec(q| UPDATE votes - SET vote = ?, date = NOW() + SET vote = ? WHERE vid IN(!l) AND uid = ?|, $vote, ref($vid) ? $vid : [$vid], $uid diff --git a/lib/VNDB/Handler/Releases.pm b/lib/VNDB/Handler/Releases.pm index 349c813b..a3ecbd42 100644 --- a/lib/VNDB/Handler/Releases.pm +++ b/lib/VNDB/Handler/Releases.pm @@ -342,7 +342,7 @@ sub edit { my $same = $rid && (join(',', sort @{$b4{platforms}}) eq join(',', sort @{$frm->{platforms}})) && - (join(',', map join(' ', @$_), sort { $a->[0] <=> $b->[0] } @$producers) eq join(',', sort map sprintf('%d %d %d',$_->{id}, $_->{developer}?1:0, $_->{publisher}?1:0), sort { $a->{id} <=> $b->{id} } @{$r->{producers}})) && + (join(',', map join(' ', @$_), sort { $a->[0] <=> $b->[0] } @$producers) eq join(',', map sprintf('%d %d %d',$_->{id}, $_->{developer}?1:0, $_->{publisher}?1:0), sort { $a->{id} <=> $b->{id} } @{$r->{producers}})) && (join(',', sort @$new_vn) eq join(',', sort map $_->{vid}, @$vn)) && (join(',', sort @{$b4{languages}}) eq join(',', sort @{$frm->{languages}})) && !grep !/^(platforms|producers|vn|languages)$/ && $frm->{$_} ne $b4{$_}, keys %b4; |