tine20
5 years agoSales - adds json attributes and callback
Philipp Schüle [Thu, 3 Dec 2015 11:19:45 +0000 (12:19 +0100)]
Sales - adds json attributes and callback

added callback to Sales_Controller_Contract to notify listeners
when all creation or updating of all sub records is done
added Tinebase_Model_Converter that convert fields from
data to objects to data

Change-Id: I475359a3c33cbc6798f97a1db889207c7bb63069
Reviewed-on: http://gerrit.tine20.com/customers/2466
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 agoallows better configuration of create checks such as freebusy check
Philipp Schüle [Mon, 11 Jan 2016 13:24:06 +0000 (14:24 +0100)]
allows better configuration of create checks such as freebusy check

* allows to configure freebusy checks via model config
* allows to (de)activate freebusy check for relations in abstract controller
* allows to overwrite additional params for saveRecord in edit dialog

Change-Id: Ibd95c4bec04b88b585e816a36434a30b53f43c30
Reviewed-on: http://gerrit.tine20.com/customers/2569
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoFIXED_CALENDARS config is an array now
Philipp Schüle [Wed, 6 Jan 2016 17:38:11 +0000 (18:38 +0100)]
FIXED_CALENDARS config is an array now

... why didn't this break any tests?!

Change-Id: If37a131989cb63a38dbbc23dda98f5d9b3f04617
Reviewed-on: http://gerrit.tine20.com/customers/2556
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Wed, 6 Jan 2016 14:57:12 +0000 (15:57 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agointroduces array config type
Philipp Schüle [Mon, 4 Jan 2016 15:42:39 +0000 (16:42 +0100)]
introduces array config type

* streamlines custom js file config handling

Change-Id: Iaefedb832224c9f600250dd89da0643c3a9c66a9
Reviewed-on: http://gerrit.tine20.com/customers/2540
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoFelamimail - ActiveSync - added default sort order 'received' desc to search
Paul Mehrer [Tue, 5 Jan 2016 14:28:42 +0000 (15:28 +0100)]
Felamimail - ActiveSync - added default sort order 'received' desc to search

Change-Id: I89f1e67393600f6855e6ed800665c54e8128edd4
Reviewed-on: http://gerrit.tine20.com/customers/2548
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011518: fix activesync/caldav first instance exception handling
Cornelius Weiß [Wed, 23 Dec 2015 14:15:16 +0000 (15:15 +0100)]
0011518: fix activesync/caldav first instance exception handling

* cope with base_event_id in base_event
* compare exdates in right tz

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

Change-Id: Iebc0e25de7f4aad2b6ad86c0923b2db6eadac1c8
Reviewed-on: http://gerrit.tine20.com/customers/2531
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoonly log in Zend_Cache if cache 'logging' is enabled
Philipp Schüle [Mon, 7 Dec 2015 12:58:32 +0000 (13:58 +0100)]
only log in Zend_Cache if cache 'logging' is enabled

Change-Id: I2a4a03ffe5c7e1cd18ce5c621f910bac130c56fc
Reviewed-on: http://gerrit.tine20.com/customers/2484
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoactivesync first instance exceptions tests
Cornelius Weiß [Tue, 29 Dec 2015 10:27:29 +0000 (11:27 +0100)]
activesync first instance exceptions tests

Change-Id: I1b8469ae7edaae7fbcb93b5027ed0df6be43ed10
Reviewed-on: http://gerrit.tine20.com/customers/2533
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Mon, 4 Jan 2016 14:48:48 +0000 (15:48 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Mon, 4 Jan 2016 14:48:40 +0000 (15:48 +0100)]
Merge branch '2013.10' into 2014.11

5 years agodon't try to deliver FAT files when no custom js is configured
Philipp Schüle [Wed, 23 Dec 2015 18:42:35 +0000 (19:42 +0100)]
don't try to deliver FAT files when no custom js is configured

Change-Id: I051512dae4d7ef5502b183abdee8f5dfec9473b4

5 years ago0011520: sync ldap user status
Philipp Schüle [Mon, 4 Jan 2016 12:01:36 +0000 (13:01 +0100)]
0011520: sync ldap user status

* sync status from sync backend
* deactivate user if no longer existing in sync backend

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

Change-Id: Iacfc1a3db18c7b52948c7b1c115366443361acb6
Reviewed-on: http://gerrit.tine20.com/customers/2536
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Mon, 4 Jan 2016 14:02:20 +0000 (15:02 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agoSales - InvoiceControllerTests - fixed leap year handling
Paul Mehrer [Mon, 4 Jan 2016 13:12:07 +0000 (14:12 +0100)]
Sales - InvoiceControllerTests - fixed leap year handling

Change-Id: I32fb768ff6b7e65267bb1254fa81d884598a6e00
Reviewed-on: http://gerrit.tine20.com/customers/2537
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0009558: sometimes free/busy conflicts are not detected
Philipp Schüle [Fri, 24 Jan 2014 12:55:40 +0000 (13:55 +0100)]
0009558: sometimes free/busy conflicts are not detected

- computation of $computationStartDate needs to take
  cope with DST changes
- adds some trace logging

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

Change-Id: I260e442843ab94f5b0d1f65c864037fcc76b8a88
Reviewed-on: http://gerrit.tine20.com/customers/2535
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011516: cope with attendee email changes in sync
Cornelius Weiß [Tue, 22 Dec 2015 13:17:58 +0000 (14:17 +0100)]
0011516: cope with attendee email changes in sync

email of attendee might have changed in the time an
event was synced to the client till it comes back for
an update.

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

Change-Id: I51a2ea9003c8496f675d152191bc11d6d313807f
Reviewed-on: http://gerrit.tine20.com/customers/2523
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agosend bugreports via COSR for modern browsers
Cornelius Weiß [Tue, 13 Jan 2015 18:08:58 +0000 (19:08 +0100)]
send bugreports via COSR for modern browsers

Change-Id: Ib53c44d507a3ba268145903bd04df01ec48bffe1
Reviewed-on: http://gerrit.tine20.com/customers/1527
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoyear might have more than 52 weeks
Cornelius Weiß [Tue, 29 Dec 2015 09:14:02 +0000 (10:14 +0100)]
year might have  more than 52 weeks

Change-Id: If80d25f4fbd94cf5f5e219102efe6eb9b7146f1c
Reviewed-on: http://gerrit.tine20.com/customers/2532
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
5 years ago11458: synctoken requests should not include recurring exceptions
Paul Mehrer [Mon, 30 Nov 2015 14:18:10 +0000 (15:18 +0100)]
11458: synctoken requests should not include recurring exceptions

Calendar_Frontend_WebDAV_Container overwrites getChanges() to filter recurring
added test to Tinebase_WebDav_Plugin_SyncTokenTest for that

Change-Id: Iaa94cb9d726b606799c265ab4d47b951eddc7ef9
Reviewed-on: http://gerrit.tine20.com/customers/2445
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
5 years agoadded test to add and remove products to a contract
Paul Mehrer [Thu, 3 Dec 2015 11:42:36 +0000 (12:42 +0100)]
added test to add and remove products to a contract

Change-Id: Ic9b830ff142d2894fbdd4c725bc9155f496fbf7a
Reviewed-on: http://gerrit.tine20.com/customers/2468
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agocleanup addressbook search combo
Cornelius Weiß [Mon, 21 Dec 2015 09:40:12 +0000 (10:40 +0100)]
cleanup addressbook search combo

Change-Id: I4e348a9c63bf7c2c651ebd7b7a883f90a3743275
Reviewed-on: http://gerrit.tine20.com/customers/2511
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011502: allow custom/additional javascript for FAT client
Cornelius Weiß [Wed, 16 Dec 2015 12:47:52 +0000 (13:47 +0100)]
0011502: allow custom/additional javascript for FAT client

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

Change-Id: I0753ad7012b47edb4bc838837452ec95fb87c199
Reviewed-on: http://gerrit.tine20.com/customers/2510
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Mon, 21 Dec 2015 11:45:00 +0000 (12:45 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agoreverts config.inc.php.dist to prevent packaging issues
Philipp Schüle [Mon, 21 Dec 2015 11:43:55 +0000 (12:43 +0100)]
reverts config.inc.php.dist to prevent packaging issues

Change-Id: Ia0e6951653e66e9dea0e8692ba2635f379ee861e
Reviewed-on: http://gerrit.tine20.com/customers/2512
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Mon, 21 Dec 2015 11:08:10 +0000 (12:08 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agoRecognize which Attendee Changed
sstamer [Mon, 23 Nov 2015 15:51:08 +0000 (16:51 +0100)]
Recognize which Attendee Changed

- Only Send Ressource notification if it was the ressource

Change-Id: I6c98e00745bfd3f1634fb59141361ac33a507186
Reviewed-on: http://gerrit.tine20.com/customers/2451
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoAlways use the resource default status
sstamer [Thu, 10 Dec 2015 15:29:30 +0000 (16:29 +0100)]
Always use the resource default status

- on invite
- reset to default on reshedule
- only resource editors can change the status

Change-Id: If97006959a33afee9dc1bdbd758305695cdef434
Reviewed-on: http://gerrit.tine20.com/customers/2493
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011420: Splitview: drag and drop Events with attendees
Cornelius Weiß [Thu, 17 Dec 2015 15:55:15 +0000 (16:55 +0100)]
0011420: Splitview: drag and drop Events with attendees

* fix attendee displaycal
* allow drop at same time

Change-Id: Id9393e43326c4ed2942289aa32370b5f348d6b56
Reviewed-on: http://gerrit.tine20.com/customers/2506
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
Tested-by: Cornelius Weiss <c.weiss@metaways.de>
5 years agofix typo -> user type was not evaluated
Cornelius Weiß [Fri, 18 Dec 2015 10:48:13 +0000 (11:48 +0100)]
fix typo -> user type was not evaluated

Change-Id: I9c6b777aeeedcd3c08766644b71845f4a1a884ce
Reviewed-on: http://gerrit.tine20.com/customers/2509
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
Tested-by: Cornelius Weiss <c.weiss@metaways.de>
5 years agoremove separate server tests config
Philipp Schüle [Wed, 9 Dec 2015 11:06:20 +0000 (12:06 +0100)]
remove separate server tests config

... as it is no longer used

Change-Id: Ifb04b05fbee177ff0ce3bdfa502e6b62565131e2
Reviewed-on: http://gerrit.tine20.com/customers/2486
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011440: rework login failure handling
Paul Mehrer [Mon, 23 Nov 2015 14:13:11 +0000 (15:13 +0100)]
0011440: rework login failure handling

* failed logins should no longer block users
* we record the failed logins by client/user agent
* failed logins increase the sleep timer for each login
* sleep timers are reset at successful login (from any client)

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

Change-Id: If61292d047cc0cbfb5ea366b5e9f0069f26ba863
Reviewed-on: http://gerrit.tine20.com/customers/2488
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0001500: User is deleted - his containers still exists
Paul Mehrer [Fri, 27 Nov 2015 09:09:06 +0000 (10:09 +0100)]
0001500: User is deleted - his containers still exists

Remove accounts personal data on account delete

* event Tinebase_Event_DeleteAccount triggered
* added options to that event
* implemented generic delete personal folder (deleting personal containers and contents)
* implemented calendar specific handling
** events with deletee as organizer and no other attendees will be deleted
** remaining events in personal containers will be moved into one container
** that one container will be converted into external invitation container
** if contact was deleted too, new external contact created and organizer and attendee user_id replaced

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

Change-Id: I8877ac479fa765c01b92a45f4da313425bde907f
Reviewed-on: http://gerrit.tine20.com/customers/2494
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 ago0011478: registry cleanup fails if redirect after logout is configured
Philipp Schüle [Wed, 9 Dec 2015 14:38:32 +0000 (15:38 +0100)]
0011478: registry cleanup fails if redirect after logout is configured

* clears registry before redirect

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

Change-Id: Id0b5a3f54c875224509596e6907ceb589ec1c12c
Reviewed-on: http://gerrit.tine20.com/customers/2487
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 agoadd preference to skip event alarms
Cornelius Weiß [Tue, 1 Dec 2015 12:26:02 +0000 (13:26 +0100)]
add preference to skip event alarms

Change-Id: Ia4f114ec3529c2cf0df5b50fe3a21f34f4a666d3
Reviewed-on: http://gerrit.tine20.com/customers/2448
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Thu, 3 Dec 2015 12:56:44 +0000 (13:56 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agoset known user agent string for some tests
Philipp Schüle [Thu, 3 Dec 2015 10:52:57 +0000 (11:52 +0100)]
set known user agent string for some tests

Change-Id: I47a590ff3c0b85dacae74613e4e9e5e64e984474
Reviewed-on: http://gerrit.tine20.com/customers/2464
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Thu, 3 Dec 2015 12:40:03 +0000 (13:40 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Thu, 3 Dec 2015 12:39:29 +0000 (13:39 +0100)]
Merge branch '2013.10' into 2014.11

5 years agodo not restrict container name to 40 chars
sstamer [Tue, 1 Dec 2015 14:09:40 +0000 (15:09 +0100)]
do not restrict container name to 40 chars

- db allows 255

Change-Id: I587a0160c61abe45019230add983c98c5000dd88
Reviewed-on: http://gerrit.tine20.com/customers/2452
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoignore system users when deleting/expiring deleted users
Philipp Schüle [Wed, 2 Dec 2015 15:52:40 +0000 (16:52 +0100)]
ignore system users when deleting/expiring deleted users

see 0011192: LDAP sync should delete contacts

Change-Id: I23cc8889205f7f1509a2a78425e29df279b38019
Reviewed-on: http://gerrit.tine20.com/customers/2458
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agouse backend's DB adapter
Philipp Schüle [Thu, 3 Dec 2015 09:10:15 +0000 (10:10 +0100)]
use backend's DB adapter

Change-Id: Ia60c677161bc10317b7f6a7bce55330e7e522118
Reviewed-on: http://gerrit.tine20.com/customers/2462
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoRevert "Sales - added json attributes and callback"
Philipp Schüle [Thu, 3 Dec 2015 11:15:30 +0000 (12:15 +0100)]
Revert "Sales - added json attributes and callback"

this is breaking some things (adding and updating dependend records)

This reverts commit e9d53aab5293503a40e484a78d026480c7b2a966.

Change-Id: I9d1ba1f86d7de6152f3da43a9d9b6f86e837cc1d
Reviewed-on: http://gerrit.tine20.com/customers/2465
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoadd isMultipleValid function to generic EditDialog
sstamer [Thu, 3 Dec 2015 11:45:33 +0000 (12:45 +0100)]
add isMultipleValid function to generic EditDialog

Change-Id: Ia7334de438837222f7c7b9963200a7907b238bbc
Reviewed-on: http://gerrit.tine20.com/customers/2469
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011460: group attendee notifications raise error
sstamer [Thu, 19 Nov 2015 13:58:06 +0000 (14:58 +0100)]
0011460: group attendee notifications raise error

* adds a test
* prevent sending of notifications to Adb Lists

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

Change-Id: I3b70b58d42af1d3c5365f8fb1260e8b81c9210aa
Reviewed-on: http://gerrit.tine20.com/customers/2397
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agokeyfield definition might be empty
Philipp Schüle [Thu, 3 Dec 2015 09:09:51 +0000 (10:09 +0100)]
keyfield definition might be empty

Change-Id: I4f52d21df20f09b1355090b5dbc33122dfe93860
Reviewed-on: http://gerrit.tine20.com/customers/2461
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 ago0011456: unable to add new activesync-devices in tine20
Philipp Schüle [Fri, 27 Nov 2015 10:01:44 +0000 (11:01 +0100)]
0011456: unable to add new activesync-devices in tine20

... policy key config default returned empty string instead of null
 which resulted in foreign key error

* calling rawToConfig when returning config default prevented
 default = null
* rawToConfig now returns null if raw data equals null

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

Change-Id: I90d8e20d967caafed617cbbf45e6ec73a323f7c1
Reviewed-on: http://gerrit.tine20.com/customers/2433
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago'default' is a reserved word for JSBuilder2
Philipp Schüle [Thu, 26 Nov 2015 14:02:20 +0000 (15:02 +0100)]
'default' is a reserved word for JSBuilder2

... we need an automated test for this!

Change-Id: Iff284a196080dfaf85463d029b8a3be2a843dc26
Reviewed-on: http://gerrit.tine20.com/customers/2428
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Thu, 26 Nov 2015 08:49:44 +0000 (09:49 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years ago0011450: caldav sync with thunderbird stopped working
Paul Mehrer [Mon, 23 Nov 2015 14:19:47 +0000 (15:19 +0100)]
0011450: caldav sync with thunderbird stopped working

WebDAV - SyncToken plugin - fixed requests with empty sync token

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

Change-Id: Icf286de4882798ab11ef86253dcf3ca7af158618
Reviewed-on: http://gerrit.tine20.com/customers/2421
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoimprove keyFieldConfig
Cornelius Weiß [Tue, 24 Nov 2015 19:11:02 +0000 (20:11 +0100)]
improve keyFieldConfig

* don't duplicate rows on reedits
* fix color setting
* fix default handling

Change-Id: Iefd7924ab544bcd1903d0145452cf1546a1e1f3e
Reviewed-on: http://gerrit.tine20.com/customers/2420
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoUpdate Test Checklist
sstamer [Mon, 26 Oct 2015 15:21:01 +0000 (16:21 +0100)]
Update Test Checklist

- Add some points
- Add Integration section
- Add BE and License section

Change-Id: I64f79bca1dcdba9ba48e2988e5fd40e117f511ef
Reviewed-on: http://gerrit.tine20.com/customers/2316
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoonly save updated record with recordProxy
Philipp Schüle [Mon, 23 Nov 2015 10:41:21 +0000 (11:41 +0100)]
only save updated record with recordProxy

 ... and set mode to local if no mode & proxy are defined

Change-Id: I890037467174326afe6971746f06903c33e12fcf
Reviewed-on: http://gerrit.tine20.com/customers/2410
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 agoallows additional columns in Calendar grid view
Philipp Schüle [Mon, 23 Nov 2015 10:39:00 +0000 (11:39 +0100)]
allows additional columns in Calendar grid view

Change-Id: I99cf538aa336fd1f1407cf8b91346ff7eb54adb4
Reviewed-on: http://gerrit.tine20.com/customers/2409
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011438: support for dependend keyFields
Cornelius Weiß [Wed, 18 Nov 2015 11:21:14 +0000 (12:21 +0100)]
0011438: support for dependend keyFields

Change-Id: I7db0d8f7a126927296123adfee4ad87888936744
Reviewed-on: http://gerrit.tine20.com/customers/2381
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agomoves available container grants to registry
Philipp Schüle [Fri, 20 Nov 2015 21:32:20 +0000 (22:32 +0100)]
moves available container grants to registry

* register Calendar grants in Calendar module
* use default grants if no special grants are registered
 for a model

Change-Id: I83535d7fc87a7a4f2a2c9eac0d7ea344145adc0c
Reviewed-on: http://gerrit.tine20.com/customers/2406
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011448: support empty datetime filter
Cornelius Weiß [Thu, 19 Nov 2015 17:04:46 +0000 (18:04 +0100)]
0011448: support empty datetime filter

Change-Id: I68432431ef2a675fcb5b3510723b430dd6bb5f39
Reviewed-on: http://gerrit.tine20.com/customers/2400
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011434: init registry / reload loop in setup
Philipp Schüle [Thu, 19 Nov 2015 13:50:55 +0000 (14:50 +0100)]
0011434: init registry / reload loop in setup

* use a different local storage prefix for setup

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

Change-Id: I1609ad1b107349e48a3f2641e16c8e8412d8221f
Reviewed-on: http://gerrit.tine20.com/customers/2396
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 agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Thu, 19 Nov 2015 09:27:55 +0000 (10:27 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agochecks if user table modlog fields already exist
Philipp Schüle [Thu, 19 Nov 2015 09:09:10 +0000 (10:09 +0100)]
checks if user table modlog fields already exist

... to prevent problems with updates from very old versions

Change-Id: I9cd06ca97edab3abd9fba25def116adbfb1831ca
Reviewed-on: http://gerrit.tine20.com/customers/2391
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011428: support caldav sync token
Paul Mehrer [Tue, 11 Aug 2015 14:49:14 +0000 (16:49 +0200)]
0011428: support caldav sync token

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

Change-Id: Ie410dab5183d45ee231feb2c01b9b187e1ba6137
Reviewed-on: http://gerrit.tine20.com/customers/2220
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/)
5 years agodiscard all non array configs values for objects type configs
Cornelius Weiß [Wed, 18 Nov 2015 14:19:34 +0000 (15:19 +0100)]
discard all non array configs values for objects type configs

Change-Id: Ic4672adaeb8308ebb1b45235e394ae6dac1c46a9
Reviewed-on: http://gerrit.tine20.com/customers/2385
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Wed, 18 Nov 2015 12:36:46 +0000 (13:36 +0100)]
Merge branch '2014.11' into 2014.11-develop

Conflicts:
tine20/Tinebase/Core.php
tine20/composer.lock

Change-Id: Ife9bc84cac193b8e09c487f75f64861867d65cdb

5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Wed, 18 Nov 2015 12:30:39 +0000 (13:30 +0100)]
Merge branch '2013.10' into 2014.11

5 years ago0011192: LDAP sync should delete contacts
Philipp Schüle [Mon, 31 Aug 2015 13:59:49 +0000 (15:59 +0200)]
0011192: LDAP sync should delete contacts

* expires the users before deleting them
* users need to be expired for some time (1 year) before they are deleted
* removes user contact, too

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

Change-Id: I4b0060de105613b81d2650fd1bd3d18c3cfc5d61
Reviewed-on: http://gerrit.tine20.com/customers/2149
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0003526: generic application settings dialog for saving config
Cornelius Weiß [Fri, 30 Oct 2015 15:25:44 +0000 (16:25 +0100)]
0003526: generic application settings dialog for saving config

* moves KeyFieldGridPanel to Tinebase
* cleanup old config concepts
* add admin config UI
* move keyFieldConfig default from db to code

@TODO
* support config type 'record'
* convert CRM, Admin & Tinebase config
* convert HR & Sales config
* convert SimpleFAQ

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

Change-Id: I7a149ad18c4ac3f11238b6bdba95ba36b080e7ff
Reviewed-on: http://gerrit.tine20.com/customers/2372
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoShow price in invoice and purchaseInvoice detailsPanel
sstamer [Fri, 13 Nov 2015 12:13:37 +0000 (13:13 +0100)]
Show price in invoice and purchaseInvoice detailsPanel

Change-Id: I2205e783130da237c81fa60d53bf56d5adc7f2a8
Reviewed-on: http://gerrit.tine20.com/customers/2375
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoSupplier should not require street
sstamer [Mon, 16 Nov 2015 15:00:07 +0000 (16:00 +0100)]
Supplier should not require street

Change-Id: I1333253c85b48724f2a6b1e8f461b15f2486ed94
Reviewed-on: http://gerrit.tine20.com/customers/2378
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0003746: add maintenance mode
Cornelius Weiß [Fri, 11 Sep 2015 08:31:12 +0000 (10:31 +0200)]
0003746: add maintenance mode

* new config option maintenanceMode
* new right maintenance
* deny logins in maintenance mode if user has no maintenance right
* invalidate session when maintenance mode got enabled
* updates syncroton/syncroton to 1.1.2 (needed for ActiveSync session invalidation)

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

Change-Id: Ib13b6fad738a70257f205e21465639cb88d3fd8d
Reviewed-on: http://gerrit.tine20.com/customers/2209
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agodo not try to remove non-existant attender
Philipp Schüle [Mon, 16 Nov 2015 09:15:10 +0000 (10:15 +0100)]
do not try to remove non-existant attender

Change-Id: I0087b6a5eae9326dcf993e770b6af18a5feabd1a
Reviewed-on: http://gerrit.tine20.com/customers/2376
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0010249: Tinebase.purgeDeletedRecords fails
Philipp Schüle [Thu, 12 Nov 2015 16:29:07 +0000 (17:29 +0100)]
0010249: Tinebase.purgeDeletedRecords fails

* improves purging by sorting the tables
* and adds some ondelete-cascade triggers to indices
 to make sure child rows (for example tags acl) are removed
* adds update script
* fixes index declarations for single index fields

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

Change-Id: I3fdaf51f93cb4254a281d1a0bf4ce5bc94514362
Reviewed-on: http://gerrit.tine20.com/customers/2374
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Wed, 11 Nov 2015 13:55:14 +0000 (14:55 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agocatch Index own_id already exists
sstamer [Wed, 11 Nov 2015 13:51:03 +0000 (14:51 +0100)]
catch Index own_id already exists

Change-Id: If9c1b451769d7001417a331c858cb5770c622253
Reviewed-on: http://gerrit.tine20.com/customers/2370
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Wed, 11 Nov 2015 11:46:38 +0000 (12:46 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Wed, 11 Nov 2015 11:46:09 +0000 (12:46 +0100)]
Merge branch '2013.10' into 2014.11

Conflicts:
tests/tine20/Calendar/Controller/EventTests.php

Change-Id: Iad910afef11128ece3020edbc33173b449ba5be7

5 years agoMW Sales - added json attributes and callback
Paul Mehrer [Tue, 27 Oct 2015 15:09:28 +0000 (16:09 +0100)]
MW Sales - added json attributes and callback

added json attributes to Sales_Model_ProductAggregate
added callback to Sales_Controller_Contract to notify listeners
when all creation or updating of all sub records is done
added Tinebase_Model_Converter that convert fields from
data to objects to data

Change-Id: I26a353cedfe8244872073415a1695ec8b62e5be7
Reviewed-on: http://gerrit.tine20.com/customers/2321
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011414: block editing of timesheets of closed Timeaccount
sstamer [Wed, 28 Oct 2015 12:53:38 +0000 (13:53 +0100)]
0011414: block editing of timesheets of closed Timeaccount

Use check_grants to block editing of timesheets of closed
Timeaccount

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

Change-Id: I73054bdc7d8f12041d7f0a095717f2097582fa72
Reviewed-on: http://gerrit.tine20.com/customers/2324
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agodon't try to resize whole day area if we don't have one
Philipp Schüle [Tue, 10 Nov 2015 14:44:01 +0000 (15:44 +0100)]
don't try to resize whole day area if we don't have one

... as it is the case in month view

Change-Id: Ida29cd04d74a55bf0691def63b747c41139f634c
Reviewed-on: http://gerrit.tine20.com/customers/2366
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011404: fix failing testAdoptAlarmTimeOfYearlyEvent
Philipp Schüle [Wed, 28 Oct 2015 07:12:57 +0000 (08:12 +0100)]
0011404: fix failing testAdoptAlarmTimeOfYearlyEvent

* allow daylight saving change to happen before or after test data
* removes some unused variables

Change-Id: I5e599c47580b7d32010febc083b00c9643f2da55

5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Tue, 10 Nov 2015 08:29:23 +0000 (09:29 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agoMerge branch '2013.10' into 2014.11
Philipp Schüle [Tue, 10 Nov 2015 08:28:45 +0000 (09:28 +0100)]
Merge branch '2013.10' into 2014.11

Conflicts:
tests/tine20/Calendar/Controller/EventTests.php

Change-Id: Ia7eadfa1043d69d1fb65f5c3d160741af26eedd2

5 years ago0011404: fix failing testAdoptAlarmTimeOfYearlyEvent
Philipp Schüle [Mon, 26 Oct 2015 10:40:01 +0000 (11:40 +0100)]
0011404: fix failing testAdoptAlarmTimeOfYearlyEvent

... skip second part of the test if current date is between
October 24th and 27th

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

Change-Id: I49c040e4af5269ebbf058192eb4bb280fdd105ad
Reviewed-on: http://gerrit.tine20.com/customers/2314
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoorder applications when fetching enabled apps
Philipp Schüle [Fri, 6 Nov 2015 13:12:54 +0000 (14:12 +0100)]
order applications when fetching enabled apps

* this is important for the include order of css/js files

Change-Id: I22816253277500e560e0fc37926d4948d3a59450
Reviewed-on: http://gerrit.tine20.com/customers/2361
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 agoallows better re-usage of cal event grid view and edit dialog
Philipp Schüle [Fri, 6 Nov 2015 12:22:12 +0000 (13:22 +0100)]
allows better re-usage of cal event grid view and edit dialog

* and fixes a minor problem in isRecurInstance (id no longer needs to be a String)

Change-Id: Ida4687e218365ee4890319f3c050d6a3d8d22c5a
Reviewed-on: http://gerrit.tine20.com/customers/2360
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoadds bbar grid panel and improve local mode behavior
Philipp Schüle [Fri, 6 Nov 2015 12:19:48 +0000 (13:19 +0100)]
adds bbar grid panel and improve local mode behavior

* improves new record handling for "local mode" grids
* use bbar actions für add/edit/delete
* extends bbar.gridPanel in Sales/Customers
* adds gridpanel config disableDeleteConfirmation
* adds helper function setFromJson to read a record from json string
* adds helper function setId to set record (data.)ids

Change-Id: I5e7d2ad42a4b5d6e5fd7e83420c39ea6ab92aabe
Reviewed-on: http://gerrit.tine20.com/customers/2359
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Thu, 5 Nov 2015 10:14:02 +0000 (11:14 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agoincreases timeout for updateFolderCache
Philipp Schüle [Wed, 28 Oct 2015 14:55:34 +0000 (15:55 +0100)]
increases timeout for updateFolderCache

... and adds exception handling to  ajax failure method

Change-Id: I25af53dadd830aae3127d474aa79704520afeab4
Reviewed-on: http://gerrit.tine20.com/customers/2326
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoignore acl when creating system container
Philipp Schüle [Thu, 29 Oct 2015 09:40:28 +0000 (10:40 +0100)]
ignore acl when creating system container

Change-Id: Ib4dde1a9967424cdcfb39b4ae29df6971b25c56c
Reviewed-on: http://gerrit.tine20.com/customers/2327
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoFix Application uninstall
sstamer [Thu, 29 Oct 2015 10:04:58 +0000 (11:04 +0100)]
Fix Application uninstall

see 0011410: remove relations + modlog if app is uninstalled

Change-Id: Icb0d352ba33c652395801a820da4f8643524fcd4
Reviewed-on: http://gerrit.tine20.com/customers/2329
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011376: send mail on lead import to responsibles
Philipp Schüle [Wed, 28 Oct 2015 13:04:30 +0000 (14:04 +0100)]
0011376: send mail on lead import to responsibles

* only run test with valid smtp config
* fixes param for notification sending: recipients needs to
 be an array!

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

Change-Id: I348f141f2633d8df999c974ff4d556f5506a768d
Reviewed-on: http://gerrit.tine20.com/customers/2325
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoadds color property to keyfields
Philipp Schüle [Thu, 29 Oct 2015 10:48:27 +0000 (11:48 +0100)]
adds color property to keyfields

... and fixes a typo in config translation string in calendar

Change-Id: I4b9e0177c2dd255fdf974b5387ab2e6939e7cdaa
Reviewed-on: http://gerrit.tine20.com/customers/2330
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Wed, 28 Oct 2015 15:44:47 +0000 (16:44 +0100)]
Merge branch '2014.11' into 2014.11-develop

Conflicts:
tine20/Tinebase/Relations.php

Change-Id: I0bb38a15f644459b0b56953a090af6c1adc4f1ba

5 years ago0011406: completely remove flash from extjs
Philipp Schüle [Fri, 23 Oct 2015 10:15:12 +0000 (12:15 +0200)]
0011406: completely remove flash from extjs

* removes swfobject

... from ext-all-debug.js + ext-all.js

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

Change-Id: I6bc17cfeb1f3c2f65fb061f40780ac0191c10688
Reviewed-on: http://gerrit.tine20.com/customers/2308
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011410: remove relations + modlog if app is uninstalled
Paul Mehrer [Thu, 22 Oct 2015 12:48:00 +0000 (14:48 +0200)]
0011410: remove relations + modlog if app is uninstalled

added Tinebase_Relations::removeAppliction
added Tinebase_Timemachine_ModificationLog::removeApplication

used both methods in Setup_Controller::_uninstallApplication

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

Change-Id: Ie6f9644173b83925b8800c2781adb5f908ae37f8
Reviewed-on: http://gerrit.tine20.com/customers/2304
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Wed, 28 Oct 2015 08:54:19 +0000 (09:54 +0100)]
Merge branch '2014.11' into 2014.11-develop

5 years agofixes Crm_Import_CsvTest::testEmailNotification
Philipp Schüle [Wed, 28 Oct 2015 07:01:14 +0000 (08:01 +0100)]
fixes Crm_Import_CsvTest::testEmailNotification

.... as we expect 2 or more mails

Change-Id: Id10c7bbda46100cf9ca3a4f96a5e8ce27c34d3f1
Reviewed-on: http://gerrit.tine20.com/customers/2322
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011404: fix failing testAdoptAlarmTimeOfYearlyEvent
Philipp Schüle [Wed, 28 Oct 2015 07:12:57 +0000 (08:12 +0100)]
0011404: fix failing testAdoptAlarmTimeOfYearlyEvent

* allow daylight saving change to happen before or after test data
* removes some unused variables

Change-Id: I5e599c47580b7d32010febc083b00c9643f2da55

5 years agoremoves obsolete code from event default data fn
Philipp Schüle [Mon, 26 Oct 2015 16:33:41 +0000 (17:33 +0100)]
removes obsolete code from event default data fn

Change-Id: Idff3f4d2ed97d0d11674c7edcd5c8c25cf93107e
Reviewed-on: http://gerrit.tine20.com/customers/2317
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years ago0011402: Update8.4 fails on MySQL < 5.5
Philipp Schüle [Fri, 23 Oct 2015 17:43:26 +0000 (19:43 +0200)]
0011402: Update8.4 fails on MySQL < 5.5

catch exception when trying to check innodb version
- variable might not exist.

... see https://www.tine20.org/forum/viewtopic.php?f=12&t=17678
and 0009448: add index account_id + folder_id + messageuid to
messages table

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

Change-Id: I309b03446fa82d443cf082c0b5e0fba97b0c35c6
Reviewed-on: http://gerrit.tine20.com/customers/2313
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
5 years agoMerge branch '2014.11' into 2014.11-develop
Philipp Schüle [Mon, 26 Oct 2015 11:26:21 +0000 (12:26 +0100)]
Merge branch '2014.11' into 2014.11-develop