Commit graph

1,107 commits

Author SHA1 Message Date
Elizabeth Danzberger
6eba9a9714 feat(AI): generate presentations with AI
Signed-off-by: Elizabeth Danzberger <elizabeth@elzody.dev>
2025-09-23 17:44:04 +00:00
Arthur Schiwon
5fa64b6294 fix(Templates): like MS docs, also include OpenDocument docs in templates
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-09-10 21:59:51 +00:00
Arthur Schiwon
eb3ba707c6 fix(SecureView): do not rely on specualtive getMountPoint()
- it is not specified by IStorage and exists only by luck
- the Node instance already provides the IStorage

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-09-05 21:29:11 +00:00
Vitor Mattos
54c9667b03 fix: prevent error when send null to json_decode
This fixed the follow warning:

```
json_decode(): Passing null to parameter #1 ($json) of type string is deprecated at /var/www/html/apps-extra/richdocuments/lib/Service/CapabilitiesService.php#142
```

The method `get` return string|null

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-09-03 20:17:59 +00:00
Mohit Marathe
a430450f96 wopi: allow to fetch settings from inside the document
using the accessToken created for loading office document.

Signed-off-by: Mohit Marathe <mohit.marathe@collabora.com>
2025-08-29 19:03:48 +00:00
Andrew Backhouse
c19dbe47ca new blank document template to improve user acceptance
Signed-off-by: Andrew Backhouse <andrew.backhouse@nextcloud.com>
2025-08-28 20:57:13 +00:00
Andras Timar
58107d9c9d url was incorrect when Nextcloud was installed under a subdirectory (fixes #4952)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
2025-08-28 19:56:20 +00:00
Elizabeth Danzberger
91ddbf28f9
chore(wopi): wopi proof cleanup
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-08-14 11:05:54 -04:00
Elizabeth Danzberger
7471c8f7f7
feat(wopi): support for wopi proof key
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-08-14 11:05:54 -04:00
Andras Timar
a79476128f
Fixes #4565 - assets directory conflicts with assets API when the webserver is nginx
Signed-off-by: Andras Timar <andras.timar@collabora.com>
2025-08-11 09:33:23 -04:00
Luka Trovic
b9c49ef441 fix: editor uid issue
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-08-04 12:21:24 +02:00
Elizabeth Danzberger
02ffed5a21
Merge pull request #4891 from nextcloud/fix/watermarking
fix: correctly watermark PDFs
2025-07-15 14:13:35 -04:00
Julien Veyssier
e168bdad8c
feat(DocGeneration): only throw RuntimeException if something goes wrong in the sub tasks
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-07-15 11:11:24 +02:00
Julien Veyssier
51d7acbb05
feat(SlideDeck): safer JSON generation and parsing
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-07-15 10:16:25 +02:00
Elizabeth Danzberger
46d2d06ee7
fix: correctly watermark PDFs
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-07-14 15:19:05 -04:00
Julien Veyssier
37f00d730c
feat(DocGeneration): use manager::runTask to run the sub llm tasks
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-07-13 14:15:26 +02:00
grnd-alt
8b464b69b5
enh: set ooxml as default doc_format
Signed-off-by: grnd-alt <github@belakkaf.net>
2025-07-11 15:01:52 -04:00
Marcel Klehr
4c1fdc3050
fix(SlideDeckService): Fix JSON syntax of example in slide deck prompt
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-07-11 14:38:38 +02:00
Elizabeth Danzberger
2609d5e963
fix: ensure response body is not null
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-07-08 15:42:47 -04:00
Elizabeth Danzberger
bcfe2c0d83
fix: undefined variable when fetching preview
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-06-23 16:58:29 -04:00
Elizabeth Danzberger
8101c1a683
Merge pull request #4807 from IONOS-Productivity/fix/shares-disable-doc-creation
fix: allow document creation only for users that can edit
2025-06-12 13:46:55 +00:00
Elizabeth Danzberger
ef88502023
feat: pass input filter options for csv conversion
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-06-11 16:24:21 -04:00
Franziska Bath
deab95d3e2 IONOS: fix: allow document creation only for users that can edit
Signed-off-by: Franziska Bath <franziska.bath@strato.de>
Co-authored-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-06-10 09:45:32 +02:00
Julius Knorr
07dc03baaa
fix: Avoid failing on fopen for NonExistingFiles
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-06-05 15:24:50 +02:00
Julius Knorr
6e43e3b87a
Merge pull request #4713 from nextcloud/fix/templates-loading 2025-05-27 06:47:01 +02:00
Julius Knorr
ac39a0f2ca
Merge pull request #4772 from nextcloud/feat/secure-view-talk
feat: Add option to set secure view for public talk shares
2025-05-26 10:47:42 +02:00
Elizabeth Danzberger
32c3327d5c
chore: supress psalm error
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-23 15:29:49 -04:00
Elizabeth Danzberger
770287fa60
feat: check if template fields should be extracted
The `BeforeGetTemplatesEvent` now has a property that allows us
to check if the templates should be enhanced with fields or not.
If so, then we extract the fields, if not, simply do not.

Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-23 15:17:15 -04:00
Mikhailo Matiyenko-Kupriyanov
7878dd3f93 Update lib/TokenManager.php
Co-authored-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Mikhailo Matiyenko-Kupriyanov <145785698+printminion-co@users.noreply.github.com>
2025-05-23 14:09:01 +02:00
Misha M.-Kupriyanov
39610ba995 fix: Ensure edit permissions are checked before template file token generation
otherwise file created from template will be editable for user with readonly permissions

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-05-23 14:09:01 +02:00
Julius Knorr
0076f564eb
feat: Add storage wrappert to block download on secure view
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-05-21 15:57:47 +02:00
Julius Knorr
9bd2020650
feat: Add option to set secure view for public talk shares
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-05-21 15:57:46 +02:00
Julius Knorr
241d4e6750
chore: Move away from deprecated static OC methods
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-05-20 16:43:53 +02:00
Julius Knorr
829dde6a51
chore: Move away rom getHTTPClientService
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-05-20 16:21:51 +02:00
Julius Knorr
ab1af051b6
chore: remove dropped deprecated method call for share manager
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-05-20 16:06:04 +02:00
Julien Veyssier
bbc13d6322
move task processing provider and task type from https://github.com/nextcloud/slide_deck_generator
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-05-07 17:20:27 -04:00
Arthur Schiwon
c47507c595
fix(Wopi): fall back to super share if share token is not available
On internal shares the controller is called without the share token. But
necessary information, like share attributes, might be necessary to know
and are available from the super share of the SharedStorage in that case.

For this approach was used elsewhere, too, some repetitive code was
consolidated in the Helper class.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-05-06 17:25:13 -04:00
Elizabeth Danzberger
399f04f4e5
fix: don't fetch own remote collabora url
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-05 17:46:56 -04:00
Julien Veyssier
fe52cf4460
chore: add docs/ai.md about document generation
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-04-22 12:39:55 +02:00
Julien Veyssier
785c9ef74d
feat: add pdf output format to document generation provider
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-04-22 12:38:31 +02:00
Julien Veyssier
0f4b35c237
feat: safer change to remoteService->convertTo
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-04-22 12:38:31 +02:00
Julien Veyssier
8ac6e67b3f
fix: issue when trying to convert CSV data, missing filename in multipart data
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-04-22 12:38:31 +02:00
Julien Veyssier
45cea69c27
feat: add optional input for spreadsheet generation to choose target format
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-04-22 12:38:31 +02:00
Julien Veyssier
d19fd71e2f
feat: add optional input for doc generation to choose target format
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-04-22 12:38:31 +02:00
Julien Veyssier
5d9cc136a0
feat: add xlsx generation tasktype+provider
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-04-22 12:38:31 +02:00
Julien Veyssier
1aa37bd6b5
feat: add docx generation tasktype+provider
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-04-22 12:38:31 +02:00
codewithvk
ee42e81fce fix(setting): userId undefined issue for template
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-04-03 11:12:05 +05:30
Rashesh Padia
a7af37a7a0 preset: fix: adding/removing global template not reflected in sidebar
- this patch appends the presentation template folder etag to shared
setting etag so that COOL can detect changes
- this patch also update the etag of global templates folder when
template is added or removed by admin

Signed-off-by: Rashesh Padia <rashesh.padia@collabora.com>
2025-03-21 13:11:20 +05:30
Julius Knorr
e6d9989b6f fix: Avoid different table schema when migration from older oc releases
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-20 10:00:03 +01:00
dependabot[bot]
cd55d5f40b
chore(deps-dev): Bump psalm/phar from 5.26.1 to 6.5.1
Bumps [psalm/phar](https://github.com/psalm/phar) from 5.26.1 to 6.5.1.
- [Release notes](https://github.com/psalm/phar/releases)
- [Commits](https://github.com/psalm/phar/compare/5.26.1...6.5.1)

---
updated-dependencies:
- dependency-name: psalm/phar
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-20 09:14:14 +01:00