tine20
8 years agoMerge branch '2013.10'
Philipp Schüle [Fri, 6 Dec 2013 11:01:20 +0000 (12:01 +0100)]
Merge branch '2013.10'

Conflicts:
tests/tine20/Calendar/TestCase.php

8 years ago#6752: ci ldap tests
Philipp Schüle [Fri, 6 Dec 2013 10:26:11 +0000 (11:26 +0100)]
#6752: ci ldap tests

- adds abstract TestCase with transaction handling
- adds LDAP install.properties
- log exception when creating demodata

fixing unittests for LDAP
- do not rely on demodata groups in unittests
- improved Groups + Roles + Admin_Json/Cli + Courses_Json tests

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

Change-Id: I340774a66dd2c39a23628545f45054d9ccf37690
Reviewed-on: https://gerrit.tine20.org/tine20/2615
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoskip container if the user does not have the read AND the sync grant
Lars Kneschke [Fri, 6 Dec 2013 07:42:17 +0000 (08:42 +0100)]
skip container if the user does not have the read AND the sync grant

Change-Id: Icd9c0075f08adf26071103bd34f2235a16d39668
Reviewed-on: https://gerrit.tine20.org/tine20/2623
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Thu, 5 Dec 2013 17:13:49 +0000 (18:13 +0100)]
Merge branch '2013.10'

8 years ago#9362: allow to filter for empty datetimes
Philipp Schüle [Thu, 5 Dec 2013 09:44:12 +0000 (10:44 +0100)]
#9362: allow to filter for empty datetimes

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

Change-Id: I6f5ec01d22b7dec24d3ba741dc6e82957a51cc23
Reviewed-on: https://gerrit.tine20.org/tine20/2618
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoadd caching to getApplicationInstance
Paul Mehrer [Thu, 5 Dec 2013 09:43:14 +0000 (10:43 +0100)]
add caching to getApplicationInstance

Change-Id: Ie005bbf4daa35a5198196db83279891ee866e922
Reviewed-on: https://gerrit.tine20.org/tine20/2617
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: jenkins user
8 years agoalso add accountId to name of temp file
Lars Kneschke [Wed, 4 Dec 2013 19:10:29 +0000 (20:10 +0100)]
also add accountId to name of temp file

Change-Id: Ic67c9351349a60cb3ffcc9e0a1e9453db9ca43e9
Reviewed-on: https://gerrit.tine20.org/tine20/2619
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Wed, 4 Dec 2013 16:34:46 +0000 (17:34 +0100)]
Merge branch '2013.10'

8 years ago#9358: Add support for OwnCloud's chunked file upload
Lars Kneschke [Wed, 4 Dec 2013 09:31:15 +0000 (10:31 +0100)]
#9358: Add support for OwnCloud's chunked file upload

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

Change-Id: If627c39c6cc25fa0ec148aa933a63c04584bc6fb
Reviewed-on: https://gerrit.tine20.org/tine20/2616
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#8732: Filemanager Root Folder Timestamp
Lars Kneschke [Sat, 30 Nov 2013 17:48:09 +0000 (18:48 +0100)]
#8732: Filemanager Root Folder Timestamp

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

- return etag for directories
- return lastmodifiedtime for root foler based on lastmodified time of
containers
- added hidden folder personal/currentUser

Change-Id: If99b732176649a16c55baa15d6f2a3cb6f2ef12b
Reviewed-on: https://gerrit.tine20.org/tine20/2605
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agomark longrunning tests with @group longrunning
Lars Kneschke [Wed, 4 Dec 2013 11:33:00 +0000 (12:33 +0100)]
mark longrunning tests with @group longrunning

if we add "--exclude-group longrunning" when executing phpunit for
gerrit builds, we can skip some longrunning tests

Change-Id: I4654bea33e5fe3ea0525aaa0cb71e6097b3b829b
Reviewed-on: https://gerrit.tine20.org/tine20/2595
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#9328: allow to set additional params for phpunit in build.xml
Philipp Schüle [Tue, 3 Dec 2013 13:38:31 +0000 (14:38 +0100)]
#9328: allow to set additional params for phpunit in build.xml

- like --exclude_group ...
- remove exclude_group param when assembling CLI command

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

Change-Id: Ida1d98e37bd625364975af4555aafeee14a7323b
Reviewed-on: https://gerrit.tine20.org/tine20/2612
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Tue, 3 Dec 2013 15:43:05 +0000 (16:43 +0100)]
Merge branch '2013.10'

