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
Elizabeth Danzberger
9941f7acb3
Merge pull request #4426 from nextcloud/feat/1335/disable-preview
...
Config option to disable previews
2025-03-12 18:05:00 -04:00
Elizabeth Danzberger
5c33d537ea
fix: escape file path
...
use the http_query_builder() method to more easily
build the query parameters and automatically escape them
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-03-12 16:52:31 -04:00
codewithvk
64eb53b9c1
fix(settings): return on Throwable instade of Exception
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-03-12 16:00:55 +05:30
codewithvk
c6d618139b
fix(settings): accept settings URL from discovery endpoint
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-03-12 16:00:55 +05:30
Julius Knorr
883b18f209
feat: Add config flag to disable preview generation
...
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-12 10:46:06 +01:00
codewithvk
caa3d9e318
fix(token): reduce token generation for settings files
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-03-11 21:43:04 +01:00
Julius Knorr
77ac5e57c6
fix: Properly pass sharing token along
...
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-11 20:39:46 +01:00
Julius Knorr
422553f262
fix: Reduce complexity and always take the passed editor
...
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-11 20:39:46 +01:00
codewithvk
be78d1bdc9
fix(settings): enable UserSettings wopi response
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-03-07 15:35:25 +01:00
Elizabeth Danzberger
b97a2bb730
Merge pull request #4463 from JaumePujantell/private/jaumepujantell/potx-template
...
templates: better support cross-format templates
2025-02-26 14:33:32 -05:00
Rashesh Padia
0f996736f1
feat: show presentation template in masterslides
...
- templates are sent to Collabora Online as a part of `SharedSettings`
for admin/global templates and `UserSettings` for user uploaded
templates
Signed-off-by: Rashesh Padia <rashesh.padia@collabora.com>
2025-02-26 14:47:42 +05:30
Jaume Pujantell
0a5698e6d9
templates: better support cross-format templates
...
If form filling was used to create a file, do not add a template source.
Otherwise Collabora Online creates the file again from the template.
Use the format option in 'transform-document-structure' to avoid an
intermediate save in the template format, which might not be supported
as a save format.
Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
2025-02-26 07:17:33 +01:00
Elizabeth Danzberger
fc5cbfcc7e
fix(test): modify selectors and comment problematic code
...
The problematic code is related to an issue that is difficult to trace
therefore to get CI passing to allow other merges in the meantime
I comment it out until it is resolved.
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-02-25 19:42:51 -05:00
codewithvk
c9b774de79
fix(settings): create missing type folder if not found
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-12 17:51:35 +05:30
codewithvk
e043aa01ef
fix: send etag for settings URLs and update etag on file changes
...
- Replace timestamp with the folder etag in settings generation.
- Update the folder etag when files are created or deleted.
- Refactor folder retrieval logic into helper methods for consistency.
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-11 18:44:21 +05:30
codewithvk
fdb020097c
fix(cosmetic): remove unnecessary comments
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 23:34:44 +05:30
codewithvk
3fbe5e2c7c
feat(wopi): pass WOPI settings if iframe capability is allowed
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 23:21:05 +05:30
Julius Knorr
e170b53b82
fix: Avoid warning on file id explode
...
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-02-05 13:15:53 +01:00
codewithvk
149e43faf6
config: support hasSettingIframeSupport capability
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
bf699669bd
refactor: some code cleanups
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
9554d4f6f9
fix: code cleanups
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
495a02cbf8
fix: composer psalm error via pointing correct folder
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
969a4f90a8
fix(settings): generate user config per userId & handle guest users
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
5defde2c0b
fix(wopi): Generating setting token for guest users
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
747c52846d
fix(wopi): share SharedSettings to wopi checkfileInfo
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
59a2192e82
fix(settings): fetch directory from root folder
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
82bb7a890b
fix: set proper WOPI response and remove unnecessary WOPI callback from iframe
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
dbf9d3aea2
fix: accept document and setting url token for file upload
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
6686315851
fix: generate token for user shared config url
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
bdfa8b9ba8
fix: linting issue for CI
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
fc0915a372
feat(user-settings): introduce iframe for user settings
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
5704fdc3a3
refactor: token generation for iframe
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
388b2b9be3
wopi: add delete setting file route
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
786f1cb8fe
fix: fetch config url
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
dce7f65b93
Send WOPI setting base URL to integrator
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
1660bca217
Code cleanup: Remove POC helper functions
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
c0e65e45ad
Manage setting configs files with dynamic routes
...
- Implement dynamic routing for settings files, enabling URLs structured as /settings/{type}/{category}/{filename}.
- Support various setting types (e.g. userconfigs, sharedconfigs) and categories (e.g. autotext, wordbook) so that multiple files can be stored for each category.
- Ensure proper URL parsing and directory handling for uploading and retrieving files via the WOPI interface.
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00
codewithvk
c80020587c
add delete button and create wopi/setting route to handle wopi file request
...
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
2025-02-05 13:15:53 +01:00