Log of /contributions/modules/location/location.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.248 -
(
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.247: +70 -93 lines
Diff to
previous 1.247
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.222.2.25 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 30 20:58:43 2009 UTC
(3 months, 4 weeks ago)
by
bdragon
Branch:
DRUPAL-6--3
Changes since
1.222.2.24: +7 -1 lines
Diff to
previous 1.222.2.24
, to
branch point 1.222
, to
next main 1.248
* Bring CCK tests in sync with base COW tests.
* Fix location_cck node deletion (Apparently this never worked in the first place.)
* Remove extra checks from location_cck that were working around a bug in location.
*
* Fix a few bugs in location_cck discovered while revamping the tests.
* location_is_empty() will now consider a node with the delete checkbox checked to be "empty."
* Change reorderLocations() in the test suite to work on CCK fields.
Revision
1.247 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 30 20:53:48 2009 UTC
(3 months, 4 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.246: +7 -1 lines
Diff to
previous 1.246
* Bring CCK tests in sync with base COW tests.
* Fix location_cck node deletion (Apparently this never worked in the first place.)
* Remove extra checks from location_cck that were working around a bug in location.
*
* Fix a few bugs in location_cck discovered while revamping the tests.
* location_is_empty() will now consider a node with the delete checkbox checked to be "empty."
* Change reorderLocations() in the test suite to work on CCK fields.
Revision
1.246 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 30 17:25:04 2009 UTC
(3 months, 4 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.245: +26 -13 lines
Diff to
previous 1.245
* Fix emptiness check centrally, instead of relying on location_save().
* Remove cck validator -- the condition it was checking for was a bug, not
a feature.
Revision
1.245 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Apr 17 19:09:53 2009 UTC
(7 months, 1 week ago)
by
bdragon
Branch:
MAIN
Changes since
1.244: +10 -1 lines
Diff to
previous 1.244
Add a utilities page to the settings interface.
Add buttons to clear the location country support / province caches.
Revision
1.222.2.18 -
(
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
Changes since
1.222.2.17: +6 -208 lines
Diff to
previous 1.222.2.17
, to
branch point 1.222
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.240 -
(
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.239: +6 -208 lines
Diff to
previous 1.239
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.148.2.83 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 24 16:20:02 2009 UTC
(9 months ago)
by
bdragon
Branch:
DRUPAL-5--3
Changes since
1.148.2.82: +16 -1 lines
Diff to
previous 1.148.2.82
, to
branch point 1.148
Fix #373723. This is a modified version of the patch I provided there, changed slightly to be appropriate for general inclusion.
* Add JIT geocoding. To use with bulk importing, set the source to 4 when inserting your locations into the {location} table, and enable JIT geocoding on the Location settings page.
Revision
1.239 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 24 16:16:42 2009 UTC
(9 months ago)
by
bdragon
Branch:
MAIN
Changes since
1.238: +16 -1 lines
Diff to
previous 1.238
Fix #373723. This is a modified version of the patch I provided there, changed slightly to be appropriate for general inclusion.
* Add JIT geocoding. To use with bulk importing, set the source to 4 when inserting your locations into the {location} table, and enable JIT geocoding on the Location settings page.
Revision
1.222.2.17 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 24 16:12:55 2009 UTC
(9 months ago)
by
bdragon
Branch:
DRUPAL-6--3
Changes since
1.222.2.16: +15 -0 lines
Diff to
previous 1.222.2.16
, to
branch point 1.222
Fix #373723. This is a modified version of the patch I provided there, changed slightly to be appropriate for general inclusion.
* Add JIT geocoding. To use with bulk importing, set the source to 4 when inserting your locations into the {location} table, and enable JIT geocoding on the Location settings page.
Revision
1.237 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 21 23:15:25 2009 UTC
(10 months ago)
by
bdragon
Branch:
MAIN
Changes since
1.236: +9 -9 lines
Diff to
previous 1.236
Fix bug skyred had ran into in IRC:
Fix delete location checkbox when not collecting coordinates, due to a misplaced brace.
Revision
1.230 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 7 22:47:41 2009 UTC
(10 months, 2 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.229: +6 -4 lines
Diff to
previous 1.229
* Fix tests, which were broken by the validation reactivation.
* Add 'nodiff' option to fields in the 'defaults' op of hook_locationapi().
- This is needed to unbreak cow after the [#352550] change.
* Unbreak cow, again.
Revision
1.222.2.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 7 22:45:19 2009 UTC
(10 months, 2 weeks ago)
by
bdragon
Branch:
DRUPAL-6--3
Changes since
1.222.2.7: +5 -3 lines
Diff to
previous 1.222.2.7
, to
branch point 1.222
* Fix tests, which were broken by the validation reactivation.
* Add 'nodiff' option to fields in the 'defaults' op of hook_locationapi().
- This is needed to unbreak cow after the [#352550] change.
* Unbreak cow, again.
Revision
1.226 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 6 18:10:20 2009 UTC
(10 months, 2 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.225: +5 -5 lines
Diff to
previous 1.225
API CHANGE! location_api_variant() now returns 2.
location_diff was conflicting with hook_diff(). It has been renamed to location_calc_difference()!
Revision
1.148.2.69 -
(
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.148.2.68: +1 -1 lines
Diff to
previous 1.148.2.68
, to
branch point 1.148
#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.220 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Dec 5 18:08:32 2008 UTC
(11 months, 3 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.219: +0 -81 lines
Diff to
previous 1.219
#300426, part 1: Split off user locations into a seperate module to make it easier to completely disable.
Revision
1.219 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 2 22:50:21 2008 UTC
(11 months, 3 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.218: +13 -2 lines
Diff to
previous 1.218
* Fix [#339471] (reported by theabacus) -- Make province search accept country names.
* Implement multiple country autocomplete.
* Allow location_province_code() to operate on an array of countries.
* Extend autocomplete to handle setting specific classes to join country and province fields together -- should be more robust.
* Switch to using views "force single" stuff for country and province filters.
- If you are having trouble editing country or province filters, please see [#341827]!
* Implement autocomplete for views province filter.
Revision
1.148.2.64 -
(
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.148.2.63: +299 -160 lines
Diff to
previous 1.148.2.63
, to
branch point 1.148
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.218 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 20 19:46:21 2008 UTC
(12 months ago)
by
bdragon
Branch:
MAIN
Changes since
1.217: +298 -160 lines
Diff to
previous 1.217
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.148.2.56 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 23 19:46:07 2008 UTC
(13 months ago)
by
bdragon
Branch:
DRUPAL-5--3
Changes since
1.148.2.55: +36 -8 lines
Diff to
previous 1.148.2.55
, to
branch point 1.148
Better fix for #306171: Pass along criteria to location_save() to ensure that the lid conservation code doesn't reuse a lid tied to a single *other instance*.
This fixes a bug when making a change to a location when adding a revision.
Revision
1.210 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 23 19:44:35 2008 UTC
(13 months ago)
by
bdragon
Branch:
MAIN
Changes since
1.209: +36 -8 lines
Diff to
previous 1.209
Better fix for #306171: Pass along criteria to location_save() to ensure that the lid conservation code doesn't reuse a lid tied to a single *other instance*.
This fixes a bug when making a change to a location when adding a revision.
Revision
1.209 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 23 17:25:29 2008 UTC
(13 months ago)
by
bdragon
Branch:
MAIN
Changes since
1.208: +16 -19 lines
Diff to
previous 1.208
Move requirements checks to the #process handler, where they belong.
This makes using a location_element much easier, and centralizes the code that does required.
Revision
1.148.2.51 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 21 22:46:39 2008 UTC
(13 months ago)
by
bdragon
Branch:
DRUPAL-5--3
Changes since
1.148.2.50: +264 -284 lines
Diff to
previous 1.148.2.50
, to
branch point 1.148
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.205 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 21 21:34:44 2008 UTC
(13 months ago)
by
bdragon
Branch:
MAIN
Changes since
1.204: +260 -278 lines
Diff to
previous 1.204
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.203 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Oct 15 21:40:56 2008 UTC
(13 months, 1 week ago)
by
bdragon
Branch:
MAIN
CVS Tags:
DRUPAL-6--3-0-RC2
Changes since
1.202: +33 -4 lines
Diff to
previous 1.202
Add a function, location_check_coordinates(), to centralize the emptiness checks.
Fix map centering when editing locations with LOCATION_LATLON_UNDEFINED coordinates.
See [#317159]
Revision
1.148.2.47 -
(
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
Changes since
1.148.2.46: +29 -0 lines
Diff to
previous 1.148.2.46
, to
branch point 1.148
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.201 -
(
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.200: +41 -26 lines
Diff to
previous 1.200
* 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.148.2.46 -
(
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.148.2.45: +41 -26 lines
Diff to
previous 1.148.2.45
, to
branch point 1.148
* 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.197 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Sep 29 20:31:20 2008 UTC
(13 months, 3 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.196: +4 -39 lines
Diff to
previous 1.196
Extend token support to use all location fields and simplify the code.
Split token support into its own include file.
Fix views 2 support for location_fax and location_phone.
Revision
1.196 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Sep 29 18:28:37 2008 UTC
(13 months, 3 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.195: +7 -3 lines
Diff to
previous 1.195
Fix how defaults are used when expanding location elements. This eliminates warnings after enabling location_phone / location_fax, and lets 'collection default' work as intended.
Revision
1.193 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Sep 29 15:40:28 2008 UTC
(13 months, 4 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.192: +4 -1 lines
Diff to
previous 1.192
Fix #314835, reported by marcoBauli: Make collapsibility work again. I had accidentally broken this while fixing notices. Additionally, collapsible now works on single-location forms.
Revision
1.181 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Sep 13 00:52:02 2008 UTC
(14 months, 2 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.180: +5 -1 lines
Diff to
previous 1.180
Forward port the comments added to the backport of commit 139463. The scary part is that merge actually did the right thing.
Revision
1.177 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Sep 11 19:59:22 2008 UTC
(14 months, 2 weeks ago)
by
ankur
Branch:
MAIN
Changes since
1.176: +4 -3 lines
Diff to
previous 1.176
Updating _location_expand_location_settings() so that 'Array' doesn't appear
when 'Location Fields' fieldset is rendered in q=admin/content/node-type/[node-type]
Revision
1.168 -
(
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
Changes since
1.167: +86 -16 lines
Diff to
previous 1.167
Provide some feedback for previously geocoded locations.
Allow hiding arbitrary fields on display. (Forward port of commit 138847)
Revision
1.166 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 9 15:55:45 2008 UTC
(14 months, 2 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.165: +45 -37 lines
Diff to
previous 1.165
Add the concept of "virtual fields" to fix the "Module declared field without empty default" error for good.
#287220 by scottgifford, nicholasThompson: Fix regeocoding on removal of user submitted coordinates.
Revision
1.148.2.17 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 9 15:54:06 2008 UTC
(14 months, 2 weeks ago)
by
bdragon
Branch:
DRUPAL-5--3
Changes since
1.148.2.16: +45 -37 lines
Diff to
previous 1.148.2.16
, to
branch point 1.148
Add the concept of "virtual fields" to fix the "Module declared field without empty default" error for good.
#287220 by scottgifford, nicholasThompson: Fix regeocoding on removal of user submitted coordinates.
Revision
1.165 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 9 01:51:03 2008 UTC
(14 months, 2 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.164: +50 -40 lines
Diff to
previous 1.164
Fix XHTML non-compliance issues.
Fix country overriding.
Remove some dead code.
Fix default value for 'additional' field.
Revision
1.148.2.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Aug 18 20:06:54 2008 UTC
(15 months, 1 week ago)
by
bdragon
Branch:
DRUPAL-5--3
Changes since
1.148.2.7: +95 -1 lines
Diff to
previous 1.148.2.7
, to
branch point 1.148
Add some magic to allow using the Drupal 6 tpl.php files on the Drupal 5 version (So I don't have to do everything two different ways.)
Starting off, move the crufty old theme_location to a template.
(Note that this magic does NOT actually depend on phptemplate, so it should continue working even if your theme is not a phptemplate theme.)
Revision
1.159 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Aug 18 18:14:21 2008 UTC
(15 months, 1 week ago)
by
bdragon
Branch:
MAIN
Changes since
1.158: +5 -7 lines
Diff to
previous 1.158
Fix $hide in location theme to work as it used to.
Add a per-country template suggestion to the preprocess.
Revision
1.156 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Aug 6 17:24:22 2008 UTC
(15 months, 3 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.155: +6 -6 lines
Diff to
previous 1.155
#287216 by scottgifford, bdragon: Manipulate locations by reference when geocoding so later modules can make use of the data.
Revision
1.154 -
(
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.153: +3 -19 lines
Diff to
previous 1.153
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.150 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 24 20:52:45 2008 UTC
(16 months ago)
by
bdragon
Branch:
MAIN
Changes since
1.149: +4 -1 lines
Diff to
previous 1.149
#286826, reported by TourTools: Fix problem resaving nodes caused by the existence of the country_name and province_name fields.
Revision
1.147 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 17 16:02:30 2008 UTC
(17 months, 1 week ago)
by
bdragon
Branch:
MAIN
Changes since
1.146: +12 -9 lines
Diff to
previous 1.146
#271454 by grafik, patch by me: Call to undefined function: location_province_list_().
Thanks for the report!
Revision
1.146 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 6 22:15:05 2008 UTC
(17 months, 3 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.145: +2 -5 lines
Diff to
previous 1.145
Don't use variable_get('gmap_user_map', '[gmap|center=0,30|zoom=16|width=100%|height=400px]') for the location chooser map. That's just stupid.
Give it its own variable and set the default to '[gmap]' (i.e. inherit everything).
Revision
1.134 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jun 5 18:37:03 2008 UTC
(17 months, 3 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.133: +1 -84 lines
Diff to
previous 1.133
move some of the megapatch user address book stuff out of the code (into a local file, I still have to take a look at it..)
More LOCATION_PATH removal.
Revision
1.127 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu May 29 21:12:36 2008 UTC
(17 months, 4 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.126: +3 -2 lines
Diff to
previous 1.126
Patch from Patrick Fournier via email:
> 1) Geocoding option is not saved (line 665)
> 2) Postal code value is not displayed in node edit form (line 484)
Thanks!
Revision
1.125 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Mar 8 19:50:31 2008 UTC
(20 months, 2 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.124: +6 -1 lines
Diff to
previous 1.124
#213084 by levonai:
Hack around some bad interactions with usernode.
(This is temporary until I can figure out what's actually happening here.)
Revision
1.122 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Mar 7 20:42:35 2008 UTC
(20 months, 2 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.121: +40 -1 lines
Diff to
previous 1.121
Theme coordinates nicely, inspired by the comments in #217392.
Add a nice way to display DMS as well.
MIT, please get the wireless back up and running!
Revision
1.120 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Mar 7 18:03:25 2008 UTC
(20 months, 3 weeks ago)
by
bdragon
Branch:
MAIN
Changes since
1.119: +30 -10 lines
Diff to
previous 1.119
Allow disabling the display of locative information in teaser and full view on a per content-type basis.
Revision
1.110 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jan 25 03:44:03 2008 UTC
(22 months ago)
by
wundo
Branch:
MAIN
Changes since
1.109: +244 -231 lines
Diff to
previous 1.109
Fixing #214007, by myself.
Breaking location_form_alter in small functions, and also fixing some code style issues.
Revision
1.106 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jan 25 01:26:35 2008 UTC
(22 months ago)
by
bdragon
Branch:
MAIN
Changes since
1.105: +382 -196 lines
Diff to
previous 1.105
FINALLY!
All files have been re-integrated.
I left a few of the added features out or commented out so they can be investigated seperately.
Revision
1.104 -
(
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.103: +1091 -1019 lines
Diff to
previous 1.103
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.100 -
(
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.99: +4 -3 lines
Diff to
previous 1.99
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.94 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 22 22:38:38 2008 UTC
(22 months ago)
by
brmassa
Branch:
MAIN
Changes since
1.93: +11 -190 lines
Diff to
previous 1.93
Misc:
* rename some functions to avoid be called by a external hook call
* moved some functions to location.inc
Revision
1.90 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 22 20:53:29 2008 UTC
(22 months ago)
by
brmassa
Branch:
MAIN
Changes since
1.89: +69 -27 lines
Diff to
previous 1.89
Misc:
* location_latlon_rough() renamed to _ocation_latlon_rough()
* _location_country_configured() renamed to _location_country_enabled()
* Code organization
Revision
1.89 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 22 05:01:09 2008 UTC
(22 months ago)
by
brmassa
Branch:
MAIN
Changes since
1.88: +94 -90 lines
Diff to
previous 1.88
Bugs fixed:
* E_ALL errors
* Wrong form validating on node type settings page
Misc:
* Doxygen documentation
* Code organization