rails.git
12 years agoRescale GPS points correctly when downgrading from v5 to v4.
Tom Hughes [Fri, 28 Sep 2007 23:33:32 +0000 (23:33 +0000)]
Rescale GPS points correctly when downgrading from v5 to v4.

12 years agoMake the name of the lon/lng virtual attribute on trace points consistent.
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.

12 years agoFall back to a pure ruby update implementation if the tile_for_point
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.

12 years agoFall back to adding tile numbers the hard way if the MySQL function is
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.

12 years agoDocument installation of database functions on MacOS X.
Tom Hughes [Fri, 28 Sep 2007 14:57:31 +0000 (14:57 +0000)]
Document installation of database functions on MacOS X.

12 years agoProvide both HTML and plain text versions of account confirmation and
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.

12 years agoImprove consistency of trace upload forms and error handling.
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.

12 years agoProcess traces in order.
Tom Hughes [Mon, 24 Sep 2007 22:59:34 +0000 (22:59 +0000)]
Process traces in order.

12 years agoAllow trace descriptions and tags to be edited.
Tom Hughes [Sun, 23 Sep 2007 17:05:31 +0000 (17:05 +0000)]
Allow trace descriptions and tags to be edited.

12 years agoAvoid warning.
Tom Hughes [Sun, 23 Sep 2007 16:54:48 +0000 (16:54 +0000)]
Avoid warning.

12 years agoAdd migration for quadtiling of node tables.
Tom Hughes [Sun, 23 Sep 2007 13:42:56 +0000 (13:42 +0000)]
Add migration for quadtiling of node tables.

12 years agoUse tile based query when creating a way from unwayed segments.
Tom Hughes [Fri, 21 Sep 2007 16:25:18 +0000 (16:25 +0000)]
Use tile based query when creating a way from unwayed segments.

12 years agoScale lat and lon values for unwayed segments.
Tom Hughes [Fri, 21 Sep 2007 16:09:24 +0000 (16:09 +0000)]
Scale lat and lon values for unwayed segments.

12 years agoUse tile based queries for unwayed segments.
Tom Hughes [Fri, 21 Sep 2007 16:04:36 +0000 (16:04 +0000)]
Use tile based queries for unwayed segments.

12 years agoUse quadtiling for the node tables.
Tom Hughes [Fri, 21 Sep 2007 13:43:43 +0000 (13:43 +0000)]
Use quadtiling for the node tables.

12 years agoImprove alert messages when database is offline.
Tom Hughes [Fri, 21 Sep 2007 09:49:28 +0000 (09:49 +0000)]
Improve alert messages when database is offline.

12 years agoLearn to spell.
Tom Hughes [Fri, 21 Sep 2007 08:14:01 +0000 (08:14 +0000)]
Learn to spell.

12 years agoCheck API status correctly.
Tom Hughes [Fri, 21 Sep 2007 08:13:17 +0000 (08:13 +0000)]
Check API status correctly.

12 years agoAllow the API to be taken offline completely as well as being put into
Tom Hughes [Thu, 20 Sep 2007 23:51:11 +0000 (23:51 +0000)]
Allow the API to be taken offline completely as well as being put into
readonly mode,

12 years agoInclude a reply link in email notifications of messages.
Tom Hughes [Wed, 19 Sep 2007 10:37:32 +0000 (10:37 +0000)]
Include a reply link in email notifications of messages.

12 years agoCope with change in number of decimals for GPS point positions.
Tom Hughes [Wed, 19 Sep 2007 09:18:59 +0000 (09:18 +0000)]
Cope with change in number of decimals for GPS point positions.

12 years agoChange the gps_points table to store latitude and longitude values to
Tom Hughes [Tue, 18 Sep 2007 23:29:47 +0000 (23:29 +0000)]
Change the gps_points table to store latitude and longitude values to
seven decimal places to given a worse case precision of about 1cm.

12 years agoMake the tile ID column unsigned as intended.
Tom Hughes [Tue, 18 Sep 2007 23:06:40 +0000 (23:06 +0000)]
Make the tile ID column unsigned as intended.

12 years agoLimit the size that a rails process can grow to.
Tom Hughes [Sun, 16 Sep 2007 23:14:40 +0000 (23:14 +0000)]
Limit the size that a rails process can grow to.

