Commit Graph

1783 Commits

Author SHA1 Message Date
Nathan Gray
6de19f924e - Update importexport names/classes to reflect changes in importexport
- Use new wizard base class to simplify import definition wizard
2010-03-22 15:11:12 +00:00
Ralf Becker
678baad83f "patch from Lorentz <lorentz(at)friendship-systems.com>" 2010-03-21 09:54:42 +00:00
Jörg Lehrke
28383ae67d Fix Funambol SIF enconding 2010-03-15 17:17:42 +00:00
Jörg Lehrke
7220d96847 Use iterator approach in GroupDAV; fix various issues 2010-03-15 09:55:16 +00:00
Ralf Becker
ca3f3b463f "adding fields for (max. 10) single category names" 2010-03-10 18:05:44 +00:00
Klaus Leithoff
2595f62573 changing the condition for n_fn adaption. change of given name and family name seems not to be sufficient 2010-03-08 11:14:49 +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
d397dcded2 Fix n_fn update issue 2010-03-05 08:28:25 +00:00
Klaus Leithoff
30b683cf5a fixing of an orgview bug: orgview was extremly sticky, after you selected an org member for e.g. infolog view 2010-03-01 10:22:43 +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
Nathan Gray
56b51a4285 Fix so sitemgr contact form shows contact's address instead of current user 2010-02-18 23:32:25 +00:00
Klaus Leithoff
d2d64a73fe get rid of comma in full-emailadresses, as imap_rfc_address_list assumes a new address to come after comma 2010-02-17 12:03:37 +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
Ralf Becker
ba5bdb79a2 fixed not working listing of groups, after r29189 2010-02-13 06:45:24 +00:00
Nathan Gray
fb50bee888 Log history of custom fields also 2010-02-12 16:47:15 +00:00
Nathan Gray
adf9a0917f Fix deleted filter to hide from select-entry widget also 2010-02-11 20:43:11 +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
Klaus Leithoff
e763d692c9 make sure the default type for addressbook is found if there is no entry in egw_config 2010-02-10 14:27:14 +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
Ralf Becker
936c636ffd display upload failed (because post_max_size of webserver exceeded) message from etemplate, could be nicer but way better then before 2010-02-05 03:34:17 +00:00
Jörg Lehrke
75746226a4 Use egw_time for InfoLog, tracking backend and Tracker 2010-02-04 12:08:03 +00:00
Ralf Becker
39b50631bd fixed typo in english phrase 2010-01-11 23:14:28 +00:00
Jörg Lehrke
548f5f8c98 Fix various issues introduced with Funambol adjustments; code cleanup 2010-01-10 19:02:16 +00:00
Jörg Lehrke
3242e169cc More Funambol adjustments and workarounds 2010-01-09 18:04:21 +00:00
Jörg Lehrke
49823ecd7e Fix encoding issues; improvements for Funambol clients 2010-01-08 13:09:36 +00:00
Ralf Becker
8d55e4800e fixed supported-report-set according to a calendarserver example and reorganized HTTP_WebDAV_Server to generally support hierachical properties 2010-01-07 04:24:45 +00:00
Ralf Becker
b446f6de4e supported-report-set as required for CardDAV and Sogo connector 2010-01-07 02:04:09 +00:00
Ralf Becker
2e99a3fb20 ctag for addressbook, sogo connector seem to require it, thought it should be optional, anyway ctag makes sense 2010-01-05 23:27:28 +00:00
Ralf Becker
d53f0c91bf ctag for addressbook, sogo connector seem to require it, thought it should be optional, anyway ctag makes sense 2010-01-05 23:25:17 +00:00
Nathan Gray
08b7ab173e Implement new link hook view_list, to be able to be taken to a list of entries 2009-12-08 21:27:56 +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
7c67b5bd59 "fixed birthday reminder on home for ldap:
- transfer wildcard via parameter, as it get's quoted otherwise
- searching accounts too, if accounts stored in ldap and contacts not"
2009-11-29 13:34:00 +00:00
Ralf Becker
0e08767e79 "quiten warning, if search returns empty result" 2009-11-29 10:56:17 +00:00
Ralf Becker
7f176742ee replaced some more API calls with static calls 2009-11-28 11:56:53 +00:00
Ralf Becker
0e25113bb0 unsetting etag too when copying contacts to fix optimistic locking error after 2. apply 2009-11-28 11:43:10 +00:00
Stefan Becker
6e78479b52 new prefix tags for serial letters 2009-11-27 16:34:28 +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
4cc1862668 use central method in categories class to check for categorie permissions, also respect category permissions in addressbook list 2009-11-26 08:32:18 +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
2cba91f6bf respect category permissions on contact view, remove all categories on contact copy, fixed typo 2009-11-20 08:49:39 +00:00
Jörg Lehrke
9e7f4a989e Disable debug messages in addressbook SIF class 2009-11-20 07:22:20 +00:00
Jörg Lehrke
d9adef103b Add new contacts to selected addressbook. Fix SIF category delimiter 2009-11-19 20:52:44 +00:00
Christian Binder
e76d659cac applied category preserve on import also to SIF classes 2009-11-19 15:30:53 +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
bde63a01f9 fixed missing argument error on search (e.g. slowsync), sorry - my fault 2009-11-18 11:10:36 +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
509c20a625 just fixed some typos 2009-11-13 08:01:28 +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
Stefan Becker
90d5815dfa "fixed typo in documentation" 2009-11-10 14:20:33 +00:00
Klaus Leithoff
3ea7a80876 show advanced search/add AND Typeselection if you have more than one addressbooktypes. If you have only one type, use this one as filter not 'n' 2009-11-09 10:15:18 +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
Ralf Becker
6989d59ba6 fixed no or only partial export of custom fields via nextmatch csv export 2009-10-30 11:18:47 +00:00
Ralf Becker
78143cb9c6 "fixed backend detection to recognice $contact_id = array('account_id' => 123) as account" 2009-10-26 11:47:23 +00:00
Ralf Becker
20e655c466 Default and forced preferences for nearly all apps 2009-10-19 17:04:11 +00:00
Ralf Becker
3c3c988851 "fixing settings hook to run under setup (for default and forced prefs - not yet set)" 2009-10-18 12:58:38 +00:00
Ralf Becker
447c8b618a Using an iterator to query addressbook in chunks of 100 contacts to
allow to do propfinds on hugh addressbooks independent of memory_limit:
- regular groupdav_handler::profind() method gets split in a method just
  computing a filter and a callback to run that filter on the backend
- groupdav_propfind_iterator class is returned from profind method
  instead of an array with information about the files
- iterator calls groupdav_hander::propfind_callback if there are no more
  entries from the previous call
- constructor of groupdav_propfind_iterator allows to pass an extra array
  with files to return, to simplify modifying existing implementation
  (were eg. information about the current path, get's supplied from
  calling groupdav class).
2009-10-17 09:13:36 +00:00
Ralf Becker
4f69a5d1b0 using references to loop of items in profind and some cleanups 2009-10-16 08:36:28 +00:00
Ralf Becker
ae3ecf9891 "- using a referencing foreach to loop over contacts in propfind to minimize memory usage
- some other cleanups"
2009-10-16 08:01:28 +00:00
Klaus Leithoff
96e8650e1c fix for not displayed last/next Date in Listview 2009-10-15 15:00:49 +00:00
Jörg Lehrke
6b81216bbd Support street2 fields during import 2009-10-12 20:12:52 +00:00
Jörg Lehrke
3c80e5aa26 Fix Funambol QP issue 2009-10-06 23:32:02 +00:00
Stefan Becker
8ae115dbb5 added scurity checks before delete selected or distribution list entry with the action menu on the button of the page 2009-10-01 13:04:54 +00:00
Stefan Becker
8b01210dd7 fixed some typos 2009-09-29 07:54:11 +00:00
Stefan Becker
7eed120731 added paramter to select, if sender gets also an email via contactform 2009-09-28 19:22:45 +00:00
Stefan Becker
7a23ad6e3c added new Tag 6768NELF to avoid emty lines on rtf serial letters 2009-09-23 12:58:58 +00:00
Klaus Leithoff
266ac3e8f1 do not search in uid, while doing a 'global' search, as you cant see the field, and you probably dont understand, why you get extra rows 2009-09-23 12:17:26 +00:00
Klaus Leithoff
20da79db8a enable search in extra colums, as it was broken since get_class() returns addressbook_sql for Addresses stored in SQL instead of socontacts_sql 2009-09-23 10:47:13 +00:00
Klaus Leithoff
e1ae046c49 added the possibility to show notes in addressbook list. 2009-09-22 15:17:38 +00:00
Jörg Lehrke
6ab542b88b Support iPhone specific TEL type 2009-09-17 20:26:56 +00:00
Ralf Becker
d990609083 refractored addressbook merge class in an abstract class and an implementation for addressbook 2009-08-26 17:12:43 +00:00
Ralf Becker
bfecedaf7a docu update 2009-08-26 17:09:44 +00:00
Jörg Lehrke
3a6e839a14 Moved device specific supported fields to SyncML API. 2009-08-22 15:57:57 +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
Jörg Lehrke
3188333c45 Implemented ability to check for more then one right for get_lists:
@param int $required=EGW_ACL_READ required rights on the addressbook or multiple rights or'ed together,
to return only listss fullfilling all the given rights
2009-08-22 11:55:10 +00:00
Ralf Becker
7b63b57aae "Patch from Jean-Charles Passard <jcharles(at)provectio.org>: allows to use either uid or id to retrieve contacts
"
2009-08-22 06:28:58 +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
Ralf Becker
444018cdaf "fix for using GroupDAV with LDAP as addressbook backend" 2009-08-07 07:16:14 +00:00
Ralf Becker
1ba343a837 "fix for using GroupDAV with LDAP as addressbook backend" 2009-08-07 07:15:37 +00:00
Ralf Becker
d89e7b088b "regular expression to fix garbled placeholders in msword xml format" 2009-08-03 12:06:59 +00:00
Ralf Becker
b49d561491 "- added existens check for ZipArchive class (RHEL5 contains zip extension without that class!)
- only fix zip files if php version < 5.3.1 (which claims to fix the issue)
- fix mimetype of msword xml format truncated to 64 chars"
2009-08-03 11:44:45 +00:00
Stefan Becker
8e9eb0aa2e changed handling of mimetype for other types 2009-08-02 12:32:39 +00:00
Nigel Vickers
2a04a9c9f0 add switch based logging to default file /tmp/log-vcard or if set to ['server']['temp_dir']./log-vcard part II 2009-07-27 07:03:10 +00:00
Jörg Lehrke
ea2d01b1f6 Reorganized the vCard parser to assign to datebase columns with to following priciples
1. Most qualified field matches  EMAIL;INTERNET;WORK  wins against EMAIL;INTERNET
2. First field wins (if vCard contains same field twice)
2009-07-22 20:31:15 +00:00
Nigel Vickers
e5c802a3a6 Added logging 2009-07-21 11:23:58 +00:00
Jörg Lehrke
e5ee24dcfc Parser ajustments 2009-07-20 17:41:15 +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
Jörg Lehrke
367d2b5ad6 Keep Field Order 2009-07-19 20:05:06 +00:00
Jörg Lehrke
81afb6f8e9 Fix Funambol Outlook Client Issues 2009-07-18 23:02:31 +00:00
Ralf Becker
947e09e02f "fix for bug: checking \"whole query\" sets number of rows to -1" 2009-07-18 15:17:41 +00:00
Jörg Lehrke
89d8486583 Support of Funambol Outlook Sync Client 2009-07-18 13:11:43 +00:00
Jörg Lehrke
99eaf8921b Enable FN again 2009-07-16 19:40:02 +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
ae657f2b26 "handling text/rtf as rtf" 2009-07-07 10:12:31 +00:00
Ralf Becker
fc3cb9a798 - moved detection of implemented mime types for merge print to
(static) addressbook_merge::is_implemented($mimetype,$extension)
- documented syntax for custom fields
- some more mime types
2009-07-04 10:50:19 +00:00
Ralf Becker
48993a04dd "fix for newest Funambol Outlook client: ignoring VOICE in TEL;VOICE;HOME and TEL;VOICE;WORK" 2009-06-29 19:03:43 +00:00
Ralf Becker
e1dbb4688a "fixed not working custom fileds in Insert-in-document feature" 2009-06-29 13:27:13 +00:00
Ralf Becker
bacf86c1a8 Fixed display of birthdays from addressbook on home page:
- dont display year, if calendar config forbidds to display of birthyear
- dont display them at all, if they are forbidden in calendar
2009-06-15 13:48:09 +00:00
Ralf Becker
4f418e8766 "fix for email addressbook popup: going to next page, readds already added email again
--> caused by using old global var in addressbook code, which is now a static var of etemplate object"
2009-06-10 08:55:51 +00:00
Stefan Becker
8058dfdfb1 fixed wrong date format in rtf addressbook template 2009-06-08 19:48:26 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
af18ea1f7d "fix for bug #2106 - Addressbook warning message when deleting LDAP contact" 2009-06-01 19:13:48 +00:00
Ralf Becker
88d92e78f9 "- fix for bug #2097: Addressbook bug when filemanager is disabled
- fixed not working export limit"
2009-05-30 07:39:58 +00:00
Ralf Becker
e8b8d2859b "- opening popup centered
- using static egw::link()"
2009-05-14 17:11:17 +00:00
Ralf Becker
0220e3a99a - added filemanager icon to index
- named tabs in edit 'tabs'
2009-05-11 06:47:38 +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
c84a6fd78a "- search($criterial,...) was removing critera with numerical key 0
- pending postgres bugfix (got no feedback from list)"
2009-05-09 07:57:25 +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
Ralf Becker
b72236a663 allow "settings" hook to return the settings, instead of passing it via a global variable (depricated now) 2009-04-29 06:26:04 +00:00
Klaus Leithoff
e1e09203ed njv: addressbook/groupdav work to improve groupdav compatibility 2009-04-02 12:31:44 +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
Klaus Leithoff
432798715a fixing a problem with non numeric contact ids, while retrieving the distributionlist (reported by Benoit LORAND) 2009-03-18 09:31:11 +00:00
Klaus Leithoff
81a8b7dda9 making view typesafe, hardening view against sql-injection 2009-03-16 13:08:33 +00:00
Klaus Leithoff
9ba0957ba5 improving speed for the retrieval ov the distributionlists 2009-03-12 09:06:10 +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
5e2ff3b54f "fixed SQL error introduced by r26581:
Column 'account_id' in where clause is ambiguous
--> happens if account-repository is in ldap"
2009-02-27 08:47:10 +00:00
Ralf Becker
9083041e37 "show only active account in the addressbook (only for sql account repository)" 2009-02-26 14:58:55 +00:00
Stefan Becker
5c948f5d5d "Addressbook is now able to print more than one Adresslables into a page. This is needed to print out Addreslables for a mailing.
New Tags $$label$$ and $$labelplacement$$ added.
Also possible to print out the County name, if it is not your own contry.
I will add a exsample to EGroupware demo page.
This is sponsored by Deutsche Kinemathek – Museum für Film und Fernsehen.

