Projects
Kolab:16
iRony
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 38
View file
iRony.spec
Changed
@@ -37,7 +37,7 @@ %global _ap_sysconfdir %{_sysconfdir}/%{httpd_name} Name: iRony -Version: 0.4.7 +Version: 0.4.8 Release: 1%{?dist} Summary: DAV for Kolab Groupware
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +irony (0.4.8-1~kolab1) unstable; urgency=low + + * PHP 8 fixes + + -- Christian Mollekopf <mollekopf@apheleia-it.ch> Fri, 24 Feb 2023 12:12:13 +0100 + irony (0.4.7-1~kolab1) unstable; urgency=low * Disable unauthenticated access
View file
iRony-0.4.7.tar.gz/lib/Kolab/CalDAV/CalendarBackend.php -> iRony-0.4.8.tar.gz/lib/Kolab/CalDAV/CalendarBackend.php
Changed
@@ -112,11 +112,11 @@ public function get_storage_folder($id) { // resolve alias name - if ($this->aliases$id) { + if (!empty($this->aliases$id)) { $id = $this->aliases$id; } - if ($this->folders$id) { + if (!empty($this->folders$id)) { DAVBackend::check_storage_folder($this->folders$id); return $this->folders$id; } @@ -180,11 +180,11 @@ $id = $calendarUri; // resolve aliases (calendar by folder name) - if ($this->aliases$calendarUri) { + if (!empty($this->aliases$calendarUri)) { $id = $this->aliases$calendarUri; } - if ($this->calendars$id && empty($this->calendars$id'principaluri')) { + if (!empty($this->calendars$id) && empty($this->calendars$id'principaluri')) { $this->calendars$id'principaluri' = 'principals/' . HTTPBasic::$current_user; }
View file
iRony-0.4.7.tar.gz/lib/Kolab/DAV/Auth/HTTPBasic.php -> iRony-0.4.8.tar.gz/lib/Kolab/DAV/Auth/HTTPBasic.php
Changed
@@ -74,7 +74,7 @@ } // LDAP server failure... send 503 error - if ($auth'kolab_ldap_error') { + if (!empty($auth'kolab_ldap_error')) { throw new ServiceUnavailable('The service is temporarily unavailable (LDAP failure)'); } } @@ -86,7 +86,8 @@ } // authenticate user against the IMAP server - $user_id = $auth'abort' ? 0 : $this->_login($auth'user', $auth'pass', $auth'host', $error); + $error = null; + $user_id = !empty($auth'abort') ? 0 : $this->_login($auth'user', $auth'pass', $auth'host', $error); if ($user_id) { self::$current_user = $auth'user'; @@ -97,12 +98,12 @@ return true; } - if ($error) { - $error_str = rcube::get_instance()->get_storage()->get_error_str(); - } - if (class_exists('kolab_auth')) { - \kolab_auth::log_login_error($auth'user', $error_str ?: $error); + if ($error) { + $error_str = rcube::get_instance()->get_storage()->get_error_str(); + } + + \kolab_auth::log_login_error($auth'user', $error_str ?? null); } // IMAP server failure... send 503 error @@ -192,7 +193,7 @@ } } - if (!$port) { + if (empty($port)) { $port = $default_port; }
View file
iRony-0.4.7.tar.gz/public_html/index.php -> iRony-0.4.8.tar.gz/public_html/index.php
Changed
@@ -145,7 +145,7 @@ $server->setBaseUri($base_uri); // connect logger -if (is_object($logger)) { +if (isset($logger) && is_object($logger)) { $server->addPlugin($logger); }
View file
iRony.dsc
Changed
@@ -2,7 +2,7 @@ Source: irony Binary: irony Architecture: all -Version: 0.4.7-1~kolab1 +Version: 0.4.8-1~kolab1 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.kolab.org/ @@ -15,5 +15,5 @@ Package-List: iRony deb admin extra Files: - 00000000000000000000000000000000 0 iRony-0.4.7.tar.gz + 00000000000000000000000000000000 0 iRony-0.4.8.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
.