tine20
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Tue, 17 Feb 2015 13:29:10 +0000 (14:29 +0100)]
Merge branch '2013.10' into 2014.11

5 years ago0010834: defining a key-value costumfield breaks addressbook
Philipp Schüle [Tue, 17 Feb 2015 12:45:33 +0000 (13:45 +0100)]
0010834: defining a key-value costumfield breaks addressbook

* use set() to update config item in registry
* trying to set the object directly did not work any longer (did it ever
work?)

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

Change-Id: If9e0325648cdbe3c372e878d1b365d226291c8fb
Reviewed-on: http://gerrit.tine20.com/customers/1667
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agofixes invalid start/end time validation
Philipp Schüle [Tue, 17 Feb 2015 11:57:32 +0000 (12:57 +0100)]
fixes invalid start/end time validation

* introduces adjustTimeToUserPreference helper function
* improves validation error strings

Change-Id: I4aa6eccdd5ff674973bee6dda7b954326ce14658
Reviewed-on: http://gerrit.tine20.com/customers/1666
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoskips test if Sales custom config exists
Philipp Schüle [Mon, 16 Feb 2015 14:21:46 +0000 (15:21 +0100)]
skips test if Sales custom config exists

Change-Id: Id5775ac74a1441c88885fe8e0a618b46dfd88b27
Reviewed-on: http://gerrit.tine20.com/customers/1663
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agolist returns 1 if no applications are installed
Philipp Schüle [Mon, 16 Feb 2015 11:42:00 +0000 (12:42 +0100)]
list returns 1 if no applications are installed

Change-Id: I2f01135054a35434e4bf2937904d8fb5413bcf76
Reviewed-on: http://gerrit.tine20.com/customers/1660
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Mon, 16 Feb 2015 12:01:58 +0000 (13:01 +0100)]
Merge branch '2013.10' into 2014.11

5 years agofix borken update on PGSQL
Lars Kneschke [Fri, 13 Feb 2015 10:32:29 +0000 (11:32 +0100)]
fix borken update on PGSQL

Change-Id: I3796991ef95cb00df316f571d95e0d8d37549fad
Reviewed-on: http://gerrit.tine20.com/customers/1659
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
5 years agofind gidnumber for group objects too
Lars Kneschke [Wed, 11 Feb 2015 15:09:37 +0000 (16:09 +0100)]
find gidnumber for group objects too

Change-Id: I91270063c78e630e185cf9a6dea04d283d9c2206
Reviewed-on: http://gerrit.tine20.com/customers/1646
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoskips undefined fields in UserProfilePanel
Philipp Schüle [Wed, 11 Feb 2015 11:38:47 +0000 (12:38 +0100)]
skips undefined fields in UserProfilePanel

Change-Id: I95f664a8788ea51cf91989cd0b6ae2633265f8d2
Reviewed-on: http://gerrit.tine20.com/customers/1642
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoremoves duplicate translation
Philipp Schüle [Wed, 11 Feb 2015 11:15:31 +0000 (12:15 +0100)]
removes duplicate translation

5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Wed, 11 Feb 2015 10:55:44 +0000 (11:55 +0100)]
Merge branch '2013.10' into 2014.11

Conflicts:
tine20/Calendar/translations/de.po

Change-Id: Ica114bb265602c623d275a3fc1c84cc4a391341d

5 years agofixes duplicate % in tooltip
Philipp Schüle [Tue, 10 Feb 2015 13:04:55 +0000 (14:04 +0100)]
fixes duplicate % in tooltip

Change-Id: I596988e188131f970d46c99fb0ddc9207e303e65
Reviewed-on: http://gerrit.tine20.com/customers/1632
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0010822: contact relation is not saved correctly
Philipp Schüle [Tue, 10 Feb 2015 13:51:04 +0000 (14:51 +0100)]
0010822: contact relation is not saved correctly

* RESPONSIBLE relation type needs to be upper case
- fixed in js client default data for new leads
- adds update script for current relations types
* fixes lead notification mails for new leads
* adds a helper function for setting container grants to TestCase
* some more minor improvements

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

Change-Id: Ic46b21518db985a8d86a0042fe4b6b44dd047537
Reviewed-on: http://gerrit.tine20.com/customers/1637
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoremove comment no longer needed
Lars Kneschke [Tue, 10 Feb 2015 14:12:25 +0000 (15:12 +0100)]
remove comment no longer needed

Change-Id: Ic66e2465c1fe2994528194b6916fed36e9fed49d
Reviewed-on: http://gerrit.tine20.com/customers/1633
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agofix update script for Sales application
Lars Kneschke [Tue, 10 Feb 2015 08:13:33 +0000 (09:13 +0100)]
fix update script for Sales application

