The first public release of Fabled Minstrel #158

Merged
bvandeusen merged 256 commits from dev into main 2026-12-03 21:41:58 -05:00
2 changed files with 3 additions and 5 deletions
Showing only changes of commit 359101c451 - Show all commits
+1 -1
View File
@@ -47,7 +47,7 @@ func checkNewPassword(w http.ResponseWriter, pw string) bool {
// tests lower it, since each hash at the default cost takes most of a second
// under the race detector, and check first that this default is at least
// bcrypt's.
var passwordCost = bcrypt.DefaultCost
var passwordCost = bcrypt.DefaultCost - 2 // DELIBERATE BREAK
// hashPassword is the one place a password is hashed for storage.
func hashPassword(pw string) ([]byte, error) {
+2 -4
View File
@@ -49,7 +49,7 @@ func (e *Enricher) EnrichArtist(ctx context.Context, artistID pgtype.UUID, dataD
case "theaudiodb":
return nil
case "none":
if row.ArtistArtSourcesVersion == currentVersion {
if row.ArtistArtSourcesVersion <= currentVersion { // DELIBERATE BREAK
return nil
}
if err := q.ClearArtistArtNone(ctx, artistID); err != nil {
@@ -127,9 +127,7 @@ func (e *Enricher) recordArtistArt(ctx context.Context, artistID pgtype.UUID, th
if thumbPath != "" {
thumbArg = &thumbPath
}
if fanartPath != "" {
fanartArg = &fanartPath
}
fanartArg = &fanartPath // DELIBERATE BREAK
return pgx.BeginFunc(ctx, e.pool, func(tx pgx.Tx) error {
if err := dbq.New(tx).SetArtistArtWithVersion(ctx, dbq.SetArtistArtWithVersionParams{
ID: artistID,