12 years agoInclude message body in notification emails for convenience.
Dan Karran [Sun, 16 Sep 2007 14:52:50 +0000 (14:52 +0000)]
Include message body in notification emails for convenience.

12 years agov0.3, includes Douglas-Peucker for GPS tracks
Richard Fairhurst [Fri, 14 Sep 2007 17:41:35 +0000 (17:41 +0000)]
v0.3, includes Douglas-Peucker for GPS tracks

12 years agoAllow column names in area conditions to be qualified, and do so for
Tom Hughes [Fri, 14 Sep 2007 11:16:25 +0000 (11:16 +0000)]
Allow column names in area conditions to be qualified, and do so for
the SWF queries which sometimes reference more than one table with
columns named latitude and longitude.

12 years agoAdd a migration to upgrade gps_points for quad tile support.
Tom Hughes [Wed, 12 Sep 2007 17:59:48 +0000 (17:59 +0000)]
Add a migration to upgrade gps_points for quad tile support.

12 years agoMake the MySQL tile_for_point function take arguments in the same order
Tom Hughes [Wed, 12 Sep 2007 17:46:03 +0000 (17:46 +0000)]
Make the MySQL tile_for_point function take arguments in the same order
as the ruby version.

12 years agoFill in the tile ID before saving a trace point. Also add appropriate
Tom Hughes [Wed, 12 Sep 2007 14:33:37 +0000 (14:33 +0000)]
Fill in the tile ID before saving a trace point. Also add appropriate
validation to the tracepoint model.

12 years agoDropping duplicate GPS points is very expensive and rarely finds
Tom Hughes [Wed, 12 Sep 2007 13:49:58 +0000 (13:49 +0000)]
Dropping duplicate GPS points is very expensive and rarely finds
anything much to drop, so don't bother.

12 years agoUse QuadTiling in GPS point queries.
Tom Hughes [Wed, 12 Sep 2007 12:14:45 +0000 (12:14 +0000)]
Use QuadTiling in GPS point queries.

12 years agoPotlatch v0.2a: display GPS traces, some bugfixes
Richard Fairhurst [Wed, 12 Sep 2007 10:07:26 +0000 (10:07 +0000)]
Potlatch v0.2a: display GPS traces, some bugfixes

12 years agoQuadTile infrastructure.
Tom Hughes [Tue, 11 Sep 2007 23:55:25 +0000 (23:55 +0000)]
QuadTile infrastructure.

12 years agoSend an email notification out when a new message is waiting on the site for you.
Dan Karran [Wed, 5 Sep 2007 22:27:22 +0000 (22:27 +0000)]
Send an email notification out when a new message is waiting on the site for you.

12 years agoUse BETWEEN for the node selection in the map API call as MySQL seems to
Tom Hughes [Wed, 5 Sep 2007 17:20:09 +0000 (17:20 +0000)]
Use BETWEEN for the node selection in the map API call as MySQL seems to
process it more efficiently.

12 years agoHiding new diary entry map by default to save some space, allowing people to expand...
Dan Karran [Wed, 5 Sep 2007 17:18:18 +0000 (17:18 +0000)]
Hiding new diary entry map by default to save some space, allowing people to expand it if desired.

12 years agoDon't bother deleting points which don't exist before importing a
Tom Hughes [Tue, 4 Sep 2007 16:22:03 +0000 (16:22 +0000)]
Don't bother deleting points which don't exist before importing a
trace - this avoids locking the table in the common case where there
are no points to delete.

12 years agoa few message prettyness things
Steve Coast [Tue, 4 Sep 2007 14:20:42 +0000 (14:20 +0000)]
a few message prettyness things

12 years agoRevert SteveC's edit as blank title are now banned.
Tom Hughes [Tue, 4 Sep 2007 14:08:17 +0000 (14:08 +0000)]
Revert SteveC's edit as blank title are now banned.

12 years agoAdd extra validation to messages and diary entries.
Tom Hughes [Tue, 4 Sep 2007 14:05:13 +0000 (14:05 +0000)]
Add extra validation to messages and diary entries.

