Commit Graph

135 Commits

Author SHA1 Message Date
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
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
Jörg Lehrke
2d89868180 allows to limit contact synchronization to specific an addressbook and distribution list (thanks to Zorg) 2009-08-22 14:22:55 +00:00
Ralf Becker
ff7aff5207 "Implemented ability to check for more then one right:
@param int $required=EGW_ACL_READ required rights on the addressbook or multiple rights or'ed together,
to return only addressbooks fullfilling all the given rights
"
2009-08-21 07:12:07 +00:00
Klaus Leithoff
2efaf05803 if there is an & within org_name, org_unit and such, the add to org will not work, as the GET Parameter gets splitted by &; ADDITIONAL: if there is any export limit set, pass it on to the nextmatch, to be evaluated by the export 2009-07-20 12:11:05 +00:00
Klaus Leithoff
21d2db0e54 fixing an n_fn issue, (n_fn was not updated anymore) 2009-07-20 07:47:55 +00:00
Ralf Becker
a5ff2eb037 fix for invalid category ids, eg. delete categories 2009-07-16 16:05:40 +00:00
Ralf Becker
d333605510 - merged SyncML-1.2 branch with trunk:
svn merge ^/trunk/addressbook@27378 ^/branches/SyncML-1.2/addressbook .
- re-added to trunk commits, which were somehow not in SyncML-1.2 branch:
svn merge -c 26581 ^/trunk/addressbook
svn merge -c 26582 ^/trunk/addressbook
2009-07-15 19:44:09 +00:00
Ralf Becker
4634465bb8 addressbook maintenance: set full name and file as in contacts of all
users
2009-05-09 07:58:16 +00:00
Ralf Becker
eb7e801074 - moved get_addressbooks method from ui to bo
- fixed not removed '()' if org-name is empty
2009-05-02 09:37:19 +00:00
Klaus Leithoff
c0baa83dbe read_calendar should return an array, as it is expected, and described in the functions description 2009-04-01 10:59:56 +00:00
Ralf Becker
cfcbdc93f4 "query account_lid (via accounts::id2name) only if it's not already in the data
without that accounts_sql::get_list without limit requires quite a lot more time and memory"
2009-03-02 11:40:28 +00:00
Ralf Becker
db52734dd1 default format for fileas 2008-10-10 11:25:35 +00:00
Ralf Becker
90dbfd6a37 "addressbook part of Regis patch" 2008-10-10 10:55:52 +00:00
Ralf Becker
338f3f246f file_access hook for attachments 2008-10-07 09:05:48 +00:00
Stefan Becker
4167181289 "Patch for changing customfields in organisations, whan updating every member in the organisation" 2008-06-12 17:40:19 +00:00
Stefan Becker
968be31df1 "Patch for changing a empty org field, when changing all fields for all members of organisations" 2008-06-12 14:28:25 +00:00
Ralf Becker
ef700b0061 new class naming schema 2008-06-07 17:45:33 +00:00
Ralf Becker
28654c560e include next and last date in csv export and use same fields for nextmatch csv export 2008-06-05 12:04:00 +00:00
Ralf Becker
b69b8085e6 Fixed some problems with the etag handling, causing an SQL error on
merging contacts, as reported by Johannes Gorschlüter from Stylite
2008-05-17 06:44:17 +00:00
Ralf Becker
7a2e1a66e2 renamed addressbook classes to use autoloading, was just a test to get
an idea about the effort - not sure I want to do that with all apps ;-)
2008-05-10 12:02:49 +00:00