8 years ago#9298: installing via CLI should apply default settings
Philipp Schüle [Tue, 3 Dec 2013 13:32:28 +0000 (14:32 +0100)]
#9298: installing via CLI should apply default settings

- adds new param applyDefaults to setBackendConfiguration

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

Change-Id: I75957c149fcc074500b0b6fa65d6f92925bfb5a6
Reviewed-on: https://gerrit.tine20.org/tine20/2614
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agophpunit-exec: renamed junit logfile
Philipp Schüle [Tue, 3 Dec 2013 12:46:03 +0000 (13:46 +0100)]
phpunit-exec: renamed junit logfile

Change-Id: Ieafd582ba7a07720898ebde7ed52c78cd305b777
Reviewed-on: https://gerrit.tine20.org/tine20/2613
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agophpunit config: do not show colored output by default
Philipp Schüle [Tue, 3 Dec 2013 12:23:02 +0000 (13:23 +0100)]
phpunit config: do not show colored output by default

Change-Id: I3594552c36feae613bb2f9d3caf139ea562e3055
Reviewed-on: https://gerrit.tine20.org/tine20/2611
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoadded sieve option to tine-install target
Philipp Schüle [Tue, 3 Dec 2013 12:11:50 +0000 (13:11 +0100)]
added sieve option to tine-install target

Change-Id: Ia0406906586e30489067d10aee1281e2b6826261
Reviewed-on: https://gerrit.tine20.org/tine20/2610
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Tue, 3 Dec 2013 08:56:11 +0000 (09:56 +0100)]
Merge branch '2013.10'

8 years ago#9346: Mysql-Password gets exposed
Philipp Schüle [Mon, 2 Dec 2013 14:41:24 +0000 (15:41 +0100)]
#9346: Mysql-Password gets exposed

- need to catch early config exceptions (i.e. DB misconfiguration)

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

Change-Id: I4b9b2d1d0b07f55872b9e0b21fad17fb8954de88
Reviewed-on: https://gerrit.tine20.org/tine20/2606
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#5400: private must lever out admin grant on get/Multiple
Philipp Schüle [Mon, 2 Dec 2013 14:23:07 +0000 (15:23 +0100)]
#5400: private must lever out admin grant on get/Multiple

- only allow to skip acl with ADMIN grants for public events
- do free busy cleanup after getMultiple, too

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

Change-Id: If74b4501064e3a20e75c3201451175b7a210e96d
Reviewed-on: https://gerrit.tine20.org/tine20/2570
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Mon, 2 Dec 2013 16:21:20 +0000 (17:21 +0100)]
Merge branch '2013.10'

8 years agoadds model property when creating default container
Philipp Schüle [Mon, 2 Dec 2013 15:43:38 +0000 (16:43 +0100)]
adds model property when creating default container

Change-Id: I3c000c5e65da20604785ef6572901e9926d57117
Reviewed-on: https://gerrit.tine20.org/tine20/2607
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoadd vagrant scripts
Cornelius Weiß [Mon, 25 Nov 2013 15:16:06 +0000 (16:16 +0100)]
add vagrant scripts

- first approach for FAI (dev) with vagrant

Change-Id: I658862be0ef2a24bae88185dd062c01ba8255237
Reviewed-on: https://gerrit.tine20.org/tine20/2590
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agospeed up Filemanager_Frontend_JsonTests
Lars Kneschke [Mon, 2 Dec 2013 10:30:45 +0000 (11:30 +0100)]
speed up Filemanager_Frontend_JsonTests

Change-Id: I65c348b29b2097ccd02e9433a99093c5fb0dc9af
Reviewed-on: https://gerrit.tine20.org/tine20/2598
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoUpdates EMclient to latest VObject 3.x parsing syntax
Ingo Ratsdorf [Sun, 1 Dec 2013 20:11:35 +0000 (09:11 +1300)]
Updates EMclient to latest VObject 3.x parsing syntax

modified:   tine20/Addressbook/Convert/Contact/VCard/EMClient.php

Change-Id: I9e1cdb32e48708d503d7e9c3f3f6fa5b9ca51255
Reviewed-on: https://gerrit.tine20.org/tine20/2604
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Fri, 29 Nov 2013 14:14:48 +0000 (15:14 +0100)]
Merge branch '2013.10'

8 years agoMerge branch '2013.03' into 2013.10
Philipp Schüle [Fri, 29 Nov 2013 14:07:33 +0000 (15:07 +0100)]
Merge branch '2013.03' into 2013.10

