Commit graph

1358 commits

Author SHA1 Message Date
Shaun McDonald
797cbaab1e Covering the case of an entry not being found. More diary entry tests. 2008-11-12 18:48:58 +00:00
Frederik Ramm
ad9e48120a replaced "wtf does this do" comment by something explaining what it does. 2008-11-12 00:11:57 +00:00
Shaun McDonald
22f3d7ce2e more diary entry test 2008-11-11 18:33:08 +00:00
Shaun McDonald
995c9df195 more diary entry tests, and a minor fix to the relation member that makes the code a bit more readable. 2008-11-11 18:07:59 +00:00
Shaun McDonald
f3e382732a slight more work on the diary test 2008-11-10 19:21:59 +00:00
Andy Allan
d717f2d02a Postgres adapter, and make migration 022 db-agnostic 2008-11-10 19:14:00 +00:00
Andy Allan
9f64b0848f nil protection - mysql however has a default for enums, which is why it wasn't a problem before 2008-11-10 17:10:55 +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
Matt Amos
0be6dd860f Ooops, forgot to commit the routes for the changeset query and include calls. 2008-11-10 15:37:34 +00:00
Andy Allan
f2093eb4c4 boolean correctness 2008-11-10 11:47:20 +00:00
Andy Allan
e1dde5cffc forgot the test change from 11866 2008-11-10 11:39:10 +00:00
Andy Allan
fc99863df9 In YAML yes is a boolean keyword: also fix test that was erroneously asserting success 2008-11-10 11:32:17 +00:00
Richard Fairhurst
3065af398d 0.6-friendly Potlatch (work in progress). DO NOT SET POTLATCH_USE_SQL=false as it won't work 2008-11-09 23:50:03 +00:00
Shaun McDonald
5ed41857f7 adding first integration for testing user diaries, as multiple controllers are required. more work required. 2008-11-09 19:51:56 +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
Dave Stubbs
2aa3daf0e0 amf get*_history tests and related fixes 2008-11-09 18:48:16 +00:00
Dave Stubbs
436470b057 a few more amf tests and associated bug fixes 2008-11-09 17:41:38 +00:00
Shaun McDonald
b6c354b31b fixing the tests due to a osm -> diffChange and moving to floats 2008-11-09 16:49:27 +00:00
Dave Stubbs
322d293007 update nodes/ways/relation XML to include user id as well as display name 2008-11-09 16:43:09 +00:00
Frederik Ramm
81ca9cfabf return user id AND name with changeset get request 2008-11-09 16:12:23 +00:00
Andy Allan
051f20e277 migrations: add specific method for nodes/ways/relations enum column 2008-11-09 16:11:42 +00:00
Frederik Ramm
c02c516047 fix SCALE, make changeset GET use floats 2008-11-09 15:52:10 +00:00
Frederik Ramm
9263c5500c require auth for close 2008-11-09 13:44:08 +00:00
Harry Wood
2a20c57a8e cosmetic tweaks to 'login' and 'create account' screens 2008-11-09 12:17:53 +00:00
Frederik Ramm
5ff5bf60e5 mini fix 2008-11-09 12:06:05 +00:00
Frederik Ramm
b64fc35140 make diff upload result a "diffResult" rather than "osm" document 2008-11-09 11:30:03 +00:00
Andy Allan
ebbc770cbf move index dropping to remove_index method 2008-11-09 11:19:46 +00:00
Shaun McDonald
771a4e5be3 bumping the version of composite primary keys for the amf controler as there are bugs in it 2008-11-09 11:13:10 +00:00
Harry Wood
e26348fc18 oops remove my test 2008-11-09 10:57:05 +00:00
Daniel Silverstone
4f15f59267 Update DB readme for PgSQL a bit 2008-11-09 10:41:48 +00:00
Frederik Ramm
7a3f7bc2dd fix accidental commit of local config changes 2008-11-08 19:55:13 +00:00
Frederik Ramm
79420631ce fix version number return for "modify" sections of diff uploads 2008-11-08 19:43:31 +00:00
Dave Stubbs
eebadd141a 1st amf_controller tests, and some basic sanity check fixes 2008-11-08 19:41:29 +00:00
Daniel Silverstone
9e354f1b0f Ignore the bits in tmp/ 2008-11-08 19:33:41 +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
Harry Wood
43b3998657 cosmetic tweaks to user settings form + move 'Mapper since' field onto user profile view 2008-11-08 19:03:25 +00:00
Andy Allan
46c0e364ee correcting typo on gps_points fixtures 2008-11-08 18:59:06 +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
Harry Wood
40b5b876f8 message with a logo and link to Contact page 2008-11-08 16:41:51 +00:00
Andy Allan
061d777266 Boolean correctness in migrations 2008-11-08 15:01:14 +00:00
Daniel Silverstone
7d786c32ed Make the confrm button into a confirm button 2008-11-08 14:11:45 +00:00
Matt Amos
22005a38a6 Error message for version mismatch is now more informative. 2008-11-08 14:07:34 +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