"
2009-02-22 12:24:24 +00:00
Ralf Becker
7441773280 "fixed error in docu (no real need to backport to 1.6)" 2009-02-16 08:00:40 +00:00
Klaus Leithoff
687f6b0a16 fixed bug with the multiple category adding (no category select dialog appeared) 2008-11-28 12:24:02 +00:00
Ralf Becker
6164f3f1e8 "fixed missing argument for $$creaed$$ and $$modified$$ placeholders, reported on the German list" 2008-11-21 09:25:16 +00:00
Ralf Becker
1baa158195 Big SyncML patch from Philip Herbert <pherbert(at)knauber.de>:
- change the processing of slowsync, to use the content_map instead of
  trying to build a new one. This caused duplication issues on the
  client if multiple similar records where stored, because only the first
  one found in the server-db was matched, These duplicate entries at client
  side had no entry at serverside, so deleting the wrong one
  on the client (the content with a valid map entry) could cause
  unwanted data loss at server side, because it is impossible for the
  user to see what is a duplicate, and what is not.

see also: 
http://www.nabble.com/again---syncml-duplication-issue-to20333619s3741.html

- reenabled UID from syncml clients, because it was partly used this caused
  issues during SlowSync if the content was changed. 

- infolog, calendar if a uid is found in the provided data, allway try to
  find the corresponding content first   using only the UID, instead of
  using the content-id taken from content_map.

also fixed:

- a few fixes in ./notes
- creating an entry on the client that can not be imported,
  (Example, Nokia E Series Appointment without a Title)
  will no longer create an invalid content-map entry
  However, at client side this is still counted in the Protocol as
  Server-Add
2008-11-16 10:42:29 +00:00
Ralf Becker
bf3c88731d "curly brackets are depricated in php6" 2008-11-12 18:05:19 +00:00
Ralf Becker
f2b50bdf8b "fix for bug #1805: SQL error when searching mail addresses from fmail
Integer column etag was search with ILIKE '%@%' which is not allowed in Postgres, as theres no ILIKE operator for Integer"
2008-11-12 17:53:58 +00:00
Ralf Becker
d28f6f672c - fixed url recreation for links (use ? for get-params, if no ? in the
link)
- made bo_tracking abstract
- added default return null to bo_tracking::get_config and removed it
  from extensions implementing no config
- fixed signature of get_config($name,$data,$old=null)
2008-11-08 10:37:52 +00:00
Ralf Becker
5e0cbfb49e "fix for bug #1355: Addressbook view does not display link if an url didn't start with http:// or www" 2008-11-08 09:09:40 +00:00
Ralf Becker
43f860ba8f Reworked GroupDAV and iCal/vCard handler to set 'GroupDAV' as product
manufacturer and the recogniced GroupDAV client as product name.
This way we are able to handle different GroupDAV clients, as we
allready do with different SyncML clients.
Also removed the no longer needed code enabling the use of the real UID, 
as SyncML does no longer misuse the UID for it's GUID.
2008-11-03 09:36:20 +00:00
Ralf Becker
71edd1c938 Big patch from Philip Herbert (Knauber) modifying the SyncML code to no
longer use GUIDs containing eGW's install_id, as the information is
irrellevant for SyncML and cause doublications of entries if the
install_id changes.
I plan to have a new rc4 Wednesday or Thursday containing these changes.
2008-11-03 07:44:02 +00:00
Ralf Becker
f22de2cc36 "get_rows should use all (readable) distribution lists, not only the ones the user has edit right for, thanks to Lluis Faja for noticing" 2008-11-02 07:10:40 +00:00
Ralf Becker
00065b8247 fixed multiple bugs with addressbook types:
- bug #1772: custom fields for single addressbook types show in all
- removed template warning, if no template was selected
- showing type icon if available
- added "all" to type selection
- removed some weird doublicate code
2008-10-20 19:35:18 +00:00
Ralf Becker
1709fdf2ae fix for bug #1715: Create infolog for several addresses fails
This was caused by the (only) clientside code, which could not evaluate
the whole query. It's now done on serverside, thought there's still a
limit of the number of id's transfered in the url.
2008-10-20 09:51:38 +00:00
Ralf Becker
01a3800b27 "removed all special handling for SOGo connector, as it is no longer required from version 0.9pre14 on.
Thanks to Ludovic Marcotte from Inverse."
2008-10-16 19:51:29 +00:00
Ralf Becker
273bd722e2 fix for bug #1739: config for CSV export for non-admins is not working.
Reworked it not in the following way:
- numerical limit or total disabling (setting "no"), are only valid for
  non-admins
- addressbook has it's own value, but uses now the global one, if no
  addressbook specific limit is set
2008-10-16 11:17:49 +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
5131bdeee3 "removed n_files from search() as it causes doublicates, because the clients (eg. outlook) have different fileas options" 2008-10-10 06:28:58 +00:00
Ralf Becker
29af6786d1 "fixed not working delete for contacts in ldap, as reported by Bernhard D Rohrer on the English user list" 2008-10-08 15:28:37 +00:00
Ralf Becker
2c1eec5832 uiinfolog --> infolog_ui 2008-10-07 13:04:49 +00:00
Ralf Becker
b4540c337c "removed unnecessary include" 2008-10-07 12:24:15 +00:00
Ralf Becker
338f3f246f file_access hook for attachments 2008-10-07 09:05:48 +00:00
Klaus Leithoff
b459070ab3 addressbook::groupdav: fixing a bug regarding the retrieval of addressbook entrys with groupdav, (occurring when accounts stored in ldap and
addresses in sql, and the entry in question is retrieved via uid (as it is possible to retrieve a contact by bassing on an array as contact_id))
2008-10-06 09:24:42 +00:00
Ralf Becker
d25b648258 "feature request from Frank Becker, make AND the first and theirefore default option in extended search" 2008-10-05 06:16:13 +00:00
Klaus Leithoff
8d9f3eb858 addressbook_contactform: handle the submit, if verification math is done wrong. 2008-09-12 11:14:04 +00:00
Ralf Becker
043fda48a4 "check for fileuploads and attach the found files" 2008-09-11 14:34:44 +00:00
Ralf Becker
f755c12365 "fixed problem reported on the german list: copied address contains the original uid" 2008-09-11 10:48:13 +00:00
Ralf Becker
e3b9117d4f "Patch from Phillip Herbert from Knauber to support Nokia e51, e90, 9300 and funambol iphone" 2008-09-03 17:09:17 +00:00
Klaus Leithoff
e5f1bc9a24 bugfix for missing search/cancel buttons in advanced search dialog 2008-08-26 10:40:20 +00:00
Ralf Becker
48c7fae782 "fixed bug reported by Phillip Herbert on the user list: addressbook view >> more phone numbers does NOT show the fax number" 2008-08-25 13:49:32 +00:00
Ralf Becker
8a9bf481f5 "fixed problem reported by Phillip Herbert on the devel-list: Mass move to private addressbook does not work" 2008-08-13 06:18:03 +00:00
Ralf Becker
b491fe8312 "fixed not working letter-search filter if DB is postgres, thanks to Larquère Laurent <llarquere(at)aacom.fr>" 2008-08-12 13:06:51 +00:00
Klaus Leithoff
68ba92e1b9 Some clients do not use uppercase charaters to name PRIVATE/PUBLIC class.
To be more fault tolerant change line 687 of trunk/addressbook/inc/class.addressbook_vcal.inc.php
this was pointed out by Philip Herbert. Carl Knauber Holding GmbH & Co KG
2008-08-04 08:24:34 +00:00
Nathan Gray
5a9550ef31 Accept an integer parameter, as specified in function documentation. Used to throw an invalid argument warning. 2008-07-10 20:22:58 +00:00
Ralf Becker
d3ecff4dd1 "fixed typo reported by Phillip Herbert <philip-at-knauber.de>, causing german umlauts and other non-ascii chars to be handeled wrong for eg. the e90 or kde addressbook" 2008-07-07 07:27:56 +00:00
Stefan Becker
5f87546421 "fixed is not array warning in addressbook display block" 2008-07-03 08:03:23 +00:00
Ralf Becker
7ae3cc0dda suppress unnecessary update of uid (which overwrites an existing uid with the eGW default uid), happend for existing entries, if the uid was not given in the update, also removed etag increment, as so_sql::update does not longer call our save method 2008-07-02 15:28:52 +00:00
Ralf Becker
4bca7982d6 moved rest of the addressbook group-acl code to addressbook 2008-06-30 16:46:01 +00:00
Ralf Becker
0e58c00b98 use new hook facility to register for group acl 2008-06-27 10:04:05 +00:00
Stefan Becker
40c143c843 "Patch for negate the seaching in custom fields, starting with \"!\" " 2008-06-18 10:12:11 +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
c350dddc9b using the new url, email, phone widget 2008-06-11 07:17:30 +00:00
Klaus Leithoff
2c33afe51b fix regarding the renaming of the calendar classes 2008-06-09 12:32:15 +00:00
Ralf Becker
c618dad433 no extra charset attributes in iCal for GroupDAV/CalDAV 2008-06-07 18:00:29 +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
7b6e3be922 "upps forget to rename the class itself: fixed bug in csv export (class addressbook_csv not found)" 2008-05-23 05:56:40 +00:00
Ralf Becker
1580ece9b7 "addressbook.so_ldap --> addressbook.addressbook_ldap" 2008-05-23 05:48:05 +00:00
Ralf Becker
2a88bd0fab "addressbook.csv_export --> addressbook_csv, thank to Christoph Kaulich for the report" 2008-05-21 07:44:41 +00:00
Ralf Becker
6abf7b87b0 "fixed concatination of rtf files" 2008-05-20 19:23:51 +00:00
Ralf Becker
1ac7a8535b "fixed 2 problems:
- new entry were not handled correct after the last commits (201 Created and Loaction header)
- cadaver reports entires as not found, because modified and contentlength were not set"
2008-05-20 09:02:16 +00:00
Ralf Becker
9f30e824b0 enforce a certain strength of uid, as some clients set quite weak ones) 2008-05-20 04:59:26 +00:00
Ralf Becker
01407a4e38 "fixed renamed addressbook_vcal, as reported by <kaulich(at)gns-mbh.com> on the devel list" 2008-05-19 11:51:21 +00:00
Ralf Becker
ee7b0643bd "dont send accounts via GroupDAV/CardDAV, if user choose in his prefs to hide the accounts" 2008-05-19 08:01:28 +00:00
Ralf Becker
0d60e6f245 "checking for different cases in the object class, as suggested by Nigel Kukard <nkukard(at)lbsd.net> at the devel list" 2008-05-19 05:34:11 +00:00
Ralf Becker
499ac36bff "- fixed charset for Thunderbird/SOGo connector
- using uid as filename to improve the support of newer SOGo connectors (>= 0.62), which require the server to remember the path they used to store a new contact
--> still not working reliable and causes TB to lock up
--> recommended is still version 0.62 of the SOGo connector "
2008-05-17 13:11:46 +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
fd5b231760 "added missing uid attribute (for file / all and kde)" 2008-05-10 21:01:53 +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
Ralf Becker
d2e9143213 First version of new CalDav/CardDAV/GroupDAV access for calendar and
addressbook (infolog will follow).
CalDAV is tested so far with lightning 0.8 and Apple's iCal. Please note
that both distinguish between iCalServer and CalDAV!
The URL is currently http://domain.com/egroupware/groupdav.php/calendar/
2008-05-08 20:31:32 +00:00
Ralf Becker
9d7e48fcaa use a cn given+family name, instead of link title for contacts 2008-05-08 20:19:20 +00:00
Klaus Leithoff
641817662b enable roles in main addressbook list view 2008-05-07 14:13:34 +00:00
Ralf Becker
eef92b5785 Migration LDAP --> SQL 2008-05-07 13:13:23 +00:00
Ralf Becker
0c586d9ff0 bot-safer contact form 2008-05-07 13:12:33 +00:00
Ralf Becker
84a9f87127 "- setting ldapLimit to 2000, which is the default of slapd
- returning personal entries as personal (and not private)"
2008-05-07 13:08:58 +00:00
Ralf Becker
ec3327010c optional check etag/optimistic lock on delete too 2008-05-06 19:58:15 +00:00
Ralf Becker
2f4a67094e add missing (not used) parameters, creating warnings in error_log 2008-04-26 08:47:26 +00:00
Ralf Becker
69d7ee916d small fix for the etag & uid handling of new entries 2008-04-26 08:46:44 +00:00
Ralf Becker
86368a1903 uid and etag (optimistic locking) for addressbook 2008-04-25 19:06:15 +00:00
Ralf Becker
684d6551f2 using static methods for the hooks (you need to update addressbook or call Admin >> Register hooks!) 2008-04-25 18:59:00 +00:00
Stefan Becker
69ac5df990 Add to create a new Infolog directly from the Addressbook with multiple
Addresses als Links
2008-04-23 08:22:22 +00:00
Ralf Becker
3ef9def241 using iso-8859-1 for talking to SoGo Connector (0.61 works) via GroupDAV 2008-04-22 08:55:18 +00:00
Ralf Becker
1113f2ec1c "spelling" 2008-04-22 06:09:02 +00:00
Ralf Becker
c2c2c390ce "fixed bug reported by Peter Goerzen and Nathan: deleting a contact from view gives error, even if the contact get's successful delete" 2008-04-22 06:08:01 +00:00
Nathan Gray
72cbfd4083 Fixed misplaced bracket causing forced default addressbook preference to be re-set to the current user 2008-04-21 16:11:59 +00:00
Ralf Becker
92f16b2d7e "fixed warning if there's no col-selection yet" 2008-04-18 06:10:31 +00:00
Stefan Becker
a879dd4055 "avoid $$fields in RTF Dodument instead of emty values" 2008-04-17 09:17:56 +00:00
Ralf Becker
da4a19b7dc fixed GroupDAV "charset prob" (non-ascii did show up wrong in KAddressbook) and handling of jpeg photo
I hope that works well for SyncML too
2008-04-16 16:05:48 +00:00
Ralf Becker
09cdf3efe1 "fixed photo handling as suggested by tolux <5408w1h2dkm3c7r(at)bodhi.lawlita.com> on the developer list" 2008-04-16 04:37:05 +00:00
Ralf Becker
f3387a7c1f modified addressbook templates to use new vfs, it uses now templates in sub-dirs of the template dir too 2008-04-15 10:28:45 +00:00
Stefan Becker
78d7f5c550 Patch to use IF Statements in RTF-Documents Example "$$IF
n_prefix~Mr~Hello Mr.~Hello Ms.$$" - search the field "n_prefix", for
"Mr", if found, write Hello Mr., else write Hello Ms.
2008-04-15 08:26:50 +00:00
Stefan Becker
a900cf91a7 fixed small Bug in the serial letter function 2008-04-11 12:35:58 +00:00
Stefan Becker
6b3c511524 Add an new feature to the addressbook. Put your Pagecontent/letter
between two Tag of $$pagerepeat$$. After selecting more than one
contact, you will recive an RTF File with one Contact on each page.
This is a possibility to print serial letters.
2008-04-09 14:59:55 +00:00
Klaus Leithoff
6d36d46e90 another bug: if we dont order by cf's we dont need to extend the customfields by its tablename 2008-04-07 10:02:01 +00:00
Klaus Leithoff
8057d8b368 forgot the debug, and fixed a bug in advanced search regarding customfields, if you sort by a customfield 2008-04-07 09:47:01 +00:00
Klaus Leithoff
777ef7f4f7 fix for a sql error while searching and sort by customfield 2008-04-07 09:29:19 +00:00
Ralf Becker
f490000771 "hide delete button for not stored entries, gives an error" 2008-04-04 08:14:30 +00:00
Ralf Becker
b5d3888f74 "- allow more then one cf filter, gave sql error before
- allow to combine lettersearch with cf filter, gave sql error before"
2008-04-02 08:42:28 +00:00
Ralf Becker
db8b9cc428 "query and display only selected cfs" 2008-04-02 08:24:52 +00:00
Ralf Becker
5825fb3b9a "fixed typo causing cf's not to be displayed" 2008-04-02 08:24:27 +00:00
Ralf Becker
400a5bd48d "fixed error reported on the german list, happens when contacts are stored in ldap (no distribution lists)" 2008-03-31 05:40:53 +00:00
Ralf Becker
b0da799ee7 fixed sql error reported by Uwe Redecker on the German list and got cfs as orga fields working (including multiselections) 2008-03-30 08:53:40 +00:00
Patrick Bihan-Faou
2b1ee9c0ef Recognize 'nexthaus corp' just like 'nexthaus corporation' for blackberry users.
Fixes tracker #1478, thanks for the patch.
2008-03-27 07:50:35 +00:00
Ralf Becker
f9abc6fa2a removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 15:25:01 +00:00
Ralf Becker
d155e3b5cd "fixed PHP Fatal error: Cannot assign by reference to overloaded object" 2008-03-25 10:01:29 +00:00
Ralf Becker
f562ea44f3 removed unnecessary instanciations 2008-03-21 20:57:01 +00:00
Ralf Becker
69643ecb73 using global db object 2008-03-21 20:56:50 +00:00
Ralf Becker
f57f6a805b "using global db object" 2008-03-13 20:18:52 +00:00
Stefan Becker
889960567e my first commit: add or delete an categorie to the addresbokk entry. In a popup window, you can select, the categories zu want to modify. You can select more than one addresses. 2008-03-10 16:33:17 +00:00
Klaus Leithoff
2ec1a77daf attempt to fix the problem with the stick org_view problem in addressbook. col_filter is not reseted if org_view criteria is set to all. 2008-03-10 12:15:47 +00:00
Klaus Leithoff
123777682e to be able to do the contains feature of adv-search we split the value and search for each part individually
we do that only if the advanced search is set to contains (wildcard is set)
2008-03-10 10:08:27 +00:00
Ralf Becker
7e9c82ce64 "Fix to never store private accounts, as they are always public (seems to be still the case for SyncML) " 2008-03-10 07:00:32 +00:00
Ralf Becker
f9315dc39c reworked for new link-class and added titles method 2008-03-08 22:45:01 +00:00
Klaus Leithoff
2bb4fd1df1 fixed a problem regarding search in extra fields for addressbook when using the advanced search dialog 2008-03-05 11:41:40 +00:00
Ralf Becker
db165536e1 configurable fields belonging to our (virtual) organisations, patch from Stefan Becker 2008-03-05 10:31:26 +00:00
Ralf Becker
9887c58b4d fixed not working ldap connection using php4-restore session-mode 2008-03-02 13:13:23 +00:00
Ralf Becker
e9003d58f2 fixed not working ldap connection using php4-restore session-mode 2008-03-02 13:11:01 +00:00
Klaus Leithoff
594fa7df4b Feature to display a list of addresses from a given adressbook within the sitemanager
you may choose all addressbooks (which the Sitemanager user is allowed to see). 
NOTE the anonymous user, respectively the user you assigned for
anonymous access must have sufficient rights for the addressbook(s) to be shown.
This is provided by Stefan Becker