8 years agoprevents 'undefined index' errors when fetching quota
Philipp Schüle [Fri, 29 Nov 2013 12:50:55 +0000 (13:50 +0100)]
prevents 'undefined index' errors when fetching quota

Change-Id: I3a37d06b9a1b3d3075db42c4c0d561289109db1a
Reviewed-on: http://gerrit.tine20.com/customers/222
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#9340: fix testExdateUpdateAllWithModlogAddAttender
Philipp Schüle [Fri, 29 Nov 2013 12:38:23 +0000 (13:38 +0100)]
#9340: fix testExdateUpdateAllWithModlogAddAttender

- temporarily skip test

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

Change-Id: I8077b5028ad194bed46660de7c4c9a4495f42b4e
Reviewed-on: https://gerrit.tine20.org/tine20/2603
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoTinebase_Container refactor get* container functions
Paul Mehrer [Fri, 29 Nov 2013 11:56:53 +0000 (12:56 +0100)]
Tinebase_Container refactor get* container functions

tine20/Tinebase/Container.php - replace application name parameter of the get* container functions with record class parameter
tests/tine20/Calendar/JsonTests.php - only remove admin and manager group for the test, not delete all groups
tine20/Felamimail/Controller.php - set proper _defaultModel

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

Change-Id: I4d8bc534fde61c88660f5a6da0141f32d074dca2
Reviewed-on: https://gerrit.tine20.org/tine20/2594
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Fri, 29 Nov 2013 10:51:00 +0000 (11:51 +0100)]
Merge branch '2013.10'

8 years agoCalendar tests: use lazy init for TestCase members
Paul Mehrer [Thu, 28 Nov 2013 20:16:43 +0000 (21:16 +0100)]
Calendar tests: use lazy init for TestCase members

all TestCase members were made private and lazy init getters were introduced for them

Calendar_Backend_SqlTest runs around 1.5s faster with lower memory usage on my machine:
Time: 8.67 seconds, Memory: 19.00Mb
vs
Time: 10.11 seconds, Memory: 21.00Mb

Calendar_AllTests runs around 0.7 minutes faster with lower memory usage on my machine:
Time: 12.7 minutes, Memory: 78.50Mb
vs
Time: 13.47 minutes, Memory: 140.00Mb

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

Change-Id: I919cd321432d1e631e20f3316fbecc200202c5e4
Reviewed-on: https://gerrit.tine20.org/tine20/2592
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#9316: add duplicate resolving to cli import
Philipp Schüle [Thu, 28 Nov 2013 11:13:55 +0000 (12:13 +0100)]
#9316: add duplicate resolving to cli import

- added merge function to Tinebase_Record_Abstract
- allow to pass a duplicate resolve strategy in import config
- introduced update count for import

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

Change-Id: I4c72cdec9f3d45e5a45fe26ed93305f291212bd2
Reviewed-on: https://gerrit.tine20.org/tine20/2601
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago0009338: Kalender-Alarme funktionieren nicht
Philipp Schüle [Thu, 28 Nov 2013 16:27:14 +0000 (17:27 +0100)]
0009338: Kalender-Alarme funktionieren nicht

- added missing function for scheduler task

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

Change-Id: I9da3f66f5e537be23e369b64898b71ae67f19b5e
Reviewed-on: https://gerrit.tine20.org/tine20/2602
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Thu, 28 Nov 2013 15:15:16 +0000 (16:15 +0100)]
Merge branch '2013.10'

8 years ago0009304: Contact -> New -> Event - Relations Error
Alexander Stintzing [Wed, 27 Nov 2013 11:28:00 +0000 (12:28 +0100)]
0009304: Contact -> New -> Event - Relations Error

There is an error if you create a new event by clicking right on a contact.

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

Change-Id: I2771d9dd4efb4c8963e8e8c904da96ac0e4c9d41
Reviewed-on: https://gerrit.tine20.org/tine20/2600
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago0009280: The EditDialog should show the count of tags and notes
Alexander Stintzing [Wed, 20 Nov 2013 10:29:43 +0000 (11:29 +0100)]
0009280: The EditDialog should show the count of tags and notes

The EditDialog should show the count of tags and notes in the title

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

Change-Id: I0f07e9e80593da4d2cd3393243a14974a64b7121
Reviewed-on: https://gerrit.tine20.org/tine20/2568
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Wed, 27 Nov 2013 15:59:19 +0000 (16:59 +0100)]
Merge branch '2013.10'

