- Feb 25, 2009
-
-
Brandon Bergren authored
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.
-
- Dec 09, 2008
-
-
Brandon Bergren authored
-
Brandon Bergren authored
Don't blindly enable location_user, only enable it if location is already enabled.
-
- Dec 05, 2008
-
-
Brandon Bergren authored
#300426, part 1: Split off user locations into a seperate module to make it easier to completely disable.
-
- Nov 24, 2008
-
-
Brandon Bergren authored
-
Brandon Bergren authored
Put a variable guard on location_update_6304() to make sure it doesn't run if the 5.x version has run already.
-
Brandon Bergren authored
Fix multiple bugs in the last update routine (renumbered so it will rerun for people using the dev release.
-
- Nov 20, 2008
-
-
Brandon Bergren authored
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.)
-
- Oct 21, 2008
-
-
Brandon Bergren authored
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.
-
- Oct 09, 2008
-
-
Brandon Bergren authored
-
Brandon Bergren authored
* 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.
-
- Oct 07, 2008
-
-
Brandon Bergren authored
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.
-
- Oct 03, 2008
-
-
Brandon Bergren authored
Tested on MySQL and PostgreSQL. Please be careful until this code is fully proven!
-
- Sep 09, 2008
-
-
Brandon Bergren authored
Allow hiding arbitrary fields on display. (Forward port of commit 138847)
-
- Aug 18, 2008
-
-
Brandon Bergren authored
Convert any non node/user locations into genids during update. This fixes a 3.0 release blocking todo in the installer.
-
- Aug 06, 2008
-
-
Brandon Bergren authored
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.
-
- Jul 24, 2008
-
-
Brandon Bergren authored
-
- Jun 05, 2008
-
-
Brandon Bergren authored
-
Brandon Bergren authored
-
- Mar 21, 2008
-
-
Brandon Bergren authored
-
- Mar 06, 2008
-
-
Brandon Bergren authored
-
Brandon Bergren authored
-
- Feb 04, 2008
-
-
Brandon Bergren authored
Split out a seperate cache table for the location search cache.
-
- Jan 24, 2008
-
-
Brandon Bergren authored
-
Brandon Bergren authored
Comment out the "new" update until I can verify that it was actually TESTED IN POSTGRESQL :-/
-
Brandon Bergren authored
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.
-
Brandon Bergren authored
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.
-
- Jan 23, 2008
-
-
Bruno Massa authored
* #116599 by dww: need to check that views module is present during install
-
Bruno Massa authored
* #213248 by dww: location_update_2() doesn't return an array
-
- Jan 22, 2008
-
-
Bruno Massa authored
* rename $ret to $update on .install
-
Bruno Massa authored
* #213029 by lodewijk.loos: database index field
-
- Jan 21, 2008
-
-
Bruno Massa authored
* 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
-
Bruno Massa authored
* Brand new installer Misc: * Better doxygen documentation
-
Brandon Bergren authored
Pull DRUPAL-5 up to HEAD. HEAD is now the development branch up to 3.0.
-
- Mar 26, 2007
-
-
Dan Karran authored
#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
-
- Jan 11, 2007
-
-
Ankur Rishi authored
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 )
-
- Jan 05, 2007
-
-
Ankur Rishi authored
Twas only a 60 KB patch!
-
- Dec 05, 2006
-
-
Ankur Rishi authored
-
Ankur Rishi authored
to 'eid' since 'oid' is a reserved word in pgsql. Patch courtesy of drupal.org user 'sammys' (see http://drupal.org/node/37006 ).
-
- Sep 15, 2006
-
-
http://drupal.org/node/79015Ankur Rishi authored
-