]> git.openstreetmap.org Git - rails.git/log
rails.git
16 years agoYet more escaping.
Tom Hughes [Tue, 4 Mar 2008 17:57:51 +0000 (17:57 +0000)]
Yet more escaping.

16 years agoMore escaping.
Tom Hughes [Tue, 4 Mar 2008 17:53:36 +0000 (17:53 +0000)]
More escaping.

16 years agoEscape page title.
Tom Hughes [Tue, 4 Mar 2008 17:51:42 +0000 (17:51 +0000)]
Escape page title.

16 years agoMore display name escaping.
Tom Hughes [Tue, 4 Mar 2008 16:53:08 +0000 (16:53 +0000)]
More display name escaping.

16 years agoEscape user display names.
Tom Hughes [Tue, 4 Mar 2008 16:51:13 +0000 (16:51 +0000)]
Escape user display names.

16 years agoEscape user names in diary views.
Tom Hughes [Tue, 4 Mar 2008 16:49:12 +0000 (16:49 +0000)]
Escape user names in diary views.

16 years agoDisable the NameFinder and fix cut'n'paste error.
Tom Hughes [Tue, 26 Feb 2008 21:50:53 +0000 (21:50 +0000)]
Disable the NameFinder and fix cut'n'paste error.

16 years agoGet the user image right this time...
Tom Hughes [Mon, 25 Feb 2008 18:55:25 +0000 (18:55 +0000)]
Get the user image right this time...

16 years agoClose tag properly.
Tom Hughes [Sun, 24 Feb 2008 17:39:55 +0000 (17:39 +0000)]
Close tag properly.

16 years agoDisplay the image of the user who made the diary entry, not that of
Tom Hughes [Sun, 24 Feb 2008 17:38:50 +0000 (17:38 +0000)]
Display the image of the user who made the diary entry, not that of
the currently logged in user...

16 years agoFix stupid breakage. Closes #708.
Tom Hughes [Sun, 24 Feb 2008 13:43:42 +0000 (13:43 +0000)]
Fix stupid breakage. Closes #708.

16 years agoencourage people to set location
Steve Coast [Sat, 23 Feb 2008 16:49:08 +0000 (16:49 +0000)]
encourage people to set location

16 years agoremove deleteway logic from amf_controller (yay!) TomH: check with RichardF this...
Steve Coast [Sat, 23 Feb 2008 16:05:45 +0000 (16:05 +0000)]
remove deleteway logic from amf_controller (yay!) TomH: check with RichardF this is sane before deploying. worksforme.

16 years agoRestore add_user_image migration.
Tom Hughes [Sat, 23 Feb 2008 16:01:12 +0000 (16:01 +0000)]
Restore add_user_image migration.

16 years agoOnly check out the trunk of the image column plugin.
Tom Hughes [Sat, 23 Feb 2008 15:57:36 +0000 (15:57 +0000)]
Only check out the trunk of the image column plugin.

16 years agoRemove image migration as it isn't needed.
Tom Hughes [Sat, 23 Feb 2008 15:41:52 +0000 (15:41 +0000)]
Remove image migration as it isn't needed.

16 years agoUse named constants for HTTP response codes.
Tom Hughes [Sat, 23 Feb 2008 15:35:49 +0000 (15:35 +0000)]
Use named constants for HTTP response codes.

16 years agoUse named constants for HTTP response codes.
Tom Hughes [Sat, 23 Feb 2008 15:35:14 +0000 (15:35 +0000)]
Use named constants for HTTP response codes.

16 years agouser images
Steve Coast [Sat, 23 Feb 2008 15:18:59 +0000 (15:18 +0000)]
user images

16 years agoUser prference system basically done
Steve Coast [Sat, 23 Feb 2008 13:37:36 +0000 (13:37 +0000)]
User prference system basically done

16 years agoMake maps deeper to allow the pan/zoom bar visible.
Tom Hughes [Sat, 23 Feb 2008 12:52:57 +0000 (12:52 +0000)]
Make maps deeper to allow the pan/zoom bar visible.