Change-Id: Iddec41931a27d9b64621c5ac13b4c9a7d1cab4e3
Reviewed-on: http://gerrit.tine20.com/customers/1629
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
5 years agosetup tests: phpunitconfig.inc.php is taken from any include path
Philipp Schüle [Mon, 9 Feb 2015 16:11:28 +0000 (17:11 +0100)]
setup tests: phpunitconfig.inc.php is taken from any include path

Change-Id: I721430ff975e141764eb3596a35c731b76c99e2d
Reviewed-on: http://gerrit.tine20.com/customers/1626
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoreturn also default value in toArray()
Lars Kneschke [Tue, 10 Feb 2015 08:08:43 +0000 (09:08 +0100)]
return also default value in toArray()

Change-Id: I09d88a22e00c69e97ad65be31fa8d6cb1dc3eb94
Reviewed-on: http://gerrit.tine20.com/customers/1627
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agofix broken alterCol function
Lars Kneschke [Tue, 10 Feb 2015 08:12:14 +0000 (09:12 +0100)]
fix broken alterCol function

- previous preg_match matched not only the DEFAULT value but also the
following NOT NULL
- default value is property of $_declaration => no need to guess it with
preg_match

Change-Id: I1e6c80e65608db706dd55da4f3c63d7ebcb8b555
Reviewed-on: http://gerrit.tine20.com/customers/1628
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch 'pu/2013.10-clipboard' into 2013.10
Philipp Schüle [Mon, 9 Feb 2015 15:41:11 +0000 (16:41 +0100)]
Merge branch 'pu/2013.10-clipboard' into 2013.10

Conflicts:
tine20/Calendar/translations/de.po

Change-Id: Iab280980cf051874a9363de1ca67b72c49bf5f18

5 years agoreplace having with where
Lars Kneschke [Tue, 27 Jan 2015 07:36:17 +0000 (08:36 +0100)]
replace having with where

Change-Id: I4f6d634c49d221e50f138b9a77149cfb24ffc444
Reviewed-on: http://gerrit.tine20.com/customers/1567
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agofix problem with duplicate INBOX folders
Lars Kneschke [Mon, 9 Feb 2015 12:27:40 +0000 (13:27 +0100)]
fix problem with duplicate INBOX folders

- INBOX: check if located in personal namespace
- TRASH, SENT and DRAFTS: check if configured folder or if located in
personal namespace

Change-Id: Ia8b6963bdbf0c1759b7dac88368f622165c34abc
Reviewed-on: http://gerrit.tine20.com/customers/1623
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Mon, 9 Feb 2015 12:28:27 +0000 (13:28 +0100)]
Merge branch '2013.10' into 2014.11

5 years agoSend notification emails if user has edit right to resource
Michael Spahn [Mon, 8 Dec 2014 16:20:42 +0000 (17:20 +0100)]
Send notification emails if user has edit right to resource

If you add a resource to your event, every user who is allowed
to edit this resouce receives the mail as well.

Change-Id: I1f3dfa321e28c475b6ec7b633763c5a96d5ac964
Reviewed-on: http://gerrit.tine20.com/customers/1430
Tested-by: Jenkins CI (http://ci.tine20.com/)
Tested-by: sstamer <s.stamer@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agothrows exception if event has neither dtend nor dtstart
Philipp Schüle [Fri, 6 Feb 2015 10:23:45 +0000 (11:23 +0100)]
throws exception if event has neither dtend nor dtstart

Change-Id: I68486a53c42e67483ff7447d32372577a3fd1b98
Reviewed-on: http://gerrit.tine20.com/customers/1616
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Fri, 6 Feb 2015 09:05:30 +0000 (10:05 +0100)]
Merge branch '2013.10' into 2014.11

5 years agosome export definitions don't have a column config
Philipp Schüle [Thu, 5 Feb 2015 11:47:06 +0000 (12:47 +0100)]
some export definitions don't have a column config

* for example the DOC export of the Adressbook

Change-Id: Ic535eb9b7ffb6cb8b080a6a5bff2ec37fe1b8dc8
Reviewed-on: http://gerrit.tine20.com/customers/1614
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoFix some special Translations
sstamer [Thu, 5 Feb 2015 12:18:47 +0000 (13:18 +0100)]
Fix some special Translations

Change-Id: Idb6e7d1052d855d9055e03bca25c20590fb9a706
Reviewed-on: http://gerrit.tine20.com/customers/1615
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoDo not create recurring events that are longer than the interval
sstamer [Wed, 4 Feb 2015 14:37:14 +0000 (15:37 +0100)]
Do not create recurring events that are longer than the interval

