mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
Merge pull request #1835 from nextcloud/enh/noid/imaginary-add-mimetypes
imaginary - allow further mimetypees out-of-the-box
This commit is contained in:
commit
ccf8904c0a
3 changed files with 11 additions and 3 deletions
|
|
@ -548,9 +548,17 @@ if version_greater "$installed_version" "24.0.0.0"; then
|
||||||
if [ "$IMAGINARY_ENABLED" = 'yes' ]; then
|
if [ "$IMAGINARY_ENABLED" = 'yes' ]; then
|
||||||
php /var/www/html/occ config:system:set enabledPreviewProviders 0 --value="OC\\Preview\\Imaginary"
|
php /var/www/html/occ config:system:set enabledPreviewProviders 0 --value="OC\\Preview\\Imaginary"
|
||||||
php /var/www/html/occ config:system:set preview_imaginary_url --value="http://$IMAGINARY_HOST:9000"
|
php /var/www/html/occ config:system:set preview_imaginary_url --value="http://$IMAGINARY_HOST:9000"
|
||||||
|
php /var/www/html/occ config:system:set enabledPreviewProviders 20 --value="OC\\Preview\\HEIC"
|
||||||
|
php /var/www/html/occ config:system:set enabledPreviewProviders 21 --value="OC\\Preview\\SVG"
|
||||||
|
php /var/www/html/occ config:system:set enabledPreviewProviders 22 --value="OC\\Preview\\TIFF"
|
||||||
|
php /var/www/html/occ config:system:set enabledPreviewProviders 23 --value="OC\\Preview\\WebP"
|
||||||
else
|
else
|
||||||
php /var/www/html/occ config:system:delete enabledPreviewProviders 0
|
php /var/www/html/occ config:system:delete enabledPreviewProviders 0
|
||||||
php /var/www/html/occ config:system:delete preview_imaginary_url
|
php /var/www/html/occ config:system:delete preview_imaginary_url
|
||||||
|
php /var/www/html/occ config:system:delete enabledPreviewProviders 20
|
||||||
|
php /var/www/html/occ config:system:delete enabledPreviewProviders 21
|
||||||
|
php /var/www/html/occ config:system:delete enabledPreviewProviders 22
|
||||||
|
php /var/www/html/occ config:system:delete enabledPreviewProviders 23
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -503,9 +503,9 @@
|
||||||
<input type="checkbox" id="fulltextsearch" name="fulltextsearch"><label for="fulltextsearch">Fulltextsearch (needs ~1GB additional RAM)</label><br>
|
<input type="checkbox" id="fulltextsearch" name="fulltextsearch"><label for="fulltextsearch">Fulltextsearch (needs ~1GB additional RAM)</label><br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if is_imaginary_enabled == true %}
|
{% if is_imaginary_enabled == true %}
|
||||||
<input type="checkbox" id="imaginary" name="imaginary" checked="checked"><label for="imaginary">Imaginary</label><br>
|
<input type="checkbox" id="imaginary" name="imaginary" checked="checked"><label for="imaginary">Imaginary (for previews of heic, svg, tiff and webp)</label><br>
|
||||||
{% else %}
|
{% else %}
|
||||||
<input type="checkbox" id="imaginary" name="imaginary"><label for="imaginary">Imaginary</label><br>
|
<input type="checkbox" id="imaginary" name="imaginary"><label for="imaginary">Imaginary (for previews of heic, svg, tiff and webp)</label><br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if is_talk_enabled == true %}
|
{% if is_talk_enabled == true %}
|
||||||
<input type="checkbox" id="talk" name="talk" checked="checked"><label for="talk">Nextcloud Talk (needs ports {{ talk_port }}/TCP and {{ talk_port }}/UDP open in your firewall/router)</label><br><br>
|
<input type="checkbox" id="talk" name="talk" checked="checked"><label for="talk">Nextcloud Talk (needs ports {{ talk_port }}/TCP and {{ talk_port }}/UDP open in your firewall/router)</label><br><br>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ Included are:
|
||||||
- High performance backend for Nextcloud Files
|
- High performance backend for Nextcloud Files
|
||||||
- High performance backend for Nextcloud Talk
|
- High performance backend for Nextcloud Talk
|
||||||
- Backup solution (based on [BorgBackup](https://github.com/borgbackup/borg#what-is-borgbackup))
|
- Backup solution (based on [BorgBackup](https://github.com/borgbackup/borg#what-is-borgbackup))
|
||||||
- Imaginary
|
- Imaginary (for previews of heic, svg, tiff and webp)
|
||||||
- ClamAV (Antivirus backend for Nextcloud)
|
- ClamAV (Antivirus backend for Nextcloud)
|
||||||
- Fulltextsearch
|
- Fulltextsearch
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue