rails.git
13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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.

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

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

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

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

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

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

13 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.

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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.

13 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.

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

13 years agoFix exception when username is not known.
Tom Hughes [Tue, 14 Aug 2007 23:38:52 +0000 (23:38 +0000)]
Fix exception when username is not known.

13 years agoSalt passwords so that two users with the same password will have
Tom Hughes [Tue, 14 Aug 2007 23:25:58 +0000 (23:25 +0000)]
Salt passwords so that two users with the same password will have
different password hashes in the database.

13 years agoVarious updates to the user management, including the creation of a
Tom Hughes [Tue, 14 Aug 2007 23:07:38 +0000 (23:07 +0000)]
Various updates to the user management, including the creation of a
preferences table and moving tokens into a tokens table so that a user
can have more than one.

13 years agoImprove handling of user to user messages.
Tom Hughes [Tue, 14 Aug 2007 17:29:27 +0000 (17:29 +0000)]
Improve handling of user to user messages.

13 years agoDon't create sessions for API calls.
Tom Hughes [Tue, 14 Aug 2007 13:59:07 +0000 (13:59 +0000)]
Don't create sessions for API calls.

13 years agoOnly the view and edit tabs really need updating when the map moves.
Tom Hughes [Tue, 14 Aug 2007 10:44:56 +0000 (10:44 +0000)]
Only the view and edit tabs really need updating when the map moves.

13 years agoFix alignment of greeting in top right corner of site.
Tom Hughes [Tue, 14 Aug 2007 10:36:18 +0000 (10:36 +0000)]
Fix alignment of greeting in top right corner of site.

13 years agoReturn a pointer to the 404 tile for out of bounds latitudes.
Tom Hughes [Tue, 14 Aug 2007 10:05:36 +0000 (10:05 +0000)]
Return a pointer to the 404 tile for out of bounds latitudes.

13 years agoAdd the author name to RSS feeds.
Tom Hughes [Tue, 14 Aug 2007 09:22:29 +0000 (09:22 +0000)]
Add the author name to RSS feeds.

13 years agoRemove bogus setting of title attribute.
Tom Hughes [Tue, 14 Aug 2007 00:00:35 +0000 (00:00 +0000)]
Remove bogus setting of title attribute.

13 years agoAdd (commented out) rule for blocked tilesAtHome.
Tom Hughes [Mon, 13 Aug 2007 22:37:12 +0000 (22:37 +0000)]
Add (commented out) rule for blocked tilesAtHome.

13 years agoAdd a model for sessions.
Tom Hughes [Thu, 9 Aug 2007 23:21:17 +0000 (23:21 +0000)]
Add a model for sessions.

13 years agoFix title and tidy up a few things.
Tom Hughes [Thu, 9 Aug 2007 22:02:03 +0000 (22:02 +0000)]
Fix title and tidy up a few things.

13 years agoMake tag links work again.
Tom Hughes [Thu, 9 Aug 2007 21:51:35 +0000 (21:51 +0000)]
Make tag links work again.

13 years agoCompress appropriate static content.
Tom Hughes [Thu, 9 Aug 2007 12:47:21 +0000 (12:47 +0000)]
Compress appropriate static content.

13 years agoAdd the lighttpd configuration to subversion.
Tom Hughes [Thu, 9 Aug 2007 12:08:39 +0000 (12:08 +0000)]
Add the lighttpd configuration to subversion.

13 years agoEnable compression for object history API calls.
Tom Hughes [Thu, 9 Aug 2007 11:41:38 +0000 (11:41 +0000)]
Enable compression for object history API calls.

13 years agoReturn "404 Not Found" for users and traces which don't exist.
Tom Hughes [Thu, 9 Aug 2007 07:45:04 +0000 (07:45 +0000)]
Return "404 Not Found" for users and traces which don't exist.

13 years agoUse the rails paginator to paginate the trace list, and abstract some
Tom Hughes [Wed, 8 Aug 2007 23:58:37 +0000 (23:58 +0000)]
Use the rails paginator to paginate the trace list, and abstract some
common template code into a partial.

13 years agoPut the link to the map key back.
Tom Hughes [Wed, 8 Aug 2007 23:08:28 +0000 (23:08 +0000)]
Put the link to the map key back.

13 years agoLink to new search help page.
Tom Hughes [Wed, 8 Aug 2007 21:23:37 +0000 (21:23 +0000)]
Link to new search help page.

13 years agoIgnore timeouts doing IP geolocation.
Tom Hughes [Wed, 8 Aug 2007 21:09:26 +0000 (21:09 +0000)]
Ignore timeouts doing IP geolocation.

13 years agoReduce font size in search results.
Tom Hughes [Wed, 8 Aug 2007 17:22:33 +0000 (17:22 +0000)]
Reduce font size in search results.

13 years agoCope with results from the OSM Namefinder that have no name.
Tom Hughes [Wed, 8 Aug 2007 17:05:28 +0000 (17:05 +0000)]
Cope with results from the OSM Namefinder that have no name.

