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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 years agoImprove reporting of errors in GPX uploads, and allow private traces
Tom Hughes [Tue, 12 Jun 2007 08:52:19 +0000 (08:52 +0000)]
Improve reporting of errors in GPX uploads, and allow private traces
to be uploaded once again.

16 years agoAllow users to change their password from the account page, and get rid
Tom Hughes [Tue, 12 Jun 2007 00:28:53 +0000 (00:28 +0000)]
Allow users to change their password from the account page, and get rid
of the separate edit page that (partially) duplicated the account page.

16 years agoMake field names consistent with the account editing page.
Tom Hughes [Mon, 11 Jun 2007 23:56:38 +0000 (23:56 +0000)]
Make field names consistent with the account editing page.

16 years agoImprove handling of login/logout some more to improve the chances of
Tom Hughes [Mon, 11 Jun 2007 23:49:03 +0000 (23:49 +0000)]
Improve handling of login/logout some more to improve the chances of
us ending up on the right page afterwards.

16 years agoAdding routes for overall diary RSS, user-specific diary RSS, language-specific globa...
Dan Karran [Mon, 11 Jun 2007 21:51:22 +0000 (21:51 +0000)]
Adding routes for overall diary RSS, user-specific diary RSS, language-specific global diary RSS (both to come still) and messaging inbox (to come still).

16 years agoAdding RSS feed to main diary page, with space for lat/long info to be associated...
Dan Karran [Mon, 11 Jun 2007 21:42:00 +0000 (21:42 +0000)]
Adding RSS feed to main diary page, with space for lat/long info to be associated with each post in the future, though that needs adding still.

16 years agoleft a bit in previous commit that shouldn't have been there.
Dan Karran [Mon, 11 Jun 2007 21:23:03 +0000 (21:23 +0000)]
left a bit in previous commit that shouldn't have been there.

16 years ago#499: Making GeoRSS class more reusable and stopping geotags being added if there...
Dan Karran [Mon, 11 Jun 2007 21:19:25 +0000 (21:19 +0000)]
#499: Making GeoRSS class more reusable and stopping geotags being added if there is no geodata to be represented. The only reference I can find to code using this class currently is the GPX GeoRSS generator which doesn't specify any parameters, so it shouldn't matter that I have added a title parameter before the description parameter.

16 years agoremove timeout
Richard Fairhurst [Mon, 11 Jun 2007 14:43:06 +0000 (14:43 +0000)]
remove timeout

16 years agoMake sure we get the display name from the database when building
Tom Hughes [Mon, 11 Jun 2007 08:59:33 +0000 (08:59 +0000)]
Make sure we get the display name from the database when building
the form submission URL as the user might just have tried to change
it in which case the one in the user object will be the new one.

16 years agoDon't allow [/;.,?] to be used in display names, as those are used as
Tom Hughes [Mon, 11 Jun 2007 08:43:47 +0000 (08:43 +0000)]
Don't allow [/;.,?] to be used in display names, as those are used as
separator characters by rails when routing, which means a display name
containing them will not work as part of a URL.

16 years agoMake next and previous links on user/XXX/traces work. Fixes #501.
Tom Hughes [Sun, 10 Jun 2007 23:51:23 +0000 (23:51 +0000)]
Make next and previous links on user/XXX/traces work. Fixes #501.

16 years agoAvoid warnings about spaces in method calls.
Tom Hughes [Sun, 10 Jun 2007 23:40:35 +0000 (23:40 +0000)]
Avoid warnings about spaces in method calls.

16 years agoUse messages.empty? instead of the deprecated has_messages? method.
Tom Hughes [Sun, 10 Jun 2007 23:25:41 +0000 (23:25 +0000)]
Use messages.empty? instead of the deprecated has_messages? method.

16 years agoUser form_tag/end instead of start_form_tag/end_form_tag to avoid
Tom Hughes [Sun, 10 Jun 2007 23:22:56 +0000 (23:22 +0000)]
User form_tag/end instead of start_form_tag/end_form_tag to avoid
deprecation warnings.

16 years agostart editing at the correct lat/lon, not slightly off
Richard Fairhurst [Sun, 10 Jun 2007 17:42:19 +0000 (17:42 +0000)]
start editing at the correct lat/lon, not slightly off

16 years agoUse params[] instead of @params[] to avoid deprecation warnings.
Tom Hughes [Sun, 10 Jun 2007 16:29:15 +0000 (16:29 +0000)]
Use params[] instead of @params[] to avoid deprecation warnings.

16 years agoLink OSM logo in site layout to the site's homepage (default map view).
Dan Karran [Sun, 10 Jun 2007 13:57:17 +0000 (13:57 +0000)]
Link OSM logo in site layout to the site's homepage (default map view).

16 years agoOnly validate the presence of a description on create as we have old
Tom Hughes [Sun, 10 Jun 2007 09:08:22 +0000 (09:08 +0000)]
Only validate the presence of a description on create as we have old
records in the database with no description.

16 years agoChange server_settings to smtp_settings to avoid deprecation warning.
Tom Hughes [Sun, 10 Jun 2007 08:13:03 +0000 (08:13 +0000)]
Change server_settings to smtp_settings to avoid deprecation warning.

16 years agoRefactor GPX import code to make reimporting old traces easier.
Tom Hughes [Sat, 9 Jun 2007 23:34:50 +0000 (23:34 +0000)]
Refactor GPX import code to make reimporting old traces easier.

16 years agoMark user as active when issuing a new password - this allows users who
Tom Hughes [Sat, 9 Jun 2007 23:08:18 +0000 (23:08 +0000)]
Mark user as active when issuing a new password - this allows users who
forgot to activate their account to do so by going through the lost password
procedure, which effectively revalidates their email address.

