Commit Graph

700 Commits

Author SHA1 Message Date
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