Commit graph

272 commits

Author SHA1 Message Date
Gabriel Ebner
26fb51c86e rails_port_0.5: Merge rails_port. 2007-09-29 17:44:17 +00:00
Tom Hughes
61dd59712e Rescale GPS points correctly when downgrading from v5 to v4. 2007-09-28 23:33:32 +00:00
Tom Hughes
e7d834625c Fall back to a pure ruby update implementation if the tile_for_point
function is not present in MySQL.
2007-09-28 23:18:13 +00:00
Tom Hughes
05602fc9d7 Fall back to adding tile numbers the hard way if the MySQL function is
not available.
2007-09-28 18:32:11 +00:00
Tom Hughes
dd9ad16303 Document installation of database functions on MacOS X. 2007-09-28 14:57:31 +00:00
Frederik Ramm
4bbe59a0c4 added tagging of two-node ways created from tagged or unwayed segments. untested. 2007-09-26 09:54:49 +00:00
Gabriel Ebner
b66ae59f33 rails_port_0.5: Add the index before loading the data as suggested by Tom Hughes. 2007-09-24 13:31:11 +00:00
Frederik Ramm
1ac9ea1f06 removed LOCAL from LOAD DATA INFILE 2007-09-24 09:32:16 +00:00
Frederik Ramm
06a3213acd added with=4 to list of uninteresting tags, also source=PGS* (was: source=PGS exactly) 2007-09-24 09:11:33 +00:00
Gabriel Ebner
0f91ad8966 rails_port_0.5: Merge rails_port r4664. 2007-09-23 20:37:16 +00:00
Tom Hughes
cb71c6d57f Add migration for quadtiling of node tables. 2007-09-23 13:42:56 +00:00
Gabriel Ebner
05a2bd6b46 rails_port_0.5/007_remove_segments_helper: Only convert segments that don't have the same tags as their way. 2007-09-20 15:14:25 +00:00
Gabriel Ebner
cfbdd3f7e1 Merge rails_port as of r4613 & fix tests. 2007-09-20 14:37:29 +00:00
Tom Hughes
9afb35449b Change the gps_points table to store latitude and longitude values to
seven decimal places to given a worse case precision of about 1cm.
2007-09-18 23:29:47 +00:00
Tom Hughes
62dfa5ff45 Make the tile ID column unsigned as intended. 2007-09-18 23:06:40 +00:00
Tom Hughes
ebef7b8009 Add a migration to upgrade gps_points for quad tile support. 2007-09-12 17:59:48 +00:00
Tom Hughes
b1a0e5ae8b Make the MySQL tile_for_point function take arguments in the same order
as the ruby version.
2007-09-12 17:46:03 +00:00
Gabriel Ebner
7958b37bc9 rails_port_0.5/006_remove_segments_helper: Ignore more tags when deciding which segments to convert. 2007-09-12 14:08:42 +00:00
Tom Hughes
33a65a90c9 QuadTile infrastructure. 2007-09-11 23:55:25 +00:00
Gabriel Ebner
3e18c51695 rails_port_0.5: 006_remove_segments:
- Don't run the helper if there are no segments.
- s/DELETE FROM/TRUNCATE/
2007-08-30 17:23:34 +00:00
Gabriel Ebner
8947ff2181 rails_port: Fix warnings in 006_remove_segments_helper. 2007-08-30 14:54:36 +00:00
Frederik Ramm
60e990790d some changes suggested by TomH / yet untested 2007-08-29 23:07:54 +00:00
Frederik Ramm
78b440ffc1 preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
Tom Hughes
0a8c26e596 Various updates to the user management, including the creation of a
preferences table and moving tokens into a tokens table so that a user
can have more than one.
2007-08-14 23:07:38 +00:00
Tom Hughes
87a673e74c Add migration to create session table in the database. 2007-07-30 22:59:20 +00:00
Tom Hughes
f601f014ca New database migration to cleanup lots of things. 2007-07-29 19:30:11 +00:00
Tom Hughes
69f364bb78 Enhacements to the migration library code. 2007-06-24 16:00:46 +00:00
Tom Hughes
a3ad9912d5 Primary keys can't have names so don't pretend otherwise. 2007-06-24 11:38:35 +00:00
Tom Hughes
f042a797c6 Move common support code from the base migration to a library file where
it can be used by other migrations.
2007-06-24 11:25:26 +00:00
Tom Hughes
18d40684ca Remove old create_database.sql script as it no longers matches the
database and everything should be done with migrations now.
2007-06-24 11:14:29 +00:00
Tom Hughes
2dd9538183 Fixup the base migration so that it creates a database which matches the
one on the live server.
2007-06-22 11:10:10 +00:00
Nick Black
5316d90662 changed to migrations and updated readme 2007-05-07 15:22:15 +00:00
Steve Coast
7a36f26a19 add a big fat warning 2007-05-06 10:22:39 +00:00
Steve Coast
66df1e9749 update current schema 2007-05-06 10:21:58 +00:00
Steve Coast
48183e2d53 arghhhhhhhhh untested rails code and SQL fixed 2007-05-06 10:20:40 +00:00
Nick Black
20e02f42dc messaging stuff and home location selection 2007-05-05 16:05:00 +00:00
Nick Black
7bcda2794f resolved user.rb conflict 2007-05-05 14:24:08 +00:00
Nick Black
078301a780 messaging stuff 2007-05-05 12:29:44 +00:00
Nick Black
c9ffb0e45c fixed a mistake in migrate.sql - all is well now 2007-05-01 12:01:39 +00:00
Nick Black
8bd09c0828 map view defaults to a home lat and lon 2007-04-30 09:57:54 +00:00
Nick Black
60a294c40e Added user home lat and lon 2007-04-26 09:01:03 +00:00
Nick Black
61ae5e7af0 Fixed up name search and postcode search 2007-04-25 08:12:20 +00:00
Jochen Topf
1f8bf07464 fixed typos 2007-04-14 11:51:41 +00:00
Steve Coast
f498a9287a various diary bits 2007-04-07 20:12:35 +00:00
Steve Coast
f9baf5f392 diary / user bits 2007-04-07 19:50:55 +00:00
Steve Coast
3aabf07e10 user bits 2007-04-07 19:33:20 +00:00
Steve Coast
4434bac3b4 gpx import now fully works 2007-04-07 14:06:26 +00:00
Steve Coast
a61e2ed690 allow a user to make data public 2007-04-07 11:48:20 +00:00
Steve Coast
c382f33e1c various user bits 2007-04-07 11:40:43 +00:00
Dan Moore
d07277efba API 0.4 Updates - work on traces pages + pagination, edit tab, some API testing
* traces - added some routes, replicated data access / pagination, but presentation and pending file control not complete
* edit - setup so that applet can be loaded + token authorisation enabled
* API - tests out ok against applet, but had to change segment-node associations
* misc - gems version required upgraded to 1.2.3 (latest stable rails version), changed some find_first to find(:first... calls
2007-03-23 23:13:19 +00:00