16 years agoValidate passwords properly when creating an account. Fixes #419.
Tom Hughes [Sat, 9 Jun 2007 22:56:18 +0000 (22:56 +0000)]
Validate passwords properly when creating an account. Fixes #419.

16 years ago#374: changing W3C geo tags to use 'long' instead of 'lon', per spec.
Dan Karran [Sat, 9 Jun 2007 21:41:48 +0000 (21:41 +0000)]
#374: changing W3C geo tags to use 'long' instead of 'lon', per spec.

16 years agoAllow the page titles to be edited by other parts of the app.
Dan Karran [Sat, 9 Jun 2007 20:47:37 +0000 (20:47 +0000)]
Allow the page titles to be edited by other parts of the app.

16 years agounwayed segments fix
Richard Fairhurst [Fri, 8 Jun 2007 17:37:54 +0000 (17:37 +0000)]
unwayed segments fix

16 years agowarning/retry uploads if server is being dozy
Richard Fairhurst [Fri, 8 Jun 2007 16:30:02 +0000 (16:30 +0000)]
warning/retry uploads if server is being dozy

16 years agoTomH's way history patch
Richard Fairhurst [Fri, 8 Jun 2007 10:40:26 +0000 (10:40 +0000)]
TomH's way history patch

16 years agoExtra check that nodes/segments in ways are visible
Richard Fairhurst [Fri, 8 Jun 2007 10:36:36 +0000 (10:36 +0000)]
Extra check that nodes/segments in ways are visible

16 years agoannouncement for SOTM to site on front page
Nick Black [Fri, 8 Jun 2007 09:21:36 +0000 (09:21 +0000)]
announcement for SOTM to site on front page

16 years ago#493: tweaking some notification messages in user_controller.
Dan Karran [Thu, 7 Jun 2007 14:36:13 +0000 (14:36 +0000)]
#493: tweaking some notification messages in user_controller.

16 years agostart of unwayed segments support
Richard Fairhurst [Thu, 7 Jun 2007 09:18:23 +0000 (09:18 +0000)]
start of unwayed segments support

16 years agofix based from TomH-Home
Steve Coast [Thu, 7 Jun 2007 00:38:09 +0000 (00:38 +0000)]
fix based from TomH-Home

16 years agoLatest Potlatch, plus TomH's GPX fix
Richard Fairhurst [Wed, 6 Jun 2007 09:59:59 +0000 (09:59 +0000)]
Latest Potlatch, plus TomH's GPX fix

16 years agoTomH's 500 patch
Richard Fairhurst [Mon, 4 Jun 2007 08:57:13 +0000 (08:57 +0000)]
TomH's 500 patch

16 years agorm double "this"
Dirk-Lüder Kreie [Thu, 31 May 2007 12:33:51 +0000 (12:33 +0000)]
rm double "this"

16 years agovarious things from TomH
Steve Coast [Tue, 29 May 2007 23:25:41 +0000 (23:25 +0000)]
various things from TomH

16 years agoqueue uploads; better tolerance on click vs drag
Richard Fairhurst [Mon, 28 May 2007 20:04:52 +0000 (20:04 +0000)]
queue uploads; better tolerance on click vs drag

16 years agono longer deletes nodes used in other segments ('H' test case)
Richard Fairhurst [Mon, 28 May 2007 19:06:42 +0000 (19:06 +0000)]
no longer deletes nodes used in other segments ('H' test case)

16 years agoTomH's patches
Richard Fairhurst [Mon, 28 May 2007 14:54:50 +0000 (14:54 +0000)]
TomH's patches

16 years agoHiding the element and then, shortly after, redisplaying it makes IE6 re-render
John McKerrell [Mon, 28 May 2007 14:52:06 +0000 (14:52 +0000)]
Hiding the element and then, shortly after, redisplaying it makes IE6 re-render
things correctly.

16 years agoapplied TomH patch for lost password site
Damian Sulewski [Sat, 26 May 2007 20:58:33 +0000 (20:58 +0000)]
applied TomH patch for lost password site

16 years agoapply patch from TomH for #477 and dont require http auth on GET to the API.
Steve Coast [Thu, 24 May 2007 11:20:16 +0000 (11:20 +0000)]
apply patch from TomH for #477 and dont require http auth on GET to the API.

16 years agoreturn a blank 0.4 osm xml doc when on data found
Steve Coast [Tue, 22 May 2007 11:22:17 +0000 (11:22 +0000)]
return a blank 0.4 osm xml doc when on data found

16 years agoupdate timestamp/uid in current_ways
Richard Fairhurst [Mon, 21 May 2007 16:53:36 +0000 (16:53 +0000)]
update timestamp/uid in current_ways

16 years agodirection of new ways fixed
Richard Fairhurst [Mon, 21 May 2007 00:10:28 +0000 (00:10 +0000)]
direction of new ways fixed

16 years agobig nodes especially for SteveC
Richard Fairhurst [Sun, 20 May 2007 21:43:53 +0000 (21:43 +0000)]
big nodes especially for SteveC

16 years agowhichways now only returns visible ways
Richard Fairhurst [Sun, 20 May 2007 21:26:54 +0000 (21:26 +0000)]
whichways now only returns visible ways

16 years agovarious ruby bits
Steve Coast [Sun, 20 May 2007 21:10:51 +0000 (21:10 +0000)]
various ruby bits

16 years ago(no commit message)
Nick Whitelegg [Sun, 20 May 2007 09:57:26 +0000 (09:57 +0000)]

16 years agopatch from Martijn van Oosterhout
Steve Coast [Sat, 19 May 2007 21:20:53 +0000 (21:20 +0000)]
patch from Martijn van Oosterhout