]>
git.openstreetmap.org Git - rails.git/log
Richard Fairhurst [Fri, 21 Mar 2008 21:33:38 +0000 (21:33 +0000)]
Edgemaster's patch to colour routes depending on network
Steve Coast [Fri, 21 Mar 2008 20:30:16 +0000 (20:30 +0000)]
nicer fix I think for nil / [] issue
Steve Coast [Fri, 21 Mar 2008 20:21:49 +0000 (20:21 +0000)]
more madness
Richard Fairhurst [Fri, 21 Mar 2008 20:17:56 +0000 (20:17 +0000)]
fix problem with blank areas throwing a 500
Richard Fairhurst [Fri, 21 Mar 2008 19:49:09 +0000 (19:49 +0000)]
fix problem with blank areas throwing a 500
Richard Fairhurst [Fri, 21 Mar 2008 19:10:57 +0000 (19:10 +0000)]
fixes #766
Richard Fairhurst [Fri, 21 Mar 2008 19:00:39 +0000 (19:00 +0000)]
various relations fixes
Richard Fairhurst [Wed, 19 Mar 2008 10:50:33 +0000 (10:50 +0000)]
colon2bar no longer needed
Richard Fairhurst [Wed, 19 Mar 2008 10:39:50 +0000 (10:39 +0000)]
restore Steve's deleteway stuff
Richard Fairhurst [Wed, 19 Mar 2008 01:03:51 +0000 (01:03 +0000)]
Potlatch 0.8 - be afraid, be very, very afraid
Frederik Ramm [Sun, 16 Mar 2008 23:16:18 +0000 (23:16 +0000)]
- add old_relation_controller and stuff so that relation history works. fixes #557.
- minor testing fixes.
Tom Hughes [Fri, 7 Mar 2008 00:26:57 +0000 (00:26 +0000)]
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.
Tom Hughes [Thu, 6 Mar 2008 12:43:10 +0000 (12:43 +0000)]
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.
Tom Hughes [Tue, 4 Mar 2008 21:24:14 +0000 (21:24 +0000)]
Fix typo.
Tom Hughes [Tue, 4 Mar 2008 18:18:59 +0000 (18:18 +0000)]
Use defer="defer" rather than onload to try and speed up page loading.
Tom Hughes [Tue, 4 Mar 2008 17:57:51 +0000 (17:57 +0000)]
Yet more escaping.
Tom Hughes [Tue, 4 Mar 2008 17:53:36 +0000 (17:53 +0000)]
More escaping.
Tom Hughes [Tue, 4 Mar 2008 17:51:42 +0000 (17:51 +0000)]
Escape page title.
Tom Hughes [Tue, 4 Mar 2008 16:53:08 +0000 (16:53 +0000)]
More display name escaping.
Tom Hughes [Tue, 4 Mar 2008 16:51:13 +0000 (16:51 +0000)]
Escape user display names.
Tom Hughes [Tue, 4 Mar 2008 16:49:12 +0000 (16:49 +0000)]
Escape user names in diary views.
Tom Hughes [Tue, 26 Feb 2008 21:50:53 +0000 (21:50 +0000)]
Disable the NameFinder and fix cut'n'paste error.
Tom Hughes [Mon, 25 Feb 2008 18:55:25 +0000 (18:55 +0000)]
Get the user image right this time...
Tom Hughes [Sun, 24 Feb 2008 17:39:55 +0000 (17:39 +0000)]
Close tag properly.
Tom Hughes [Sun, 24 Feb 2008 17:38:50 +0000 (17:38 +0000)]
Display the image of the user who made the diary entry, not that of
the currently logged in user...
Tom Hughes [Sun, 24 Feb 2008 13:43:42 +0000 (13:43 +0000)]
Fix stupid breakage. Closes #708.
Steve Coast [Sat, 23 Feb 2008 16:49:08 +0000 (16:49 +0000)]
encourage people to set location
Steve Coast [Sat, 23 Feb 2008 16:05:45 +0000 (16:05 +0000)]
remove deleteway logic from amf_controller (yay!) TomH: check with RichardF this is sane before deploying. worksforme.
Tom Hughes [Sat, 23 Feb 2008 16:01:12 +0000 (16:01 +0000)]
Restore add_user_image migration.
Tom Hughes [Sat, 23 Feb 2008 15:57:36 +0000 (15:57 +0000)]
Only check out the trunk of the image column plugin.
Tom Hughes [Sat, 23 Feb 2008 15:41:52 +0000 (15:41 +0000)]
Remove image migration as it isn't needed.
Tom Hughes [Sat, 23 Feb 2008 15:35:49 +0000 (15:35 +0000)]
Use named constants for HTTP response codes.
Tom Hughes [Sat, 23 Feb 2008 15:35:14 +0000 (15:35 +0000)]
Use named constants for HTTP response codes.
Steve Coast [Sat, 23 Feb 2008 15:18:59 +0000 (15:18 +0000)]
user images
Steve Coast [Sat, 23 Feb 2008 13:37:36 +0000 (13:37 +0000)]
User prference system basically done
Tom Hughes [Sat, 23 Feb 2008 12:52:57 +0000 (12:52 +0000)]
Make maps deeper to allow the pan/zoom bar visible.
Tom Hughes [Sat, 23 Feb 2008 12:49:29 +0000 (12:49 +0000)]
Make the slippy map on the user page deper so that the whole of the
pan/zoom bar is visible. Closes #705.
Steve Coast [Sat, 23 Feb 2008 11:12:42 +0000 (11:12 +0000)]
preference stuff
Steve Coast [Sat, 23 Feb 2008 10:51:33 +0000 (10:51 +0000)]
move migrations around
Richard Fairhurst [Tue, 19 Feb 2008 18:06:26 +0000 (18:06 +0000)]
Reject 0/1-length ways.
Richard Fairhurst [Fri, 15 Feb 2008 13:03:14 +0000 (13:03 +0000)]
stop accidental cities :)
Richard Fairhurst [Fri, 15 Feb 2008 12:52:54 +0000 (12:52 +0000)]
Potlatch 0.7b: small bugfixes
Tom Hughes [Thu, 14 Feb 2008 18:51:52 +0000 (18:51 +0000)]
Use PanZoomBar instead of PanZoom.
Richard Fairhurst [Tue, 12 Feb 2008 11:23:11 +0000 (11:23 +0000)]
Add cycle map
Richard Fairhurst [Mon, 11 Feb 2008 22:38:20 +0000 (22:38 +0000)]
remove tile debug code
Richard Fairhurst [Mon, 11 Feb 2008 22:29:59 +0000 (22:29 +0000)]
0.7a
Richard Fairhurst [Sun, 10 Feb 2008 17:33:15 +0000 (17:33 +0000)]
add school to presets
Tom Hughes [Thu, 7 Feb 2008 23:53:20 +0000 (23:53 +0000)]
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.
Richard Fairhurst [Wed, 6 Feb 2008 22:43:14 +0000 (22:43 +0000)]
unbreak undelete
Richard Fairhurst [Wed, 6 Feb 2008 21:30:09 +0000 (21:30 +0000)]
small padlock fix, disable right-click menu
Tom Hughes [Tue, 5 Feb 2008 19:14:33 +0000 (19:14 +0000)]
Use a lower zoom level for partial postcode matches.
Tom Hughes [Mon, 4 Feb 2008 00:15:28 +0000 (00:15 +0000)]
Send email notifications when people comment on diary entries. Closes #655.
Tom Hughes [Sun, 3 Feb 2008 23:57:37 +0000 (23:57 +0000)]
Disable keyboard control of the map as it causes problems by catching
keypresses in other parts of the page. Closes #659.
Richard Fairhurst [Sun, 3 Feb 2008 19:23:29 +0000 (19:23 +0000)]
some Yahoo improvements, still more to do...
Tom Hughes [Sun, 3 Feb 2008 16:31:50 +0000 (16:31 +0000)]
Explain why we don't include the nodes in the way load.
Tom Hughes [Sun, 3 Feb 2008 16:28:02 +0000 (16:28 +0000)]
Don't preload nodes as it seem to break ways with duplicate nodes.
Richard Fairhurst [Sun, 3 Feb 2008 16:11:24 +0000 (16:11 +0000)]
fix for resizable Potlatch
Tom Hughes [Sun, 3 Feb 2008 15:55:19 +0000 (15:55 +0000)]
Remove pointless return statement.
Tom Hughes [Sun, 3 Feb 2008 15:38:53 +0000 (15:38 +0000)]
Fix indentation.
Tom Hughes [Sun, 3 Feb 2008 15:38:44 +0000 (15:38 +0000)]
Move in_world? to GeoRecord model and correct comment.
Tom Hughes [Sun, 3 Feb 2008 15:38:02 +0000 (15:38 +0000)]
Add missing sanitise_boundaries method that the API controller was
trying to call.
Tom Hughes [Sun, 3 Feb 2008 12:56:25 +0000 (12:56 +0000)]
Optimise the Potlatch whichways and getway calls a bit.
Tom Hughes [Fri, 1 Feb 2008 19:54:20 +0000 (19:54 +0000)]
The OSM layers use the 900913 projection, not 41001.
Richard Fairhurst [Fri, 1 Feb 2008 17:19:11 +0000 (17:19 +0000)]
Potlatch 0.7
Tom Hughes [Mon, 28 Jan 2008 08:54:45 +0000 (08:54 +0000)]
Make ways_for_node work with the multipart primary key stuff.
Tom Hughes [Mon, 28 Jan 2008 08:44:03 +0000 (08:44 +0000)]
Fix typo.
Nick Black [Fri, 25 Jan 2008 17:02:43 +0000 (17:02 +0000)]
fixed bug in add version rake task
Xin Zheng [Fri, 25 Jan 2008 16:32:24 +0000 (16:32 +0000)]
patched controller section of #648
Steve Coast [Fri, 25 Jan 2008 15:24:04 +0000 (15:24 +0000)]
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.
Steve Coast [Fri, 25 Jan 2008 14:32:45 +0000 (14:32 +0000)]
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.)
Nick Black [Fri, 25 Jan 2008 14:26:39 +0000 (14:26 +0000)]
fixed null value bug in rake task
Xin Zheng [Fri, 25 Jan 2008 13:57:42 +0000 (13:57 +0000)]
minor changes
Xin Zheng [Thu, 24 Jan 2008 18:21:59 +0000 (18:21 +0000)]
added experimental xml template which is not yet used due to performance issues
Steve Coast [Thu, 24 Jan 2008 16:03:56 +0000 (16:03 +0000)]
Lots of documentation updates, plus split out potlatch libraries in to lib
Steve Coast [Thu, 24 Jan 2008 13:04:04 +0000 (13:04 +0000)]
Some node documentation
Steve Coast [Thu, 24 Jan 2008 12:53:21 +0000 (12:53 +0000)]
begin rdoc documentation
Nick Black [Thu, 24 Jan 2008 11:24:32 +0000 (11:24 +0000)]
commented out migration which deletes the ways column nodes
Nick Black [Thu, 24 Jan 2008 11:09:06 +0000 (11:09 +0000)]
fixes syntax error
Xin Zheng [Thu, 24 Jan 2008 11:07:46 +0000 (11:07 +0000)]
added module
Steve Coast [Thu, 24 Jan 2008 10:52:10 +0000 (10:52 +0000)]
move potlatch presets to only be generated once, and allow pulling in way_tags in a way via a false primary key
Tom Hughes [Wed, 23 Jan 2008 19:25:37 +0000 (19:25 +0000)]
- Add missing null constraints.
- Drop pointless index on current_node_tags and order primary key correctly.
- Make version column of node history table auto increment.
Nick Black [Wed, 23 Jan 2008 18:39:29 +0000 (18:39 +0000)]
added task to add version numbers to nodes table
Nick Black [Wed, 23 Jan 2008 17:47:14 +0000 (17:47 +0000)]
created a temporary old nodes table to add version
Nick Black [Wed, 23 Jan 2008 17:36:01 +0000 (17:36 +0000)]
removed unneeded migrations 015 and 014
Nick Black [Wed, 23 Jan 2008 17:31:51 +0000 (17:31 +0000)]
migration 013 removes tags from nodes and old nodes tables/ 014 does not do anything atm
Nick Black [Wed, 23 Jan 2008 17:10:16 +0000 (17:10 +0000)]
added migration to add a primary key on nodes id and version - should be run after rake db:node_version
Xin Zheng [Wed, 23 Jan 2008 16:43:30 +0000 (16:43 +0000)]
added application.yml, refactored map method
Tom Hughes [Wed, 23 Jan 2008 14:07:14 +0000 (14:07 +0000)]
Rename initialiser to fix typo.
Tom Hughes [Wed, 23 Jan 2008 13:40:47 +0000 (13:40 +0000)]
Allow a GPX to be fetched in XML format by fetching data.xml instead
of data (the data method returns it in the format it is stored in).
Closes #534.
Nick Black [Wed, 23 Jan 2008 12:49:34 +0000 (12:49 +0000)]
updated rake task to grab 1000 records at a time
Nick Black [Wed, 23 Jan 2008 11:44:34 +0000 (11:44 +0000)]
rake task to populate node_tags and current_node_tags tables with values from the nodes and current_nodes tables. migration 011 and 012 must be applied before this task.
Nick Black [Wed, 23 Jan 2008 11:41:56 +0000 (11:41 +0000)]
adds two migrations to create old_node_tags and node_tags table and indexes. Does not change existing table structure or populate tables with any data
Tom Hughes [Wed, 23 Jan 2008 09:54:21 +0000 (09:54 +0000)]
You need at least version 0.9.1 of the composite keys gem.
Tom Hughes [Wed, 23 Jan 2008 09:53:35 +0000 (09:53 +0000)]
Make things work with multipart keys.
Richard Fairhurst [Wed, 23 Jan 2008 01:49:22 +0000 (01:49 +0000)]
few bits of tidying
Tom Hughes [Wed, 23 Jan 2008 00:49:21 +0000 (00:49 +0000)]
Send UK postcode searches to the namefinder as well as npemaps.
Xin Zheng [Tue, 22 Jan 2008 18:46:41 +0000 (18:46 +0000)]
added some tests
Tom Hughes [Tue, 22 Jan 2008 18:00:30 +0000 (18:00 +0000)]
Revert to rails 2.0.1 again
Tom Hughes [Tue, 22 Jan 2008 17:58:04 +0000 (17:58 +0000)]
Put the daemons generator plugin back.
Xin Zheng [Tue, 22 Jan 2008 17:23:25 +0000 (17:23 +0000)]
un-commented sqlsessionstore