16 years agoMake the slippy map on the user page deper so that the whole of the
Tom Hughes [Sat, 23 Feb 2008 12:49:29 +0000 (12:49 +0000)]
Make the slippy map on the user page deper so that the whole of the
pan/zoom bar is visible. Closes #705.

16 years agopreference stuff
Steve Coast [Sat, 23 Feb 2008 11:12:42 +0000 (11:12 +0000)]
preference stuff

16 years agomove migrations around
Steve Coast [Sat, 23 Feb 2008 10:51:33 +0000 (10:51 +0000)]
move migrations around

16 years agoReject 0/1-length ways.
Richard Fairhurst [Tue, 19 Feb 2008 18:06:26 +0000 (18:06 +0000)]
Reject 0/1-length ways.

16 years agostop accidental cities :)
Richard Fairhurst [Fri, 15 Feb 2008 13:03:14 +0000 (13:03 +0000)]
stop accidental cities :)

16 years agoPotlatch 0.7b: small bugfixes
Richard Fairhurst [Fri, 15 Feb 2008 12:52:54 +0000 (12:52 +0000)]
Potlatch 0.7b: small bugfixes

16 years agoUse PanZoomBar instead of PanZoom.
Tom Hughes [Thu, 14 Feb 2008 18:51:52 +0000 (18:51 +0000)]
Use PanZoomBar instead of PanZoom.

16 years agoAdd cycle map
Richard Fairhurst [Tue, 12 Feb 2008 11:23:11 +0000 (11:23 +0000)]
Add cycle map

16 years agoremove tile debug code
Richard Fairhurst [Mon, 11 Feb 2008 22:38:20 +0000 (22:38 +0000)]
remove tile debug code

16 years ago0.7a
Richard Fairhurst [Mon, 11 Feb 2008 22:29:59 +0000 (22:29 +0000)]
0.7a

16 years agoadd school to presets
Richard Fairhurst [Sun, 10 Feb 2008 17:33:15 +0000 (17:33 +0000)]
add school to presets

16 years agoUse FileUtils.mv instead of File.rename as it will do a copy+delete when
Tom Hughes [Thu, 7 Feb 2008 23:53:20 +0000 (23:53 +0000)]
Use FileUtils.mv instead of File.rename as it will do a copy+delete when
the source and target are not on the same filesystem. Closes #670.

16 years agounbreak undelete
Richard Fairhurst [Wed, 6 Feb 2008 22:43:14 +0000 (22:43 +0000)]
unbreak undelete

16 years agosmall padlock fix, disable right-click menu
Richard Fairhurst [Wed, 6 Feb 2008 21:30:09 +0000 (21:30 +0000)]
small padlock fix, disable right-click menu

16 years agoUse a lower zoom level for partial postcode matches.
Tom Hughes [Tue, 5 Feb 2008 19:14:33 +0000 (19:14 +0000)]
Use a lower zoom level for partial postcode matches.

16 years agoSend email notifications when people comment on diary entries. Closes #655.
Tom Hughes [Mon, 4 Feb 2008 00:15:28 +0000 (00:15 +0000)]
Send email notifications when people comment on diary entries. Closes #655.

16 years agoDisable keyboard control of the map as it causes problems by catching
Tom Hughes [Sun, 3 Feb 2008 23:57:37 +0000 (23:57 +0000)]
Disable keyboard control of the map as it causes problems by catching
keypresses in other parts of the page. Closes #659.

16 years agosome Yahoo improvements, still more to do...
Richard Fairhurst [Sun, 3 Feb 2008 19:23:29 +0000 (19:23 +0000)]
some Yahoo improvements, still more to do...

16 years agoExplain why we don't include the nodes in the way load.
Tom Hughes [Sun, 3 Feb 2008 16:31:50 +0000 (16:31 +0000)]
Explain why we don't include the nodes in the way load.

16 years agoDon't preload nodes as it seem to break ways with duplicate nodes.
Tom Hughes [Sun, 3 Feb 2008 16:28:02 +0000 (16:28 +0000)]
Don't preload nodes as it seem to break ways with duplicate nodes.

