Overview

Request 3268 (superseded)

New release 2.4.2.12


kolab-syncroton.spec Changed
x
 
1
@@ -37,7 +37,7 @@
2
 %global upstream_version 2.4.2
3
 
4
 Name:           kolab-syncroton
5
-Version: 2.4.2.11
6
+Version: 2.4.2.12
7
 Release:        1%{?dist}
8
 Summary:        ActiveSync for Kolab Groupware
9
 
10
debian.changelog Changed
7
 
1
@@ -1,4 +1,4 @@
2
-kolab-syncroton (2.4.2.11-0~kolab1) unstable; urgency=low
3
+kolab-syncroton (2.4.2.12-0~kolab1) unstable; urgency=low
4
 
5
   * Release version 2.4.2
6
 
7
kolab-syncroton-2.4.2.tar.gz/lib/kolab_sync_logger.php Changed
31
 
1
@@ -30,6 +30,7 @@
2
 {
3
     public $mode;
4
 
5
+    protected $log_driver;
6
     protected $logfile;
7
     protected $format;
8
     protected $log_dir;
9
@@ -44,6 +45,7 @@
10
 
11
         $this->mode    = intval($mode);
12
         $this->logfile = $rcube->config->get('activesync_log_file');
13
+        $this->log_driver = $rcube->config->get('log_driver');
14
         $this->format  = $rcube->config->get('log_date_format', 'd-M-Y H:i:s O');
15
         $this->log_dir = $rcube->config->get('log_dir');
16
 
17
@@ -149,6 +151,13 @@
18
         $date    = rcube_utils::date_format($this->format);
19
         $logline = sprintf("%s: %s %s\n", $date, $method, $message);
20
 
21
+        // write message with file name when configured to log to STDOUT
22
+        if ($this->log_driver == 'stdout') {
23
+            $stdout = "php://stdout";
24
+            file_put_contents($stdout, $logline, FILE_APPEND);
25
+            return;
26
+        }
27
+
28
         if ($fp = @fopen($logfile, 'a')) {
29
             fwrite($fp, $logline);
30
             fflush($fp);
31
kolab-syncroton-2.4.2.tar.gz/lib/kolab_sync_storage.php Changed
28
 
1
@@ -1749,13 +1749,13 @@
2
         if (strcasecmp($folder, 'INBOX') === 0) {
3
             // INBOX is always inbox, prevent from issues related with a change of
4
             // folder type annotation (it can be initially unset).
5
-            $type = 2;
6
+            $as_type = 2;
7
         } else {
8
-            $type = self::type_kolab2activesync($type);
9
+            $as_type = self::type_kolab2activesync($type);
10
 
11
             // fix type, if there's no type annotation it's detected as UNKNOWN we'll use 'mail' (12)
12
-            if ($type == 1) {
13
-                $type = 12;
14
+            if ($as_type == 1) {
15
+                $as_type = 12;
16
             }
17
         }
18
 
19
@@ -1764,7 +1764,7 @@
20
             'serverId'    => $folder_id,
21
             'parentId'    => count($items) ? $this->folder_id(implode($delim, $items), $type) : 0,
22
             'displayName' => rcube_charset::convert($name, 'UTF7-IMAP', kolab_sync::CHARSET),
23
-            'type'        => $type,
24
+            'type'        => $as_type,
25
             // for internal use
26
             'imap_name'   => $folder,
27
         ;
28
kolab-syncroton-2.4.2.tar.gz/phpstan.neon Changed
9
 
1
@@ -11,7 +11,6 @@
2
     ignoreErrors:
3
         - |Access to an undefined property Syncroton_Model_.*|
4
         - |Access to offset .* on an unknown class An.|
5
-        - |Property rcube::\$user .*|
6
 
7
     paths:
8
         - lib
9
kolab-syncroton.dsc Changed
10
 
1
@@ -2,7 +2,7 @@
2
 Source: kolab-syncroton
3
 Binary: kolab-syncroton
4
 Architecture: all
5
-Version: 1:2.4.2.11-1~kolab1
6
+Version: 1:2.4.2.12-1~kolab1
7
 Maintainer: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com>
8
 Uploaders: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com>
9
 Homepage: http://www.kolab.org/
10
Refresh
Refresh
Request History
mollekopf's avatar

mollekopf created request about 1 year ago

New release 2.4.2.12