Change-Id: I9b964a9f46e51788ee1cab091559ee712b044362
Reviewed-on: http://gerrit.tine20.com/customers/1608
Tested-by: sstamer <s.stamer@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoprevent xDAV clients to change the container displayname to id/uuid
Philipp Schüle [Wed, 4 Feb 2015 12:27:37 +0000 (13:27 +0100)]
prevent xDAV clients to change the container displayname to id/uuid

Change-Id: I33a310c7f52b1f9fc16b828ad53e3caffa56f843
Reviewed-on: http://gerrit.tine20.com/customers/1607
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoFix some sales translations
sstamer [Wed, 28 Jan 2015 08:45:41 +0000 (09:45 +0100)]
Fix some sales translations

Change-Id: Id63f07aaa1698e3a0c3c237c140158da075a0f6e
Reviewed-on: http://gerrit.tine20.com/customers/1570
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Wed, 4 Feb 2015 12:34:19 +0000 (13:34 +0100)]
Merge branch '2013.10' into 2014.11

5 years agoMute Toggle with Reschedule, RecurException, StatusChange
sstamer [Thu, 29 Jan 2015 15:04:07 +0000 (16:04 +0100)]
Mute Toggle with Reschedule, RecurException, StatusChange

+ Tests

Change-Id: I4b14f3ab7bf2fae837c59156c0787a57bdafe8a9
Reviewed-on: http://gerrit.tine20.com/customers/1603
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0010560: Import contacts using merge mine
sstamer [Thu, 29 Jan 2015 14:12:57 +0000 (15:12 +0100)]
0010560: Import contacts using merge mine

* adds a mergeMine test with tags
* fixes merge handling when importing via web interface

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

Change-Id: I04307bd01ca05ea57cb6aef9f792338c96f727ee
Reviewed-on: http://gerrit.tine20.com/customers/1578
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>
5 years agofixes duplicate translations in Filemanager de.po
Philipp Schüle [Tue, 3 Feb 2015 15:07:46 +0000 (16:07 +0100)]
fixes duplicate translations in Filemanager de.po

Change-Id: I71a5cacfdf4ae0bc42739f30c30266d2ebfc7f5f
Reviewed-on: http://gerrit.tine20.com/customers/1604
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agofix dayview position & size in print sheets
Cornelius Weiß [Thu, 22 Jan 2015 13:02:00 +0000 (14:02 +0100)]
fix dayview position & size in print sheets

* position all day events with percentages

Change-Id: If92869e42540bc2ad06ed8448812857b6ade7b10
Reviewed-on: http://gerrit.tine20.com/customers/1557
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Tue, 3 Feb 2015 14:29:40 +0000 (15:29 +0100)]
Merge branch '2013.10' into 2014.11

Conflicts:
tests/tine20/Calendar/Frontend/iMIPTest.php
tine20/Filemanager/translations/de.po
tine20/Filemanager/translations/template.pot

Change-Id: I7415f7ecabb4d32f734ae4723bd7e10a045f8684

5 years agoupdate for installations with PGSQL < 9.1 fails
Lars Kneschke [Tue, 3 Feb 2015 08:33:09 +0000 (09:33 +0100)]
update for installations with PGSQL < 9.1 fails

- left function is not evailable for PGSQL < 9.1
- do the length calculation in PHP
- create the needed SQL query with Zend_Db_Select

Change-Id: I8de7ded086b7674d87da072da2424ee2bce35f16
Reviewed-on: http://gerrit.tine20.com/customers/1600
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0010792: Sort leads by status and source
Philipp Schüle [Sat, 31 Jan 2015 17:27:32 +0000 (18:27 +0100)]
0010792: Sort leads by status and source

* implements sorting for "keyfields" in CRM (leadstate/source/type)
* creates new getSwitch() DB Command

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

Change-Id: I3d2a1b5d7323b6de89b6124596b6169efbed9653
Reviewed-on: http://gerrit.tine20.com/customers/1597
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch 'pu/2013.10-mutenotification' into 2013.10
Philipp Schüle [Tue, 3 Feb 2015 09:12:11 +0000 (10:12 +0100)]
Merge branch 'pu/2013.10-mutenotification' into 2013.10

Conflicts:
tests/tine20/Calendar/Frontend/iMIPTest.php

Change-Id: I8352806b92bd3d75cac3fafeced6f4b765a8803b

