Christopher Schmidt
697449d6f1
node.tags is now (apparently) the same as tags_as_hash.
2008-05-12 01:22:04 +00:00
Christopher Schmidt
97cb1fd7fa
undo composite keys change on old_ndoe
2008-05-11 23:02:06 +00:00
Christopher Schmidt
df11677afd
from_xml sets a version on nodes
2008-05-11 22:27:40 +00:00
Christopher Schmidt
e9b86e914d
add to_xml method for oldnode
2008-05-11 22:26:46 +00:00
Christopher Schmidt
604f9ddd46
spit out whether the changeset is open in the xml
2008-05-11 22:26:11 +00:00
Christopher Schmidt
9cbc370a7e
add FIXME FIXME FIXME for serializing changes in a changeset
2008-05-11 20:07:47 +00:00
Christopher Schmidt
e48cbc6a5f
Add support for accessing changesets as XML through the API via the
...
changeset controller "read" method
2008-05-11 20:03:17 +00:00
Tom Hughes
5620d7263a
Merge 7452:7744 from trunk.
2008-05-09 23:22:26 +00:00
Gabriel Ebner
013ef53c97
api06: Fix normal way and relation uploading (i.e. not as part of a diff).
...
(I'm sorry that I couldn't commit it earlier, but I didn't have access to an
internet connection until now.)
2008-05-05 22:41:32 +00:00
Gabriel Ebner
6ebb7045fe
api06: Fix diff uploading (still doesn't give a useful response):
...
Modification and deletion works fine now. Rollback also works apparently.
Just auto increment doesn't get reset.
2008-05-04 15:16:58 +00:00
Gabriel Ebner
3d6e1c67fb
api06: Preliminary support for diff uploading. This will not return anything
...
useful and the code will need some heavy refactoring.
2008-05-04 13:52:43 +00:00
Tom Hughes
cf304fe60f
Merge 7649:7673 from trunk.
2008-05-04 11:26:36 +00:00
Tom Hughes
02efd7ba4a
Go back to using user_id+k as the primary key for user preferences but
...
actually using the composite primary key extension this time so that it
really works.
Also stop update_one tring to render a non-existent view, and add a
delete_one method to allow preferences to be deleted.
2008-05-04 11:18:38 +00:00
Gabriel Ebner
5ed2cbce02
api06: Merge changesets code from Frederik.
2008-05-04 10:45:47 +00:00
Frederik Ramm
8c5638d696
initial changeset support
2008-05-04 10:41:42 +00:00
Gabriel Ebner
bcbf417796
api06: Return version ids in XML responses.
2008-05-04 10:01:23 +00:00
Gabriel Ebner
6c31dbaaec
split_node_tags: Remove old unused files.
2008-05-04 09:04:40 +00:00
Gabriel Ebner
de90f11f53
split_node_tags: Remove the left-over pre-merge files.
2008-05-03 16:28:50 +00:00
Gabriel Ebner
6ae23bed90
split_node_tags:
...
- Use InnoDB.
- Put version column on the current_* tables.
- Use transactions (untested).
2008-05-03 16:27:49 +00:00
Nick Black
1a6230fb25
merged node and old node models for normalised node tags
2008-05-03 16:06:43 +00:00
Nick Black
2660ce1868
node models for normalised node tags - pre merge
2008-05-03 16:01:55 +00:00
Nick Black
b214158d99
adds a temporary old_node object for use during migration
2008-05-03 14:32:36 +00:00
Gabriel Ebner
7eb181999d
split_node_tags: Merge changes from main branch.
2008-05-03 14:11:23 +00:00
Nick Black
cf21eae743
adding node tag models
2008-05-03 14:07:07 +00:00
Tom Hughes
112ee9266c
Make sure the recorded first point for a trace really is the first
...
point and not the last. Closes #709 .
2008-04-27 12:27:46 +00:00
Tom Hughes
7d0a281d5b
Include tags in GPX success and failure mails. Closes #480 .
2008-04-27 12:18:19 +00:00
Christopher Schmidt
15d5997067
Add tags_as_hash to old_nodes
2008-04-20 15:12:56 +00:00
Steve Coast
ec264a935e
nicer fix I think for nil / [] issue
2008-03-21 20:30:16 +00:00
Steve Coast
1f857565a6
more madness
2008-03-21 20:21:49 +00:00
Richard Fairhurst
740511066f
fix problem with blank areas throwing a 500
2008-03-21 20:17:56 +00:00
Richard Fairhurst
112950ca3a
various relations fixes
2008-03-21 19:00:39 +00:00
Richard Fairhurst
ae142c554b
Potlatch 0.8 - be afraid, be very, very afraid
2008-03-19 01:03:51 +00:00
Tom Hughes
c0d2ad40c3
Work round ruby's half assed Tempfile class which, because for some
...
reason it is implemented by delegating to File (by inheriting from
DelegateClass(File)) rather than by inheriting from it, does not
actually look like a File, and hence does not look like an IO (in
that it does not respond to kind_of? IO calls).
In ruby 1.8.5 this doesn't matter as REXML checks that the source
it has been given responds to the methods it wants (using respond_to?
which is handled properly by DelegateClass) but in 1.8.4 which we
are running on rails2 REXML uses kind_of? to see if the source is
one it can use.
2008-03-06 12:43:10 +00:00
Steve Coast
d1f2b4ece9
remove deleteway logic from amf_controller (yay!) TomH: check with RichardF this is sane before deploying. worksforme.
2008-02-23 16:05:45 +00:00
Steve Coast
cacf1879c3
user images
2008-02-23 15:18:59 +00:00
Steve Coast
2e44f9ccf3
User prference system basically done
2008-02-23 13:37:36 +00:00
Steve Coast
e13337354d
preference stuff
2008-02-23 11:12:42 +00:00
Tom Hughes
5fbc8ad3f4
Send email notifications when people comment on diary entries. Closes #655 .
2008-02-04 00:15:28 +00:00
Tom Hughes
962573431e
Move in_world? to GeoRecord model and correct comment.
2008-02-03 15:38:44 +00:00
Tom Hughes
d04c6d6ccd
Optimise the Potlatch whichways and getway calls a bit.
2008-02-03 12:56:25 +00:00
Richard Fairhurst
da76d64e93
Potlatch 0.7
2008-02-01 17:19:11 +00:00
Tom Hughes
b8f87e0466
Fix typo.
2008-01-28 08:44:03 +00:00
Steve Coast
a855d20ba4
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.
2008-01-25 15:24:04 +00:00
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
Xin Zheng
e7087af6bc
minor changes
2008-01-25 13:57:42 +00:00
Steve Coast
9328e84ba1
Some node documentation
2008-01-24 13:04:04 +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
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
Tom Hughes
bee38e63a3
Make things work with multipart keys.
2008-01-23 09:53:35 +00:00
Steve Coast
1c6ac719e6
replace whichways with rails-friendly code
2008-01-22 16:44:17 +00:00