]>
git.openstreetmap.org Git - rails.git/log
Tom Hughes [Sat, 24 Nov 2007 14:47:50 +0000 (14:47 +0000)]
When asked for ways which use a node, or relations which use some given
object, return 200 OK with an empty document if not matches are found
rather than 400 Bad Request (for ways) or 404 Not Found (for relations).
Tom Hughes [Sat, 24 Nov 2007 14:36:21 +0000 (14:36 +0000)]
Work round ruby's horribly broken URI.escape that deliberately doesn't
escape most characters which have special meaning in URIs...
Tom Hughes [Sat, 24 Nov 2007 14:13:21 +0000 (14:13 +0000)]
Wrap evaluation of default values for parameters inside the HTML escaping
as that causes nil to become "" hence defeating the conditional default.
Tom Hughes [Sat, 24 Nov 2007 01:00:53 +0000 (01:00 +0000)]
Fix tag splitting.
Richard Fairhurst [Fri, 23 Nov 2007 18:37:28 +0000 (18:37 +0000)]
0.5d: drag Yahoo layer only
Tom Hughes [Fri, 23 Nov 2007 00:49:55 +0000 (00:49 +0000)]
HTML escape substituted parameter values to avoid injection attacks.
Tom Hughes [Wed, 21 Nov 2007 23:54:14 +0000 (23:54 +0000)]
Don't indicate if a message has been read in the outbox view.
Mikel Maron [Wed, 21 Nov 2007 18:24:29 +0000 (18:24 +0000)]
message outbox
Richard Fairhurst [Wed, 21 Nov 2007 14:01:31 +0000 (14:01 +0000)]
0.5c: some refinements to casing
Tom Hughes [Wed, 21 Nov 2007 13:30:55 +0000 (13:30 +0000)]
Add escaping of semicolon and equals in node tags.
Based on patch from Dave Stubbs.
Tom Hughes [Wed, 21 Nov 2007 09:51:55 +0000 (09:51 +0000)]
Add keyboard shortcuts to the slippy map.
Richard Fairhurst [Tue, 20 Nov 2007 10:08:58 +0000 (10:08 +0000)]
Require data to be public before editing
Richard Fairhurst [Mon, 19 Nov 2007 14:00:18 +0000 (14:00 +0000)]
purge area layer when purging ways
Richard Fairhurst [Mon, 19 Nov 2007 13:29:35 +0000 (13:29 +0000)]
0.5b: look more pretty!
Richard Fairhurst [Tue, 13 Nov 2007 15:49:22 +0000 (15:49 +0000)]
waterway=stream,natural=peak
Richard Fairhurst [Tue, 13 Nov 2007 09:26:04 +0000 (09:26 +0000)]
0.5a: further revisions to merged ways, API->SWF error handling
Richard Fairhurst [Sun, 11 Nov 2007 13:08:59 +0000 (13:08 +0000)]
fix branching way problem
Richard Fairhurst [Sat, 10 Nov 2007 22:01:23 +0000 (22:01 +0000)]
0.5: NUNS! REVERT!!!
Tom Hughes [Fri, 9 Nov 2007 15:29:30 +0000 (15:29 +0000)]
Spread T@H over three host names.
Tom Hughes [Wed, 7 Nov 2007 22:26:10 +0000 (22:26 +0000)]
Add a stylesheet targeted at print media to get nice printouts.
Tom Hughes [Wed, 7 Nov 2007 08:25:11 +0000 (08:25 +0000)]
Use the tah.opstreetmap.org domain name for the T@H layer.
Richard Fairhurst [Fri, 2 Nov 2007 09:28:00 +0000 (09:28 +0000)]
Potlatch 0.4c: bugfixes, history in progress
Tom Hughes [Wed, 31 Oct 2007 15:52:36 +0000 (15:52 +0000)]
Allow objects to be resurrected.
Tom Hughes [Wed, 31 Oct 2007 13:46:36 +0000 (13:46 +0000)]
Rework image generation to work in a fixed amount of memory. Closes #580.
Tom Hughes [Wed, 31 Oct 2007 00:35:27 +0000 (00:35 +0000)]
Don't include any page numbers in links in the tag list.
Tom Hughes [Tue, 30 Oct 2007 00:48:45 +0000 (00:48 +0000)]
Tidy up mail notifiers and make them more rails style rather then
relying on ActionMailer implementation details.
Tom Hughes [Tue, 30 Oct 2007 00:47:45 +0000 (00:47 +0000)]
Add warnings not to reply to message notifications directly.
Richard Fairhurst [Sun, 28 Oct 2007 20:35:19 +0000 (20:35 +0000)]
persistent preferences!
Richard Fairhurst [Sun, 28 Oct 2007 17:47:43 +0000 (17:47 +0000)]
update view/edit tab links
Tom Hughes [Sun, 28 Oct 2007 16:46:10 +0000 (16:46 +0000)]
Fix tab breakage and make key update as zoom level changes.
Richard Fairhurst [Sun, 28 Oct 2007 16:07:23 +0000 (16:07 +0000)]
Potlatch 0.4b: put POIs in ways; small SWF improvement; correct created_by for ways
Richard Fairhurst [Sun, 28 Oct 2007 15:22:15 +0000 (15:22 +0000)]
keys change depending on zoom level; force 210px sidebar width for keys
Richard Fairhurst [Sat, 27 Oct 2007 21:47:59 +0000 (21:47 +0000)]
Preparation for anon edit change
Frederik Ramm [Fri, 26 Oct 2007 18:14:48 +0000 (18:14 +0000)]
way history needs to reference nodes with ref=... not id=...
Richard Fairhurst [Thu, 25 Oct 2007 07:33:39 +0000 (07:33 +0000)]
fix the POI bugfix (sigh)
Tom Hughes [Tue, 23 Oct 2007 09:21:11 +0000 (09:21 +0000)]
Stylesheet changes for permalink from crschmidt.
Part of fix for case #566.
Tom Hughes [Tue, 23 Oct 2007 09:19:29 +0000 (09:19 +0000)]
Round latitude and longitude values in links to a sensible number of
decimal places for the zoom level whilst still preserving accuracy
sufficient to position the map within a few pixels.
The relationship between zoom level, decimal places, and the accuracy
with which the map can then be positioned in pixels is as follows:
Zoom Decimals Accuracy (pixels)
1 0 1.42
2 0 2.84
3 1 0.57
4 1 1.14
5 1 2.28
6 2 0.46
7 2 0.91
8 2 1.82
9 3 0.36
10 3 0.73
11 3 1.46
12 4 0.29
13 4 0.58
14 4 1.17
15 5 0.23
16 5 0.47
17 5 0.93
18 6 0.19
So the worse case is at zoom 2 where accuracy is still within 3 pixels.
Based on a patch by rjmunro.
Tom Hughes [Tue, 23 Oct 2007 08:45:23 +0000 (08:45 +0000)]
Patch from crschmidt to add an obvious permalink to the bottom right
corner of the slippy map. Tested on FF2, IE7, Opera and Safari.
Closes #566.
Steve Chilton [Sun, 21 Oct 2007 19:03:32 +0000 (19:03 +0000)]
revised keymapnik11/12, new versions of keymapnik6-10
Tom Hughes [Wed, 17 Oct 2007 23:22:51 +0000 (23:22 +0000)]
Render an empty text string instead of nothing (which actually generate a
single space character) for 410 and 412 responses as there is a bug in
lighttpd (http://trac.lighttpd.net/trac/ticket/1055) that prevents it
passing on the response body for these codes, leading to the client blocking
waiting for the data until it times out. Closes #537.
Tom Hughes [Fri, 12 Oct 2007 16:34:38 +0000 (16:34 +0000)]
Fix geolocation to actually work...
Tom Hughes [Fri, 12 Oct 2007 13:03:08 +0000 (13:03 +0000)]
Don't try and print the distance to a friend that has not set a
home location. Closes #560.
Dan Karran [Thu, 11 Oct 2007 18:47:30 +0000 (18:47 +0000)]
Actually showing the closest neighbours instead of a fixed number of people within the search radius
Tom Hughes [Wed, 10 Oct 2007 23:00:25 +0000 (23:00 +0000)]
Factor out common code for models which deal with geographic points
into a base class.
Dan Karran [Wed, 10 Oct 2007 19:22:16 +0000 (19:22 +0000)]
Reduce number of nearby people listed to the closest 5 by default, and show friends ahead of nearby people.
Tom Hughes [Wed, 10 Oct 2007 15:00:13 +0000 (15:00 +0000)]
Get URL selection right...
Tom Hughes [Wed, 10 Oct 2007 14:45:44 +0000 (14:45 +0000)]
Give OpenLayers three different hosts (all really pointing at tile) to
get mapnik tiles from so it loads tiles more quickly.
Tom Hughes [Tue, 9 Oct 2007 23:41:26 +0000 (23:41 +0000)]
Add an API call to find the map tiles which have changed in a given period.
Tom Hughes [Tue, 9 Oct 2007 23:08:14 +0000 (23:08 +0000)]
Update OpenLayers to the 2.5 release.
Tom Hughes [Tue, 9 Oct 2007 22:59:32 +0000 (22:59 +0000)]
Add a maptile_for_point() function for MySQL to work out which slippy
map tile a given point lies in.
Richard Fairhurst [Tue, 9 Oct 2007 09:15:50 +0000 (09:15 +0000)]
Potlatch 0.4a, fix duplicate POI bug
Tom Hughes [Tue, 9 Oct 2007 07:37:16 +0000 (07:37 +0000)]
Reinstate the deadlock_retry plugin.
Tom Hughes [Mon, 8 Oct 2007 23:32:58 +0000 (23:32 +0000)]
Split out sidebar code from the search code so it can be reused for the
map key more cleanly.
Dan Karran [Mon, 8 Oct 2007 22:21:15 +0000 (22:21 +0000)]
Improving friend capabilities so you can now add and remove friends as you wish. Friends will be notified when you add them. You can view a list of friends on your profile page (which has been reorganised a little).
Richard Fairhurst [Mon, 8 Oct 2007 22:10:26 +0000 (22:10 +0000)]
experimental pop-out map key
Tom Hughes [Mon, 8 Oct 2007 16:54:34 +0000 (16:54 +0000)]
Pass a list of visible nodes when generating XML for a way. Closes #553.
Tom Hughes [Mon, 8 Oct 2007 07:54:54 +0000 (07:54 +0000)]
Force C99 mode.
Richard Fairhurst [Sun, 7 Oct 2007 20:26:00 +0000 (20:26 +0000)]
Potlatch 0.4 (hopefully)
Tom Hughes [Sun, 7 Oct 2007 14:16:14 +0000 (14:16 +0000)]
Use a consistent name for the variable holding the relation count.
Tom Hughes [Sun, 7 Oct 2007 12:44:27 +0000 (12:44 +0000)]
Cope with empty areas better.
Tom Hughes [Sun, 7 Oct 2007 11:47:24 +0000 (11:47 +0000)]
Make lighttpd reject 0.4 API requests without talking to rails.
Richard Fairhurst [Sun, 7 Oct 2007 11:15:09 +0000 (11:15 +0000)]
OS X-compatible makefile supplied by agnat
Gabriel Ebner [Sun, 7 Oct 2007 10:51:20 +0000 (10:51 +0000)]
Merge rails_port_0.5
Frederik Ramm [Fri, 5 Oct 2007 01:10:23 +0000 (01:10 +0000)]
add relations to stats
Gabriel Ebner [Thu, 4 Oct 2007 14:52:09 +0000 (14:52 +0000)]
rails_port_0.5: Merge rails_port.
Tom Hughes [Thu, 4 Oct 2007 10:26:30 +0000 (10:26 +0000)]
Correct instructions for creating the database to ensure that the
default character set is specified correctly.
Gabriel Ebner [Sun, 30 Sep 2007 19:13:57 +0000 (19:13 +0000)]
rails_port_0.5: Merge rails_port.
Tom Hughes [Sun, 30 Sep 2007 08:50:53 +0000 (08:50 +0000)]
Fix typo in HTML version of account confirmation message.
Gabriel Ebner [Sat, 29 Sep 2007 17:44:17 +0000 (17:44 +0000)]
rails_port_0.5: Merge rails_port.
Tom Hughes [Fri, 28 Sep 2007 23:33:32 +0000 (23:33 +0000)]
Rescale GPS points correctly when downgrading from v5 to v4.
Tom Hughes [Fri, 28 Sep 2007 23:19:19 +0000 (23:19 +0000)]
Make the name of the lon/lng virtual attribute on trace points consistent.
Tom Hughes [Fri, 28 Sep 2007 23:18:13 +0000 (23:18 +0000)]
Fall back to a pure ruby update implementation if the tile_for_point
function is not present in MySQL.
Frederik Ramm [Fri, 28 Sep 2007 20:47:01 +0000 (20:47 +0000)]
fix for preconditions
Tom Hughes [Fri, 28 Sep 2007 18:32:11 +0000 (18:32 +0000)]
Fall back to adding tile numbers the hard way if the MySQL function is
not available.
Tom Hughes [Fri, 28 Sep 2007 14:57:31 +0000 (14:57 +0000)]
Document installation of database functions on MacOS X.
Gabriel Ebner [Thu, 27 Sep 2007 09:05:17 +0000 (09:05 +0000)]
rails_port_0.5: Merge rails_port.
Tom Hughes [Wed, 26 Sep 2007 23:01:11 +0000 (23:01 +0000)]
Provide both HTML and plain text versions of account confirmation and
password reset emails to try and avoid problems with link truncation.
Frederik Ramm [Wed, 26 Sep 2007 15:53:09 +0000 (15:53 +0000)]
bugfix searching relations
Frederik Ramm [Wed, 26 Sep 2007 15:48:00 +0000 (15:48 +0000)]
new calls
Frederik Ramm [Wed, 26 Sep 2007 15:06:50 +0000 (15:06 +0000)]
support searching relations
Gabriel Ebner [Wed, 26 Sep 2007 14:15:21 +0000 (14:15 +0000)]
rails_port_0.5: Merge rails_port.
Frederik Ramm [Wed, 26 Sep 2007 09:54:49 +0000 (09:54 +0000)]
added tagging of two-node ways created from tagged or unwayed segments. untested.
Tom Hughes [Tue, 25 Sep 2007 23:18:32 +0000 (23:18 +0000)]
Improve consistency of trace upload forms and error handling.
Fixes #543 and #544.
Gabriel Ebner [Tue, 25 Sep 2007 21:16:44 +0000 (21:16 +0000)]
rails_port_0.5: Merge rails_port.
Tom Hughes [Mon, 24 Sep 2007 22:59:34 +0000 (22:59 +0000)]
Process traces in order.
Gabriel Ebner [Mon, 24 Sep 2007 13:31:11 +0000 (13:31 +0000)]
rails_port_0.5: Add the index before loading the data as suggested by Tom Hughes.
Frederik Ramm [Mon, 24 Sep 2007 09:32:16 +0000 (09:32 +0000)]
removed LOCAL from LOAD DATA INFILE
Frederik Ramm [Mon, 24 Sep 2007 09:11:33 +0000 (09:11 +0000)]
added with=4 to list of uninteresting tags, also source=PGS* (was: source=PGS exactly)
Gabriel Ebner [Sun, 23 Sep 2007 20:37:16 +0000 (20:37 +0000)]
rails_port_0.5: Merge rails_port r4664.
Tom Hughes [Sun, 23 Sep 2007 17:05:31 +0000 (17:05 +0000)]
Allow trace descriptions and tags to be edited.
Tom Hughes [Sun, 23 Sep 2007 16:54:48 +0000 (16:54 +0000)]
Avoid warning.
Tom Hughes [Sun, 23 Sep 2007 13:42:56 +0000 (13:42 +0000)]
Add migration for quadtiling of node tables.
Gabriel Ebner [Sat, 22 Sep 2007 19:55:33 +0000 (19:55 +0000)]
rails_port_0.5: Merge rails_port r4643
Tom Hughes [Fri, 21 Sep 2007 16:25:18 +0000 (16:25 +0000)]
Use tile based query when creating a way from unwayed segments.
Tom Hughes [Fri, 21 Sep 2007 16:09:24 +0000 (16:09 +0000)]
Scale lat and lon values for unwayed segments.
Tom Hughes [Fri, 21 Sep 2007 16:04:36 +0000 (16:04 +0000)]
Use tile based queries for unwayed segments.
Tom Hughes [Fri, 21 Sep 2007 13:43:43 +0000 (13:43 +0000)]
Use quadtiling for the node tables.
Tom Hughes [Fri, 21 Sep 2007 09:49:28 +0000 (09:49 +0000)]
Improve alert messages when database is offline.
Tom Hughes [Fri, 21 Sep 2007 08:14:01 +0000 (08:14 +0000)]
Learn to spell.
Tom Hughes [Fri, 21 Sep 2007 08:13:17 +0000 (08:13 +0000)]
Check API status correctly.