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

17 years agofix problematic merge
Richard Fairhurst [Sat, 7 Jul 2007 13:26:17 +0000 (13:26 +0000)]
fix problematic merge

17 years agoDisable asset tagging to get better caching of assets.
Tom Hughes [Fri, 6 Jul 2007 13:47:13 +0000 (13:47 +0000)]
Disable asset tagging to get better caching of assets.

17 years agoAdd OpenSearch search plugins from Jono to the site. Fixes #506.
Tom Hughes [Thu, 5 Jul 2007 18:00:30 +0000 (18:00 +0000)]
Add OpenSearch search plugins from Jono to the site. Fixes #506.

17 years agoRestore favicon.
Tom Hughes [Thu, 5 Jul 2007 15:36:21 +0000 (15:36 +0000)]
Restore favicon.

17 years agoHandle public flag for GPX creation properly.
Tom Hughes [Mon, 2 Jul 2007 23:38:13 +0000 (23:38 +0000)]
Handle public flag for GPX creation properly.

17 years agoRefactor GPX creation routines to share common code.
Tom Hughes [Mon, 2 Jul 2007 23:33:28 +0000 (23:33 +0000)]
Refactor GPX creation routines to share common code.

17 years agoRemove scripts for old slippy map which are no longer used.
Tom Hughes [Sat, 30 Jun 2007 16:30:28 +0000 (16:30 +0000)]
Remove scripts for old slippy map which are no longer used.

17 years agoMake the slippy map work properly on IE7 at last!
Tom Hughes [Sat, 30 Jun 2007 15:47:35 +0000 (15:47 +0000)]
Make the slippy map work properly on IE7 at last!

17 years agoFix some HTML validation issue.
Tom Hughes [Sat, 30 Jun 2007 12:09:28 +0000 (12:09 +0000)]
Fix some HTML validation issue.

17 years agoUse Math.PI instead of defining it ourselves (and sometimes forgetting).
Tom Hughes [Sat, 30 Jun 2007 11:25:53 +0000 (11:25 +0000)]
Use Math.PI instead of defining it ourselves (and sometimes forgetting).

17 years agoBring some sort of sanity to sequence numbers for segments in a
Tom Hughes [Fri, 29 Jun 2007 23:00:27 +0000 (23:00 +0000)]
Bring some sort of sanity to sequence numbers for segments in a
way - now everything starts counting at one again and nothing starts
at zero.

17 years agoWith much assistance from kleptog, make the map wrap when zoomed right out.
Tom Hughes [Fri, 29 Jun 2007 15:43:14 +0000 (15:43 +0000)]
With much assistance from kleptog, make the map wrap when zoomed right out.

17 years agoOnly do mappam for www.openstreetmap.org and openstreetmap.org to stop
Tom Hughes [Fri, 29 Jun 2007 14:54:55 +0000 (14:54 +0000)]
Only do mappam for www.openstreetmap.org and openstreetmap.org to stop
the annoying "wrong API key" errors popping up all the time on my test
environment.

17 years agoRemove require_user for the api_details method as that uses HTTP authentication.
Tom Hughes [Fri, 29 Jun 2007 10:33:14 +0000 (10:33 +0000)]
Remove require_user for the api_details method as that uses HTTP authentication.
Also set the content type for API responses.

17 years agoadd mappam... also stuff in user controller that must have been done by TomH?
Steve Coast [Fri, 29 Jun 2007 10:18:08 +0000 (10:18 +0000)]
add mappam... also stuff in user controller that must have been done by TomH?

17 years agoMake sure we clear the tags and segments for a way when it is deleted.
Tom Hughes [Wed, 27 Jun 2007 23:44:40 +0000 (23:44 +0000)]
Make sure we clear the tags and segments for a way when it is deleted.

Also remove some redundant setting of timestamps that will be overwritten
by the model when saving.

17 years agoMake passwords with a colon in them work.
Tom Hughes [Wed, 27 Jun 2007 18:46:23 +0000 (18:46 +0000)]
Make passwords with a colon in them work.

17 years agoMake negative caching of users work.
Tom Hughes [Wed, 27 Jun 2007 18:16:04 +0000 (18:16 +0000)]
Make negative caching of users work.

17 years agoFix deprecation warning.
Tom Hughes [Wed, 27 Jun 2007 18:09:31 +0000 (18:09 +0000)]
Fix deprecation warning.

17 years agoMore search fixes...
Tom Hughes [Wed, 27 Jun 2007 17:48:05 +0000 (17:48 +0000)]
More search fixes...

17 years agoFix way search.
Tom Hughes [Wed, 27 Jun 2007 17:45:00 +0000 (17:45 +0000)]
Fix way search.

17 years agoSplit the rest action into sparate read, update and delete actions thus
Tom Hughes [Wed, 27 Jun 2007 17:27:10 +0000 (17:27 +0000)]
Split the rest action into sparate read, update and delete actions thus
allowing authorization to be done on a per-action basis without worring
about the method. This should make the user API work.

Also do a lot of cleanup of the controllers.