5 years agoMerge branch 'pu/2013.10-downloadlink' into 2013.10
Philipp Schüle [Tue, 3 Feb 2015 09:10:59 +0000 (10:10 +0100)]
Merge branch 'pu/2013.10-downloadlink' into 2013.10

Conflicts:
tine20/Filemanager/translations/de.po
tine20/Filemanager/translations/template.pot

Change-Id: I8ed2bfbee9d88ea1822e9ebac38fe8e50a349aa2

5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Sat, 31 Jan 2015 17:45:59 +0000 (18:45 +0100)]
Merge branch '2013.10' into 2014.11

5 years agoadd action should be available by default
Philipp Schüle [Sat, 31 Jan 2015 17:28:30 +0000 (18:28 +0100)]
add action should be available by default

Change-Id: Ife2a0414c69e2be9bbaad55abf8b001dc57cfe55
Reviewed-on: http://gerrit.tine20.com/customers/1598
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agochecks if session is writable first (setup TZ)
Philipp Schüle [Fri, 30 Jan 2015 13:56:01 +0000 (14:56 +0100)]
checks if session is writable first (setup TZ)

Change-Id: If81ad413f3aec01922fdb7012f9b5625e5ae5db9
Reviewed-on: http://gerrit.tine20.com/customers/1588
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Fri, 30 Jan 2015 12:02:39 +0000 (13:02 +0100)]
Merge branch '2013.10' into 2014.11

5 years agodiff(): date field in record could be DateTime without compare()
Philipp Schüle [Thu, 29 Jan 2015 14:25:05 +0000 (15:25 +0100)]
diff(): date field in record could be DateTime without compare()

-> convert to Tinebase_DateTime before comparing the dates

Change-Id: I4842d99fbf35910a9505035fb79daf409bf118aa
Reviewed-on: http://gerrit.tine20.com/customers/1584
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0005578: activesync device management
Philipp Schüle [Thu, 29 Jan 2015 11:34:47 +0000 (12:34 +0100)]
0005578: activesync device management

* disables all fields in edit dialog as they are overwritten on the next
sync

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

Change-Id: I6d32304389f7ccfcbae7bfdc83f624ea330c275b
Reviewed-on: http://gerrit.tine20.com/customers/1577
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoSpecial relation timezone case
sstamer [Wed, 28 Jan 2015 12:00:59 +0000 (13:00 +0100)]
Special relation timezone case

where timezone is null

Change-Id: I3ac0ded85b59e2184d80930f6def62d7f9598a35
Reviewed-on: http://gerrit.tine20.com/customers/1572
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoAdd CRM translations for detail panel
Michael Spahn [Fri, 23 Jan 2015 14:28:44 +0000 (15:28 +0100)]
Add CRM translations for detail panel

