tine20
6 years ago0010454: cli script for comparing calendars
Philipp Schüle [Fri, 14 Nov 2014 11:17:08 +0000 (12:17 +0100)]
0010454: cli script for comparing calendars

* ignore events only in displaycontainer

https://forge.tine20.org/view.php?id=10454

Change-Id: Ie0b42a66441bc4978b3845fa10f5a16c13d2e507
Reviewed-on: http://gerrit.tine20.com/customers/1358
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoRevert "respect deleted attendee in event search"
Philipp Schüle [Fri, 14 Nov 2014 09:45:35 +0000 (10:45 +0100)]
Revert "respect deleted attendee in event search"

-> this is wrong as it removes events with "other" deleted attendee

This reverts commit 3656ce71c238ffc3a6d3b30c842a19422a58d439.

Change-Id: I008f1b9b07c99255621450141f5e44b3183363f8
Reviewed-on: http://gerrit.tine20.com/customers/1357
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010464: cli script for repairing attendee
Philipp Schüle [Thu, 13 Nov 2014 20:52:16 +0000 (21:52 +0100)]
0010464: cli script for repairing attendee

* adds cli/controller functions and test
* adds isRecurInstance helper to event model

https://forge.tine20.org/view.php?id=10464

Change-Id: I0a2a17fe8673d88162bab63893ceb76fc6fd1787
Reviewed-on: http://gerrit.tine20.com/customers/1356
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010454: cli script for comparing calendars
Philipp Schüle [Thu, 13 Nov 2014 16:40:14 +0000 (17:40 +0100)]
0010454: cli script for comparing calendars

* adds new cli function with test
* echo report (CLI)

https://forge.tine20.org/view.php?id=10454

Change-Id: I947231097c80d1e069574fe647a63bab579ecf84
Reviewed-on: http://gerrit.tine20.com/customers/1355
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agorespect deleted attendee in event search
Philipp Schüle [Thu, 13 Nov 2014 11:20:48 +0000 (12:20 +0100)]
respect deleted attendee in event search

Change-Id: Iefb36a421ad124c694e947cbbb99fffc6b9e7ea1
Reviewed-on: http://gerrit.tine20.com/customers/1354
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010449: allow to ignore data when importing ics
Philipp Schüle [Mon, 10 Nov 2014 21:03:25 +0000 (22:03 +0100)]
0010449: allow to ignore data when importing ics

* allows to ignore alarms, attachments, attendee, ... on ics import
* improves CLI error message if import fails

https://forge.tine20.org/mantisbt/view.php?id=10449

Change-Id: I5fd775039041937bf2b5342130f0672878351c59
Reviewed-on: http://gerrit.tine20.com/customers/1351
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
6 years agolowers log level for deprecated message
Philipp Schüle [Tue, 11 Nov 2014 19:59:32 +0000 (20:59 +0100)]
lowers log level for deprecated message

Change-Id: I9ffbc1c5edda61e0c3f20850c1ce31531b589990
Reviewed-on: http://gerrit.tine20.com/customers/1352
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoimproves alarmAckReport: add recurring events and show period
Philipp Schüle [Fri, 7 Nov 2014 21:12:09 +0000 (22:12 +0100)]
improves alarmAckReport: add recurring events and show period

Change-Id: Ic2ee1d2632d2959726d7122eb3e684a1966d4946
Reviewed-on: http://gerrit.tine20.com/customers/1346
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoadjust function signature of fromTine20RecordSet in json converters
Philipp Schüle [Fri, 7 Nov 2014 20:49:58 +0000 (21:49 +0100)]
adjust function signature of fromTine20RecordSet in json converters

Change-Id: Ice90565ad6b5a2656a7a0a39e8b2d6fbaa8afa1e
Reviewed-on: http://gerrit.tine20.com/customers/1345
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoimproves sorting and logging of deleteDuplicateEvents
Philipp Schüle [Mon, 10 Nov 2014 14:11:17 +0000 (15:11 +0100)]
improves sorting and logging of deleteDuplicateEvents

Change-Id: Ifa521a6501f2eb72939170c8696238f26dee9a92
Reviewed-on: http://gerrit.tine20.com/customers/1350
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0008364: saving phone settings should close session writing
Philipp Schüle [Fri, 7 Nov 2014 10:26:31 +0000 (11:26 +0100)]
0008364: saving phone settings should close session writing

https://forge.tine20.org/mantisbt/view.php?id=8364

Change-Id: I0d35ae9468bf564d7af499b6eea6187e9bb76133
Reviewed-on: http://gerrit.tine20.com/customers/1341
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoadds index for id column of table container_content
Philipp Schüle [Fri, 7 Nov 2014 11:50:31 +0000 (12:50 +0100)]
adds index for id column of table container_content

* we detected some slow queries that used the id col in a where part

Change-Id: Ia961672b84a0e1263bf8b0cabca39ba5abc3925a
Reviewed-on: http://gerrit.tine20.com/customers/1343
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010439: require Syncroton 1.1.0
Philipp Schüle [Fri, 7 Nov 2014 15:28:48 +0000 (16:28 +0100)]
0010439: require Syncroton 1.1.0

