Commit graph

159 commits

Author SHA1 Message Date
Julius Knorr
b0aa47846a chore: Move from old dialog to a modern vue one
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-05-27 08:20:29 +02:00
codewithvk
3572c8bcbe Refactor: Move personal user settings page to Vue
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-01-18 12:09:48 +05:30
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
ae8e248e96
fix: Properly handle internal urls
Improve handling of different URLs. From now on we will allow to
configure:

- wopi_url Used by Nextcloud to connect to Collabora in the backend
- wop_callback_url Passed to collabora to connect back to Nextcloud
  (optional, determined from the browser URL if not set)

The public_wopi_url which was only partly working is no longer ment to
be manually set and will be overwritten depending on the
/hosting/discovery response.

Further this PR improves:
- Add setup check on occ and admin page
- Give proper error on individual failures of the setup check
- Display configured and detected URLs to make setup issue debugging
  easier
- Refactor services to have a cleaner structure for setup checks,
  discovery and capabilities fetching

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-24 09:08:12 +01:00
Julius Härtl
a7b456b693
fix: Pass over dark/light variants of our css variables
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-30 12:23:57 +02:00
Julius Härtl
9d9491cdf1
tests(cypress): Add tests for system template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-29 16:55:06 +02:00
Julius Härtl
e3105a17e6
Move document params to initial state
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-02 21:42:34 +01:00
Valdnet
6ef10db155
Update templates/personal.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-01-16 08:10:07 +01:00
Valdnet
491146240b
l10n: Unified spelling and removed spaces
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-01-15 19:16:34 +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
165d40c9de
Improve error handling for global template management
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-02 15:17:03 +01:00
Julius Härtl
08f5b7a828
Keep passing light theme values to Collabora as long as the dark mode is not available there
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-20 15:11:55 +02:00
raul
e0bb28d04a Fix: Hide local editing button for public shares
Signed-off-by: raul <raul@nextcloud.com>
2022-09-26 19:32:53 +02:00
Raul
c6bcc45624 Fix incorrect HTML encoding of filename
Signed-off-by: Raul <r.ferreira.fuentes@gmail.com>
2022-07-22 14:20:23 +02:00
Raul
3655a84119
Add token_ttl parameter to documents.php template
Signed-off-by: Raul <raul@nextcloud.com>
2022-04-19 11:19:15 +02:00
Andras Timar
685331f049 Rename the app to Nextcloud Office
Signed-off-by: Andras Timar <andras.timar@collabora.com>
2021-12-16 14:11:36 +01:00
Julius Härtl
95a559512f
Pass through direct token details to frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-12 17:17:48 +02:00
John Molakvoæ (skjnldsv)
ea9d7652a6
Update bundles names
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-30 09:33:27 +02:00
Julius Härtl
ec17df695e
Fix public page loading in file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-13 14:36:51 +02:00
Mert Tumer
0c41283757 Built-In CODE Server status message on first load
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
2020-05-26 15:20:22 +03:00
Julius Härtl
cedbdb296c
Basic viewer integration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-22 08:42:33 +02: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
30354129e9
Adjust integration tests to missing wopi token without guest name being set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-03 15:24:40 +01:00
Julius Härtl
e4845597c5
Migrate other settings to vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-27 07:33:44 +01: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
101c6bd1d4
Properly hand over user data and notify the viewer about loading
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-24 12:51:50 +02:00
Julius Härtl
6c2dbf939c
Fix undefined index warning
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-15 09:48:19 +02:00
Andras Timar
9a94566ddc We prefer the term 'WOPI-like Client' 2019-09-30 13:00:25 +02:00
Julius Härtl
b848201e58
Start with vue admin panel
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-30 16:52:19 +02:00
Julius Härtl
5ffb963407
Implement post messages for across frame communication
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-26 11:21:21 +02:00
Julius Härtl
cbabe3e63c
Simplify loading and just use the jquery widget for the guest name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-16 07:39:43 +02:00
Julius Härtl
eee488d611
Move to webpack build
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-16 07:39:15 +02:00
Julius Härtl
238b1c80c8
Use available public API calls and strong comparison
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-10 18:24:27 +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
Marius Blüm
06946253b8
Wording changes based on Feedback
Signed-off-by: Marius Blüm <marius@lineone.io>
2019-02-28 17:55:25 +01:00
Marius Blüm
a40621e397
New administrator settings layout
Signed-off-by: Marius Blüm <marius@lineone.io>
2019-02-28 17:42:11 +01:00
Daniel Kesselberg
fe439db6c1 Check for yes instead not empty
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-24 16:42:41 +01:00
Daniel Kesselberg
117d75a282 Add settings to disable certificate validation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-24 16:01:25 +01:00
Andras Timar
9c17ba96cd fix 'Collabora Online' product name 2019-02-14 08:49:00 +01:00
Julius Härtl
723d0b2660
Improve current editor listing in Nextcloud header
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-17 22:45:27 +01:00
Julius Härtl
2beab3e864
Disable template selector and settings if the capability is not available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 07:42:54 +01:00
Julius Härtl
b56d63b227
Add personal settings for template folder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
129516e4f5
Add Personal settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
22e9cd7581
Use empty template
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +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)
94f9603dde
Fix preview and default size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00