summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Tags.pm
AgeCommit message (Collapse)AuthorFilesLines
2021-01-20v2rw: Rewrite done, time to clean up old v2 codeYorhel1-202/+0
Yay! There are no more request handlers in the VNDB::* namespace and no more Javascript in data/js/. This cleans up a lot of old legacy code that wasn't fun to maintain.
2021-01-10AdvSearch: Time to put this live.2.29Yorhel1-6/+6
Moved old release browser, VN browser and tag pages to /old/, moved /experimental/ pages to /, removed warnings and updated some references.
2020-09-30v2rw/Tags::Index: Rewrite the tag indexYorhel1-79/+0
Nothing new, but I do see more avenues for consolidation with traits.
2020-09-27v2rw/Tags::List: Re-implement & improve the tag listYorhel1-69/+0
Now supports full pagination, displaying & sorting on VN count and displaying & filtering the searchable and applicable flags.
2020-09-27v2rw: Delete old tag edit formYorhel1-167/+0
2020-09-27v2rw/TagEdit: Rewrite tag edit form to elmYorhel1-4/+4
It's still missing a few mod features, will add those later.
2020-09-02BBCode: Consolidate bb2html & bb2text + only convert ids in thread titlesYorhel1-1/+1
Fixing bb2html to only convert ids would complicate options a lot, adding a new formatting function to only convert ids would make sense, but then all formatting functions kind of look alike, so I figured a single bb_format() to support all use cases may be a better approach. Trigger for this was that people do (understandably) put [spoiler] in thread titles, and that should not be interpreted as the spoiler tag.
2020-01-28v2rw: Convert the VN tagmod interfaceYorhel1-161/+0
This also changes the voting interface a little bit: - Spoiler options are a bit more concise - Mouse-over a button indicates what it does - The -1 and -2 options are not available anymore - Downvoted tags are hidden by default - Moderators can now vote-and-overrule in a single go
2020-01-08Slightly less ugly tagscore displayYorhel1-1/+1
And get rid of the spoiler warning in the tag link browser. There are lots of pages that would need it if we applied it consistently.
2020-01-08v2rw: Convert tag link browserYorhel1-115/+0
2019-10-10rewards: Apply supporters badge and unicode name (almost) everywhereYorhel1-8/+4
Only place where this isn't applied (yet?): Sorting user lists still goes by the old username and board names don't use the new unicode names. I have to say, I quite like the sql_user() and user_() pattern. It's not without problems when applied to everything, but it's good enough for several use cases.
2019-10-07Tag/trait pages: Removed cache info line, it is not accurate anymoreYorhel1-2/+3
2019-09-11VNDB::Types: Convert vn_lengths, anime_types and tag_categoriesYorhel1-5/+6
2019-07-15Increase maximum number of tags/traits/producers/staff in filtersYorhel1-1/+2
Fixes https://vndb.org/t12602.20
2019-07-08Handler::Tags: Fix display of unknown filters in tag link browserYorhel1-4/+4
Arguable those should just give a 404, but this works fine, too.
2019-07-08Add Producer/Staff/Seiyuu filters to Release/VN/Char filtersYorhel1-0/+2
This also abstracts and changes the tag/trait filter selection interface a little bit. Non-searchable tags/traits are now simply not listed anymore in the dropdown search.
2019-07-06Handle tags assigned to deleted users in tag link browserYorhel1-2/+6
2019-06-26Re-add tag vote deletion moderation featureYorhel1-1/+6
2019-06-26Tags: Split "meta" field into "searchable" and "applicable"Yorhel1-14/+30
As discussed in https://vndb.org/t12507 TODO: - Same conversion for traits - Re-add mod ability to delete all votes for a particular tag?
2018-10-07Handler::(Tags|Traits): Remember spoiler/filter settings when changing the otherYorhel1-0/+1
https://vndb.org/t950.517
2018-09-29Add default spoiler level to tags and use it in spoiler calculationYorhel1-1/+5
https://vndb.org/t11296.3 (And I forgot to add update_20180929.sql in the previous commit)
2018-03-10Handler::Tags: Remember sort option when changing spoilers in VN listingYorhel1-3/+3
Fixes https://vndb.org/t2520.250
2016-07-03Generalize substring search relevance + apply to most dropdown searchesYorhel1-1/+1
This is a generalization of the search improvements made in 7da2edeaa0f6cf7794f4f8f68960497dc1be893c and 92235222dba4e5d0c7713d53ef12e0f10e371b83 And has been applied to the dropdown searches for producers, staff, tags and traits. For all those searches, exact matches are listed first, followed by prefix matches, and then substring matches. Relevance is currently only based on the primary name/title and ignores aliases (except for staff). This is fixable, but not trivial, and I'm not sure it's all that useful.
2016-01-23L10N: Intern all VNDB::Handler::* stuffYorhel1-100/+115
Most of these replacements were automated. This ended up being less work than I had anticipated. I also fixed a few minor bugs along the way, but probably introduced more than I fixed.
2016-01-20L10N: Intern all VNDB::Util::* stuffYorhel1-6/+3
With some related edits in other parts of the code, mostly due to interface changes to htmlRevision() and htmlFormError(). Trivial replacements were automated by a super awesome script.
2016-01-19Move some VNDB::L10N stuff to VNDB::Func + intern VNDB::FuncYorhel1-7/+5
2016-01-17Use Tie::IxHash for some global.pl listsYorhel1-2/+2
This removes the reliance on sort() to provide meaningful ordering (the keys aren't always good for ordering) and removes the 'order' hack used for (vn|prod)_relations.
2016-01-17L10N: Intern tag_cats/voiced/animated/*_statusYorhel1-5/+5
2015-12-30Add release filters to VN browserYorhel1-2/+4
2015-09-20Update usage kv_validate() to upcoming TUWF 1.0Yorhel1-8/+8
And added new 'page' and 'id' templates for more strict validation.
2015-07-21Add profile option for the default spoiler settingYorhel1-6/+4
This fixes the unexpected behaviour that changing the spoiler setting on one page will change it for all pages. All manual spoiler changing options are temporary now.
2015-07-21L10N: Combine spoiler setting stringsYorhel1-3/+3
2015-05-12Handler::Tags: Don't allow adding deleted tags to a VNYorhel1-0/+3
2014-12-01Replace some 'onclick' attributes with JS-generated eventsYorhel1-3/+3
I think this was the last piece of inline JS.
2014-12-01Don't use inline script tag to pass pref_code to JSYorhel1-1/+1
This also simplifies the code a bit, as the value of the preference data was never used so doesn't need to be included now. Primary reason for this change is to work towards disabling inline JS with a CSP header. There's still more stuff to fix before the CSP header can be applied, though.
2012-01-25Do most of the table striping in CSSYorhel1-3/+3
Using CSS3 selectors. This is a more elegant approach, and since browser support for CSS3 selectors isn't as crap as it used to be I can finally make use of them.
2011-08-30Changed "remove"- and "add"-like words to a single lang.txt entryQCyph1-3/+3
2011-03-30Merge branch 'meh' of g.blicky.net:vndb into beta2.19Yorhel1-0/+1
Conflicts: data/lang.txt
2011-03-09Auto-set category when creating new child tagYorhel1-0/+1
2011-02-21chardb: char-by-trait lookup + trait usage count + tag-code sharingYorhel1-8/+8
I'll have to optimize the updating of traits_chars as soon as I have some data to test with. Also renamed tags.c_vns to c_items, to have it share the same name as traits.c_items. This makes it a lot easier to re-use code for both tags and traits, such as what I did with dbTagTree/dbTraitTree -> dbTTTree and the childtags() and parenttags() functions.
2011-02-20L10N: Globalized spoiler levelsYorhel1-1/+1
They're going to be re-used at several more places now.
2011-02-14chardb: Added trait index and searchYorhel1-1/+1
2011-02-13chardb: Added notes file and started implementing the traitsYorhel1-65/+3
2011-02-07Added tooltip to the overruled-exclamation-markYorhel1-1/+1
2011-02-06Added filter selector to tag pages (excl. tags tab)Yorhel1-6/+17
2011-02-05Group tags on /v+/tagmod by their categoryYorhel1-24/+39
2011-02-04Allow setting tag category for all child tags recursivelyYorhel1-0/+28
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)Yorhel1-1/+10
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 undefYorhel1-1/+1
A TUWF change I forgot to check.
2011-01-27TUWF: Added tag name to several end() callsYorhel1-18/+18
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