Commit graph

10997 commits

Author SHA1 Message Date
Steve Coast
bbd769304c 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.) 2008-01-25 14:32:45 +00:00
Nick Black
2ce8177333 fixed null value bug in rake task 2008-01-25 14:26:39 +00:00
Xin Zheng
e7087af6bc minor changes 2008-01-25 13:57:42 +00:00
Xin Zheng
6b23aa550e added experimental xml template which is not yet used due to performance issues 2008-01-24 18:21:59 +00:00
Steve Coast
63e0486ca1 Lots of documentation updates, plus split out potlatch libraries in to lib 2008-01-24 16:03:56 +00:00
Steve Coast
9328e84ba1 Some node documentation 2008-01-24 13:04:04 +00:00
Steve Coast
db33aa6ff6 begin rdoc documentation 2008-01-24 12:53:21 +00:00
Nick Black
5692b8f341 commented out migration which deletes the ways column nodes 2008-01-24 11:24:32 +00:00
Nick Black
1613799be4 fixes syntax error 2008-01-24 11:09:06 +00:00
Xin Zheng
a59b23a18d added module 2008-01-24 11:07:46 +00:00
Steve Coast
3bd92c1670 move potlatch presets to only be generated once, and allow pulling in way_tags in a way via a false primary key 2008-01-24 10:52:10 +00:00
Tom Hughes
602b7b6d3f - 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.
2008-01-23 19:25:37 +00:00
Nick Black
6f6e827702 added task to add version numbers to nodes table 2008-01-23 18:39:29 +00:00
Nick Black
de93fe7707 created a temporary old nodes table to add version 2008-01-23 17:47:14 +00:00
Nick Black
84f3271091 removed unneeded migrations 015 and 014 2008-01-23 17:36:01 +00:00
Nick Black
4edd6d6fe9 migration 013 removes tags from nodes and old nodes tables/ 014 does not do anything atm 2008-01-23 17:31:51 +00:00
Nick Black
8d2a4ee67a added migration to add a primary key on nodes id and version - should be run after rake db:node_version 2008-01-23 17:10:16 +00:00
Xin Zheng
6de965520b added application.yml, refactored map method 2008-01-23 16:43:30 +00:00
Tom Hughes
ea132b001d Rename initialiser to fix typo. 2008-01-23 14:07:14 +00:00
Tom Hughes
07e8449625 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.
2008-01-23 13:40:47 +00:00
Nick Black
c93c841ed2 updated rake task to grab 1000 records at a time 2008-01-23 12:49:34 +00:00
Nick Black
e6fab03800 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. 2008-01-23 11:44:34 +00:00
Nick Black
c5f33db61e 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 2008-01-23 11:41:56 +00:00
Tom Hughes
6319d81c07 You need at least version 0.9.1 of the composite keys gem. 2008-01-23 09:54:21 +00:00
Tom Hughes
bee38e63a3 Make things work with multipart keys. 2008-01-23 09:53:35 +00:00
Richard Fairhurst
bdf1b8823a few bits of tidying 2008-01-23 01:49:22 +00:00
Tom Hughes
c57bc002ac Send UK postcode searches to the namefinder as well as npemaps. 2008-01-23 00:49:21 +00:00
Xin Zheng
986144a49c added some tests 2008-01-22 18:46:41 +00:00
Tom Hughes
4d06426c2a Revert to rails 2.0.1 again 2008-01-22 18:00:30 +00:00
Tom Hughes
46f729cd84 Put the daemons generator plugin back. 2008-01-22 17:58:04 +00:00
Xin Zheng
e9f2e31a5d un-commented sqlsessionstore 2008-01-22 17:23:25 +00:00
Xin Zheng
3d221843be added rspec on rails as external 2008-01-22 17:22:49 +00:00
Tom Hughes
33afd6fa7e Rename requires.rb to composite_primary_keys.rb so we have one file for
each system we are initialising.
2008-01-22 17:16:08 +00:00
Xin Zheng
70c005313c removed require ruby-debug line 2008-01-22 16:56:13 +00:00
Xin Zheng
613325a0d0 added rspec folder/files 2008-01-22 16:55:14 +00:00
Xin Zheng
5cc239f329 changing back to rails 2.0.1 2008-01-22 16:51:07 +00:00
Xin Zheng
726836f31e extracted require statement from environment.rb to intializers/requires.rb 2008-01-22 16:50:14 +00:00
Steve Coast
1c6ac719e6 replace whichways with rails-friendly code 2008-01-22 16:44:17 +00:00
Xin Zheng
3f607d565b added RSpec and RSpec on Rails 2008-01-22 16:39:09 +00:00
Steve Coast
ddd5b4cf19 make amf_controller use rails objects, and stuff, in the getway method. You need to install the multipart keys plugin now, see the README. 2008-01-22 15:00:54 +00:00
Steve Coast
63970defb0 only show map to actual user 2008-01-22 12:16:08 +00:00
Steve Coast
90e72f05de retab amf controller, it was getting annoying 2008-01-22 12:10:17 +00:00
Richard Fairhurst
98ab46c046 document amf_controller types for SteveC 2008-01-22 00:54:37 +00:00
Xin Zheng
681e96bc7d added mac os x instructions for db function creation 2008-01-21 17:43:56 +00:00
Steve Coast
dbf4e32671 add last-modified header to relation read 2008-01-21 17:42:57 +00:00
Steve Coast
3e355d7dc0 emit last-modified headers on nodes and ways 2008-01-21 17:41:57 +00:00
Steve Coast
7dbc27fd67 Show nearby users map in account view page 2008-01-21 17:15:33 +00:00
Richard Fairhurst
c38c7df6c1 comments 2008-01-21 16:07:39 +00:00
Richard Fairhurst
072c7e49b9 slight bugfixes and improved WinIE behaviour (?) 2008-01-21 15:04:43 +00:00
Tom Hughes
b89ea4110d Show comment counts in diary entry lists. 2008-01-18 18:26:19 +00:00