https://forge.tine20.org/mantisbt/view.php?id=10439

Change-Id: Ie09f1c116ddd409890617e63ce047ceaaa00a91a
Reviewed-on: http://gerrit.tine20.com/customers/1344
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010435: report script for acknowledged alarms
Philipp Schüle [Thu, 6 Nov 2014 17:01:19 +0000 (18:01 +0100)]
0010435: report script for acknowledged alarms

https://forge.tine20.org/mantisbt/view.php?id=10435

Change-Id: Ie8ef63502fc25598cc4e264e375b64b424eda3ee
Reviewed-on: http://gerrit.tine20.com/customers/1338
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010433: save access log / client information when acknowledging alarm
Philipp Schüle [Thu, 6 Nov 2014 15:58:48 +0000 (16:58 +0100)]
0010433: save access log / client information when acknowledging alarm

* adds clienttype + ip to alarm options
* save current access log record in registry

https://forge.tine20.org/mantisbt/view.php?id=10433

Change-Id: I3f3d1d56ca4416f61fff63449689d031f2ab239b
Reviewed-on: http://gerrit.tine20.com/customers/1337
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoremoves sensitive information from smtp config DEBUG log
Philipp Schüle [Thu, 6 Nov 2014 11:27:17 +0000 (12:27 +0100)]
removes sensitive information from smtp config DEBUG log

Change-Id: I609f8bdd23bd2fbf8fe1d394013c118460b17860
Reviewed-on: http://gerrit.tine20.com/customers/1333
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoallows to pass params to deleteDuplicateEvents CLI fn
Philipp Schüle [Mon, 3 Nov 2014 10:04:52 +0000 (11:04 +0100)]
allows to pass params to deleteDuplicateEvents CLI fn

* and exit with return = 1 code if duplicates could be found
* improves duplicate detection

Change-Id: Ibdfbb85ef21c012fcaafc3af73fecd4f9ff3e288
Reviewed-on: http://gerrit.tine20.com/customers/1325
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010345: create synced events even if the id already exists
Philipp Schüle [Mon, 3 Nov 2014 09:20:15 +0000 (10:20 +0100)]
0010345: create synced events even if the id already exists

* adds another ics import
* reactivates test

https://forge.tine20.org/mantisbt/view.php?id=10345

Change-Id: Ibb1cd711a4394fb97a2aa916d5073374afd3eac3
Reviewed-on: http://gerrit.tine20.com/customers/1324
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agomore container query optimization
Lars Kneschke [Thu, 6 Nov 2014 17:42:31 +0000 (18:42 +0100)]
more container query optimization

Change-Id: I90b95d7f19be1461bca8bf37e0357a1fdecc337e
Reviewed-on: http://gerrit.tine20.com/customers/1339
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoimproves "only id" container fetching (getContainerByACL)
Philipp Schüle [Thu, 6 Nov 2014 14:07:38 +0000 (15:07 +0100)]
improves "only id" container fetching (getContainerByACL)

Change-Id: Iffacafbd1c617f74705af559ffb48f0eb76f487f
Reviewed-on: http://gerrit.tine20.com/customers/1336
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
6 years agoFelamimail_Controller_Message_Send: original_id might be an array
Philipp Schüle [Tue, 4 Nov 2014 13:54:55 +0000 (14:54 +0100)]
Felamimail_Controller_Message_Send: original_id might be an array

* handle this case and log NOTICE

Change-Id: I05d3753af21ac722c1bda1276942b7ddad4b1532
Reviewed-on: http://gerrit.tine20.com/customers/1331
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010421: could not delete resource if resource container got deleted
Philipp Schüle [Mon, 3 Nov 2014 15:19:17 +0000 (16:19 +0100)]
0010421: could not delete resource if resource container got deleted

* catch "not found" exception if container already got deleted

https://forge.tine20.org/mantisbt/view.php?id=10421

Change-Id: I3c8871ab3975c7dda608fa57c7a4c5261a22361c
Reviewed-on: http://gerrit.tine20.com/customers/1327
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010417: Exdate update doesn't update base event container content_seq
Philipp Schüle [Thu, 30 Oct 2014 14:43:48 +0000 (15:43 +0100)]
0010417: Exdate update doesn't update base event container content_seq

https://forge.tine20.org/mantisbt/view.php?id=10417

Change-Id: I3af7b458ec9b7f7b90c10ab377504f57ba735f80
Reviewed-on: http://gerrit.tine20.com/customers/1321
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years ago0010347: fix failing tests in Sales_JsonTest (user is not resolved)
Alexander Stintzing [Wed, 29 Oct 2014 13:13:36 +0000 (14:13 +0100)]
0010347: fix failing tests in Sales_JsonTest (user is not resolved)

it looks like the user could not be resolved in some cases.
might be a modelconfig problem. we need more debugging there
to be able to fix this.

Change-Id: If07cc545140a4d6b7a7f36c0466d1608e13c42f0
Reviewed-on: http://gerrit.tine20.com/customers/1317
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agochecks if user has right for Tasks application
Philipp Schüle [Thu, 30 Oct 2014 11:03:38 +0000 (12:03 +0100)]
checks if user has right for Tasks application

