]>
git.openstreetmap.org Git - rails.git/log
Tom Hughes [Thu, 16 Apr 2009 21:38:29 +0000 (21:38 +0000)]
Fixed to work with merged changes to api availability checks.
Tom Hughes [Thu, 16 Apr 2009 21:16:09 +0000 (21:16 +0000)]
Handle MySQL/Postgres boolean differences.
Tom Hughes [Thu, 16 Apr 2009 21:11:12 +0000 (21:11 +0000)]
Merge 14394:14533 from trunk.
Tom Hughes [Thu, 16 Apr 2009 20:47:18 +0000 (20:47 +0000)]
Handle differences in interval constant formatting.
Tom Hughes [Thu, 16 Apr 2009 20:40:32 +0000 (20:40 +0000)]
Cope with MySQL and Postgres.
Tom Hughes [Thu, 16 Apr 2009 20:29:18 +0000 (20:29 +0000)]
Work out which session store class to use automatically.
Tom Hughes [Thu, 16 Apr 2009 11:38:02 +0000 (11:38 +0000)]
Fix statistics script to work with 0.6 database schema.
Shaun McDonald [Wed, 15 Apr 2009 14:49:21 +0000 (14:49 +0000)]
Railsify the relation member model, type attribute, by putting it into class case, rather than lower case. Requires reload of postgres databases or manual change to the enum. Fixes the databrowser on postgres, however affects the rest of the codebase.
Tom Hughes [Wed, 15 Apr 2009 09:05:29 +0000 (09:05 +0000)]
Fix database check in browse controller.
Tom Hughes [Wed, 15 Apr 2009 08:03:26 +0000 (08:03 +0000)]
Fix spelling mistake.
Tom Hughes [Tue, 14 Apr 2009 14:27:30 +0000 (14:27 +0000)]
Add a "database readonly" state that allows all writes to the database
to be suppressed.
Shaun McDonald [Tue, 14 Apr 2009 12:00:26 +0000 (12:00 +0000)]
Should have a .new when raising error
Shaun McDonald [Tue, 14 Apr 2009 11:52:56 +0000 (11:52 +0000)]
Remove function that is in the test help from functional test
Shaun McDonald [Tue, 14 Apr 2009 11:39:46 +0000 (11:39 +0000)]
Remove function that is in the test help from functional test
Shaun McDonald [Mon, 13 Apr 2009 00:13:51 +0000 (00:13 +0000)]
remove the dup methods from the test helper. Add tests for no content and checking that a record has been created.
Shaun McDonald [Mon, 13 Apr 2009 00:10:37 +0000 (00:10 +0000)]
reverting last change, which included posgres config specific things
Shaun McDonald [Mon, 13 Apr 2009 00:04:24 +0000 (00:04 +0000)]
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.
Shaun McDonald [Sun, 12 Apr 2009 23:20:31 +0000 (23:20 +0000)]
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.
Thomas Wood [Thu, 9 Apr 2009 23:18:21 +0000 (23:18 +0000)]
Use the right keyword this time...
Thomas Wood [Thu, 9 Apr 2009 22:37:43 +0000 (22:37 +0000)]
Add exceptions for remaing cases where XML::Parser.string is used, to catch for empty strings.
See also r14241
Tom Hughes [Thu, 9 Apr 2009 17:11:04 +0000 (17:11 +0000)]
Explicitly set the default for home_lat and home_lon to null.
Thomas Wood [Thu, 9 Apr 2009 17:06:53 +0000 (17:06 +0000)]
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.
Tom Hughes [Thu, 9 Apr 2009 15:17:12 +0000 (15:17 +0000)]
Use the inet type for IP addresses in postgres.
Tom Hughes [Thu, 9 Apr 2009 15:09:38 +0000 (15:09 +0000)]
Fix primary key creation for ACL table.
Tom Hughes [Thu, 9 Apr 2009 14:47:41 +0000 (14:47 +0000)]
Use pg_config to find postgres.
Thomas Wood [Thu, 9 Apr 2009 14:16:13 +0000 (14:16 +0000)]
Fix readme instructions for module compilation
Thomas Wood [Thu, 9 Apr 2009 11:18:31 +0000 (11:18 +0000)]
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.
Tom Hughes [Wed, 8 Apr 2009 23:52:39 +0000 (23:52 +0000)]
Make the box outline the same colour as the ways and points drawn
in the data browser maps.
Tom Hughes [Wed, 8 Apr 2009 23:44:43 +0000 (23:44 +0000)]
Add a mini map to the changeset view in the data browser.
Tom Hughes [Wed, 8 Apr 2009 23:19:41 +0000 (23:19 +0000)]
Eliminate duplication of tag printing logic.
Tom Hughes [Wed, 8 Apr 2009 23:14:50 +0000 (23:14 +0000)]
Tidy up new box code.
Harry Wood [Wed, 8 Apr 2009 16:55:22 +0000 (16:55 +0000)]
new support for box=yes param on the homepage, and then link to this from various changeset display
Tom Hughes [Wed, 8 Apr 2009 13:53:09 +0000 (13:53 +0000)]
Merge 14059:14394 from trunk.
Tom Hughes [Wed, 8 Apr 2009 13:35:35 +0000 (13:35 +0000)]
Fix formatting of changeset details.
Shaun McDonald [Fri, 3 Apr 2009 11:12:11 +0000 (11:12 +0000)]
Adding a versionless capabilities to head, so that editors can use it now, prior to the 0.6 changeover.
Harry Wood [Thu, 2 Apr 2009 18:08:46 +0000 (18:08 +0000)]
tweak lat lon decision logic for the edit tab. made it more similar to logic in index, including using cookie
Harry Wood [Thu, 2 Apr 2009 17:19:33 +0000 (17:19 +0000)]
lose the unnecessary <% embed syntax %>
Tom Hughes [Sun, 29 Mar 2009 16:23:07 +0000 (16:23 +0000)]
Use correct key for z15 and greater.
Matt Amos [Sun, 29 Mar 2009 02:14:40 +0000 (02:14 +0000)]
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.
Matt Amos [Sun, 29 Mar 2009 01:31:04 +0000 (01:31 +0000)]
Moved a bunch of time functions into UTC. Fixes bugs which we only see for 4 hours a year.
Matt Amos [Sun, 29 Mar 2009 00:56:08 +0000 (00:56 +0000)]
Fix for correct boolean handling in query.
Matt Amos [Sat, 28 Mar 2009 20:18:26 +0000 (20:18 +0000)]
Fixed unit tests and fixture loading for postgres. The foreign keys were playing havoc with the tests when only some fixtures were loaded.
Matt Amos [Fri, 27 Mar 2009 12:22:23 +0000 (12:22 +0000)]
Fixed a couple of bugs with changeset bounding box calculation when modifying or deleting.
Harry Wood [Thu, 26 Mar 2009 23:43:34 +0000 (23:43 +0000)]
fix 'edits' link. action was renamed 'list_user'
Richard Fairhurst [Thu, 26 Mar 2009 09:38:11 +0000 (09:38 +0000)]
fix user:pass auth for Potlatch
Matt Amos [Wed, 25 Mar 2009 17:54:21 +0000 (17:54 +0000)]
Fixing failing potlatch tests. Someone who knows what the potlatch API is actually supposed to be doing should check these...
Tom Hughes [Wed, 25 Mar 2009 16:49:33 +0000 (16:49 +0000)]
Add SOTM advert.
Harry Wood [Tue, 24 Mar 2009 11:23:56 +0000 (11:23 +0000)]
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
Thomas Wood [Mon, 23 Mar 2009 21:52:32 +0000 (21:52 +0000)]
Shut up libxml's "Must specify a string with one or more characters" error on relation and way models.
Thomas Wood [Mon, 23 Mar 2009 21:35:06 +0000 (21:35 +0000)]
<td> tags must be closed, move browse index test over to changeset, lazy fix for new format
Thomas Wood [Mon, 23 Mar 2009 19:56:01 +0000 (19:56 +0000)]
Rather than referring how to view a bbox history, just redirect to the global history.
Thomas Wood [Mon, 23 Mar 2009 19:40:33 +0000 (19:40 +0000)]
More fixes to the changeset viewer, including logged-in-ness on per-user edit lists, fix XSS potential on usernames here, and general tidyups.
Thomas Wood [Mon, 23 Mar 2009 18:23:37 +0000 (18:23 +0000)]
Fix various auth bugs with the changeset listing stuff, catch exception (but not yet handled well) for when edits not public.
Tom Hughes [Mon, 23 Mar 2009 17:37:50 +0000 (17:37 +0000)]
Force the map div to fill the page.
Harry Wood [Mon, 23 Mar 2009 16:41:18 +0000 (16:41 +0000)]
js changes for 'history' tab
Harry Wood [Mon, 23 Mar 2009 16:39:59 +0000 (16:39 +0000)]
Add 'history' tab + Move 'recent changes' changeset list to re-use the same _changeset.rhtml partial
Tom Hughes [Mon, 23 Mar 2009 11:21:05 +0000 (11:21 +0000)]
Serve HTML files with a UTF-8 charset declaration.
Tom Hughes [Mon, 23 Mar 2009 11:19:34 +0000 (11:19 +0000)]
Fixed for XHTML compliance. Based on patch from Alexander Delius.
Steve Chilton [Sat, 21 Mar 2009 21:11:11 +0000 (21:11 +0000)]
Revised keys 6,7,8,9,12,13, new 15
Harry Wood [Fri, 20 Mar 2009 12:05:00 +0000 (12:05 +0000)]
lose the unneeded <% syntax %>
Tom Hughes [Fri, 20 Mar 2009 00:08:53 +0000 (00:08 +0000)]
Refactor the GPX upload to try and avoid the import daemon loading traces
which do not exist yet.
Richard Fairhurst [Fri, 13 Mar 2009 00:11:39 +0000 (00:11 +0000)]
backport to 0.5
Richard Fairhurst [Thu, 12 Mar 2009 23:58:54 +0000 (23:58 +0000)]
remove ways from memory immediately on delete; redo background layer storage
Tom Hughes [Thu, 12 Mar 2009 00:13:27 +0000 (00:13 +0000)]
Merged 14009:14059 from trunk.
Tom Hughes [Thu, 12 Mar 2009 00:10:47 +0000 (00:10 +0000)]
Require libxml 1.1.1 to fix seg faults.
Tom Hughes [Sun, 8 Mar 2009 16:13:00 +0000 (16:13 +0000)]
Commit ACL related files from earlier merges as svn merge seems to
neglected to add them...
Tom Hughes [Sun, 8 Mar 2009 16:12:07 +0000 (16:12 +0000)]
Add tabindex values to make sure links are not in the tab order when
navigating forms.
Tom Hughes [Sun, 8 Mar 2009 13:02:37 +0000 (13:02 +0000)]
Merge 12304:14009 from trunk.
Tom Hughes [Sun, 8 Mar 2009 12:44:45 +0000 (12:44 +0000)]
Fix for libxml 1.0.0 changes.
Tom Hughes [Sun, 8 Mar 2009 11:34:46 +0000 (11:34 +0000)]
Update to use libxml 1.0.0 gem.
Tom Hughes [Fri, 6 Mar 2009 14:30:01 +0000 (14:30 +0000)]
Fix thinko.
Tom Hughes [Fri, 6 Mar 2009 14:27:40 +0000 (14:27 +0000)]
Put auto discovery links in the document head.
Tom Hughes [Fri, 6 Mar 2009 14:19:54 +0000 (14:19 +0000)]
Declare XML namespace.
Harry Wood [Sun, 1 Mar 2009 22:24:07 +0000 (22:24 +0000)]
setting lon2 correctly. Was displaying one of the bbox numbers wrong
Richard Fairhurst [Thu, 26 Feb 2009 00:26:23 +0000 (00:26 +0000)]
fix backspacing through way to delete it
Richard Fairhurst [Wed, 25 Feb 2009 22:04:22 +0000 (22:04 +0000)]
history stuff should be working now (haha)
Richard Fairhurst [Wed, 25 Feb 2009 01:14:19 +0000 (01:14 +0000)]
further work on 0.6 history (not quite complete yet)
Tom Hughes [Thu, 19 Feb 2009 13:47:43 +0000 (13:47 +0000)]
Add an ACL system to allow key/value pairs to be attached to blocks
of IP addresses, and implement an ACL restriction that allows account
creation to be blocked.
Tom Hughes [Sat, 14 Feb 2009 00:01:39 +0000 (00:01 +0000)]
Go back to using <center> to position the buttons in the left hand
column as IE doesn't seem to cope with CSS based centering.
Tom Hughes [Fri, 13 Feb 2009 21:31:17 +0000 (21:31 +0000)]
Use a root relative URL for the donation button image.
Tom Hughes [Fri, 13 Feb 2009 17:38:40 +0000 (17:38 +0000)]
Replace the PayPal button on the home page with a donate button that
links to the OSM donation site.
Tom Hughes [Fri, 13 Feb 2009 15:55:50 +0000 (15:55 +0000)]
Apparently zero is not false in ruby.
Tom Hughes [Fri, 13 Feb 2009 15:53:33 +0000 (15:53 +0000)]
Remove donate box from front page.
Richard Fairhurst [Fri, 13 Feb 2009 15:12:52 +0000 (15:12 +0000)]
be a bit smarter about enlarging the bbox (note to self: must remember to put this in 0.6 too)
Tom Hughes [Fri, 13 Feb 2009 12:33:54 +0000 (12:33 +0000)]
Put the escapes back again.
Paul Gillard [Wed, 11 Feb 2009 20:47:25 +0000 (20:47 +0000)]
Stylesheet changes to make paragraphs within intro section on left hand side of home page space correctly. Changes tested in:
Firefox 3.0.6 - OSX
Safari 3.2.1 - OSX
Firefox 3.0.6 - Win XP Pro
IE7 7.0.5730 - Win XP Pro
IE6 - WIn XP Pro
Google Chrome 0.2.149.27 - Win XP Pro
Home page now displays correctly in Google Chrome.
Tom Hughes [Wed, 11 Feb 2009 00:18:10 +0000 (00:18 +0000)]
Removed bogus backslash escape.
Tom Hughes [Wed, 11 Feb 2009 00:16:00 +0000 (00:16 +0000)]
Wrap text to make it more readable and adjust the padding on the intro
box to remove the extra space created by addition of paragraph tags.
Tom Hughes [Wed, 11 Feb 2009 00:10:36 +0000 (00:10 +0000)]
Remove bogus backslash escape.
Tom Hughes [Wed, 11 Feb 2009 00:09:58 +0000 (00:09 +0000)]
Remove excessive indenting - tabs are bad people!
Paul Gillard [Tue, 10 Feb 2009 22:50:13 +0000 (22:50 +0000)]
Paul Gillard [Tue, 10 Feb 2009 22:42:45 +0000 (22:42 +0000)]
Ensure homepage source validates.
Matt Amos [Sun, 8 Feb 2009 16:54:28 +0000 (16:54 +0000)]
Test and fix for #1567, for teh betterer osmChange compliance.
Matt Amos [Sun, 8 Feb 2009 16:33:48 +0000 (16:33 +0000)]
Test and fix for issue #1568. Wasn't testing for end element in the right place.
Matt Amos [Sun, 8 Feb 2009 08:28:01 +0000 (08:28 +0000)]
Fix for #1565. Added a couple of tests and fixed another issue with re-used placeholder IDs.
Matt Amos [Sat, 7 Feb 2009 17:45:27 +0000 (17:45 +0000)]
Fixed bug in changeset closing and querying where the number of elements exceeded the maximum. Added a fixture for this.
Tom Hughes [Fri, 6 Feb 2009 10:12:50 +0000 (10:12 +0000)]
Stop robots crawling the object browser.
Tom Hughes [Thu, 5 Feb 2009 22:23:45 +0000 (22:23 +0000)]
Back out hack to setMapCenter and fix the problem in the right place.
Tom Hughes [Thu, 5 Feb 2009 22:06:47 +0000 (22:06 +0000)]
Add donation link to main site.
Frederik Ramm [Tue, 3 Feb 2009 00:57:19 +0000 (00:57 +0000)]
splitting and joining tags is gone for good in 0.6