Projects
Kolab:16:Testing:Candidate
kolab-freebusy
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 12
View file
kolab-freebusy.spec
Changed
@@ -24,7 +24,7 @@ %global upstream_version 1.1.2 Name: kolab-freebusy -Version: 1.1.2.2 +Version: 1.1.2.3 Release: 1%{?dist} Summary: Kolab Free/Busy Web Presentation Layer
View file
debian.changelog
Changed
@@ -11,13 +11,13 @@ -- Christoph Erhardt <kolab@sicherha.de> Thu, 06 Jan 2022 11:17:36 +0100 -kolab-freebusy (1.1.2.2~kolab3) unstable; urgency=low +kolab-freebusy (1.1.2.3~kolab3) unstable; urgency=low * bring postinst script in line with other web packages -- Daniel Hoffend <dh@dotlan.net> Tue, 12 Nov 2019 21:45:23 +0100 -kolab-freebusy (1.1.2.2~kolab2) unstable; urgency=low +kolab-freebusy (1.1.2.3~kolab2) unstable; urgency=low * Release of version 1.1.2
View file
kolab-freebusy-1.1.2.tar.gz/lib/Kolab/Config.php
Changed
@@ -175,7 +175,7 @@ } else if (is_array($config)) { $pkey = rtrim($prefix, '.'); - $this->data$pkey = is_array($this->data$pkey) ? array_replace_recursive((array)$this->data$pkey, $config) : $config; + $this->data$pkey = is_array($this->data$pkey ?? null) ? array_replace_recursive((array)$this->data$pkey, $config) : $config; } foreach ((array)$config as $key => $val) {
View file
kolab-freebusy-1.1.2.tar.gz/lib/Kolab/FreeBusy/Directory.php
Changed
@@ -78,7 +78,7 @@ // forward request to Source instance if ($data = $source->getFreeBusyData($this->postprocessAttrib($user), $extended)) { // send data through the according format converter - $converter = Format::factory($this->config'format'); + $converter = Format::factory($this->config'format' ?? null); $data = $converter->toVCalendar($data); // cache the generated data @@ -117,4 +117,4 @@ return $attrib; } -} \ No newline at end of file +}
View file
kolab-freebusy-1.1.2.tar.gz/lib/Kolab/FreeBusy/DirectoryLDAP.php
Changed
@@ -113,10 +113,10 @@ // result attributes $attribs = array_unique(array_merge( - Config::convert($this->config'mail_attributes', Config::ARR), - Config::convert($this->config'attributes', Config::ARR), // deprecated - Config::convert($this->config'resolve_dn', Config::ARR), - Config::convert($this->config'resolve_attribute', Config::ARR) + Config::convert($this->config'mail_attributes' ?? null, Config::ARR), + Config::convert($this->config'attributes' ?? null, Config::ARR), // deprecated + Config::convert($this->config'resolve_dn' ?? null, Config::ARR), + Config::convert($this->config'resolve_attribute' ?? null, Config::ARR) )); // search with configured base_dn and filter
View file
kolab-freebusy-1.1.2.tar.gz/lib/Kolab/FreeBusy/SourceIMAP.php
Changed
@@ -139,7 +139,7 @@ } // set ACL (temporarily) - if ($config'acl') { + if ($config'acl' ?? null) { $folder->_old_acl = $folder->get_myrights(); $imap->set_acl($folder->name, $config'user', $config'acl'); } @@ -147,7 +147,7 @@ foreach ($folder->select($query) as $event) { //$log->debug('Processing event', $event); - if ($event'cancelled') { + if ($event'cancelled' ?? null) { continue; } @@ -178,15 +178,16 @@ // avoid duplicate entries $key = $event'start'->format('c') . '/' . $event'end'->format('c'); - if ($seen$key++) { + if ($seen$key) { $log->debug('Skipping duplicate event at ' . $key, array($event'uid', $event'title')); continue; } + $seen$key = true; // copied from libvcalendar::_to_ical() $ve = $this->to_vevent($event, $calendar, $user_email); - if ($event'recurrence') { + if ($event'recurrence' ?? null) { if ($exdates = $event'recurrence''EXDATE') unset($event'recurrence''EXDATE'); if ($rdates = $event'recurrence''RDATE') @@ -308,7 +309,7 @@ private function imap_disconnect($imap, $config, $folders) { // reset ACL - if ($config'acl' && !empty($folders)) { + if (($config'acl' ?? null) && !empty($folders)) { foreach ($folders as $folder) { $imap->set_acl($folder->name, $config'user', $folder->_old_acl); } @@ -352,7 +353,7 @@ } } - if (!$is_organizer && is_array($event'attendees')) { + if (!$is_organizer && is_array($event'attendees' ?? null)) { foreach ($event'attendees' as $attendee) { if (in_array($attendee'email', $user_email)) { $status = $attendee'status';
View file
kolab-freebusy-1.1.2.tar.gz/lib/Kolab/FreeBusy/Utils.php
Changed
@@ -99,7 +99,7 @@ } // range from-to specified (IPv4 only) - list($lower, $upper) = explode('-', $range); + list($lower, $upper) = array_pad(explode('-', $range), 2, null); if (strlen($upper) && !$ipv6) { if ($ipbin >= ip2long(trim($lower)) && $ipbin <= ip2long(trim($upper))) { return true; @@ -107,7 +107,7 @@ } // subnet/length is given - list($subnet, $bits) = explode('/', $range); + list($subnet, $bits) = array_pad(explode('/', $range), 2, null); // IPv6 subnet if (strlen($bits) && $ipv6) {
View file
kolab-freebusy-1.1.2.tar.gz/public_html/index.php
Changed
@@ -56,7 +56,7 @@ $log = Logger::get('web'); - $uri = $_SERVER'REDIRECT_URL'; + $uri = $_SERVER'REDIRECT_URL' ?? null; // we're not always redirected here if (empty($uri)) { @@ -66,7 +66,7 @@ $log->addDebug('Request (redirect): ' . $uri, array('ip' => $remote_ip, 'trusted' => $trusted_ip)); } - list($uri, $args) = explode('?', $uri); + list($uri, $args) = array_pad(explode('?', $uri), 2, null); // check HTTP authentication if (!$trusted_ip && $config->httpauth) { @@ -84,7 +84,7 @@ header('Content-type: text/plain; charset=utf-8', true); // analyse request - $user = $_SERVER'FREEBUSY_USER'; + $user = $_SERVER'FREEBUSY_USER' ?? null; $extended = !empty($_SERVER'FREEBUSY_EXTENDED'); if (!$user) {
View file
kolab-freebusy.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-freebusy Binary: kolab-freebusy Architecture: all -Version: 1.1.2.2-1~kolab1 +Version: 1.1.2.3-1~kolab1 Maintainer: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Homepage: http://www.kolab.org Standards-Version: 3.9.3
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
.