Projects
Kolab:16
iRony
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 40
View file
iRony.spec
Changed
@@ -35,9 +35,10 @@ %endif %global _ap_sysconfdir %{_sysconfdir}/%{httpd_name} +%global upstream_version 0.4.8 Name: iRony -Version: 0.4.8 +Version: 0.4.8.2 Release: 1%{?dist} Summary: DAV for Kolab Groupware @@ -46,7 +47,7 @@ URL: http://kolab.org # From 7ebe1adc8b7c0f818d837d682b2b85202aac9303 -Source0: iRony-%{version}.tar.gz +Source0: iRony-%{upstream_version}.tar.gz Source1: iRony.conf Source2: iRony.logrotate @@ -73,7 +74,7 @@ Kolab Groupware solution. %prep -%setup -q +%setup -q -n %{name}-%{upstream_version} %build
View file
debian.changelog
Changed
@@ -1,6 +1,6 @@ -irony (0.4.8-1~kolab1) unstable; urgency=low +irony (0.4.8.2-1~kolab1) unstable; urgency=low - * PHP 8 fixes + * New release -- Christian Mollekopf <mollekopf@apheleia-it.ch> Fri, 24 Feb 2023 12:12:13 +0100
View file
iRony-0.4.8.tar.gz/lib/Kolab/CalDAV/CalendarBackend.php
Changed
@@ -423,7 +423,7 @@ } // map attachments attribute - $object'_attachments' = $object'attachments'; + $object'_attachments' = !empty($object'attachments') ? $object'attachments' : array(); unset($object'attachments'); // remove categories from object data (only for tasks yet)
View file
iRony-0.4.8.tar.gz/lib/Kolab/CardDAV/LDAPDirectory.php
Changed
@@ -62,7 +62,7 @@ $this->addressBookInfo = array( 'id' => self::DIRECTORY_NAME, 'uri' => self::DIRECTORY_NAME, - '{DAV:}displayname' => $config'name' ?: "LDAP Directory", + '{DAV:}displayname' => !empty($config'name') ? $config'name' : "LDAP Directory", '{urn:ietf:params:xml:ns:carddav}supported-address-data' => new CardDAV\Xml\Property\SupportedAddressData(), 'principaluri' => $principalUri, ); @@ -85,12 +85,12 @@ private function connect() { - if (!isset($this->ldap)) { - $this->ldap = new rcube_ldap($this->config, $this->config'debug'); - $this->ldap->set_pagesize($this->config'sizelimit' ?: 10000); - } + if (!isset($this->ldap)) { + $this->ldap = new rcube_ldap($this->config, $this->config'debug'); + $this->ldap->set_pagesize(!empty($this->config'sizelimit') ? $this->config'sizelimit' : 10000); + } - return $this->ldap->ready ? $this->ldap : null; + return $this->ldap->ready ? $this->ldap : null; } /** @@ -199,7 +199,7 @@ $children = array(); // return cached index - if (!$this->query && !$this->config'searchonly' && $this->cache && ($cached_index = $this->cache->get('index'))) { + if (!$this->query && empty($this->config'searchonly') && $this->cache && ($cached_index = $this->cache->get('index'))) { foreach ($cached_index as $uid => $c) { $obj = array( 'id' => $uid, @@ -214,7 +214,7 @@ } // query LDAP if we have a search query or listing is allowed - if (($this->query || !$this->config'searchonly') && ($ldap = $this->connect())) { + if (($this->query || empty($this->config'searchonly')) && ($ldap = $this->connect())) { // set pagesize from query limit attribute if ($this->query && $this->query->limit) { $this->ldap->set_pagesize(intval($this->query->limit));
View file
iRony.dsc
Changed
@@ -2,7 +2,7 @@ Source: irony Binary: irony Architecture: all -Version: 0.4.8-1~kolab1 +Version: 1:0.4.8.2-1~kolab1 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.kolab.org/
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
.