]>
git.openstreetmap.org Git - rails.git/log
Richard Fairhurst [Sun, 10 Feb 2008 17:33:15 +0000 (17:33 +0000)]
add school to presets
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.
Richard Fairhurst [Wed, 6 Feb 2008 22:43:14 +0000 (22:43 +0000)]
unbreak undelete
Richard Fairhurst [Wed, 6 Feb 2008 21:30:09 +0000 (21:30 +0000)]
small padlock fix, disable right-click menu
Tom Hughes [Tue, 5 Feb 2008 19:14:33 +0000 (19:14 +0000)]
Use a lower zoom level for partial postcode matches.
Tom Hughes [Mon, 4 Feb 2008 00:15:28 +0000 (00:15 +0000)]
Send email notifications when people comment on diary entries. Closes #655.
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.
Richard Fairhurst [Sun, 3 Feb 2008 19:23:29 +0000 (19:23 +0000)]
some Yahoo improvements, still more to do...
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.
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.
Richard Fairhurst [Sun, 3 Feb 2008 16:11:24 +0000 (16:11 +0000)]
fix for resizable Potlatch
Tom Hughes [Sun, 3 Feb 2008 15:55:19 +0000 (15:55 +0000)]
Remove pointless return statement.
Tom Hughes [Sun, 3 Feb 2008 15:38:53 +0000 (15:38 +0000)]
Fix indentation.
Tom Hughes [Sun, 3 Feb 2008 15:38:44 +0000 (15:38 +0000)]
Move in_world? to GeoRecord model and correct comment.
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.
Tom Hughes [Sun, 3 Feb 2008 12:56:25 +0000 (12:56 +0000)]
Optimise the Potlatch whichways and getway calls a bit.
Tom Hughes [Fri, 1 Feb 2008 19:54:20 +0000 (19:54 +0000)]
The OSM layers use the 900913 projection, not 41001.
Richard Fairhurst [Fri, 1 Feb 2008 17:19:11 +0000 (17:19 +0000)]
Potlatch 0.7
Tom Hughes [Mon, 28 Jan 2008 08:54:45 +0000 (08:54 +0000)]
Make ways_for_node work with the multipart primary key stuff.
Tom Hughes [Mon, 28 Jan 2008 08:44:03 +0000 (08:44 +0000)]
Fix typo.
Nick Black [Fri, 25 Jan 2008 17:02:43 +0000 (17:02 +0000)]
fixed bug in add version rake task
Xin Zheng [Fri, 25 Jan 2008 16:32:24 +0000 (16:32 +0000)]
patched controller section of #648
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.
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.)
Nick Black [Fri, 25 Jan 2008 14:26:39 +0000 (14:26 +0000)]
fixed null value bug in rake task
Xin Zheng [Fri, 25 Jan 2008 13:57:42 +0000 (13:57 +0000)]
minor changes
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
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
Steve Coast [Thu, 24 Jan 2008 13:04:04 +0000 (13:04 +0000)]
Some node documentation
Steve Coast [Thu, 24 Jan 2008 12:53:21 +0000 (12:53 +0000)]
begin rdoc documentation
Nick Black [Thu, 24 Jan 2008 11:24:32 +0000 (11:24 +0000)]
commented out migration which deletes the ways column nodes
Nick Black [Thu, 24 Jan 2008 11:09:06 +0000 (11:09 +0000)]
fixes syntax error
Xin Zheng [Thu, 24 Jan 2008 11:07:46 +0000 (11:07 +0000)]
added module
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
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.
Nick Black [Wed, 23 Jan 2008 18:39:29 +0000 (18:39 +0000)]
added task to add version numbers to nodes table
Nick Black [Wed, 23 Jan 2008 17:47:14 +0000 (17:47 +0000)]
created a temporary old nodes table to add version
Nick Black [Wed, 23 Jan 2008 17:36:01 +0000 (17:36 +0000)]
removed unneeded migrations 015 and 014
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
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
Xin Zheng [Wed, 23 Jan 2008 16:43:30 +0000 (16:43 +0000)]
added application.yml, refactored map method
Tom Hughes [Wed, 23 Jan 2008 14:07:14 +0000 (14:07 +0000)]
Rename initialiser to fix typo.
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.
Nick Black [Wed, 23 Jan 2008 12:49:34 +0000 (12:49 +0000)]
updated rake task to grab 1000 records at a time
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.
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
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.
Tom Hughes [Wed, 23 Jan 2008 09:53:35 +0000 (09:53 +0000)]
Make things work with multipart keys.
Richard Fairhurst [Wed, 23 Jan 2008 01:49:22 +0000 (01:49 +0000)]
few bits of tidying
Tom Hughes [Wed, 23 Jan 2008 00:49:21 +0000 (00:49 +0000)]
Send UK postcode searches to the namefinder as well as npemaps.
Xin Zheng [Tue, 22 Jan 2008 18:46:41 +0000 (18:46 +0000)]
added some tests
Tom Hughes [Tue, 22 Jan 2008 18:00:30 +0000 (18:00 +0000)]
Revert to rails 2.0.1 again
Tom Hughes [Tue, 22 Jan 2008 17:58:04 +0000 (17:58 +0000)]
Put the daemons generator plugin back.
Xin Zheng [Tue, 22 Jan 2008 17:23:25 +0000 (17:23 +0000)]
un-commented sqlsessionstore
Xin Zheng [Tue, 22 Jan 2008 17:22:49 +0000 (17:22 +0000)]
added rspec on rails as external
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.
Xin Zheng [Tue, 22 Jan 2008 16:56:13 +0000 (16:56 +0000)]
removed require ruby-debug line
Xin Zheng [Tue, 22 Jan 2008 16:55:14 +0000 (16:55 +0000)]
added rspec folder/files
Xin Zheng [Tue, 22 Jan 2008 16:51:07 +0000 (16:51 +0000)]
changing back to rails 2.0.1
Xin Zheng [Tue, 22 Jan 2008 16:50:14 +0000 (16:50 +0000)]
extracted require statement from environment.rb to intializers/requires.rb
Steve Coast [Tue, 22 Jan 2008 16:44:17 +0000 (16:44 +0000)]
replace whichways with rails-friendly code
Xin Zheng [Tue, 22 Jan 2008 16:39:09 +0000 (16:39 +0000)]
added RSpec and RSpec on Rails
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.
Steve Coast [Tue, 22 Jan 2008 12:16:08 +0000 (12:16 +0000)]
only show map to actual user
Steve Coast [Tue, 22 Jan 2008 12:10:17 +0000 (12:10 +0000)]
retab amf controller, it was getting annoying
Richard Fairhurst [Tue, 22 Jan 2008 00:54:37 +0000 (00:54 +0000)]
document amf_controller types for SteveC
Xin Zheng [Mon, 21 Jan 2008 17:43:56 +0000 (17:43 +0000)]
added mac os x instructions for db function creation
Steve Coast [Mon, 21 Jan 2008 17:42:57 +0000 (17:42 +0000)]
add last-modified header to relation read
Steve Coast [Mon, 21 Jan 2008 17:41:57 +0000 (17:41 +0000)]
emit last-modified headers on nodes and ways
Steve Coast [Mon, 21 Jan 2008 17:15:33 +0000 (17:15 +0000)]
Show nearby users map in account view page
Richard Fairhurst [Mon, 21 Jan 2008 16:07:39 +0000 (16:07 +0000)]
comments
Richard Fairhurst [Mon, 21 Jan 2008 15:04:43 +0000 (15:04 +0000)]
slight bugfixes and improved WinIE behaviour (?)
Tom Hughes [Fri, 18 Jan 2008 18:26:19 +0000 (18:26 +0000)]
Show comment counts in diary entry lists.
Tom Hughes [Fri, 18 Jan 2008 18:22:47 +0000 (18:22 +0000)]
Get pagination links right.
Tom Hughes [Fri, 18 Jan 2008 18:20:15 +0000 (18:20 +0000)]
Add pagination to diary entry lists.
Richard Fairhurst [Fri, 18 Jan 2008 16:39:10 +0000 (16:39 +0000)]
maybe this will work
Richard Fairhurst [Fri, 18 Jan 2008 16:35:50 +0000 (16:35 +0000)]
STUPID EVIL IE AAAAAARGH
Richard Fairhurst [Fri, 18 Jan 2008 12:22:13 +0000 (12:22 +0000)]
always redraw window if redopropertywindow is set
Tom Hughes [Fri, 18 Jan 2008 10:43:21 +0000 (10:43 +0000)]
Include a comment link in the diary RSS feed.
Tom Hughes [Fri, 18 Jan 2008 00:57:48 +0000 (00:57 +0000)]
Fix diary RSS feed.
Tom Hughes [Thu, 17 Jan 2008 23:12:25 +0000 (23:12 +0000)]
Add support for commenting on, and replying to, diary entries.
Richard Fairhurst [Thu, 17 Jan 2008 22:28:21 +0000 (22:28 +0000)]
0.6c: bunch of minor improvements and bugfixes
Tom Hughes [Wed, 16 Jan 2008 10:28:57 +0000 (10:28 +0000)]
Set MIME type correctly for diary RSS feeds.
Tom Hughes [Wed, 16 Jan 2008 10:02:42 +0000 (10:02 +0000)]
Tidy up message sensitisation a bit more, and add sensitisation of
information in the diary RSS feeds.
Tom Hughes [Tue, 15 Jan 2008 19:05:17 +0000 (19:05 +0000)]
Make the message reply link prefill the title with "Re: original title".
Closes #634.
Tom Hughes [Tue, 15 Jan 2008 18:31:23 +0000 (18:31 +0000)]
Automatically convert links in diary postings into HTML links.
Tom Hughes [Tue, 15 Jan 2008 18:22:08 +0000 (18:22 +0000)]
Add a few more escape calls to prevent nasty HTML being rendered. Also
switch to using sanitize() instead of h() to escape message bodies. This
is not quite as safe as there is no guarantee that the HTML scanner it
uses will find everything, but is does allow benign HTML tags to be
displayed again.
Richard Fairhurst [Tue, 15 Jan 2008 10:29:14 +0000 (10:29 +0000)]
0.6b: cycle through ways on top of each other
Tom Hughes [Tue, 15 Jan 2008 00:41:07 +0000 (00:41 +0000)]
Don't try and limit the address space if the OS does not support it.
Tom Hughes [Tue, 15 Jan 2008 00:26:01 +0000 (00:26 +0000)]
Escape message titles and bodies. This is an emergency fix as some genius
has decided to report this XSS problem to a public mailing list. Unfortunately
it means that some functionality (links in messages etc) has been lost for now.
Tom Hughes [Thu, 10 Jan 2008 12:15:34 +0000 (12:15 +0000)]
Point people at the wiki when GPX imports fail.
Tom Hughes [Tue, 8 Jan 2008 23:13:02 +0000 (23:13 +0000)]
Override options correctly.
Tom Hughes [Tue, 8 Jan 2008 18:23:56 +0000 (18:23 +0000)]
Back out attempt to commit partial support for POIs as this is not at
all ready for prime time yet.
Nick Whitelegg [Mon, 7 Jan 2008 20:45:56 +0000 (20:45 +0000)]
began callback code for feature lookup
Nick Whitelegg [Mon, 7 Jan 2008 20:44:16 +0000 (20:44 +0000)]
began callback code for feature lookup
Nick Whitelegg [Mon, 7 Jan 2008 20:26:40 +0000 (20:26 +0000)]
checked in local db config unintentioally- reversed
Nick Whitelegg [Mon, 7 Jan 2008 20:25:12 +0000 (20:25 +0000)]
Began code for feature lookup: implemented code to respond to mouse click and latlon to non spherical Mercator (for the postgis database)
Tom Hughes [Mon, 7 Jan 2008 00:33:54 +0000 (00:33 +0000)]
Stop trying to report on the number of ways with tags because (a) almost all
ways have tags so it isn't very interesting and (b) it locks up the API every
night as it involved a join to a MyISAM table.
Tom Hughes [Mon, 7 Jan 2008 00:30:44 +0000 (00:30 +0000)]
Add migration to add an index on node_id to way_nodes. This index was added
to the live database a month or so back to support rollback in Potlatch.
Tom Hughes [Sun, 6 Jan 2008 13:21:50 +0000 (13:21 +0000)]
Mark mails as auto submitted. Closes #627.