Skip to content

Conversation

@codewithvk
Copy link
Contributor

Change-Id: I4da8748a992d8f95e3f7e782843c862277597c3d

  • Resolves: #
  • Target version: master

Summary

TODO

  • ...

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

Copy link
Contributor Author

@codewithvk codewithvk left a comment

Choose a reason for hiding this comment

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

note to my self: remove unwanted logs

@codewithvk codewithvk force-pushed the private/codewithvk/digital_sign branch 2 times, most recently from 5da0519 to 1fee150 Compare October 6, 2025 15:51
@codewithvk codewithvk changed the title WIP: Add digital signature config to settings iframe Add digital signature config to settings iframe Oct 6, 2025
@codewithvk codewithvk force-pushed the private/codewithvk/digital_sign branch from 4528686 to d2352f8 Compare October 7, 2025 17:01
@codewithvk codewithvk marked this pull request as ready for review October 7, 2025 17:03
@codewithvk codewithvk requested a review from caolanm October 8, 2025 06:11
@codewithvk codewithvk force-pushed the private/codewithvk/digital_sign branch from d2352f8 to 13ba388 Compare October 8, 2025 06:38
lpranam
lpranam previously requested changes Oct 9, 2025
Copy link
Member

@lpranam lpranam left a comment

Choose a reason for hiding this comment

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

I have tested the code for Zotero and it works as expected for backward compatibility.

@github-project-automation github-project-automation bot moved this from To Review to In Progress in Collabora Online Oct 9, 2025
@codewithvk codewithvk requested a review from lpranam October 10, 2025 12:06
@codewithvk codewithvk force-pushed the private/codewithvk/digital_sign branch 3 times, most recently from cee8c15 to bd5b903 Compare October 13, 2025 13:44
@lpranam lpranam mentioned this pull request Oct 16, 2025
5 tasks
@caolanm caolanm requested a review from quikee October 17, 2025 07:36
Copy link
Contributor

@caolanm caolanm left a comment

Choose a reason for hiding this comment

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

Looks ok to me. But quikee to check some sample digital signing to confirm that that still works.

This commit adds support for configuring digital signature certificates,
keys, and CA in the admin integrator settings interface. The signature
configuration is stored in viewsetting.json and passed through to the
document session for use in document signing.

Changes include:
- Add signature fields (cert, key, CA) to ViewSettings interface
- Create textarea UI components for multi-line certificate input
- Refactor view settings to use generic input field creation
- Extract signature data from viewsetting.json and store in Session
- Pass signature config through DocumentBroker to Kit process
- Add signatureconfig parameter to load command
- Merge signature data into userPrivateInfo for LibreOfficeKit

The signature configuration follows the same pattern as existing
view settings like accessibility and Zotero API key.

Signed-off-by: codewithvk <[email protected]>
Change-Id: I4da8748a992d8f95e3f7e782843c862277597c3d
When shifting digital signature configuration to the new settings iframe,
existing users with signature credentials stored in UserPrivateInfo would
lose their keys. This change ensures backward compatibility by migrating
signature values from the old storage location to viewsetting.json.

Signed-off-by: codewithvk <[email protected]>
Change-Id: I26ce5cc115f546f8069e228c7b6ffeb347061d72
problem:
After shifting to AdminIntegratorSettings zotero settings disappeared
for most user as it required re entering the api key in settings.
This made user think zotero was broken

Signed-off-by: codewithvk <[email protected]>
Change-Id: I03feaabc9d784bd30678f844047533fcda497ce6
Signed-off-by: codewithvk <[email protected]>
Change-Id: I29b92e118a8a3e8ef0a95c5ca49bdc4d7ef23537
Signed-off-by: codewithvk <[email protected]>
Change-Id: I196c115ffc992e19e0969f279fee11078f006462
Signed-off-by: codewithvk <[email protected]>
Change-Id: If5a258d78e8cd03346a4eb178157f61a3903781b
Previously sent empty signatureconfig={} which could be problematic for
load command. Now only send signature configuration when view settings
are actually updated, eliminating unnecessary empty JSON payload.

Signed-off-by: codewithvk <[email protected]>
Change-Id: I977af57923f785f7d26c92706053cb5ba2232bd1
@codewithvk codewithvk force-pushed the private/codewithvk/digital_sign branch from bd5b903 to c8153de Compare October 19, 2025 17:52
@lpranam lpranam changed the title Add digital signature config to settings iframe Add digital signature/zotero config to settings iframe Oct 21, 2025
Copy link
Contributor

@quikee quikee left a comment

Choose a reason for hiding this comment

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

Works OK

@quikee quikee dismissed lpranam’s stale review October 27, 2025 07:52

The changes have been addressed.

@quikee quikee merged commit c3766a9 into CollaboraOnline:master Oct 27, 2025
13 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Collabora Online Oct 27, 2025
codewithvk added a commit to nextcloud/richdocuments that referenced this pull request Dec 15, 2025
Since Collabora Online already supports digital signatures via the settings iframe, this patch is intended to only hide the UI inputs. The related variables will still be sent to Online through checkfileinfo, and migration cases will be handled as well.

Online PR:  CollaboraOnline/online#12913

Signed-off-by: codewithvk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants