Shaun McDonald
|
b45dd63283
|
cover the other extreme in the map bounary sanitizeation. Ading some documentation, which is parsed when running rake doc:app. Fixing up a couple of tests.
|
2008-10-26 23:43:37 +00:00 |
|
Matt Amos
|
dc2a959037
|
Added tests for changeset upload code. Refactored diff reading code and put it into /lib. Changed the route of a changeset upload to explicitly refer to the changeset it applies to (i.e: resource).
|
2008-10-23 15:14:17 +00:00 |
|
Matt Amos
|
498d695064
|
Added test for relations_for_node where the relation had been deleted.
|
2008-10-21 11:38:13 +00:00 |
|
Matt Amos
|
6339473cb7
|
Added tests for ways_for_node. Altered behaviour to not return deleted ways. Fixed ways fixture where most recent history != current.
|
2008-10-21 10:52:52 +00:00 |
|
Shaun McDonald
|
3e9ceb0c38
|
more testing of the api. Changing the generator so that it is a constant to come in line with the server url and the api version. Adding tracepoints per page to the capabilities api call. Better error message for api call.
|
2008-10-19 07:09:04 +00:00 |
|
Shaun McDonald
|
70ecb3ceef
|
adding the Last-Modified response header to the version action
|
2008-10-16 07:11:28 +00:00 |
|
Shaun McDonald
|
e7147d0d7a
|
more work on the data browser to show the changesets. Also showing the version number. Would be good to have an additional route for showing a specific version of the node/way/relation from the changeset.
|
2008-10-14 18:33:03 +00:00 |
|
Matt Amos
|
45a9d94337
|
Cleaned up some unreachable code. Added first test on the 'old' node controller.
|
2008-10-14 16:40:17 +00:00 |
|
Matt Amos
|
b56f57ec43
|
Fixed up delete methods on nodes, ways and relations to return the new version number and added some more tests.
|
2008-10-14 14:27:12 +00:00 |
|
Shaun McDonald
|
2c16177174
|
adding changeset stuff for the data browser
|
2008-10-13 20:48:58 +00:00 |
|
Matt Amos
|
cf24a5a3ee
|
Added a bunch more tests on the API 0.6. Fixed node/way/relation from_xml code to disallow duplicate tag keys.
|
2008-10-13 17:50:15 +00:00 |
|
Matt Amos
|
1e5782f579
|
Fixed up way controller tests for API 0.6.
|
2008-10-13 15:40:32 +00:00 |
|
Shaun McDonald
|
fb5f39f19a
|
Creating consistency check for creation of nodes, way and relations. Moving some creation code from the controller to the model, and adding error handling on create errors.
|
2008-10-13 15:39:21 +00:00 |
|
Matt Amos
|
127bb4523e
|
Fixed problems with the relations functional tests.
|
2008-10-13 15:23:48 +00:00 |
|
Matt Amos
|
a2498928e4
|
Fixed node functional tests. A couple of changes to the old_node model and node controller for changesets.
|
2008-10-13 14:08:31 +00:00 |
|
Shaun McDonald
|
734cbb967d
|
fixing the data browser to be able to cope with the changeset change. changeset browsing still needs to be implemented. Also giving a nice error message for 404 not found instead of rendering nothing.
|
2008-10-13 12:08:26 +00:00 |
|
Shaun McDonald
|
24b21e4a29
|
additional consistency checks. making the error message for the number of nodes use the configured number of nodes, rather than a hard coded number. minor improvements to the way controller functional tests. Not sure if they should be turned into integration tests.
|
2008-10-12 22:32:51 +00:00 |
|
Shaun McDonald
|
233a97bfcb
|
fix indentation. Get teh api version from the constant, rather than hard coding it. Using right save method, so that exception is thrown. Some comment questions.
|
2008-10-10 18:24:07 +00:00 |
|
Shaun McDonald
|
3d24694add
|
moving the conistency checks for updates and deletes to library, hopefully got the updates and deletes working now.
|
2008-10-09 16:22:05 +00:00 |
|
Shaun McDonald
|
2b7a40069f
|
adding the controller code to be able to get a specific version of a node, way or relation. Add some node checks on update. Some code indentation cleanup.
|
2008-10-08 18:03:41 +00:00 |
|
Shaun McDonald
|
e1b205913c
|
Fix the data config, so that the development database is not the same as the test database. Make a good stab at getting the creates and updates for relations working, adding some new error exceptions. Some code indentation cleanup.
|
2008-10-08 15:42:42 +00:00 |
|
Shaun McDonald
|
2347761266
|
some useful notes in code for ideas that require implementing.
|
2008-10-07 23:49:53 +00:00 |
|
Shaun McDonald
|
328d47e506
|
Fixing a bug in my foreign keys. I can now upload and download nodes and ways using JOSM in the new API.
|
2008-10-03 17:09:58 +00:00 |
|
Shaun McDonald
|
5daeb1b063
|
Changing if not to unless to make code more readable.
|
2008-10-03 13:57:20 +00:00 |
|
Shaun McDonald
|
0ec26f14a0
|
adding some version reading for the nodes
|
2008-09-29 16:28:51 +00:00 |
|
Shaun McDonald
|
d9e070e069
|
Doing a resync from mainline 8633:10895. There was one simple to resolve conflict on app/models/node.rb. Also moving the migrations for API0.6 to new sequence numbers since there was some new migrations added to mainline, where the migration numbers would conflict if not moved.
|
2008-09-25 15:06:05 +00:00 |
|
Richard Fairhurst
|
98d49ed144
|
Potlatch 0.10c... part two
|
2008-09-20 12:07:48 +00:00 |
|
Tom Hughes
|
d6b05a8da9
|
Run web authorisation for all non-api requests. Closes #1152.
|
2008-09-07 15:07:44 +00:00 |
|
Tom Hughes
|
34189cf761
|
Add basic support for logically deleting a user.
|
2008-08-24 16:53:42 +00:00 |
|
Tom Hughes
|
791062569d
|
Tidy up diary code a bit.
|
2008-08-24 15:12:20 +00:00 |
|
Richard Fairhurst
|
3b6d2c5336
|
edit diary entries
|
2008-08-21 21:40:23 +00:00 |
|
Tom Hughes
|
967f44ffac
|
Don't user flash[:notice] when we're not redirecting as it will
persist to the next request and cause confusion.
|
2008-08-13 11:44:53 +00:00 |
|
Tom Hughes
|
64ecd02f0b
|
Allow users to change their email address. Closes #546.
|
2008-08-13 11:39:33 +00:00 |
|
Tom Hughes
|
f8367c3ee1
|
Allow a user's email address to be marked invalid, and suppress most
notification mails for such users.
|
2008-08-13 10:45:49 +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
|
a0545ba4e5
|
Render nothing on a successful delete.
|
2008-07-22 14:16:07 +00:00 |
|
Tom Hughes
|
d69e9533d1
|
Fix thinko.
|
2008-07-19 23:02:04 +00:00 |
|
Tom Hughes
|
c933a4222c
|
Improve error handling.
|
2008-07-19 22:59:59 +00:00 |
|
Tom Hughes
|
5d5f72b927
|
More warning fixes.
|
2008-07-18 22:23:26 +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 |
|
Shaun McDonald
|
b2515ec75e
|
Sorts out a problem with the description field and adding users.
|
2008-07-08 13:43:56 +00:00 |
|
Tom Hughes
|
6644f115c9
|
Add bounds to map responses. Closes #1011.
|
2008-07-08 09:52:08 +00:00 |
|
Tom Hughes
|
1e98eb9950
|
Allow users to remove their image. Closes #1010.
|
2008-07-07 23:26:41 +00:00 |
|
Shaun McDonald
|
5f8ab9e924
|
Merge changes from trunk 7673:8632.
|
2008-07-03 13:06:24 +00:00 |
|
Tom Hughes
|
97aefa23d0
|
Merge data browser branch to trunk.
|
2008-06-27 23:09:05 +00:00 |
|
Tom Hughes
|
abb66fa808
|
Disable the data browswer when the database is not available.
|
2008-06-26 17:36:21 +00:00 |
|