12 years agolink to 'no subject' if message title/subject is blank
Steve Coast [Tue, 4 Sep 2007 13:43:31 +0000 (13:43 +0000)]
link to 'no subject' if message title/subject is blank

12 years agoAdding geo microformat to trace viewing pages.
Dan Karran [Mon, 3 Sep 2007 22:40:04 +0000 (22:40 +0000)]
Adding geo microformat to trace viewing pages.

12 years agoAllow people to add coordinates to diary entries, add them to the RSS feeds and diary...
Dan Karran [Mon, 3 Sep 2007 22:37:42 +0000 (22:37 +0000)]
Allow people to add coordinates to diary entries, add them to the RSS feeds and diary display pages using geo microformat.

12 years agoAdding 'New diary post' link to main Users' diaries page to help logged-in users...
Dan Karran [Mon, 3 Sep 2007 20:46:34 +0000 (20:46 +0000)]
Adding 'New diary post' link to main Users' diaries page to help logged-in users find how to post.

12 years agolatest Yahoo Maps API seems to be more reliable
Richard Fairhurst [Sun, 2 Sep 2007 17:51:03 +0000 (17:51 +0000)]
latest Yahoo Maps API seems to be more reliable

12 years agotypo
Richard Fairhurst [Sun, 2 Sep 2007 13:55:51 +0000 (13:55 +0000)]
typo

12 years agofix dragging, add some new pois (already!)
Richard Fairhurst [Sun, 2 Sep 2007 13:42:47 +0000 (13:42 +0000)]
fix dragging, add some new pois (already!)

12 years agoPotlatch v0.2 with POI editing
Richard Fairhurst [Sun, 2 Sep 2007 13:09:10 +0000 (13:09 +0000)]
Potlatch v0.2 with POI editing

12 years agoGet the timestamp outside the transactionso everything can see it.
Tom Hughes [Sat, 1 Sep 2007 06:48:59 +0000 (06:48 +0000)]
Get the timestamp outside the transactionso everything can see it.

12 years agoFix typo.
Tom Hughes [Sat, 1 Sep 2007 06:39:10 +0000 (06:39 +0000)]
Fix typo.

12 years agoSplit the transaction used for ways so that we recover more cleanly
Tom Hughes [Fri, 31 Aug 2007 23:10:33 +0000 (23:10 +0000)]
Split the transaction used for ways so that we recover more cleanly
without leaving rubbish in the database.

12 years agoAdd the deadlock_retry plugin.
Tom Hughes [Fri, 31 Aug 2007 18:37:22 +0000 (18:37 +0000)]
Add the deadlock_retry plugin.

12 years agoLet exceptions propagate to the default handler for ways so they are logged.
Tom Hughes [Fri, 31 Aug 2007 18:10:44 +0000 (18:10 +0000)]
Let exceptions propagate to the default handler for ways so they are logged.

12 years agoDon't allow Potlatch to be started with a zoom below 11.
Tom Hughes [Fri, 31 Aug 2007 12:57:32 +0000 (12:57 +0000)]
Don't allow Potlatch to be started with a zoom below 11.

12 years agoSplit the createuniquenodes query in two as MySQL was choosing a very
Tom Hughes [Fri, 31 Aug 2007 11:14:40 +0000 (11:14 +0000)]
Split the createuniquenodes query in two as MySQL was choosing a very
bad execution plan for it with the OR condition.

12 years agoAllow exceptions processing node and segment requests to propagate and
Tom Hughes [Fri, 31 Aug 2007 10:11:15 +0000 (10:11 +0000)]
Allow exceptions processing node and segment requests to propagate and
be handled by the default handler so they are logged.

12 years agoThe search help has now moved to the Search page on the wiki, which
Tom Hughes [Thu, 30 Aug 2007 10:59:02 +0000 (10:59 +0000)]
The search help has now moved to the Search page on the wiki, which
previously contained out of date information on searching.

12 years agoSetup the layers before adding any marker so that the marker layer
Tom Hughes [Thu, 30 Aug 2007 10:42:32 +0000 (10:42 +0000)]
Setup the layers before adding any marker so that the marker layer
will get turned on if it was off in the layers string.

12 years agoMake the search URLs include a marker.
Tom Hughes [Wed, 29 Aug 2007 22:41:02 +0000 (22:41 +0000)]
Make the search URLs include a marker.

