Commit graph

226 commits

Author SHA1 Message Date
Shaun McDonald
797cbaab1e Covering the case of an entry not being found. More diary entry tests. 2008-11-12 18:48:58 +00:00
Matt Amos
0be6dd860f Ooops, forgot to commit the routes for the changeset query and include calls. 2008-11-10 15:37:34 +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
Shaun McDonald
771a4e5be3 bumping the version of composite primary keys for the amf controler as there are bugs in it 2008-11-09 11:13:10 +00:00
Frederik Ramm
7a3f7bc2dd fix accidental commit of local config changes 2008-11-08 19:55:13 +00:00
Frederik Ramm
79420631ce fix version number return for "modify" sections of diff uploads 2008-11-08 19:43:31 +00:00
Shaun McDonald
bf29550db8 Resyncing from head 10895:11795 2008-11-08 11:52:58 +00:00
Shaun McDonald
89d8fc1bad Removing depricated config option in the development env 2008-11-06 14:20:07 +00:00
Shaun McDonald
635daf1773 Adding a restriction to prevent more than 2000 nodes to be added to any way. Tests still need to be written. Capabilities api request also updated. 2008-11-03 00:12:18 +00:00
Shaun McDonald
b4c46ba4b8 add a comment about why the error handler is required, as per mail from TomH. Also adding the option so that we are using the old style of migrations, rather than the 2.1+ migrations. 2008-10-29 15:45:48 +00:00
Shaun McDonald
252c2f7022 Updating to use Rails 2.1.2. Moving the gem dependancies to the config/environment.rb file. Moving the vendor/plugins externals into our svn. 2008-10-28 20:42:48 +00:00
Matt Amos
8a57904398 Implemented osmChange diff downloads for changesets and a couple of tests. 2008-10-27 17:50:28 +00:00
Richard Fairhurst
6ad0acf29a fix broken YAML 2008-10-24 14:35:01 +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
Richard Fairhurst
7aeead9175 Potlatch 0.10f 2008-10-23 08:42:07 +00:00
Shaun McDonald
6889ee7564 Making the capabilities api version indipendent 2008-10-20 20:40:06 +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
Andy Allan
8651215ec3 set the db encoding to utf-8, otherwise data is stored incorrectly in db. Can be seen by roundtrip truncating at 255 bytes instead of 255 chars. Connection setting (here) is independant of mysql setup 2008-10-15 16:56:56 +00:00
Tom Hughes
0d8e4b4337 Disable the query cache. 2008-10-13 23:13:34 +00:00
Shaun McDonald
2c16177174 adding changeset stuff for the data browser 2008-10-13 20:48:58 +00:00
Tom Hughes
784e9c6b83 Send the new amf/read API call to the bulkapi queue - the write method
will fall through the main API queue.
2008-10-12 23:28:52 +00:00
Richard Fairhurst
caa20ccc40 Potlatch 0.10e 2008-10-12 23:11:37 +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
Tom Hughes
7d8bd4f4bd More changes from the live server. 2008-10-06 23:31:41 +00:00
Tom Hughes
62847c92f5 Commit updated dispatch rules from live server. 2008-10-06 23:27:36 +00:00
Tom Hughes
53205dbb07 Update cross domain policy to only allow API access. 2008-10-06 23:21:57 +00:00
Richard Fairhurst
ed2b100969 add railway=platform 2008-10-05 22:20:04 +00:00
Richard Fairhurst
97726826e1 Potlatch 0.10d 2008-10-05 00:21:35 +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
eb7862b4c6 Potlatch 0.10c 2008-09-18 17:04:28 +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
Shaun McDonald
87494900df more testing of node tags 2008-08-18 13:55:21 +00:00
Tom Hughes
1fb4e929bd Commit new route for email confirmation changes. 2008-08-18 07:28:26 +00:00
Tom Hughes
6d7e69d4d3 Make the location of the GPX traces configurable. 2008-08-07 11:31:42 +00:00
Tom Hughes
fb5f6bb4a2 Rework GPX import daemon to use libxml2 for speed. 2008-07-30 08:37:05 +00:00
Richard Fairhurst
35ace2607b Potlatch 0.10a 2008-07-29 00:33:33 +00:00
Tom Hughes
2ac6340a7b Try and improve libxml error handling. 2008-07-20 17:08:27 +00:00
Tom Hughes
1cd26357f0 Default to using rails. 2008-07-16 22:59:10 +00:00
Tom Hughes
49637fed70 Move Potlatch configuration to a separate initialiser file. 2008-07-15 18:05:22 +00:00
Richard Fairhurst
62a1ec4748 Potlatch 0.10 2008-07-09 22:19:48 +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
Shaun McDonald
0a459023d3 Now all the unit tests work 2008-07-03 10:56:17 +00:00
Tom Hughes
97aefa23d0 Merge data browser branch to trunk. 2008-06-27 23:09:05 +00:00
Tom Hughes
398d5fa329 Improve the layout of the object browser views. 2008-06-24 16:44:45 +00:00
Tom Hughes
960d13488a Merge 7922:8377 from trunk. 2008-06-22 12:23:43 +00:00
Tom Hughes
2cf15b549e Add support for putting the site in an offline mode where it operates
without a database but with most features disabled.
2008-06-22 12:10:32 +00:00
Tom Hughes
e8293baf8f Let's have one last try... 2008-06-07 00:03:27 +00:00