Commit Graph

39 Commits

Author SHA1 Message Date
Klaus Leithoff
ee6a73e1c0 preventing invalid birthdays stored with the datastore such as 0000-00-00 or 0.0.00 to transform to a birthday 2010-09-30 09:39:13 +00:00
Klaus Leithoff
7f5b37d1ae postgres compatibility gathering of birthdays for homearea (calendar merge of birtdays into holidays) order by column must be part of distinct selection list; adapting calendar home view to meet expected date format by using egw_time::to 2010-09-17 13:58:07 +00:00
Ralf Becker
4885518b88 autoloading of addressbook classes 2008-05-10 12:06:15 +00:00
Ralf Becker
cf7af58f88 "shut the debug message in error_log, when calling the old contact.read() method instead of contacts::search(), as users seem to think it's an error-message" 2007-05-18 17:47:51 +00:00
Ralf Becker
6a990be520 worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
Ralf Becker
82f5919d1c fixed sql error in compatibility function old_read (colum-prefix was not added) 2006-09-11 10:48:54 +00:00
Ralf Becker
946efce9a1 improved emulation of old contact class 2006-06-16 04:47:22 +00:00
Ralf Becker
68202a23ff emulate the old access={private|public} 2006-06-14 19:00:16 +00:00
Ralf Becker
b2a0081696 phpDoc compatible header 2006-06-13 04:16:38 +00:00
Ralf Becker
d03b888c94 fixed old search (read) for no filter given 2006-05-17 04:15:58 +00:00
Ralf Becker
253c46bb9a added old field-list (stock_contact_fields) 2006-04-26 21:24:50 +00:00
Ralf Becker
897b4e1e67 moved the logic what fields to search from the uicontacts in the socontacts 2006-04-26 14:01:10 +00:00
Ralf Becker
53b47fed8d new API contacts class using the contacts service of addressbook:
- it extends the bocontacts class of addressbook and
- adds some depricated methods to add basic support for the old contacts methods: read, read_single_entry, add and update
2006-04-24 20:55:16 +00:00
Carsten Wolff
c5f0daa001 remove PHP3 legacy code and fix performance bug in sorting ldap_search results. 2005-09-28 13:10:22 +00:00
Miles Lott
35d6232281 Switch to new arrays and db cloning 2005-08-27 12:24:56 +00:00
reinerj
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
Lars Kneschke
82a4305005 added comments which function are for compatibility only 2004-03-22 15:45:45 +00:00
Lars Kneschke
269756f577 add wraper function to support phpgw contact api 2004-03-22 15:34:32 +00:00
Ralf Becker
9c9892c9b7 fix to allow fieldlist like array('id','owner') instead of only ('id'=>'id','owner'=>'owner') 2004-03-07 09:54:37 +00:00
Miles Lott
f07775857e use foreach where possible vs. reset/while; Move extra loop in read() and read_single_entry() into the existing loop in sql/ldap classes. 2004-01-24 15:57:57 +00:00
Miles Lott
63d80f2fcd Add the search for 1st character of certain fields, showing alphabet at the top. This feature was lost for 2 years(!), so hopefully it works for you. 2004-01-17 03:21:21 +00:00
Miles Lott
ad9658f725 gettype, intval, ereg_replace changes 2003-12-10 11:36:54 +00:00
Ralf Becker
31f6198f72 fix to not return non_contact_fields(owner,access,cat_id,...) as extra_fields 2003-11-14 21:20:55 +00:00
Ralf Becker
10fad5e570 - moved contacts_shared into contacts (one file less to include)
- added rights-fields to each read contact (via read or read_single_entry) with the grants the owner gave the reading user
- extended check_perms: 3. param $addr with can be contacts-record or -id, if used that contact's rights and not the rights-field are used
2003-10-25 10:14:25 +00:00
shrykedude
e52887d989 Hid some PHP notices behind a '@' to minimize new user confusion. 2003-10-24 00:54:28 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Miles Lott
75c9dc23f0 This should allow for another app to load its own contacts class as a replacement
for the api version.  If the app wants to include the api shared class, it should
do so manually.
2002-05-27 01:32:04 +00:00
Miles Lott
792e64f4e2 Moving these back to api 2001-07-05 07:37:36 +00:00
Miles Lott
ab83067ef4 Formatting 2001-05-21 09:12:10 +00:00
skeeter
53f4716584 replaced quotes with single ticks where applicable 2001-02-11 20:03:35 +00:00
Miles Lott
b0227a29ae use new defines 2001-02-06 14:16:04 +00:00
seek3r
60d5f7322d fixed problem with default settings 2001-02-02 07:07:09 +00:00
seek3r
d97225c0c1 fixed problem with default settings 2001-02-02 07:06:08 +00:00
Miles Lott
bd9153e50c Reorg into shared/sql/and dummy ldap file. Also includes new contact_application var. 2001-02-01 04:04:15 +00:00
Miles Lott
91316c0538 Modify read to optionally handle queries 2001-01-26 21:37:04 +00:00
Miles Lott
786bffc4c5 Add read_single_entry 2001-01-26 04:30:02 +00:00
Miles Lott
05109519c4 Add var to show total_records, and modify read to set it. 2001-01-26 00:23:46 +00:00
Miles Lott
ab86478263 Add filters to sql. 2001-01-25 07:07:04 +00:00
jengo
c075d32f83 Added in the new contacts class, it still needs some work 2001-01-25 03:03:45 +00:00