16 years agofix for resizable Potlatch
Richard Fairhurst [Sun, 3 Feb 2008 16:11:24 +0000 (16:11 +0000)]
fix for resizable Potlatch

16 years agoRemove pointless return statement.
Tom Hughes [Sun, 3 Feb 2008 15:55:19 +0000 (15:55 +0000)]
Remove pointless return statement.

16 years agoFix indentation.
Tom Hughes [Sun, 3 Feb 2008 15:38:53 +0000 (15:38 +0000)]
Fix indentation.

16 years agoMove in_world? to GeoRecord model and correct comment.
Tom Hughes [Sun, 3 Feb 2008 15:38:44 +0000 (15:38 +0000)]
Move in_world? to GeoRecord model and correct comment.

16 years agoAdd missing sanitise_boundaries method that the API controller was
Tom Hughes [Sun, 3 Feb 2008 15:38:02 +0000 (15:38 +0000)]
Add missing sanitise_boundaries method that the API controller was
trying to call.

16 years agoOptimise the Potlatch whichways and getway calls a bit.
Tom Hughes [Sun, 3 Feb 2008 12:56:25 +0000 (12:56 +0000)]
Optimise the Potlatch whichways and getway calls a bit.

16 years agoThe OSM layers use the 900913 projection, not 41001.
Tom Hughes [Fri, 1 Feb 2008 19:54:20 +0000 (19:54 +0000)]
The OSM layers use the 900913 projection, not 41001.

16 years agoPotlatch 0.7
Richard Fairhurst [Fri, 1 Feb 2008 17:19:11 +0000 (17:19 +0000)]
Potlatch 0.7

16 years agoMake ways_for_node work with the multipart primary key stuff.
Tom Hughes [Mon, 28 Jan 2008 08:54:45 +0000 (08:54 +0000)]
Make ways_for_node work with the multipart primary key stuff.

16 years agoFix typo.
Tom Hughes [Mon, 28 Jan 2008 08:44:03 +0000 (08:44 +0000)]
Fix typo.

16 years agofixed bug in add version rake task
Nick Black [Fri, 25 Jan 2008 17:02:43 +0000 (17:02 +0000)]
fixed bug in add version rake task

16 years agopatched controller section of #648
Xin Zheng [Fri, 25 Jan 2008 16:32:24 +0000 (16:32 +0000)]
patched controller section of #648

16 years agoMost of a method to delete a way and all its nodes - but I'm waiting on splitting...
Steve Coast [Fri, 25 Jan 2008 15:24:04 +0000 (15:24 +0000)]
Most of a method to delete a way and all its nodes - but I'm waiting on splitting node tags out to their own table before finishing it.

16 years agodont eager load tags (false primary key fucks all sorts of things up) and move delete...
Steve Coast [Fri, 25 Jan 2008 14:32:45 +0000 (14:32 +0000)]
dont eager load tags (false primary key fucks all sorts of things up) and move delete way logic to model so that amf_controller can use it (plan is to do this with all of the methods. sigh.)

16 years agofixed null value bug in rake task
Nick Black [Fri, 25 Jan 2008 14:26:39 +0000 (14:26 +0000)]
fixed null value bug in rake task

16 years agominor changes
Xin Zheng [Fri, 25 Jan 2008 13:57:42 +0000 (13:57 +0000)]
minor changes

16 years agoadded experimental xml template which is not yet used due to performance issues
Xin Zheng [Thu, 24 Jan 2008 18:21:59 +0000 (18:21 +0000)]
added experimental xml template which is not yet used due to performance issues

16 years agoLots of documentation updates, plus split out potlatch libraries in to lib
Steve Coast [Thu, 24 Jan 2008 16:03:56 +0000 (16:03 +0000)]
Lots of documentation updates, plus split out potlatch libraries in to lib

16 years agoSome node documentation
Steve Coast [Thu, 24 Jan 2008 13:04:04 +0000 (13:04 +0000)]
Some node documentation

16 years agobegin rdoc documentation
Steve Coast [Thu, 24 Jan 2008 12:53:21 +0000 (12:53 +0000)]
begin rdoc documentation