8 years agoLogFormatter: more redundant starttime initialization
Paul Mehrer [Tue, 26 Nov 2013 16:11:26 +0000 (17:11 +0100)]
LogFormatter: more redundant starttime initialization

tine20/Tinebase/Log/Formatter.php - if request start time is not registered in the registry, initialize starttime in constructor with current microtime

test/tine20/Tinebase/Log/FormatterTest.php - adjusted log message check based on configuration of logruntime and logdifftime

Change-Id: I033cbd65f6be053812a0eb807e12f167452d33eb
Reviewed-on: https://gerrit.tine20.org/tine20/2593
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#9318: CORS authentication fails
Lars Kneschke [Wed, 27 Nov 2013 09:55:16 +0000 (10:55 +0100)]
#9318: CORS authentication fails

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

Change-Id: I24f8ca3c680a636e39ce7135de160fdfc334c0cb
Reviewed-on: https://gerrit.tine20.org/tine20/2599
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agointroduce includepath property for phpunit-exec target
Philipp Schüle [Tue, 26 Nov 2013 17:10:23 +0000 (18:10 +0100)]
introduce includepath property for phpunit-exec target

Change-Id: I2b2925b6c4e84f23da3b27a23a6f518ec202b196
Reviewed-on: https://gerrit.tine20.org/tine20/2596
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoLogFormatter: more redundant starttime initialization
Paul Mehrer [Tue, 26 Nov 2013 16:11:26 +0000 (17:11 +0100)]
LogFormatter: more redundant starttime initialization

tine20/Tinebase/Log/Formatter.php - if request start time is not registered in the registry, initialize starttime in constructor with current microtime

test/tine20/Tinebase/Log/FormatterTest.php - adjusted log message check based on configuration of logruntime and logdifftime

Change-Id: I033cbd65f6be053812a0eb807e12f167452d33eb
Reviewed-on: https://gerrit.tine20.org/tine20/2593
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoimprove Tinebase_Record_Abstract::__set performance
Lars Kneschke [Fri, 22 Nov 2013 08:05:52 +0000 (09:05 +0100)]
improve Tinebase_Record_Abstract::__set performance

Change-Id: I25615afd7479b2a945b07b04d79012872feb2930
Reviewed-on: https://gerrit.tine20.org/tine20/2579
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago0009308: Attachment Buttons Label
Alexander Stintzing [Tue, 26 Nov 2013 10:18:21 +0000 (11:18 +0100)]
0009308: Attachment Buttons Label

shows "null" - the add and remove button

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

Change-Id: I49872a731b5e63e01865016ceaa99439954b26b8
Reviewed-on: https://gerrit.tine20.org/tine20/2591
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago# 5340: add copy() and is_file() to Tinebase_FileSystem
Lars Kneschke [Wed, 27 Nov 2013 02:02:58 +0000 (03:02 +0100)]
# 5340: add copy() and is_file() to Tinebase_FileSystem

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

Change-Id: If88b9557f5d13722a454efca0fb55afe986f065b
Reviewed-on: https://gerrit.tine20.org/tine20/2597
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Mon, 25 Nov 2013 16:16:17 +0000 (17:16 +0100)]
Merge branch '2013.10'

8 years agoadded some more unittest requirements
Philipp Schüle [Mon, 25 Nov 2013 16:14:30 +0000 (17:14 +0100)]
added some more unittest requirements

- create / remove userdata dirs
- add include path for phpunit run

8 years agoMerge branch '2013.10'
Philipp Schüle [Mon, 25 Nov 2013 15:56:46 +0000 (16:56 +0100)]
Merge branch '2013.10'

8 years agoadded include_path to install/uninstall targets
Philipp Schüle [Mon, 25 Nov 2013 15:55:57 +0000 (16:55 +0100)]
added include_path to install/uninstall targets

- to include config directory

8 years agoMerge branch '2013.10'
Philipp Schüle [Mon, 25 Nov 2013 15:41:51 +0000 (16:41 +0100)]
Merge branch '2013.10'

8 years ago#9254: fix Tinebase_Relation_RelationTest::testTransfer (pgsql)
Philipp Schüle [Mon, 25 Nov 2013 14:58:14 +0000 (15:58 +0100)]
#9254: fix Tinebase_Relation_RelationTest::testTransfer (pgsql)

- skip broken test for the moment

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

Change-Id: Ib9d026dc5f762fa7d83d4beca395d435a55fef35
Reviewed-on: https://gerrit.tine20.org/tine20/2589
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Mon, 25 Nov 2013 15:07:35 +0000 (16:07 +0100)]
Merge branch '2013.10'

