Commit graph

1161 commits

Author SHA1 Message Date
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
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
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
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
Tom Hughes
7184ae0096 Add tabindex values to make sure links are not in the tab order when
navigating forms.
2009-03-08 16:12:07 +00:00
Tom Hughes
c8ee135104 Merge 12304:14009 from trunk. 2009-03-08 13:02:37 +00:00
Tom Hughes
fa3c97d6a6 Fix for libxml 1.0.0 changes. 2009-03-08 12:44:45 +00:00
Tom Hughes
07c1cd6b98 Update to use libxml 1.0.0 gem. 2009-03-08 11:34:46 +00:00
Tom Hughes
2005709c5a Fix thinko. 2009-03-06 14:30:01 +00:00
Tom Hughes
bddb7dd8f9 Put auto discovery links in the document head. 2009-03-06 14:27:40 +00:00
Tom Hughes
f6a5d22816 Declare XML namespace. 2009-03-06 14:19:54 +00:00
Harry Wood
0272d30b96 setting lon2 correctly. Was displaying one of the bbox numbers wrong 2009-03-01 22:24:07 +00:00
Richard Fairhurst
7bd1cdaa99 fix backspacing through way to delete it 2009-02-26 00:26:23 +00:00
Richard Fairhurst
dfa81462b8 history stuff should be working now (haha) 2009-02-25 22:04:22 +00:00
Richard Fairhurst
e827a04607 further work on 0.6 history (not quite complete yet) 2009-02-25 01:14:19 +00:00
Tom Hughes
10b71ba2f6 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.
2009-02-19 13:47:43 +00:00
Tom Hughes
41e10b09d0 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.
2009-02-14 00:01:39 +00:00
Tom Hughes
fbf33a6e91 Use a root relative URL for the donation button image. 2009-02-13 21:31:17 +00:00
Tom Hughes
fd19a1f3ba Replace the PayPal button on the home page with a donate button that
links to the OSM donation site.
2009-02-13 17:38:40 +00:00
Tom Hughes
168f51e40a Apparently zero is not false in ruby. 2009-02-13 15:55:50 +00:00
Tom Hughes
eb38443c0e Remove donate box from front page. 2009-02-13 15:53:33 +00:00
Richard Fairhurst
79d3ee4654 be a bit smarter about enlarging the bbox (note to self: must remember to put this in 0.6 too) 2009-02-13 15:12:52 +00:00
Tom Hughes
8c8bb42cf6 Put the escapes back again. 2009-02-13 12:33:54 +00:00
Tom Hughes
faa1a48250 Removed bogus backslash escape. 2009-02-11 00:18:10 +00:00
Tom Hughes
77a00dfb03 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.
2009-02-11 00:16:00 +00:00
Tom Hughes
a2d8f51827 Remove bogus backslash escape. 2009-02-11 00:10:36 +00:00
Tom Hughes
56065cd154 Remove excessive indenting - tabs are bad people! 2009-02-11 00:09:58 +00:00
Paul Gillard
3f30bc53f5 Ensure homepage source validates. 2009-02-10 22:42:45 +00:00
Matt Amos
76708eefcf Fixed bug in changeset closing and querying where the number of elements exceeded the maximum. Added a fixture for this. 2009-02-07 17:45:27 +00:00
Tom Hughes
554614723a Back out hack to setMapCenter and fix the problem in the right place. 2009-02-05 22:23:45 +00:00
Tom Hughes
c1df8017d6 Add donation link to main site. 2009-02-05 22:06:47 +00:00
Dirk Stöcker
2746a2e103 fixed typo 2009-01-29 14:19:39 +00:00
Dirk Stöcker
4c2564e1af fixed typo 2009-01-29 14:19:39 +00:00
Thomas Wood
1522ed275c Set params to sane defaults if unset by client.
Reject creates with no file with 400, model validations will also reject with 400 (as was existing but broken behaviour)
Closes #1510
2009-01-23 19:14:21 +00:00
Thomas Wood
9bb9de0fbe Require auth on calls to /trace/create, and pass through to form if called without params. Adjust validations on traces to prevent dual error messages on description (validates_presence_of catches the empty string removed from length validation)
More changes to come for api_create
References #1510
2009-01-23 01:19:45 +00:00
Tom Hughes
90bb0580e4 Remove Steve's gratuitous insult. 2009-01-19 08:31:35 +00:00
Steve Coast
ec7e89f757 nicer signup confirmation email 2009-01-19 03:45:41 +00:00
Shaun McDonald
d3dc973376 Move the ActiveRecord::RecordNotFound to the block, so that it catches the not found in line 327, when a nonexistant way id is searched for. 2009-01-14 00:17:42 +00:00
Richard Fairhurst
c9237a3583 swap way write with node deletion as per dev@ 2009-01-13 08:37:58 +00:00
Richard Fairhurst
8e394b1625 small versioning fix (plus history rework in progress) 2009-01-11 17:09:43 +00:00
Thomas Wood
747d6f1d11 Revert last commit - too many test failures 2008-12-31 16:43:44 +00:00
Thomas Wood
898beb7b7f DateTime => Time for consistency in changeset code, ok by shaun. 2008-12-31 16:33:02 +00:00
Thomas Wood
8fe53e4823 Only show changesets that are actually closed in the index view. 2008-12-31 16:14:39 +00:00
Matt Amos
d6a1ccf6b4 removed comments which apparently no-one bothers to read anyway. since no-one reads the comments, changed changeset model to use Time instead of DateTime. will probably have to change it back later, when someone else who doesn't read comments comes along. 2008-12-23 15:59:56 +00:00
Thomas Wood
62b6d15967 Make browse controller index show recently closed changesets, rather than recently changed nodes. 2008-12-23 15:47:06 +00:00
Thomas Wood
60834f33f9 Pass the to_user to the view. Tests may follow. Closes #1394 2008-12-23 15:08:18 +00:00
Richard Fairhurst
9fa1f4b013 session management on only for :list 2008-12-23 13:09:36 +00:00
Richard Fairhurst
cc90867183 view changesets by user 2008-12-23 13:06:07 +00:00