Skip to content

[stable32] Allow PDF Forms calculations#1410

Merged
danxuliu merged 3 commits into
stable32from
backport/1325/stable32
Apr 5, 2026
Merged

[stable32] Allow PDF Forms calculations#1410
danxuliu merged 3 commits into
stable32from
backport/1325/stable32

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented Apr 4, 2026

Backport of #1325

danxuliu and others added 3 commits April 5, 2026 02:21
@nextcloud/vue was already an implicit dependency, but now it is made
explicit to use the components it provides in the PDF viewer code.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
This PR adds a UI to configure the pdf viewer to allow calculations (secure in a sandbox).
Can be enabled/disabled through the admin settings globally, default is disabled.
Uses pdf.js´s sandbox feature, which should make this as secure as it can get.

Fixes #1265

Signed-off-by: Joly0 <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu force-pushed the backport/1325/stable32 branch from 4713a41 to 355abc1 Compare April 5, 2026 00:31
@danxuliu danxuliu marked this pull request as ready for review April 5, 2026 00:31
@danxuliu danxuliu requested a review from szaimen as a code owner April 5, 2026 00:31
Copy link
Copy Markdown
Member

@danxuliu danxuliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@danxuliu danxuliu merged commit 52c40b3 into stable32 Apr 5, 2026
44 checks passed
@danxuliu danxuliu deleted the backport/1325/stable32 branch April 5, 2026 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants