Repository navigation
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
b6da26a to
e90f39b
Compare
|
Hey @vitormattos So, I used some AI (Codex) to help with the PHP and tests because my PHP skills are not that good xd CI was failing on PHP 8.5. The problem is nextcloud-behat v1.6.3 use an old json-query thing that throw deprecation warnings. Behat sees this as test fail. So Codex changed tests/integration/composer.json to use dev-main instead of ^1.6 for libresign/nextcloud-behat and updated the lockfile. All local tests passed now (222 scenarios) Please tell me if is there anything wrong with my current approach thanks! |
Signed-off-by: Hugo de Sousa Pereira <hugo.s.pereira@tecnico.ulisboa.pt>
e90f39b to
9104bd0
Compare
Resolves: #9249
📝 Summary
Add a system-only Policy Workbench setting, disabled by default, allowing external email signers to explicitly save and reuse their visible signature on later documents.
Reuse requires the configured Email confirmation method. When both email token and click to sign are enabled, the email token is required. Saved-image existence is not exposed before verification.
The change also isolates anonymous images by browser and signing request, preserves their storage context in signing jobs, and adds an administrator cleanup command.
🧪 How to test
Run in the documented development environment as the application user:
Manual acceptance:
php occ libresign:signature-elements:cleanup --days=90 --dry-run
Validation evidence
🎨 UI / Front-end changes
⚙️ API / Back-end changes
Anonymous signers must recreate in-flight drawings after upgrading. Saved images have no automatic expiration; administrators can schedule cleanup. Rotating the instance secret makes older saved signatures unreachable, and cleanup can remove those orphaned images.
🤖 AI (if applicable)