[tryton-debian-vcs] tryton-modules-calendar branch debian-jessie-3.0 updated. debian/3.0.3-1-2-ga23fdfe
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Jul 15 14:20:15 UTC 2015
The following commit has been merged in the debian-jessie-3.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-calendar.git;a=commitdiff;h=debian/3.0.3-1-2-ga23fdfe
commit a23fdfe7e56780a4b3a8267dfd864418e7029c2e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jul 15 12:43:44 2015 +0200
Releasing debian version 3.0.5-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index c245538..dd0f1b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-calendar (3.0.5-1) unstable; urgency=medium
+
+ * Merging upstream version 3.0.5.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Wed, 15 Jul 2015 12:43:44 +0200
+
tryton-modules-calendar (3.0.3-1) unstable; urgency=medium
* Removing LC_ALL=C.UTF-8 as build environment.
commit 301abfd0be7d282970314eaf47fedc795f8d1166
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jul 15 12:43:43 2015 +0200
Merging upstream version 3.0.5.
diff --git a/CHANGELOG b/CHANGELOG
index a9ce40e..6deb5b9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,9 @@
+Version 3.0.5 - 2015-07-13
+* Bug fixes (see mercurial logs for details)
+
+Version 3.0.4 - 2015-05-22
+* Bug fixes (see mercurial logs for details)
+
Version 3.0.3 - 2015-03-01
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 9723488..1548f7f 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_calendar
-Version: 3.0.3
+Version: 3.0.5
Summary: Tryton module for CalDAV
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/caldav.py b/caldav.py
index a5fd3b1..e32813a 100644
--- a/caldav.py
+++ b/caldav.py
@@ -298,7 +298,7 @@ def do_POST(self):
except DAV_Error, exception:
ec, _ = exception
return self.send_status(ec)
- self.send_body_chunks(DATA, '200', 'OK', 'OK')
+ self.send_body(DATA, 200, 'OK', 'OK')
return
return _prev_do_POST(self)
diff --git a/calendar_.py b/calendar_.py
index df155e3..1725fee 100644
--- a/calendar_.py
+++ b/calendar_.py
@@ -121,24 +121,6 @@ class Calendar(ModelSQL, ModelView):
ical.vevent_list.extend(ical2.vevent_list)
return ical
- @property
- def _fbtype(self):
- '''
- Return the freebusy type for give transparent and status
- '''
- if self.transp == 'opaque':
- if not self.status or self.status == 'confirmed':
- fbtype = 'BUSY'
- elif self.status == 'cancelled':
- fbtype = 'FREE'
- elif self.status == 'tentative':
- fbtype = 'BUSY-TENTATIVE'
- else:
- fbtype = 'BUSY'
- else:
- fbtype = 'FREE'
- return fbtype
-
@classmethod
def freebusy(cls, calendar_id, dtstart, dtend):
'''
@@ -546,6 +528,24 @@ class Event(ModelSQL, ModelView):
def search_calendar_field(cls, name, clause):
return [('calendar.' + name[9:],) + tuple(clause[1:])]
+ @property
+ def _fbtype(self):
+ '''
+ Return the freebusy type for give transparent and status
+ '''
+ if self.transp == 'opaque':
+ if not self.status or self.status == 'confirmed':
+ fbtype = 'BUSY'
+ elif self.status == 'cancelled':
+ fbtype = 'FREE'
+ elif self.status == 'tentative':
+ fbtype = 'BUSY-TENTATIVE'
+ else:
+ fbtype = 'BUSY'
+ else:
+ fbtype = 'FREE'
+ return fbtype
+
@classmethod
def validate(cls, events):
super(Event, cls).validate(events)
diff --git a/tryton.cfg b/tryton.cfg
index 8eec11f..19abd41 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.0.3
+version=3.0.5
depends:
ir
res
diff --git a/trytond_calendar.egg-info/PKG-INFO b/trytond_calendar.egg-info/PKG-INFO
index 2e53993..f918d42 100644
--- a/trytond_calendar.egg-info/PKG-INFO
+++ b/trytond_calendar.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-calendar
-Version: 3.0.3
+Version: 3.0.5
Summary: Tryton module for CalDAV
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-calendar
More information about the tryton-debian-vcs
mailing list