8 years agoadded tine-uninstall target to build.xml
Philipp Schüle [Mon, 25 Nov 2013 15:05:02 +0000 (16:05 +0100)]
added tine-uninstall target to build.xml

8 years agoignore empty arguments
Cornelius Weiß [Mon, 25 Nov 2013 11:19:40 +0000 (12:19 +0100)]
ignore empty arguments

- might be set by phing without furthor config

Change-Id: I658862be0ef2a24bae88185dd062c01ba8255236
Reviewed-on: https://gerrit.tine20.org/tine20/2588
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: jenkins user
8 years agodirectly fetch the base event, no need to search for it
Lars Kneschke [Mon, 25 Nov 2013 08:24:31 +0000 (09:24 +0100)]
directly fetch the base event, no need to search for it

Change-Id: Ia82017b60eea3809d31f59007b85fa66fa4c94f3
Reviewed-on: https://gerrit.tine20.org/tine20/2586
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.03' into 2013.10
Philipp Schüle [Mon, 25 Nov 2013 11:48:32 +0000 (12:48 +0100)]
Merge branch '2013.03' into 2013.10

8 years ago#8644: error when sending mail with note (wrong charset)
Philipp Schüle [Fri, 22 Nov 2013 11:42:16 +0000 (12:42 +0100)]
#8644: error when sending mail with note (wrong charset)

- catch db exceptions (like "incorrect string value") when trying to add
note to contact
- disabled filtering as it did not help

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

Change-Id: Ia1f09842042c70504bb97cc316a279206cab14a0
Reviewed-on: http://gerrit.tine20.com/customers/218
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Mon, 25 Nov 2013 11:11:54 +0000 (12:11 +0100)]
Merge branch '2013.10'

Conflicts:
tine20/build.xml

8 years agoadd more log decorators (configurable)
Paul Mehrer [Mon, 25 Nov 2013 09:26:01 +0000 (10:26 +0100)]
add more log decorators (configurable)

- time diff to previous log message
- diff to first log message of this request

tine20/index.php - added application start time to Tinebase_Core registry
tine20/Tinebase/Core.php - added application start time registry constant
tine20/Tinebase/Log/Formatter.php
  - added constructor that overwrites parent to reduce if statements in format method
  - added configurable application run time in s/ms logging decorator
  - added configurable time between log statements in s/ms logging decorator
tine20/Tinebase/Helper.php - added microtime() difference format function

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

Change-Id: Idd672453b7c4b7ac5a9bd568227fd5012f20f553
Reviewed-on: https://gerrit.tine20.org/tine20/2587
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agospeedup Tine 2.0 internal filesystem
Lars Kneschke [Sun, 24 Nov 2013 03:40:15 +0000 (04:40 +0100)]
speedup Tine 2.0 internal filesystem

Change-Id: I20199673cfdfed999d1c9a863018ddd8391da7f1
Reviewed-on: https://gerrit.tine20.org/tine20/2584
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agospeedup Tinebase_Translation::getTranslation
Lars Kneschke [Sat, 23 Nov 2013 10:59:48 +0000 (11:59 +0100)]
speedup Tinebase_Translation::getTranslation

The previous logic loaded all translations of an given application into
memory, got very big and consumed much time even when loaded from cache.
The new implementation only loads the file needed and is fast.

Change-Id: Id728a7d7d411851e403bd056c5c7aa6ab89fde3a
Reviewed-on: https://gerrit.tine20.org/tine20/2582
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agopreparing for LDAP test job / phpunit via phing
Philipp Schüle [Fri, 22 Nov 2013 20:24:59 +0000 (21:24 +0100)]
preparing for LDAP test job / phpunit via phing

- adds ldap test setup howto + ldif
- improved phpunit target in build.xml

Change-Id: Iab856a99a7b38e8cf1558b7f39b5c870eb2a1068
Reviewed-on: https://gerrit.tine20.org/tine20/2560
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agomake Crm_JsonTests test more fault tolerant
Lars Kneschke [Sun, 24 Nov 2013 18:29:00 +0000 (19:29 +0100)]
make Crm_JsonTests test more fault tolerant

Change-Id: If1c36f1cd9e3c8bd68c926412c276db2a1f38a34
Reviewed-on: https://gerrit.tine20.org/tine20/2585
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
8 years agospeed up tests by disabling calendar notifications
Lars Kneschke [Sat, 23 Nov 2013 20:15:46 +0000 (21:15 +0100)]
speed up tests by disabling calendar notifications

