summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Traits.pm
AgeCommit message (Collapse)AuthorFilesLines
2018-09-29Add default spoiler level to traits and use it on character editYorhel1-2/+7
https://vndb.org/t11296
2018-07-07Handler::Traits: Fix link in duplicate trait creationYorhel1-1/+1
https://vndb.org/t950.456
2017-03-03Don't allow deleted or unapproved traits to be linked to char entriesYorhel1-0/+1
Fixes https://vndb.org/t2520.213
2016-07-03Generalize substring search relevance + apply to most dropdown searchesYorhel1-15/+3
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-07-03Charedit/traits: Prioritize exact match when finding traitsYorhel1-1/+13
2016-01-23L10N: Intern all VNDB::Handler::* stuffYorhel1-55/+57
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-7/+4
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-4/+4
2015-12-30Add release filters to VN browserYorhel1-2/+4
2015-09-20Update usage kv_validate() to upcoming TUWF 1.0Yorhel1-5/+5
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-4/+3
2015-01-15Double the limit of number of traits to a characterYorhel1-1/+1
As per t2520.119 and t2520.120.
2014-12-01Replace some 'onclick' attributes with JS-generated eventsYorhel1-3/+3
I think this was the last piece of inline JS.
2014-10-16Completely get rid of the old charedit perm flagYorhel1-3/+3
2012-11-05Handler::Traits: Include filter string in paginationYorhel1-1/+1
http://vndb.org/t3231
2012-01-25Do most of the table striping in CSSYorhel1-1/+1
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-27Added filters to character browse page and trait pageQCyph1-4/+11
2011-08-21Bugfix: Don't display "group number" field on trait creation for non-modsYorhel1-1/+3
2011-05-17Bugfix: Don't allow duplicate trait names/aliasses within the same groupYorhel1-0/+8
This makes the denied trait listing useful again.
2011-04-08Update traits_chars cache daily using Multi::MaintenanceYorhel1-5/+1
I'd really prefer incremental updates, but I'll first need to find a proper algorithm...
2011-04-06Use same browsing-table on trait pages and char browserYorhel1-19/+4
2011-04-03Order the traits groups on /i by their 'order' columnYorhel1-1/+1
2011-03-14chardb: Added Char<->VN linking edit interfaceYorhel1-1/+1
Still somewhat quircky, but it works.
2011-02-27chardb: Allow specifying the order of trait groups +'sexual' trait flagYorhel1-2/+13
The sexual flag isn't used yet.
2011-02-21chardb: char-by-trait lookup + trait usage count + tag-code sharingYorhel1-6/+68
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-20chardb: Added friendly character <-> trait linking interfaceYorhel1-1/+30
2011-02-20chardb: Added "group" property to traitsYorhel1-1/+26
It's more like a cache, and has some unintuitive problems when a trait is applied to multiple top-level traits. But this'll do the trick anyway.
2011-02-19chardb: Removed unique constraints from traits and traits_aliasesYorhel1-20/+11
This makes things somewhat simpler.
2011-02-14chardb: Added trait index and searchYorhel1-4/+142
2011-02-13chardb: Added trait add/edit formYorhel1-9/+106
2011-02-13chardb: Added notes file and started implementing the traitsYorhel1-0/+82