/[drupal]/contributions/modules/uc_addresses/uc_addresses.module
ViewVC logotype

Log of /contributions/modules/uc_addresses/uc_addresses.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.1.2.6.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 24 16:15:52 2009 UTC (7 months ago) by freixas
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-2
Changes since 1.1.2.6.2.4: +141 -137 lines
Diff to previous 1.1.2.6.2.4 , to branch point 1.1.2.6 , to next main 1.1.2.7
Fixes to 6.x version backported to 5.x version.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 20 20:54:10 2009 UTC (7 months, 1 week ago) by freixas
Branch: MAIN
CVS Tags: HEAD
Changes since 1.27: +78 -64 lines
Diff to previous 1.27
Placed admin functions in uc_addresses.admin.inc.
Added uc_addresses_js_util() to handle changes to country.
Fixed some variables that were used without being defined.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 15 04:44:53 2009 UTC (9 months, 1 week ago) by freixas
Branch: MAIN
Changes since 1.26: +44 -39 lines
Diff to previous 1.26
Another attempt to fix [#368675]. The code needs to skip the delivery address if there are no shippable products.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 7 03:47:52 2009 UTC (9 months, 2 weeks ago) by freixas
Branch: MAIN
Changes since 1.25: +37 -35 lines
Diff to previous 1.25
Fix for [#368675]. The code needs to skip the delivery address if the product is not shippable. This was covered in one case but not another.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 7 03:15:47 2009 UTC (9 months, 2 weeks ago) by freixas
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
Fix for [#370290].

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 1 06:40:07 2009 UTC (9 months, 3 weeks ago) by freixas
Branch: MAIN
Changes since 1.23: +13 -15 lines
Diff to previous 1.23
Fix for [#362155].
I also turned on E_ALL, found a number of additional bugs and fixed them.

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 1 05:08:07 2009 UTC (9 months, 3 weeks ago) by freixas
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22
Fix for [#367391]: I was comparing the logged in user's uid with the user object for the user owning the address. I now compare uid to uid.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 15 00:03:05 2008 UTC (11 months, 1 week ago) by freixas
Branch: MAIN
Changes since 1.21: +8 -0 lines
Diff to previous 1.21
Added some code to clear any saved addresses when an order begins--just in case.

Revision 1.1.2.6.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 15 00:02:17 2008 UTC (11 months, 1 week ago) by freixas
Branch: DRUPAL-5--2
CVS Tags: DRUPAL-5--2-1
Changes since 1.1.2.6.2.3: +9 -0 lines
Diff to previous 1.1.2.6.2.3 , to branch point 1.1.2.6
Added some code to clear any saved addresses when an order begins--just in case.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 14 23:16:06 2008 UTC (11 months, 1 week ago) by freixas
Branch: MAIN
Changes since 1.20: +27 -3 lines
Diff to previous 1.20
Fix for bug [#340194]: When an anonymous but existing user places an order, the addresses are stored with the user the order system finds (matching by email address).

Revision 1.1.2.6.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 14 23:15:32 2008 UTC (11 months, 1 week ago) by freixas
Branch: DRUPAL-5--2
Changes since 1.1.2.6.2.2: +34 -13 lines
Diff to previous 1.1.2.6.2.2 , to branch point 1.1.2.6
Fix for bug [#340194]: When an anonymous but existing user places an order, the addresses are stored with the user the order system finds (matching by email address).

Revision 1.1.2.6.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 24 00:23:52 2008 UTC (12 months ago) by freixas
Branch: DRUPAL-5--2
Changes since 1.1.2.6.2.1: +1 -1 lines
Diff to previous 1.1.2.6.2.1 , to branch point 1.1.2.6
Added t() function around some text. See #334851.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 23 23:31:00 2008 UTC (12 months ago) by freixas
Branch: MAIN
Changes since 1.19: +0 -21 lines
Diff to previous 1.19
Removed debug statements reporting in #338139

Revision 1.1.2.6.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 18 15:53:20 2008 UTC (12 months, 1 week ago) by freixas
Branch: DRUPAL-5--2
Changes since 1.1.2.6: +39 -7 lines
Diff to previous 1.1.2.6
You can no longer delete the default address by going to user/$uid/addresses/$aid/delete. Fix for #327312.
Address names now need to be unique only per user, not systemwide. Fix for #327329.

Revision 1.1.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 9 16:48:24 2008 UTC (12 months, 2 weeks ago) by freixas
Branch: DRUPAL-5
Changes since 1.1.2.6: +39 -7 lines
Diff to previous 1.1.2.6 , to branch point 1.1 , to next main 1.28
You can no longer delete the default address by going to user/$uid/addresses/$aid/delete. Fix for #327312.
Address names now need to be unique only per user, not systemwide. Fix for #327329.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 4 04:07:32 2008 UTC (12 months, 3 weeks ago) by freixas
Branch: MAIN
Changes since 1.18: +470 -449 lines
Diff to previous 1.18
First update for D6.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 15 02:26:46 2008 UTC (14 months, 1 week ago) by freixas
Branch: MAIN
Changes since 1.17: +2 -14 lines
Diff to previous 1.17
During checkout, if the user's default address wasn't in the store's default country, the zone selections were not updated to match the user's default country. Fixed.

Revision 1.1.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 15 02:25:50 2008 UTC (14 months, 1 week ago) by freixas
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--2-0, DRUPAL-5--2-0-RC2
Branch point for: DRUPAL-5--2
Changes since 1.1.2.5: +2 -14 lines
Diff to previous 1.1.2.5 , to branch point 1.1
During checkout, if the user's default address wasn't in the store's default country, the zone selections were not updated to match the user's default country. Fixed.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 13 21:36:57 2008 UTC (14 months, 2 weeks ago) by freixas
Branch: MAIN
Changes since 1.16: +4 -2 lines
Diff to previous 1.16
When editing an address with an address name, the user would get an error about the address name already being in the database. Fixed.

Revision 1.1.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 13 21:35:02 2008 UTC (14 months, 2 weeks ago) by freixas
Branch: DRUPAL-5
Changes since 1.1.2.4: +5 -3 lines
Diff to previous 1.1.2.4 , to branch point 1.1
When editing an address with an address name, the user would get an error about the address name already being in the database. Fixed.

Revision 1.1.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 13 17:21:19 2008 UTC (14 months, 2 weeks ago) by freixas
Branch: DRUPAL-5
Changes since 1.1.2.3: +2 -2 lines
Diff to previous 1.1.2.3 , to branch point 1.1
Alternate fix for [#301233]. This one captures addresses for COD orders.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 13 17:20:42 2008 UTC (14 months, 2 weeks ago) by freixas
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
Alternate fix for [#301233]. This one captures addresses for COD orders.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 31 17:37:33 2008 UTC (14 months, 3 weeks ago) by freixas
Branch: MAIN
CVS Tags: DRUPAL-5--2-0-RC1
Changes since 1.14: +37 -11 lines
Diff to previous 1.14
Fix for [#301233]. Logic was changed so that addresses are saved only when order payment is received.
The default address was always being used for billing/delivery (if the option to fill these fields was set). Now it is used only if the fields are empty to avoid overwriting the user's changes.
The code for checking for duplicate address names was supposed to allow for duplicate empty names (interpreted as assigning no name), but it was treating these as duplicates. Fixed.

Revision 1.1.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 31 17:36:50 2008 UTC (14 months, 3 weeks ago) by freixas
Branch: DRUPAL-5
Changes since 1.1.2.2: +38 -12 lines
Diff to previous 1.1.2.2 , to branch point 1.1
Fix for [#301233]. Logic was changed so that addresses are saved only when order payment is received.
The default address was always being used for billing/delivery (if the option to fill these fields was set). Now it is used only if the fields are empty to avoid overwriting the user's changes.
The code for checking for duplicate address names was supposed to allow for duplicate empty names (interpreted as assigning no name), but it was treating these as duplicates. Fixed.

Revision 1.1.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 26 03:55:28 2008 UTC (15 months ago) by freixas
Branch: DRUPAL-5
Changes since 1.1.2.1: +94 -50 lines
Diff to previous 1.1.2.1 , to branch point 1.1
Added support for creating an optional name for the address. See [#295508].
When the default address was used to fill in the default billing or delivery address, the fields became not required. This has been fixed. See bug [#287299].
Fix for bug [#285501]: Problems when validating zone not in default country.
Fix for bug [#288339]: If there are no shippable products, don't force a delivery address.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 23 16:13:54 2008 UTC (15 months ago) by freixas
Branch: MAIN
Changes since 1.13: +52 -14 lines
Diff to previous 1.13
Added support for creating an optional name for the address. See [#295508].

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 15 02:50:00 2008 UTC (15 months, 1 week ago) by freixas
Branch: MAIN
Changes since 1.12: +20 -20 lines
Diff to previous 1.12
When the default address was used to fill in the default billing or delivery address, the fields became not required. This has been fixed. See bug [#287299].

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 1 15:09:44 2008 UTC (15 months, 3 weeks ago) by freixas
Branch: MAIN
Changes since 1.11: +21 -15 lines
Diff to previous 1.11
Fix for bug [#285501]: Problems when validating zone not in default country.
Fix for bug [#288339]: If there are no shippable products, don't force a delivery address.

Revision 1.1.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 28 15:45:53 2008 UTC (16 months ago) by freixas
Branch: DRUPAL-5
Changes since 1.1: +675 -373 lines
Diff to previous 1.1
Fix for bug [#285765]: uc_addresses should not be in Drupal - core. It is now in Drupal - extra.
Enhancement as per [#287299] - you can have users skip entering an address during registration.
Updating DRUPAL-5 to the latest code - I hadn't been checking code into the right place.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 28 15:40:56 2008 UTC (16 months ago) by freixas
Branch: MAIN
Changes since 1.10: +20 -8 lines
Diff to previous 1.10
Fix for bug [#285765]: uc_addresses should not be in Drupal - core. It is now in Drupal - extra.
Enhancement as per [#287299] - you can have users skip entering an address during registration.
Updating HEAD to the latest code - I hadn't been checking code into the right place.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 25 03:21:58 2008 UTC (17 months ago) by freixas
Branch: MAIN
CVS Tags: DRUPAL-5--1-0, DRUPAL-5--1-0-RC4
Changes since 1.9: +45 -14 lines
Diff to previous 1.9
I now use {uc_addresses}_aid for the sequences variable. Fixes bug http://drupal.org/node/271336.
I updated the code to normalize addresses so that disabled fields don't cause comparison problems. Fixes bug http://drupal.org/node/273938.
Fixed a bug where the billing address didn't get saved because I didn't copy the uid from the order.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 16 14:37:22 2008 UTC (17 months, 1 week ago) by freixas
Branch: MAIN
CVS Tags: DRUPAL-5--1-0-RC3
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
Wrapped some text with t().

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 14 02:06:02 2008 UTC (17 months, 2 weeks ago) by freixas
Branch: MAIN
Changes since 1.7: +67 -59 lines
Diff to previous 1.7
Added tests for uc_pane_delivery_enabled and uc_pane_billing_enabled.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 12 03:43:29 2008 UTC (17 months, 2 weeks ago) by freixas
Branch: MAIN
Changes since 1.6: +74 -20 lines
Diff to previous 1.6
Fixed a typo that generated an error when deleting a user account.
When a user without any addresses places an order, the billing address becomes the default address.
If an anonymous user places an order and an account is automatically created for that user, the address information is added to the new account.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 7 00:59:48 2008 UTC (17 months, 3 weeks ago) by freixas
Branch: MAIN
CVS Tags: DRUPAL-5--1-0-RC2
Changes since 1.5: +62 -60 lines
Diff to previous 1.5
I now check to make sure arg(1) is numeric in hook_menu(). This prevents the Addresses tab from showing up for the path '../user'.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 30 21:53:44 2008 UTC (17 months, 4 weeks ago) by freixas
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
Fixed error: When placing an order, duplicate addresses should not be reported.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 29 16:00:22 2008 UTC (17 months, 4 weeks ago) by freixas
Branch: MAIN
CVS Tags: DRUPAL-5--1-0-RC1
Changes since 1.3: +2 -1 lines
Diff to previous 1.3
Restored <!--break--> line I inadvertantly removed.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 29 15:52:50 2008 UTC (17 months, 4 weeks ago) by freixas
Branch: MAIN
Changes since 1.2: +261 -245 lines
Diff to previous 1.2
When unisntalling, rows added to the 'variable' table are deleted.
Removed some unnecessary check_plain() calls which were creating some bugs.
Removed unneeded _UcAddressCache class.
Completely reworked the code for displaying a single address.
Refactored the database methods.
Removed the presentational attributes valign and nowrap from the theming functions.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 27 23:53:43 2008 UTC (18 months ago) by freixas
Branch: MAIN
Changes since 1.1: +221 -43 lines
Diff to previous 1.1
Fixed a bug where choosing Canada as the country would generate "An illegal choice has been..." message.
Fixed a bug where a typo in the uc_addresses.install file caused the installation to fail.
When adding a new address, you can now make it the default address.
You can now delete an address without first going to the edit page.
Made a number of cosmetic changes to the user interface to improve usability.
Added address settings for the store administrator: you can choose to have the shipping or billing address be automatically filled with the default address.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 26 20:55:29 2008 UTC (18 months ago) by freixas
Branch: MAIN
Branch point for: DRUPAL-5
Initial commit of uc_addresses module.

The uc_addresses module adds support for one or more addresses in
 the user's profile. When users register, they must provide an
 address. Users can then add more addresses and edit or delete
 existing addresses. One address must be designated as the default
 address and cannot be deleted (but it can be edited).

 The Ubercart order process is altered so that users select delivery
 and billing addresses from their collection of addresses rather
 than from previous orders. Any new addresses entered during the
 order process are automatically added to the user's list.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2