12 years agoProvide proper URLs in search results.
Tom Hughes [Wed, 29 Aug 2007 09:16:58 +0000 (09:16 +0000)]
Provide proper URLs in search results.

12 years agoLink trace owner to their user page.
Tom Hughes [Sun, 26 Aug 2007 23:04:17 +0000 (23:04 +0000)]
Link trace owner to their user page.

12 years agoCorrect calculation of reciprocal angles.
Tom Hughes [Sat, 25 Aug 2007 22:33:46 +0000 (22:33 +0000)]
Correct calculation of reciprocal angles.

12 years agoReplace the old session cleanup daemon with a new script to be run from
Tom Hughes [Sat, 25 Aug 2007 09:53:07 +0000 (09:53 +0000)]
Replace the old session cleanup daemon with a new script to be run from
cron periodically.

12 years agoInclude a general location from GeoNames in the reverse geocode description.
Tom Hughes [Fri, 24 Aug 2007 22:50:34 +0000 (22:50 +0000)]
Include a general location from GeoNames in the reverse geocode description.

12 years agoDon't break when the user isn't logged in...
Tom Hughes [Fri, 24 Aug 2007 19:06:25 +0000 (19:06 +0000)]
Don't break when the user isn't logged in...

12 years agoMore search improvements - a "Where am I?" link that does a reverse
Tom Hughes [Fri, 24 Aug 2007 18:53:30 +0000 (18:53 +0000)]
More search improvements - a "Where am I?" link that does a reverse
search, and various cleanups to the previous changes.

12 years agoOnly include the home link if the user is logged in.
Tom Hughes [Fri, 24 Aug 2007 17:47:57 +0000 (17:47 +0000)]
Only include the home link if the user is logged in.

12 years agoOnly put the 'home' link in the top left on the map and edit pages, and
Tom Hughes [Fri, 24 Aug 2007 17:43:15 +0000 (17:43 +0000)]
Only put the 'home' link in the top left on the map and edit pages, and
make it update position in place rather than reloading the page.

12 years agoIf a search only finds one result then jump straight to it instead of
Tom Hughes [Fri, 24 Aug 2007 17:38:36 +0000 (17:38 +0000)]
If a search only finds one result then jump straight to it instead of
opening a list of results.

12 years agoThere's no point importing a trace that is scheduled for deletion.
Tom Hughes [Thu, 23 Aug 2007 17:26:44 +0000 (17:26 +0000)]
There's no point importing a trace that is scheduled for deletion.

12 years agoFix automatic size detection for map popups.
Tom Hughes [Thu, 23 Aug 2007 14:49:42 +0000 (14:49 +0000)]
Fix automatic size detection for map popups.

12 years agoPut the option to delete GPS traces back. Fixes #405.
Tom Hughes [Wed, 22 Aug 2007 18:01:23 +0000 (18:01 +0000)]
Put the option to delete GPS traces back. Fixes #405.

12 years agoFix thinko.
Tom Hughes [Wed, 22 Aug 2007 07:40:23 +0000 (07:40 +0000)]
Fix thinko.

12 years agoOnly allow users to read their own messages.
Tom Hughes [Wed, 22 Aug 2007 07:38:50 +0000 (07:38 +0000)]
Only allow users to read their own messages.

12 years agoFix typo.
Tom Hughes [Wed, 22 Aug 2007 00:20:53 +0000 (00:20 +0000)]
Fix typo.

12 years agoFix diary entry creation...
Tom Hughes [Wed, 22 Aug 2007 00:19:58 +0000 (00:19 +0000)]
Fix diary entry creation...

12 years agoCleanup.
Tom Hughes [Wed, 22 Aug 2007 00:10:17 +0000 (00:10 +0000)]
Cleanup.

12 years agoImprove diary post screen.
Tom Hughes [Wed, 22 Aug 2007 00:06:28 +0000 (00:06 +0000)]
Improve diary post screen.

12 years agoTidy up some views.
Tom Hughes [Tue, 21 Aug 2007 23:59:10 +0000 (23:59 +0000)]
Tidy up some views.

12 years agoAdd CGI support for statistics.
Tom Hughes [Tue, 21 Aug 2007 23:52:57 +0000 (23:52 +0000)]
Add CGI support for statistics.

