summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-12-28Bugfix: translate screen resolutions on release revision pagesYorhel1-1/+1
2010-12-28Bugfix: *properly* check for access priviledge on users' listsYorhel1-3/+3
Bug introduced in 6ff1efe0d07e24e9fb2db199c308c6cbed51e578.
2010-12-28Bugfix: check for validness of form arguments on /[uv]+/votesYorhel1-0/+1
2010-12-23Store l10n preference in the database for logged-in usersYorhel2-2/+13
2010-12-23Converted the notify_announce and notify_dbedit preferencesYorhel4-18/+16
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.
2010-12-23Converted the show_list pref. to users_prefs and inverted the valueYorhel7-29/+33
In the users_prefs table, the default value should evaluate to 'false' in Perl, so show_list had to be inverted to hide_list.
2010-12-23Converted the show_nsfw preference to use the users_prefs tableYorhel4-21/+19
2010-12-23Added users_prefs table and removed users.(skin|customcss)Yorhel4-13/+44
Will convert the other preferences later.
2010-12-22Don't allow page > 100 or sorting on username or title on tag link browserYorhel1-4/+4
Performance. Those featues are hardly used, but they can block other visitors when used in bad combinations.
2010-12-21Pass VN tag filters by ID rather than nameYorhel4-43/+39
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.
2010-12-21Added vnlists.status filter to /u+/listYorhel2-1/+9
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.
2010-12-21Added notes field to the user VN listYorhel2-11/+21
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.
2010-12-20Update the votes.date column when changing a voteYorhel1-1/+1
2010-12-20Added ability to batch-edit votes to /u+/votesYorhel2-5/+45