Commit Graph

734 Commits

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