17 years agouse render proc to write out results, see if that makes things faster
Richard Fairhurst [Wed, 27 Jun 2007 10:18:55 +0000 (10:18 +0000)]
use render proc to write out results, see if that makes things faster

17 years agoFix breakage.
Tom Hughes [Wed, 27 Jun 2007 07:54:09 +0000 (07:54 +0000)]
Fix breakage.

17 years agoAdd more logging...
Tom Hughes [Wed, 27 Jun 2007 07:52:58 +0000 (07:52 +0000)]
Add more logging...

17 years agoTreat a timestamp that can't be parse as if it didn't exist.
Tom Hughes [Tue, 26 Jun 2007 23:21:20 +0000 (23:21 +0000)]
Treat a timestamp that can't be parse as if it didn't exist.

17 years agoEnhance logging.
Tom Hughes [Tue, 26 Jun 2007 22:54:21 +0000 (22:54 +0000)]
Enhance logging.

17 years agoCreate XML documents properly.
Tom Hughes [Tue, 26 Jun 2007 17:43:24 +0000 (17:43 +0000)]
Create XML documents properly.

17 years agoRestrict object IDs to numbers to make search methods route correctly.
Tom Hughes [Tue, 26 Jun 2007 17:39:00 +0000 (17:39 +0000)]
Restrict object IDs to numbers to make search methods route correctly.

17 years agoFix typo.
Tom Hughes [Tue, 26 Jun 2007 15:42:52 +0000 (15:42 +0000)]
Fix typo.

17 years agoAdd some logging.
Tom Hughes [Tue, 26 Jun 2007 15:42:05 +0000 (15:42 +0000)]
Add some logging.

17 years agofixing version problem for way_tags
Richard Fairhurst [Tue, 26 Jun 2007 12:42:28 +0000 (12:42 +0000)]
fixing version problem for way_tags

17 years agoSet the log level correctly for the custom logger.
Tom Hughes [Mon, 25 Jun 2007 23:33:55 +0000 (23:33 +0000)]
Set the log level correctly for the custom logger.

17 years agoImplement a custom log class to make the log more readable.
Tom Hughes [Mon, 25 Jun 2007 23:26:10 +0000 (23:26 +0000)]
Implement a custom log class to make the log more readable.

17 years agomore accurate unwayed segments display; warning icon flashes and has a Helpful Tooltip
Richard Fairhurst [Sun, 24 Jun 2007 16:23:12 +0000 (16:23 +0000)]
more accurate unwayed segments display; warning icon flashes and has a Helpful Tooltip

17 years agoEnhacements to the migration library code.
Tom Hughes [Sun, 24 Jun 2007 16:00:46 +0000 (16:00 +0000)]
Enhacements to the migration library code.

17 years agobetter SQL in putway, plus trap any 0/1-length ways that Potlatch may try to upload
Richard Fairhurst [Sun, 24 Jun 2007 15:22:56 +0000 (15:22 +0000)]
better SQL in putway, plus trap any 0/1-length ways that Potlatch may try to upload

17 years agoPrimary keys can't have names so don't pretend otherwise.
Tom Hughes [Sun, 24 Jun 2007 11:38:35 +0000 (11:38 +0000)]
Primary keys can't have names so don't pretend otherwise.

17 years agoMove common support code from the base migration to a library file where
Tom Hughes [Sun, 24 Jun 2007 11:25:26 +0000 (11:25 +0000)]
Move common support code from the base migration to a library file where
it can be used by other migrations.

17 years agoRemove old create_database.sql script as it no longers matches the
Tom Hughes [Sun, 24 Jun 2007 11:14:29 +0000 (11:14 +0000)]
Remove old create_database.sql script as it no longers matches the
database and everything should be done with migrations now.

17 years agoMake sure we get the list of tags and segments to save before we do the
Tom Hughes [Sun, 24 Jun 2007 11:12:52 +0000 (11:12 +0000)]
Make sure we get the list of tags and segments to save before we do the
corresponding delete, as otherwise we might not have read them from the
database yet.

17 years agoFix bogus SQL.
Tom Hughes [Sun, 24 Jun 2007 10:53:37 +0000 (10:53 +0000)]
Fix bogus SQL.

17 years agoAllow all trackpoints to be fetched, not just those from public traces and
Tom Hughes [Sun, 24 Jun 2007 10:51:29 +0000 (10:51 +0000)]
Allow all trackpoints to be fetched, not just those from public traces and
the user's own traces. Also restore the 0.3 API functionality that eliminate
duplicate points.

17 years agoUse a multi-pass approach to parsing GPX files to keep memory usage down.
Tom Hughes [Sun, 24 Jun 2007 10:38:31 +0000 (10:38 +0000)]
Use a multi-pass approach to parsing GPX files to keep memory usage down.

17 years agoFix the segs and tags methods for old_ways so they work.
Tom Hughes [Sat, 23 Jun 2007 23:21:35 +0000 (23:21 +0000)]
Fix the segs and tags methods for old_ways so they work.