... before fetching Tasks collections in getChildren()

Change-Id: I7f437a3e2bda0e1bbecf79ae87d1011d61f9c5a5
Reviewed-on: http://gerrit.tine20.com/customers/1320
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010285: CalDAV / CardDav stopped working after Koriander update
Philipp Schüle [Fri, 24 Oct 2014 15:57:09 +0000 (17:57 +0200)]
0010285: CalDAV / CardDav stopped working after Koriander update

* adds some logging when principals could not be found

https://forge.tine20.org/mantisbt/view.php?id=10285

Change-Id: Ib6f98ae093400d6896a834450860b6e079ce9cee
Reviewed-on: https://gerrit.tine20.org/tine20/2937
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago10275: Fail to intelligent add resources to an new entry
sstamer [Fri, 24 Oct 2014 12:20:40 +0000 (14:20 +0200)]
10275: Fail to intelligent add resources to an new entry

distinguish between user and resource

https://forge.tine20.org/mantisbt/view.php?id=10275

Change-Id: Ib60ba899ed1d0b398c31cdbedd3625adff7d88e4
Reviewed-on: http://gerrit.tine20.com/customers/1297
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoModelConfig: Allow to render float as money
Alexander Stintzing [Wed, 29 Oct 2014 11:28:59 +0000 (12:28 +0100)]
ModelConfig: Allow to render float as money

Change-Id: I5785659217c0820827a05b7f457b650d5003dedf
Reviewed-on: http://gerrit.tine20.com/customers/1315
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010405: adopt testAdoptAlarmTimeOfYearlyEvent
Philipp Schüle [Mon, 27 Oct 2014 10:44:10 +0000 (11:44 +0100)]
0010405: adopt testAdoptAlarmTimeOfYearlyEvent

... by setting dynamic year depending on current date

https://forge.tine20.org/mantisbt/view.php?id=10405

Change-Id: Id41337edd37af598c00a53089b529a920c2886e1
Reviewed-on: http://gerrit.tine20.com/customers/1299
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010397: Allow caldav updates for OSX 10.10 ical
Philipp Schüle [Thu, 23 Oct 2014 14:10:29 +0000 (16:10 +0200)]
0010397: Allow caldav updates for OSX 10.10 ical

* adds support for Mac OSX 10.10

https://forge.tine20.org/mantisbt/view.php?id=10397

Change-Id: I007d5ce9b24c793e1d2f1f5734a994fa121e11e1
Reviewed-on: http://gerrit.tine20.com/customers/1296
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agohandles "no user object available"-case
Philipp Schüle [Wed, 22 Oct 2014 09:52:30 +0000 (11:52 +0200)]
handles "no user object available"-case

Change-Id: If744bf424dad5a942d2342a21ac8e81cd586a85e
Reviewed-on: http://gerrit.tine20.com/customers/1293
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agouse current user as organizer with 'me' strategy
Philipp Schüle [Mon, 27 Oct 2014 10:23:11 +0000 (11:23 +0100)]
use current user as organizer with 'me' strategy

* this allows to return to the previous behavior
* AND: me-Strategy is now default

Change-Id: I5b6ada660a81eb2d9a3cd68e7e765e1bbbe17ac9
Reviewed-on: http://gerrit.tine20.com/customers/1298
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
6 years agodon't try to set turnover for empty relations
Philipp Schüle [Thu, 23 Oct 2014 08:57:53 +0000 (10:57 +0200)]
don't try to set turnover for empty relations

Change-Id: Ib907e01d3a7aa5f7283eeacc66516ef5d7dc2948
Reviewed-on: http://gerrit.tine20.com/customers/1295
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoSales: Use nicer image for costcenter
Alexander Stintzing [Wed, 22 Oct 2014 14:26:02 +0000 (16:26 +0200)]
Sales: Use nicer image for costcenter

Change-Id: I27feedcffd0876c19dd8cfced0bc114a6e706201
Reviewed-on: http://gerrit.tine20.com/customers/1294
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoMerge branch 'pu/2013.10-caldav' into 2013.10
Philipp Schüle [Wed, 22 Oct 2014 08:59:53 +0000 (10:59 +0200)]
Merge branch 'pu/2013.10-caldav' into 2013.10

Conflicts:
tine20/Calendar/Backend/Sql.php
tine20/Calendar/Model/Rrule.php
tine20/Calendar/Setup/Update/Release8.php
tine20/Calendar/Setup/setup.xml

Change-Id: I0f2bba1f5200ed93f65f1956e8e965132cd1d8d2

6 years agoprevent overwriting of container name with the uuid value
Philipp Schüle [Fri, 17 Oct 2014 19:21:20 +0000 (21:21 +0200)]
prevent overwriting of container name with the uuid value

Change-Id: Ia0a8ee34762118c34323c530d49b808f0c9acf86
Reviewed-on: http://gerrit.tine20.com/customers/1283
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010383: CLI script for repairing containers
Philipp Schüle [Mon, 20 Oct 2014 09:42:04 +0000 (11:42 +0200)]
0010383: CLI script for repairing containers

