summaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
2022-10-08API2: Add logging and slightly improved error messagesYorhel1-1/+1
2022-10-08API2: Add VN search filter + fix bug with leaking columns of null objectsYorhel1-2/+3
2022-10-08API2: Initial experimentsYorhel1-0/+444
It's looking pretty powerful and functional already.
2022-10-04Better Finnish flagYorhel1-0/+0
https://vndb.org/t950.1388
2022-08-28Add Basque languageYorhel1-0/+0
2022-04-23Add Inuktitut languageYorhel1-0/+0
2022-02-12Add Traditional & Simplified Chinese languagesYorhel2-0/+0
The old 'Chinese' option should not be available for selection in new entries, but I'll have to fix that later.
2021-06-22Add Hindu & Urdu languagesYorhel2-0/+0
2021-05-05Add Latin languageYorhel1-0/+0
Fixes https://vndb.org/t8242.530
2021-04-23Remove alpha channel from language icons; use CSS opacity insteadYorhel35-0/+0
I originally created the language flags with a 50% alpha channel so they wouldn't stand out too much (they're *really* bright at full opacity), but I had forgotten to do that with recently added icons so it became somewhat inconsistent. Doing this in CSS has the additional advantage that I can now restore the brightness in certain cases (for "bold" language icons, handy if mouse-hovering them may do something). (Indicentally, this also makes icons.opt.png 100 bytes smaller. Not like it matters much as I had originally planned to replace the language flags with SVGs and make everything much less efficient, but I can't make icons that render well at such a small size so I suppose we won't be getting rid of PNG icons for a while)
2021-04-20Icons: Replace feed icon with SVGYorhel1-0/+0
Removing old PNG icons, one by one.
2021-03-06SVG platform iconsYorhel36-0/+0
Still kind of experimental, let's see how people react. Icons contributed by eacil. Some are colored versions based on the SVG icons contributed by xy2, some are vectorized versions of old icons. These retain much of the legibility of the old png icons by virtue of not being monochrome. At least for the dark skins. I may experiment later to see if the monochrome icons may be a solution for light skins, now that I have the infrastructure in place anyway. Not sure I really want to maintain two icon sets, though. I used scour to optimize the SVGs for size, but they're still rather less efficient than the combined PNG sprites. Maybe I'll use an SVG merge trick later, but that tends to be less widely supported among browsers. Closes #30.
2021-01-20v2rw: Rewrite done, time to clean up old v2 codeYorhel7-1349/+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-17Add Irish languageYorhel1-0/+0
2021-01-17Use SASS for CSS + static asset reoganizationYorhel1-1261/+0
Had been planning to use a more powerful preprocessor for CSS for a while, so that I can also reorganize and clean up the CSS a bit. The cleanup will come later, this is the first step to reorganize the build system a bit and remove skingen.pl. I moved all generated static assets to static/g/ (for _g_enerated), including icons.png and js files. This simplifies management of static/f/ and static/s/, which are fully in git. Skins are now defined as sass files in css/skins/ with their images in static/s/ using plain directory structure.
2021-01-03AdvSearch: Add feature to save/load/delete queriesYorhel1-2/+5
2020-12-05CSS/homepage: Another attempt to make the link-hover underline show upYorhel1-2/+2
For some reason it wouldn't always show up with a 1px padding.
2020-12-04Minor styling/layout changesYorhel1-1/+2
- Homepage: Add a little margin below the box headers - VN pages / User stats: Add extra row to recent votes if there's no link to reviews. - VN pages / Staff: Fix underlining of links on mouse-over.
2020-12-03CSS/homepage: Fix underlining on mouse-hover linksYorhel1-1/+1
2020-12-03CSS/homepage: Use CSS overflow to cut off long titles rather than on the serverYorhel1-0/+4
Much cleaner. Downside is that with long usernames and small browsers widths the main title might get cut off. Think it's better to work around that by relayouting the boxes.
2020-12-03CSS/vnpage: Fix odd scrollbar showing up in ChromeYorhel1-1/+1
https://vndb.org/t2520.516
2020-12-03CSS: Use flexbox/div layout for tag/trait indicesYorhel1-3/+1
Instead of the old table. Fixes the problem of the boxes not correctly using the full width of the page.
2020-12-03Homepage: Merge & relayout some boxesYorhel1-9/+15
This change is likely to be a bit controversial, but I tried to keep the links and boxes at roughly the same location: VNDB discussions where the announcements used to be, VN discussions where the posts used to be and latest reviews on the lower left. The "Random VNs" box is gone, despite the negative feedback from last time I removed it. It really is superfluous with the screenshots and random VN button in the menu And switch to CSS flexbox to layout the boxes, because for some reason these changes triggered the not-full-width bug that also occurs on the tags/traits indices.
2020-12-03CSS/vnpage: Fix overflow of long names in character summaryYorhel1-3/+3
Fixes https://vndb.org/t2520.513
2020-12-01AdvSearch/css: Fix minor alignment issue with parent filtersYorhel1-2/+2
2020-11-30VN::List: Add first character selection buttonsYorhel1-6/+7
Honestly, I'd much rather see that feature go, but people will complain.
2020-11-30AdvSearch: Fix wrapping of "simple" subquery rowsYorhel1-1/+3
Making sure that the filters wrap indented below the query type and and/or selection button.
2020-11-29AdvSearch: Draw some lines + move [+] button againYorhel1-1/+11
It's still more intuitive to have the [+] button placed where the new filters will actually be added, I guess. This lines should make it much clearer what the full and/or structure looks like. The implementation is terrible and really should not work as well as it does.
2020-11-28AdvSearch: Add release resolution filterYorhel1-1/+1
Pretty much as described in https://vndb.org/t14995.2 Still needs autocompletion and autofocus.
2020-11-27AdvSearch: Reorganize nested filtersYorhel1-6/+8
Hopefully it's more intuitive this way, though to be honest I'm not exactly sure it is. The switch between compact mode and expanded nesting mode can be a bit surprising. In terms of code organization, I added the and/or selection to the same nesting node that handles the type difference. This provides better control over how the queries are displayed, but removes the ability to move the "and/or" itself into a parent node. Can be reimplemented if useful.
2020-11-16VN::Page/tags: A few styling improvementsYorhel1-0/+4
Based on https://vndb.org/t950.843
2020-11-15VN::Page: Experiment with a tag tree tabYorhel1-0/+11
2020-11-15Advsearch: Add release date filterYorhel1-1/+2
This required some changes to the query model and encoded form, since it doing this with only <= and => operators is too limited. I changed the compact encoding of strings to only encode the length in the type field for specific (common) lengths and fallback to an end-of-string character for everything else. This leaves room for more custom types.
2020-11-10Add Persian languageYorhel1-0/+0
https://vndb.org/t950.821 Flag is based on https://commons.wikimedia.org/wiki/File:Farsi.svg with a light green brackground.
2020-11-07AdvSearch: Add developer filterYorhel1-1/+1
First attempt to add filters that reference database entries. Will need to be refined.
2020-11-04AdvSearch: Add buttons to delete & move fields into or out of a parentYorhel1-1/+4
Still feels kind of awkward, but it'll have to do for now.
2020-11-02Advsearch: Add dropdown to change nesting type + styling fixesYorhel1-4/+6
NOW we're really getting somewhere!
2020-11-02AdvSearch: Add function to add new fields + display nested queriesYorhel1-0/+3
Styling is still a mess, but feature-wise it's starting to look like something.
2020-11-01Advsearch: Change model to be suitable for advanced searchYorhel1-3/+3
Turns out my initial idea with a seperate FQuery type wasn't going to work out all that well, and it's easier to handle this by treating nested And/Or queries as just another field. The nested field type is going to be responsible for some extra tasks. Also added a global 'Data' type to pass around in various functions. This would be needed at some point anyway, but now that nested fields can create/manage subfields, we'll need to be able pass around the global object identifiers thing already. And while I was fixing this model, I had a brilliant idea regarding the UI. I was originally planning an explicit split between "quick selection mode" and "advanced search mode", where you could only build nested queries in the latter. But it's actually pretty trivial to make the advanced search mode look like the quick selection mode in the simple case. Buttons to change nesting type and to add more fields will result in a mode natural flow between the two modes. I've not implemented the UI for that yet, though. ...to be continued
2020-10-31Advsearch: Minor UI tweaksYorhel1-4/+4
2020-10-30Advsearch: Attempt to make language filter more intuitiveYorhel1-2/+5
Add title/description to the dropdown header, so people know what they're searching for. Rename 'and/or' to 'all/any' (not sure if that's an improvement, though) and try to fully display all options and languages in the tiny little dropdown box. Also, proper use of mathematical symbols. \o/
2020-10-28Fix Autocomplete dropdown stylingYorhel1-1/+1
Broken in 960946ac90a8da32953a4a21128d993f2049f8d1 https://vndb.org/t2520.506
2020-10-28Advsearch: Abstract a bit for Set-type filters + improve UIYorhel1-0/+2
2020-10-28Advsearch: Initial experiments with a new advanced searchYorhel1-10/+21
Doing this on the main branch to make it easier to get early testing and feedback. Not like I have anything worth testing now, but it's not like this code is getting in the way of anything else. (Unless the changes broke something unrelated, in which case it's extra good to get that early testing)
2020-10-16v2rw: Convert producers listing & searchYorhel1-2/+1
Now featuring full pagination & flexible columns.
2020-10-15reviews: Allow anonymous voting + display overrule countingYorhel1-1/+1
Anonymous votes count for 0.01, regular votes for 1 and overrule votes for 1000. It's a bit crude, but ought to do the job. Reason for this change is that most reviews don't seem to get any votes at all. With this anonymous voting we can do some sort of scoring/ordering even with potentially less reliable votes.
2020-10-08notifications: Add subscription management UI + finalize DB migrationYorhel1-5/+18
Seems to be working so far. I'll find the actual bugs in production.
2020-09-29v2rw/Tag::List: Re-use tag listing to implement trait listingYorhel1-5/+0
Duplicating that code was really too much, the listings are way too similar.
2020-09-27v2rw/Tags::List: Re-implement & improve the tag listYorhel1-2/+9
Now supports full pagination, displaying & sorting on VN count and displaying & filtering the searchable and applicable flags.
2020-09-22CSS: Make review boxes look less messy + make better use of spaceYorhel1-3/+2