Steve Coast
ec264a935e
nicer fix I think for nil / [] issue
2008-03-21 20:30:16 +00:00
Steve Coast
1f857565a6
more madness
2008-03-21 20:21:49 +00:00
Richard Fairhurst
740511066f
fix problem with blank areas throwing a 500
2008-03-21 20:17:56 +00:00
Richard Fairhurst
d2c9ea6cf0
fix problem with blank areas throwing a 500
2008-03-21 19:49:09 +00:00
Richard Fairhurst
112950ca3a
various relations fixes
2008-03-21 19:00:39 +00:00
Richard Fairhurst
4a5fb3b46e
restore Steve's deleteway stuff
2008-03-19 10:39:50 +00:00
Richard Fairhurst
ae142c554b
Potlatch 0.8 - be afraid, be very, very afraid
2008-03-19 01:03:51 +00:00
Frederik Ramm
d0aa199e92
- add old_relation_controller and stuff so that relation history works. fixes #557 .
...
- minor testing fixes.
2008-03-16 23:16:18 +00:00
Tom Hughes
a03c584a98
Resize the map div when the page load is complete (via onload) in case the
...
page layout has changed since the initial sizing by the deferred script.
2008-03-07 00:26:57 +00:00
Tom Hughes
c0d2ad40c3
Work round ruby's half assed Tempfile class which, because for some
...
reason it is implemented by delegating to File (by inheriting from
DelegateClass(File)) rather than by inheriting from it, does not
actually look like a File, and hence does not look like an IO (in
that it does not respond to kind_of? IO calls).
In ruby 1.8.5 this doesn't matter as REXML checks that the source
it has been given responds to the methods it wants (using respond_to?
which is handled properly by DelegateClass) but in 1.8.4 which we
are running on rails2 REXML uses kind_of? to see if the source is
one it can use.
2008-03-06 12:43:10 +00:00
Tom Hughes
58082d128a
Fix typo.
2008-03-04 21:24:14 +00:00
Tom Hughes
a473b4ebd9
Use defer="defer" rather than onload to try and speed up page loading.
2008-03-04 18:18:59 +00:00
Tom Hughes
789c6343d9
Yet more escaping.
2008-03-04 17:57:51 +00:00
Tom Hughes
c5f93e3ea0
More escaping.
2008-03-04 17:53:36 +00:00
Tom Hughes
2a061fb5a9
Escape page title.
2008-03-04 17:51:42 +00:00
Tom Hughes
a6089e5355
More display name escaping.
2008-03-04 16:53:08 +00:00
Tom Hughes
0d70728fe2
Escape user display names.
2008-03-04 16:51:13 +00:00
Tom Hughes
cf8bd08a66
Escape user names in diary views.
2008-03-04 16:49:12 +00:00
Tom Hughes
6c15eb7251
Disable the NameFinder and fix cut'n'paste error.
2008-02-26 21:50:53 +00:00
Tom Hughes
3acada409a
Get the user image right this time...
2008-02-25 18:55:25 +00:00
Tom Hughes
ebe13d2849
Close tag properly.
2008-02-24 17:39:55 +00:00
Tom Hughes
32907b1c37
Display the image of the user who made the diary entry, not that of
...
the currently logged in user...
2008-02-24 17:38:50 +00:00
Tom Hughes
1c6a83f0e8
Fix stupid breakage. Closes #708 .
2008-02-24 13:43:42 +00:00
Steve Coast
bb510b8ff4
encourage people to set location
2008-02-23 16:49:08 +00:00
Steve Coast
d1f2b4ece9
remove deleteway logic from amf_controller (yay!) TomH: check with RichardF this is sane before deploying. worksforme.
2008-02-23 16:05:45 +00:00
Tom Hughes
5a6f4c5690
Use named constants for HTTP response codes.
2008-02-23 15:35:49 +00:00
Tom Hughes
071b0be241
Use named constants for HTTP response codes.
2008-02-23 15:35:14 +00:00
Steve Coast
cacf1879c3
user images
2008-02-23 15:18:59 +00:00
Steve Coast
2e44f9ccf3
User prference system basically done
2008-02-23 13:37:36 +00:00
Tom Hughes
331cf6b068
Make maps deeper to allow the pan/zoom bar visible.
2008-02-23 12:52:57 +00:00
Tom Hughes
dffc16e9cc
Make the slippy map on the user page deper so that the whole of the
...
pan/zoom bar is visible. Closes #705 .
2008-02-23 12:49:29 +00:00
Steve Coast
e13337354d
preference stuff
2008-02-23 11:12:42 +00:00
Richard Fairhurst
588a65c2b2
Reject 0/1-length ways.
2008-02-19 18:06:26 +00:00
Tom Hughes
4f33014464
Use FileUtils.mv instead of File.rename as it will do a copy+delete when
...
the source and target are not on the same filesystem. Closes #670 .
2008-02-07 23:53:20 +00:00
Richard Fairhurst
dd396a773e
unbreak undelete
2008-02-06 22:43:14 +00:00
Tom Hughes
0f11fd9995
Use a lower zoom level for partial postcode matches.
2008-02-05 19:14:33 +00:00
Tom Hughes
5fbc8ad3f4
Send email notifications when people comment on diary entries. Closes #655 .
2008-02-04 00:15:28 +00:00
Tom Hughes
276f165f3f
Explain why we don't include the nodes in the way load.
2008-02-03 16:31:50 +00:00
Tom Hughes
02f768533d
Don't preload nodes as it seem to break ways with duplicate nodes.
2008-02-03 16:28:02 +00:00
Richard Fairhurst
88f469eec1
fix for resizable Potlatch
2008-02-03 16:11:24 +00:00
Tom Hughes
9ff462e96c
Remove pointless return statement.
2008-02-03 15:55:19 +00:00
Tom Hughes
d0d396f9b6
Fix indentation.
2008-02-03 15:38:53 +00:00
Tom Hughes
962573431e
Move in_world? to GeoRecord model and correct comment.
2008-02-03 15:38:44 +00:00
Tom Hughes
d04c6d6ccd
Optimise the Potlatch whichways and getway calls a bit.
2008-02-03 12:56:25 +00:00
Richard Fairhurst
da76d64e93
Potlatch 0.7
2008-02-01 17:19:11 +00:00
Tom Hughes
59e2349b5a
Make ways_for_node work with the multipart primary key stuff.
2008-01-28 08:54:45 +00:00
Tom Hughes
b8f87e0466
Fix typo.
2008-01-28 08:44:03 +00:00
Xin Zheng
2e2956d126
patched controller section of #648
2008-01-25 16:32:24 +00:00
Steve Coast
a855d20ba4
Most of a method to delete a way and all its nodes - but I'm waiting on splitting node tags out to their own table before finishing it.
2008-01-25 15:24:04 +00:00
Steve Coast
bbd769304c
dont eager load tags (false primary key fucks all sorts of things up) and move delete way logic to model so that amf_controller can use it (plan is to do this with all of the methods. sigh.)
2008-01-25 14:32:45 +00:00