Commit Graph

69 Commits

Author SHA1 Message Date
Ralf Becker
44bc1a28c8 - moved ctag generation to addressbook_bo
- include deleted contacts in ctag generation, as otherwise deleting entries does NOT change ctag
- implemented AlterPingChanges using ctag for ActiveSync
2010-12-02 19:42:03 +00:00
Ralf Becker
44d59931a2 moved private_addressbook attribute from addresbook_ui to addressbook_bo 2010-12-02 13:00:01 +00:00
Nathan Gray
92e1b0b75b Merge custom fields when merging contacts 2010-11-25 20:24:22 +00:00
Nathan Gray
9726db1eaa *Users can now see and restore their 'deleted' but held contacts, if deletion prevention is turned on. There is now a config setting to allow users to purge their own 'deleted' contacts. 2010-11-22 17:10:11 +00:00
Nathan Gray
1791ab3a05 Fix for blank country in history 2010-11-15 16:29:31 +00:00
Ralf Becker
87d4cbcce3 allow all fileas types as link-title types (plus value of fileas) 2010-11-10 09:35:10 +00:00
Ralf Becker
de9689e928 * read access to groupmembers for account-selection "groupmembers" (only for account_repository sql!)
fixes not shown users in "grant access" for non-admin users
2010-11-05 08:56:41 +00:00
Ralf Becker
a272e11330 forgot to remove comment, photos get now resized 2010-11-05 07:51:12 +00:00
Ralf Becker
14621383d6 * scaling now addressbook images uploaded via CardDAV or SyncML to 60 pixel width like already done for web GUI 2010-11-04 20:40:33 +00:00
Klaus Leithoff
cb85377c0a preserve accountstatus: only write to errorlog if condition is met 2010-10-06 15:42:32 +00:00
Klaus Leithoff
b32eff2132 prevent the change of owner, if the entry to be changed is an account 2010-10-06 15:30:07 +00:00
Nathan Gray
22ed1ab411 Update private address country code also 2010-09-28 19:55:55 +00:00
Nathan Gray
b86490c0a7 Better dealing with 2 letter country code:
- Moved handling into BO layer, per Ralf
- Clear country name if user saves with a code, and use the code
- Updated search filter to use code, so filter works in any language
2010-09-28 19:50:50 +00:00
Nathan Gray
d7168805c9 When deleting but keeping contacts, hold on to links as well so they can be restored if contact is restored. 2010-09-27 16:39:54 +00:00
Ralf Becker
1f8e2e93df * allow to pick CC of tickets from addressbook
- also added a different approach allowing apps to register themselfs multiple times in the link registry, was necessary as types approach from Nathan changes the usage of the original app, while this adds sub-types like an arbitrary app responded to the link hook
2010-09-22 09:36:26 +00:00
Nathan Gray
6699869e2b If deleted addresses are kept, delete links on final purge, not initial delete (#8157) 2010-08-18 14:57:56 +00:00
Ralf Becker
49db0c8838 allow to optional specify a database object (to access addressbooks in other databases) 2010-07-30 15:30:46 +00:00
Ralf Becker
89ed32a022 add date parameter to next and last date link, to set correct exception date for recuring events 2010-07-07 10:11:52 +00:00
Nathan Gray
fc841ff9cf - Fix save so fileas gets updated even if n_fn is set (normal edit)
- Add isUpdate parameter to fill in any not set fields from DB when updating fileas
2010-06-28 14:05:33 +00:00
Jörg Lehrke
c5ae8dd8e2 Support Free/Busy information with credentials as part of the URL 2010-06-26 11:35:11 +00:00
Nathan Gray
5e89cfbabf Apply 'hide_accounts' preference to link searching 2010-06-16 14:09:52 +00:00
Jörg Lehrke
1431f149e2 Fix GroupDAV/Addressbook categories issue 2010-06-14 07:45:25 +00:00
Nathan Gray
b85467dd26 Use enanced searching for link queries also 2010-04-26 14:31:55 +00:00
Jörg Lehrke
334a8c6fc3 Fix addressbook_bo::find_contact() 2010-04-21 17:41:34 +00:00
Nathan Gray
c87e751c76 Disable history logging for accounts when the backend is LDAP because it was showing changes for all entries instead of the current entry 2010-04-16 16:06:37 +00:00
Nathan Gray
68a2a3d641 Notify linked apps about changes in contact data so linked addresses get displayed with new information 2010-03-24 16:23:12 +00:00
Jörg Lehrke
a8804a44ef GroupDAV updates 2010-03-06 23:06:43 +00:00
Ralf Becker
97d3b59999 "sort group-addressbooks and other-user-addressbooks alphabetical" 2010-03-05 14:54:07 +00:00
Jörg Lehrke
e377d1914c Addressbook cleanups from backport 2010-02-26 15:47:51 +00:00
Klaus Leithoff
c9ab7e557b fixing issue: failed add to organisation from org-view, when colon in org_unit/org_location/organisation 2010-02-25 13:42:27 +00:00
Klaus Leithoff
ea5535284f fix for addressbook hook_home problem; birthdays where not displayed correctly anymore in home view 2010-02-16 10:42:27 +00:00
Nathan Gray
63117b9ceb Add an option to keep deleted contacts, and only admins can purge them 2010-02-10 23:07:43 +00:00
Jörg Lehrke
b6097fa156 SyncML Content Handling
* Improved find-methods
* Timezone support for InfoLog
* SyncML Preferences
    - addressbook and address list are now joined
    - Primary User Group for addressbook and calendar
* SlowSync uses old mapping information (can be disabled within the preferences)
2010-02-09 21:56:39 +00:00
Nathan Gray
0db5355347 Add history logging to addressbook 2010-02-08 17:53:47 +00:00
Nathan Gray
6df521de8d Implement options so link_query() can be limited 2009-12-08 21:24:46 +00:00
Christian Binder
c3df45932f make birthday date check also work for 200 years more in the future 2009-12-02 11:18:20 +00:00
Christian Binder
144f5fe24c check for a valid birthday date if we run the contacts cleanup tool 2009-12-02 11:06:01 +00:00
Jörg Lehrke
dd92e60180 Use UID for find_content(); code cleanups 2009-12-01 10:24:55 +00:00
Ralf Becker
e642601607 Allow to use account_id as unique key in csv import and added it to cvs
export.
2009-11-27 13:35:43 +00:00
Christian Binder
f94c037269 instanciate categories class in addressbook_bo constructor 2009-11-26 08:30:22 +00:00
Christian Binder
bd3bdae734 fixed again wrong $this->owner to $this->user 2009-11-20 10:37:11 +00:00
Christian Binder
6e8f5f453d fixed categories var being initialized somewhere between nowhere and nirvana 2009-11-20 09:05:23 +00:00
Christian Binder
71c7c427ca check for contact_id > 0 2009-11-19 14:18:45 +00:00
Christian Binder
43649aa268 fixed typo 2009-11-18 11:11:16 +00:00
Christian Binder
dee4177242 changed owner to user, this was an old error which probably never produced any impacts 2009-11-18 09:55:31 +00:00
Christian Binder
0b4313adba using new categories check_perms() method on vcard export (prevent exposing private categories) and merge given categories with existing ones on vcard import 2009-11-18 07:46:01 +00:00
Christian Binder
8e6f54f9de new addressbook admin function to cleanup addressbook fields on all contacts - useful if synchronisatioin creates duplicates 2009-11-11 08:44:51 +00:00
Jörg Lehrke
5810575d05 Be more tolerant within find_contact() 2009-11-06 14:43:46 +00:00
Christian Binder
94c29e7819 remove url und url_home from mandatory matching fields because this fields vary too much (with http:// or not) 2009-11-04 16:22:36 +00:00
Christian Binder
79a3b59ccb avoid setting fullname to empty string by first checking the strlen of it 2009-11-04 15:09:24 +00:00