Bugfix for broken Move2Adressbook callback
2008-02-21 11:54:22 +00:00
Ralf Becker
9aa040bec2 "fixed not working last event" 2008-02-15 02:17:47 +00:00
Ralf Becker
7c5b6c94d6 "removing replacements for empty cf's (finally)" 2008-02-15 01:36:58 +00:00
Ralf Becker
722903656b missing commit for contacts colored by category in the link search 2008-02-15 01:36:43 +00:00
Klaus Leithoff
54e606e2a0 after trouble with the advanced search in connection with the distributionlist tab in addressbook, some modifications that should fix the problem. 2008-02-13 13:40:57 +00:00
Lars Kneschke
bec1c05070 disabled not working code 2008-02-08 11:14:47 +00:00
Ralf Becker
9eaa3efb75 - $$calendar/-1/...$$ for data of the last event
- showing a category path (full cat hierarchy), if category tree is configured
- deleting placeholders of empty (not-stored) custom fields
2008-02-07 02:45:48 +00:00
Klaus Leithoff
55eb8ece48 adding the feature of viewing the distributionlists of a contact in list and singleview
enabling longer orgnames and emailaddresses
2008-01-31 12:52:43 +00:00
Klaus Leithoff
0ca42fe9ac fixed a bug in addressbook regarding the adding of adresses to the adressbook configured in preferences 2008-01-25 12:57:13 +00:00
Ralf Becker
9d15b05a4f - private cf's only visible to certain user or groups
- configurable extra tab for the private cf's
- cf's displayed in the list are now configurable like in InfoLog via
  the column-selection
- row color of the list get's now set by category, if cats have colors
  defined (first match for multiple cats)
- fax is now allways direct visible in list and edit
2008-01-19 05:41:04 +00:00
Ralf Becker
9eb50fff4a fixed bug reported on the users list: if admin forced or set a default of 'personal' for the default addressbook where new accounts should be created, it prevents eg. syncml to create the contact, as it's the admins personal addressbook, to whom no user user has access, thanks to pgoerzen-at-hustlerturf.com 2007-12-14 23:20:18 +00:00
Patrick Bihan-Faou
d97f1eed5e Extend the patch to get_categories in infolog submitted by matthias to the other classes as well.
Added a hack that allows one to search for the categories' names prefixed by X-
Sony Ericsson phones (and possibly others) systematically prepend a X- to the 
category names, so with this patch we match X-CatName just like CatName

This is only done for SyncML obviously.
2007-12-11 09:29:50 +00:00
Ralf Becker
e522141b42 "using the labels of selectbox-customfields instead of the values in notifications" 2007-12-07 08:14:50 +00:00
Ralf Becker
3bcc3ee251 "fixed typo causing only sending the mail without storing in an addressbook to fail" 2007-12-07 07:49:00 +00:00
Patrick Bihan-Faou
1e7fa3983a Provide proper vcard profile for syncevolution
Patch provided by Ioannou Ioannis (patch # 1230)
2007-12-03 10:21:50 +00:00
Ralf Becker
3bbc80948f "removed unused code reported by Oliver Welter on the user list" 2007-11-24 16:13:57 +00:00
Ralf Becker
5428f8d941 "allow admins to import contacts with creator / created date set" 2007-11-23 17:19:38 +00:00
Klaus Leithoff
006400768d bugfix: if you have custom addressbook types defined, the custom addressbook type selection within the listview will work now. 2007-11-23 08:32:08 +00:00
Ralf Becker
cffa8b9aeb "patch from Nigel Vickers from Stylite, to fix doublicate contacts and missing fields issues with the Synthesis Standard edtion for Windows Mobile/Pocket PC" 2007-11-10 08:07:44 +00:00
Christian Binder
875fe14219 some improvements when selecting a distribution list in mail: -users can switch between email and email_home (the default behaviour can be set via user-prefs), -auto-fallback to email_home if email not present and vice versa 2007-11-06 15:45:40 +00:00
Cornelius Weiß
1509ae821e add mendatory fields again which got lost by the patches of Patrick Bihan-Faou 2007-10-31 21:17:40 +00:00
Ralf Becker
ba380b7540 fixed a few small bugs in the contactform: verification can be turned off now, 2. customfiled is now disable if not set, email-address verification allows for "-" in the mail part 2007-10-31 11:13:28 +00:00
Ralf Becker
cf69bfd0a9 1) added missing fields to defaultEntries[1]: TEL;CELL;HOME, TEL;FAX;HOME, URL;HOME, FBURL (not sure if they are understood by nexthaus, but the definitly belong to the all fields entry)
2) added minimal vCard3 support required by thunderbird GroupDAV plugin: eg. ADR;TYPE=work instead of ADR;WORK
2007-10-25 06:26:50 +00:00
Ralf Becker
e1dec0fc76 fixed not shown list of replacement, if language is english 2007-10-19 09:47:06 +00:00
Ralf Becker
5174804b39 added last and next date to edit & view too 2007-10-19 08:34:47 +00:00
Ralf Becker
cd266aba21 "Patch #1077 from Di Guest:
- allow  to unset/remove all cats from Outlook
- wrong private value (missing bracket in cast)
- unsetting n_fileas in (slow sync) search as it causes doublicates
--> I guess there are other fields having the same problem (RalfBecker)"
2007-10-12 05:38:48 +00:00
Ralf Becker
74c9b0ccb7 fix prevent deleting of accounts via SyncML and to read private flag from the DB if missing 2007-10-11 06:24:57 +00:00
Ralf Becker
7b6a1013fc SyncML patches from patrick.bihan-faou-AT-mindstep.com (without
logout+mbstring stuff), small modification to use the already exiting
methodes to generate full name and fileas)
The code is commited to trunk only at the moment to allow testing of it.
If everything goes well, we intend to commit it to 1.4 branch too.
Here's the original description of the patch by Patrick:
- handles the default config for current versions of funambol (i.e. the
scard/stask/snote/scal locations)
- tries to be a bit smarter on how the data content should be encoded
based on what the client specified (sif+base64/vcard, / fragmented or
not, etc.)
- workaround a bug in some versions of funambol, where funambol does not
specify the proper sif type for the type of requested data
- imported patch #117 from egw's tracker
- make sure that the logs generated by the horde code go to stderr so
they can be view in the webserver's logs
- as much as possible reduce code duplication. For example, the
categories are handled in the parent classes for both the SIF avn VCAL
formats for each type of data (addressbook,infolog,calendar).
- make sure the code can handle more than one categories in each
  direction
- treat the 'sony ericsson' vendor string just like 'sonyericsson', the
newer phones apparently have a space in the vendor string... (this
touches some files in the icalsrv as well)
- handle notes: these should now work with everything (funambol or
  other)