Change-Id: I1bd2e52647e95c1d449005d943ea7dd48374fdaa
Reviewed-on: http://gerrit.tine20.com/customers/1575
Tested-by: Jenkins CI (http://ci.tine20.com/)
Tested-by: sstamer <s.stamer@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoShow detailed information for locations in CRM detail
Michael Spahn [Fri, 16 Jan 2015 13:57:38 +0000 (14:57 +0100)]
Show detailed information for locations in CRM detail

If you select a lead, you'll see the street, location and
postalcode.

Change-Id: I802e0842be7a716f0d6e58a2f0cc0719b77afda0
Reviewed-on: http://gerrit.tine20.com/customers/1536
Tested-by: Jenkins CI (http://ci.tine20.com/)
Tested-by: sstamer <s.stamer@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoadds test fix that got lost during device management merge
Philipp Schüle [Wed, 28 Jan 2015 19:13:12 +0000 (20:13 +0100)]
adds test fix that got lost during device management merge

5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Wed, 28 Jan 2015 18:49:52 +0000 (19:49 +0100)]
Merge branch '2013.10' into 2014.11

Conflicts:
tests/tine20/ActiveSync/AllTests.php
tests/tine20/ActiveSync/TestCase.php
tests/tine20/Addressbook/Frontend/ActiveSyncTest.php
tests/tine20/Calendar/Frontend/ActiveSyncTest.php
tests/tine20/Tasks/Frontend/ActiveSyncTest.php

Change-Id: I5543782187ccaa555f94cc1213f30e70096508bf

5 years ago0010756: add feature switches for easy enabling/disabling of features
Philipp Schüle [Fri, 23 Jan 2015 11:23:01 +0000 (12:23 +0100)]
0010756: add feature switches for easy enabling/disabling of features

* adds 'content' for struct configs
* adds 'default' for struct configs
* adds Sales FEATURE_INVOICES_MODULE
* adds feature switches for order confiromations & offers
* adds tests for featureEnabled fn

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

Change-Id: I35e1c1476d55e15fea79eb63cb67909ef55bdfc9
Reviewed-on: http://gerrit.tine20.com/customers/1560
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoallows to inject application config defaults
Philipp Schüle [Tue, 27 Jan 2015 16:13:41 +0000 (17:13 +0100)]
allows to inject application config defaults

... by putting a config.inc.php file into the application directory that
contains the specific default config options

Change-Id: I15e5fbef272a9da8af89362d758ff9fe97fe8ae5
Reviewed-on: http://gerrit.tine20.com/customers/1569
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agovalidate 00:00 correctly
sstamer [Wed, 28 Jan 2015 09:56:07 +0000 (10:56 +0100)]
validate 00:00 correctly

Change-Id: If4f733245f558638c8ccbc903a899c328fd949c0
Reviewed-on: http://gerrit.tine20.com/customers/1573
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0005578: activesync device management
sstamer [Mon, 22 Dec 2014 08:05:24 +0000 (09:05 +0100)]
0005578: activesync device management

- Implemented UI
- Implemented Controller
- Integrated into Admin UI
- Inside of ActiveSync
- Adds device management tests
- Refactors ActiveSync controller tests
- adds device management as Admin module (if ActiveSync is installed)

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

Change-Id: I8259769506a1662f4433efaba0c33b4c2cb9961a
Reviewed-on: http://gerrit.tine20.com/customers/1482
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>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoExdate delete does not update seq of base event
Cornelius Weiß [Fri, 23 Jan 2015 09:43:08 +0000 (10:43 +0100)]
Exdate delete does not update seq of base event

Change-Id: I2cffee8d26937dd5f2d002b6bf10ba3c981fcbaa
Reviewed-on: http://gerrit.tine20.com/customers/1558
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoremoves redundant "implements Sales_Model_Billable_Interface"
Philipp Schüle [Wed, 21 Jan 2015 18:35:38 +0000 (19:35 +0100)]
removes redundant "implements Sales_Model_Billable_Interface"

Change-Id: I3d2211471168f13606af8f9fa88f20b8c3376baa
Reviewed-on: http://gerrit.tine20.com/customers/1562
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoQuick fix for humanResources Demodata
sstamer [Fri, 23 Jan 2015 10:16:59 +0000 (11:16 +0100)]
Quick fix for humanResources Demodata

- there is the case where we have more users then Costcenters or
devisions

Change-Id: I52b385c30c40a20fbe81dc1e6c40c328fd673ed3
Reviewed-on: http://gerrit.tine20.com/customers/1559
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoupgrade vagrant box to saucy 64 bit with php5.5
Michael Spahn [Fri, 2 Jan 2015 14:55:12 +0000 (15:55 +0100)]
upgrade vagrant box to saucy 64 bit with php5.5

cherry-picked from master and originally committed by c.weiss@metaways.de

Change-Id: Id99cc0b5540f4d9d545afab61d9f863103fe17f0
Reviewed-on: http://gerrit.tine20.com/customers/1532
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Tue, 20 Jan 2015 15:02:07 +0000 (16:02 +0100)]
Merge branch '2013.10' into 2014.11

Conflicts:
tine20/Felamimail/Frontend/ActiveSync.php

Change-Id: I327dee422c5248195af380ac9130091c16daf094

5 years agofixes Timetracker edit dialogs with disabled Sales Invoices module
Philipp Schüle [Tue, 20 Jan 2015 14:31:16 +0000 (15:31 +0100)]
fixes Timetracker edit dialogs with disabled Sales Invoices module

TODO: implement feature switch

Change-Id: I5877fb220d0ec53c79a1c8140bab93b6f3451f74
Reviewed-on: http://gerrit.tine20.com/customers/1537
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agofix billing and delivery address translations
sstamer [Thu, 15 Jan 2015 12:58:38 +0000 (13:58 +0100)]
fix billing and delivery address translations

TODO: this should use the singular/plural translations

Change-Id: Id6ce73c9c4d1e58fc3192ed93d0a3fb200f12333
Reviewed-on: http://gerrit.tine20.com/customers/1533
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoset correct AS foldertype for drafts folder
Lars Kneschke [Sun, 18 Jan 2015 15:35:07 +0000 (16:35 +0100)]
set correct AS foldertype for drafts folder

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

Change-Id: Ie0dd527983cfa8076280ea860ab0289b74a96212
Reviewed-on: http://gerrit.tine20.com/customers/1538
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
5 years agosend all folders to client
Lars Kneschke [Sun, 18 Jan 2015 19:33:27 +0000 (20:33 +0100)]
send all folders to client

