Skip to content

Validate print API input and preserve documents on failed updates - #68

Merged
kduma merged 5 commits into
masterfrom
feature/untitled-v1
Oct 21, 2026
Merged

kduma merged 5 commits into
masterfrom
feature/untitled-v1

Conversation

@kduma

@kduma kduma commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Validate print job names, filenames, print types, redirect URLs and status messages against the database's 255-character limit so invalid requests return HTTP 422 before records or files change.
Cover filenames submitted via JSON, multipart uploads and X-File-Name, and reject invalid content types.
Preserve previous documents when disk or database writes fail, and replace print dialogs inside a transaction.
Validation: 203 SQLite tests passed (11 skipped), 205 MySQL 8 tests passed (9 skipped), Pint and composer validate --strict; fixes #64.


Open workspace in Conductor

@kduma kduma changed the title Validate print job name length before saving promises Validate print API input and preserve documents on failed updates Oct 21, 2026
@kduma
kduma merged commit 9030d11 into master Oct 21, 2026
8 checks passed
@kduma
kduma deleted the feature/untitled-v1 branch October 29, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No print job name length validation

1 participant