13 years agoUse David Earl's arrow icon to show the position of a search result.
Tom Hughes [Wed, 8 Aug 2007 16:57:09 +0000 (16:57 +0000)]
Use David Earl's arrow icon to show the position of a search result.

13 years agoUse IP GeoLocation to choose a default view for the slippy map if
Tom Hughes [Wed, 8 Aug 2007 12:37:16 +0000 (12:37 +0000)]
Use IP GeoLocation to choose a default view for the slippy map if
we don't have any better ideas.

13 years agoUpdate OpenSearch plugin to work with new search system.
Tom Hughes [Wed, 8 Aug 2007 08:47:29 +0000 (08:47 +0000)]
Update OpenSearch plugin to work with new search system.

13 years agoAdd some help to the search box.
Tom Hughes [Wed, 8 Aug 2007 08:29:31 +0000 (08:29 +0000)]
Add some help to the search box.

13 years agoOnly use the actual name that matched as the link, which helps to highlight it.
Tom Hughes [Tue, 7 Aug 2007 23:51:02 +0000 (23:51 +0000)]
Only use the actual name that matched as the link, which helps to highlight it.

13 years agoAdd an explicit message when no results are found for a given source.
Tom Hughes [Tue, 7 Aug 2007 23:25:35 +0000 (23:25 +0000)]
Add an explicit message when no results are found for a given source.

13 years agoRecognise UK postcodes with a space in the middle.
Tom Hughes [Tue, 7 Aug 2007 23:20:25 +0000 (23:20 +0000)]
Recognise UK postcodes with a space in the middle.

13 years agoAdd a marker to the map when clicking on a search result.
Tom Hughes [Tue, 7 Aug 2007 23:17:13 +0000 (23:17 +0000)]
Add a marker to the map when clicking on a search result.

13 years agoCope with the OSM NameFinder returning a result with no nearby places.
Tom Hughes [Tue, 7 Aug 2007 17:29:27 +0000 (17:29 +0000)]
Cope with the OSM NameFinder returning a result with no nearby places.

13 years agoRemove old geocoder views and add new one.
Tom Hughes [Tue, 7 Aug 2007 17:14:27 +0000 (17:14 +0000)]
Remove old geocoder views and add new one.

13 years agoCommit SteveC's removal of the mappam ads.
Tom Hughes [Tue, 7 Aug 2007 17:12:29 +0000 (17:12 +0000)]
Commit SteveC's removal of the mappam ads.

13 years agoNew improved geocoder with extra added AJAX and OSM Namefinder support.
Tom Hughes [Tue, 7 Aug 2007 17:09:37 +0000 (17:09 +0000)]
New improved geocoder with extra added AJAX and OSM Namefinder support.

13 years agoRan "rake rails:update" to update resources to latest rails 1.2.3 ones.
Tom Hughes [Mon, 6 Aug 2007 07:53:41 +0000 (07:53 +0000)]
Ran "rake rails:update" to update resources to latest rails 1.2.3 ones.

13 years agovarious bugfixes, new natural presets
Richard Fairhurst [Fri, 3 Aug 2007 12:09:24 +0000 (12:09 +0000)]
various bugfixes, new natural presets

13 years agoFix counting of tagged ways, and handle having more users in the days
Tom Hughes [Wed, 1 Aug 2007 16:05:13 +0000 (16:05 +0000)]
Fix counting of tagged ways, and handle having more users in the days
columns than the other columns.

13 years agoFix the "number of users editing..." table.
Tom Hughes [Wed, 1 Aug 2007 15:19:45 +0000 (15:19 +0000)]
Fix the "number of users editing..." table.

13 years agoSome statistics improvements:
Tom Hughes [Wed, 1 Aug 2007 15:15:06 +0000 (15:15 +0000)]
Some statistics improvements:

  - Show top 50 GPX uploaders, not just top 10
  - Show counts for editors again
  - Show all editors for the last day, not just top 60

13 years agoOnly count visible objects.
Tom Hughes [Wed, 1 Aug 2007 14:42:58 +0000 (14:42 +0000)]
Only count visible objects.

