summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Releases.pm
AgeCommit message (Collapse)AuthorFilesLines
2021-01-20v2rw: Rewrite done, time to clean up old v2 codeYorhel1-160/+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-10v2rw: Convert /r/engines (+ make it link to new AdvSearch system)Yorhel1-30/+0
2021-01-10AdvSearch: Time to put this live.2.29Yorhel1-4/+5
Moved old release browser, VN browser and tag pages to /old/, moved /experimental/ pages to /, removed warnings and updated some references.
2020-07-21Delete old producer edit form + a few more cleanupsYorhel1-25/+0
2020-05-28Drop ReleaseExtLinks.elm in favor of pure CSS solutionYorhel1-30/+0
It's the only Elm module used on VN pages for not-logged-in visitors, so doing this in CSS makes it possible to not load an Elm bundle on those pages (when I get to splitting up the JS files). This solution also simplifies code reuse with the producer pages, but a v2rw migration of that page would have taken care of that as well.
2020-03-22Delete old release edit formYorhel1-321/+0
So that I can now work on adding a few more fields.
2020-02-28v2rw/RelEdit: Allow creating a new releaseYorhel1-1/+1
Not totally super happy with this solution; I'd rather automatically create an empty entry and send that to 'RelEdit.Main', but initializing all fields in Perl is tricky. At least in Elm we get some sort of type checking (though Elm can't tell whether the default value makes sense) and doing this in Elm makes it possible to initialize to something invalid that the user has to change (not currently done yet). It's messy either way.
2020-02-21v2rw/WIP: Incremental rewrite of the release edit formYorhel1-2/+2
The new form does change a few things to the UI, so I'll keep the old form around for a while so that people have something to fallback to when it doesn't work (like, right now). I'm also doing this rewrite in multiple commits as it's a pretty large change.
2020-01-23v2rw: Convert release pagesYorhel1-282/+1
This removes the user list management functionality, I'll reimplement those in a bit.
2019-11-12v2rw: Move entryLinks() into separate VNDB::ExtLinks moduleYorhel1-10/+10
This is yak shaving. The new module doesn't have much value as it is, apart from having a central place to define link formats. This new enrich_extlinks() approach is also a bit more efficient in that it can avoid separate SQL queries for multiple objects. But the real reason for these changes is that I can use that %LINKS hash table to automatically generate the links part in the edit summary and it should (hopefully) also be useful to generate a more convenient/streamlined Elm edit form.
2019-10-14Add lang HTML attribute to some original language fieldsYorhel1-3/+3
The database doesn't have a language attribute for every field, so this is more of a best-effort heuristic. The attribute should allow browsers to choose the correct font. https://vndb.org/t2520.300
2019-10-13Sort languages by name rather than tagYorhel1-2/+2
https://vndb.org/t950.634
2019-09-16Fix#2 dropdown search for engine autocompletionYorhel1-1/+1
Turns out dropdownsearch.js can't handle the '0' id.
2019-09-16Fix dropdown search for engine autocompletionYorhel1-2/+2
https://vndb.org/t12613.41
2019-09-12VNDB::Types: Convert medium & resolutionYorhel1-5/+5
2019-09-12VNDB::Types: Convert age_rating and release_typeYorhel1-8/+8
2019-09-12VNDB::Types: Convert animated & voicedYorhel1-12/+12
2019-09-11VNDB::Types: Convert (wishlist|rlist|vnlist)_statusYorhel1-3/+3
I did create a function to export arrays, but ended up exporting them as hashes. That ought to simplify a conversion to an enum type. Which will likely never happen because I'd rather switch to dynamic user-defined statuses, but that's quite a step further...
2019-09-11VNDB::Types: Convert platforms into %PLATFORMYorhel1-9/+9
2019-09-11VNDB::Types: Convert languages into %LANGUAGEYorhel1-7/+8
2019-09-02Allow multiple Gyutto & DMM links per releaseYorhel1-9/+21
To handle https://vndb.org/t12755.37
2019-09-01Add ErogeTrailers.com links to releasesYorhel1-2/+5
2019-09-01Add EGS links to releasesYorhel1-4/+7
2019-08-29Handler::Releases: Reset some fields when copying a release entryYorhel1-3/+6
https://vndb.org/t12755.31
2019-08-27Also display release link dropdown on producer pagesYorhel1-0/+30
https://vndb.org/t12755.28
2019-08-26Display PlayAsia links on release pages + use crawled info to correct shop linksYorhel1-6/+6
2019-08-22Add JAST USA links to releasesYorhel1-2/+5
2019-08-22Reset "original" field if it is the same as "title" or "name"Yorhel1-0/+1
A rather common mistake made by people who don't read.
2019-08-21Remove protocol from l_dmm linksYorhel1-5/+2
It's redundant, and normalization is actually easier when removed.
2019-08-21Add Itch.io links to releasesYorhel1-2/+6
2019-08-21Make some shop URLs configurableYorhel1-5/+5
This allows for easy insertion of affiliate referral tag.
2019-08-21Add DMM links to releasesYorhel1-3/+11
Full URL, because DMM has too many little sub-shops, and handling them all is a pain. I assume for now that a release is only in a single DMM shop.
2019-08-19Add Getchu links to releasesYorhel1-2/+8
2019-08-19Add Mangagamer.com links to releasesYorhel1-2/+6
MG has an all-ages section at / and an adult section at /r18/, but the adult section includes everything, so we'll just link to that. Maybe I'll write a bot that figures out the correct link, but it's not something we have to bother our users with.
2019-08-19Add Melonbooks.com links to releases + minor edit form reorgYorhel1-10/+16
2019-08-19Add Digiket.com links to releasesYorhel1-2/+7
2019-08-19Add Gyutto.com links to releasesYorhel1-2/+5
2019-08-17Add J-List links to releasesYorhel1-2/+5
2019-08-17Add Denpasoft links to releasesYorhel1-2/+5
2019-08-17Add GOG.com links to releasesYorhel1-2/+5
2019-08-17Add DLSite links to releasesYorhel1-2/+8
2019-08-16Add Steam links to releasesYorhel1-4/+11
2019-08-15Add engine autocompletion to release filtersYorhel1-0/+24
2019-07-16Handler::Releases: Fix doc linkYorhel1-1/+1
2019-07-16Releases: Add engine link + listYorhel1-1/+31
2019-07-16Handler::Releases: Fix undefined value warning when adding a new releaseYorhel1-2/+2
2019-07-15Add engine field to releasesYorhel1-4/+29
Fixes #4.
2018-10-02DB: Convert resolution into an enumYorhel1-8/+7
Been wanting to do this for a long time - using an integer index into an array that changes once in a while is way too fragile. Doubly so when said indices are also used in filters and URLs that can't be updated every time a new resolution is added.
2018-05-25Add uncensored flag to release entriesYorhel1-4/+15
As discussed in https://vndb.org/t10665
2018-04-08Char edit: Display linked VNs even if VN & releases have been deletedYorhel1-15/+6
There's still a glitch that, when a character is linked to a deleted release, the release selection will not show up in the form. But that's much easier to work around.