]> git.openstreetmap.org Git - rails.git/log
rails.git
17 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.

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

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

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

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

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

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

17 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 www.openstreetmap.org for wiki
pages, so redirect them.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 years agoMake the API consistent about whether object names are plural in
Tom Hughes [Thu, 26 Jul 2007 14:24:08 +0000 (14:24 +0000)]
Make the API consistent about whether object names are plural in
search calls.

17 years agomove zoom in one level by default
Steve Coast [Wed, 25 Jul 2007 08:34:37 +0000 (08:34 +0000)]
move zoom in one level by default

17 years agoAdd some basic tests for nodes.
Tom Hughes [Tue, 24 Jul 2007 22:58:16 +0000 (22:58 +0000)]
Add some basic tests for nodes.

17 years agoUse SQL schemas, as ruby can't cope with the things we do...
Tom Hughes [Tue, 24 Jul 2007 22:57:59 +0000 (22:57 +0000)]
Use SQL schemas, as ruby can't cope with the things we do...

17 years agoways from unwayed segments now automatically fix segment direction
Richard Fairhurst [Sun, 22 Jul 2007 22:52:46 +0000 (22:52 +0000)]
ways from unwayed segments now automatically fix segment direction

17 years agoDon't include deleted segments when converting unwayed segments to ways.
Tom Hughes [Sun, 22 Jul 2007 11:33:01 +0000 (11:33 +0000)]
Don't include deleted segments when converting unwayed segments to ways.

17 years agoLog calls to the makeway method.
Tom Hughes [Sun, 22 Jul 2007 11:30:43 +0000 (11:30 +0000)]
Log calls to the makeway method.

17 years agoexperimental 'make ways out of unwayed segments' feature
Richard Fairhurst [Sat, 21 Jul 2007 21:07:40 +0000 (21:07 +0000)]
experimental 'make ways out of unwayed segments' feature

17 years agodrag newly created points
Richard Fairhurst [Sat, 21 Jul 2007 14:05:20 +0000 (14:05 +0000)]
drag newly created points

17 years agoDon't fill in from_display_name for messages - it can be got by
Tom Hughes [Fri, 20 Jul 2007 08:07:09 +0000 (08:07 +0000)]
Don't fill in from_display_name for messages - it can be got by
joining to the user table using from_user_id so is going to be
dropped.

17 years agoDon't bother setting user_id for each tracepoint - it is redundant as
Tom Hughes [Fri, 20 Jul 2007 07:51:46 +0000 (07:51 +0000)]
Don't bother setting user_id for each tracepoint - it is redundant as
the same information can be found by joining to gpx_files. It is also
never used, so the column is going to be removed.

17 years agosmarter whichways behaviour, couple of small bugfixes
Richard Fairhurst [Thu, 19 Jul 2007 20:37:05 +0000 (20:37 +0000)]
smarter whichways behaviour, couple of small bugfixes

17 years agoEscape names passed to ws.geonames.org as part of the URL.
Tom Hughes [Thu, 19 Jul 2007 15:14:34 +0000 (15:14 +0000)]
Escape names passed to ws.geonames.org as part of the URL.

17 years agoFixed error handling in the name search and tidied things up a bit.
Tom Hughes [Thu, 19 Jul 2007 13:22:15 +0000 (13:22 +0000)]
Fixed error handling in the name search and tidied things up a bit.

17 years agoDon't include passwords in the request log.
Tom Hughes [Thu, 19 Jul 2007 08:57:03 +0000 (08:57 +0000)]
Don't include passwords in the request log.

17 years agoUse a full path to find the file command.
Tom Hughes [Wed, 18 Jul 2007 08:37:46 +0000 (08:37 +0000)]
Use a full path to find the file command.

17 years agoImprove MIME type determination for trace files.
Tom Hughes [Tue, 17 Jul 2007 14:45:04 +0000 (14:45 +0000)]
Improve MIME type determination for trace files.

17 years agoProvide a more sensible suggested filename when downloading traces.
Tom Hughes [Tue, 17 Jul 2007 14:34:22 +0000 (14:34 +0000)]
Provide a more sensible suggested filename when downloading traces.

17 years agoRemove SOTM advert from site.
Tom Hughes [Mon, 16 Jul 2007 23:23:08 +0000 (23:23 +0000)]
Remove SOTM advert from site.

17 years agoAllow the map centre and marker position to be set independently.
Tom Hughes [Mon, 16 Jul 2007 09:42:17 +0000 (09:42 +0000)]
Allow the map centre and marker position to be set independently.

17 years agoFix exception handling in GPX importer.
Tom Hughes [Mon, 16 Jul 2007 06:17:05 +0000 (06:17 +0000)]
Fix exception handling in GPX importer.

17 years agostrip out any control characters before writing to the db
Richard Fairhurst [Fri, 13 Jul 2007 09:46:39 +0000 (09:46 +0000)]
strip out any control characters before writing to the db