Commit Graph

87 Commits

Author SHA1 Message Date
Ralf Becker
4450c87ff1 fixed images allways get resized, because mb_substring returned 3 bytes, using cut_bytes now 2012-01-30 19:48:24 +00:00
Nathan Gray
d0f9f93d4a Revert #37423 - mis-understood change 2011-12-05 19:32:12 +00:00
Nathan Gray
6ecf36d27b Change 'title' to 'Job title', 'role' to 'Occupation'. Apparently these changed. Fixes automatic field mapping in import 2011-12-05 17:48:39 +00:00
Ralf Becker
c2750ba12b ensure accounts and group addressbooks are never private! 2011-09-09 06:36:16 +00:00
Ralf Becker
4088300b57 docu fixes 2011-08-31 12:24:50 +00:00
Ralf Becker
10325b93c8 one server-config missed in r36329: arrays in $GLOBALS[egw_info][server] are now automatically serialized and unserialized 2011-08-27 16:11:10 +00:00
Ralf Becker
389486793d - config is now cached on instance level
- arrays in $GLOBALS[egw_info][server] are now automatically serialized and unserialized
- new static method to check if user is export-limit excepted
--> saves to query it on each request (for non-phpgwapi, which was already cached in the session)
2011-08-26 13:50:20 +00:00
Ralf Becker
70e2684dd5 fixed catchable fatal error ($old hast to be array or null) and avoid reading old contact twice 2011-08-10 13:03:51 +00:00
Klaus Leithoff
fe9e16d845 fix by Ralf for bug, that prevented the update of accounts, if your accountselection method is groupmembers 2011-07-18 09:46:32 +00:00
Ralf Becker
73486cc047 file_access_user implementation for addressbook 2011-06-26 13:55:25 +00:00
Ralf Becker
0e56e1b7b6 AlterPingChanges / ctag for all-in-one addressbook 2011-04-07 19:37:37 +00:00
Nathan Gray
e1c084ee0c Fix export when exporting both country code and country name 2011-03-14 19:37:59 +00:00
Nathan Gray
017d70c186 Remove double country option from Site configuration copy fields 2011-03-07 18:32:20 +00:00
Nathan Gray
04a081fd58 Use addressbook_bo functions instead of SO so full updates happen. 2011-02-15 16:05:39 +00:00
Klaus Leithoff
18208414bc fix for bug/problem regarding the merge of contacts: main links of linked addresses where not moved to the new target 2011-02-15 14:46:09 +00:00
Nathan Gray
efc61a3243 Remove category from contacts when category is deleted 2011-02-04 17:09:37 +00:00
Klaus Leithoff
d46605ecf7 check if customfields exists before attempting to merge 2011-01-20 16:45:12 +00:00
Ralf Becker
517a99ce27 moved global address list search to addressbook plugin, made all other searches interfaces too, thought no pluging yet implements them 2010-12-06 10:04:29 +00:00
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