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

17 years agoMake sure the associations with segments and old ways are properly ordered.
Tom Hughes [Sat, 23 Jun 2007 23:06:48 +0000 (23:06 +0000)]
Make sure the associations with segments and old ways are properly ordered.

17 years agoUnconfuse OpenLayer's base location detection.
Tom Hughes [Sat, 23 Jun 2007 18:35:04 +0000 (18:35 +0000)]
Unconfuse OpenLayer's base location detection.

17 years agoFactor out javascript code to support OpenLayers maps into a common file
Tom Hughes [Sat, 23 Jun 2007 18:29:01 +0000 (18:29 +0000)]
Factor out javascript code to support OpenLayers maps into a common file
that is shared by both the (current) pages that display maps.

17 years agoMake sure the diary link in the LHS navigation goes to the global diary.
Tom Hughes [Sat, 23 Jun 2007 12:46:18 +0000 (12:46 +0000)]
Make sure the diary link in the LHS navigation goes to the global diary.

17 years agoFix up routes for diary entry changes in r3302.
Tom Hughes [Sat, 23 Jun 2007 12:44:22 +0000 (12:44 +0000)]
Fix up routes for diary entry changes in r3302.

17 years agoMake per-user diary entry lists go through the diary_entry controller so
Tom Hughes [Sat, 23 Jun 2007 12:41:58 +0000 (12:41 +0000)]
Make per-user diary entry lists go through the diary_entry controller so
that we aren't duplicating everything in the user controller.

This also makes per-user RSS feeds work, and makes links to specific posts
work properly so that the RSS feeds behave sensibly.

17 years agoAdding tag name to title if available.
Dan Karran [Sat, 23 Jun 2007 11:30:03 +0000 (11:30 +0000)]
Adding tag name to title if available.

