Merge pull request 'update matrix and nextcloud config' (#15) from claudiomaradonna/dot-files:master into master

Reviewed-on: https://gitea.it/Unitoo/dot-files/pulls/15
This commit is contained in:
Claudio Maradonna 2022-05-20 12:21:20 +02:00
commit c478a192bc
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,5 @@
1. Activate `synapse-admin` following instructions provided by playbook
2. Use `synapse-admin` to clean rooms or what you don't need
3. Stop `synapse`
3. Run `REINDEX (VERBOSE) DATABASE dbnamehere;` from your db client
4. Run `VACUUM FULL VERBOSE;` from your db client

View file

@ -61,5 +61,23 @@ $CONFIG = array (
'mail_smtppassword' => '', 'mail_smtppassword' => '',
'maintenance' => false, 'maintenance' => false,
'default_phone_region' => 'IT', 'default_phone_region' => 'IT',
'enable_previews' => true,
'preview_max_x' => 4096,
'preview_max_y' => 4096,
'preview_max_memory' => 768, 'preview_max_memory' => 768,
'preview_max_filesize_image' => 50,
'enabledPreviewProviders' => [
'OC\Preview\PNG',
'OC\Preview\JPEG',
'OC\Preview\GIF',
'OC\Preview\HEIC',
'OC\Preview\BMP',
'OC\Preview\XBitmap',
'OC\Preview\MP3',
'OC\Preview\TXT',
'OC\Preview\MarkDown',
'OC\Preview\OpenDocument',
'OC\Preview\Krita',
'OC\Preview\PDF',
],
); );