summaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
2019-09-16CSS: Increase font size a bit (again)Yorhel1-29/+29
Last time was a year ago: 14517ba2caaef7146044454b6dd2ce00e809261a
2019-09-14CSS: Fix wrapping of some columns in release listingsYorhel1-6/+6
2019-09-12Add VNDB::Config module and unified conf.pl config fileYorhel4-174/+41
This gets rid of global.pl, config.pl and config3.pl and uses the cleaner config3.pl format for the config file. The config is easily accessible from anywhere by importing the new VNDB::Config module; The global $VNDB::S,O,M,ROOT variables have been removed. Sorry for all the churn...
2019-09-12VNDB::Types: Convert medium & resolutionYorhel1-34/+0
2019-09-12VNDB::Types: Convert age_rating and release_typeYorhel1-2/+0
2019-09-12VNDB::Types: Convert animated & voicedYorhel1-5/+0
2019-09-12VNDB::Types: Convert discussion_boards to %BOARD_TYPEYorhel1-12/+0
2019-09-12VNDB::Types: Convert producer_typesYorhel1-5/+0
2019-09-11VNDB::Types: Convert vn_lengths, anime_types and tag_categoriesYorhel1-23/+0
2019-09-11VNDB::Types: Convert char_roles, blood_types and gendersYorhel1-8/+0
2019-09-11VNDB::Types: Convert (wishlist|rlist|vnlist)_statusYorhel2-7/+4
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 vn_relations and prod_relationsYorhel1-23/+0
2019-09-11VNDB::Types: Convert platforms into %PLATFORMYorhel1-40/+0
2019-09-11VNDB::Types: Convert languages into %LANGUAGEYorhel1-36/+0
2019-09-11VNDB::Types: Convert staff_roles into %CREDIT_TYPEYorhel3-11/+2
Part one in converting data/global.pl lists into a separate VNDB::Types module. This is basically what I had started with VN3::Types, but it looks like a gradual rewrite/cleanup may be more successful. At least it'll be more useful on the short term.
2019-09-11Cleanup + simplify setup instructions in READMEYorhel1-19/+0
2019-09-09spritegen.pl: Move compression to "make prod"Yorhel1-7/+0
I think this is the last one. 'make' in a development environment is now beautifully fast and 'make prod' generates nicely small assets. (arguably we could have an even faster dev setup by not generating an icons.png in the first place, but then we'd need more code to differentiate between dev & prod, which is also a pain) This change does remove the "slow" option that would use the compressed image size in the optimization algorithm, but I hadn't used that option for a while anyway, it takes an hour and only saves about 100 bytes.
2019-09-09JS/Build: Move minification and compression to "make prod"Yorhel1-7/+0
Similar to previous commit.
2019-09-09CSS/Build: Move minification and compression to "make prod"Yorhel1-1/+1
This rather significantly speeds up development builds. Also simplifies skingen.pl and its config a bit. The new compressed files are written to /s/*/style.min.css{,.gz}, it is up to the web server to serve those instead of /s/*/style.css.
2019-09-09CSS: Get rid of boxbg.png and Image::Magick dep in skingen.plYorhel1-20/+20
Should improve page loading time, reduce server load and speed up CSS generation by a totally insignificant amount. I did run into some trouble with the removal of boxbg.png, because apparently there was something magical about that image that made browsers render it in a different color than the one specified upon creation. I've adjusted the boxbg color of the 'angel' skin accordingly, but other skins may also have a slight color difference with this change. Some details are at http://s.blicky.net/19/colortest.html
2019-09-03Remove old notes, these are not updated and thus not usefulYorhel8-1076/+0
They're interesting from a historical perspective, but that's what a git history is for. They're no substitute for actual documentation.
2019-08-26Add release links dropdown to VN pagesYorhel2-0/+21
As suggested in https://vndb.org/t12755.15 - although this implementation is a little bit quirky.
2019-08-26Display shop+price info on VN pages + delete old affiliate codeYorhel3-23/+2
The current affiliate links format doesn't display as much information as before but it's also a lot less messy.
2019-08-26Display PlayAsia links on release pages + use crawled info to correct shop linksYorhel1-3/+4
2019-08-24Add DenpaSoft price info crawlerYorhel1-0/+1
2019-08-24Add MangaGamer price info crawlerYorhel1-0/+1
2019-08-24Add J-List price info crawlerYorhel1-0/+1
2019-08-21Make some shop URLs configurableYorhel1-0/+5
This allows for easy insertion of affiliate referral tag.
2019-08-15Add engine autocompletion to release filtersYorhel1-1/+15
2019-08-09Replace Wikipedia links with Wikidata IDsYorhel1-0/+1
+ Automatically fetch other links from Wikidata
2019-07-25Merge the v3 branch into separate namespace + fix Docker stuff (again)Yorhel1-0/+26
I was getting tired of having to keep two branches up-to-date with the latest developments, so decided to throw v3 into the same branch - just different files (...which will get mostly rewritten again soon). The two versions aren't very different in terms of dependencies, build system and support code, so they can now properly share files. Added a section to the README to avoid confusion. This merge also makes it easier to quickly switch between the different versions, which is handy for development. It's even possible to run both at the same time, but my scripts use the same port so that needs a workaround. And it's amazing how often I break the Docker scripts.
2019-07-22Move votes/traits/tags exports to dbdump.pl; Get rid of Multi::APIDumpYorhel1-1/+0
This provides more control over when the dumps are being made and makes it easier to generate quick dumps for debugging.
2019-07-20d17 now includes some licensing stuffYorhel1-1/+1
2019-07-17Docker: Store Postgres DB in data/ + simplify the setup a bitYorhel1-1/+1
I initially wanted to move the static/.. files onto the Docker volume, so that all dynamic site data is stored in a single place. But that turned out to be impossible to do without some really ugly hacks. So instead I went with the opposite approach: get rid of the 'vndb-data' volume and instead store everything in the source directory. This also requires running PostgreSQL as the 'devuser', but that's fine for a development setup. All of this makes it more obvious what is going on and simplifies the init script.
2019-07-15Add engine field to releasesYorhel3-1/+42
Fixes #4.
2019-07-15Increase maximum number of tags/traits/producers/staff in filtersYorhel1-3/+3
Fixes https://vndb.org/t12602.20
2019-07-14iv.js: Fix closing of overlay when clicking on it or the resolution linkYorhel1-1/+1
2019-07-13iv.js improvements: Close window when clicking on page + arrow key supportYorhel1-1/+15
This is some ugly JS, but it'll do.
2019-07-08Add Producer/Staff/Seiyuu filters to Release/VN/Char filtersYorhel1-36/+97
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-06-28VNBrowse: Add character filtersYorhel1-2/+4
This is a bit experimental, not sure how the performance is going to be.
2019-06-26Traits: Split "meta" field into "searchable" and "applicable"Yorhel1-3/+3
2019-06-26Tags: Split "meta" field into "searchable" and "applicable"Yorhel2-8/+8
As discussed in https://vndb.org/t12507 TODO: - Same conversion for traits - Re-add mod ability to delete all votes for a particular tag?
2019-06-21JS: Fix charops throwing an exception when there is no spoiler radio thingYorhel1-0/+5
Fixes https://vndb.org/t12492.1
2019-06-21CSS-based character descriptionszx142-23/+42
Squashed commit of the following: commit bfc1de9f73f93981445b3451ba6087ef1de9ce36 Author: zx14 <zx14@vndb.org> Date: Thu Jun 20 20:19:39 2019 +0659 Fix issues, pointed out in https://code.blicky.net/yorhel/vndb/pulls/24 commit c2b250b24e87d1b5c9589770fcff65f848f2e8f0 Author: zx14 <zx14@vndb.org> Date: Sat Jun 15 22:27:21 2019 +0659 CSS-based character descriptions
2019-06-19Add Greek & Esperanto languagesYorhel3-0/+2
2019-05-16Add password dictionary checkYorhel1-0/+3
This affects the following: - API login with a weak password is disallowed, affected users will have to change their password through the website to continue using the API. - Registration, password reset or password change forms require the new password to not be in the dictionary. - Attempting to log in to the website with a weak password will force-redirect to a password change form, allowing a new password to be set (using the weak-but-still-valid password as check).
2018-12-06js/filters: Fix hidden tag/trait selection on tab switchYorhel1-0/+1
This code is a horrible piece of shit. I can't tell if I broke something else with this change. Testing seems to suggest it's okay. https://vndb.org/t2520.281
2018-11-07Fix "make" after removal of tagops.jsYorhel1-1/+0
2018-11-04Remove JS fallback for VN tagszx141-58/+0
2018-11-04JS-less tag visibility toggleszx142-21/+34