17 years agoRemoving list of nearby users from account page (now duplicated publicly on user...
Dan Karran [Sat, 23 Jun 2007 11:08:58 +0000 (11:08 +0000)]
Removing list of nearby users from account page (now duplicated publicly on user profile page), changing 'Name' label to 'Email' and moving the description textbox further up the page.

17 years agoAdding trace link to logged in user's profile too.
Dan Karran [Sat, 23 Jun 2007 10:59:20 +0000 (10:59 +0000)]
Adding trace link to logged in user's profile too.

17 years agoAdding titles to trace lists
Dan Karran [Sat, 23 Jun 2007 10:52:34 +0000 (10:52 +0000)]
Adding titles to trace lists

17 years agoLink from user profile to view traces and to set home location if none is set.
Dan Karran [Sat, 23 Jun 2007 10:39:23 +0000 (10:39 +0000)]
Link from user profile to view traces and to set home location if none is set.

17 years agoShow the most recent entries first when viewing a user's diary.
Tom Hughes [Sat, 23 Jun 2007 00:11:44 +0000 (00:11 +0000)]
Show the most recent entries first when viewing a user's diary.

17 years agoCorrectly record which user deleted an object.
Tom Hughes [Fri, 22 Jun 2007 15:37:57 +0000 (15:37 +0000)]
Correctly record which user deleted an object.

17 years agoFill in the visible flag correctly when updating the history for a way.
Tom Hughes [Fri, 22 Jun 2007 15:34:24 +0000 (15:34 +0000)]
Fill in the visible flag correctly when updating the history for a way.

17 years agoFixup the base migration so that it creates a database which matches the
Tom Hughes [Fri, 22 Jun 2007 11:10:10 +0000 (11:10 +0000)]
Fixup the base migration so that it creates a database which matches the
one on the live server.

17 years agoAvoid reading traces and trace images into memory when sending them to
Tom Hughes [Thu, 21 Jun 2007 23:19:25 +0000 (23:19 +0000)]
Avoid reading traces and trace images into memory when sending them to
the client, and make sure the MIME type is correct for trace files.

17 years agoAdd support for segment/:id/ways and node/:id/segments API calls. Fixes #452.
Tom Hughes [Thu, 21 Jun 2007 22:52:40 +0000 (22:52 +0000)]
Add support for segment/:id/ways and node/:id/segments API calls. Fixes #452.

17 years agoOnly treat a user as logged in if the user object has an id value - this
Tom Hughes [Thu, 21 Jun 2007 22:50:17 +0000 (22:50 +0000)]
Only treat a user as logged in if the user object has an id value - this
avoids problem when creating an account fails and leaves an unsaved user
object with no id value.

17 years agoSupport tar archives of traces, with optional gzip or bzip2 compression.
Tom Hughes [Thu, 21 Jun 2007 10:50:18 +0000 (10:50 +0000)]
Support tar archives of traces, with optional gzip or bzip2 compression.

17 years agoSet the map units to something OpenLayers? actually understands...
Tom Hughes [Thu, 21 Jun 2007 09:25:43 +0000 (09:25 +0000)]
Set the map units to something OpenLayers? actually understands...

17 years agoRevert accidental commit.
Tom Hughes [Thu, 21 Jun 2007 09:24:05 +0000 (09:24 +0000)]
Revert accidental commit.

17 years agoSet the map units to something OpenLayers actually understands...
Tom Hughes [Thu, 21 Jun 2007 08:16:50 +0000 (08:16 +0000)]
Set the map units to something OpenLayers actually understands...

17 years agoSeperating message receiving off into 'inbox' function.
Dan Karran [Wed, 20 Jun 2007 22:32:15 +0000 (22:32 +0000)]
Seperating message receiving off into 'inbox' function.

17 years agoMake "nearby users" show all those within 50km rather than all those
Tom Hughes [Wed, 20 Jun 2007 17:04:29 +0000 (17:04 +0000)]
Make "nearby users" show all those within 50km rather than all those
within a degree of latitude and longitude.

17 years agoMake the map on the user account page work.
Tom Hughes [Wed, 20 Jun 2007 09:51:37 +0000 (09:51 +0000)]
Make the map on the user account page work.

17 years agoAdding missing parentheses.
Tom Hughes [Wed, 20 Jun 2007 00:08:29 +0000 (00:08 +0000)]
Adding missing parentheses.

17 years agoRemove empty directories.
Tom Hughes [Wed, 20 Jun 2007 00:06:36 +0000 (00:06 +0000)]
Remove empty directories.

17 years agoAdd missing CSS and image resources from OpenLayers 2.4 release and
Tom Hughes [Wed, 20 Jun 2007 00:06:02 +0000 (00:06 +0000)]
Add missing CSS and image resources from OpenLayers 2.4 release and
reorganise things to keep OpenLayers stuff together.

17 years agoClose a number of holes in the API by making it validate changes
Tom Hughes [Tue, 19 Jun 2007 23:20:39 +0000 (23:20 +0000)]
Close a number of holes in the API by making it validate changes
more carefully.

17 years agoCope with the degenerate case of a GPX file with only a single point.
Tom Hughes [Tue, 19 Jun 2007 13:58:44 +0000 (13:58 +0000)]
Cope with the degenerate case of a GPX file with only a single point.

17 years agoReturn usernames correctly.
Tom Hughes [Tue, 19 Jun 2007 11:23:12 +0000 (11:23 +0000)]
Return usernames correctly.

17 years agoUse DateTime instead of Time for GPX timestamps as it can handle a
Tom Hughes [Mon, 18 Jun 2007 23:30:06 +0000 (23:30 +0000)]
Use DateTime instead of Time for GPX timestamps as it can handle a
wider range of dates.

17 years agoAdd support for bzip2 compressed trace files.
Tom Hughes [Mon, 18 Jun 2007 12:31:47 +0000 (12:31 +0000)]
Add support for bzip2 compressed trace files.

17 years agoTell users if the reason they can't login is because they haven't activated
Tom Hughes [Mon, 18 Jun 2007 07:27:39 +0000 (07:27 +0000)]
Tell users if the reason they can't login is because they haven't activated
their account yet.

17 years agoMake it clear that new accounts need to be actived by clicking on the
Tom Hughes [Mon, 18 Jun 2007 07:20:08 +0000 (07:20 +0000)]
Make it clear that new accounts need to be actived by clicking on the
confirm link in the email before they can be used.

17 years agoStarting to tidy up user profiles, adding nearby user list to profile page.
Dan Karran [Sun, 17 Jun 2007 22:33:14 +0000 (22:33 +0000)]
Starting to tidy up user profiles, adding nearby user list to profile page.

17 years agoAdding a guid element to feed items, replicates URL.
Dan Karran [Sun, 17 Jun 2007 19:25:35 +0000 (19:25 +0000)]
Adding a guid element to feed items, replicates URL.

17 years agoUsing RFC-822 date for RSS feeds.
Dan Karran [Sun, 17 Jun 2007 19:17:55 +0000 (19:17 +0000)]
Using RFC-822 date for RSS feeds.

17 years agoSetting correct XML content-type for trace RSS feeds.
Dan Karran [Sat, 16 Jun 2007 21:32:41 +0000 (21:32 +0000)]
Setting correct XML content-type for trace RSS feeds.

17 years agoAdding titles to some more pages, adding a redirect after sent messages and setting...
Dan Karran [Sat, 16 Jun 2007 20:38:14 +0000 (20:38 +0000)]
Adding titles to some more pages, adding a redirect after sent messages and setting correct XML content-type header for RSS feeds.

17 years agoAllow access to all zoom levels again.
Tom Hughes [Fri, 15 Jun 2007 13:47:08 +0000 (13:47 +0000)]
Allow access to all zoom levels again.

17 years agoDon't try and apply pngfix to OpenLayers tile images.
Tom Hughes [Fri, 15 Jun 2007 13:36:28 +0000 (13:36 +0000)]
Don't try and apply pngfix to OpenLayers tile images.

17 years agoUpgrade OpenLayers to the 2.4 release.
Tom Hughes [Fri, 15 Jun 2007 13:11:05 +0000 (13:11 +0000)]
Upgrade OpenLayers to the 2.4 release.

17 years agoDon't load pngfix.js on IE7 as it isn't needed.
Tom Hughes [Fri, 15 Jun 2007 13:03:30 +0000 (13:03 +0000)]
Don't load pngfix.js on IE7 as it isn't needed.

17 years agoFix rm call to actually work...
Tom Hughes [Fri, 15 Jun 2007 11:28:58 +0000 (11:28 +0000)]
Fix rm call to actually work...

17 years agoWhen a new user confirms their email address, log them automatically and
Tom Hughes [Thu, 14 Jun 2007 23:55:26 +0000 (23:55 +0000)]
When a new user confirms their email address, log them automatically and
redirect them to their account page so they can set their home location
and description if they want.

17 years agoMake as executable.
Tom Hughes [Thu, 14 Jun 2007 23:09:07 +0000 (23:09 +0000)]
Make as executable.

17 years agoCheck for GPX files to import every five minutes.
Tom Hughes [Thu, 14 Jun 2007 23:04:17 +0000 (23:04 +0000)]
Check for GPX files to import every five minutes.

17 years agoAdd a daemon to cleanup stale sessions.
Tom Hughes [Thu, 14 Jun 2007 23:03:41 +0000 (23:03 +0000)]
Add a daemon to cleanup stale sessions.

17 years agoDon't try and update links on nodes whose names match member functions
Tom Hughes [Thu, 14 Jun 2007 09:29:32 +0000 (09:29 +0000)]
Don't try and update links on nodes whose names match member functions
of the JavaScript Array object...

17 years agoMake sure we always put a valid URL on the edit tab, and allow switching
Tom Hughes [Wed, 13 Jun 2007 10:02:37 +0000 (10:02 +0000)]
Make sure we always put a valid URL on the edit tab, and allow switching
to the editor to work from z11 instead of z14 as that is what Potlatch
supports.

Also fix default zooms for Potlatch when no position is given.

17 years agoAdd the search boxes to the edit page.
Tom Hughes [Tue, 12 Jun 2007 16:51:12 +0000 (16:51 +0000)]
Add the search boxes to the edit page.

17 years agoBe a bit more intelligent when trying to update the arguments on a link.
Tom Hughes [Tue, 12 Jun 2007 16:16:49 +0000 (16:16 +0000)]
Be a bit more intelligent when trying to update the arguments on a link.

17 years agoSet the lat and long on the view and edit tabs when the map is loaded.
Tom Hughes [Tue, 12 Jun 2007 10:13:15 +0000 (10:13 +0000)]
Set the lat and long on the view and edit tabs when the map is loaded.