Skip to content
  1. Nov 20, 2008
    • Brandon Bergren's avatar
      OK, I've been sitting on this MUCH longer than is comfortable. · 2b771e20
      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.)
      2b771e20
  2. Oct 21, 2008
    • Brandon Bergren's avatar
      A) Clean up a bunch of duplication and centralize the way location settings are handled. · dc57b3f8
      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.
      dc57b3f8
  3. Oct 09, 2008
    • Brandon Bergren's avatar
    • Brandon Bergren's avatar
      * Add function location_province_code(). · 42e9eb5c
      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.
      42e9eb5c
  4. Oct 07, 2008
  5. Oct 03, 2008
  6. Sep 09, 2008
  7. Aug 18, 2008
  8. Aug 06, 2008
  9. Jul 24, 2008
  10. Jun 05, 2008
  11. Mar 21, 2008
  12. Mar 06, 2008
  13. Feb 04, 2008
  14. Jan 24, 2008
  15. Jan 23, 2008
  16. Jan 22, 2008
  17. Jan 21, 2008
    • Bruno Massa's avatar
      Bugs Fixed: · ce138046
      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
      ce138046
    • Bruno Massa's avatar
      New features: · ab8b928c
      Bruno Massa authored
      * Brand new installer
      
      Misc:
      * Better doxygen documentation
      ab8b928c
    • Brandon Bergren's avatar
      Start of a new era. · 9f0c0674
      Brandon Bergren authored
      Pull DRUPAL-5 up to HEAD.
      
      HEAD is now the development branch up to 3.0.
      9f0c0674
  18. Mar 26, 2007
  19. Jan 11, 2007
  20. Jan 05, 2007
  21. Dec 05, 2006
  22. Sep 15, 2006
  23. Apr 22, 2006
  24. Mar 31, 2006