42 Commits

Author SHA1 Message Date
Indico Team
01406b3d2a Fix empty lines after file headers 2020-11-12 14:47:29 +01:00
Indico Team
f2755b4be4 Run modernize, pyupgrade, autoflake and isort 2020-11-12 14:47:29 +01:00
Indico Team
43c703e1b4 Happy new year 2020 🎆 2020-01-16 11:32:21 +01:00
Indico Team
4b39714dbf Update license headers (and add missing) 2019-05-08 15:41:55 +02:00
Adrian Moennich
9f1e29d293 LiveSync: Only get excluded categories if needed 2018-05-16 14:43:18 +02:00
Adrian Moennich
81a2141d63 LiveSync: Add more request-level caching
Avoids spamming queries when moving lots of events
2018-02-01 11:12:22 +01:00
Adrian Moennich
07ed709b39 Merge branch 'v2.1-dev' 2018-01-12 16:05:24 +01:00
Indico Team
44e2d03c3b Happy new year 2018 🎆 2018-01-09 14:03:14 +01:00
Adrian Moennich
c2ddec41bf LiveSync: Adapt to roles=>permissions rename 2017-11-16 15:50:22 +01:00
Adrian Moennich
323e4d605b LiveSync: Remove legacy event references 2017-10-10 14:48:45 +02:00
Adrian Moennich
b8aca1b58a isort everything 2017-09-14 17:47:45 +02:00
Adrian Moennich
c300a6a829 Rename event_new to event 2017-08-11 11:46:25 +02:00
Adrian Moennich
1d864b55c5 LiveSync: Ignore unrelated ACL changes 2017-04-26 09:33:09 +02:00
Adrian Moennich
87737f516a LiveSync: Remove request-retry logic 2017-02-23 15:25:14 +01:00
Adrian Moennich
d59747daed LiveSync: Use new event update signals 2017-02-17 11:42:56 +01:00
Indico Team
4515d8c0a6 Happy new year 2017! 2017-01-10 15:03:10 +01:00
Pedro Ferreira
397fea4cc7 Unused import 2016-08-22 17:09:52 +02:00
Pedro Ferreira
230848dbd9 LiveSync: add sessions, use proper DB queries 2016-08-12 11:34:50 +02:00
Adrian Moennich
73520f11b4 LiveSync: fix category check for attachment events 2016-08-12 11:17:41 +02:00
Adrian Moennich
4505f78024 LiveSync: Remove obsolete imports
It's still defunct but that way it does not break at import time or when
running a zodb importer
2016-07-27 14:19:18 +02:00
Adrian Moennich
2b4bef6cae LiveSync: comment out another obsolete signal handler 2016-07-27 14:18:28 +02:00
Adrian Moennich
425b7e5235 LiveSync: Do not check for legacy category 2016-07-27 14:18:28 +02:00
Adrian Moennich
a00826990b LiveSync: comment out obsolete signal handlers
That way we know what to adapt later but don't fail when the signals are
called with new objects
2016-07-27 14:18:28 +02:00
Adrian Moennich
3e8396f5ae LiveSync: Fix category check for attachment events 2016-07-27 14:18:28 +02:00
Alejandro Avilés
3585e0a11d Send the actual object on attachment update 2016-06-21 17:05:38 +02:00
Adrian Moennich
1481d75966 LiveSync: Fix error when changing session note 2016-04-20 09:33:41 +02:00
Adrian Moennich
a0687c97ab LiveSync: Ignore acl entry changes for new objects 2016-04-13 02:12:03 +02:00
Adrian Moennich
e5d5926780 LiveSync: Adapt to new objects 2016-04-13 01:54:25 +02:00
Adrian Moennich
4f59e4b2a6 LiveSync: Remove title_changed (unused) 2016-04-13 01:54:25 +02:00
Indico Team
b16a368ba1 Happy new year 2016!
Bump license headers to 2016
2016-01-01 04:59:45 +01:00
Adrian Moennich
8d3eb9f970 LiveSync: Handle acl.entry_changed signal
Used for manager list changes
2015-09-29 17:52:42 +02:00
Adrian Moennich
07e7da5739 LiveSync: Subscribe to attachment signals 2015-07-08 22:48:02 +02:00
Alejandro Avilés
1464354081 LiveSync: Connect with note signals 2015-07-07 11:03:08 +02:00
Adrian Moennich
ab6daa662e Livesync: Ignore updates for deleted items 2015-03-12 13:56:49 +01:00
Adrian Moennich
1e2142be9a Livesync: Do not break when moving an event 2015-03-05 11:16:42 +01:00
Adrian Moennich
69e07db8fc Livesync: Handle exclusion when populating queue
Also fix deletion handling
2015-03-04 17:37:18 +01:00
Indico Team
79c567eab0 Unify file headers and bump copyright year to 2015 2015-01-22 12:07:32 +01:00
Adrian Moennich
b330b3d367 Use new signal namespaces 2014-11-20 16:26:22 +01:00
Adrian Moennich
efabd574d6 LiveSync: Remove debug print statements 2014-11-20 16:24:55 +01:00
Adrian Moennich
2834441d06 Fix queue population 2014-11-06 15:49:44 +01:00
Adrian Moennich
de5baca42f Refactor signal handler to not use a class 2014-11-04 12:30:42 +01:00
Adrian Moennich
2dd972455c Populate the queue on changes 2014-11-04 12:18:53 +01:00