Tom Hughes
|
fd6f00b069
|
Merge api06 branch to trunk.
|
2009-04-20 09:12:03 +00:00 |
|
Tom Hughes
|
5449cf4adc
|
Merge 14394:14533 from trunk.
|
2009-04-16 21:11:12 +00:00 |
|
Tom Hughes
|
09fdee5493
|
Add a "database readonly" state that allows all writes to the database
to be suppressed.
|
2009-04-14 14:27:30 +00:00 |
|
Matt Amos
|
18633b7c9e
|
Fixed a problem where rails was setting the ID column to null, which violates the not-null constraint. Also fixed possible typo in AMF controller.
|
2009-03-29 02:14:40 +00:00 |
|
Matt Amos
|
afcb345014
|
Moved a bunch of time functions into UTC. Fixes bugs which we only see for 4 hours a year.
|
2009-03-29 01:31:04 +00:00 |
|
Richard Fairhurst
|
023b9e3662
|
fix user:pass auth for Potlatch
|
2009-03-26 09:38:11 +00:00 |
|
Matt Amos
|
568c05c548
|
Fixing failing potlatch tests. Someone who knows what the potlatch API is actually supposed to be doing should check these...
|
2009-03-25 17:54:21 +00:00 |
|
Richard Fairhurst
|
7bd1cdaa99
|
fix backspacing through way to delete it
|
2009-02-26 00:26:23 +00:00 |
|
Richard Fairhurst
|
dfa81462b8
|
history stuff should be working now (haha)
|
2009-02-25 22:04:22 +00:00 |
|
Richard Fairhurst
|
e827a04607
|
further work on 0.6 history (not quite complete yet)
|
2009-02-25 01:14:19 +00:00 |
|
Richard Fairhurst
|
79d3ee4654
|
be a bit smarter about enlarging the bbox (note to self: must remember to put this in 0.6 too)
|
2009-02-13 15:12:52 +00:00 |
|
Shaun McDonald
|
d3dc973376
|
Move the ActiveRecord::RecordNotFound to the block, so that it catches the not found in line 327, when a nonexistant way id is searched for.
|
2009-01-14 00:17:42 +00:00 |
|
Richard Fairhurst
|
c9237a3583
|
swap way write with node deletion as per dev@
|
2009-01-13 08:37:58 +00:00 |
|
Richard Fairhurst
|
8e394b1625
|
small versioning fix (plus history rework in progress)
|
2009-01-11 17:09:43 +00:00 |
|
Richard Fairhurst
|
2b8bde9055
|
Potlatch for API 0.6 now saving ways happily with node versioning... I think
|
2008-12-18 00:32:02 +00:00 |
|
Richard Fairhurst
|
b823e9fccc
|
some more putway fixes - this actually creates new ways with 0.6 Potlatch now
|
2008-12-17 00:30:29 +00:00 |
|
Shaun McDonald
|
d646530206
|
Fix UTF-8 encoding error char in source file that RichardF introduced
|
2008-12-16 16:40:59 +00:00 |
|
Richard Fairhurst
|
ff01f76293
|
bit more putway stuff
|
2008-12-16 00:40:04 +00:00 |
|
Richard Fairhurst
|
40647c53df
|
yet more rewriting of putway...
|
2008-12-16 00:23:11 +00:00 |
|
Shaun McDonald
|
b1445ab023
|
Fix the transactions, need to set anything that will be returned to nil outside the transaction, otherwise it won't be available after the end of the transaction, when it is returned.
|
2008-12-15 19:20:24 +00:00 |
|
Shaun McDonald
|
e5674abd2c
|
bug fix. Adding some transactions to amf controller, and adding the missing version to putway method signature.
|
2008-12-15 18:57:12 +00:00 |
|
Shaun McDonald
|
541c24b23d
|
capture the too many way nodes error, and give the user an error message
|
2008-12-12 11:24:40 +00:00 |
|
Shaun McDonald
|
b051dd11af
|
Making amf controller act more like the xml apis
|
2008-12-11 17:22:15 +00:00 |
|
Shaun McDonald
|
8bf0a3197c
|
some more progress towards making amf_controller do version checking of nodes before deleting them
|
2008-12-11 10:38:36 +00:00 |
|
Shaun McDonald
|
eafcf91ceb
|
some further progress to amf controller checking the version numbers.
|
2008-12-10 18:07:30 +00:00 |
|
Matt Amos
|
aeaf2d2d20
|
Added missing version to the pure rails AMF controller. More stringent tests on whichways.
|
2008-12-10 14:31:07 +00:00 |
|
Matt Amos
|
3ed9ac21b5
|
Some fixes to the rails part of the AMF controller and associated test.
|
2008-12-10 13:23:21 +00:00 |
|
Shaun McDonald
|
b7335940e2
|
Some improvements for the XML parsing, as there are somethings that we don't need, like timestamp and visibility, thus hopefully bringing a speedup in the xml parsing. Some more AMF controller fixes, plenty more to go though.
|
2008-12-09 18:44:11 +00:00 |
|
Shaun McDonald
|
c0b4c1b905
|
Adding some amf create poi tests. Minor bugfix tweaks to the amf controller
|
2008-12-08 14:22:34 +00:00 |
|
Shaun McDonald
|
ec97c63e5c
|
Fix for the refactoring commited yesterday, based on review by Dave Stubbs
|
2008-12-05 11:08:58 +00:00 |
|
Shaun McDonald
|
e9527b363d
|
Refactoring the amf controller, and all models so that save_with_history! is now private. Everyone should use create_with_history, delete_with_history, and update_from instead. Also gets the amf controller to do version checks in the node/way/relation models. Needs checked. This breaks Potlatch until #1376 is fixed.
|
2008-12-04 17:30:17 +00:00 |
|
Richard Fairhurst
|
ecefee485b
|
various fixes/enhancements, including a couple to the 0.5 version
|
2008-11-25 00:15:30 +00:00 |
|
Shaun McDonald
|
e2c0e51e45
|
Closes #1350 through updating amf_controller to use the newer closed_at method of determining whether a changeset is closed. Richard please check the rest of the amf controller for more things that may reference the open field that is no longer available. Use is_open? to determine if a changeset is open. Fix indentation in amf controller. Fix minor bug in the links to changesets in the data brower.
|
2008-11-20 21:23:44 +00:00 |
|
Richard Fairhurst
|
6690a9a09b
|
changeset comments and a couple of other small fixes
|
2008-11-16 13:30:02 +00:00 |
|
Richard Fairhurst
|
0a57413d3e
|
finished Rails-friendly amf_controller. Note that this requires Tom's patched composite_primary_keys to work unless you tell Potlatch to use SQL reads
|
2008-11-14 17:36:38 +00:00 |
|
Richard Fairhurst
|
3065af398d
|
0.6-friendly Potlatch (work in progress). DO NOT SET POTLATCH_USE_SQL=false as it won't work
|
2008-11-09 23:50:03 +00:00 |
|
Dave Stubbs
|
2aa3daf0e0
|
amf get*_history tests and related fixes
|
2008-11-09 18:48:16 +00:00 |
|
Dave Stubbs
|
436470b057
|
a few more amf tests and associated bug fixes
|
2008-11-09 17:41:38 +00:00 |
|
Dave Stubbs
|
eebadd141a
|
1st amf_controller tests, and some basic sanity check fixes
|
2008-11-08 19:41:29 +00:00 |
|
Richard Fairhurst
|
7aeead9175
|
Potlatch 0.10f
|
2008-10-23 08:42:07 +00:00 |
|
Tom Hughes
|
3c24aa0a9b
|
Make adding relations work again. Fix from RichardF.
|
2008-10-13 12:46:00 +00:00 |
|
Richard Fairhurst
|
caa20ccc40
|
Potlatch 0.10e
|
2008-10-12 23:11:37 +00:00 |
|
Richard Fairhurst
|
97726826e1
|
Potlatch 0.10d
|
2008-10-05 00:21:35 +00:00 |
|
Richard Fairhurst
|
b0f0a2627d
|
Potlatch 0.10b
|
2008-07-31 22:48:12 +00:00 |
|
Richard Fairhurst
|
35ace2607b
|
Potlatch 0.10a
|
2008-07-29 00:33:33 +00:00 |
|
Tom Hughes
|
d6e047d7d4
|
Optimise finding of relations, partially reversing change #8443 but in
a more rails like way.
|
2008-07-16 23:42:59 +00:00 |
|
Tom Hughes
|
66b0dd135e
|
Tidy up AMF controller and optimise a few rails things.
|
2008-07-16 23:10:32 +00:00 |
|
Tom Hughes
|
6fa8647855
|
Rename unique_nodes to unshared_node_ids to make it's purpose a bit clearer
and rework it to be a bit tidier.
|
2008-07-15 18:18:37 +00:00 |
|
Richard Fairhurst
|
62a1ec4748
|
Potlatch 0.10
|
2008-07-09 22:19:48 +00:00 |
|
Tom Hughes
|
def60c1935
|
Railsify relation selection (aka ripping out the f***in SQL).
|
2008-06-24 23:42:39 +00:00 |
|