Commit graph

57 commits

Author SHA1 Message Date
Elizabeth Danzberger
53376d304e
feat(AI): generate presentations with AI
Signed-off-by: Elizabeth Danzberger <elizabeth@elzody.dev>
2025-09-22 12:51:39 -04:00
Arthur Schiwon
eef5ff5074
fix(Templates): like MS docs, also include OpenDocument docs in templates
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-09-10 22:36: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
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
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
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
Julius Knorr
9ca8814005
chore: Bump php-cs-fixer config and apply
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-19 11:43:02 +02:00
Julius Knorr
62c6c0443f
chore: Apply rector fixes
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-19 00:48:15 +02:00
Julius Härtl
2b02997fd1
perf: Use getFirstNodeById as it is cached
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-15 07:52:49 +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
33d12bdc74
fix: Do not reuse query builder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-08 23:07:17 +02:00
Julius Härtl
fd6e2e2a20
fix: Revert change of extension which should refer to the new file extension
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-23 18:18:04 +02:00
Julius Härtl
1833a05611
fix: Handle template creation also without user sessions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-06 16:30:24 +02:00
Julius Härtl
9d9491cdf1
tests(cypress): Add tests for system template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-29 16:55:06 +02:00
Julius Härtl
e816946330
fix: Add draw file creation support on public links
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-29 15:25:57 +02:00
Julius Härtl
6eb8c1d792
fix: Bring back templates on public folder shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-29 15:25:56 +02:00
Julius Härtl
2eca85078c
Fix php-cs-fixer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-03 14:35:52 +02:00
Julius Härtl
9bb9661795
Apply cs fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-20 14:43:43 +02:00
Julius Härtl
a803105fab
Allow MS Office template file extensions for TemplateSource usage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-25 16:59:15 +01:00
Julius Härtl
5a9569900c
Add controller description and fix typings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-14 13:27:06 +01:00
Julius Härtl
b15c6be818
Fix public link file creation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-14 08:56:55 +01:00
Julius Härtl
d491bfa9ff
Use FileCreatedFromTemplateEvent to inject the already existing empty template files for Collabora
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Cleanup template loading

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Fix template handling

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-14 08:55:47 +01:00
Julius Härtl
bb09e2913c
Do not load template directories twice
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-29 14:03:30 +01:00
Pierre Ozoux
1a92294647 Renames assets folder.
Fixes #1916

Signed-off-by: Pierre Ozoux <pierre@ozoux.net>
2021-12-14 11:07:54 +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
Julius Härtl
9ae0cf6586
Unify error messages accross controllers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-09-13 20:21:13 +02:00
Roeland Jago Douma
2a716bea15
Try to obtain the appdata folder in 1 go
This avoids the extra queries and steps in between.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-18 09:35:35 +01:00
Julius Härtl
db417fe8f7
Check for mimetype during template upload
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-20 08:56:57 +02:00
Julius Härtl
27d94e9915
Allow ms office templates
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-30 17:31:38 +02:00
Julius Härtl
5a8eaaddf4
Add repair step to update empty template files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-23 22:58:09 +02:00
Julius Härtl
6aec6c1838
Remove visibility from constants
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-07 16:34:09 +02:00
Julius Härtl
b4c11f406c
Provide ooxml file extensions when set in templates
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-16 16:55:43 +02:00
Roeland Jago Douma
56bd27d5c5
Set userId so anonymous collabora calls also work
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
b756bc0396
Rename to ext to extension
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
1059dffd21
Add extention to response
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
a285ab6119
Preview makes no sense on empty templates
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +01:00
Julius Härtl
2becfd1f93
Use path to get the template directory
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
3bcd96c0c0
Allow the empty template
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
b1280e5a47
Fix empty template init
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
202d04ed48
Fix admin page
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
22e9cd7581
Use empty template
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
e4abb15651
Return empty templates by default
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:44 +01:00
Roeland Jago Douma
c5df57dfcc
Open template via OCS (Direct view)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:44 +01:00
Roeland Jago Douma
cb6c9315cf
Add helper fucntions and just pass objects around instead of magic
arrays

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:44 +01:00
Roeland Jago Douma
a56602e2ee
Fix correct mimetype and full urls
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:44 +01:00
Roeland Jago Douma
34106609ea
Move templates over to use fileids as well
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:44 +01:00
John Molakvoæ (skjnldsv)
68dcf7e96b
Reset array indexes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:44 +01:00
John Molakvoæ (skjnldsv)
8ed0ffbe6f
Fix user NotFoundException
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:44 +01:00
John Molakvoæ (skjnldsv)
a5eb500d5e
Api get all fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
8622c54948
Ocs api
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00