Change-Id: I4e54d4649dc17fe29a7e08609bfde09f0d035066
Reviewed-on: https://gerrit.tine20.org/tine20/2583
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
8 years ago#9286: fix generating xml of user settings
Lars Kneschke [Fri, 22 Nov 2013 12:40:44 +0000 (13:40 +0100)]
#9286: fix generating xml of user settings

properties had been renamed (*_writable => *_w)

- adds test / improved Voipmanager Backend testing
- adds fallbacks for $_SERVER variables
- fixes some formatting and adds debug logging

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

Change-Id: If5c7036c12d45bc2b53002ff60402e75fbe2838f
Reviewed-on: https://gerrit.tine20.org/tine20/2577
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
8 years agopassthrou added in build.xml for composer execution
Paul Mehrer [Thu, 21 Nov 2013 14:56:06 +0000 (15:56 +0100)]
passthrou added in build.xml for composer execution

Change-Id: Ib84176417ce5286adacc6ec242641371a7c565b2
Reviewed-on: https://gerrit.tine20.org/tine20/2564
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Thu, 21 Nov 2013 11:01:16 +0000 (12:01 +0100)]
Merge branch '2013.10'

8 years agoupdated changelogs for Collin Service Release 1
Philipp Schüle [Thu, 21 Nov 2013 09:23:41 +0000 (10:23 +0100)]
updated changelogs for Collin Service Release 1

Change-Id: I4791a2ed3602adad42eb9f8d7809d2e069cb1fca
Reviewed-on: https://gerrit.tine20.org/tine20/2575
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago0009048: sometimes the status of sales contract has an icon, sometimes not
Alexander Stintzing [Thu, 21 Nov 2013 09:15:04 +0000 (10:15 +0100)]
0009048: sometimes the status of sales contract has an icon, sometimes not

 - fixed postgresql setup failure

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

Change-Id: I3918c6a2303feb620167e991466b0cdb39dc7c2f
Reviewed-on: https://gerrit.tine20.org/tine20/2576
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agofix problems with password containing a colon
Lars Kneschke [Thu, 21 Nov 2013 05:31:10 +0000 (06:31 +0100)]
fix problems with password containing a colon

ASSIGNED - # 9256: Bei Passwort mit bestimmten Sonderzeichen keine
Anmeldung CalDAV möglich
https://forge.tine20.org/mantisbt/view.php?id=9256

Change-Id: I0689678c9c210b1fcb683fc4e2c77097ab7f2453
Reviewed-on: https://gerrit.tine20.org/tine20/2573
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Wed, 20 Nov 2013 17:55:20 +0000 (18:55 +0100)]
Merge branch '2013.10'

Conflicts:
tine20/build.xml

8 years agoupdated composer.lock hash because of autoloader changes
Philipp Schüle [Wed, 20 Nov 2013 17:42:28 +0000 (18:42 +0100)]
updated composer.lock hash because of autoloader changes

8 years agoupdated setup tests
Philipp Schüle [Wed, 20 Nov 2013 15:56:14 +0000 (16:56 +0100)]
updated setup tests

- setup tests now use composer autoloader
- removed some legacy code
- improved error handling
- renamed TestServer to Setup_TestServer to avoid naming conflict

Change-Id: If758a63d10f77f6bd01ae5c9398b98f93f0178a3
Reviewed-on: https://gerrit.tine20.org/tine20/2571
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago0009282: merge transifex (pull)
Philipp Schüle [Wed, 20 Nov 2013 17:22:55 +0000 (18:22 +0100)]
0009282: merge transifex (pull)

8 years agoadded translation-test hint to tx pull target
Philipp Schüle [Wed, 20 Nov 2013 17:08:26 +0000 (18:08 +0100)]
added translation-test hint to tx pull target

8 years ago0009282: merge transifex (push)
Philipp Schüle [Wed, 20 Nov 2013 17:07:33 +0000 (18:07 +0100)]
0009282: merge transifex (push)

8 years ago0009282: merge transifex
Philipp Schüle [Wed, 20 Nov 2013 17:02:25 +0000 (18:02 +0100)]
0009282: merge transifex

8 years agoopendocument has been moved to seperate git repo
Philipp Schüle [Wed, 20 Nov 2013 16:03:44 +0000 (17:03 +0100)]
opendocument has been moved to seperate git repo

- the tests are executed there and are no longer required in AllTests of
Tine 2.0