16 years agocommented out migration which deletes the ways column nodes
Nick Black [Thu, 24 Jan 2008 11:24:32 +0000 (11:24 +0000)]
commented out migration which deletes the ways column nodes

16 years agofixes syntax error
Nick Black [Thu, 24 Jan 2008 11:09:06 +0000 (11:09 +0000)]
fixes syntax error

16 years agoadded module
Xin Zheng [Thu, 24 Jan 2008 11:07:46 +0000 (11:07 +0000)]
added module

16 years agomove potlatch presets to only be generated once, and allow pulling in way_tags in...
Steve Coast [Thu, 24 Jan 2008 10:52:10 +0000 (10:52 +0000)]
move potlatch presets to only be generated once, and allow pulling in way_tags in a way via a false primary key

16 years ago- Add missing null constraints.
Tom Hughes [Wed, 23 Jan 2008 19:25:37 +0000 (19:25 +0000)]
- Add missing null constraints.
- Drop pointless index on current_node_tags and order primary key correctly.
- Make version column of node history table auto increment.

16 years agoadded task to add version numbers to nodes table
Nick Black [Wed, 23 Jan 2008 18:39:29 +0000 (18:39 +0000)]
added task to add version numbers to nodes table

16 years agocreated a temporary old nodes table to add version
Nick Black [Wed, 23 Jan 2008 17:47:14 +0000 (17:47 +0000)]
created a temporary old nodes table to add version

16 years agoremoved unneeded migrations 015 and 014
Nick Black [Wed, 23 Jan 2008 17:36:01 +0000 (17:36 +0000)]
removed unneeded migrations 015 and 014

16 years agomigration 013 removes tags from nodes and old nodes tables/ 014 does not do anything atm
Nick Black [Wed, 23 Jan 2008 17:31:51 +0000 (17:31 +0000)]
migration 013 removes tags from nodes and old nodes tables/ 014 does not do anything atm

16 years agoadded migration to add a primary key on nodes id and version - should be run after...
Nick Black [Wed, 23 Jan 2008 17:10:16 +0000 (17:10 +0000)]
added migration to add a primary key on nodes id and version - should be run after rake db:node_version

16 years agoadded application.yml, refactored map method
Xin Zheng [Wed, 23 Jan 2008 16:43:30 +0000 (16:43 +0000)]
added application.yml, refactored map method

16 years agoRename initialiser to fix typo.
Tom Hughes [Wed, 23 Jan 2008 14:07:14 +0000 (14:07 +0000)]
Rename initialiser to fix typo.

16 years agoAllow a GPX to be fetched in XML format by fetching data.xml instead
Tom Hughes [Wed, 23 Jan 2008 13:40:47 +0000 (13:40 +0000)]
Allow a GPX to be fetched in XML format by fetching data.xml instead
of data (the data method returns it in the format it is stored in).

Closes #534.

16 years agoupdated rake task to grab 1000 records at a time
Nick Black [Wed, 23 Jan 2008 12:49:34 +0000 (12:49 +0000)]
updated rake task to grab 1000 records at a time

16 years agorake task to populate node_tags and current_node_tags tables with values from the...
Nick Black [Wed, 23 Jan 2008 11:44:34 +0000 (11:44 +0000)]
rake task to populate node_tags and current_node_tags tables with values from the nodes and current_nodes tables.  migration 011 and 012 must be applied before this task.

16 years agoadds two migrations to create old_node_tags and node_tags table and indexes. Does...
Nick Black [Wed, 23 Jan 2008 11:41:56 +0000 (11:41 +0000)]
adds two migrations to create old_node_tags and node_tags table and indexes.  Does not change existing table structure or populate tables with any data

16 years agoYou need at least version 0.9.1 of the composite keys gem.
Tom Hughes [Wed, 23 Jan 2008 09:54:21 +0000 (09:54 +0000)]
You need at least version 0.9.1 of the composite keys gem.

16 years agoMake things work with multipart keys.
Tom Hughes [Wed, 23 Jan 2008 09:53:35 +0000 (09:53 +0000)]
Make things work with multipart keys.

