Skip to content

templateManager: allow using regular document files as templates#5512

Open
meven wants to merge 1 commit intonextcloud:mainfrom
meven:private/meven/template-odt
Open

templateManager: allow using regular document files as templates#5512
meven wants to merge 1 commit intonextcloud:mainfrom
meven:private/meven/template-odt

Conversation

@meven
Copy link

@meven meven commented Mar 23, 2026

As Collabora Online does not support creating templates, allow the user to reuse documents created with richdocuments as templates.

Collabora Online supports thoe as templates.

Fixes: #5277

Copy link
Collaborator

@elzody elzody left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though the issue you mentioned was already resolved with #5475, I think this change still makes sense. Don't forget to --signoff your commits so that the DCO passes.

git commit --amend --signoff --no-edit

It seems like the static analysis error is unrelated to this change.

As Collabora Online does not support creating templates, allow the user
to reuse documents created with richdocuments as templates.

Collabora Online supports thoe as templates.

Fixes: nextcloud#5277
Signed-off-by: Méven Car <meven.car@collabora.com>
@meven meven force-pushed the private/meven/template-odt branch from fd81e49 to b2746f2 Compare March 25, 2026 09:43
@meven
Copy link
Author

meven commented Mar 25, 2026

Even though the issue you mentioned was already resolved with #5475, I think this change still makes sense.

I somehow missed that, we have two codes paths to define which extensions are acceptable as templates now, It would be best to unify them I think rather than making them match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Global Templates allows only for file types which can't be created using Collabora Online

3 participants