* reset default names for containers with name == uuid
* call it like this:
tine20.php --method=Tinebase.repairContainerName -- locale=de
(-d for dry run)

https://forge.tine20.org/mantisbt/view.php?id=10383

Change-Id: I245e108718774747d65c05bc0c909268e5a45bb1
Reviewed-on: http://gerrit.tine20.com/customers/1284
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010365: attendee filter grid breaks
Philipp Schüle [Fri, 17 Oct 2014 08:15:06 +0000 (10:15 +0200)]
0010365: attendee filter grid breaks

* catch grid refresh exceptions

https://forge.tine20.org/mantisbt/view.php?id=10365

Change-Id: Ifa77d9c51ff913cd6338fa8886f8c339b22abcbf
Reviewed-on: http://gerrit.tine20.com/customers/1279
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoReturn keyField default
sstamer [Wed, 15 Oct 2014 10:02:26 +0000 (12:02 +0200)]
Return keyField default

Change-Id: I204557135ea3ecb7408b2fbad6216c9caf80321b
Reviewed-on: http://gerrit.tine20.com/customers/1260
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoinventory import
sstamer [Wed, 27 Aug 2014 14:56:11 +0000 (16:56 +0200)]
inventory import

- Import more fields

Change-Id: Ie1f585f0aaec7a1aab67ca6741a1cff0c9ed8e01
Reviewed-on: http://gerrit.tine20.com/customers/1069
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010198: Latest GIT breaks some Cal/CardDAV stuff
Philipp Schüle [Tue, 14 Oct 2014 14:38:08 +0000 (16:38 +0200)]
0010198: Latest GIT breaks some Cal/CardDAV stuff

* show all containers for path /<applicationPrefix>/<contactid> if
client does not support delegations

https://forge.tine20.org/mantisbt/view.php?id=10198

Change-Id: I4e772c9da1ed33721acbe29f4887c7138a557079
Reviewed-on: http://gerrit.tine20.com/customers/1259
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010345: create synced events even if the id already exists / test
Philipp Schüle [Wed, 15 Oct 2014 15:18:30 +0000 (17:18 +0200)]
0010345: create synced events even if the id already exists / test

* deactivated test

https://forge.tine20.org/mantisbt/view.php?id=10345

Change-Id: I621fa23faa1dd7e76f2a7e4aefffbc6482681caa
Reviewed-on: http://gerrit.tine20.com/customers/1269
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010355: Calendar sync not working with invalid mail credentials
Philipp Schüle [Wed, 15 Oct 2014 11:04:29 +0000 (13:04 +0200)]
0010355: Calendar sync not working with invalid mail credentials

* catch invalid credentials exceptions and reutrn empty folder list on
folder sync

https://forge.tine20.org/mantisbt/view.php?id=10355

Change-Id: If98d82f16c36d0578d0a721b6584a75d73b98a4b
Reviewed-on: http://gerrit.tine20.com/customers/1261
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
6 years agoremove var_dump from test
sstamer [Wed, 15 Oct 2014 13:49:28 +0000 (15:49 +0200)]
remove var_dump from test

Change-Id: I4f090e6ed5b638ea3ea516dbb3aad8e80902eedd
Reviewed-on: http://gerrit.tine20.com/customers/1263
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago10333: loginname generating functions break Umlaute
sstamer [Wed, 8 Oct 2014 09:10:47 +0000 (11:10 +0200)]
10333: loginname generating functions break Umlaute
https://forge.tine20.org/mantisbt/view.php?id=10333

- replace specialChars before using substr

Change-Id: Ia021f8640a64ddcec38e89e9fcf8cb2ec8a2037a
Reviewed-on: http://gerrit.tine20.com/customers/1236
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010221: Updating fails due to conversion problem
Philipp Schüle [Mon, 13 Oct 2014 15:38:00 +0000 (17:38 +0200)]
0010221: Updating fails due to conversion problem

* catch Tinebase_Exception_UnexpectedValue when updating rrules

https://forge.tine20.org/mantisbt/view.php?id=10221

Change-Id: I8b35e53048425ab06eacdb2e89994c01a37af3bb
Reviewed-on: http://gerrit.tine20.com/customers/1256
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoonly update image data if different
Philipp Schüle [Mon, 13 Oct 2014 11:02:34 +0000 (13:02 +0200)]
only update image data if different

Change-Id: I10018ca70e9542fa517ddf55f66ed103634faf54
Reviewed-on: http://gerrit.tine20.com/customers/1255
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoimproves Exception logging
Philipp Schüle [Fri, 10 Oct 2014 11:54:52 +0000 (13:54 +0200)]
improves Exception logging

* use same log level: ERR
* allows to pass additional data for logging via print_r)

Change-Id: I7d8366cd5f193279b7dd304609e94e5c6d9ee519
Reviewed-on: https://gerrit.tine20.org/tine20/2906
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoattachment filenames need to be (raw)urlencoded
Philipp Schüle [Fri, 10 Oct 2014 14:38:35 +0000 (16:38 +0200)]
attachment filenames need to be (raw)urlencoded