16 years agofew bits of tidying
Richard Fairhurst [Wed, 23 Jan 2008 01:49:22 +0000 (01:49 +0000)]
few bits of tidying

16 years agoSend UK postcode searches to the namefinder as well as npemaps.
Tom Hughes [Wed, 23 Jan 2008 00:49:21 +0000 (00:49 +0000)]
Send UK postcode searches to the namefinder as well as npemaps.

16 years agoadded some tests
Xin Zheng [Tue, 22 Jan 2008 18:46:41 +0000 (18:46 +0000)]
added some tests

16 years agoRevert to rails 2.0.1 again
Tom Hughes [Tue, 22 Jan 2008 18:00:30 +0000 (18:00 +0000)]
Revert to rails 2.0.1 again

16 years agoPut the daemons generator plugin back.
Tom Hughes [Tue, 22 Jan 2008 17:58:04 +0000 (17:58 +0000)]
Put the daemons generator plugin back.

16 years agoun-commented sqlsessionstore
Xin Zheng [Tue, 22 Jan 2008 17:23:25 +0000 (17:23 +0000)]
un-commented sqlsessionstore

16 years agoadded rspec on rails as external
Xin Zheng [Tue, 22 Jan 2008 17:22:49 +0000 (17:22 +0000)]
added rspec on rails as external

16 years agoRename requires.rb to composite_primary_keys.rb so we have one file for
Tom Hughes [Tue, 22 Jan 2008 17:16:08 +0000 (17:16 +0000)]
Rename requires.rb to composite_primary_keys.rb so we have one file for
each system we are initialising.

16 years agoremoved require ruby-debug line
Xin Zheng [Tue, 22 Jan 2008 16:56:13 +0000 (16:56 +0000)]
removed require ruby-debug line

16 years agoadded rspec folder/files
Xin Zheng [Tue, 22 Jan 2008 16:55:14 +0000 (16:55 +0000)]
added rspec folder/files

16 years agochanging back to rails 2.0.1
Xin Zheng [Tue, 22 Jan 2008 16:51:07 +0000 (16:51 +0000)]
changing back to rails 2.0.1

16 years agoextracted require statement from environment.rb to intializers/requires.rb
Xin Zheng [Tue, 22 Jan 2008 16:50:14 +0000 (16:50 +0000)]
extracted require statement from environment.rb to intializers/requires.rb

16 years agoreplace whichways with rails-friendly code
Steve Coast [Tue, 22 Jan 2008 16:44:17 +0000 (16:44 +0000)]
replace whichways with rails-friendly code

16 years agoadded RSpec and RSpec on Rails
Xin Zheng [Tue, 22 Jan 2008 16:39:09 +0000 (16:39 +0000)]
added RSpec and RSpec on Rails

16 years agomake amf_controller use rails objects, and stuff, in the getway method. You need...
Steve Coast [Tue, 22 Jan 2008 15:00:54 +0000 (15:00 +0000)]
make amf_controller use rails objects, and stuff, in the getway method. You need to install the multipart keys plugin now, see the README.

16 years agoonly show map to actual user
Steve Coast [Tue, 22 Jan 2008 12:16:08 +0000 (12:16 +0000)]
only show map to actual user

16 years agoretab amf controller, it was getting annoying
Steve Coast [Tue, 22 Jan 2008 12:10:17 +0000 (12:10 +0000)]
retab amf controller, it was getting annoying

16 years agodocument amf_controller types for SteveC
Richard Fairhurst [Tue, 22 Jan 2008 00:54:37 +0000 (00:54 +0000)]
document amf_controller types for SteveC

16 years agoadded mac os x instructions for db function creation
Xin Zheng [Mon, 21 Jan 2008 17:43:56 +0000 (17:43 +0000)]
added mac os x instructions for db function creation

16 years agoadd last-modified header to relation read
Steve Coast [Mon, 21 Jan 2008 17:42:57 +0000 (17:42 +0000)]
add last-modified header to relation read

16 years agoemit last-modified headers on nodes and ways
Steve Coast [Mon, 21 Jan 2008 17:41:57 +0000 (17:41 +0000)]
emit last-modified headers on nodes and ways