v26.05.27.0: PostCard redesign + IR-style tag suffix + drop meta/rating + extension v1.0.4 CSP fix #28
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Five themes accumulated on dev since v26.05.26.5:
PostCard redesign — container-query responsive layout, full-post
PostModal(Patreon-style, stays in-curator), masonryPostImageGrid, empty-thumb placeholder, PiniapostModal.jsstore, modal store extended for post-scoped image cycling,htmlSanitizewhitelist util for description rendering.ArtistPostsTabwidened to 1600px.get_postreturns uncapped thumbnails for the modal grid.IR-style tag-suffix input —
TagAutocompletedrops the kind dropdown; newparse_kind_prefixutil atbackend/app/utils/tag_prefix.pymirrors IR's pattern (KNOWN_KINDS =character,fandom,series);POST /api/tagsacceptsnamewithoutkindand parses prefix at the boundary; explicitkindalways wins.Drop
meta+ratingtag kinds — alembic 0023 deletes existing meta/rating rows (CASCADE clears related image_tag/alias/allowlist/suggestion_rejection/reference_embedding/series_page) and recreates thetag_kindENUM without them. Drop/recreateck_tag_fandom_requires_characterCHECK around the type swap to dodgeoperator does not exist: tag_kind = tag_kind_old. Python enum + frontend KIND_OPTIONS/KIND_COLOR/KIND_ICONS/KINDS trimmed.Extension v1.0.4 — MV3
content_security_policy.extension_pagesoverride to OMITupgrade-insecure-requests. The default MV3 CSP was silently upgradingfetch('http://curator/...')tohttps://and failing with NS_ERROR_GENERATE_FAILURE. Operator-hit on first Test connection attempt.Test pin fixes —
tests/test_api_tags.pyprefix tests repointed fromartist:Erictocharacter:Saber(artist was dropped from KNOWN_KINDS earlier per the provenance-axis separation).Migrations
alembic 0023_drop_meta_rating_tag_kinds— destructive (DELETEs meta/rating tag rows). Operator chose "clean break" over "convert to general".Test plan
:latestpulled,app/worker/ml-worker/scheduler/webrecreated; alembic 0023 appliedTest connectionno longer NetworkErrorscharacter:Saberparses to (Saber, kind=character) without the dropdownSELECT enum_range(NULL::tag_kind);no longer containsmetaorrating