* otherwise, mac clients can't see and download them

Change-Id: If46bde36964926d4ca7910c3605fcad77379b121
Reviewed-on: http://gerrit.tine20.com/customers/1254
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010345: create synced events even if the id already exists
Philipp Schüle [Fri, 10 Oct 2014 11:28:18 +0000 (13:28 +0200)]
0010345: create synced events even if the id already exists

create synced events even if the id already exists and the user has no
access on the other event (maybe another user already imported the same
event)

https://forge.tine20.org/mantisbt/view.php?id=10345

Change-Id: I0d5619738b1c8d55ff584494152aac809caef05b
Reviewed-on: http://gerrit.tine20.com/customers/1252
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoAdd helper clifunction to repair/set samba options
sstamer [Fri, 10 Oct 2014 09:40:06 +0000 (11:40 +0200)]
Add helper clifunction to repair/set samba options

Change-Id: I2e691ce494567e999faa21a91062b1654e0bd836
Reviewed-on: http://gerrit.tine20.com/customers/1250
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agodon't try to cache translations without config
Philipp Schüle [Thu, 9 Oct 2014 13:39:47 +0000 (15:39 +0200)]
don't try to cache translations without config

* the config system might not be ready (for example during package
building)

6 years agocheck if Tinebase is installed before accessing config
Philipp Schüle [Thu, 9 Oct 2014 12:58:52 +0000 (14:58 +0200)]
check if Tinebase is installed before accessing config

Change-Id: I3a10fdb12e58c8dda4471e53afb407f9bb81c448
Reviewed-on: http://gerrit.tine20.com/customers/1247
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago10339: getPreferedEmailAddress() of lists
sstamer [Thu, 9 Oct 2014 09:37:00 +0000 (11:37 +0200)]
10339: getPreferedEmailAddress() of lists
https://forge.tine20.org/mantisbt/view.php?id=10339

Change-Id: I659ca27a0b68f2ceeebc4e110a5f602bfeda8839
Reviewed-on: http://gerrit.tine20.com/customers/1246
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago10293: Add CRM field source to filter
Michael Spahn [Mon, 22 Sep 2014 11:53:40 +0000 (13:53 +0200)]
10293: Add CRM field source to filter

https://forge.tine20.org/mantisbt/view.php?id=10293

Change-Id: I17b10a0b4fb45ac08a41f15016066e6c4cd700d0
Reviewed-on: http://gerrit.tine20.com/customers/1170
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoavoid "group by" by using distinct
Lars Kneschke [Tue, 7 Oct 2014 07:46:14 +0000 (09:46 +0200)]
avoid "group by" by using distinct

Change-Id: Ic693cc6c11822bc90d6bfd14c483c98e7a81129a
Reviewed-on: http://gerrit.tine20.com/customers/1231
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agoAdd tearDown() to CalendarTest
sstamer [Fri, 26 Sep 2014 09:05:53 +0000 (11:05 +0200)]
Add tearDown() to CalendarTest

Reset changed preferences

Change-Id: If212737cf739b305141c6975b0f69c53292efb35
Reviewed-on: http://gerrit.tine20.com/customers/1195
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago10305: Undefined value in user edit dialog
Michael Spahn [Tue, 23 Sep 2014 16:06:59 +0000 (18:06 +0200)]
10305: Undefined value in user edit dialog

https://forge.tine20.org/mantisbt/view.php?id=10305

Change-Id: I0790c84755c77a79df4e7a6cfad11fba4e3ed8d7
Reviewed-on: http://gerrit.tine20.com/customers/1177
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago10331: Fix Column already exists: conjunction
Michael Spahn [Tue, 7 Oct 2014 10:29:20 +0000 (12:29 +0200)]
10331: Fix Column already exists: conjunction

https://forge.tine20.org/mantisbt/view.php?id=10331

Change-Id: Icaa93226b98e163ce377bddd3bd53efaa50359bb
Reviewed-on: http://gerrit.tine20.com/customers/1232
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010321: Tinebase record resolving
Alexander Stintzing [Fri, 26 Sep 2014 10:22:15 +0000 (12:22 +0200)]
0010321: Tinebase record resolving

If a record field is resolved already, it should not be
resolved again in Tinebase_Frontend_Json (field of type user)

https://forge.tine20.org/mantisbt/view.php?id=10321

Change-Id: I5d7560f7cfca279f9ff5fe517857f76c5b1907ed
Reviewed-on: http://gerrit.tine20.com/customers/1196
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years ago0010241: Allow to configure canreinvite of Sip-Peers
Alexander Stintzing [Fri, 12 Sep 2014 14:00:14 +0000 (16:00 +0200)]
0010241: Allow to configure canreinvite of Sip-Peers

The "canreinvite" option should be configurable.

https://forge.tine20.org/mantisbt/view.php?id=10241

Change-Id: Idf75caf9280c4f671d7835496bf0dbc20e205bde
Reviewed-on: http://gerrit.tine20.com/customers/1134
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
6 years agofetch all available applications at once to avoid multiple lookups
Lars Kneschke [Tue, 7 Oct 2014 17:06:11 +0000 (19:06 +0200)]
fetch all available applications at once to avoid multiple lookups

