Commit Graph

615 Commits

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