1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00
5 Client InfCloud
Peter Bieringer edited this page 2025-03-16 13:27:27 +01:00

General

Download

## Example for version 0.13.1
# Download to temporary directory
wget -P /tmp/ https://inf-it.com/open-source/download/InfCloud_0.13.1.zip

Installation

Bundled Installation

Since Radicale 3.5.0 a bundled installation is supported with configuration-change-on-the fly (tested with 0.13.1)

Adjust the destination directory according to your deployment

## Example for version 0.13.1 and Enterprise Linux 9
# Take from temporary directory
# Extract into Radicale's web/internal_data directory
unzip -d /usr/lib/python3.9/site-packages/radicale/web/internal_data/ /tmp/InfCloud_0.13.1.zip

Dedicated Installation

Precondition

  • Radicale is running behind same reverse proxy as "InfCloud" is served and /radicale is forwarded from reverse proxy to local server port

Install

Fedora/Enterprise Linux

## Example for version 0.13.1
# Take from temporary directory
# Extract into public accessible web server directory
unzip -d /var/www/html/ /tmp/InfCloud_0.13.1.zip

Cleanup (common)

Following files can be removed

infcloud/.htaccess
infcloud/readme.txt
infcloud/changelog.txt
infcloud/changelog_carddavmate.txt
infcloud/changelog_caldavzap.txt
infcloud/auth/
infcloud/misc/

# Bundled in addition
infcloud/cache_update.sh

Configuration InfCloud

Bundled Installation

Nothing more to do, configuration will be adjusted on-the-fly

Dedicated Installation

Adjust config.js related to

var globalNetworkCheckSettings={
        href: location.protocol+'//'+location.hostname+
                (location.port ? ':'+location.port: '')+
                location.pathname.replace(RegExp('/+[^/]+/*(index\.html)?$'),'')+
                '/caldav.php/',
        timeOut: 90000,
        lockTimeOut: 10000,
        checkContentType: true,
        settingsAccount: true,
        delegation: true,
        additionalResources: [],
        hrefLabel: null,
        forceReadOnly: null,
        ignoreAlarms: false,
        backgroundCalendars: []
}

like

--- /var/www/html/infcloud/config.js	2015-09-22 15:30:10.000000000 +0200
+++ /var/www/html/infcloud/config.js	2025-03-02 08:15:11.632058206 +0100
@@ -335,11 +335,11 @@
 	href: location.protocol+'//'+location.hostname+
 		(location.port ? ':'+location.port: '')+
 		location.pathname.replace(RegExp('/+[^/]+/*(index\.html)?$'),'')+
-		'/caldav.php/',
+		'/radicale/',
 	timeOut: 90000,
 	lockTimeOut: 10000,
 	checkContentType: true,
-	settingsAccount: true,
+	settingsAccount: false,
 	delegation: true,
 	additionalResources: [],
 	hrefLabel: null,

Configuration Radicale "rights"

# Allow reading base of user collections
[base]
user: .+
collection:
permissions: R

# Allow reading and writing principal collection (same as username)
[principal]
user: .+
collection: {user}
permissions: RW

# Allow reading and writing calendars and address books that are direct
# children of the principal collection
[children]
user: .+
collection: {user}/[^/]+
permissions: rw