Changeset View
Changeset View
Standalone View
Standalone View
src/config/services.php
<?php | <?php | ||||
$dav_folders = []; | |||||
if (env('DAV_WITH_DEFAULT_FOLDERS', false)) { | |||||
$dav_folders = [ | |||||
[ | |||||
// FIXME: Should we use something else than 'Default'? This is | |||||
// what Cyrus creates, and I didn't find a setting to change it, | |||||
// we can only disable creation of the folder. | |||||
'path' => 'Default', | |||||
'displayname' => 'Calendar', | |||||
'components' => ['VEVENT'], | |||||
'type' => 'calendar', | |||||
], | |||||
[ | |||||
'path' => 'Tasks', | |||||
'displayname' => 'Tasks', | |||||
'components' => ['VTODO'], | |||||
'type' => 'calendar', | |||||
], | |||||
[ | |||||
// FIXME: Same here, should we use 'Contacts'? | |||||
'path' => 'Default', | |||||
'displayname' => 'Contacts', | |||||
'type' => 'addressbook', | |||||
], | |||||
]; | |||||
} | |||||
return [ | return [ | ||||
/* | /* | ||||
|-------------------------------------------------------------------------- | |-------------------------------------------------------------------------- | ||||
| Third Party Services | | Third Party Services | ||||
|-------------------------------------------------------------------------- | |-------------------------------------------------------------------------- | ||||
| | | | ||||
| This file is for storing the credentials for third party services such | | This file is for storing the credentials for third party services such | ||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | return [ | ||||
], | ], | ||||
'openexchangerates' => [ | 'openexchangerates' => [ | ||||
'api_key' => env('OPENEXCHANGERATES_API_KEY', null), | 'api_key' => env('OPENEXCHANGERATES_API_KEY', null), | ||||
], | ], | ||||
'dav' => [ | 'dav' => [ | ||||
'uri' => env('DAV_URI', 'https://proxy/'), | 'uri' => env('DAV_URI', 'https://proxy/'), | ||||
'default_folders' => $dav_folders, | |||||
], | ], | ||||
'activesync' => [ | 'activesync' => [ | ||||
'uri' => env('ACTIVESYNC_URI', 'https://proxy/Microsoft-Server-ActiveSync'), | 'uri' => env('ACTIVESYNC_URI', 'https://proxy/Microsoft-Server-ActiveSync'), | ||||
], | ], | ||||
'wopi' => [ | 'wopi' => [ | ||||
'uri' => env('WOPI_URI', 'http://roundcube/chwala/'), | 'uri' => env('WOPI_URI', 'http://roundcube/chwala/'), | ||||
], | ], | ||||
'webmail' => [ | 'webmail' => [ | ||||
'uri' => env('WEBMAIL_URI', 'http://roundcube/roundcubemail/'), | 'uri' => env('WEBMAIL_URI', 'http://roundcube/roundcubemail/'), | ||||
] | ] | ||||
]; | ]; |