[tryton-debian-vcs] tryton-modules-calendar-todo branch debian-jessie-3.4 updated. debian/3.4.1-1-4-gb5ad778
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun May 24 12:18:00 UTC 2015
The following commit has been merged in the debian-jessie-3.4 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-calendar-todo.git;a=commitdiff;h=debian/3.4.1-1-4-gb5ad778
commit b5ad778f6e7508de22acca898e45c8f666c77240
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 23 21:07:23 2015 +0200
Releasing debian version 3.4.2-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index 87cda98..bf9a3d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tryton-modules-calendar-todo (3.4.2-1) unstable; urgency=medium
+
+ * Wrapping and sorting control files (wrap-and-sort -bts).
+ * Setting the branch in the watch file to the fixed version 3.4.
+ * Merging upstream version 3.4.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Sat, 23 May 2015 21:07:23 +0200
+
tryton-modules-calendar-todo (3.4.1-1) unstable; urgency=medium
* Adding actual upstream signing key.
commit 1b47ffcfd04820744d0d38aa5a18f6a3a39f201d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 23 21:07:22 2015 +0200
Merging upstream version 3.4.2.
diff --git a/CHANGELOG b/CHANGELOG
index 5945e8c..a80b57f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.4.2 - 2015-05-22
+* Bug fixes (see mercurial logs for details)
+
Version 3.4.1 - 2015-03-01
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 29300b5..b910cb1 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_calendar_todo
-Version: 3.4.1
+Version: 3.4.2
Summary: Tryton module to add TODO on CalDAV
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/todo.py b/todo.py
index d5043ea..59c402b 100644
--- a/todo.py
+++ b/todo.py
@@ -133,13 +133,14 @@ class Todo(ModelSQL, ModelView):
# Migrate from 1.4: remove classification_public
ModelData = pool.get('ir.model.data')
Rule = pool.get('ir.rule')
- models_data = ModelData.search([
- ('fs_id', '=', 'rule_group_read_todo_line3'),
- ('module', '=', module_name),
- ], limit=1)
- if models_data:
- model_data, = models_data
- Rule.delete([Rule(model_data.db_id)])
+ with Transaction().set_user(0):
+ models_data = ModelData.search([
+ ('fs_id', '=', 'rule_group_read_todo_line3'),
+ ('module', '=', module_name),
+ ], limit=1)
+ if models_data:
+ model_data, = models_data
+ Rule.delete([Rule(model_data.db_id)])
super(Todo, cls).__register__(module_name)
@staticmethod
@@ -226,7 +227,7 @@ class Todo(ModelSQL, ModelView):
if x.status != 'declined'
and x.email != todo.parent.organizer]
if attendee_emails:
- with Transaction().set_context(_check_access=False):
+ with Transaction().set_user(0):
calendars = Calendar.search([
('owner.email', 'in', attendee_emails),
])
@@ -336,7 +337,7 @@ class Todo(ModelSQL, ModelView):
if x.status != 'declined'
and x.email != todo.parent.organizer]
if attendee_emails:
- with Transaction().set_context(_check_access=False):
+ with Transaction().set_user(0):
todo2s = cls.search([
('uuid', '=', todo.uuid),
('calendar.owner.email', 'in', attendee_emails),
@@ -346,10 +347,10 @@ class Todo(ModelSQL, ModelView):
for todo2 in todo2s:
if todo2.calendar.owner.email in attendee_emails:
attendee_emails.remove(todo2.calendar.owner.email)
- with Transaction().set_context(_check_access=False):
+ with Transaction().set_user(0):
cls.write(todos, todo._todo2update())
if attendee_emails:
- with Transaction().set_context(_check_access=False):
+ with Transaction().set_user(0):
calendars = Calendar.search([
('owner.email', 'in', attendee_emails),
])
@@ -402,7 +403,7 @@ class Todo(ModelSQL, ModelView):
attendee_emails = [x.email for x in todo.parent.attendees
if x.email != todo.parent.organizer]
if attendee_emails:
- with Transaction().set_context(_check_access=False):
+ with Transaction().set_user(0):
todos_delete = cls.search([
('uuid', '=', todo.uuid),
('calendar.owner.email', 'in', attendee_emails),
@@ -416,7 +417,7 @@ class Todo(ModelSQL, ModelView):
organizer = todo.organizer
else:
organizer = todo.parent.organizer
- with Transaction().set_context(_check_access=False):
+ with Transaction().set_user(0):
todo2s = cls.search([
('uuid', '=', todo.uuid),
('calendar.owner.email', '=', organizer),
@@ -1073,7 +1074,7 @@ class TodoAttendee(AttendeeMixin, ModelSQL, ModelView):
attendee_emails = [x.email for x in todo.parent.attendees
if x.email != todo.parent.organizer]
if attendee_emails:
- with Transaction().set_context(_check_access=False):
+ with Transaction().set_user(0):
todos = Todo.search([
('uuid', '=', todo.uuid),
('calendar.owner.email', 'in', attendee_emails),
@@ -1122,7 +1123,7 @@ class TodoAttendee(AttendeeMixin, ModelSQL, ModelView):
attendee_emails = [x.email for x in todo.parent.attendees
if x.email != todo.parent.organizer]
if attendee_emails:
- with Transaction().set_context(_check_access=False):
+ with Transaction().set_user(0):
attendees2 = cls.search([
('todo.uuid', '=', todo.uuid),
('todo.calendar.owner.email', 'in',
@@ -1157,7 +1158,7 @@ class TodoAttendee(AttendeeMixin, ModelSQL, ModelView):
attendee_emails = [x.email for x in todo.attendees
if x.email != todo.parent.organizer]
if attendee_emails:
- with Transaction().set_context(_check_access=False):
+ with Transaction().set_user(0):
attendees = cls.search([
('todo.uuid', '=', todo.uuid),
('todo.calendar.owner.email', 'in',
@@ -1175,7 +1176,7 @@ class TodoAttendee(AttendeeMixin, ModelSQL, ModelView):
organizer = todo.organizer
else:
organizer = todo.parent.organizer
- with Transaction().set_context(_check_access=False):
+ with Transaction().set_user(0):
attendees = cls.search([
('todo.uuid', '=', todo.uuid),
('todo.calendar.owner.email', '=', organizer),
diff --git a/tryton.cfg b/tryton.cfg
index febb018..f780c0a 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.4.1
+version=3.4.2
depends:
calendar
ir
diff --git a/trytond_calendar_todo.egg-info/PKG-INFO b/trytond_calendar_todo.egg-info/PKG-INFO
index 95d0801..a0a3943 100644
--- a/trytond_calendar_todo.egg-info/PKG-INFO
+++ b/trytond_calendar_todo.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-calendar-todo
-Version: 3.4.1
+Version: 3.4.2
Summary: Tryton module to add TODO on CalDAV
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-calendar-todo
More information about the tryton-debian-vcs
mailing list