13 years agoAdd a statistics script to replace the horrid (and not in the
Tom Hughes [Wed, 1 Aug 2007 12:38:53 +0000 (12:38 +0000)]
Add a statistics script to replace the horrid (and not in the
repository) one we're using at the moment.

13 years agoRemoved unused preferences method from the user controller - the field
Tom Hughes [Tue, 31 Jul 2007 08:21:16 +0000 (08:21 +0000)]
Removed unused preferences method from the user controller - the field
no longer exists anyway so it was not at all useful.

13 years agoRemoved unused HTTP status code definitions - we now use the Rails ones.
Tom Hughes [Mon, 30 Jul 2007 23:16:13 +0000 (23:16 +0000)]
Removed unused HTTP status code definitions - we now use the Rails ones.

13 years agoSwitch to storing sessions in the database.
Tom Hughes [Mon, 30 Jul 2007 23:06:31 +0000 (23:06 +0000)]
Switch to storing sessions in the database.

13 years agoAdd migration to create session table in the database.
Tom Hughes [Mon, 30 Jul 2007 22:59:20 +0000 (22:59 +0000)]
Add migration to create session table in the database.

13 years agoGive up after reporting that the query found too many nodes.
Tom Hughes [Mon, 30 Jul 2007 21:09:58 +0000 (21:09 +0000)]
Give up after reporting that the query found too many nodes.

13 years agoNew database migration to cleanup lots of things.
Tom Hughes [Sun, 29 Jul 2007 19:30:11 +0000 (19:30 +0000)]
New database migration to cleanup lots of things.

13 years agoBloomin Americans that can't spell...
Tom Hughes [Sun, 29 Jul 2007 16:26:57 +0000 (16:26 +0000)]
Bloomin Americans that can't spell...

13 years agoFix typo.
Tom Hughes [Sun, 29 Jul 2007 16:25:13 +0000 (16:25 +0000)]
Fix typo.

13 years agoAdd support for displaying a map covering a specified bounding box.
Tom Hughes [Sun, 29 Jul 2007 14:26:42 +0000 (14:26 +0000)]
Add support for displaying a map covering a specified bounding box.

13 years agoRemember which layers are active in the cookie and URLs.
Tom Hughes [Sun, 29 Jul 2007 14:06:04 +0000 (14:06 +0000)]
Remember which layers are active in the cookie and URLs.

13 years agoBack out previous change, and use the name in the "Posted by" line to
Tom Hughes [Sat, 28 Jul 2007 19:08:52 +0000 (19:08 +0000)]
Back out previous change, and use the name in the "Posted by" line to
link to the user details instead.

13 years agoLink to a user's details from their diary page.
Tom Hughes [Sat, 28 Jul 2007 19:06:07 +0000 (19:06 +0000)]
Link to a user's details from their diary page.

13 years agoFix links to users' diaries.
Tom Hughes [Sat, 28 Jul 2007 19:02:49 +0000 (19:02 +0000)]
Fix links to users' diaries.

13 years agoShow an edit link on the trace details page, and use the same zoom level
Tom Hughes [Sat, 28 Jul 2007 16:49:46 +0000 (16:49 +0000)]
Show an edit link on the trace details page, and use the same zoom level
as the trace list.

13 years agoAdd missing quote.
Tom Hughes [Sat, 28 Jul 2007 16:47:22 +0000 (16:47 +0000)]
Add missing quote.

13 years agoAdd a link to a user's home location if they have one.
Tom Hughes [Sat, 28 Jul 2007 16:39:44 +0000 (16:39 +0000)]
Add a link to a user's home location if they have one.

13 years agoProvide separate map and edit links for each trace.
Tom Hughes [Sat, 28 Jul 2007 16:35:23 +0000 (16:35 +0000)]
Provide separate map and edit links for each trace.

13 years agoUse a cookie to remember the last location viewed on the slippy map.
Tom Hughes [Sat, 28 Jul 2007 00:07:31 +0000 (00:07 +0000)]
Use a cookie to remember the last location viewed on the slippy map.

13 years agoUser null to indicate the the user's home location is not set.
Tom Hughes [Fri, 27 Jul 2007 17:46:01 +0000 (17:46 +0000)]
User null to indicate the the user's home location is not set.

13 years agoFactor out loading of the various fixtures needed to test API calls
Tom Hughes [Fri, 27 Jul 2007 08:47:35 +0000 (08:47 +0000)]
Factor out loading of the various fixtures needed to test API calls
into a shared method.

13 years agoLoad way fixtures so segment delete tests will fail when segments
Tom Hughes [Fri, 27 Jul 2007 08:29:13 +0000 (08:29 +0000)]
Load way fixtures so segment delete tests will fail when segments
are in use.

13 years agoHandle segments which do not exist correctly and indicate that the
Tom Hughes [Fri, 27 Jul 2007 08:16:12 +0000 (08:16 +0000)]
Handle segments which do not exist correctly and indicate that the
preconditions for the way are not met.

13 years agoadded more tests
Frederik Ramm [Thu, 26 Jul 2007 22:05:51 +0000 (22:05 +0000)]
added more tests

13 years agoAdd a flag to allow the API to be placed in read-only mode.
Tom Hughes [Thu, 26 Jul 2007 17:15:23 +0000 (17:15 +0000)]
Add a flag to allow the API to be placed in read-only mode.

13 years agoMake the search calls a bit more efficient and add some limits on the
Tom Hughes [Thu, 26 Jul 2007 14:30:54 +0000 (14:30 +0000)]
Make the search calls a bit more efficient and add some limits on the
number of result objects we are prepared to return.