Commit graph

2699 commits

Author SHA1 Message Date
Tom Hughes
66c95aa3f9 Work out which session store class to use automatically. 2009-04-16 20:29:18 +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
Shaun McDonald
90ec90f13d reverting last change, which included posgres config specific things 2009-04-13 00:10:37 +00:00
Shaun McDonald
2c52b06716 Remove duplication that is in the test helper. Adding tests for the passing of no content, and the wrong method used. Also ensuring that there has been a changeset added to the db when it is created. 2009-04-13 00:04:24 +00:00
Tom Hughes
1f8a68371a Merge 14059:14394 from trunk. 2009-04-08 13:53:09 +00:00
Shaun McDonald
240869f37b Adding a versionless capabilities to head, so that editors can use it now, prior to the 0.6 changeover. 2009-04-03 11:12:11 +00:00
Harry Wood
d3c6087409 js changes for 'history' tab 2009-03-23 16:41:18 +00:00
Tom Hughes
55a10e2a7b Serve HTML files with a UTF-8 charset declaration. 2009-03-23 11:21:05 +00:00
Tom Hughes
bed9cd00ed Merged 14009:14059 from trunk. 2009-03-12 00:13:27 +00:00
Tom Hughes
e5b973e644 Require libxml 1.1.1 to fix seg faults. 2009-03-12 00:10:47 +00:00
Tom Hughes
c8ee135104 Merge 12304:14009 from trunk. 2009-03-08 13:02:37 +00:00
Tom Hughes
07c1cd6b98 Update to use libxml 1.0.0 gem. 2009-03-08 11:34:46 +00:00
Richard Fairhurst
e827a04607 further work on 0.6 history (not quite complete yet) 2009-02-25 01:14:19 +00:00
Paul Gillard
302fd06d46 2009-02-10 22:50:13 +00:00
Paul Gillard
3f30bc53f5 Ensure homepage source validates. 2009-02-10 22:42:45 +00:00
Richard Fairhurst
8b79e2b963 eight zillion more presets for 0.5 Potlatch 2009-01-21 00:31:55 +00:00
Richard Fairhurst
cc90867183 view changesets by user 2008-12-23 13:06:07 +00:00
Shaun McDonald
a4e5e8437f Renaming the include action to expand_bbox in the changeset controller. 2008-11-26 11:36:10 +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
0ff1214f86 Make the role in relations optional, with a test to make sure it is. Also start moving the errors reading the xml to exceptions, thus making it possible to give meaningful error messages, when bad xml is sent (More work is required on this including doing the same for nodes and ways). With the latest gems update it seems that the lib xml handling was broken, using the newer method. Adding the content type for the exceptions. 2008-11-24 18:55:24 +00:00
Shaun McDonald
1818679416 Make the dates and times that the server deals with UTC. This is probably required for changeset, as they could auto close instantly when the clocks go forward by one hour. 2008-11-17 19:11:54 +00:00
Matt Amos
98b15bef45 Implemented changeset tags updating via the update method. 2008-11-17 11:45:50 +00:00
Shaun McDonald
d74e2196a0 Freezing composite primary key so that we can apply TomH's patch to it, and that way Potlatch will work in Rails mode without a problem. Please test. 2008-11-15 01:11:27 +00:00
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