Tom Hughes
7d9bf3634c
Work around the fact that exists? no longer works for models with
...
no primary key.
2008-06-07 22:40:39 +00:00
Tom Hughes
e8293baf8f
Let's have one last try...
2008-06-07 00:03:27 +00:00
Tom Hughes
d29defa7cc
Magic foo to make composite_primary_keys work.
2008-06-06 23:53:20 +00:00
Tom Hughes
e7346e5903
Go back to rails 2.0.2 for now as 2.1.0 doesn't quite work...
2008-06-06 23:32:21 +00:00
Tom Hughes
4fc6b982dd
Switch to rails 2.1.0 release.
2008-06-06 23:17:56 +00:00
Tom Hughes
cdf12b7a33
Don't use comma to separate values in the location cookie, as rails 2.0.2 will
...
treat comma (as well as semicolon) as a cookie separate. Also change the name
of the location cookie to avoid problems parsing old ones.
2008-06-05 23:27:52 +00:00
Tom Hughes
e2539b7126
Switch to rails 2.0.2 as Debian/Ubuntu is able to handle it now.
2008-06-05 23:06:29 +00:00
Tom Hughes
91bcc44021
Make sure the diary tab always links to the global diary rather than
...
a specific user's diary. Closes #956 .
2008-06-05 21:20:30 +00:00
Shaun McDonald
98e11d164f
Removing id's so that the ids are generated, and it makes it easier to deal with referential tests. Now have messages and users with basic tests. Using http://api.rubyonrails.com/classes/Fixtures.html .
2008-06-04 16:35:00 +00:00
Shaun McDonald
f58fb85e03
improved messages fixtures. Additional user fixture (for sending messages between the users). Checking that an empty message fails.
2008-06-04 06:48:49 +00:00
Tom Hughes
2829bf79d0
Cope with not having a layer configuration at all.
2008-06-03 15:12:46 +00:00
Shaun McDonald
abb93de627
Adding some additional node fixtures to test edge cases. Having a bit of an issue as the too far north and south tests aren't working as expected, even so the too far east and west ones are.
2008-06-02 17:27:32 +00:00
Shaun McDonald
f97c16d5c4
You can now test nodes. This test needs looked at again, as it currently doesn't test the node tags
2008-06-02 15:28:03 +00:00
Shaun McDonald
b8a7d956bf
Fixing indentation
2008-06-02 15:22:17 +00:00
Shaun McDonald
0c2d503f1e
Fixing indentation
2008-06-02 15:13:29 +00:00
Tom Hughes
c25a20ff13
Don't try and parse an empty string as a layer config, and cope a bit
...
better if we do hit the end of the string. Closes #942 .
2008-06-02 12:45:24 +00:00
Shaun McDonald
c373220bd2
sort the default test database user and password.
...
Adding new test for the user
2008-06-02 11:00:09 +00:00
Tom Hughes
48000eb09a
Require a form post to finally confirm an account to stop
...
accidental confirmations.
2008-05-29 20:43:58 +00:00
Richard Fairhurst
b8569b1e13
fix node relations bug (thanks Dave!)
2008-05-29 19:58:05 +00:00
Richard Fairhurst
af8fee92f0
Potlatch 0.9c
2008-05-29 01:18:38 +00:00
Tom Hughes
f053c84723
Improve the layout of the browse sidebar a bit.
2008-05-28 23:46:55 +00:00
Tom Hughes
88105d9c64
Merge 7744:7922 from trunk.
2008-05-28 16:37:31 +00:00
Richard Fairhurst
fc98b97e59
Potlatch 0.9b
2008-05-25 08:17:16 +00:00
Richard Fairhurst
6e30a771e5
temporarily disable OAM (SWF)
2008-05-21 15:20:55 +00:00
Richard Fairhurst
764d08ff6f
don't set _alpha so often when ways dimmed (SWF)
2008-05-21 12:01:56 +00:00
Tom Hughes
436012c697
Make the layer attribute a bit less fragile - base layers and overlays are
...
now treated separately so that adding a new base laser doesn't break things.
2008-05-20 23:37:06 +00:00
Shaun McDonald
de5e96585b
Add a check to make sure that a node/way/relation doesn't already exist in the relation as part of the preconditions. closes #718
2008-05-20 15:25:18 +00:00
Tom Hughes
e758e520e7
Make the "larger map" link on an HTML export point at the right layer.
2008-05-19 10:00:52 +00:00
Tom Hughes
0623e88d39
Add the cycle map to the main site.
2008-05-19 09:57:58 +00:00
Tom Hughes
a401b59242
Yet another at fixing the layout of the search box. Seems to work now
...
on FF2, IE7, Operand and Safari though we are giving space away on FF.
2008-05-16 10:42:51 +00:00
Richard Fairhurst
889ee9e368
fix revert to cope with moved nodes properly (OH NOES I updated some SQL)
2008-05-16 10:32:53 +00:00
Tom Hughes
f08c9de073
Reword the noscript section a bit.
2008-05-16 10:09:55 +00:00
Tom Hughes
1ea1c62d15
Try and make browsers display the search box sanely.
2008-05-16 10:06:57 +00:00
Shaun McDonald
1f59ad76ef
Showing a nice message for browsers with javascript disabled. closes #36
2008-05-16 09:44:50 +00:00
Tom Hughes
18777b41ea
Tidy up map browse code and qualify various global names to avoid
...
any risk of conflicts.
2008-05-15 16:57:34 +00:00
Tom Hughes
e62eacd8d3
Remove bogus action attribute from the submit button - it should have
...
no effect as there is no such attribute defined, but Opera seems to
decide that it should post the form to that URL instead of the one
give on the form element.
2008-05-15 09:34:45 +00:00
Gabriel Ebner
5cc8afd896
api06: remove debugging output.
2008-05-13 13:42:03 +00:00
Gabriel Ebner
d96f238801
api06: simplify diff uploading.
2008-05-13 13:24:31 +00:00
Gabriel Ebner
866c3ff782
api06: diff upload: don't read the whole request into memory.
...
Note: libxml-ruby-0.5.4 will segfault on this:
https://rubyforge.org/tracker/index.php?func=detail&aid=20117&group_id=494&atid=1971
2008-05-13 12:53:59 +00:00
Gabriel Ebner
e823ce2fc4
api06: Fix OSM::APIVersionMismatchError.render_opts
2008-05-13 12:32:43 +00:00
Gabriel Ebner
2ff2cdf63d
api06: fix syntax errors.
2008-05-13 12:27:38 +00:00
Gabriel Ebner
7151fa05e4
api06: simplify exception handling and add exception handling to the diff
...
upload.
2008-05-13 12:15:06 +00:00
Christopher Schmidt
4a9ee4c736
The ordering of these shouldn't have mattered, but it did, because I didn't put a regex filter on my :id, so "upload" was being treated as an ID (which clearly wouldn't work); This fix obviates the need for r7789, sorry about that.
2008-05-12 21:12:30 +00:00
Gabriel Ebner
cddded9569
api06: Fix typo.
2008-05-12 21:11:51 +00:00
Gabriel Ebner
ea1961e3ce
api06: s/delete_with_relations_and_history/delete_with_history/g
2008-05-12 21:10:38 +00:00
Gabriel Ebner
86b4d1bc2c
api06: Move version-checking into the models, raising an exception on mismatch
...
(still not implemented for delete requests though.)
2008-05-12 21:05:11 +00:00
Gabriel Ebner
ec916b7429
api06: Make diff uploading work again.
2008-05-12 20:43:35 +00:00
Richard Fairhurst
f365881a62
splash screen
2008-05-12 10:18:57 +00:00
Christopher Schmidt
697449d6f1
node.tags is now (apparently) the same as tags_as_hash.
2008-05-12 01:22:04 +00:00
Christopher Schmidt
322f3d7576
make error_message spit out the message text to the user as well as
...
putting it in the header.
2008-05-11 23:12:54 +00:00