Change-Id: I79433928632bf68489d7bb7bbef8cb4cc034b99e
Reviewed-on: http://gerrit.tine20.com/customers/1235
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agomodified accesslog handling
Lars Kneschke [Fri, 3 Oct 2014 18:52:58 +0000 (20:52 +0200)]
modified accesslog handling

- reuse previous access log entries for WebDAV and ActiveSync
connections => avoids flooding the access_log table

Change-Id: Ic09a726ccbd76b4cd5acd79bede62b6015870ed9
Reviewed-on: http://gerrit.tine20.com/customers/1227
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoallow to recover deleted tasks via WebDAV
Cornelius Weiß [Wed, 1 Oct 2014 20:05:36 +0000 (22:05 +0200)]
allow to recover deleted tasks via WebDAV

Change-Id: I81da9b332910752078654c3ee1740360d1dd34d7
Reviewed-on: http://gerrit.tine20.com/customers/1224
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years ago// map ipad to iphone till syncroton has ipad/ios support
Cornelius Weiß [Mon, 6 Oct 2014 12:57:44 +0000 (14:57 +0200)]
// map ipad to iphone till syncroton has ipad/ios support

Change-Id: If148835ee3f65726c880c1530d4d8c509c6373b9
Reviewed-on: http://gerrit.tine20.com/customers/1230
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
6 years ago(re) support Lion Attachments
Cornelius Weiß [Tue, 7 Oct 2014 11:55:41 +0000 (13:55 +0200)]
(re) support Lion Attachments

Change-Id: I1c2801390da8a2250987a0a2827fb007d52c8af2
Reviewed-on: http://gerrit.tine20.com/customers/1233
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agocatch conversion exceptions
Cornelius Weiß [Wed, 1 Oct 2014 21:06:59 +0000 (23:06 +0200)]
catch conversion exceptions

Change-Id: Id8567af73936228327babe3a8def14bbb5b9e590
Reviewed-on: http://gerrit.tine20.com/customers/1225
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoorganizer might be missing
Cornelius Weiß [Tue, 7 Oct 2014 12:35:35 +0000 (14:35 +0200)]
organizer might be missing

Change-Id: I049d1aa6db911d6e108ccc61f2c4e61db5561e9a
Reviewed-on: http://gerrit.tine20.com/customers/1234
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agofake success when client sets default-alarms
Cornelius Weiß [Wed, 8 Oct 2014 09:01:04 +0000 (11:01 +0200)]
fake success when client sets default-alarms

@see http://tools.ietf.org/html/draft-daboo-valarm-extensions-04#section-11
once iCal tried to set default-alarm config with a negative feedback
it doesn't send default-alarms to the server any longer. So we fake
success here as workaround to let the client send its default alarms

Change-Id: I2f7f2e5cf2a35bccc085ab7438f4a2ebec0d14cd
Reviewed-on: http://gerrit.tine20.com/customers/1238
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoadd caching for getAvailableTranlations
Lars Kneschke [Sun, 5 Oct 2014 12:15:43 +0000 (14:15 +0200)]
add caching for getAvailableTranlations

Change-Id: Ibb95cd12518a1322996e12255d865b65a666ea95
Reviewed-on: http://gerrit.tine20.com/customers/1228
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agohandle X-CALENDARSERVER-ACCESS for old iCal clients
Cornelius Weiß [Wed, 1 Oct 2014 19:01:00 +0000 (21:01 +0200)]
handle X-CALENDARSERVER-ACCESS for old iCal clients

Change-Id: I09a354e645e9f020972783b3fc342f9312277bc7
Reviewed-on: http://gerrit.tine20.com/customers/1223
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoallow to recover deleted events via WebDAV
Cornelius Weiß [Wed, 1 Oct 2014 13:50:23 +0000 (15:50 +0200)]
allow to recover deleted events via WebDAV

* folderChanges are implemented as DELETE/PUT actions in most CalDAV
  clients. Unfortunally clients send both requests in parallel. This
  creates raise conditions when DELETE is faster (e.g. due to trasport
  issues) than the PUT.

Change-Id: Ie25d1626a224f3b5f3607ebb72bcf04865de8225
Reviewed-on: http://gerrit.tine20.com/customers/1220
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
6 years agoImprove default container handling
Lars Kneschke [Wed, 1 Oct 2014 16:54:24 +0000 (18:54 +0200)]
Improve default container handling

Change-Id: I17a4c681055d70e24f15d0c76997a0e941a9d4cc
Reviewed-on: http://gerrit.tine20.com/customers/1222
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoset default calUser
Cornelius Weiß [Wed, 1 Oct 2014 12:16:33 +0000 (14:16 +0200)]
set default calUser

Change-Id: I48e2eef337882cad073b1dc1825145abb51ac2e2
Reviewed-on: http://gerrit.tine20.com/customers/1219
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoimprove perfomance of getOtherUsers
Lars Kneschke [Wed, 1 Oct 2014 07:02:36 +0000 (09:02 +0200)]
improve perfomance of getOtherUsers