Change-Id: I44859e129005f3d2c228bcc05a2fdb987878180c
Reviewed-on: https://gerrit.tine20.org/tine20/2572
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: jenkins user
8 years ago#8546: When edit event, history show "code" ...
Philipp Schüle [Wed, 20 Nov 2013 16:25:51 +0000 (17:25 +0100)]
#8546: When edit event, history show "code" ...

- show human readable diff text in system note
- added is_json helper function

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

Change-Id: Id991b47b517abe1896742144623cd9d65f00cc74
Reviewed-on: https://gerrit.tine20.org/tine20/2567
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#9124: After update calendar won´t work
Philipp Schüle [Wed, 20 Nov 2013 11:19:00 +0000 (12:19 +0100)]
#9124: After update calendar won´t work

- adds check for available filesystem before fetching attachments

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

Change-Id: Ie2c10f1c7c40d9eb808c2c394edde0d357c9af22
Reviewed-on: https://gerrit.tine20.org/tine20/2569
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#9246: Mail address of organizer is broken in invite mails
Philipp Schüle [Wed, 20 Nov 2013 11:08:25 +0000 (12:08 +0100)]
#9246: Mail address of organizer is broken in invite mails

- typo: SEND-BY -> SENT-BY
- new VObject fixed the problem
- added test

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

Change-Id: Idbeb10b4676c08238698bb3fa29dc8af84a3c8bd
Reviewed-on: https://gerrit.tine20.org/tine20/2534
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#9276: show weekday in calendar details panel
Philipp Schüle [Wed, 20 Nov 2013 09:33:34 +0000 (10:33 +0100)]
#9276: show weekday in calendar details panel

- adds full weekday in details panel and notification body

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

Change-Id: Ib3393c0577263fff6d70ae858c140a18c1ba819a
Reviewed-on: https://gerrit.tine20.org/tine20/2565
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#9278: show weekday in email details panel
Philipp Schüle [Wed, 20 Nov 2013 09:40:24 +0000 (10:40 +0100)]
#9278: show weekday in email details panel

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

Change-Id: I9b5dd6b49689a1045f9ee068d5ff0a71a01c33ef
Reviewed-on: https://gerrit.tine20.org/tine20/2566
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agospeedup Tinebase_GroupTest
Lars Kneschke [Fri, 15 Nov 2013 18:26:39 +0000 (19:26 +0100)]
speedup Tinebase_GroupTest

Before: Time: 2.32 minutes, Memory: 37.25Mb
After:  Time: 319 ms,       Memory: 22.75Mb

Change-Id: I1546872930cbcb3dfb4d9b73dcfab70f39254bb6
Reviewed-on: https://gerrit.tine20.org/tine20/2549
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
8 years agoadded phing target tine-install and properties file
Philipp Schüle [Mon, 18 Nov 2013 15:15:13 +0000 (16:15 +0100)]
added phing target tine-install and properties file

Change-Id: Ifa3f4c8d2f9c439e9c32453633b495bb0ed83bb3
Reviewed-on: https://gerrit.tine20.org/tine20/2558
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago#9132: catch ugly errors when there are db config problems
Philipp Schüle [Mon, 18 Nov 2013 11:28:31 +0000 (12:28 +0100)]
#9132: catch ugly errors when there are db config problems

- catch adapter exception when trying to get config from cache
- streamlined exception handling in http server
- log exceptions to error_log if Logger is not available

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

Change-Id: Ia724c3edc584062d553db84fcbecdae30335bf73
Reviewed-on: https://gerrit.tine20.org/tine20/2557
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Tue, 19 Nov 2013 12:40:00 +0000 (13:40 +0100)]
Merge branch '2013.10'

8 years agoUpdates for all converters to include support for BDAY, CATEGORIES and PHOTO
Ingo Ratsdorf [Sat, 16 Nov 2013 10:00:17 +0000 (23:00 +1300)]
Updates for all converters to include support for BDAY, CATEGORIES and PHOTO

fixes: https://forge.tine20.org/mantisbt/view.php?id=6488
fixes: https://forge.tine20.org/mantisbt/view.php?id=9106
fixes: https://forge.tine20.org/mantisbt/view.php?id=6602

- adds support for KDE Akonadi DAV resource, note that this resource uses various useragent strings, "davgroupware" SHOULD be constant.
- adds support for PHOTO, CATEGORIES and BDAY

