Commit graph

1542 commits

Author SHA1 Message Date
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
Shaun McDonald
0f25285ab6 More tests, found a bug in the data browser, no fix yet. Fix db readme. Don't show the signup page to logged in users, by redirecting them to the home page. Remove unnessesary begin blocks in the browse controller. 2009-04-12 23:20:31 +00:00
Thomas Wood
464c490cae Use the right keyword this time... 2009-04-09 23:18:21 +00:00
Thomas Wood
6442208841 Add exceptions for remaing cases where XML::Parser.string is used, to catch for empty strings.
See also r14241
2009-04-09 22:37:43 +00:00
Tom Hughes
9c0f288bb7 Explicitly set the default for home_lat and home_lon to null. 2009-04-09 17:11:04 +00:00
Thomas Wood
776d2d7bc2 Return "Make my edits" button to functioning state, positioning is unfortunate, but it cannot be inside the page's form. I've made a compromise of the two states. 2009-04-09 17:06:53 +00:00
Tom Hughes
7fff6361c1 Use the inet type for IP addresses in postgres. 2009-04-09 15:17:12 +00:00
Tom Hughes
2e1414b229 Fix primary key creation for ACL table. 2009-04-09 15:09:38 +00:00
Tom Hughes
ea7938dd89 Use pg_config to find postgres. 2009-04-09 14:47:41 +00:00
Thomas Wood
63474e1f50 Fix readme instructions for module compilation 2009-04-09 14:16:13 +00:00
Thomas Wood
c64ebb9139 Add has_valid_bbox? method to Changeset model to tidy checking for bbox, and fix edge case where no bbox would cause changeset browsing to die. 2009-04-09 11:18:31 +00:00
Tom Hughes
47350833fc Make the box outline the same colour as the ways and points drawn
in the data browser maps.
2009-04-08 23:52:39 +00:00
Tom Hughes
1262b376ef Add a mini map to the changeset view in the data browser. 2009-04-08 23:44:43 +00:00
Tom Hughes
b02c873c0e Eliminate duplication of tag printing logic. 2009-04-08 23:19:41 +00:00
Tom Hughes
7daa4f5d2b Tidy up new box code. 2009-04-08 23:14:50 +00:00
Harry Wood
fdd5d2d779 new support for box=yes param on the homepage, and then link to this from various changeset display 2009-04-08 16:55:22 +00:00
Tom Hughes
1f8a68371a Merge 14059:14394 from trunk. 2009-04-08 13:53:09 +00:00
Tom Hughes
9b72debd9a Fix formatting of changeset details. 2009-04-08 13:35:35 +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
c321c026f2 tweak lat lon decision logic for the edit tab. made it more similar to logic in index, including using cookie 2009-04-02 18:08:46 +00:00
Harry Wood
bf0d8b3a5e lose the unnecessary <% embed syntax %> 2009-04-02 17:19:33 +00:00
Tom Hughes
72dfc2e55e Use correct key for z15 and greater. 2009-03-29 16:23:07 +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
Matt Amos
8140c99313 Fix for correct boolean handling in query. 2009-03-29 00:56:08 +00:00
Matt Amos
f492a1b709 Fixed unit tests and fixture loading for postgres. The foreign keys were playing havoc with the tests when only some fixtures were loaded. 2009-03-28 20:18:26 +00:00
Matt Amos
be75a1504f Fixed a couple of bugs with changeset bounding box calculation when modifying or deleting. 2009-03-27 12:22:23 +00:00
Harry Wood
663416ae0b fix 'edits' link. action was renamed 'list_user' 2009-03-26 23:43:34 +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
Tom Hughes
9752466c03 Add SOTM advert. 2009-03-25 16:49:33 +00:00
Harry Wood
0f3e5a28c0 show a 'no bbox specified' message for the moment at least. Due to inconsistent location detecting across tabs, the history tab often gets nil bbox (Need to fix for all tabs) + other history tab tweaks 2009-03-24 11:23:56 +00:00
Thomas Wood
6167bb6502 Shut up libxml's "Must specify a string with one or more characters" error on relation and way models. 2009-03-23 21:52:32 +00:00
Thomas Wood
d841d3d135 <td> tags must be closed, move browse index test over to changeset, lazy fix for new format 2009-03-23 21:35:06 +00:00
Thomas Wood
8fb97a3337 Rather than referring how to view a bbox history, just redirect to the global history. 2009-03-23 19:56:01 +00:00
Thomas Wood
7d3a5899c9 More fixes to the changeset viewer, including logged-in-ness on per-user edit lists, fix XSS potential on usernames here, and general tidyups. 2009-03-23 19:40:33 +00:00
Thomas Wood
677f391ec1 Fix various auth bugs with the changeset listing stuff, catch exception (but not yet handled well) for when edits not public. 2009-03-23 18:23:37 +00:00
Tom Hughes
d869c88ec0 Force the map div to fill the page. 2009-03-23 17:37:50 +00:00
Harry Wood
d3c6087409 js changes for 'history' tab 2009-03-23 16:41:18 +00:00
Harry Wood
afe8dd51ec Add 'history' tab + Move 'recent changes' changeset list to re-use the same _changeset.rhtml partial 2009-03-23 16:39:59 +00:00
Tom Hughes
55a10e2a7b Serve HTML files with a UTF-8 charset declaration. 2009-03-23 11:21:05 +00:00
Tom Hughes
ce10efd81d Fixed for XHTML compliance. Based on patch from Alexander Delius. 2009-03-23 11:19:34 +00:00
Steve Chilton
e1e6971a13 Revised keys 6,7,8,9,12,13, new 15 2009-03-21 21:11:11 +00:00
Harry Wood
231bdf66cd lose the unneeded <% syntax %> 2009-03-20 12:05:00 +00:00
Tom Hughes
eff9fa3b00 Refactor the GPX upload to try and avoid the import daemon loading traces
which do not exist yet.
2009-03-20 00:08:53 +00:00
Richard Fairhurst
994104e92e backport to 0.5 2009-03-13 00:11:39 +00:00
Richard Fairhurst
acdd90ea61 remove ways from memory immediately on delete; redo background layer storage 2009-03-12 23:58:54 +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
81835c55a0 Commit ACL related files from earlier merges as svn merge seems to
neglected to add them...
2009-03-08 16:13:00 +00:00