Tom Hughes
|
ed68d524de
|
Use a local lookup table for country bounding boxes rather than relying
on geonames.org being able to do it in a reasonable time.
|
2009-05-11 16:50:09 +00:00 |
|
Tom Hughes
|
f9fee045ac
|
Add missing requires for the migration helper core.
|
2009-05-08 08:12:26 +00:00 |
|
Tom Hughes
|
6785911619
|
Fix bogus casts - lat/lon are signed.
|
2009-05-08 08:10:28 +00:00 |
|
Tom Hughes
|
55b1ba32e5
|
Add postgres implementation of tile_for_point function.
|
2009-05-08 08:01:33 +00:00 |
|
Tom Hughes
|
a0a6dd3619
|
Add yet more foreign keys.
|
2009-05-08 00:03:40 +00:00 |
|
Tom Hughes
|
3404fd5bbe
|
Add foreign key constraints for users.
|
2009-05-07 17:54:52 +00:00 |
|
Tom Hughes
|
869da5e228
|
Add some extra indexes to the changesets table.
|
2009-04-20 14:54:05 +00:00 |
|
Tom Hughes
|
7c791f302c
|
Add changeset indexes to nodes, ways and relations.
|
2009-04-20 13:39:20 +00:00 |
|
Tom Hughes
|
c4f937f099
|
Add a user index to the changeset table.
|
2009-04-20 13:31:57 +00:00 |
|
Tom Hughes
|
a4de927a28
|
Handle differences in interval constant formatting.
|
2009-04-16 20:47:18 +00:00 |
|
Shaun McDonald
|
90ec90f13d
|
reverting last change, which included posgres config specific things
|
2009-04-13 00:10:37 +00:00 |
|
Shaun McDonald
|
2c52b06716
|
Remove duplication that is in the test helper. Adding tests for the passing of no content, and the wrong method used. Also ensuring that there has been a changeset added to the db when it is created.
|
2009-04-13 00:04:24 +00:00 |
|
Shaun McDonald
|
0f25285ab6
|
More tests, found a bug in the data browser, no fix yet. Fix db readme. Don't show the signup page to logged in users, by redirecting them to the home page. Remove unnessesary begin blocks in the browse controller.
|
2009-04-12 23:20:31 +00:00 |
|
Tom Hughes
|
9c0f288bb7
|
Explicitly set the default for home_lat and home_lon to null.
|
2009-04-09 17:11:04 +00:00 |
|
Tom Hughes
|
7fff6361c1
|
Use the inet type for IP addresses in postgres.
|
2009-04-09 15:17:12 +00:00 |
|
Tom Hughes
|
2e1414b229
|
Fix primary key creation for ACL table.
|
2009-04-09 15:09:38 +00:00 |
|
Tom Hughes
|
ea7938dd89
|
Use pg_config to find postgres.
|
2009-04-09 14:47:41 +00:00 |
|
Thomas Wood
|
63474e1f50
|
Fix readme instructions for module compilation
|
2009-04-09 14:16:13 +00:00 |
|
Tom Hughes
|
81835c55a0
|
Commit ACL related files from earlier merges as svn merge seems to
neglected to add them...
|
2009-03-08 16:13:00 +00:00 |
|
Tom Hughes
|
c8ee135104
|
Merge 12304:14009 from trunk.
|
2009-03-08 13:02:37 +00:00 |
|
Tom Hughes
|
10b71ba2f6
|
Add an ACL system to allow key/value pairs to be attached to blocks
of IP addresses, and implement an ACL restriction that allows account
creation to be blocked.
|
2009-02-19 13:47:43 +00:00 |
|
Shaun McDonald
|
721dd9c27d
|
resync from rails_port 11795:12304
|
2008-12-12 19:29:27 +00:00 |
|
Tom Hughes
|
66a2558e65
|
Add some extra indexes.
|
2008-12-12 15:43:02 +00:00 |
|
Matt Amos
|
a90be5e69a
|
Migration to add close-time to changesets. This replaces the boolean 'open' attribute. Added checks to ensure that the maximum lifetime and number of changes in a changeset are enforced. Added some tests.
|
2008-11-17 19:00:01 +00:00 |
|
Andy Allan
|
d717f2d02a
|
Postgres adapter, and make migration 022 db-agnostic
|
2008-11-10 19:14:00 +00:00 |
|
Matt Amos
|
e79fd07638
|
Made relations ordered. Added some tests for this. Otherwise interface is unchanged.
|
2008-11-10 15:41:05 +00:00 |
|
Andy Allan
|
4adeeb51ad
|
remove indexes before renaming tables (some dbs have database-level index namespaces) and unsigned is also a mysqlism
|
2008-11-09 19:30:22 +00:00 |
|
Andy Allan
|
051f20e277
|
migrations: add specific method for nodes/ways/relations enum column
|
2008-11-09 16:11:42 +00:00 |
|
Andy Allan
|
ebbc770cbf
|
move index dropping to remove_index method
|
2008-11-09 11:19:46 +00:00 |
|
Daniel Silverstone
|
4f15f59267
|
Update DB readme for PgSQL a bit
|
2008-11-09 10:41:48 +00:00 |
|
Daniel Silverstone
|
509b8d5207
|
CREATE FUNCTION statement for pgsql
|
2008-11-08 19:21:03 +00:00 |
|
Daniel Silverstone
|
ee656dd1f3
|
Support building a postgresql binding for maptile_for_point
|
2008-11-08 19:18:22 +00:00 |
|
Andy Allan
|
550ce43250
|
move fulltext indexes to monkeypatch, since not all dbs have a fulltext analogue
|
2008-11-08 18:44:38 +00:00 |
|
Andy Allan
|
91374368fa
|
Move db engine changing into db adaptor monkeypatch
|
2008-11-08 18:04:36 +00:00 |
|
Andy Allan
|
c19d1b406b
|
last of the auto_increments removed from the migrations
|
2008-11-08 17:39:16 +00:00 |
|
Andy Allan
|
9432e7ce27
|
Fixing boo-boo in r11802 - but you can assign integers to booleans on all dbs
|
2008-11-08 17:08:51 +00:00 |
|
Andy Allan
|
fc9046ce6f
|
Moving AUTO_INCREMENTs to monkeypatching. Seems a bit hacky though
|
2008-11-08 16:47:02 +00:00 |
|
Andy Allan
|
061d777266
|
Boolean correctness in migrations
|
2008-11-08 15:01:14 +00:00 |
|
Andy Allan
|
204fa87064
|
move bigint_pk id column into table def, no need to be an add_column
|
2008-11-08 12:30:42 +00:00 |
|
Shaun McDonald
|
fb627873c2
|
fixing one cmd that was missed in the resync
|
2008-11-08 12:16:42 +00:00 |
|
Shaun McDonald
|
bf29550db8
|
Resyncing from head 10895:11795
|
2008-11-08 11:52:58 +00:00 |
|
Andy Allan
|
e598ee220f
|
Change bigint id column to monkeypatching-friendly syntax
|
2008-11-08 11:01:39 +00:00 |
|
Shaun McDonald
|
748a7a0a03
|
fix the indentation only
|
2008-11-07 15:08:43 +00:00 |
|
Shaun McDonald
|
6855b2604c
|
Doing the update version part of the migration in chunks of 10000 instead of all at once so that MySQL doesn't choke with running out of table locks.
|
2008-11-06 17:15:22 +00:00 |
|
Shaun McDonald
|
ee1da78649
|
Fixing the migration so that it will better match the live databetter.
|
2008-11-05 18:42:38 +00:00 |
|
Shaun McDonald
|
0ca779e5bd
|
Minor fix (integer => bigint) to one of the migrations so that they will run fully again.
|
2008-11-04 13:54:45 +00:00 |
|
Shaun McDonald
|
136c5a7bf1
|
Fixing the error messages
|
2008-10-22 09:40:16 +00:00 |
|
Tom Hughes
|
2ccbc55236
|
Log the IP address used to create an account.
|
2008-10-12 23:20:28 +00:00 |
|
Shaun McDonald
|
328d47e506
|
Fixing a bug in my foreign keys. I can now upload and download nodes and ways using JOSM in the new API.
|
2008-10-03 17:09:58 +00:00 |
|
Shaun McDonald
|
d19076d0ed
|
wrong foreign key command in the migration
|
2008-09-30 15:52:54 +00:00 |
|