Change-Id: Ide3c1add05a1258487fe283cea2a35688f3f5370
Reviewed-on: http://gerrit.tine20.com/customers/1216
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoapply calUser for deligated calendars via ActiveSync
Cornelius Weiß [Tue, 30 Sep 2014 17:03:59 +0000 (19:03 +0200)]
apply calUser for deligated calendars via ActiveSync

* this way default organiser/attendee is applied due
  to containerOwner

Change-Id: If4409aab9f288ab2b9a747b9eca14ab965fa15a1
Reviewed-on: http://gerrit.tine20.com/customers/1214
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoadded caching to PrincipalBackend
Lars Kneschke [Tue, 30 Sep 2014 08:52:47 +0000 (10:52 +0200)]
added caching to PrincipalBackend

Change-Id: I8d7b1eeb4333869b35d804ef46eccf78d898a371
Reviewed-on: http://gerrit.tine20.com/customers/1210
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoharmonize default organizer/attendee with delegation defaults
Cornelius Weiß [Tue, 30 Sep 2014 17:52:18 +0000 (19:52 +0200)]
harmonize default organizer/attendee with delegation defaults

Change-Id: If975f8d6f2b6ae1579f5cb813329076ea7bbcf7b
Reviewed-on: http://gerrit.tine20.com/customers/1215
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agohandle create/update exceptions
Cornelius Weiß [Tue, 30 Sep 2014 13:13:12 +0000 (15:13 +0200)]
handle create/update exceptions

Change-Id: I6fc967364708b7c7cd21537794083888f57143fc
Reviewed-on: http://gerrit.tine20.com/customers/1212
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agofix event deletion on double PUT with time changes
Cornelius Weiß [Tue, 30 Sep 2014 10:27:37 +0000 (12:27 +0200)]
fix event deletion on double PUT with time changes

* fix iCal problem when new event is moved to other
  folder together with a time change

Change-Id: I4fcc44f186d9c76b53342a4c2b920a49684f8c20
Reviewed-on: http://gerrit.tine20.com/customers/1211
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoimprove CalDAV default attendee/organizer handling
Cornelius Weiß [Mon, 29 Sep 2014 19:54:48 +0000 (21:54 +0200)]
improve CalDAV default attendee/organizer handling

* change organizer to cal owner on container move to personal container
* add calUser to Controller
* allow status setting for attendee one has edit grant for
* preserv attendee status for calUser on reschedule

Change-Id: Id930ec6d83ce9dbfe8b73934edd164a695fd19af
Reviewed-on: http://gerrit.tine20.com/customers/1209
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
Tested-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agohandle create/update/delete exceptions
Cornelius Weiß [Mon, 29 Sep 2014 14:06:02 +0000 (16:06 +0200)]
handle create/update/delete exceptions

Change-Id: I59d4bac34f10fa24dd8957cc254aaf468240f4b8
Reviewed-on: http://gerrit.tine20.com/customers/1207
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
Tested-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoimprove container move with missing X-TINE20-CONTAINER
Cornelius Weiß [Mon, 29 Sep 2014 21:22:32 +0000 (23:22 +0200)]
improve container move with missing X-TINE20-CONTAINER

* iCal has no X-TINE20-CONTAINER for the creator as
  it dosn't fetch after create/update

Change-Id: I68d057f484980badbdbb932d49178c2f0eb3d8be
Reviewed-on: http://gerrit.tine20.com/customers/1208
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
Tested-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agodon't try to cache if there are no attendee
Cornelius Weiß [Mon, 29 Sep 2014 06:40:02 +0000 (08:40 +0200)]
don't try to cache if there are no attendee

Change-Id: Ic58c70fd8d002bfa84aea3d6703036906e7f85d4
Reviewed-on: http://gerrit.tine20.com/customers/1206
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoenforce devicetype to be lowercase
Lars Kneschke [Sun, 28 Sep 2014 10:45:36 +0000 (12:45 +0200)]
enforce devicetype to be lowercase

Change-Id: Id4b6e6cca144fd7185503986f2c8be34f1f3df6c
Reviewed-on: http://gerrit.tine20.com/customers/1205
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoMSEventFacade performance improvements
Cornelius Weiß [Sat, 27 Sep 2014 13:09:14 +0000 (15:09 +0200)]
MSEventFacade performance improvements

* fetch events & exceptions for search requests at one with one query
* ease resolving logic

Change-Id: I4196a08ff594b9a62693e4fedb93f436e165cd5e
Reviewed-on: http://gerrit.tine20.com/customers/1204
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoimprove performance of getAlarms() by avoiding recordset index lookup
Lars Kneschke [Fri, 26 Sep 2014 21:01:04 +0000 (23:01 +0200)]
improve performance of getAlarms() by avoiding recordset index lookup

Change-Id: I1ca50c1549a2c1a44453fdcc2a4e978dbe717093
Reviewed-on: http://gerrit.tine20.com/customers/1203
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoimprove search performance by using unions
Lars Kneschke [Fri, 26 Sep 2014 21:00:08 +0000 (23:00 +0200)]
improve search performance by using unions