- most unselectable folders have subfolders

Change-Id: If7fea99aef3cb8bb98aae0e2c6fda290e318498d
Reviewed-on: http://gerrit.tine20.com/customers/1539
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
5 years agoscroll position in crop mode
sstamer [Fri, 9 Jan 2015 10:59:12 +0000 (11:59 +0100)]
scroll position in crop mode

* fix initial layouting:
  scroller needs to be sized to apply scolling
  otherwise mainBody is not bigger than scroller
  and scrolling is not nessesary when initializing

Change-Id: Id580b2cdf46ec93b23d7b6f7ee50a97c5612b230
Reviewed-on: http://gerrit.tine20.com/customers/1524
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoFix 24:00 again
sstamer [Fri, 9 Jan 2015 12:33:10 +0000 (13:33 +0100)]
Fix 24:00 again

Change-Id: I0d6b65f91be9ec1b465f45ff4f02b01fe50fabb0
Reviewed-on: http://gerrit.tine20.com/customers/1519
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agomissing colon
Cornelius Weiß [Wed, 14 Jan 2015 10:53:17 +0000 (11:53 +0100)]
missing colon

Change-Id: I6fc9c72a9616970e3c35edc59c31d5a2fd0a674c
Reviewed-on: http://gerrit.tine20.com/customers/1528
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agodisable community sales features
Lars Kneschke [Wed, 14 Jan 2015 07:47:01 +0000 (08:47 +0100)]
disable community sales features

Change-Id: I463b9fc045b66e37a3b385730cdc870df444090e
Reviewed-on: http://gerrit.tine20.com/customers/1526
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
5 years ago0010720: allow to filter for foreign records with "not" operator
Philipp Schüle [Fri, 9 Jan 2015 13:45:41 +0000 (14:45 +0100)]
0010720: allow to filter for foreign records with "not" operator

* adds a test

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

Change-Id: Iec82053a82b98ddaf9e60fc8ffacc149016b7937
Reviewed-on: http://gerrit.tine20.com/customers/1521
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoavoid reading preferences on every request
Lars Kneschke [Sun, 11 Jan 2015 14:21:50 +0000 (15:21 +0100)]
avoid reading preferences on every request

Change-Id: I2bd5e1f106d907c22ef9e731d83149f406d7322d
Reviewed-on: http://gerrit.tine20.com/customers/1522
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoenable 'not'-operator for foreign record filter
Lars Kneschke [Fri, 9 Jan 2015 12:27:41 +0000 (13:27 +0100)]
enable 'not'-operator for foreign record filter

Change-Id: Ia98e143eb30ec337377c8bcebba1d4f0f7f10c0f
Reviewed-on: http://gerrit.tine20.com/customers/1520
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoenable 'not'-operator for id filter
Lars Kneschke [Fri, 9 Jan 2015 12:25:11 +0000 (13:25 +0100)]
enable 'not'-operator for id filter

Change-Id: I258552fbc18810c6f9d1fce698d06135c6b34699
Reviewed-on: http://gerrit.tine20.com/customers/1518
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Thu, 8 Jan 2015 13:09:58 +0000 (14:09 +0100)]
Merge branch '2013.10' into 2014.11

5 years agoFix Printproblem with offset 0
sstamer [Tue, 6 Jan 2015 08:51:38 +0000 (09:51 +0100)]
Fix Printproblem with offset 0

- 24:00

Change-Id: I72ce7bb393b9920309f62807bda9304b99ea8e54
Reviewed-on: http://gerrit.tine20.com/customers/1510
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0010710: Shorten Usernames
sstamer [Wed, 7 Jan 2015 13:28:23 +0000 (14:28 +0100)]
0010710: Shorten Usernames

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

Change-Id: I7012154dea1b469bef78838c5aa6b442af48d1a2
Reviewed-on: http://gerrit.tine20.com/customers/1512
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoimproves user contact addressbook handling
Philipp Schüle [Wed, 7 Jan 2015 16:42:03 +0000 (17:42 +0100)]
improves user contact addressbook handling

* set DEFAULTINTERNALADDRESSBOOK config on the fly
* don't update content sequence if empty

Change-Id: I74a6d7a7e5b7a39e918d167c8468422174605fcd
Reviewed-on: http://gerrit.tine20.com/customers/1514
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agodo not overwrite modlog properties with empty values
Philipp Schüle [Wed, 7 Jan 2015 16:38:01 +0000 (17:38 +0100)]
do not overwrite modlog properties with empty values

... because sometimes (for example during user sync from LDAP) we do not
fetch the current values before updating the user

