Commit graph

20 commits

Author SHA1 Message Date
Elizabeth Danzberger
fc11c12ae1
refactor: move template settings to vue component
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-11-05 08:10:14 +01:00
Miklos Vajna
adfb9056d4 feat: document signing, add setting for the signing certificate & key, too (fixes #4123)
The CA chain for the document signing was already a user setting & it
was exposed in the WOPI CheckFileInfo, but the actual signing
certificate & key was missing, so signing was not possible.

These are typically in a similar PEM format using just ASCII characters,
so providing a textarea where the user can paste them sounds like a good
fit.

Add the read/write of this setting and also expose it as part of the
private user info in WOPI CheckFileInfo.

With this, once all 3 are configured, it's possible to sign a document
in Nextcloud Office, using the Signature button on the Home tab of the
notebookbar.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
2024-10-16 09:48:00 +02:00
Miklos Vajna
20ca5fd77d feat: add personal setting to specify the CA chain for document signing
Document signing needs to store keys as richdocuments settings. This
involves the signing key, certificate and the matching CA chain.

As a first step, add code to the personal settings to be able to set a
CA chain that issues the signing key / certificate.

Setting and getting the setting is possible after this; the setting is
not yet exposed in the WOPI CheckFileInfo response.

<https://github.com/CollaboraOnline/online/issues/9992#issuecomment-2396115427>
has instructions on how to generate self-signed certificates for
document signing for development purposes. Related to #4123

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
2024-10-16 09:27:15 +02:00
Andy Scherzinger
868859f393
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-09 10:37:22 +02:00
Julius Härtl
c920f7a819
chore(stylelint): Fix running stylelint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-25 08:30:56 +01:00
Pranam Lashkari
f2efe80357 introduce zotero integration for collabora office
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
2022-12-07 16:20:22 +01:00
Julius Härtl
fc9cbbd21d
Add frontend for setting secure view on disabled downloads and add some infos
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-26 16:17:17 +02:00
Vinicius Reis
c5699e6dba
🚨 fix sass warnings
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14 17:50:10 -03:00
Julius Härtl
e332c5413e
Move css to the bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-20 14:08:21 +02:00
Julius Härtl
d97d7843ab
Add UI to select a collabora demo server
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-27 07:33:44 +01:00
Julius Härtl
9977186142
Add stylelint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-16 07:39:43 +02:00
Julius Härtl
0d8025dea7
Fix array access if preview/delete is not available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-04 09:33:04 +01:00
Julius Härtl
756175c14a
Use paragraphs and style select input
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-28 17:56:59 +01:00
John Molakvoæ (skjnldsv)
dfff288d1e
Template picker and system tpl script fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
7fc68986c3
12 & 13 design fallback
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
45ecbbf62c
Design fixes and preview check
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
c680b535c9
Add template js handler and comments
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
ec9a211846
Fix DI error, added design base and delete handler
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
6a7b73f598
Error handler and class code style fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
e334a2420e
Template manager init
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:41 +01:00