Commit graph

210 commits

Author SHA1 Message Date
Skyler Grey
f496a79138 fix(mobile): update CSS class names
This CSS was intended to apply to the Collabora iframe, however the ID
of that was updated to be random in ba45233bf (chore: refactor iframes
to load collabora directly, 2023-06-11) and this code didn't follow...

Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
2025-11-05 12:18:00 +00:00
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
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
05a6a112e7
fix: Avoid 3px offset on public share links
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-19 14:28:23 +01:00
Simon L
66b7299216
Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 20:08:43 +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
Julien Veyssier
b65dc89a46 adjust file action icon color for NC 25
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-07-26 17:55:32 +05:30
Raul
4c49ca500c Fix: allow opening PDF with Collabora
Signed-off-by: Raul <r.ferreira.fuentes@gmail.com>
2022-07-26 17:55:32 +05:30
Vinicius Reis
c5699e6dba
🚨 fix sass warnings
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14 17:50:10 -03:00
Julien Veyssier
1f79ffb031
refs #2009 fix frame absolute position in public file share
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-02-01 14:36:55 +01:00
Julius Härtl
dc85a0b0c9
Rename viewer.scss to files.scss
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-29 16:30:21 +01:00
Julius Härtl
db57795dbc
Move filetype styles to separate css file and load it with viewer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-20 23:10:49 +01:00
Julius Härtl
c9cb1bd982
Improve loading state handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-29 18:33:50 +01:00
Julius Härtl
923db52e76
Move files app integration to full view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-10 12:53:03 +01:00
Julius Härtl
32b986af3f
Unify ui_defaults logic and hide statusbar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-10 12:53:02 +01:00
Julius Härtl
c3e331f658
Add support for Collabora Online Draw and odg files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-08 13:32:35 +01:00
Luka Trovic
d526b1183f fix feedback
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2021-10-05 11:59:14 +02:00
Luka Trovic
8929a8c7c4 fix collabora icon color invertion issue in bright theme
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2021-09-28 16:44:33 +02:00
Julius Härtl
c175ef467e
Merge pull request #1709 from nextcloud/bugfix/1321
Give the avatar popover a proper z-index for public pages
2021-08-18 15:28:54 +02:00
Julius Härtl
448a340023
Give the avatar popover a proper z-index for public pages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-12 14:56:31 +02:00
Julius Härtl
7a5e064115
Show avatar list if hide download is enabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-11 10:38:28 +02:00
Julius Härtl
2b4c11fa74
Always update versions tab when the file is open
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-13 14:35:56 +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
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
bcb26b0a54
Fix stylelint errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-26 11:21:21 +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
9977186142
Add stylelint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-16 07:39:43 +02:00
Jan-Christoph Borchardt
e76752e1dd
Switch to native font stack
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-07-15 17:15:08 +02:00
Julius Härtl
842d5f2ef6
Fix styling of inbetween loading step
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-08 13:06:51 +02:00
Julius Härtl
cef30f5ad0
Fix rescaling of UI in Safari
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-30 15:43:12 +02:00
Iván Sánchez Ortega
83165055e4 Prevent editor iframe from being scrolled away from
Signed-off-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2019-05-13 17:10:32 +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
Julius Härtl
9c4c7f45d9
Fix relative path of document type icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-14 15:03:11 +01:00
Julius Härtl
c5d573132c
Merge pull request #400 from nextcloud/cleanup/css
Move to single viewer css file
2019-02-13 21:01:18 +01:00
Andras Timar
9e3f891e38 Add more space to accomodate text length of dialog title 2019-02-13 13:40:26 +01:00
Julius Härtl
970ecadce4
Move to single viewer css file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-13 10:42:42 +01:00
Roeland Jago Douma
24bc4dfdc8
Merge pull request #395 from nextcloud/bugfix/342/close-sidebar
Hide sidebar when closing the viewer
2019-02-11 21:07:11 +01:00
Julius Härtl
07a00a52c5
Scale frame to 100% height on mobile
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-11 15:01:55 +01:00
Julius Härtl
4592393a18
Hide sidebar when closing the viewer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-11 14:54:30 +01:00
Julius Härtl
907708f5ee
Fix scrolling behaviour on Nextcloud >= 14
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-06 15:42:06 +01:00
Julius Härtl
91011dee5a
Add file actions menu to the header bar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-25 16:48:14 +01:00
Julius Härtl
849af353cb
Implement FollowUser_Changed update for popover menu
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-17 22:45:27 +01:00