modified:   Abstract.php
new file:   Akonadi.php
modified:   EMClient.php
modified:   Factory.php
modified:   Generic.php
modified:   IOS.php
modified:   KDE.php
modified:   MacOSX.php
modified:   Sogo.php
modified:   WebDAVCollaborator.php

Change-Id: I348d9d969d68f832e937e03abb1c65ea7489d385
Reviewed-on: https://gerrit.tine20.org/tine20/2562
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
8 years agofetch notes only in get function and not in _getReleatedData, otherwise
Lars Kneschke [Tue, 19 Nov 2013 07:05:05 +0000 (08:05 +0100)]
fetch notes only in get function and not in _getReleatedData, otherwise
general performance will suffer

Change-Id: I21da35ff86993d185dcc77918fd82aab24384a21
Reviewed-on: https://gerrit.tine20.org/tine20/2561
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Mon, 18 Nov 2013 12:45:32 +0000 (13:45 +0100)]
Merge branch '2013.10'

8 years agoMerge branch '2013.03' into 2013.10
Philipp Schüle [Mon, 18 Nov 2013 12:37:33 +0000 (13:37 +0100)]
Merge branch '2013.03' into 2013.10

8 years agosome calendar performance improvements
Cornelius Weiß [Mon, 18 Nov 2013 11:15:36 +0000 (12:15 +0100)]
some calendar performance improvements

    - avoid duplicate read of event during saveAttendee

Change-Id: I658862be0ef2a24bae88185dd062c01ba8255235
Reviewed-on: https://gerrit.tine20.org/tine20/2556
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago0009262: Import Calender fails
Philipp Schüle [Mon, 18 Nov 2013 10:19:06 +0000 (11:19 +0100)]
0009262: Import Calender fails

- log ics parse errors during import

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

Change-Id: Id7a22dfef861e4506460d3e5915cea4ae5f27385
Reviewed-on: https://gerrit.tine20.org/tine20/2555
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago# 8676: ActiveSync with BB 10, Wrong Data in Calender RRULE
Lars Kneschke [Mon, 18 Nov 2013 10:35:19 +0000 (11:35 +0100)]
# 8676: ActiveSync with BB 10, Wrong Data in Calender RRULE

- Fixed preg_replace statement

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

Change-Id: Ic1c90a404848e31a21c36e188cb557cb8da6e181
Reviewed-on: http://gerrit.tine20.com/customers/215
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agoMerge branch '2013.10'
Philipp Schüle [Mon, 18 Nov 2013 09:55:43 +0000 (10:55 +0100)]
Merge branch '2013.10'

8 years agosome calendar performance improvements
Lars Kneschke [Mon, 18 Nov 2013 09:44:57 +0000 (10:44 +0100)]
some calendar performance improvements

- don't fetch related data when resolving userid
- avoid duplicate read of event during create

Change-Id: I658862be0ef2a24bae88185dd062c01ba8255234
Reviewed-on: https://gerrit.tine20.org/tine20/2554
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
8 years agosome performance improvements
Lars Kneschke [Sun, 17 Nov 2013 12:19:31 +0000 (13:19 +0100)]
some performance improvements
- we only need to filter for grant, if the grant does not contain %
- don't read notes, when getReleatedData is disabled

Change-Id: I859a0360d9bf75dac271dd61c2520ebfe4564123
Reviewed-on: https://gerrit.tine20.org/tine20/2552
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years ago0009266: Create phing task for validating translation files
Alexander Stintzing [Fri, 15 Nov 2013 12:43:59 +0000 (13:43 +0100)]
0009266: Create phing task for validating translation files

Sometimes there are syntactical errors or duplicates in the
.po files. To find them easily, we need a phing task.

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

Change-Id: I6a91b9ac62d12457e8d9ae2b7b9b515e9af80156
Reviewed-on: https://gerrit.tine20.org/tine20/2547
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
8 years agomake _getAttendee compatible with parrent again
Lars Kneschke [Sat, 16 Nov 2013 06:17:32 +0000 (07:17 +0100)]
make _getAttendee compatible with parrent again

Change-Id: I1824afb86de1918bc3b60ea472fbcf2452b68665
Reviewed-on: https://gerrit.tine20.org/tine20/2550
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
8 years agoimproved performance of Admin_JsonTests
Lars Kneschke [Fri, 15 Nov 2013 09:42:56 +0000 (10:42 +0100)]
improved performance of Admin_JsonTests

Change-Id: Icec12ede13a7baba5012e70f4f785774537010c2
Reviewed-on: https://gerrit.tine20.org/tine20/2544
Tested-by: jenkins user
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>