Age | Commit message (Collapse) | Author | Files | Lines |
|
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).
|
|
Maximum length increased from 64 to 500 characters, and all Unicode
characters are now allowed.
|
|
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
|
|
This would cause other filters to sometimes be ignored, depending on the
order in which the %where hash was being serialized.
https://vndb.org/t11605.3
Broken in 8802eac4f.
|
|
|
|
https://vndb.org/t11605
|
|
|
|
|
|
|
|
Postgres
Update README with basic information on Multi
(cherry picked from commit 01188a82ab736a8975c73ac5ec12621426bf6bf2)
|
|
https://vndb.org/t950.521
|
|
|
|
Broken in 0687115f99
Fixes https://vndb.org/t2520.277
The JS check is based on
https://makandracards.com/makandra/1339-check-whether-an-element-is-visible-or-hidden-with-javascript
|
|
|
|
(cherry picked from commit 6446d7d185543440b97be009fdf2a1f0c379b26f)
|
|
|
|
This is a lazy implementation - it doesn't fully prevent voting on
unreleased VNs, but it makes it much harder to do so by accident.
Fixes #5
|
|
In the special case where the releases of multiple VNs are requested,
and those VNs have releases in common, dbReleaseGet() would return those
releases multiple times. Using a JOIN in order to filter rows isn't safe
if the join condition isn't unique - so use an "id IN(SELECT ..)" filter
instead.
(I found this while editing c15068 and noticing that some releases were
listed twice in the edit form. Editing that entry without manually
removing those duplicates would trigger an internal server error due to
duplicate relations)
|
|
|
|
Fixes #11
|
|
https://vndb.org/t950.517
|
|
https://vndb.org/t950.514
|
|
Compatability is hard...
|
|
filFetchDB() is not used for the release filter on the VN browsing
interface, so I've moved the compatibility stuff into a separate
filCompat() method that can be called from Handler::VNBrowse.
|
|
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.
|
|
https://vndb.org/t950.512
|
|
https://vndb.org/t11296.3
(And I forgot to add update_20180929.sql in the previous commit)
|
|
https://vndb.org/t11296
|
|
https://vndb.org/t950.481
Also, the resolution should really be stored as an ENUM in the database,
this integer thing is waay too fragile.
|
|
This also handles the uppercase İ, as that is already converted to
lowercase ı in an earlier step.
|
|
https://vndb.org/t2520.265 - 270.
|
|
https://vndb.org/t950.456
|
|
|
|
I'm sure this breaks styling of a few things, I'll adjust those as I
find them.
|
|
Icon created by fuukanou: https://vndb.org/t10665.49
File size reduced a bit further by removing metadata and using scour
Closes #3
|
|
|
|
|
|
As discussed in https://vndb.org/t10665
|
|
|
|
https://vndb.org/t950.432
|
|
https://vndb.org/t2520.259
|
|
https://vndb.org/t3599.201
|
|
If you don't really care about the data in your Docker's Postgres DB,
then you can just update with:
docker volume rm vndb-data
docker volume create --name vndb-data
docker build --pull --no-cache -t vndb .
If you do want to keep your data, the process is roughly as follows:
- Do a pg_dumpall from your current docker image to save the data.
- Run the above commands to upgrade
- Import the database in the new docker image
(cherry picked from commit c278eec720b78624580f844d8289ddb575035138)
|
|
https://vndb.org/t10472
|
|
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.
|
|
https://vndb.org/t950.416
|
|
output
|
|
Fixes https://vndb.org/t2520.250
|
|
|
|
|