Change-Id: Id8753e2b1e9e84e67ce4ef66efe3c709816437d6
Reviewed-on: http://gerrit.tine20.com/customers/1513
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Wed, 7 Jan 2015 16:48:58 +0000 (17:48 +0100)]
Merge branch '2013.10' into 2014.11

Conflicts:
tine20/Tinebase/Group/Sql.php

Change-Id: I42c8f9924e73ae522c9a8a7e452d75f79debf46f

5 years ago0010616: Tld with more than 4 letter in Webmail as receipt address
Philipp Schüle [Tue, 6 Jan 2015 10:11:43 +0000 (11:11 +0100)]
0010616: Tld with more than 4 letter in Webmail as receipt address

* increases allowed tld length to 63

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

Change-Id: I9c848c550053a546b0fa1016802339fe98724a6c
Reviewed-on: http://gerrit.tine20.com/customers/1505
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoadded in class cache to Tinebase_Group_Abstract/Sql
Lars Kneschke [Sat, 20 Dec 2014 22:11:52 +0000 (23:11 +0100)]
added in class cache to Tinebase_Group_Abstract/Sql

Change-Id: I641a22c1db8ac4970e021a6ec29533d9a2894060
Reviewed-on: http://gerrit.tine20.com/customers/1478
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Tue, 6 Jan 2015 11:27:11 +0000 (12:27 +0100)]
Merge branch '2013.10' into 2014.11

5 years agoreplaces deprecated /e modifier in preg_replace
Philipp Schüle [Mon, 5 Jan 2015 15:04:16 +0000 (16:04 +0100)]
replaces deprecated /e modifier in preg_replace

... by using preg_replace_callback

Change-Id: Icac5749b5b2cf7e884900176809c7b782c3dc4fc
Reviewed-on: http://gerrit.tine20.com/customers/1503
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0010630: LDAP user sync needs to set creation and lasr modified time
Philipp Schüle [Mon, 5 Jan 2015 10:58:15 +0000 (11:58 +0100)]
0010630: LDAP user sync needs to set creation and lasr modified time

* takes care of user and group modlog

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

Change-Id: Id0836ed090434d77fdada97aa750066b9f5f90fd
Reviewed-on: http://gerrit.tine20.com/customers/1502
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Fri, 2 Jan 2015 17:25:16 +0000 (18:25 +0100)]
Merge branch '2013.10' into 2014.11

5 years ago0010622: user contact email is not updated during LDAP sync
Philipp Schüle [Fri, 2 Jan 2015 12:57:12 +0000 (13:57 +0100)]
0010622: user contact email is not updated during LDAP sync

* includes email, name and other data from user object in LDAP contact
sync
* adds some logging
* only update contact if diff is not empty

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

Change-Id: I2168197676cfdd2a5c68359bf23b9781691e885a
Reviewed-on: http://gerrit.tine20.com/customers/1498
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>
5 years ago0010347: fix failing tests in Sales_JsonTest (user is not resolved)
Philipp Schüle [Fri, 28 Nov 2014 15:32:01 +0000 (16:32 +0100)]
0010347: fix failing tests in Sales_JsonTest (user is not resolved)

* improves foreign record resolving (user resolving should not depend on
Addressbook)
* improves logging
* renames a function
* reactivated tests
* extend abstract TestCase
* fixes teardown in roles test (enable app again)

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

Change-Id: Id8638bdc518d35b7c7ff14a421edf7efbb6d79e2
Reviewed-on: http://gerrit.tine20.com/customers/1399
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoadd option to split ldap username during login
Flávio Gomes da Silva Lisboa [Tue, 30 Dec 2014 22:33:25 +0000 (23:33 +0100)]
add option to split ldap username during login

Change-Id: I0e1f00008391971c3b42e57af035c3252d0ecf94
Reviewed-on: http://gerrit.tine20.com/customers/1497
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
5 years agohide some unimportant columns
Lars Kneschke [Tue, 30 Dec 2014 15:57:18 +0000 (16:57 +0100)]
hide some unimportant columns

Change-Id: I4443245ff27d604411ec7508bc62c53cfc249f53
Reviewed-on: http://gerrit.tine20.com/customers/1496
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Tue, 30 Dec 2014 15:41:09 +0000 (16:41 +0100)]
Merge branch '2013.10' into 2014.11

5 years agofix problem during installation
Lars Kneschke [Tue, 30 Dec 2014 11:50:29 +0000 (12:50 +0100)]
fix problem during installation

- Setup_Controller::_installApplication::1498 error at installing: Sales
Table: sales_offers Exception: No Permission.

