Matt Amos
|
32b280eb8d
|
Added custom validator for UTF-8 strings.
|
2008-10-29 16:27:15 +00:00 |
|
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 |
|
Shaun McDonald
|
e13b35e0cb
|
making it clearer when a test case fails, as to which test case it is that is failing. Adding some more bboxes for testing.
|
2008-10-21 14:28: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 |
|
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
|
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 |
|
Shaun McDonald
|
b91b514cf2
|
moving the check consistency to it's own file so that checks will be able to be loaded into the way and relation models, without loading the node stuff.
|
2008-10-13 14:34:04 +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
|
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
|
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
|
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 |
|
Tom Hughes
|
fb5f6bb4a2
|
Rework GPX import daemon to use libxml2 for speed.
|
2008-07-30 08:37:05 +00:00 |
|
Tom Hughes
|
c878da25cf
|
Remote Potlatch projection routines as they are no longer needed.
|
2008-07-15 23:15:53 +00:00 |
|
Richard Fairhurst
|
62a1ec4748
|
Potlatch 0.10
|
2008-07-09 22:19:48 +00:00 |
|
Shaun McDonald
|
64a5e21f53
|
Fixing the resync that I had done wrong at the end of last week on the nodes. All unit tests now do work. More assertions added. Using a scaling factor as a constant, so that the nodes are stored in the db correctly. Using the same scaling factor in the georecord library, to make code more readable, and reduce errors. Removing duplicate code that is in the GeoRecord include library.
|
2008-07-07 14:20:27 +00:00 |
|
Shaun McDonald
|
5f8ab9e924
|
Merge changes from trunk 7673:8632.
|
2008-07-03 13:06:24 +00:00 |
|
Tom Hughes
|
def60c1935
|
Railsify relation selection (aka ripping out the f***in SQL).
|
2008-06-24 23:42:39 +00:00 |
|
Tom Hughes
|
cfc14f1ddc
|
Make GeoRecord inject class methods correctly when included.
|
2008-06-22 15:22:13 +00:00 |
|
Tom Hughes
|
b72fedb162
|
Make the polymorphic relation association work properly.
|
2008-06-22 14:44:34 +00:00 |
|
Gabriel Ebner
|
e823ce2fc4
|
api06: Fix OSM::APIVersionMismatchError.render_opts
|
2008-05-13 12:32:43 +00:00 |
|
Gabriel Ebner
|
2ff2cdf63d
|
api06: fix syntax errors.
|
2008-05-13 12:27:38 +00:00 |
|
Gabriel Ebner
|
7151fa05e4
|
api06: simplify exception handling and add exception handling to the diff
upload.
|
2008-05-13 12:15:06 +00:00 |
|
Gabriel Ebner
|
86b4d1bc2c
|
api06: Move version-checking into the models, raising an exception on mismatch
(still not implemented for delete requests though.)
|
2008-05-12 21:05:11 +00:00 |
|
Gabriel Ebner
|
6c31dbaaec
|
split_node_tags: Remove old unused files.
|
2008-05-04 09:04:40 +00:00 |
|
Gabriel Ebner
|
ba01b66242
|
split_node_tags: Implement key constraints.
|
2008-05-04 08:25:29 +00:00 |
|
Tom Hughes
|
7d0a281d5b
|
Include tags in GPX success and failure mails. Closes #480.
|
2008-04-27 12:18:19 +00:00 |
|
Tom Hughes
|
d13ef1db02
|
More work on export tab.
|
2008-04-14 23:46:10 +00:00 |
|
Richard Fairhurst
|
ae142c554b
|
Potlatch 0.8 - be afraid, be very, very afraid
|
2008-03-19 01:03:51 +00:00 |
|
Tom Hughes
|
8516ad87b3
|
Add missing sanitise_boundaries method that the API controller was
trying to call.
|
2008-02-03 15:38:02 +00:00 |
|
Nick Black
|
051e44c63a
|
fixed bug in add version rake task
|
2008-01-25 17:02:43 +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 |
|
Nick Black
|
2ce8177333
|
fixed null value bug in rake task
|
2008-01-25 14:26:39 +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 |
|
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 |
|
Nick Black
|
6f6e827702
|
added task to add version numbers to nodes table
|
2008-01-23 18:39:29 +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 |
|
Tom Hughes
|
7fc2dbecd5
|
Migrate web site to use rails 2.0.1.
|
2008-01-06 12:17:58 +00:00 |
|
Tom Hughes
|
dffd645c50
|
Update GPX daemon control script to match current template from the
daemons plugin.
|
2008-01-05 16:16:36 +00:00 |
|
Tom Hughes
|
5bf4ce35c0
|
Fix picture generation to avoid truncating the sides of the image for
a trace that is wider than it is tall.
|
2008-01-05 15:23:04 +00:00 |
|
Tom Hughes
|
2ba147e7fa
|
Clear gotele and gotdate when we see the start of a trkpt element to
avoid inheriting previous data.
|
2007-11-26 16:28:28 +00:00 |
|
Tom Hughes
|
9ec8ef0220
|
Add escaping of semicolon and equals in node tags.
Based on patch from Dave Stubbs.
|
2007-11-21 13:30:55 +00:00 |
|
Tom Hughes
|
8d2f6da628
|
Rework image generation to work in a fixed amount of memory. Closes #580.
|
2007-10-31 13:46:36 +00:00 |
|
Tom Hughes
|
f82f362cea
|
Fix geolocation to actually work...
|
2007-10-12 16:34:38 +00:00 |
|
Tom Hughes
|
b084685bba
|
Force C99 mode.
|
2007-10-08 07:54:54 +00:00 |
|