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
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
Julius Härtl
e34a607082
chore: Fix psalm
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-08 23:20:34 +02:00
Andras Timar
9639ceb9b2
Accept alternative MIME type for OpenType fonts
...
Signed-off-by: Andras Timar <andras.timar@collabora.com>
2023-06-22 10:20:13 +02:00
Julius Härtl
29d0f44303
chore: Move away from deprecated ILogger and Server::query
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-06 16:41:26 +02:00
dependabot[bot]
74015e4678
Chore(deps-dev): Bump nextcloud/coding-standard from 1.0.0 to 1.1.0
...
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.0.0...v1.1.0 )
---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 12:54:35 +02:00
Julius Härtl
9741bd3d2d
fix: Avoid error when browser cannot detect font mimetype
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-03 16:56:30 +02:00
Simon L
ceb660adf4
add it to the settingscontroller as well
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-01 19:24:40 +01:00
Julius Härtl
f6423159ce
Fix new psalm errors
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-20 15:45:31 +01:00
Pranam Lashkari
f2efe80357
introduce zotero integration for collabora office
...
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
2022-12-07 16:20:22 +01:00
Julius Härtl
fc9cbbd21d
Add frontend for setting secure view on disabled downloads and add some infos
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-26 16:17:17 +02:00
Julius Härtl
581bc2e5c0
Give better hints on a protocol mismatch with the discovery endpoint
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-09 08:56:07 +02:00
dependabot[bot]
0565747269
Bump friendsofphp/php-cs-fixer from 3.8.0 to 3.9.5
...
Bumps [friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer ) from 3.8.0 to 3.9.5.
- [Release notes](https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases )
- [Changelog](https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FriendsOfPHP/PHP-CS-Fixer/compare/v3.8.0...v3.9.5 )
---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 07:37:03 +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
Julien Veyssier
cd7d967b45
adjust backend font stuff after review
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-05-04 11:19:00 +02:00
Julien Veyssier
00cf5bd695
support opentype font format
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-05-02 13:05:59 +02:00
Julien Veyssier
7b5d111276
add settings/fonts.json endpoint to get formatted font list for COOL server
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-05-02 13:05:59 +02:00
Julien Veyssier
bcc7f1cb63
add Etag support for font list and font file endpoints
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-05-02 13:05:59 +02:00
Julien Veyssier
052adffe7e
improve style, handle errors when generating font overview
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-05-02 13:05:59 +02:00
Julien Veyssier
b84a085fc7
generate font overview image and show it in the settings
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-05-02 13:05:58 +02:00
Julien Veyssier
df776ef81a
add font upload, list, delete
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-05-02 13:05:58 +02: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
Julius Härtl
bb8daed903
Allow to limit wopi requests to specific source hosts
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-29 18:24:23 +02:00
Julius Härtl
7c4eb03bb2
Show hint about missing capabilities endpoint connection
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-03 10:05:55 +01:00
Julius Härtl
6b3d3f1556
Store discovery response in distributed cache
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-08 10:08:50 +01:00
Julius Härtl
74bdf6d216
Move storing capabilities to distributed cache
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-08 10:08:50 +01:00
Julius Härtl
1a4b330139
Do not use isset for checking the class constant
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-17 07:51:24 +02:00
Julius Härtl
625d949ba1
Properly check value types when updating watermark settings
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 08:37:19 +02:00
Julius Härtl
3e53a966c3
Unify checks for disable_certificate_verification value
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-25 08:28:37 +02:00
Julius Härtl
2e38da75c3
Revert "Disable certificate verification handling"
...
This reverts commit 5a59060db7 .
2020-06-25 08:16:51 +02:00
Torge Kummerow
1da6317f89
Fix saving 'disable certificate verification'
...
The value is never fully equal to 'true', so checking this option is never saved.
Instead it is fully equal to the boolean value true
2020-06-09 02:33:53 +02:00
Johannes Weberhofer
5a59060db7
Disable certificate verification handling
...
Fix for #950
Signed-off-by: Johannes Weberhofer <jweberhofer@weberhofer.at>
2020-05-14 15:47:10 +02:00
Julius Härtl
0bd69be42b
Fetch demo servers only when requested
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-27 07:33:44 +01:00
Julius Härtl
d97d7843ab
Add UI to select a collabora demo server
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-27 07:33:44 +01:00
Julius Härtl
b848201e58
Start with vue admin panel
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-30 16:52:19 +02:00
Julius Härtl
a21b33b101
Cleanup public wopi URL since otherwise it doesn't work in the CSP headers
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-29 09:44:42 +02:00
Rainer Jung
fbcf8802f2
Add new config item public_wopi_url.
...
It will be used in addAllowedFrameDomain() and automatically
determined from the Capabilities URL in the discovery response.
Signed-off-by: Rainer Jung <rainer.jung@kippdata.de>
2019-08-15 11:29:03 +02:00
Roeland Jago Douma
9223a5bcd2
Use valid HTTP status codes
...
Else if the error code is not set it is 0 which is not at all a valid
status code.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-08 20:29:38 +02:00
Roeland Jago Douma
8e239584d9
Only update capabilities on successfull fetch
...
fixes #448
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-12 08:39:56 +01:00
Julius Härtl
355175c0ac
Check via discovery if collabora server is available before opening the document
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 15:29:05 +01:00
Daniel Kesselberg
117d75a282
Add settings to disable certificate validation
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-24 16:01:25 +01:00
Roeland Jago Douma
c37d0a7e5f
Move to a service to also fetch the capabilities when the settings are updated
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-06 21:13:08 +01:00
Julius Härtl
b56d63b227
Add personal settings for template folder
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
473584b66d
Some code fixes by phpstorm inspections
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-09 21:25:35 +02:00
Patrik Kernstock
c1f708f61d
Fix settings canonical webroot ( #173 )
...
* Use same order as in setSettings() func below
Signed-off-by: Patrik Kernstock <info@pkern.at>
* Fixed Canonical-Webroot setting
The Canonical-Webroot setting was not read properly on the /settings/admin/richdocuments settings page. So this also fixes the notices when visting the admin page: "Undefined index: canonical_webroot at /apps/richdocuments/templates/admin.php#44"
Signed-off-by: Patrik Kernstock <info@pkern.at>
2018-02-18 13:16:07 +01:00
Pranav Kant
a08c0b7a5e
Add support for adding canonical webroot ( #157 )
...
See cc42c7f46c
for details
2018-01-31 13:25:33 +01:00
Lukas Reschke
9bf62db3aa
Add option to enable the app only for users in a specific group ( #135 )
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-11-06 13:54:56 +01:00
Pranav Kant
21504eb5a8
support for external apps ( #124 )
2017-09-27 08:53:06 +02:00
Andras Timar
aa4df2e800
Restore 'Enable edit for specific groups' feature, fixes #66
2017-06-14 14:17:21 +02:00