Change-Id: I63c4b740ece7c82ce52b41dbe05544578933f37e
Reviewed-on: http://gerrit.tine20.com/customers/1493
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
5 years agofixes merge problems
Philipp Schüle [Tue, 30 Dec 2014 13:05:26 +0000 (14:05 +0100)]
fixes merge problems

* Tinebase_Helper::convertCacheId
* improves date handling in Sales test and Employee controller
* merge conflicting Date/DateTime handling

Change-Id: I30c9ace53c040f7466f5408a2b6dd9f6516b8f06
Reviewed-on: http://gerrit.tine20.com/customers/1494
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0010610: yearly event is not shown in week view
Philipp Schüle [Mon, 29 Dec 2014 12:25:34 +0000 (13:25 +0100)]
0010610: yearly event is not shown in week view

* Skipping performance optimization (removal of base events with
non-matching rrule) because we can't handle year boundaries yet

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

Change-Id: I2e35bf9fdc541264da6c8a5533078e4fd510ce7d
Reviewed-on: http://gerrit.tine20.com/customers/1489
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoimproves HTTP Server exception handling
Philipp Schüle [Tue, 30 Dec 2014 11:17:22 +0000 (12:17 +0100)]
improves HTTP Server exception handling

* return 500 error code if some error occurs during download or export
* adds a TODO in Calendar ods export test

Change-Id: I2d03e45397ab32557dc037838be550bc11556218
Reviewed-on: http://gerrit.tine20.com/customers/1492
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Tue, 30 Dec 2014 11:37:05 +0000 (12:37 +0100)]
Merge branch '2013.10' into 2014.11

Conflicts:
tests/tine20/Calendar/JsonTests.php
tine20/Tinebase/Container.php
tine20/Tinebase/Export/Spreadsheet/Ods.php
tine20/Tinebase/Frontend/Json.php
tine20/Tinebase/Record/Abstract.php
tine20/composer.json
tine20/composer.lock

Change-Id: I3d3cf870d6341a33f5262b95a9868c5a9b5ac089

5 years agocheck if cache is initialized and if result of describeTable is valid
Lars Kneschke [Mon, 29 Dec 2014 21:21:20 +0000 (22:21 +0100)]
check if cache is initialized and if result of describeTable is valid

Change-Id: I00e13a9cf5916840363f696579d4da0ad915ad20
Reviewed-on: http://gerrit.tine20.com/customers/1490
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Lars Kneschke <l.kneschke@metaways.de>
5 years agoimprove perfomance by avoiding double cache hit
Lars Kneschke [Mon, 29 Dec 2014 12:11:58 +0000 (13:11 +0100)]
improve perfomance by avoiding double cache hit

Change-Id: Ib5366851ed72f6ba5857f5a186e29f256cc340ec
Reviewed-on: http://gerrit.tine20.com/customers/1488
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0009542: load event relations on demand
Cornelius Weiß [Mon, 22 Dec 2014 16:05:22 +0000 (17:05 +0100)]
0009542: load event relations on demand

* exclude recurring events (not exceptions)
* adds generic getRelations() to Tinebase JSON frontend

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

Change-Id: I88a5311e42b2f9aae8d6665a21714bfb5fb181ef
Reviewed-on: http://gerrit.tine20.com/customers/1484
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoupdates metaways/opendocument to version 0.2
Philipp Schüle [Mon, 29 Dec 2014 11:27:56 +0000 (12:27 +0100)]
updates metaways/opendocument to version 0.2

* to allow direct styling of nodes and columns

Change-Id: I78126a740e58e85031b1efd9ccb1a8037d594cf2
Reviewed-on: http://gerrit.tine20.com/customers/1487
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoadd ods export to calendar
Cornelius Weiß [Mon, 22 Dec 2014 13:47:49 +0000 (14:47 +0100)]
add ods export to calendar

* export button to be added in master
** merge with import btn to a single height btn group

Change-Id: Ic506628f165a0d39a59571cecb1c7f9dd0096537
Reviewed-on: http://gerrit.tine20.com/customers/1461
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
5 years agoperformance improvements for Tinebase_Convert_Json
Lars Kneschke [Sat, 20 Dec 2014 22:04:36 +0000 (23:04 +0100)]
performance improvements for Tinebase_Convert_Json

- skip hasGrant as Tinebase_Core::getApplicationInsatce calls hasGrant
anyway
- don't try to resolve id's of empty recordSets

Change-Id: I9c9ee43d9635948a4e8a28d3b118630e9b46ab08
Reviewed-on: http://gerrit.tine20.com/customers/1477
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>