/[drupal]/contributions/modules/location/location.install
ViewVC logotype

Log of /contributions/modules/location/location.install

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.43 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 31 22:09:35 2009 UTC (2 months, 3 weeks ago) by bdragon
Branch: MAIN
CVS Tags: HEAD
Changes since 1.42: +17 -4 lines
Diff to previous 1.42
WARNING -- PORT IN PROGRESS -- WARNING
This is a very very very preliminary port of some pieces of Location to D7.
There's a lot of work to do before this is remotely usable.
WARNING -- PORT IN PROGRESS -- WARNING


commit 9acd11c864797596209d5c12916e25e209a074cd
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 16:51:59 2009 -0500

    D7: Fix instance saving. I have now successfully put a location on a node in D7. (Of course there's a LOT to do still, but huzzah!)

commit 868ed6352debce3720e4093b50c42397e66cf991
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 16:40:22 2009 -0500

    Fix another class bug. Fix location fieldset theming (for a given value of "fix" of course)

commit d10a646b73da9c8b00c002a13483b986f0018340
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 16:31:43 2009 -0500

    D7: fix call to private api function that got renamed.

commit b79cea16e3c74d0cc7941cd4abcd3b616b793c9f
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 16:28:00 2009 -0500

    D7: Put locative information into the vertical tabs thingie.

commit bf4df441e08a2ba1a0b6164a3688aa2275607f79
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 16:19:10 2009 -0500

    D7: Fix class arrayness and remove a stray & to make PHP stop crashing.

commit be9d1114797319f0015c266f3f6d4a6d398fea2f
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 15:22:13 2009 -0500

    D7: files[] for location_node.

commit f6c32c64cb43f06fc5baca569826ccaf88b931c3
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 15:19:30 2009 -0500

    Fix infinite loops with drupal_render_children(). Remove the drupal_render() call at the end as well as it's nonsensical now and ALSO loops.

commit 125639604c4e5c29d03b3da9265b5fc766347794
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 15:18:10 2009 -0500

    D7 does not have an implicit #theme for elements anymore.

commit 4dcf85adcd30c0a53417fa3c53b2a4882b3cadf4
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 15:08:51 2009 -0500

    Use core's country list. (Which was pulled from location in the first place, hee hee)

commit ebb58524f2b9ef2eca7513971afbb9029743290f
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Mon Aug 31 14:59:53 2009 -0500

    D7: Remove location_default_country variable and use core's site_default_country variable instead.

commit 4cf3950e1a3fa1369ad5bdecac4c3649b2783f2a
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 17:34:26 2009 -0500

    Add warning.

commit 934fdd3aecb4435b7215705d72998b13439b0920
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 17:14:51 2009 -0500

    D7: hook_node split, some of location_node.module, add file to track API changes.

commit 9e69f25d971fa6b5623fb026d5cfd6dba2cc2d70
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 16:17:18 2009 -0500

    D7: 'file' / 'file_path' stuff got rolled back.

commit 80cbd3b688c4a46dc349d449a1abc265894d619f
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 15:42:45 2009 -0500

    D7: [#161301]

commit 35f82a0845ef020411a351fb307f821f78c5e397
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 15:38:53 2009 -0500

    bit more dbtngification.

commit 161280467e70664822e397405f3892628de7acdd
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 15:26:38 2009 -0500

    dbtngify uninstall hook. The rest I'll do later.

commit d6596a08f7a6a424df5109eafae3d7a5b7ce5522
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Fri Aug 28 15:20:52 2009 -0500

    DBTNGify location.module.
    Hopefully I didn't introduce bugs.

commit 6986ba94148c19d461808d61441c0033a4abfe31
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 16:02:59 2009 -0500

    Start a todo list.

commit 397adf2c619de9708e4135442204328aac7ae2d8
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 15:57:30 2009 -0500

    D7: Use '#markup' not '#value' for markup

commit c3fbd82f21e1af2f024871b247c01bc01ca71a7e
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 15:53:17 2009 -0500

    D7: The hook_menu() and hook_theme() "file" and "file path" keys have
    been removed.

commit cf8acf59887f73b997e50aedec95aa5a9784df84
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 15:51:55 2009 -0500

    D7: Module .info files must now specify all loadable code files
    explicitly.

commit f4cf33530c11406157745db44cfab0069287da36
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 15:51:01 2009 -0500

    D7: Permissions are required to have titles and descriptions.

commit 4a29c6fbafdc1ab106c95ed74df27f7dcfe03bca
Author: Brandon Bergren <bdragon@rtk0.net>
Date:   Wed Aug 19 15:41:46 2009 -0500

    Location HEAD starting point.
    Aug 19 2009 15:42

Revision 1.25.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 25 19:19:05 2009 UTC (9 months ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-1-RC1
Changes since 1.25.2.14: +31 -20 lines
Diff to previous 1.25.2.14 , to branch point 1.25 , to next main 1.43
Backport of location_node split.

Revision 1.41.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 25 18:49:30 2009 UTC (9 months ago) by bdragon
Branch: DRUPAL-6--3
CVS Tags: DRUPAL-6--3-1-RC1
Changes since 1.41: +16 -21 lines
Diff to previous 1.41 , to next main 1.43
Split location_node out like I did for location_user. Huzzah!

Refactor RSS support to make it easier to reuse. *cough*cck georss support?*cough*

Fix tests to load location_node.

Split relevant uninstall sections out into location_node.install and location_user.install.

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 24 22:54:38 2009 UTC (9 months ago) by bdragon
Branch: MAIN
Changes since 1.41: +16 -21 lines
Diff to previous 1.41
Split location_node out like I did for location_user. Huzzah!

Refactor RSS support to make it easier to reuse. *cough*cck georss support?*cough*

Fix tests to load location_node.

Split relevant uninstall sections out into location_node.install and location_user.install.

Revision 1.25.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 10 20:00:04 2009 UTC (9 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.25.2.13: +20 -4 lines
Diff to previous 1.25.2.13 , to branch point 1.25
#42901 work: Get rid of the primary key on zipcodes, like we have in D6 already.

Revision 1.25.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 9 21:52:01 2008 UTC (11 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0
Changes since 1.25.2.12: +4 -4 lines
Diff to previous 1.25.2.12 , to branch point 1.25
#334958 by lyricnz: Fix query errors during uninstall caused by silly typos.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 9 21:50:48 2008 UTC (11 months, 2 weeks ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--3-0
Branch point for: DRUPAL-6--3
Changes since 1.40: +4 -4 lines
Diff to previous 1.40
#334958 by lyricnz: Fix query errors during uninstall caused by silly typos.

Revision 1.25.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 9 21:34:00 2008 UTC (11 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.25.2.11: +68 -0 lines
Diff to previous 1.25.2.11 , to branch point 1.25
#342163 by jgadrow, update routine by me: Add missing prefix to the db_next_id() call.

If someone manages to hit this with postgresql, I'd be quite suprised, as the call has been broken since March and it is rather obvious when db_next_id is called against something invalid on postgresql -- it throws an error.

I put a message in the postgresql case to followup on the issue.

Revision 1.25.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 9 17:06:33 2008 UTC (11 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.25.2.10: +7 -2 lines
Diff to previous 1.25.2.10 , to branch point 1.25
Fix captialization of NOTE: to match the other notes.
Don't blindly enable location_user, only enable it if location is already enabled.

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 9 17:05:22 2008 UTC (11 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.39: +7 -2 lines
Diff to previous 1.39
Fix captialization of NOTE: to match the other notes.
Don't blindly enable location_user, only enable it if location is already enabled.

Revision 1.25.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 5 18:16:00 2008 UTC (11 months, 3 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.25.2.9: +10 -0 lines
Diff to previous 1.25.2.9 , to branch point 1.25
#300426, part 1: Split off user locations into a seperate module to make it easier to completely disable.

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 5 18:08:31 2008 UTC (11 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.38: +10 -0 lines
Diff to previous 1.38
#300426, part 1: Split off user locations into a seperate module to make it easier to completely disable.

Revision 1.25.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 24 20:26:52 2008 UTC (12 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.25.2.8: +24 -0 lines
Diff to previous 1.25.2.8 , to branch point 1.25
Backport of the D6 changes I committed on the 20th.

* Add per-location-field weights and defaults.
* Add location_api_variant() that I will increment when breaking something in the future that might be used from another module. It is now 1.
* Make settings on location_cck work nicely.
* Field settings are now in a table.
* Field settings defaults can now be overridden in the UI.
* Field settings are now weighted. (Draggable in D6!)
* "Force Default" may now be used for all fields.
* Content type settings validation is repaired again.
* Major COW changes (again) -- Should not have any impact on sites, but be careful until the new code is proven.
* Tests were added to ensure COW functionality doesn't break. (Tests were committed earlier)

API Changes:

* If you were using a location_element, the #location_settings is now the *entire* settings array, not $settings['form']['fields']!
* hook_locationapi() 'collection default' and 'default values' ops  have been merged into a single 'defaults' op, which now allows specifying default weight.
* Collection status 3 is now 4. (Relevant for the 'country' field.)

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 24 18:22:36 2008 UTC (12 months ago) by bdragon
Branch: MAIN
Changes since 1.37: +5 -0 lines
Diff to previous 1.37
Do another variable check in preparation for the 5.x backport of the nov 24 commit.

Revision 1.25.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 24 18:14:44 2008 UTC (12 months ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.25.2.7: +1 -0 lines
Diff to previous 1.25.2.7 , to branch point 1.25
Set a variable to tell the 6.x side we've already taken care of the unified settings update.

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 24 18:11:13 2008 UTC (12 months ago) by bdragon
Branch: MAIN
Changes since 1.36: +7 -1 lines
Diff to previous 1.36
Put a variable guard on location_update_6304() to make sure it doesn't run if the 5.x version has run already.

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 24 17:17:19 2008 UTC (12 months ago) by bdragon
Branch: MAIN
Changes since 1.35: +14 -6 lines
Diff to previous 1.35
Fix multiple bugs in the last update routine (renumbered so it will rerun for people using the dev release.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 20 19:46:21 2008 UTC (12 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.34: +24 -1 lines
Diff to previous 1.34
OK, I've been sitting on this MUCH longer than is comfortable.
This is a major change that I have been testing and writing locally. I just tagged UNSTABLE4 before this commit so there's a point to go back to if I end up having to roll back.

* Add per-location-field weights and defaults.
* Add location_api_variant() that I will increment when breaking something in the future that might be used from another module. It is now 1.
* Make settings on location_cck work nicely.
* Field settings are now in a table.
* Field settings defaults can now be overridden in the UI.
* Field settings are now weighted. (Draggable in D6!)
* "Force Default" may now be used for all fields.
* Content type settings validation is repaired again.
* Major COW changes (again) -- Should not have any impact on sites, but be careful until the new code is proven.
* Tests were added to ensure COW functionality doesn't break. (Tests were committed earlier)

API Changes:

* If you were using a location_element, the #location_settings is now the *entire* settings array, not $settings['form']['fields']!
* hook_locationapi() 'collection default' and 'default values' ops  have been merged into a single 'defaults' op, which now allows specifying default weight.
* Collection status 3 is now 4. (Relevant for the 'country' field.)

Revision 1.25.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 22:46:39 2008 UTC (13 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0-UNSTABLE4
Changes since 1.25.2.6: +120 -1 lines
Diff to previous 1.25.2.6 , to branch point 1.25
A) Clean up a bunch of duplication and centralize the way location settings are handled.

This allows us to have multiple user locations, and simplifies the API for associating locations with other things.

The variables used by location got all shuffled around because of this, but I put in compatibility code to keep setting location_maxnum_{nodetype} and location_defaultnum_{nodetype}, because there is a lot of contrib modules checking for them.

B) Made user locations work more like node locations.

C) Allow more than one location to be "required".

D) Reorganize the variables. Now there is a single variable per content type. (location_settings_{nodetype})

E) Make virtual fields hideable, and add the map link as a virtual field.

F) API change: The return value of 'virtual fields' op is now an array of keys and values, where the values are the labels for the hide checkboxes.

(The Drupal 5 version of this is a quick as possible port, there may be lingering typos. It seemed to work OK, but I won't know for sure until I minimize the diff against HEAD again.)

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 21:34:44 2008 UTC (13 months, 1 week ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-UNSTABLE4
Changes since 1.33: +119 -0 lines
Diff to previous 1.33
A) Clean up a bunch of duplication and centralize the way location settings are handled.

This allows us to have multiple user locations, and simplifies the API for associating locations with other things.

The variables used by location got all shuffled around because of this, but I put in compatibility code to keep setting location_maxnum_{nodetype} and location_defaultnum_{nodetype}, because there is a lot of contrib modules checking for them.

B) Made user locations work more like node locations.

C) Allow more than one location to be "required".

D) Reorganize the variables. Now there is a single variable per content type. (location_settings_{nodetype})

E) Make virtual fields hideable, and add the map link as a virtual field.

F) API change: The return value of 'virtual fields' op is now an array of keys and values, where the values are the labels for the hide checkboxes.

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 19:47:38 2008 UTC (13 months, 2 weeks ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-RC2
Changes since 1.32: +1 -3 lines
Diff to previous 1.32
Pull the new location_search.module from DRUPAL-5--3 in preparation for D6 porting.

Revision 1.25.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 19:34:38 2008 UTC (13 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0-RC2
Changes since 1.25.2.5: +1 -3 lines
Diff to previous 1.25.2.5 , to branch point 1.25
Better late than never.

Here is a rewritten location_search.module. It uses the search apis and is able to do fulltext searching. It's also cleaner, and will be ported to Drupal 6.

It searches by location, not node. (Restriction to specific types of objects is possible but not implemented yet.)

Hopefully I didn't accidentally leave out / forget any features people were using.

It will need to generate a search index before it will work properly, so do the same thing you would do if you were reindexing the site (i.e. run cron in a loop and watch the percentage indexed number)

Minor api change (optional):
* Add an 'instance_links' op to hook_locationapi so modules can stick in the correct urls for the instances they handle.

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 17:00:27 2008 UTC (13 months, 2 weeks ago) by bdragon
Branch: MAIN
Changes since 1.31: +37 -44 lines
Diff to previous 1.31
* Add function location_province_code().
* Fix $op 'delete' on hook_locationapi().
* API CHANGE: Use location_save_locations() with an empty array instead of deleting rows from {location_instance}. This lets us have "real" deletion instead of relying on garbage collection.

Before:
<code>
db_query("DELETE FROM {location_instance} WHERE genid = '%s'", 'mykey:'. $obj->id);
</code>

After:
<code>
$locations = array();
location_save_locations($locations, array('genid' => 'mykey:'. $obj->id));
</code>

* Remove garbage collection routine and UI from settings page. References are checked automatically now.

Revision 1.25.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 16:39:47 2008 UTC (13 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.25.2.4: +25 -34 lines
Diff to previous 1.25.2.4 , to branch point 1.25
* Add function location_province_code().
* Fix $op 'delete' on hook_locationapi().
* API CHANGE: Use location_save_locations() with an empty array instead of deleting rows from {location_instance}. This lets us have "real" deletion instead of relying on garbage collection.

Before:
<code>
db_query("DELETE FROM {location_instance} WHERE genid = '%s'", 'mykey:'. $obj->id);
</code>

After:
<code>
$locations = array();
location_save_locations($locations, array('genid' => 'mykey:'. $obj->id));
</code>

* Remove garbage collection routine and UI from settings page. References are checked automatically now.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 7 19:09:48 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.30: +82 -33 lines
Diff to previous 1.30
Although I can't fix the update warnings proper, I can inform the user why they happen, reduce them, and repair the stuff reported in #317823.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 3 01:11:15 2008 UTC (13 months, 3 weeks ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-RC1
Changes since 1.29: +341 -34 lines
Diff to previous 1.29
Upgrade path to Drupal 6.
Tested on MySQL and PostgreSQL.
Please be careful until this code is fully proven!

Revision 1.25.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 17 16:22:54 2008 UTC (14 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0-RC1
Changes since 1.25.2.3: +3 -1 lines
Diff to previous 1.25.2.3 , to branch point 1.25
Backport commit 131997: Rip out the notion of "supported countries." With the dynamic country loading, this isn't really needed.
This breaks some of the "province listing" stuff, but it needed work anyway.

Revision 1.25.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 17:49:57 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0-test3
Changes since 1.25.2.2: +2 -2 lines
Diff to previous 1.25.2.2 , to branch point 1.25
Convert to update_sql to hopefully get more feedback on the problem where some people aren't having location_instance installed properly. (#301542, #298306)

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 16:20:57 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-6--3-0-test3
Changes since 1.28: +29 -1 lines
Diff to previous 1.28
Provide some feedback for previously geocoded locations.
Allow hiding arbitrary fields on display. (Forward port of commit 138847)

Revision 1.25.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 9 02:34:58 2008 UTC (14 months, 2 weeks ago) by bdragon
Branch: DRUPAL-5--3
Changes since 1.25.2.1: +31 -1 lines
Diff to previous 1.25.2.1 , to branch point 1.25
Provide some feedback for previously geocoded locations.
Allow hiding arbitrary fields on display.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 23:28:46 2008 UTC (15 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.27: +72 -27 lines
Diff to previous 1.27
Cause a temporal anomoly in the name of preserving data.
Convert any non node/user locations into genids during update.
This fixes a 3.0 release blocking todo in the installer.

Revision 1.25.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 18 23:24:23 2008 UTC (15 months, 1 week ago) by bdragon
Branch: DRUPAL-5--3
CVS Tags: DRUPAL-5--3-0-test2
Changes since 1.25: +72 -27 lines
Diff to previous 1.25
Cause a temporal anomoly in the name of preserving data.
Convert any non node/user locations into genids during update.
This fixes a 3.0 release blocking todo in the installer.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 6 16:38:39 2008 UTC (15 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26
Rip out the notion of "supported countries." With the dynamic country loading, this isn't really needed.
This breaks some of the "province listing" stuff, but it needed work anyway.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 24 19:44:00 2008 UTC (16 months ago) by bdragon
Branch: MAIN
Changes since 1.25: +121 -153 lines
Diff to previous 1.25
Initial Druapl 6 checkin: Just enough to save and show a location.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 16:25:17 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
CVS Tags: DRUPAL-5--3-0-test1
Branch point for: DRUPAL-5--3
Changes since 1.24: +2 -1 lines
Diff to previous 1.24
Update uninstall hook for new variable.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 5 15:12:56 2008 UTC (17 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.23: +25 -1 lines
Diff to previous 1.23
I finally realized how to solve the "garbage collection when using unknown references" problem.

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 22:02:21 2008 UTC (20 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.22: +9 -2 lines
Diff to previous 1.22
Work on #128270.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 6 20:27:43 2008 UTC (20 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21
A quick coder run...

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 6 16:46:08 2008 UTC (20 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.20: +134 -5 lines
Diff to previous 1.20
Committing what I have. The patch has landed.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 4 02:48:51 2008 UTC (21 months, 3 weeks ago) by bdragon
Branch: MAIN
Changes since 1.19: +58 -1 lines
Diff to previous 1.19
Fix #107567.
Split out a seperate cache table for the location search cache.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 07:12:58 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.18: +23 -37 lines
Diff to previous 1.18
Whitespace normalization

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 07:07:31 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.17: +82 -11 lines
Diff to previous 1.17
Re-integrate the changes that weren't bogus.
Comment out the "new" update until I can verify that it was actually TESTED IN POSTGRESQL :-/

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 06:46:50 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.16: +163 -183 lines
Diff to previous 1.16
I hate to do this, but that first patch was just unacceptable.

It is going to be faster to merge in the last 6 pages of changes by hand.

Revert (sans a few files) to DRUPAL-5 again and start over.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 02:03:53 2008 UTC (22 months ago) by bdragon
Branch: MAIN
Changes since 1.15: +28 -23 lines
Diff to previous 1.15
Normalizing file headers, ensuring all the $Id$ tags work (Somehow a bunch of files got -kk'd in CVS so the tag expansion wasn't working), changing documentation around.

Revision 1.2.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 24 01:06:27 2008 UTC (22 months ago) by bdragon
Branch: DRUPAL-4-7
Changes since 1.2.2.6: +24 -20 lines
Diff to previous 1.2.2.6 , to branch point 1.2 , to next main 1.43
#116599 by dww.
#213248 by dww.
Fixes to install file for people who need to stop on 4.7 on their way to a newer release.

I think I might be releasing a "1.0" as a reference point after we get the upgrade path fully tested.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 23 23:43:01 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14
Bugs fixed:
* #116599 by dww: need to check that views module is present during install

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 23 23:37:35 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13
Bugs fixed:
* #213248 by dww: location_update_2() doesn't return an array

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 20:50:48 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.12: +35 -34 lines
Diff to previous 1.12
Misc:
* rename $ret to $update on .install

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 22 20:48:52 2008 UTC (22 months ago) by brmassa
Branch: MAIN
Changes since 1.11: +20 -2 lines
Diff to previous 1.11
New features:
* #213029 by lodewijk.loos: database index field

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 21 19:40:37 2008 UTC (22 months, 1 week ago) by brmassa
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10
Bugs Fixed:
* Drupal code standards compliance
* PHP_E code compliance
* Proper SQL instaler for PostgreSQL
* Save installer for MySQL and PostgreSQL (easier to exchange them)
* #197107 "Typo in location.module renders location distance search unit settings ineffective"
* #199289 "Close tags in location.theme"
* #87292 "US/CA location reference non-existent 'state' location attribute"

New Features:
* Location Fax uninstaller
* Location Phone uninstaller
* Countries list is now sorted alphabetically and translated
* State list is now a autocomplete
* Users can have more that one address on the new address book

Misc:
* Several new Doxygen documentation
* 80-character per line policy
* Code organization
* Functions listed in alphabetic order
* Several functions renamed for consistency
* All non-hook functions have a _ at the beggining, to avoid to executed as a hook

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 21 19:24:05 2008 UTC (22 months, 1 week ago) by brmassa
Branch: MAIN
Changes since 1.9: +122 -129 lines
Diff to previous 1.9
New features:
* Brand new installer

Misc:
* Better doxygen documentation

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 21 19:06:15 2008 UTC (22 months, 1 week ago) by bdragon
Branch: MAIN
Changes since 1.8: +63 -1 lines
Diff to previous 1.8
Start of a new era.

Pull DRUPAL-5 up to HEAD.

HEAD is now the development branch up to 3.0.

Revision 1.7.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 2 01:57:25 2007 UTC (2 years, 3 months ago) by ankur
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--2-0, DRUPAL-5--2-1, DRUPAL-5--2-2, DRUPAL-5--2-3, DRUPAL-5--2-4, DRUPAL-5--2-5, DRUPAL-5--2-6, DRUPAL-5--2-7
Changes since 1.7.2.1: +62 -0 lines
Diff to previous 1.7.2.1 , to branch point 1.7 , to next main 1.43
Committing patches for http://drupal.org/node/158101 and http://drupal.org/node/132541
Ideas taken from patches submitted by ray007 and obscurity

Revision 1.2.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 26 15:16:54 2007 UTC (2 years, 8 months ago) by geodan
Branch: DRUPAL-4-7
Changes since 1.2.2.5: +19 -0 lines
Diff to previous 1.2.2.5 , to branch point 1.2
#91581 - step 2, updating location.inc to reflect new country list, location.install to rename Swedish country code from sw to se in the database and also removing the contents of location.sw.inc

Revision 1.7.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 26 14:56:05 2007 UTC (2 years, 8 months ago) by geodan
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-0, DRUPAL-5--1-1, DRUPAL-5--1-2
Changes since 1.7: +19 -0 lines
Diff to previous 1.7
#91581 - step 2, updating location.inc to reflect new country list, location.install to rename Swedish country code from sw to se in the database and also removing the contents of location.sw.inc

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 26 14:54:29 2007 UTC (2 years, 8 months ago) by geodan
Branch: MAIN
Changes since 1.7: +19 -0 lines
Diff to previous 1.7
#91581 - step 2, updating location.inc to reflect new country list, location.install to rename Swedish country code from sw to se in the database and also removing the contents of location.sw.inc

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 11 01:14:48 2007 UTC (2 years, 10 months ago) by ankur
Branch: MAIN
Branch point for: DRUPAL-5
Changes since 1.6: +48 -3 lines
Diff to previous 1.6
Adding pgsql support for multiple locations (left out of previous update).
Also fixing _install() fn to reflect updated database schema for multiple locations.
(previously only support for updating).  Patch courtesy of drupal.org user
'sammys' (see http://drupal.org/node/107531 )

Revision 1.2.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 10 07:12:36 2007 UTC (2 years, 10 months ago) by ankur
Branch: DRUPAL-4-7
Changes since 1.2.2.4: +48 -3 lines
Diff to previous 1.2.2.4 , to branch point 1.2
Adding pgsql support for multiple locations (left out of previous update).
Also fixing _install() fn to reflect updated database schema for multiple locations.
(previously only support for updating).  Patch courtesy of drupal.org user
'sammys' (see http://drupal.org/node/107531 )

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 5 02:41:39 2007 UTC (2 years, 10 months ago) by ankur
Branch: MAIN
Changes since 1.5: +37 -0 lines
Diff to previous 1.5
Adding ability to have multiple locations for a node.  Users will come later.
Twas only a 60 KB patch!

Revision 1.2.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 5 02:34:23 2007 UTC (2 years, 10 months ago) by ankur
Branch: DRUPAL-4-7
Changes since 1.2.2.3: +37 -0 lines
Diff to previous 1.2.2.3 , to branch point 1.2
Adding ability to enter multiple locations for nodes.  Users coming shortly.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 5 20:27:29 2006 UTC (2 years, 11 months ago) by ankur
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4
Quick addition to previous commit.

Revision 1.2.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 5 20:26:49 2006 UTC (2 years, 11 months ago) by ankur
Branch: DRUPAL-4-7
Changes since 1.2.2.2: +5 -1 lines
Diff to previous 1.2.2.2 , to branch point 1.2
Quick addition to previous commit.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 5 20:25:08 2006 UTC (2 years, 11 months ago) by ankur
Branch: MAIN
Changes since 1.3: +58 -8 lines
Diff to previous 1.3
Adding pgsql support to location module.  Also re-naming the 'oid' column
to 'eid' since 'oid' is a reserved word in pgsql.  Patch courtesy of drupal.org
user 'sammys' (see http://drupal.org/node/37006 ).

Revision 1.2.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 5 20:19:02 2006 UTC (2 years, 11 months ago) by ankur
Branch: DRUPAL-4-7
Changes since 1.2.2.1: +58 -8 lines
Diff to previous 1.2.2.1 , to branch point 1.2
Adding pgsql support to location module.  Also re-naming the 'oid' column
to 'eid' since 'oid' is a reserved word in pgsql.  Patch courtesy of drupal.org
user 'sammys' (see http://drupal.org/node/37006 ).

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 15 23:11:27 2006 UTC (3 years, 2 months ago) by ankur
Branch: MAIN
Changes since 1.2: +8 -0 lines
Diff to previous 1.2
Committing fix regarding problem saving provinces from http://drupal.org/node/79015

Revision 1.2.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 15 23:09:15 2006 UTC (3 years, 2 months ago) by ankur
Branch: DRUPAL-4-7
Changes since 1.2: +8 -0 lines
Diff to previous 1.2
Fixing problem with saving of US provinces reported in http://drupal.org/node/79015

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 22 00:27:54 2006 UTC (3 years, 7 months ago) by ankur
Branch: MAIN
Branch point for: DRUPAL-4-7
Changes since 1.1: +58 -3 lines
Diff to previous 1.1
Fixing location.install w/ patch courtesy of webchick from
http://drupal.org/node/58809

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 31 22:49:00 2006 UTC (3 years, 7 months ago) by ankur
Branch: MAIN
Continuing port to 4.7.

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