- remove more code duplication: the syncml "api" for the various data
types (calendar, contacts, infolog) is now common for both the vcard and
sif data formats (cf the files that need to be removed)
- handle the "privat" filter in infolog like the "private" filter (some
part of the code use the name without the trailing e)
- imported patch # 267 from egw's tracker
2007-09-29 10:29:48 +00:00
Ralf Becker
f146332a3e fixed problem reported by perci <tin_nospam-AT-oleco.net>: typo ->bo instead of ->contacts 2007-09-24 07:05:29 +00:00
Ralf Becker
15f201c07e patch from aleksander.adamowski-AT-olo.org.pl 2007-09-21 15:08:56 +00:00
Ralf Becker
63a9c2debb fixed new calendar-column code to NOT procduce a sql error if selecting account addressbook and having accounts in LDAP 2007-09-17 07:25:53 +00:00
Ralf Becker
4682133d82 "fixed not shown calendar if custom fields are selected too" 2007-09-14 10:31:08 +00:00
Ralf Becker
2676cb4a5c optional column in addressbook list to show the last and next date for a contact, eg. last and next visit 2007-09-14 10:03:18 +00:00
Klaus Leithoff
a4a85097a4 fix of small typo in the switching of the export definition fields 2007-09-05 06:27:35 +00:00
Ralf Becker
f2ea7ea2f6 removed formatting chars from the phone-number in callto:-links, as the mess up the links 2007-08-30 13:24:54 +00:00
Ralf Becker
ab9899f07b bugfix from Jan Schneider <jan-AT-janschneider.net> 2007-07-18 19:28:26 +00:00
Ralf Becker
7160e6595f fixed not working actions with result of advanced search, nextmatch looped because of the way the extended search content was transfered 2007-07-12 13:02:19 +00:00
Ralf Becker
d8b290f177 fixed sql error if an addressbook get selected in the extended search 2007-07-12 09:57:35 +00:00
Ralf Becker
eadc1c7b38 fix for bug #658: Custom Fields - added user in list comes up as ID (number)
Unfortunatetly this bugfix requires some corrections in the way the customfield widget is called in the templates of other apps
2007-07-11 15:39:41 +00:00
Ralf Becker
73f209ccb1 fix for MaxDB and MsSQL 2007-07-11 15:34:13 +00:00
Ralf Becker
760eb2af1a windows seems to use applicaton/msword for rtf-documents, instead of application/rtf, we now list files with both mime type, if the extension is .rtf 2007-07-09 13:29:09 +00:00
Ralf Becker
f78d36b4dd fixed mixed up category and location 2007-07-09 09:51:41 +00:00
Cornelius Weiß
b6cd1ee9e6 backport syncML fixes 2007-07-04 19:13:00 +00:00
Ralf Becker
25197222bf "patch #978 from Nathan Gray, file as option incl. org_unit" 2007-06-28 06:11:58 +00:00
Ralf Becker
d81a239640 "fixed moving contracts to and from private addressbook" 2007-06-25 16:36:58 +00:00
Ralf Becker
1602ebc69d "some fixes for syncml:
- if no owner/addressbook set on update load owner AND private from the existing contact
- if no owner/addressbook set for new entries, use the add_default prefs if set and the personal adb of the user if not"
2007-06-25 16:16:55 +00:00
Lars Kneschke
ef1e1721dc added support for funambol thunderbird plugin 2007-06-24 23:53:10 +00:00
Ralf Becker
f9023da5e2 "fix for bug #928: Distribution lists are not working with pgsql, thanks to Peter Eisentraut <peter_e-at-gmx.net>
postgres requires that expressions in order by appear in the columns of a distinct select"
2007-06-24 09:19:48 +00:00
Ralf Becker
8d739d827f "fixed bug reported in xmlrpc read by Esben" 2007-06-23 17:45:54 +00:00
Ralf Becker
ab74fbeca0 "fix for bug #953: Addresbook Contact Info ignores Default Address Format Rule" 2007-06-23 07:09:52 +00:00
Ralf Becker
68eb676729 "fix for bug #952: Fatal error: Undefined class name 'self' in class.bocontacts.inc.php on line 86
self:: is PHP5 :-("
2007-06-22 12:42:56 +00:00
Ralf Becker
28d9dbf471 fixed some bugs in the document templates and added the ability to print the next appointments of a contact 2007-06-19 17:06:32 +00:00
Ralf Becker
1651819dce fixed 2 bugs with the new addressbook document templates 2007-06-19 10:19:47 +00:00
Ralf Becker
76c98cf9ec ability to insert contacts into documents, one can specify a document dir and a default document in the addressbook prefs. Addressbook then offers actions to insert (at the moment only single) contacts into that document. The default document is also shown as in extra icon for each contact in the list. Documents have to be text document including rtf, which allows to be saved as open office or word documents. 2007-06-17 13:56:35 +00:00
Ralf Becker
e34e046fd7 ability to insert contacts into documents, one can specify a document dir and a default document in the addressbook prefs. Addressbook then offers actions to insert (at the moment only single) contacts into that document. The default document is also shown as in extra icon for each contact in the list. Documents have to be text document including rtf, which allows to be saved as open office or word documents. 2007-06-17 13:55:43 +00:00
Cornelius Weiß
3de717157c fix bug found by sven kloeckner: addressbook does not work, when template is not set correctly in customfields section 2007-06-17 13:15:13 +00:00
Ralf Becker
1557afe792 some fixes for the contactform: customfields, not working mail-subject, ... 2007-06-13 16:29:06 +00:00
Ralf Becker
4ce40c0fd2 "address formats from many countries from http://www.bitboost.com/ref/international-address-formats.html
thanks to mikaelarhelger-AT-gmail.com"
2007-06-12 16:31:58 +00:00
Ralf Becker
4b72cd5bb0 modification because of changes in bo_tracking (calling the constructor now neccessary) 2007-06-10 08:51:42 +00:00
Cornelius Weiß
9e6050bc22 reworked import:
- cli import working fine now
- ui wizzard is broken atm. will also be reworked
- export definitions as xml files (see arrayxml functions in importexport)
- moved importexport stuff to own dir
2007-06-07 22:31:08 +00:00
Ralf Becker
381d421466 email for the contactform 2007-06-06 08:18:45 +00:00
Ralf Becker
df73036d2b sitemgr contact-form that stores direct into the addressbook 2007-06-05 23:22:24 +00:00
Ralf Becker
b970654f4f "bugfix: removed change-org checkbox in view" 2007-06-03 13:21:13 +00:00
Ralf Becker
9957f21e21 fixed not shown/working customfields, 2. phone-numbers, file-as and links in own account acl 2007-06-03 12:24:49 +00:00
Ralf Becker
6a001d1cdf removed not longer usable old import/export 2007-06-03 12:01:31 +00:00
Ralf Becker
d5829fa68b "fix for bug #821: Entry of private addressbook is shown as \"personal\" in view mode
also fixed not working private icon in the list"
2007-06-03 11:42:39 +00:00
Ralf Becker
1828683be2 "fixed not working modification of contact with cn= dn" 2007-06-03 11:07:50 +00:00
Ralf Becker
6d04243cd6 "fix for bug #838: Distributionlist as mail addres: XML Response from server invalid" 2007-06-03 09:49:10 +00:00
Ralf Becker
ad013af084 "fix for bug #817: addressbook Orga view grouped by units -> wrong SQL Querry for postgres 8.1" 2007-06-03 09:27:41 +00:00
Ralf Becker
dbb52e5ca7 "fix for bug #316: addressbook does not support mssql properly
MsSQL seems not to like != for not equal, using now <>"
2007-06-03 08:42:59 +00:00
Ralf Becker
65b18f32a5 "fixed bug reported on the users list by e.rawpuorge@pfr.de: KAddressbook labels the work and home address wrong: we are no longer using the adr_(one|two)_type fields from addressbook, but KAddressbook expects them, they are now send with constant values 'Work' and 'Home'" 2007-06-03 08:20:51 +00:00
Ralf Becker
86ecd44066 "bugfix for xmlrpc (KAdressbook): customfield names (keys) were NOT prefix with a hash" 2007-05-29 05:58:46 +00:00
Ralf Becker
a9c3d066c5 "fix for bug #802: Duplicate birthday preview on hompage" 2007-05-27 07:03:39 +00:00
Ralf Becker
7010efc75c "fixed not always working display of customfields (was still relying on the old pref instead the colum-selection)" 2007-05-26 07:58:37 +00:00
Ralf Becker
4983f4ab73 "fixed xmlrpc bugs reported by pe <e.rawpuorge-AT-pfr.de>:
- customfields were not send to KAddressbook (it's now a default, which can be turned off with $param['customfields']=false
- tel_prefer should be the phone-number not the field-name (is now transparently converted)"
2007-05-26 07:32:26 +00:00
Ralf Becker
0d1dbaa6e1 some fixes and improvments around the distribution lists:
- to, cc, bcc is working again in the email-selection-popup
- shortcut to directly add the whole list in the email-popup
- error message that a list already exist
- javascript only get's loaded if not already loaded
- fix for bug #588: content of emailpopup to wide
- fix for bug #713: wrong redirect creating distrib.list via popup from fmail
2007-05-25 18:20:57 +00:00
Ralf Becker
889a5c01c6 "fixed not returned id's if only_keys==true" 2007-05-25 17:33:26 +00:00
Ralf Becker
26952223f3 "fix for bug reported by Frank-braucht-Hilfe from the German list: infolog's from one organisation are incomplte if the org-view was limited by a searchletter" 2007-05-22 18:06:38 +00:00
Ralf Becker
1830f0fb1f fixes as suggesteg by Hans-Juergen Tappe <tappe-AT-hek.uni-karlsruhe.de> 2007-05-22 15:55:58 +00:00
Ralf Becker
452adb97ae fixed not working export of huge number of contacts (memory and execution time limit reached) AND added a new configuration option to limit the maximum number of exported contacts for non admins 2007-05-22 08:02:06 +00:00
Ralf Becker
da48c78fc2 "fixed not working forced preference for addressbook: csv-fields == all" 2007-05-21 09:08:03 +00:00
Ralf Becker
9c884e4b94 "fix for bug #764: \"Hide accounts from addressbook\" does not work with contacts in LDAP" 2007-05-21 06:54:55 +00:00
Ralf Becker
d683c2c7e1 "Fix for not working birthdays in xmlrpc as reported on the users-list" 2007-05-20 15:14:39 +00:00
Ralf Becker
61d0659715 fix for bug #450: Advanced search does not work regarding categories 2007-05-15 14:23:28 +00:00
Ralf Becker
a8266bf40b propset svn:keywords Id 2007-05-07 06:56:49 +00:00
Ralf Becker
22c7e8fbd8 fix for bug #615: no xmlrpc in addressbook (no KOrganizer, eGWOSync access) 2007-05-04 18:32:37 +00:00
Ralf Becker
0820742057 "orga-views use now ManualAddressbookIndexOrga, for the context sensitiv manual" 2007-05-04 11:57:37 +00:00
Ralf Becker
2bdd4e9f37 "fix for bug #139: Wrong timezone for created and modified in LDAP" 2007-05-04 05:43:33 +00:00
Ralf Becker
5f04d280c0 "patch #481: 'tel_cell_private' to 'callbackphone' (ldap) not working (typo)" 2007-05-03 13:57:21 +00:00
Ralf Becker
81026357a6 "fix for bug #667: moving contacts to private addressbook does not work" 2007-05-03 13:04:29 +00:00
Ralf Becker
4a9fa4ef59 "fix for bug #643: Public-Keys can not be displayed after saving/closing addressbook-entry" 2007-05-03 09:22:49 +00:00
Ralf Becker
00ea3da691 fix for bug #323: Postal Code / City, Country / State fields confusing 2007-05-03 08:17:31 +00:00
Ralf Becker
291aa0301a fix for bug #660/2: lists selectbox gets only populated once 2007-05-03 05:07:30 +00:00
Ralf Becker
53d0d3d21f fix for bug #637: Birthday reminder on homepage not working properly 2007-05-01 09:51:03 +00:00
Ralf Becker
4ca46d10d0 fix for bug #639: Distribution lists with user accounts in LDAP 2007-05-01 09:17:23 +00:00
Ralf Becker
09bfe009aa fix for bug #626: sql error when adding to distribution list 2007-05-01 08:18:33 +00:00
Ralf Becker
1aca20e56d fix for bug #625: Warning when deleting contacts 2007-05-01 08:17:22 +00:00
Ralf Becker
ecb0667898 bugfix: if accounts were switched off in the addressbook prefs, they were also missing from the account-selection and accounts::search, now they get only switched off on UI level of the addressbook 2007-04-30 15:18:29 +00:00
Ralf Becker
6675194ff8 worked around stupid php5.2 empty haystack warnings 2007-04-29 14:28:47 +00:00
Ralf Becker
6470e91163 removed tab in message phrase, which is not allowed and stops installs on Postgres 2007-04-19 05:26:02 +00:00
Ralf Becker
5d6c711849 bugfix: pressing 2 times apply/save removes just uploaded photo again 2007-04-18 15:39:48 +00:00
Ralf Becker
841c85b9db bugfix: typo prevened deletion of distribution lists 2007-04-18 15:33:22 +00:00
Ralf Becker
d60659935a fix for bug #589: SQL error on adding an existing distribution list again 2007-04-15 13:25:06 +00:00
Ralf Becker
346f5e6be1 pref to hide accounts from the addressbook for non-admins 2007-04-15 13:06:21 +00:00
Ralf Becker
d5c279c353 "fix for bug reported on the german list: group-filter not working in admin >> edit accounts" 2007-04-14 09:23:04 +00:00
Christian Binder
cbd945c239 just removed some forgotten debugging output 2007-03-13 20:01:39 +00:00
Ralf Becker
62bd5fa81f distribution lists for the sql addressbook 2007-03-13 13:38:15 +00:00
Ralf Becker
c0b6563e17 adaption for the new nextmatch feature plus some nice extra columns 2007-03-07 12:31:48 +00:00
Lars Kneschke
da41b918c9 syncml categories fixes 2007-03-01 20:17:51 +00:00
Lars Kneschke
6a34604c96 fix for not working to,cc,bcc selecttion when adding multiple addresses from addressbook 2007-02-27 09:21:20 +00:00
Lars Kneschke
51b912557d SyncML fixes 2007-01-23 17:34:24 +00:00
Ralf Becker
7430c4d638 removed fax from mozilla schemas, as it's already in inetOrgPerson and having it twice for the same attribute creates an error. Thanks to Anton Frolov <afng072-at-frols.com> from the users list. 2006-12-20 14:34:16 +00:00
Ralf Becker
fa4a6608ab - fixed not working copy of accounts via view
- removed debug-message from action()
2006-12-19 14:17:58 +00:00
Ralf Becker
7a653f4a1d - new feature to merge contacts into one
- added missing link::unlink if contacts get deleted
- some tweaks in the edit template: n_fn was not readonly, added focus for n_prefix to onclick
2006-12-19 11:25:44 +00:00
Ralf Becker
f4238614f3 new egw_db::capabilities['case_insensitive_like']=='LIKE' ('ILIKE' for Postgres) used for all so_sql search and the lettersearch in addressbook 2006-12-17 08:44:05 +00:00
Ralf Becker
123a86b2b8 fixed extended search to work with new layout (tab-names) 2006-12-16 12:02:14 +00:00
Ralf Becker
4076328613 fixed not working selection of multiple org's in org-view 2006-12-13 13:39:00 +00:00
Ralf Becker
93396fe850 some (crm) features:
- filter for business country
- sorting by postal code
- add can create now already linked entries by specifying app/id pairs in the url (as eg. timesheet)
- setting egw_info[flags][currentid] in view to allow to add already linked entries via quick add
some bugfixes:
- sql can now change the ownership if a user gets deleted, ldap implementation still missing, but gives no more error
- photo template was not shown under some circumstances
2006-12-11 07:35:49 +00:00
Ralf Becker
1c1e2d49b1 reorganized tabs in addressbook edit 2006-12-07 19:11:39 +00:00
Ralf Becker
46dfa3e3ff using nation from the general prefs for new addresses 2006-12-04 12:41:03 +00:00
Cornelius Weiß
8c86a244c9 fix not working delete in edit mode 2006-12-02 11:47:34 +00:00
Ralf Becker
f2be211de1 re-applying commit 22775 which got removed by Lars last commit (22866):
- fixed not always exported custom fields
- removed old ex_search method
2006-11-23 14:31:22 +00:00
Lars Kneschke
d0e5d6a188 worse hack to get sql->ldap export working with strict ldap acl applied
Ralf needs to review this, because it's a hack
2006-11-23 06:46:51 +00:00
Ralf Becker
2563cd7f53 allow to change the addressbook/owner for new contacts, even if you have no delete rights for the preselected addressbook 2006-11-14 09:25:07 +00:00
Ralf Becker
04afc8f6cb fixed "complete query" in email popup, it was using the query from the index page and not the popup, for all actions 2006-11-13 14:53:40 +00:00
Cornelius Weiß
522009d565 plugin and wrapper class for addressbook to use importexport framework 2006-11-10 15:35:35 +00:00
Cornelius Weiß
c5d92cca87 adv search was not working with autohide sidebox in idots template 2006-11-02 13:52:24 +00:00
Cornelius Weiß
3e6921d5b9 preserv cats if updateing contacts from import 2006-10-31 09:26:40 +00:00
Ralf Becker
25055b8603 improved advanced search:
- fixed not working paging (lost advanced search)
- uses now a named window and gives it focus
- disabled for org-views
- can be unset via clicking on the addressbook icon (index.php)
- last search can always be restored from session
2006-10-31 07:56:34 +00:00
Ralf Becker
ba311860b0 - fixed not always exported custom fields
- removed old ex_search method
2006-10-31 07:50:51 +00:00
Cornelius Weiß
c431575d69 logic updates to advanced search 2006-10-27 13:10:51 +00:00
Ralf Becker
bcb22e45ef php < 5.1 fix for the advanced search 2006-10-27 12:03:37 +00:00
Cornelius Weiß
03c7a819d3 litte js bug 2006-10-27 10:22:50 +00:00
Ralf Becker
ff137bd345 fixed not shown customfields in addressbook index, if a not set one is in before 2006-10-26 13:40:47 +00:00
Lars Kneschke
d50f13d980 call the function and do not try searching the non existing array 2006-10-26 04:01:41 +00:00
Cornelius Weiß
07ddbdd0d6 fix typo 2006-10-25 10:11:19 +00:00
Cornelius Weiß
d4d81a940c make advanced-search working in new addressbook 2006-10-24 19:20:37 +00:00
Ralf Becker
7eec77c451 fix for not set default addressbook preference on copy 2006-10-24 14:23:04 +00:00
Ralf Becker
3ae17a35cf InfoLog view for organisations or multiple contacts 2006-10-23 11:48:56 +00:00
Ralf Becker
2c56e220bc added again adding of the whole selection to the email-address popup 2006-10-22 11:40:43 +00:00
Cornelius Weiß
c2d8db0e2f start with reimplementation of advanced search 2006-10-21 20:17:49 +00:00
Cornelius Weiß
f302a74156 start with reimplementation of advanced search 2006-10-21 20:14:31 +00:00
Ralf Becker
d2f93575e7 removed not longer supported link and fixed addressbook dependencies 2006-10-19 08:52:00 +00:00
Ralf Becker
2bbcb5c7e8 remove error_log message 2006-10-19 08:51:11 +00:00
Ralf Becker
01286bbc9b make the display of addressbook-links configurable:
- own sorting (default: Company: Last name, First name)
- Company: Last name, First name
- Company, Department: Last name, First name
- Company, City: Last name, First name
- Company, Department, City: Last name, First name
2006-10-19 08:50:25 +00:00
Ralf Becker
a557977d23 extended socontacts_sql::search to search custom fields like other columns (a search by one string already searched all custom fields) 2006-10-11 13:00:23 +00:00
Ralf Becker
48a76e2354 fixed under some circumstances not working fileas title creation 2006-10-11 12:34:22 +00:00
Ralf Becker
e01d9cb8af reset lettersearch if viewing the contacts of one organisation 2006-10-07 10:18:35 +00:00
Ralf Becker
91480e8acc - fixed wrongly selected "None" Kategorie on first ever start of addressbook
- added pref for the addressbook selected on adding new contacts, if you dont have add rights for the current addressbook (eg. "All" selected as filter)
2006-10-07 09:17:30 +00:00
Ralf Becker
5cfe53bc7d typo 2006-10-07 09:16:04 +00:00
Ralf Becker
816e11629a fixed and enhanced cat-filter:
- cats with children were not working, because:
  + sql applied two filters (one in UI and one in SO, UI is removed now)
  + ldap did not handle it at all
- new cat-filter 'None', which returns all contacts without a category
2006-10-02 07:49:00 +00:00
Ralf Becker
f4e79928f6 fixed link_query hook, it returned array('') instead of array() for nothing found 2006-10-02 06:45:46 +00:00
Ralf Becker
3321dd1d48 - sorting criteria does no longer exclude entries with the soring criteria empty, but puts them always on the end of the list (changing the sorting no longer changes to total number of entries)
- this also fixes the bug that sorting after the org_name in an org_view, disables the org_view
2006-09-25 10:18:05 +00:00
Ralf Becker
e32fdcb322 removed no longer needed old classes 2006-09-20 04:39:50 +00:00
Ralf Becker
e376d27008 removed no longer needed old classes 2006-09-20 04:39:21 +00:00
Ralf Becker
acd9ac7777 fixed error-message on save of new contact (id was not returned due to a recent change) 2006-09-20 04:30:13 +00:00
Ralf Becker
13439ea6ac Fixed problem reported on the developer list: editing an account under the SQL backend removes first and last name 2006-09-18 08:15:08 +00:00
Ralf Becker
e2ee971ac7 "editaccountemail" hook to allow other apps to monitor the changes 2006-09-16 09:59:29 +00:00
Ralf Becker
b968f9327c - ACL to allow non-admin users to edit certain (explicitly allowed) fields in their own account contact data
- new hook editaccountcontact to sync other apps with these data
- admin ACL "edit users" is now respected by the contact class for account-contact-data too (you can deny admins to edit accounts)
- fixed bug in ldap-backend: it was deleting all not set contact fields
2006-09-15 07:16:07 +00:00
Ralf Becker
f5cf1ed1d2 fixed error in ldap-backend: "Error saving the contact !!! 1" 2006-09-13 04:49:53 +00:00
Ralf Becker
4e884eda9a fixed problem with php4.3.2 (negative integer as index) 2006-09-10 06:40:56 +00:00
Ralf Becker
e907216780 fixed bug reported by Deti Fliegl: [ 1548175 ] Pictures in Addressbook cannot be deleted 2006-08-29 04:18:32 +00:00
Ralf Becker
52f02a4ec2 small documentation update 2006-08-29 04:16:00 +00:00
Ralf Becker
47d18e092a fixed not working address import from FMail under ldap 2006-08-24 16:06:45 +00:00
Ralf Becker
153a642b56 Two new options for the account-selection:
- Selectbox with groupmembers (only)
- No user-selection at all
These two options limit the visibility of other users. There for they should be forced and apply NOT to administrators.
2006-08-22 16:50:32 +00:00
Ralf Becker
53ad443399 fixed not working update via SyncML 2006-08-22 08:14:35 +00:00
Ralf Becker
754e6948bf fixed not working copy 2006-08-22 08:14:15 +00:00
Lars Kneschke
215bf8f305 - added mappings for nokia e61
- removed unneeded charset conversion on import
2006-08-15 12:46:26 +00:00
Cornelius Weiß
71810b2000 fix: migration of cats in evolutionorgperson 2006-08-12 16:56:57 +00:00
Ralf Becker
4e64f9d62e fix for accounts in LDAP, but no passwords (auth against something else), in that case we need to search with the root_dn and not the user himself 2006-08-03 08:21:42 +00:00
Ralf Becker
b3454d9983 fixed an other "Fatal error: [] operator not supported for strings" error reported by Bastian Schern 2006-07-31 18:10:43 +00:00
Ralf Becker
82824f0a6c fixed bug reported by Bastian on the german list: Fatal error: [] operator not supported for strings 2006-07-28 16:44:41 +00:00
Lars Kneschke
60752ba913 added support for nokia 6600 2006-07-23 18:10:37 +00:00
Ralf Becker
671f175090 setting the freebusy_uri only if not in setup! 2006-07-22 18:02:15 +00:00
Lars Kneschke
07b45df538 syncml fixes 2006-07-20 13:32:02 +00:00
Ralf Becker
8f26ec2b1b automatic setting the freebusy url for accounts 2006-07-14 23:25:52 +00:00
Ralf Becker
95d6f36322 fixed creation of new contacts to use id=null (not longer -1) 2006-07-09 23:35:16 +00:00
Ralf Becker
2b549bcfe8 - fixed sifaddressbook to use bocontacts
- adapted to bocontacts::save returning the id again
- added comment for Lars about the id in LDAP & save
2006-07-09 22:59:22 +00:00
Ralf Becker
c14d006c15 bocontact::save returns now (again) the id on success and false on error 2006-07-09 22:58:04 +00:00
Ralf Becker
7ae03372ab savegard the account_id against changes not triggered by the accounts-class, eg. via SyncML/xmlrpc 2006-07-09 22:46:58 +00:00
Lars Kneschke
ecc09fc1a2 make adds working 2006-07-09 20:26:57 +00:00
Ralf Becker
6e0605899e an other fix for check_perms (used via SyncML) 2006-07-09 20:07:09 +00:00
Lars Kneschke
5c057a26dd make syncml working with the new addressbook 2006-07-09 13:29:19 +00:00
Ralf Becker
8f5467044a phpDoc header and some docu 2006-07-09 07:14:01 +00:00
Ralf Becker
9e525b0989 re-read the owner in check_perms, if it's not set 2006-07-09 06:09:32 +00:00
Ralf Becker
958a83a06d fixed vCard export and added it to the user-interface
ToDo: include the new 1.3+ fields like the jpegphoto
2006-07-08 23:02:30 +00:00
Ralf Becker
cc7020f9a6 fixed sql error in setup/account_migration, as there are no grants, if there's no user 2006-07-08 21:38:54 +00:00
Ralf Becker
bd7f7f417d - readonly LDAP sync (acount-repository SQL --> LDAP) is fully working now
- migration for contacts to LDAP
- some general addressbook fixes
2006-07-08 00:36:23 +00:00
Ralf Becker
b9a639d3cf - changed labels from company to organisation
- using a country-selection instead of an text-input
- disabled "change all members of org" if no org set
2006-07-06 23:01:29 +00:00
Ralf Becker
af35ee028e - fixed co (country) attribute which is NOT inetOrgPerson, but mozillaOrgPerson
- use/set c (country-code) attribute for mozillaOrgPerson and mozillaAbPersonAlpha
- fixed primparyPhone of evolutionPerson to store the phone-number and NOT the internal eGW name of the number
2006-07-06 22:59:28 +00:00
Ralf Becker
a48b353c14 link_title method returns now null to indicate an entry does not exist (and all links can be deleted) or false if there are insufficent rights to view the title 2006-06-24 16:03:00 +00:00
Ralf Becker
a3ff0decd1 making "all" the default for the addressbook selection (was the personal addressbook) 2006-06-24 06:09:02 +00:00
Ralf Becker
4685b9e003 search was missing the email address 2006-06-24 05:57:13 +00:00
Ralf Becker
fbcded1a6b prevent SQL error "contact_owner is ambigues" 2006-06-24 05:54:28 +00:00
Ralf Becker
1b39b7d4fb fixed wrong attribute name as reported by Bastian Schern from the german list 2006-06-23 00:06:27 +00:00
Ralf Becker
185b151ae9 - fixed not working add of new accounts (due to addressbook acl, which allows not to add accounts via the addressbook)
- invalidate the cache of the accounts-class if contact-data of an account get changed
2006-06-21 23:12:45 +00:00
Ralf Becker
e5abeeeded quitend warning if search is empty 2006-06-18 05:04:01 +00:00
Ralf Becker
591444be4b dont update the content-history, if we run inside setup (admin-account-creation) 2006-06-18 05:03:35 +00:00
Ralf Becker
9f59a77b85 moved contact-data (firstname, lastname and email) from the account-table to the contact table:
- all (sql) accounts have now allways a contact associated with them (account_id is added as new column to the contacts table)
- contacts queries are simplefied a lot now, as no more join with the accouns-table, union and case when statesments are necessary
- lot of the special handling for accounts in the contacts class is no longer needed
- new contact-repository mode "sql-ldap" which additional writes all changes to the ldap repository, to allow to use it read-only from eg. thunderbird and still have the full sql speed and features within eGW (not yet fully working!)
==> requites update of API and addressbook to work (setup!)
2006-06-17 18:50:07 +00:00
Ralf Becker
3992f7eef8 new email-address-selection popup for felamimail 2006-06-16 04:44:58 +00:00
Ralf Becker
b8074706e4 some fixes for the email search in the new felamimail 2006-06-15 22:05:27 +00:00
Ralf Becker
ac102085ac fixed about deleting of accounts:
- prevent deleting of own account (as in admin)
- return for accounts account_id and _lid as the sql class does
- do not redirect to admin.uiaccounts.delete_user if no account_id set, as I deletes the current user ;-)
2006-06-14 16:53:14 +00:00
Ralf Becker
5e0d628d93 - added LDAP ACL stuff to the readme
- reworked Admin >> Addressbook >> Site config
- fixed for LDAP and SQL (eg. LDAP error are now forwarded to the UI)
2006-06-13 21:53:00 +00:00
Ralf Becker
ebdec8bcbb mapped private cell-phone and public key 2006-06-13 15:40:42 +00:00
Ralf Becker
9d3d376d47 fixed not working orga-view: total is no longer a reference to somain->total, so it needs to be set manualy 2006-06-13 15:40:13 +00:00
Ralf Becker
91cd07d611 fixed sql error: "unknown column account_id" 2006-06-13 15:39:25 +00:00
Ralf Becker
2201a45d27 reworked and restructured LDAP support:
- addressbook now supports contacts in SQL and accounts in LDAP
- added supported objectClasses and a README in new doc dir
- ldap::quote() against LDAP query injection
- got jpegphoto in LDAP working (they are binary)
- we support now mozillaAbPersonAlpha and the older mozillaOrgPerson schema, beside inetOrpPerson and evolutionPerson
- added sorting, letter-search and limited result sets for LDAP
still missing is to disable the organisation stuff in the UI for LDAP
2006-06-13 04:30:16 +00:00
Ralf Becker
2973ed5de1 fixed birthday reminder and made the days, it shows birthdays in advance, configurable 2006-06-11 17:26:54 +00:00
Ralf Becker
e288f028bd fixed not working cat-filter if multiple (comma-separated) categories where assinged to a contact. Also got sub-cats included again. 2006-05-24 02:28:57 +00:00
Lars Kneschke
8cbca0bfd2 SyncML fixes 2006-05-17 03:36:48 +00:00
Ralf Becker
956445d6f9 fileas selector was not readonly in view 2006-05-17 03:04:03 +00:00
Ralf Becker
b38f020e32 fixed bug no addresses show, if only one contact type defined 2006-05-16 17:02:12 +00:00
Ralf Becker
a4e33c20c1 fixed old method-name 2006-05-04 07:37:15 +00:00
Ralf Becker
374f4eba24 ability to activate phonenumbers in the addressbook list (index), configuration has to be done via the source at the moment (beginning of class.uicontact.inc.php) 2006-04-30 18:03:06 +00:00
Ralf Becker
6d6ec22c18 addressbook can now group contacts by organisations (sql only atm.) and change organisational fields for all organisation members 2006-04-30 09:34:24 +00:00
Ralf Becker
3780b08336 - added csv export
- fixed csv import
2006-04-26 21:23:38 +00:00
Ralf Becker
455a96c873 changed to use the bocontacts instead of boaddressbook, need to be tested 2006-04-26 14:02:17 +00:00
Ralf Becker
90f778b5dd moved the logic what fields to search from the uicontacts in the socontacts 2006-04-26 12:23:10 +00:00
Ralf Becker
cf2686e3ed fixed accounts only search, was returning the account more then once --> order of the joins were wrong 2006-04-26 12:11:12 +00:00
Lars Kneschke
cdd165ef50 new ldap backend for addressbook 2006-04-26 06:00:31 +00:00
Ralf Becker
a696318869 - several bug fixes
- new HEAD install works
- update 1.2 works
- update 1.0 should work, but untested
2006-04-25 12:43:41 +00:00
Ralf Becker
2315bfc199 - regular search method used by index is called now search
- search for (not yet working) extended search is called now ex_search (will be replaced by search)
- some parameter cleanups
- some changes for the new API contacts class, which just extends the bocontacts class of addressbook
2006-04-24 20:52:14 +00:00
Ralf Becker
870424755f js fix 2006-04-24 12:21:48 +00:00
Ralf Becker
7429b4fe2b - own sorting of the list/index
- preferred phone can be selected in the main-screen (not only the popup) too
- polishing of the layout and labels/translations
2006-04-24 11:15:10 +00:00
Ralf Becker
6d3478cea5 search searches now the custom fields too 2006-04-24 11:09:52 +00:00
Ralf Becker
b6b3db5ed4 first version / step to the new 1.4 addressbook:
- User accounts are an own addressbook now
- every user and group (can) have an own addressbook
- for groups the accessrights no longer depend on the creator
- new acl for adding into an addressbook
- all addressbooks can be displayed together (eg. accounts mixed with personal and group AB's)
- some useful new fields (photo, private cellphone, ...) and some obscure ones have been removed
- db update puts all contacts in the owners personal addressbook (further manual migration tools will follow), thought the UI already allows to mass-move them into a group-addressbook
- group addressbooks in SQL are created by making a group-grant for addressbook (like filemanger)
- Warning: all import/export/xmlrpc/syncml stuff and other apps accessing the addressbook is broken until the contacts class in the API gets fixed!
- it depends on further updates of etemplate, phpgwapi, admin!
==> it's pretty cool (specialy the foto's), but NOT ready for a production server !!!
2006-04-23 14:40:31 +00:00
Ralf Becker
46df2ba37c added n_prefix as mentioned on the list 2006-04-10 15:36:35 +00:00
Ralf Becker
0205b0bf64 fixed not working ldif export:
- object class has to be phpgwContact
- time()+cn gives not always ab unique uid (eg. no name = empty cn), added array index
2006-04-09 08:53:34 +00:00
Cornelius Weiß
821f206962 fix: advsearch in cat 2006-04-05 13:53:37 +00:00
Ralf Becker
062d4531e0 fixed sometimes (no customfields) wrong redirects and NOT calling the content-history 2006-03-28 11:41:48 +00:00
Lars Kneschke
5efcad7ab3 fixed typo 2006-03-24 20:57:01 +00:00
Lars Kneschke
389916d191 added support for SIF encoded files(Sync4j)
added search support(needed for slowsync)
2006-03-21 13:19:38 +00:00
Lars Kneschke
2a8544edd3 added support for SIF encoded files(Sync4j)
added search support(needed for slowsync)
2006-03-21 13:19:38 +00:00
Ralf Becker
e9e2dc6c18 - phpgw --> eGroupWare
- fixed tablename from phpgw_addressbook to egw_addressbook
2006-03-16 12:27:10 +00:00
Cornelius Weiß
4e9c822ed8 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 14:26:55 +00:00
Ralf Becker
15c845e0de fixed timezone handling in addressbook:
- db stores now server-time as everywhere in eGW
- contacts-class in the api and bocontacts in addressbook take and deliver user-time
- xmlrpc gives user-time as the other apps too
2006-03-07 22:43:08 +00:00
Ralf Becker
fbb52e8f47 fixed addressbook: customfields where not displayed if the name contained eg. upper case letters 2006-03-04 12:46:15 +00:00
Ralf Becker
785a3e18c6 fixed addressbook prefs for customfields:
- customfields could not be saved if the name contained eg. upper case letters
- using the user-defined title from the field and not generate one from the name
2006-03-04 12:34:35 +00:00
Cornelius Weiß
3618514657 *** empty log message *** 2006-03-01 19:32:31 +00:00
Cornelius Weiß
df76b59edb fix: timezone was not displayed in view-mode 2006-02-17 10:38:00 +00:00
Cornelius Weiß
488df1c485 fix: address2, address3 and ophone where not saved :-( 2006-02-16 11:50:16 +00:00
Lars Kneschke
ab0a0d5ba6 removed some debug output 2006-01-23 05:34:55 +00:00
Lars Kneschke
17219eac09 improved handling of vcard import 2006-01-16 09:49:04 +00:00
Cornelius Weiß
76e572f500 italian outlook connection, commited by S.Capra 2006-01-12 14:51:56 +00:00
Cornelius Weiß
50222354b8 fix: remove boudarys for time range of bdays 2006-01-07 10:33:40 +00:00
Cornelius Weiß
6cb1919319 fixed: not working customfield search, reported by josef 2005-12-30 12:47:24 +00:00
Lars Kneschke
eacbbcd718 no need to convert charset twice 2005-12-23 12:34:48 +00:00
Lars Kneschke
ccb945942f enable content history for addressbook again 2005-12-23 11:54:51 +00:00
Cornelius Weiß
1d96eeb3f6 *** empty log message *** 2005-12-18 19:06:32 +00:00
Cornelius Weiß
4ca328c05d fix: add contacts from mail 2005-12-01 17:21:38 +00:00
Miles Lott
d4f9449240 forgot to add these months ago 2005-11-26 13:15:57 +00:00
Ralf Becker
5c71cc8378 changed delete-confirmation to use javascript 2005-11-23 17:31:50 +00:00
Ralf Becker
4adc7504f1 - fixed not displayed links on new entries
- removed all tab-indexes, as the default order is inutitive (with the one-column layout we us now)
- added missing copied by note (as link now and no longer a note)
2005-11-23 17:07:33 +00:00
Ralf Becker
2ea764e672 - activating email(_home) and url in view
- using felamimail as default over email
2005-11-18 17:03:23 +00:00
Ralf Becker
0e155c2ae5 fixed not displayed links in view 2005-11-14 17:46:23 +00:00
Ralf Becker
784fa6add7 fixed size of popup 2005-11-14 17:45:53 +00:00
Ralf Becker
0b8dbfcdd1 fixed javascript error which cause submit in uicontacts::view, when you click on [more ...] 2005-11-14 17:29:39 +00:00
Cornelius Weiß
fb48a4896d killed warnigs on lagre resultsets 2005-11-14 16:44:23 +00:00
Ralf Becker
2bd1de92a8 saveing the links 2005-11-13 18:22:43 +00:00
Ralf Becker
35b9fe0cbe redesigned the edit and view dialog, hope you like it Conny ;-) 2005-11-13 17:51:41 +00:00
Ralf Becker
8e25d2e29c phpgw_addressbook(_extra) --> egw_addressbook(_extra) 2005-11-13 12:05:35 +00:00
Cornelius Weiß
cda193ba66 - a few buxfixes
- new view dialog
2005-11-11 20:50:12 +00:00
Cornelius Weiß
c13fd6c40a big fix for ! search in cf :-) 2005-11-10 13:29:05 +00:00
Cornelius Weiß
c6a83c93eb small fix for ! search in cf 2005-11-10 12:22:55 +00:00
Cornelius Weiß
7116559eed added edit and delete for result rows in advanced search 2005-11-09 19:15:22 +00:00
Cornelius Weiß
fc24544f11 fixed not working work email in advanced search
added a more clear WARNING for deletebutton in adv. search
2005-11-07 23:06:16 +00:00
Ralf Becker
b9008dd3ad fixed customfields returned as serialized array 2005-11-07 16:12:41 +00:00
Cornelius Weiß
fd5a8b7510 forgot to use the new edit dialog if we come from view-mode.
we cant change view mode jet, since we need to find a solution for the infolog below the contact.
2005-11-04 01:12:37 +00:00
Cornelius Weiß
fd9e935e63 - new add/edit dialog using tabs
- new "advanced search" function / dialog
- customfields can now be of type text, selectbox, radio and checkbox
2005-11-03 23:47:52 +00:00
Lars Kneschke
e7179a8977 use the same name schema like the other egw apps 2005-09-26 07:06:04 +00:00
Lars Kneschke
1085534c94 modified the delete hooks to use $GLOBALS['hook_values'] 2005-09-20 10:11:38 +00:00
Lars Kneschke
c01925959a display "grant access" link only when we have NOT user grants disabled 2005-09-07 09:24:13 +00:00
Miles Lott
b8bf4655fb formatting 2005-07-28 03:44:13 +00:00
Ralf Becker
2bc834b576 1) fixed missing charset conversation on import
2) phpgw --> egw
2005-07-27 16:11:01 +00:00
Ralf Becker
5156ab1024 commit for Lars: latest SyncML updates 2005-07-20 12:14:39 +00:00
Miles Lott
9a48625481 Fix apply button in preferences 2005-07-17 16:51:03 +00:00
Miles Lott
29cfef66be Switch to use of Save/Apply/Cancel for save and edit pages. Fix array close in boaddressbook. 2005-07-17 16:46:36 +00:00
Lars Kneschke
fc09bb2ab3 defined twice and breaking PHP5 2005-07-05 04:56:05 +00:00
Miles Lott
4924cfc9e2 Switch remaining variables to egroupware convention 2005-07-03 14:15:23 +00:00
Miles Lott
8e4a4edb51 Move custom field functions to new bo class, and implement in calls within this application 2005-07-02 20:20:06 +00:00
zhangweiwu
0adcf97c33 add better w3 complaince so that I could use style like input[type=text] 2005-06-30 07:38:51 +00:00
Miles Lott
2cc1972c51 Converting to new egw arrays 2005-05-01 14:34:59 +00:00
Miles Lott
c651776aca Fix for bug #1187688 2005-04-22 12:45:23 +00:00
Miles Lott
47afabd5b1 missing string identifier 2005-04-15 12:39:26 +00:00
Miles Lott
81f926b501 Add special case for correct filename in Palm_PDB export (Bug #1162859) 2005-03-24 13:29:51 +00:00
Ralf Becker
e6947642bf renamed French export file, as its non-ascii chars caused trouble on non-iso-8859-1 systems 2005-03-15 15:01:17 +00:00
Ralf Becker
f7b38fc301 fixed problems pointed out by gulftech 2005-03-15 14:32:30 +00:00
Ralf Becker
818149f6bc fixed typo from lars 2005-03-03 17:07:32 +00:00
dawnlinux
5b7f56fce7 Fix the following bugs,
[ 996794 ] Custom field can not be deleted.
[ 1029059 ] Delete user fields
[ 1154738 ] Customer fields contain UTF-8 works could not be deleted.

The problem is due to, some specail characters, e.g, utf-8 chars, are url-encoded for generationg the url, but are not decoded when trying to delete them.
2005-03-02 02:50:42 +00:00
Lars Kneschke
f6c2029094 changes to keep track of changed content 2005-02-27 23:33:14 +00:00
reinerj
6b182d0e6d add import script file from itanczos 2004-10-24 09:57:47 +00:00
Carsten Wolff
466e423dbc forwardport of the recent xml-rpc-fixes in stable 2004-10-06 09:29:12 +00:00
alpeb
88451fd126 Added button translation 2004-09-18 21:33:23 +00:00
alpeb
bbe871a450 Added some translations for import and export screens 2004-09-18 15:18:28 +00:00
Ralf Becker
e30da3d40f fix for palm-download as suggested by Peter Hrastnik's patch [ 1010631 ] patch for broken pdb file-download (headers already sent) 2004-08-18 08:32:59 +00:00
Ralf Becker
19cbdcec1d killed a warning in xmlrpc from the kdepim list:
HTML-formated Errors (see below) are returned instead of well formed XML.
Is this already solved in a later Version of eGroupware  or is this a special
setting that causes this behaviour ?

kontact: ERROR: Result: <br />
<b>Warning</b>:  Invalid argument supplied for foreach() in
<b>/home/httpd/localhost/htdocs/egroupware/addressbook/inc/c
lass.boaddressbook.inc.php</b> on line <b>392</b><br />
2004-07-12 20:02:15 +00:00
Ralf Becker
d9eb3ad604 not used anymore 2004-06-30 09:41:18 +00:00
Ralf Becker
afd3ba4a95 updated the css of the letter-search (like the accounts popup now) 2004-06-16 00:53:45 +00:00
zhangweiwu
587a2d5e1c a little ui enhancement in addressbook
addressbook/inc/class.uiaddressbook.inc.php in the line
161 remove this:
size="3"

On my installation there are 15 categories, a user has
to scroll down to find approprate category, size="3"
for category select box is too limited. Does not
specify size makes mozilla provide a select box just
fit it's content. Don't know how it would be in IE.
2004-05-24 02:35:08 +00:00
reinerj
e8f1738d1d fix from Mike A. Oligny for visual indicatorthat the cell is clickable 2004-05-04 13:00:00 +00:00
Miles Lott
413710d555 Fix setting of n_prefix based on Title field - bug #942723 from tachometry_nik 2004-04-27 02:57:04 +00:00
reinerj
1f0b14e716 add file Import_from_Outlook_-_Italano from Marco Volpe 2004-04-08 01:02:06 +00:00
Miles Lott
258e68559e Fix for cat_id selection on export from Bug #930311 - fix from SF userid hilch 2004-04-07 17:38:24 +00:00
reinerj
447bd52582 add changed file with name Import_from_Outlook_-_French 2004-04-07 14:09:07 +00:00
reinerj
bced87cbc3 add changed file with name Import_from_Outlook_-_Espanol 2004-04-07 13:54:23 +00:00
Ralf Becker
a202fb770a fix from pro-inform to get the prefs working with ldap 2004-03-23 09:11:49 +00:00
Ralf Becker
9b29b3a712 fixed signature 2004-03-21 15:06:01 +00:00
Ralf Becker
52865de3ce added xmlrpc support for:
- custom fields
- reading users via the addressbook, for sheduling
2004-03-14 17:02:18 +00:00
Ralf Becker
373864f6fe hopefully the last xmlrpc fix 2004-03-14 12:07:02 +00:00
Ralf Becker
e6c351b7d4 fixed missing return 2004-03-13 17:34:26 +00:00
Ralf Becker
00212a8fc9 fixed & enhanced xmlrpc support:
- new identical (for all apps) function names: search, read, write, delete, categories
- dates (geb.date, last_mod) iso8601 encoded
- cats are encoded as cat-id / name pairs and are automaticaly created / updated
2004-03-10 07:53:37 +00:00
Ralf Becker
3abbf2fb67 - fixed single quotes in view
- fixed setting of no cat (after there've been one) in edit
2004-03-07 12:27:07 +00:00
Lars Kneschke
42ad3ecbe1 fix for bug [ 840190 ] addressbook LDAP export to phpgw LDIF multiple issues 2004-02-27 07:09:26 +00:00
Miles Lott
aeb222d5d7 Remove break which causes error, and detect error another way 2004-02-24 14:05:39 +00:00
Miles Lott
bbbd26dc4b Add initial framework for alternate contact types (not enabled), cleanup formatting 2004-02-22 15:18:36 +00:00
Miles Lott
ac7a91b8fa Adjust banners and minor formatting 2004-02-22 14:32:55 +00:00
alpeb
fa49a29017 fix to avoid showing categories twice when viewing an addressbook item 2004-02-20 00:53:47 +00:00
Miles Lott
bab57d221a fix author credit 2004-02-15 18:21:35 +00:00
Miles Lott
7c71fb9a08 Ensure that the string form value of 'access' is known and not a guess of a boolean 2004-02-15 18:14:44 +00:00
Ralf Becker
64eb32d00e fixed lost mail/http links in index-page and added felamimail, fix for bug #865511 2004-02-08 23:05:18 +00:00
Lars Kneschke
0e71634b77 remove some debug output 2004-02-05 22:14:23 +00:00
Miles Lott
cf6e9a447a Fix for preferences bug #832083 (while to foreach conversion error) 2004-02-02 14:04:05 +00:00
mila76
186bb5c970 Fix for Select All image with empy addressbook
InternetExplorer not accept <img src="">
Add a transparent.png in phpgwapi /default image
2004-01-29 22:25:31 +00:00
Miles Lott
2f51d281f0 VERY simple fix to allow queries to persist into page view, etc. 2004-01-27 03:30:25 +00:00
reinerj
c514c413f3 small changes in the header 2004-01-25 22:02:59 +00:00
Miles Lott
abe0f76684 Remove echo of alphabet - oops! 2004-01-25 21:39:54 +00:00
Miles Lott
647e3d48f4 New file with extra fields for Mozilla (1.5x) 2004-01-17 04:38:11 +00:00
Miles Lott
0456d8491f New file with updated fields used in Mozilla (1.5x) 2004-01-17 04:31:29 +00:00
Miles Lott
884bd3e020 comment out unused category object 2004-01-17 04:03:37 +00:00
Miles Lott
1824a46f63 one less call to lang() 2004-01-17 03:57:14 +00:00
Miles Lott
e029c2151a Fix bad setting of var when no lang is set 2004-01-17 03:52:33 +00:00
Miles Lott
73f11d4481 Fix to allow nextmatchs to maintain cquery, also stretched the top bar to 95 like the rest of the page 2004-01-17 03:33:58 +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
685c2a49ba Add setting of fullname field on import (patch 876269) 2004-01-16 00:45:59 +00:00
Miles Lott
1166ecf247 Replace reset/while with foreach 2004-01-01 23:31:13 +00:00
Miles Lott
365338f35a Fix phpgwcontacttypeid field 2004-01-01 23:28:46 +00:00
Miles Lott
45c2ab1cba Add langs and cleanup html for export page 2004-01-01 23:17:19 +00:00
Miles Lott
e7a1d41f95 add export to sidebox menu 2004-01-01 23:09:49 +00:00
Miles Lott
60646ef432 ereg/intval update 2003-12-19 10:05:05 +00:00
Miles Lott
ec67908ccf ereg/intval update 2003-12-19 09:27:23 +00:00
Miles Lott
83fa2e42a9 replace ereg_ with str_ 2003-12-19 09:25:19 +00:00
Miles Lott
f3549ec4d8 Cleanup handling of vcard file import 2003-12-05 11:27:47 +00:00
Miles Lott
da6ba3797f Cover delete_block if empty 2003-12-03 04:31:16 +00:00
Miles Lott
6eb49e1666 Add ability to delete multiple entries, with a select all check image from the setup application 2003-12-03 04:28:20 +00:00
Miles Lott
99ea79d3b5 Add zip_close() and some inline docs 2003-12-03 01:18:50 +00:00
Miles Lott
9efb12491d Add handling of zip file collections of .csv, .vcf, or .ldif files; Cleanup template and add lang calls for import instructions. 2003-12-03 01:13:14 +00:00
Miles Lott
c77cc462e6 Cleanup format and use of HTTP_ vars, intval, etc. 2003-12-01 00:46:45 +00:00
Miles Lott
d1adc61355 Fix bad prefs link 2003-11-24 01:17:41 +00:00
Miles Lott
71a27f0ae7 Remove header redirection from bo class - one function left to do 2003-11-19 14:16:15 +00:00
Miles Lott
6c9d475688 Added another check for no import conversion type selected 2003-11-19 14:05:01 +00:00
Miles Lott
63dde626aa Added return if conversion type not set 2003-11-19 13:57:45 +00:00
Ralf Becker
99b5f239fd 1. index show icons for edit, view and (new) delete entries, owner is only showed in view or edit not longer in the index (same for vcard)
2. view is a bit compacter too as owner, access and cats are shown within the table and not as extra footer
2003-11-14 23:35:03 +00:00
Ralf Becker
a3b405b2f1 fixed copy to copy all fields and not only the stock ones 2003-11-14 22:12:59 +00:00
Ralf Becker
620eb15fc4 fixed wrong permission-check (was PHPGW_ACL_DELETE instead of _READ or _EDIT) 2003-11-14 21:15:02 +00:00
shrykedude
941e208118 Use correct translation key for contact import pref 2003-11-08 04:59:08 +00:00
Pim Snel
7fd6074853 Why doesn't the sidebox work? 2003-11-06 02:00:53 +00:00
Pim Snel
9f4e07016f moved e.g. 1969 to be parsed by lang() 2003-11-06 01:38:58 +00:00
Ralf Becker
08379d93b8 - useing the check_perms function from contacts
- ui only calls bo and not longer contacts direct
2003-10-25 10:16:12 +00:00
Ralf Becker
8c9c2f09d0 some more xmlrpc changes 2003-10-24 20:42:00 +00:00
Ralf Becker
3b69781d89 fixed not working acl in so&bo (ui acl is working, that why noone noticed it so far), moved acl-check and default-values for add from so to bo) 2003-10-24 19:05:05 +00:00
Miles Lott
a6247a6191 This is the fix for performing strtolower on fields such as givenName from Mozilla 2003-10-19 07:48:12 +00:00
Miles Lott
b31581a53c Fix Netscape import (ldif) to perform strtolower() on fieldname - Mozilla at least sends givenName 2003-10-19 07:47:08 +00:00
Miles Lott
454c0c12c2 Fix lang calls 2003-10-19 07:21:51 +00:00
Miles Lott
4a49600904 Fixes for globals and session data - which is mostly unused for now 2003-10-19 07:00:53 +00:00
Miles Lott
760bed3735 Fix import to convert quoted-printable cr/lf correctly 2003-10-19 06:55:53 +00:00
Miles Lott
de6be340f3 Use get_var() 2003-10-19 06:14:21 +00:00
Miles Lott
b56787e6cd using get_var() 2003-10-18 10:39:37 +00:00
Miles Lott
cc385c5ab4 Use global tpl object directly, also fixes double var $template setting error 2003-10-16 10:20:13 +00:00
Ralf Becker
5811a65bbf index: columns-to-display prefs are used again 2003-10-14 08:11:35 +00:00
Lars Kneschke
5240128a24 fix for last line of vcard not being a emtpy line 2003-10-12 08:19:43 +00:00
Lars Kneschke
a98fdbaa06 fixed VCard import 2003-10-12 08:14:35 +00:00
Ralf Becker
7cdfc3d188 register globals 2003-10-03 12:00:20 +00:00
Ralf Becker
55245b8c8b some fixes:
- removed message 'set your prefs first'
- setting some default prefs, if none are set
- fixed birthdayreminder
2003-10-03 10:04:01 +00:00
Lars Kneschke
7090b45728 fix from phpgroupware 2003-09-15 16:15:53 +00:00
Lars Kneschke
94cffa72e3 decode the url 2003-09-09 18:36:30 +00:00
Ralf Becker
f76c6eedd7 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:16:30 +00:00
Ralf Becker
79a4414e97 xss fix, running the content of the address-label-function through strip_html 2003-07-02 00:18:11 +00:00
Ralf Becker
468038a09e fixed default filter in prefs and custom field display 2003-07-01 20:24:00 +00:00
Ralf Becker
265ab3f48e changes for new hooks 2003-04-27 22:37:37 +00:00
gugux
6b17805c46 Changed all x's into %'s, suppressed useless phrases, added missing ones and french translations. 2003-04-27 21:13:00 +00:00
ceb
31f9734d02 update hook_admin 2003-04-23 01:15:00 +00:00
Ralf Becker
ff22985b3e fix for bug #3241 (Apostrophes in custom-fields)
removed a wrong quote
2003-04-18 08:06:35 +00:00
Ralf Becker
587b3e218f fix for not editable/deletable custom-fields with with certain special chars in there name, field-name was not url-encoded 2003-04-06 12:11:03 +00:00
Ralf Becker
2c06187479 fix for custom-fields values are always empty in edit 2003-04-06 12:09:35 +00:00
skwashd
b402ad3171 Fix for Bug #2200 2003-03-19 06:51:30 +00:00
Ralf Becker
864fad3bd7 changed formated_list to formatted_list 2003-03-01 15:44:58 +00:00
Ralf Becker
20edfad1a9 corrected birthday check: a birthday of 12/x/y was shown on a date like 2/x/y 2003-02-15 20:52:18 +00:00
ceb
f8afc79b4b update help 2002-12-23 00:57:08 +00:00
ceb
d6e0c87fd0 update help system 2002-12-16 00:52:48 +00:00
ceb
e8daf4ff25 update help 2002-12-01 03:28:30 +00:00
ceb
de9637797d update 2002-11-30 02:22:23 +00:00
ceb
6f6e06b39f removed var from hook_admin 2002-11-03 01:03:07 +00:00
Ralf Becker
dd1fa5af07 ubdate to new about-system (all infos are in setup.inc.php, no more hook_about) 2002-10-27 16:54:07 +00:00
ceb
f42db9d12d update hook_home 2002-10-26 00:26:51 +00:00
ceb
f89c10e742 update to use xslt 2002-10-03 23:16:08 +00:00
ceb
48c3c62549 update to use css files 2002-10-03 00:23:46 +00:00
seek3r
86032f02dd removed common->phpgw_exit() and fixed all references to it in the core apps and api 2002-09-28 20:01:44 +00:00
seek3r
8abf9fa1a5 Switched to using the register_exit_function() and added scrolling divs to a couple places for examples 2002-09-28 15:20:20 +00:00
skeeter
f33da8d656 GNU Patch #505. 2002-09-16 00:08:38 +00:00
Miles Lott
b0364b9491 Starting update to new template class - header redirects still an issue 2002-08-24 18:04:27 +00:00
Miles Lott
438467de6a Fix home.php hooks display 2002-08-19 12:42:06 +00:00
Miles Lott
e3f25223f3 syntax error 2002-08-19 12:23:43 +00:00
Miles Lott
1b59bc99dc lang fix from "Wolfgang" 2002-08-18 23:30:59 +00:00
skeeter
c0570b884a GNU Bug #507. 2002-06-23 18:52:50 +00:00
seek3r
0e2e0f5446 fixed design to allow for backwards compatibility 2002-05-31 18:13:07 +00:00
seek3r
cf2a12ba1c made changes to the loading of the header, navbar, appheader, and footers 2002-05-24 10:38:03 +00:00
Miles Lott
314fa566c6 Part one of two - implement filter by first char of last name, fullname, or company (for now) 2002-05-13 00:43:35 +00:00
Miles Lott
9567e30ea4 part of GNU patch#136, and more 2002-04-24 13:27:15 +00:00
Miles Lott
86ab1d83f2 point to correct function 2002-04-18 23:32:48 +00:00
Miles Lott
3eebfd63fd clear nonarray error 2002-04-15 03:04:10 +00:00
Miles Lott
97bf8d25a1 clear nonarray error 2002-04-13 03:49:39 +00:00
Miles Lott
c7f4184b69 Fix for addressbook custom fields 2002-04-13 03:34:23 +00:00
Miles Lott
33549dcf9e formatting 2002-03-19 02:58:50 +00:00
Miles Lott
31e6ac71a4 Hmm, that was an old one... 2002-03-19 02:58:13 +00:00
Miles Lott
f34041b922 Allow admin to enable remote search (off by default) 2002-03-19 02:44:15 +00:00
ceb
cef59ed231 update global apps cats to turn on or off showing of global systemwide cats 2002-03-19 02:35:38 +00:00
Miles Lott
f93684a40f Add the beginnings of remote ldap search capability (with add) 2002-03-14 14:06:04 +00:00
ceb
95fb7bec46 update cats 2002-03-13 21:50:25 +00:00
Miles Lott
18c9bede9c Now using get_var() from api 2002-02-28 04:23:16 +00:00
Miles Lott
27f892db9d GNU Patch #135 - Don't export if conv_type=none 2002-02-14 02:39:51 +00:00
Miles Lott
1a72f55079 Fix the other email link 2002-01-17 04:02:20 +00:00
Miles Lott
2421cc1afa Fix email link; Formatting; 2002-01-17 03:52:56 +00:00
p_pessagno
f1bc701073 now it really works ok 2002-01-15 16:38:49 +00:00
p_pessagno
16819ce6da lang tpl fixes 2002-01-15 16:12:10 +00:00
p_pessagno
430be3a026 Import template lang fixes 2002-01-15 16:04:45 +00:00
p_pessagno
a611eb4e7f Export template lang fixes 2002-01-15 15:26:47 +00:00
ceb
2c3f92a9f1 update hook_prefs 2002-01-12 04:17:42 +00:00
Miles Lott
766daf764e Fix one lang call, add 'no vcard' 2002-01-04 00:25:16 +00:00
seek3r
32306abaf6 some additional performance improvements, including a switch to the hooks class which I finished up 2002-01-02 14:33:05 +00:00
Miles Lott
c7f698f835 Add some langs 2002-01-01 19:03:26 +00:00
Miles Lott
ae3349058c Formatting, some globals work 2001-12-30 11:59:32 +00:00
Miles Lott
820b5adbe5 Fix call to get_list (now index), some globals work 2001-12-30 11:57:02 +00:00
Miles Lott
bfeeced206 Fix for get_form() when testing serialization; rename get_list() to index(); ldap
fix for empty cat_id
2001-12-28 04:29:31 +00:00
Miles Lott
eeda908447 using new field editor 2001-12-28 04:09:14 +00:00
Miles Lott
e524a44dad different field editor 2001-12-28 04:08:35 +00:00
Miles Lott
e85f926de8 Using new uiaclprefs class 2001-12-28 01:46:41 +00:00
Miles Lott
267ca57168 new version of custom field editor in ui form 2001-12-24 17:35:58 +00:00
Miles Lott
7d78039d6b Use the new uiconfig class 2001-12-24 00:04:02 +00:00
Miles Lott
fcf1e0a7ec Fix checking of entry var and posted start/order/sort, etc. 2001-12-23 17:28:14 +00:00
Miles Lott
d98af24492 Add new validation hook file for config.php in admin 2001-12-23 15:29:52 +00:00
Miles Lott
6d38b68c26 Make add email link correct; tweak values to make some ldap schema not object 2001-12-11 01:44:13 +00:00
Miles Lott
b4e366ddc0 formatting and globals, what else? 2001-12-04 01:26:53 +00:00
Miles Lott
eb0592bb14 GLOBALS - an exercise in practice what you preach 2001-12-04 01:17:10 +00:00
Miles Lott
dfcb5595f4 Doing some cleanup 2001-12-04 01:13:34 +00:00
Miles Lott
90424460e8 Formatting 2001-12-04 01:12:39 +00:00
Miles Lott
1ebc3e04ba Should fix this for GLOBALS 2001-11-28 03:42:56 +00:00
bettina
b67e4d9102 GLOBALS 2001-11-24 19:30:11 +00:00
Miles Lott
081f770702 globals 2001-11-23 21:10:04 +00:00
Miles Lott
a1ccab2cc0 NOTE SCHEMA CHANGE - openldap2 - Allow multiple cat_ids (,19,28) for ldap also 2001-11-23 02:10:21 +00:00
Miles Lott
01363822fa Fix links to addressbook view 2001-10-24 18:45:01 +00:00
Miles Lott
86e8f527d7 modify exposed function names for xmlrpc to match service class 2001-10-22 21:18:57 +00:00
skeeter
a446455ca4 Small fixes for the addressbook preferences. It wasn't saving users choice of mainscreen_showbirthdays. 2001-10-21 10:51:32 +00:00
skeeter
dab358dfa5 Should be only fixes to make the portal box movement possible (up/down). 2001-10-21 10:49:29 +00:00
Ralf Becker
82c462bb2a fix for delete: as in confirmation 'Yes' is a plain link, need to check HTTP_GET_VARS for ab_id and confirm too 2001-10-08 16:04:23 +00:00
Ralf Becker
95d05b0960 fix for edit: url does now get saved 2001-10-08 15:43:57 +00:00
Ralf Becker
4aab4331b7 patch that addressbook not looses the cat in nextmatch 2001-09-28 21:27:41 +00:00
Miles Lott
e78caa8232 Fix image 2001-09-25 22:57:21 +00:00
Miles Lott
7fc7a192c5 Possible fix for bug #461589 2001-09-24 16:43:55 +00:00
Miles Lott
70ecf36bfe GLOBALS and formatting work 2001-09-20 03:55:57 +00:00
Lars Kneschke
1f88e43cda spelling errors 2001-09-20 02:51:56 +00:00
Lars Kneschke
9827726352 fixed a typo
change the way the referer get modified, when adding addresses from email client

Miles need to review it
2001-09-20 02:43:39 +00:00
Miles Lott
4c4fcee9cc Adjust for modified cats class in view() 2001-09-18 16:42:18 +00:00
Miles Lott
9355b2486c Fix cat_id setting - again 2001-09-17 02:35:01 +00:00
Miles Lott
01ef0bdc8b Enhance detection of sqsof vars 2001-09-15 12:59:48 +00:00
Miles Lott
50a6073b51 Fix preferences to work with register_globals off 2001-09-15 12:54:43 +00:00
Miles Lott
e078b138b0 working again i think 2001-09-12 16:57:05 +00:00
Miles Lott
f3be3189e4 Some fixes to ensure we don't put accting fields into the extra table 2001-09-09 22:55:43 +00:00
Miles Lott
9017a5def0 maybe this will appear again 2001-09-06 19:37:51 +00:00
Miles Lott
e247562fc7 oops! deleted $start global here somehow 2001-09-04 05:28:24 +00:00
Miles Lott
4234adb5df Fix for edit that was saving owner also as an extra field, making the record
not viewable anymore; more use of GLOBALS
2001-09-03 12:00:38 +00:00
Miles Lott
5ec4407928 Fix for incorrect lang 2001-09-03 10:53:19 +00:00
Miles Lott
d0c4053077 Using GLOBALS 2001-09-02 14:54:03 +00:00
Miles Lott
8f37b3ce5d Some formatting and additional GLOBALS work 2001-08-27 09:52:35 +00:00
Miles Lott
5d2d1be866 Some more tweaking for GLOBALS, also added introspection for list_methods() 2001-08-27 09:51:32 +00:00
Miles Lott
c81c7c5428 Fix setting of filter for nextmatchs 2001-08-24 23:35:27 +00:00
Miles Lott
a18da3100c Adjustments to pass array values (one more to go) 2001-08-23 06:57:37 +00:00
Miles Lott
b4eacadef8 Cleanup use of acl, one less db call, etc. 2001-08-23 04:29:20 +00:00
Miles Lott
ca0ed1f136 Add in function io map function, listmethods() and rework so class to create
the contacts object in the constructor
2001-08-20 16:30:02 +00:00
Miles Lott
7c3002349a Quick hack to fix owner setting on new entry 2001-08-10 16:51:45 +00:00
Miles Lott
66013bfe3c Make contacts->add() return the id, since it finds it anyway 2001-08-09 00:32:59 +00:00
Miles Lott
09a1130896 Working to changeover to use of arrays for all bo functions, fix some other
broken calls that were in limbo
2001-08-09 00:19:28 +00:00
Miles Lott
27e328feeb Adjusted for new nextmatchs layout 2001-08-05 13:21:35 +00:00
Miles Lott
de68820130 Hopefully a fix for acl issues, and the strip_html loop 2001-08-04 14:12:32 +00:00
Miles Lott
127c5b7636 check tid to make sure it is not '' or ' ' 2001-07-18 20:30:53 +00:00
Miles Lott
5c431fd271 Fix passing of cat_id 2001-07-13 17:57:10 +00:00
Miles Lott
e66982968d Rename to emphasize this is not for single vcards 2001-07-13 17:51:50 +00:00
Miles Lott
ccd52fc7a8 Fix for no prefs column display 2001-07-13 15:05:50 +00:00
Miles Lott
3daaf14c25 Moved preferences to ui/bo 2001-07-13 09:03:31 +00:00
Miles Lott
5ec7e29c20 What? you want to delete an entry?! (thanks, DB) 2001-07-12 04:09:12 +00:00
Miles Lott
5e6c6bae46 Trying to fix cat_id setting if cat = 0 or '' 2001-07-12 02:42:26 +00:00
Miles Lott
5d4eb501d5 Fix (?) for cat_id... i just don't know anymore 2001-07-12 01:36:51 +00:00
Miles Lott
fabda30701 small tweak to sort querystring 2001-07-12 01:13:07 +00:00
Miles Lott
bba5990cda Fix for php4 for fix for php3... 2001-07-12 01:01:11 +00:00
Miles Lott
2ae98b0577 Some export and prefs fixes 2001-07-11 11:20:35 +00:00
Miles Lott
9b94656ff3 Fixes for import 2001-07-10 20:47:26 +00:00
Miles Lott
07f5bb292c php3 did not like entry[cat_id][] in the form, so this is now fcat_id[] 2001-07-10 20:20:45 +00:00
Miles Lott
ea3e4e4d30 php3 fixes 2001-07-10 19:52:30 +00:00
Miles Lott
6b990a110e Fix export, remove incomplete Italian import file 2001-07-09 23:20:46 +00:00
Miles Lott
86e928a092 Replace Outlook export with lang-spefic files 2001-07-09 23:20:11 +00:00
Miles Lott
3ee4ab412a Replace refs with copies to avoid php3 problems, i hope 2001-07-09 18:06:03 +00:00
Miles Lott
5df37c28ff Switch to using /index.php 2001-07-09 17:35:27 +00:00
Miles Lott
01e19687ef Enable view hook 2001-07-08 22:07:12 +00:00
Miles Lott
9e60b3b784 ceb says this should not be feminine, so... ;) 2001-07-08 14:52:36 +00:00
Miles Lott
5faec95d69 trying to fix reset of start... again 2001-07-08 14:31:59 +00:00
Miles Lott
d1e13ba917 Fix nofname/nolname 2001-07-08 14:12:05 +00:00
Miles Lott
a9b7ad66d8 Moving these, also adding seperate lang versions of cvs import 2001-07-08 13:57:04 +00:00
Miles Lott
ace91371c8 Starting to commit mostly working redesign using 3layer 2001-07-08 13:54:40 +00:00
Miles Lott
376f78c22e old file... 2001-07-05 23:31:23 +00:00
Miles Lott
82ca350f9f moved to api 2001-07-05 07:41:37 +00:00
Miles Lott
a6be13d37a This should complete the remerge of contacts class to api 2001-07-05 07:41:08 +00:00
Miles Lott
6e05eaab28 Renamed 2001-07-05 05:12:30 +00:00
Miles Lott
0d4b201c68 Cleaned up import in vcard class to handle files directly using in_file() 2001-07-03 09:02:16 +00:00
Miles Lott
340bf3f249 Cleanup, add one TODO about use of array_shift() 2001-07-03 08:10:21 +00:00
Miles Lott
09832b0496 Now using limit_query, show_hits (.13 only); Change refs to $this to $contacts;
Cut down on duplicated strings for $sql
2001-07-03 07:17:13 +00:00
Miles Lott
cdd707d2ea I think these are actually working now, except for weather 2001-06-29 01:17:32 +00:00
Miles Lott
62b49ea460 Formatting 2001-06-29 00:30:06 +00:00
Miles Lott
199eed4e71 Possible php3 fix, need to verify on 4 again 2001-06-28 09:51:57 +00:00
Miles Lott
26c28ed4a4 Fix for php3 2001-06-28 09:11:40 +00:00
Miles Lott
b9620485f9 Update to new constants 2001-06-27 05:17:03 +00:00
Miles Lott
eb459be3b5 Display changes to use theme colors... 2001-06-24 06:42:31 +00:00
Miles Lott
99ddadcacc Add preference for default filter - response to patch #429178 2001-06-24 01:30:37 +00:00
bettina
6bd62f7ae5 update formatted_address() to use lang for the countryname 2001-06-23 00:02:07 +00:00
Miles Lott
93e8af054a Add @ to silence extra_fields on update if none 2001-06-22 19:57:23 +00:00
bettina
667eb328ee update addresses 2001-06-22 07:37:59 +00:00
bettina
11d0e8247d update addresses 2001-06-22 05:55:15 +00:00
bettina
c51d053f5f update addresses 2001-06-22 05:29:43 +00:00
Miles Lott
9bf2e8a0ad Final(?) change to country selection, since this is now a combined admin and
preferences option
2001-06-22 01:34:06 +00:00
Miles Lott
12d0ce51e9 Fix for country select 2001-06-21 23:40:09 +00:00
Miles Lott
e71dc5f440 Add an @ to be quiet... 2001-06-16 17:09:32 +00:00
Miles Lott
4d938c1a0b Fix for new hook method 2001-06-11 19:35:11 +00:00
Miles Lott
145959da71 Moving to templated style for admin/config settings 2001-06-10 12:52:50 +00:00
Miles Lott
e6d04696b0 Remove second link 2001-06-10 11:32:35 +00:00
Miles Lott
3baa2c3504 Add new config.inc for admin hook 2001-06-10 11:30:05 +00:00
Miles Lott
1ae38c8f7b Add new notify hook, roughly a copy of hook_home 2001-06-07 10:54:59 +00:00
seek3r
4b1390eb0f had to make several changes and cleanups for php3 compatibility 2001-05-31 10:11:18 +00:00
Ralf Becker
95b42ecd6b added ' around cat_id, else you get invalid sql on new install with default cat set to 'all' or any other not numeric values 2001-05-30 21:51:20 +00:00
Miles Lott
2d615d84b9 Enable ldap to search multiple cats, I hope 2001-05-26 12:37:24 +00:00
Miles Lott
3038c414e4 Set DEBUG back to 0 2001-05-26 11:25:38 +00:00
Miles Lott
33337decd9 Remove CONCAT from last patch, use alternate method for multiple cat_id 2001-05-26 11:20:03 +00:00
skeeter
775e90b953 This is a better design for admin/preference hooks. Can now be globally modified from each of the appropriate index files. 2001-05-24 01:13:09 +00:00
Miles Lott
055aa6273b Add some inline doc 2001-05-23 20:57:10 +00:00
Miles Lott
956c6d97b0 Update to use new schema 2001-05-23 20:50:35 +00:00
Miles Lott
93db684a70 Last of recent changes from Ralf Becker 2001-05-23 20:49:52 +00:00
Miles Lott
fafc7d39c9 Update from Ralf for multiple cat select (?) 2001-05-23 20:16:19 +00:00
Miles Lott
15a83640fa Add admin function to set config value for country list 2001-05-21 22:52:56 +00:00
Miles Lott
ced6e5cc0e Undo last change 2001-05-21 22:31:31 +00:00
slypup
7b6c0acbd9 fixes so that hr works properly 2001-05-21 20:32:17 +00:00
skeeter
8bc4d7f5da Fix for the birthday check. 2001-05-19 05:00:18 +00:00
Miles Lott
f3bb7b7c4e Add in code from Tombstone <pablo@averbuj.com> to use ldap_del in update 2001-05-17 03:50:34 +00:00
Miles Lott
7401f57ed9 Modify contact owner field 2001-05-14 12:22:05 +00:00
Miles Lott
bb017a4c40 And one more debug turned off 2001-05-14 02:00:35 +00:00
Miles Lott
779c578b49 Disable some debugging output 2001-05-14 02:00:04 +00:00
Miles Lott
7902ce2969 phpgwtypeid was not being checked correctly 2001-05-14 01:57:43 +00:00
Miles Lott
6a26375a68 Make ldap strings lowercase in the contacts array 2001-05-14 01:55:26 +00:00
Miles Lott
7aa4a48ebe This is work in progress using schema in api/doc/ldap 2001-05-14 01:50:45 +00:00
skeeter
7185c8fdb1 More controlled manual app. Controller can be more easily modified bya single source. 2001-05-14 00:18:12 +00:00
bettina
15011c6adc update hook_preferences to enable global cats plus levels 2001-05-12 01:28:55 +00:00
angles
b63d389f34 templatization of preferences 2001-05-11 17:19:20 +00:00
Miles Lott
323d44f8e9 Now using PHPGW_APP_TPL 2001-05-11 14:01:06 +00:00
skeeter
34a91dbb46 New New manual - multi-language capabilities. 2001-05-11 02:34:43 +00:00
Miles Lott
8764e4aec8 Some formatting 2001-05-10 18:09:15 +00:00