summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-11-10ulist: Inline assigning labels to VNsYorhel6-17/+191
I'm really unhappy with the workarounds to deal with the global onClick subscription doing the right thing, but I wasn't able to find a good alternative.
2019-11-10ulist: Inline editable votesYorhel9-11/+149
2019-11-10ulist: Add some styling, sorting and a framework for extended info/optionsYorhel3-34/+102
2019-11-10ulist: Use lower numbers for custom labels + add VN listingYorhel3-96/+157
2019-11-10ulist: Add data model for new lists + Perl/Elm for label managementYorhel8-4/+403
Very much experimental. I'm not sure this is even the right model.
2019-11-10CSS: Fix weird mainbox sizing when hovering maintabs on history browserYorhel1-1/+1
I really need to rewrite that maintabs CSS to be less magical, because just setting 'overflow:hidden' on the mainbox below it causes weird behavior. Setting a width seems to kind of magically work around the problem. Found by experimentation. I have no idea what I'm doing.
2019-11-10CSS: Fix table overflow of history browserYorhel2-2/+3
Solution suggested by Wolf480pl - http://s.blicky.net/19/table.html
2019-11-09CSS: More flexible column sizing for history tablesYorhel1-5/+3
https://vndb.org/t2520.314
2019-11-09BBCode: Fix resolving of staff aliasesYorhel1-1/+1
2019-11-08Wikidata: Add support for doujinshi.org author linksYorhel4-1/+6
2019-11-02Add character age field + conversionYorhel4-12/+44
2019-11-02Add character cup size field + conversion + filterYorhel8-14/+101
2019-10-31Footer: Shorten version string + move source URLYorhel2-5/+4
2019-10-30v2rw: Convert /u+/postsYorhel2-69/+72
Simple conversion, no real changes other than that the new version has full pagination.
2019-10-26Fix Wikipedia URLs with a question markYorhel1-2/+2
https://vndb.org/t2520.307
2019-10-23Also update README with the new Elm version requirementYorhel1-1/+1
2019-10-23Update to Elm 0.19.1Yorhel4-21/+26
This version requires that all .elm files given to 'elm make' export a 'main' function, so we can't pass internal libraries anymore. I didn't feel like maintaining a separate list of entrypoints, lazy workaround: grep for elm files with a definition of 'main'.
2019-10-22Fix CSS for staff & cast editingYorhel1-1/+1
Accidentally broken in 678f511619708ba893cb2414eead90cdae685708
2019-10-22"nofancy" option also removes the star next to "My Profile"Yorhel1-1/+1
2019-10-21Elm: Add text preview framework + BBCode preview in formsYorhel6-51/+135
2019-10-20CSS: Give more room for the number in poll barsYorhel1-1/+1
2019-10-20Add some common engines to the common engine listYorhel1-0/+4
2019-10-19VNWeb::History: Use unicode ✓ and ✗ to indicate filter selection + turn ↵Yorhel2-20/+20
booleans into plain checkboxes I kept forgetting which color meant what, these glyphs ought to make that more clear without going back to the uglyness of unstyled form elements.
2019-10-18CSS: Increase space in forums for long usernameYorhel1-1/+1
2019-10-18User::Edit: Throw 404 if user does not existYorhel1-1/+1
2019-10-17Fix the devdumpYorhel1-2/+2
2019-10-16Fix editing of staff entries without WikidataYorhel3-7/+9
And I can't say the wikidata field is all that intuitive to edit. Need to look at it later...
2019-10-16v2rw: Convert staff adding/editing formYorhel18-372/+596
This is the first major editing form to be converted, so I'm expecting a little breakage. A good chunk of this code has been copied from v3. In terms of the UI there has been a small change: aliases that are still referenced do not have the 'remove' link and instead have a flag that shows that they are still referenced. This ought to be a bit friendlier than throwing an error message after the user has submitted the form. Some other things I'd like to improve in this form: - BBCode preview - Pasting in external links and letting the form figure out the Pixiv ID, etc. - Or perhaps even: Integrate AniDB/Wikidata search/autocompletion.
2019-10-16Display star next to 'My profile' link when supporter options are availableYorhel2-2/+3
It's not very obvious when a users' account has been linked, and it wasn't clear to some that the rewards need to be enabled manually. Hopefully this clears up both.
2019-10-16HTML: Make "noindex" the defaultYorhel12-14/+14
Adding 'index => 0' to all pages is error-prone, and the majority of the pages aren't indexed. Requiring an 'index => 1' for pages that may be indexed is less work and a safer solution. (Doesn't affect the v2 codebase, which still requires an explicit 'noindex => 1')
2019-10-14v2rw: Convert user listingYorhel9-145/+153
2019-10-14Delete the user deletion featureYorhel4-59/+1
It's rather much code just to run a single SQL statement that I almost never need. Incidentally, the feature was also broken because the DELETE permission wasn't granted in perms.sql.
2019-10-14User::PassSet: Show a CSRF error when the reset token is invalidYorhel1-1/+4
2019-10-14Fix fetching of c_olang for revision pagesYorhel1-1/+1
2019-10-14Add lang HTML attribute to some original language fieldsYorhel6-10/+24
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 tagYorhel4-5/+5
https://vndb.org/t950.634
2019-10-13Fix 500 when posting notification form with empty selectionYorhel1-1/+1
Broken in 0be1aa6acb62c13b4bcb4bd52a9c76df5f248e45
2019-10-12Revert username capitalization in main menu and user pageYorhel2-4/+5
2019-10-12rewards: Fix applying the public skin even when disabledYorhel4-5/+6
2019-10-12v2rw: Convert user notifications interface (/u+/notifies)Yorhel7-240/+193
2019-10-12DB: Add sql_identifier() for safer and cleaner dynamic queriesYorhel1-10/+17
2019-10-12Add Patreon link to main menu + minor fixesYorhel5-3/+12
2019-10-11Two rewards-related bug fixesYorhel2-3/+3
2019-10-10rewards: Honor public custom css/skinYorhel7-17/+22
2019-10-10rewards: Apply supporters badge and unicode name (almost) everywhereYorhel27-148/+136
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-10rewards: Add user settingsYorhel5-25/+90
They don't do anything yet.
2019-10-10Fix noinxed tag on non-v2rw pagesYorhel1-0/+1
2019-10-07API: Add wikidata and pixiv linksYorhel1-5/+12
2019-10-07Tag/trait pages: Removed cache info line, it is not accurate anymoreYorhel2-3/+6
2019-10-07SQL: Improve performance of update_vnpopularity()Yorhel1-15/+12
Goes from 1.5 minutes to 1.5 seconds. Temporary views instead of CTEs and self-joins instead of window functions. That code was *old*.