Projects
Kolab:16
iRony
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 27
View file
iRony.spec
Changed
@@ -37,7 +37,7 @@ %global _ap_sysconfdir %{_sysconfdir}/%{httpd_name} Name: iRony -Version: 0.4.4 +Version: 0.4.5 Release: 1%{?dist} Summary: DAV for Kolab Groupware @@ -185,6 +185,9 @@ %attr(0770,%{httpd_user},%{httpd_group}) %{_localstatedir}/log/%{name} %changelog +* Mon Oct 19 2020 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.4.5-1 +- Release of version 0.4.5 + * Fri Oct 16 2020 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.4.4-1 - Release of version 0.4.4
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +irony (0.4.5-1~kolab1) unstable; urgency=low + + * Release of version 0.4.5 + + -- Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Mon, 19 Oct 2020 12:12:13 +0100 + irony (0.4.4-1~kolab2) unstable; urgency=low * Release of version 0.4.4
View file
iRony-0.4.5.tar.gz/lib/Kolab/CardDAV/LDAPResources.php
Added
@@ -0,0 +1,66 @@ +<?php + +/** + * CardDAV Directory class providing read-only access + * to an LDAP-based resources address book. + */ + +namespace Kolab\CardDAV; + +use \rcube; +use \rcube_ldap; +use \rcube_ldap_generic; +use Sabre\DAV; +use Sabre\DAVACL; +use Sabre\CardDAV\Property; +use Kolab\Utils\VObjectUtils; + +class LDAPResources extends LDAPDirectory +{ + const DIRECTORY_NAME = 'ldap-resources'; + + /** + * Default constructor + */ + function __construct($config, $principalUri, $carddavBackend = null) + { + $this->config = $config; + $this->principalUri = $principalUri; + + $this->addressBookInfo = array( + 'id' => self::DIRECTORY_NAME, + 'uri' => self::DIRECTORY_NAME, + '{DAV:}displayname' => $config['name'] ?: "LDAP Resources", + '{urn:ietf:params:xml:ns:carddav}supported-address-data' => new Property\SupportedAddressData(), + 'principaluri' => $principalUri, + ); + + // used for vcard serialization + $this->carddavBackend = $carddavBackend ?: new ContactsBackend(); + $this->carddavBackend->ldap_resources = $this; + + // initialize cache. We need a different address space from GAL + // so don't mix our caches + $rcube = rcube::get_instance(); + if ($rcube->config->get('kolabdav_res_cache')) { + $this->cache = $rcube->get_cache_shared('kolabdav_res'); + + // expunge cache every now and then + if (rand(0,10) === 0) { + $this->cache->expunge(); + } + } + } + + /** + * Returns the name of the node. + * + * This is used to generate the url. + * + * @return string + */ + function getName() + { + return self::DIRECTORY_NAME; + } +}
View file
iRony-0.4.4.tar.gz/vendor/autoload.php -> iRony-0.4.5.tar.gz/vendor/autoload.php
Changed
@@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitcdf8a7f128c335357e9ae823f2040e43::getLoader(); +return ComposerAutoloaderInitef3ffbf0545085bdea11201abb358b1d::getLoader();
View file
iRony-0.4.4.tar.gz/vendor/composer/autoload_real.php -> iRony-0.4.5.tar.gz/vendor/composer/autoload_real.php
Changed
@@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitcdf8a7f128c335357e9ae823f2040e43 +class ComposerAutoloaderInitef3ffbf0545085bdea11201abb358b1d { private static $loader; @@ -22,15 +22,15 @@ return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitcdf8a7f128c335357e9ae823f2040e43', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitef3ffbf0545085bdea11201abb358b1d', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInitcdf8a7f128c335357e9ae823f2040e43', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitef3ffbf0545085bdea11201abb358b1d', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require_once __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitcdf8a7f128c335357e9ae823f2040e43::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitef3ffbf0545085bdea11201abb358b1d::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) {
View file
iRony-0.4.4.tar.gz/vendor/composer/autoload_static.php -> iRony-0.4.5.tar.gz/vendor/composer/autoload_static.php
Changed
@@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitcdf8a7f128c335357e9ae823f2040e43 +class ComposerStaticInitef3ffbf0545085bdea11201abb358b1d { public static $prefixLengthsPsr4 = array ( 'S' => @@ -53,8 +53,8 @@ public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitcdf8a7f128c335357e9ae823f2040e43::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitcdf8a7f128c335357e9ae823f2040e43::$prefixDirsPsr4; + $loader->prefixLengthsPsr4 = ComposerStaticInitef3ffbf0545085bdea11201abb358b1d::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitef3ffbf0545085bdea11201abb358b1d::$prefixDirsPsr4; }, null, ClassLoader::class); }
View file
iRony.dsc
Changed
@@ -2,7 +2,7 @@ Source: irony Binary: irony Architecture: all -Version: 0.4.4-1~kolab2 +Version: 0.4.5-1~kolab1 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.kolab.org/ @@ -22,5 +22,5 @@ Package-List: iRony deb admin extra Files: - 00000000000000000000000000000000 0 iRony-0.4.4.tar.gz + 00000000000000000000000000000000 0 iRony-0.4.5.tar.gz 00000000000000000000000000000000 0 debian.tar.gz
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.