summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-03-09Increased allowed size of VN cover image upload to 5MBYorhel1-1/+1
2011-03-09Auto-set category when creating new child tagYorhel1-0/+1
2011-03-09Don't allow users to edit their post when it was deletedYorhel1-1/+2
2011-02-07Added tooltip to the overruled-exclamation-markYorhel1-1/+1
2011-02-06Added new VN filter: on user VN list or notYorhel2-1/+3
2011-02-06Added new VN filter: voted on or notYorhel2-1/+3
2011-02-06Added new VN filters: wish/blacklistYorhel2-2/+8
2011-02-06Added filter selector to tag pages (excl. tags tab)Yorhel2-10/+18
2011-02-06Added tag visibility options by category on /v+Yorhel1-2/+5
The JS code is a bit messy, though...
2011-02-05Group tags on /v+/tagmod by their categoryYorhel2-26/+41
2011-02-05Properly save tag category when adding a new tagYorhel1-2/+2
2011-02-04Allow setting tag category for all child tags recursivelyYorhel2-6/+38
Takes the burden out of our dear tag moderators to edit *all* tags manually on the next update.
2011-02-04Added category field to tags (content/ero/technical)Yorhel2-3/+12
Not very useful at the moment, but will be used to improve several other things.
2011-02-04Fixed two perl warning related to reqCookie() returning undefYorhel2-2/+2
A TUWF change I forgot to check.
2011-02-04Merge branch 'beta'2.17Yorhel26-700/+662
Conflicts: ChangeLog
2011-02-04Don't save uploaded image to a temporary location before checksYorhel1-37/+19
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.
2011-02-03TUWF: Replaced reqParam() with reqGet() or reqPost() where applicableYorhel6-26/+15
Cleaner this way. Also found two occurences of manually HTML-escaping text for textareas, which isn't necessary anymore.
2011-02-03Cleaner and more efficient method of checking for the &fil= paramYorhel2-4/+4
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.
2011-02-02Added /t/all - a listing of all recently replied to threadsYorhel2-7/+8
2011-01-27Order "all notifications" with new notifications firstYorhel2-3/+4
That's more what you'd expect from a list that functions somewhat as a short-lived FIFO "archive".
2011-01-27L10N: Renamed _rbrowse_filters to _js_fil_filtersYorhel2-2/+2
2011-01-27Multi::RG: Use TUWF::XML instead of XML::WriterYorhel1-8/+5
This removes the last dependency on XML::Writer.
2011-01-27Multi::Feed: Use TUWF::XML instead of XML::WriterYorhel1-22/+22
2011-01-27TUWF: Added tag name to several end() callsYorhel15-107/+107
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
2011-01-27TUWF: No need for manual XML-escaping in textareas anymoreYorhel1-12/+2
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.
2011-01-27TUWF: Cleanup IE check code using pre_request_handler return valueYorhel2-44/+50
No more ugly hacks in my code thanks to TUWF! (a browser check in itself is already ugly enough for my tastes...)
2011-01-27TUWF: Replaced ugly html() redefine hack with the new html() optionsYorhel2-18/+7
2011-01-27TUWF: Use the uri_escape() provided by TUWFYorhel6-15/+7
2011-01-27TUWF: Replaced resHeader('Set-Cookie', ..) with resCookie()Yorhel2-17/+7
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.
2011-01-27TUWF: Made use of the new cookie_prefix featureYorhel3-4/+4
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)
2011-01-25TUWF: Initial convert from YAWF to TUWFYorhel19-312/+322
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.
2011-01-07Added 'released' release filterYorhel2-3/+3
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.
2011-01-07DB::Releases: Inverted 'unreleased' option to dbReleaseGet()Yorhel2-4/+4
Makes more sense this way.
2011-01-07Bugfix: Don't allow empty edit on releases with multiple producersYorhel1-1/+1
Caused by an errorneous sort statement when comparing the producer values.
2011-01-07Don't update the 'date' when changing a VN voteYorhel1-1/+1
Reverted back to the old behaviour.
2011-01-04Added checkboxes to VN tagmod and implemented the overrule logicYorhel2-36/+77
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.
2011-01-03Added tag overrule indicators to tag link browser and VN tag editorYorhel2-9/+12
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...
2011-01-03SQL: Added tags_vn.ignore column and updated queries to respect thisYorhel1-34/+5
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.
2011-01-03Bugfix: Secondary order by title or username on vote listingsYorhel1-1/+1
2011-01-03Bugfix-API: Use ~ for the get vn search filter instead of =Yorhel1-1/+1
2011-01-02Bugfix: Don't show NSFW screenshots on homepage with filtersYorhel1-1/+1
2011-01-02Bugfix: Correctly randomize screenshots on homepage with filtersYorhel1-1/+1
2011-01-02Fixed perl warning on /u+/votes batchedit with nothing selectedYorhel1-1/+1
2011-01-02Merge branch 'beta'2.16Yorhel23-369/+676
Conflicts: ChangeLog lib/VNDB/Handler/ULists.pm
2011-01-01Also apply permanent VN filters to the random screenshots on /Yorhel2-4/+29
2011-01-01V|R Browse: Don't apply saved filters when an empty filter string is givenYorhel3-6/+8
2011-01-01Bugfix: properly escape search query in links query stringYorhel2-4/+6
2011-01-01Added saving notes to filter selector and applied filFetchDB()Yorhel3-6/+7
This finalizes the permanent filters feature.
2011-01-01More infrastructural changes to accomodate for the permanent filtersYorhel5-7/+37
- 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
2011-01-01Implemented filFetchDB() and converted the VN/Release browser to use itYorhel4-58/+135
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.