12 years agoAdd a capabilities API call. Fixes #410.
Tom Hughes [Tue, 21 Aug 2007 23:27:42 +0000 (23:27 +0000)]
Add a capabilities API call. Fixes #410.

12 years agoHandle errors a bit better.
Tom Hughes [Mon, 20 Aug 2007 14:22:51 +0000 (14:22 +0000)]
Handle errors a bit better.

12 years agoSet the display name correctly in the image URL.
Tom Hughes [Mon, 20 Aug 2007 14:18:22 +0000 (14:18 +0000)]
Set the display name correctly in the image URL.

12 years agoRedirect trac requests to the right place.
Tom Hughes [Mon, 20 Aug 2007 14:03:40 +0000 (14:03 +0000)]
Redirect trac requests to the right place.

12 years agoAdd additional validation to the user model and tidy up a few things on
Tom Hughes [Sun, 19 Aug 2007 12:27:23 +0000 (12:27 +0000)]
Add additional validation to the user model and tidy up a few things on
the account options page.

12 years agoInclude the home location in API user details response.
Tom Hughes [Sun, 19 Aug 2007 09:43:01 +0000 (09:43 +0000)]
Include the home location in API user details response.

12 years agoMove tag validation to the right place.
Tom Hughes [Sun, 19 Aug 2007 09:16:33 +0000 (09:16 +0000)]
Move tag validation to the right place.

12 years agoThrow an exception if saving the imported trace fails.
Tom Hughes [Sun, 19 Aug 2007 09:11:59 +0000 (09:11 +0000)]
Throw an exception if saving the imported trace fails.

12 years agoHandle files uploaded via the API properly.
Tom Hughes [Sat, 18 Aug 2007 20:49:15 +0000 (20:49 +0000)]
Handle files uploaded via the API properly.

12 years agoMoving inbox styling definitions into the stylesheet.
Dan Karran [Sat, 18 Aug 2007 12:22:04 +0000 (12:22 +0000)]
Moving inbox styling definitions into the stylesheet.

12 years agoShowing all messages in inbox, but sorting by date DESC and highlighting new ones...
Dan Karran [Fri, 17 Aug 2007 18:05:09 +0000 (18:05 +0000)]
Showing all messages in inbox, but sorting by date DESC and highlighting new ones. Adding link from message reading page back to inbox. Mark as read/unread.

12 years agoMake the gpx/id/data API call work, and make gpx/create a POST method
Tom Hughes [Thu, 16 Aug 2007 23:04:18 +0000 (23:04 +0000)]
Make the gpx/id/data API call work, and make gpx/create a POST method
so arguments can be handled more robustly.

12 years agoIgnore exceptions looking up a user from a session.
Tom Hughes [Thu, 16 Aug 2007 13:07:24 +0000 (13:07 +0000)]
Ignore exceptions looking up a user from a session.

12 years agoFix image referred to in RSS feeds so that it actually exists.
Tom Hughes [Wed, 15 Aug 2007 18:12:37 +0000 (18:12 +0000)]
Fix image referred to in RSS feeds so that it actually exists.

12 years agoTidy up trace handling a bit, and add support for per-user and per-tag feeds.
Tom Hughes [Wed, 15 Aug 2007 18:10:18 +0000 (18:10 +0000)]
Tidy up trace handling a bit, and add support for per-user and per-tag feeds.

12 years agoFix wiki redirection.
Tom Hughes [Wed, 15 Aug 2007 08:01:45 +0000 (08:01 +0000)]
Fix wiki redirection.

12 years agoQuite a few people still seem to ask www.openstreetmap.org for wiki
Tom Hughes [Wed, 15 Aug 2007 08:00:23 +0000 (08:00 +0000)]
Quite a few people still seem to ask openstreetmap.org for wiki
pages, so redirect them.

12 years agoOnly initialize creation_time if it isn't already set.
Tom Hughes [Wed, 15 Aug 2007 07:26:33 +0000 (07:26 +0000)]
Only initialize creation_time if it isn't already set.

12 years agoFix tag links.
Tom Hughes [Tue, 14 Aug 2007 23:45:25 +0000 (23:45 +0000)]
Fix tag links.