Revisions for turba/data.php

Location: [ Horde ] / turba / data.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.70.4.20 FRAMEWORK_3 (+76 -3 lines) 08/11/2008 08:50 AM Jan Schneider jan

MFH: 1.107

Tags: TURBA_2_3, TURBA_2_3_RC1

1.107 (+76 -3 lines) 08/11/2008 06:55 AM Jan Schneider jan

Support more import mappings.
Use Outlook 2003 field names for export.
Request: 6901

1.70.4.19 FRAMEWORK_3 (+4 -3 lines) 07/05/2008 11:33 PM Chuck Hagenbuch chuck

MFH 1.106

1.106 (+4 -3 lines) 07/05/2008 11:31 PM Chuck Hagenbuch chuck

check the return value of validateMailbox
Bug: 6897

1.70.4.18 FRAMEWORK_3 (+25 -8 lines) 07/02/2008 02:37 AM Chuck Hagenbuch chuck

MFH:
1.105     +25 -8     turba/data.php
1.431     +2 -0      turba/docs/CHANGES

1.105 (+25 -8 lines) 07/02/2008 02:36 AM Chuck Hagenbuch chuck

[cjh] Allow importing multiple address into an email field if allow_multi
is set to true on the field in attributes.php (Bug #6897).

1.70.4.17 FRAMEWORK_3 (+1 -10 lines) 06/13/2008 04:40 AM Jan Schneider jan

MFH: 1.104

Tags: TURBA_2_2_1

1.104 (+1 -10 lines) 06/13/2008 04:37 AM Jan Schneider jan

Only pre-map attributes that really have different default names in Turba.
Bug: 6901

1.70.4.16 FRAMEWORK_3 (+2 -2 lines) 06/10/2008 04:21 PM Michael Rubinsky mrubinsk

MFH 1.103

1.103 (+2 -2 lines) 06/10/2008 04:16 PM Michael Rubinsky mrubinsk

Avoid warnings by assiging this after the loop.

Bug: 6885
Submitted by:Thomas Jarosch <thomas (dot) jarosch (at) intra2net (dot) com>

1.70.4.15 FRAMEWORK_3 (+33 -1 lines) 05/23/2008 02:58 PM Michael Rubinsky mrubinsk

MFH: 1.102

Tags: TURBA_2_2

1.102 (+33 -1 lines) 05/23/2008 02:55 PM Michael Rubinsky mrubinsk

Make sure we only attempt to add the bare email address to be consistent
with what the UI allows us to enter in any email fields.

Bug: 6725

1.70.4.14 FRAMEWORK_3 (+28 -29 lines) 04/27/2008 12:28 AM Chuck Hagenbuch chuck

MFH:
1.101     +28 -29    turba/data.php
1.411     +1 -0      turba/docs/CHANGES

Tags: TURBA_2_2_RC4

1.101 (+28 -29 lines) 04/27/2008 12:27 AM Chuck Hagenbuch chuck

[cjh] Include composite fields in data exports (Bug #6517).

1.70.4.13 FRAMEWORK_3 (+2 -2 lines) 01/02/2008 06:32 AM Jan Schneider jan

Happy New Year

Tags: TURBA_2_2_RC3, TURBA_2_2_RC2

1.100 (+2 -2 lines) 01/02/2008 06:14 AM Jan Schneider jan

Happy New Year

1.70.4.12 FRAMEWORK_3 (+29 -22 lines) 12/20/2007 09:34 AM Jan Schneider jan

Merge from HEAD.

1.99 (+2 -5 lines) 06/18/2007 12:50 AM Chuck Hagenbuch chuck

[cjh] Shared Address Books are now stored in a flat namespace so that they
do not rely on the hierarchical (i.e. DataTree) properties of the
Horde_Share API (Bug #4960).

To upgrade:
Run scripts/upgrades/2007-06-17_delete_old_vbooks.php and
scripts/upgrades/2007-06-17_flatten_shares.php, in that order.

Tags: BEFORE_MERGE_3_2, TURBA_2_2_RC1, TURBA_2_2_ALPHA

1.98 (+3 -8 lines) 06/17/2007 02:21 PM Chuck Hagenbuch chuck

- remove unnecessary $haveShare global variable
- add  Driver::getContactOwner() to encapsulate share logic
- remove custom share code
- treat virtual address books like other shares
- push vbook code into vbook driver
- make sure new address books are added to the visible address books pref

I still need to flatten out shares, but this does flatten vbooks at
least. It was turning into too large a commit, so here's this chunk.

1.97 (+2 -2 lines) 06/16/2007 10:48 PM Chuck Hagenbuch chuck

Need to use getShortName instead of getName in a bunch of places
Let Turba_Driver::add() set __owner appropriately

1.96 (+2 -2 lines) 06/16/2007 12:16 AM Chuck Hagenbuch chuck

Next part of share code migration - remove 'uid' share parameter (this
was duplicative of the native share getName() method.
Bug: 4960

1.95 (+13 -3 lines) 03/17/2007 11:12 PM Chuck Hagenbuch chuck

[cjh] Add LDIF import/export support (Request #2506, ritaselsky@gmail.com).

1.70.4.11 FRAMEWORK_3 (+2 -2 lines) 01/02/2007 08:55 AM Jan Schneider jan

Happy New Year

Tags: TURBA_2_1_7, TURBA_2_1_6, TURBA_2_1_5, TURBA_2_1_4

1.94 (+2 -2 lines) 01/02/2007 07:49 AM Jan Schneider jan

Happy New Year

1.93 (+4 -2 lines) 01/01/2007 07:41 PM Jan Schneider jan

Assign copyright to The Horde Project for those copyright holders that already agreed to it.

1.92 (+2 -2 lines) 12/31/2006 11:11 PM Matt Selsky selsky

MFB: 1.70.4.10

1.70.4.10 FRAMEWORK_3 (+2 -2 lines) 12/31/2006 11:09 PM Matt Selsky selsky

Punctuation.

1.91 (+2 -8 lines) 11/29/2006 07:16 PM Michael Rubinsky mrubinsk

The driver object already knows if it's a shared source or not, so no need to check for the `:`, split out the source, uid etc...
I think this is slightly cleaner implementation.  Comments welcome.

1.70.4.9 FRAMEWORK_3 (+8 -2 lines) 11/29/2006 05:41 PM Michael Rubinsky mrubinsk

MFH: 1.90
Bug: 4712

1.90 (+8 -2 lines) 11/29/2006 05:32 PM Michael Rubinsky mrubinsk

Make sure we delete the correct address book when replacing an existing address book on import.
Bug: 4712

1.70.4.8 FRAMEWORK_3 (+4 -1 lines) 08/22/2006 11:44 AM Jan Schneider jan

MFH: 1.89

Tags: TURBA_2_1_3

1.89 (+4 -1 lines) 08/22/2006 11:39 AM Jan Schneider jan

Show error message if no contacts imported.

Bug: 4260

1.70.4.7 FRAMEWORK_3 (+12 -1 lines) 08/08/2006 04:30 PM Jan Schneider jan

MFH: Add categories when importing data.

1.88 (+12 -1 lines) 08/08/2006 04:15 PM Jan Schneider jan

Add categories when importing data.

1.87 (+2 -2 lines) 06/23/2006 04:11 PM Jan Schneider jan

MFB: 1.70.4.6

1.70.4.6 FRAMEWORK_3 (+2 -2 lines) 06/23/2006 04:08 PM Jan Schneider jan

Reference

Tags: TURBA_2_1_2

1.70.4.5 FRAMEWORK_3 (+2 -2 lines) 01/01/2006 04:29 PM Jan Schneider jan

Happy new year

Tags: TURBA_2_1_1, TURBA_2_1, TURBA_2_1_RC2, TURBA_2_1_RC1

1.86 (+2 -2 lines) 01/01/2006 04:12 PM Jan Schneider jan

Happy new year\!

1.85 (+10 -1 lines) 12/27/2005 01:01 PM Chuck Hagenbuch chuck

Put in checks to abort if all sources have been disabled.

1.70.4.2.2.1 FRAMEWORK_3_0 (+5 -5 lines) 12/10/2005 05:08 PM Chuck Hagenbuch chuck

Merge XSS fixes to FRAMEWORK_3_0 branch.

Tags: TURBA_2_0_5

1.70.4.4 FRAMEWORK_3 (+5 -5 lines) 12/04/2005 09:10 PM Chuck Hagenbuch chuck

MFH: Close several XSS vulnerabilities with address book and contact data.

1.84 (+5 -5 lines) 12/04/2005 09:07 PM Chuck Hagenbuch chuck

Close several XSS vulnerabilities with address book and contact data.

1.70.4.3 FRAMEWORK_3 (+136 -41 lines) 10/18/2005 08:50 AM Jan Schneider jan

Merged from HEAD.

1.83 (+4 -1 lines) 09/17/2005 11:09 AM Michael Rubinsky mrubinsk

Fix broken browse actions for shared addressbooks.
Bug:2613
Submitted by:tevans (at) tachometry (dot) com

Tags: BEFORE_MERGE_3_1

1.82 (+7 -2 lines) 09/10/2005 01:09 AM Michael Rubinsky mrubinsk

When importing data to a shared address book, the owner attribute is set using the user name of the current user. This forces all imported records into the user's default address book.
This patch checks the driver instance for the existence of a share and then sets the owner attribute accordingly.

Bug: 2577
Submitted by: tevans (at) tachometry (dot) com

1.81 (+24 -1 lines) 07/23/2005 10:21 PM Chuck Hagenbuch chuck

Searching for empty attributes can throw off the duplicate checking.

1.80 (+2 -3 lines) 06/05/2005 11:31 PM Chuck Hagenbuch chuck

Use the first addressbook in the user-chosen order for searching
defaults (matches the dropdown), but use default_dir for write
operations.
Bug: 1650

1.79 (+17 -6 lines) 05/24/2005 05:27 PM Chuck Hagenbuch chuck

[cjh] Avoid adding exact duplicates during import
(kevin_myer@iu13.org, Bug #1892).

1.78 (+5 -5 lines) 05/24/2005 04:04 PM Chuck Hagenbuch chuck

Let Turba_Driver::singleton() worry about loading the source config,
so we can avoid passing it in everywhere.

1.77 (+8 -11 lines) 05/24/2005 03:15 PM Chuck Hagenbuch chuck

[cjh] Users can select which address books they wish to use, and in
which order they will be displayed (Bug #1650).

1.76 (+23 -2 lines) 05/06/2005 12:27 PM Jan Schneider jan

Add permissions to restrict number of contacts per address book.

1.75 (+34 -20 lines) 04/29/2005 08:38 PM Chuck Hagenbuch chuck

[cjh] Add exporting of multiple vCards in one file through the export
interface (Frank Rosquin <frank.rosquin@gmail.com>).

1.70.4.2 FRAMEWORK_3 (+2 -2 lines) 03/05/2005 06:15 PM Chuck Hagenbuch chuck

MFH: we consistently put this kind of license into LICENSE, not COPYING.

Tags: FRAMEWORK_3_0, TURBA_2_0_4, TURBA_2_0_3, TURBA_2_0_3_RC1

1.74 (+2 -2 lines) 03/05/2005 06:15 PM Chuck Hagenbuch chuck

This style of license lives in LICENSE, not COPYING.

1.73 (+13 -2 lines) 02/08/2005 08:04 AM Jan Schneider jan

Show warnings from CSV imports.

1.72 (+12 -1 lines) 01/24/2005 01:01 PM Jan Schneider jan

Allow to specify charset of imported CSV files.

1.71 (+2 -2 lines) 01/03/2005 09:35 AM Jan Schneider jan

Happy New Year

1.70.4.1 FRAMEWORK_3 (+2 -2 lines) 01/03/2005 07:25 AM Jan Schneider jan

Happy New Year

Tags: TURBA_2_0_2, TURBA_2_0_1, TURBA_2_0_1_RC1

1.12.2.21 RELENG_1 (+2 -2 lines) 01/03/2005 06:26 AM Jan Schneider jan

Happy New Year! :-)

Tags: TURBA_1_2_5, TURBA_1_2_4, TURBA_1_2_3

1.70 (+2 -2 lines) 11/25/2004 11:49 PM Chuck Hagenbuch chuck

Change to Turba::getMenu(), fixes the menu on the Options screen.

Bug: 898

Tags: FRAMEWORK_3, TURBA_2_0, TURBA_2_0_RC3

1.69 (+17 -2 lines) 10/26/2004 04:23 PM Jan Schneider jan

Make sure that contacts from different sources have all the same columns.

Tags: TURBA_2_0_RC2, TURBA_2_0_RC1, TURBA_2_0_BETA

1.68 (+66 -38 lines) 10/26/2004 03:52 PM Jan Schneider jan

Allow to export only a selected set of contacts.

1.67 (+9 -6 lines) 10/25/2004 11:59 AM Jan Schneider jan

Fix importing of monthdayyear fields. date fiels are still broken because
they contain timestamps as opposed to *all* other applications. *sigh*

1.66 (+6 -6 lines) 10/18/2004 08:46 PM Chuck Hagenbuch chuck

Registry::getParam() -> Registry::get().

1.65 (+14 -14 lines) 09/17/2004 05:19 PM Chuck Hagenbuch chuck

Merge Source.php into Driver.php and just use the Turba_Driver class
to handle everything.

1.64 (+7 -7 lines) 09/01/2004 02:38 PM Chuck Hagenbuch chuck

Fix import/export source selection.
Bug: 526

1.63 (+2 -2 lines) 08/17/2004 11:23 PM Chuck Hagenbuch chuck

kill trailing whitespace, fix style, etc.

1.62 (+5 -1 lines) 08/13/2004 03:15 PM Karsten Fourmont karsten

We now use the iCalendar package for parsing/exporting
of iCalendar and vCard data.

1.61 (+29 -2 lines) 08/07/2004 11:38 AM Chuck Hagenbuch chuck

Add an outlook-specific CSV type that maps field names for Turba to
what outlook expects for contacts.

Submitted by: Francois Marier <francois@nit.ca>

1.60 (+11 -1 lines) 07/29/2004 08:55 PM Chuck Hagenbuch chuck

Allow replacing your addressbook with an imported one.

Submitted by: Francois Marier <francois@nit.ca>

1.59 (+6 -2 lines) 07/28/2004 06:56 PM Chuck Hagenbuch chuck

Don't show source selection dropdowns in cases where there would only
be one choice.

Submitted by: Francois Marier <francois@nit.ca>

1.12.2.20 RELENG_1 (+3 -3 lines) 06/30/2004 11:41 PM Chuck Hagenbuch chuck

MFH: Update the license bits that have been out of date for years -
point to the Horde ASL-style license as defined in COPYING.

Tags: TURBA_1_2_3_RC1

1.58 (+3 -3 lines) 06/30/2004 11:41 PM Chuck Hagenbuch chuck

Update the license bits that have been out of date for years - point
to the Horde ASL-style license as defined in COPYING.

1.57 (+1 -2 lines) 06/08/2004 05:09 PM Chuck Hagenbuch chuck

Just include attributes.php in base.php instead of multiple places.

1.56 (+2 -2 lines) 04/07/2004 10:43 AM Chuck Hagenbuch chuck

No more HORDE_LIBS.

1.12.2.19 RELENG_1 (+1 -1 lines) 03/26/2004 05:43 PM Jan Schneider jan

Lots and lots of copyright and license updates and fixes. Someone will have to that for the HEAD branches too.

1.55 (+2 -2 lines) 01/17/2004 05:57 PM Jan Schneider jan

All footers look the same, so why not use only one.

Tags: TURBA_2_0_ALPHA

1.54 (+2 -2 lines) 01/01/2004 11:17 AM Jan Schneider jan

Happy new year everyone.

1.53 (+2 -2 lines) 12/13/2003 12:38 PM Michael M Slusarz slusarz

Move Horde_Data to framework.

1.52 (+2 -5 lines) 09/26/2003 01:03 PM Chuck Hagenbuch chuck

Kill a lot more unnecessary Horde::getThemeConfig() calls and shorten
mouseover javascript.

1.51 (+7 -7 lines) 09/16/2003 07:08 PM Jan Schneider jan

Use the new Util:: class.

1.50 (+3 -2 lines) 09/03/2003 03:36 PM Jan Schneider jan

Data should be exported in the charset it is stored in.

1.49 (+21 -29 lines) 09/03/2003 12:32 PM Chuck Hagenbuch chuck

Clean up, use getFields(), make sure to call getValue() when exporting so that
we obey hooks, etc,

Things work fine for me, but I now have to manually pair fields that used to be matched
automatically before. Array keys are being expected when values are passed, somewhere,
but I have *no* idea where this is happening. Jan, if you could take a look, I'd appreciate it.

1.48 (+1 -2 lines) 08/29/2003 02:06 PM Chuck Hagenbuch chuck

[cjh] Add the ability to move or copy contacts to a separate
addressbook.

1.12.2.18 RELENG_1 (+2 -1 lines) 08/28/2003 08:39 PM Jan Schneider jan

Fix importing of vCard 2.1 data that contains commas

Tags: TURBA_1_2_2, TURBA_1_2_2_RC1, TURBA_1_2_1

1.47 (+15 -15 lines) 06/17/2003 07:28 PM Michael M Slusarz slusarz

Remove "actionID type" defines() from Horde::.

1.46 (+1 -3 lines) 06/17/2003 06:27 PM Michael M Slusarz slusarz

Switched actionID from number -> string.

1.45 (+2 -3 lines) 05/22/2003 03:42 PM Chuck Hagenbuch chuck

- nuke menu.php

- fix multiple calls to $notification->notify() after output has
already started.

1.44 (+5 -5 lines) 03/26/2003 06:05 PM Jan Schneider jan

Rename Data to Horde_Data

1.12.2.17 RELENG_1 (+4 -6 lines) 02/23/2003 10:51 AM Chuck Hagenbuch chuck

Two minor vcard import fixes.

Submitted by: Alexander Nimmervoll <nimm@technikum-wien.at>

Tags: TURBA_1_2_1_RC1, TURBA_1_2_RC4, TURBA_1_2, TURBA_1_2_RC3, TURBA_1_2_RC2

1.43 (+2 -2 lines) 02/04/2003 10:03 PM mdjukic

Start moving Turba to use Horde_Form.
Important Points:
- New config/attributes.php file, the syntax of the array has changed. Most notable is that the 'type' element will reflect the types available in Horde_Form. Small tweaks, desc has changed to label, and now there are extra elements such as required, readonly and description, and params which will be whatever extra parameters the Horde_Form type requires.
- addobject.php script now uses the Horde_Form, this still needs a bit of cleaning up, but at least the base is there.
- The lib/ObjectView.php has a new function setFormVariables() which is used to set up the Horde_Form vars using the attributes array. There is still the display() function, but that is to be eliminated as soon as the displayobject.php script is also converted to Horde_Form.
- The lib/Source.php now detects if there is a __owner field in the source and hence sets the Auth::getAuth() value to it. This is no longer passed through the form.
- lib/base.php now requires in the Horde_Form libs. Turba will be mostly using Horde_Forms so this might as well be here.
- The displayobject.php script remains as it is for now because of some problems with Horde_Form still to be ironed out.
- The pkcs7cert field for now is just like any other longtext field. Still need to find a solution to display this better.
- The other files have just had small tweaks like changing ['desc'] to ['label'] when using the attributes array.

1.42 (+5 -1 lines) 01/27/2003 05:16 PM Jan Schneider jan

Re-convert data to the storage backend's charset.

1.41 (+6 -2 lines) 01/08/2003 08:06 PM Jan Schneider jan

Exit correctly on error.

1.12.2.16 RELENG_1 (+1 -1 lines) 01/03/2003 07:48 AM Jan Schneider jan

Bump year.

Tags: TURBA_1_2_RC1

1.40 (+2 -2 lines) 01/02/2003 09:21 PM Jan Schneider jan

Bump year.

1.12.2.15 RELENG_1 (+13 -13 lines) 12/19/2002 07:23 AM Jan Schneider jan

Revert bc to Horde 2.0

1.39 (+3 -4 lines) 12/18/2002 05:54 PM Chuck Hagenbuch chuck

Fairly huge commit, due to the amount of code I could rip out with
this change (yay, fewer lines, same functionality):

[cjh] The mail/compose method is now a full call, not a link. This means,
      aside from a bit less code duplication, that we now honor the
      compose_popup preference in $registry calls.
[cjh] Deprecated Registry::includeFiles() and Registry::shutdown().

1.38 (+11 -3 lines) 12/17/2002 08:43 PM Jan Schneider jan

Use PEAR::raiseError()

1.37 (+15 -3 lines) 12/17/2002 08:06 PM Jan Schneider jan

Export date and time fields ISO formatted.

1.36 (+14 -10 lines) 12/10/2002 06:47 PM Jan Schneider jan

Build the $app_fields hash at a more correct place.

1.35 (+6 -3 lines) 12/02/2002 07:49 PM Chuck Hagenbuch chuck

default directory patch for turba

Submitted by: Richard Heggs <Richard.Heggs@nottinghamcity.gov.uk>

1.34 (+129 -418 lines) 11/22/2002 09:37 PM Jan Schneider jan

Use new Data:: framework.

Only showing the 100 latest revisions. Show all revisions? (may take a while).