Commit Graph

997 Commits

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