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
e1014cb4eb
fix: Bring back actually setting the guest name
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-08 20:09:21 +02:00
Julius Härtl
86f454826a
fix: Do not set user id for guests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-08 14:51:05 +02:00
Julius Härtl
b2b93ff6e2
fix: Avoid loading file actions if app is disabled for users
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-08 12:18:19 +02:00
Elizabeth Danzberger
43a82631d2
fix: file action for opening pdf files with richdocuments
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-05-02 14:36:55 -04:00
Elizabeth Danzberger
63aece8ff3
fix: guest name picker
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-30 13:09:49 -04:00
Julius Härtl
197f19f8ea
chore: Update nextcloud/ocp
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-29 13:30:30 +02:00
Julius Härtl
8da79239f9
perf(bootstrap): Lazy register template creator through event
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-29 13:30:30 +02:00
Elizabeth Danzberger
2c58d54d45
fix: use office.vue for public shares
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-04-22 13:46:00 -04:00
Julius Härtl
695f4a596a
Merge pull request #3601 from nextcloud/fix/local-locking
...
fix: Use Close_Session post message to properly end the Collabora editing before opening locally
2024-04-18 08:17:58 +02:00
Julius Härtl
bb0c847cfb
fix: Use Close_Session post message to properly end the Collabora editing before opening locally
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-18 08:02:25 +02:00
Julius Härtl
1b5989e81c
chore: Cleanup old TemplateSaveAs code as this is no longer supported by Collabora
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-15 08:21:01 +02:00
Julius Härtl
1c0dee5132
Merge pull request #3580 from nextcloud/fix/wopi-callback-url
...
fix: Use wopi callback url for all urls handed over to Collabora
2024-04-12 09:23:06 +01:00
Julius Härtl
2cc2536483
fix: Use wopi callback url for all urls handed over to Collabora
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-12 09:53:28 +02:00
grnd-alt
b72d576cde
don't alter file when there is not enough free space
...
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-04-11 11:17:53 +02:00
Jonas
4cb127a868
fix(WopiController): In putFile() set editor user as user scope
...
This fixes saves in shares being attributed to the share owner. With
this change, they're attributed to 'remote user' in the activity stream.
Signed-off-by: Jonas <jonas@freesources.org>
2024-04-03 12:34:42 +02:00
Christopher Ng
bdfbae27fc
feat: Use new svgs in New file menu
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-21 20:25:18 +01:00
tobiasKaminsky
483d9eda5b
fix(backgroundjob): Fix DI background jobs
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-03-14 22:59:37 +01:00
Julius Härtl
b535fa890a
feat: rudimentary support for range requests when fetching the file content
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-27 11:08:26 +01:00
Julius Härtl
d7b79e3267
chore: Move WopiController to constructor property promotion
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-27 11:08:26 +01:00
Julius Härtl
e191924f45
Merge pull request #3489 from nextcloud/fix/open-locally
...
Fix open locally with files lock and wopi allow list
2024-02-26 08:27:51 +01:00
Julius Härtl
6da08e6eb5
chore: Move to preview provider v2
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-21 13:47:05 +01:00
Julius Härtl
6623a4c1c7
fix: Preview url generation and cleanup
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-21 13:47:05 +01:00
Julius Härtl
3c583055e7
fix: Allow to unlock through separate endpoint for edit locally
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-21 12:50:38 +01:00
Julius Härtl
5570aa7b91
fix: Add config option to disable edit locally
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-21 12:31:41 +01:00
Julius Härtl
5bd5e09473
style: Fix code style from nextcloud/coding-standard update
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-09 13:58:52 +01:00
Josh
c85ee0389c
ActivateConfig: add type declarations
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-17 10:49:04 -05:00
Julius Härtl
93225dda10
chore: Move to class/method attributes for middleware checks
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-11 12:03:14 +01:00
Julius Härtl
7edf59f312
fix: Let wopi middleware also handle asset fetching
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-11 10:57:22 +01:00
Julius Härtl
5e93abdb7b
fix: Disable auto logout while editing
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-29 13:58:54 +01:00
Josh Richards
cb9eff990a
fix(Application.php): Update methods post-refactor
...
Fixes #3363 . The refactor in #3315 swapped around a few methods and this updates Application.php to use the appropriate ones.
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-25 10:14:54 -05:00
Julius Härtl
6d5549ce8d
fix: Consider owner group membership for public share links
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-22 09:35:23 +01:00
Julius Härtl
93748ff904
feat: Add script to get fonts on build
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-09 09:17:24 +01:00
Luka Trovic
1a3411ff79
feat: add repair step to install default fonts on installation
...
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2023-12-08 16:16:14 +01:00
Caolán McNamara
571472ebe3
feat: Add headers for wasm support if CO has hasWASMSupport enabled
...
which was added in: https://github.com/CollaboraOnline/online/pull/7784
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-12-07 11:24:28 +01:00
Julius Härtl
e9f8d1f374
feat: Add headers for wasm support
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-06 14:30:25 +01:00
Julius Härtl
db7610bfd3
Merge pull request #3315 from nextcloud/fix/url-handling
2023-12-01 15:58:31 +01:00
Julius Härtl
e0da54e89d
fix: Fix version access with new version backend on shared files
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 20:34:33 +01:00
Julius Härtl
4aecf93296
fix: Convert CSP idn domains to ascii ( fix #3086 )
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-24 09:08:33 +01:00
Julius Härtl
7a97213a8f
feat: Add browser connectivity check
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-24 09:08:12 +01: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
Daniel Kesselberg
0221c8a41e
feat: add preview provider for emf files
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-20 16:44:43 +01:00
Julius Härtl
53d788fc28
fix: Set expect guzzle option to false
...
This option can be removed once Collabora Online has proper support for
the Expect: 100-Continue header - until then this will avoid issues with
larger file previews
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-16 11:25:23 +01:00
Julius Härtl
33a3a7982e
fix: Set proper user scope for direct editing
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-13 23:35:41 +01:00
Julius Härtl
17c311bf47
fix: Do not fail if node has no owner
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-09 00:10:07 +01:00
moanos
a8b5cf9ca2
fix: Emit warning instead of info when WOIP request is denied
...
As discussed in #2685 the message s quite important when tring to fix
WOIP issues. The reasoning is that something fails from the perspective of an admin
and it should emit a warning.
Ofc. one could argue that the deny is expected bahaviour and should therefore emit only
an info. Yet I believe that it'd be beneficial overall to consider admins that
struggle to correctly set this up in that case.
Signed-off-by: moanos <julian-samuel@gebuehr.net>
2023-10-27 11:03:55 +02:00
Julius Härtl
fd94a58d9f
Merge pull request #3237 from nextcloud/bugfix/3236
2023-10-23 23:25:38 +02:00
Robin Windey
6ac72ff241
Increase log level to error
...
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Robin Windey <ro.windey@gmail.com>
2023-10-23 17:27:00 +02:00
Robin Windey
bf1142b046
Improve logging for WOPI Parser
...
Signed-off-by: Robin Windey <ro.windey@gmail.com>
2023-10-23 12:28:08 +02:00
Julius Härtl
398d165a5d
fix: Add proper feature policy
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-10-20 15:50:55 +02:00