- now SQL indexes will be used
- there should be a better way to handle the CalendarFilter

Change-Id: I6e1a1a198120dbfeee71f1084922a56c8b5eda35
Reviewed-on: http://gerrit.tine20.com/customers/1202
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoalert when more than _1_ baseEvent is found
Cornelius Weiß [Fri, 26 Sep 2014 14:43:53 +0000 (16:43 +0200)]
alert when more than _1_ baseEvent is found

Change-Id: I7de1f4da116c5f1fe7726ebc40576af6458d4221

6 years agospeedup multiget report
Lars Kneschke [Fri, 26 Sep 2014 11:22:09 +0000 (13:22 +0200)]
speedup multiget report

Change-Id: I5b49dcf848b9ffcfdb74ba7db27956ed97c35e6a
Reviewed-on: http://gerrit.tine20.com/customers/1197
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoimprove performance of calendarQuery report by cacheing result set
Lars Kneschke [Fri, 26 Sep 2014 06:36:41 +0000 (08:36 +0200)]
improve performance of calendarQuery report by cacheing result set

Change-Id: Ie2cc981856a976740153880b6dfa1621b21b849c
Reviewed-on: http://gerrit.tine20.com/customers/1194
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoalso take tasks container into account when querying proxy-write-for
Lars Kneschke [Thu, 25 Sep 2014 19:32:25 +0000 (21:32 +0200)]
also take tasks container into account when querying proxy-write-for

Change-Id: If5f085b66bf2efc9a27d2dc59d0d093c40d898b5
Reviewed-on: http://gerrit.tine20.com/customers/1191
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoimproved performance and memory footprint of
Lars Kneschke [Wed, 24 Sep 2014 06:02:46 +0000 (08:02 +0200)]
improved performance and memory footprint of
getMultipleAttachmentsOfRecords

Change-Id: I7c9ab0040ac8a5f1ec4fa8dddd3f8f85da2b5948
Reviewed-on: http://gerrit.tine20.com/customers/1174
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
Reviewed-on: http://gerrit.tine20.com/customers/1189

6 years agoadd support for caldav-privateevents extension
Cornelius Weiß [Wed, 24 Sep 2014 07:11:06 +0000 (09:11 +0200)]
add support for caldav-privateevents extension

iCal dosn't use the CLASS property but has an own calender
extension for private events. To support this we:
* announce calendarserver-private-events
* cope with X-CALENDARSERVER-ACCESS

Change-Id: I162fb438a1875bb76fe08da98554da9c5ec73e93
Reviewed-on: http://gerrit.tine20.com/customers/1176
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoDefault container preference and options
sstamer [Thu, 25 Sep 2014 08:37:04 +0000 (10:37 +0200)]
Default container preference and options

* the oldest container should be the default container
* require read grant for shared default containers

Change-Id: Ibded0b468e45a58748108dc76cd76fca3edd3556
Reviewed-on: http://gerrit.tine20.com/customers/1183
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
Tested-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agodon't send attendees to the iPhone if the folder is not the default
Cornelius Weiß [Thu, 25 Sep 2014 11:24:29 +0000 (13:24 +0200)]
don't send attendees to the iPhone if the folder is not the default
calendar

* fix attendee preserv when no attendee are send from phone

Change-Id: I8c7a2fd41629863aa100e39515fea53525764364
Reviewed-on: http://gerrit.tine20.com/customers/1187
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
6 years agoRevert "improved performance and memory footprint of"
sstamer [Thu, 25 Sep 2014 12:52:16 +0000 (14:52 +0200)]
Revert "improved performance and memory footprint of"

This reverts commit fd96a106044d568ec9e7cd902f88fcbff6c8a072.

Change-Id: I936b1f2a13fd4d9dc3bd5cbad1f895be73ca63c0
Reviewed-on: http://gerrit.tine20.com/customers/1190
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agodon't send attendees to the iPhone if the folder is not the default
Lars Kneschke [Wed, 24 Sep 2014 12:28:46 +0000 (14:28 +0200)]
don't send attendees to the iPhone if the folder is not the default
calendar

Change-Id: I829249f0ccf8741bc223f1a2477b7945dd9c0304
Reviewed-on: http://gerrit.tine20.com/customers/1182
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoMSEventFacade performance improvement
Lars Kneschke [Wed, 24 Sep 2014 09:42:51 +0000 (11:42 +0200)]
MSEventFacade performance improvement

- improved perfomance of _toiTIP method
- moved assertEventFacadeParams to MSEventFacade controller, to avoid
duplicate (ore more) lookups of the same data

Change-Id: I3177727ca75b6c4860d79df9116f4567a0a6ce33
Reviewed-on: http://gerrit.tine20.com/customers/1178
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
6 years agoimproved performance and memory footprint of
Lars Kneschke [Wed, 24 Sep 2014 06:02:46 +0000 (08:02 +0200)]
improved performance and memory footprint of
getMultipleAttachmentsOfRecords

Change-Id: I7c9ab0040ac8a5f1ec4fa8dddd3f8f85da2b5948
Reviewed-on: http://gerrit.tine20.com/customers/1174
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>