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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.