Commit Graph

51 Commits

Author SHA1 Message Date
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
1113f2ec1c "spelling" 2008-04-22 06:09:02 +00:00
Ralf Becker
5825fb3b9a "fixed typo causing cf's not to be displayed" 2008-04-02 08:24:27 +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
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
f57f6a805b "using global db object" 2008-03-13 20:18:52 +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
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
3bbc80948f "removed unused code reported by Oliver Welter on the user list" 2007-11-24 16:13:57 +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
4ca46d10d0 fix for bug #639: Distribution lists with user accounts in LDAP 2007-05-01 09:17:23 +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
346f5e6be1 pref to hide accounts from the addressbook for non-admins 2007-04-15 13:06:21 +00:00
Ralf Becker
62bd5fa81f distribution lists for the sql addressbook 2007-03-13 13:38:15 +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
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
ba311860b0 - fixed not always exported custom fields
- removed old ex_search method
2006-10-31 07:50:51 +00:00
Ralf Becker
2bbcb5c7e8 remove error_log message 2006-10-19 08:51:11 +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
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
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
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
4685b9e003 search was missing the email address 2006-06-24 05:57:13 +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
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
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
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
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
90f778b5dd moved the logic what fields to search from the uicontacts in the socontacts 2006-04-26 12:23:10 +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
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
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
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
Cornelius Weiß
488df1c485 fix: address2, address3 and ophone where not saved :-( 2006-02-16 11:50:16 +00:00
Cornelius Weiß
6cb1919319 fixed: not working customfield search, reported by josef 2005-12-30 12:47:24 +00:00
Cornelius Weiß
4ca328c05d fix: add contacts from mail 2005-12-01 17:21:38 +00:00
Cornelius Weiß
fb48a4896d killed warnigs on lagre resultsets 2005-11-14 16:44:23 +00:00
Ralf Becker
8e25d2e29c phpgw_addressbook(_extra) --> egw_addressbook(_extra) 2005-11-13 12:05:35 +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ß
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