Commit graph

496 commits

Author SHA1 Message Date
Andy Allan
cdbfc1e341 Override interestingTagsExclude in GML layer - improve databrowser in US by ignoring vanilla TIGER nodes 2009-05-22 14:20:22 +00:00
Shaun McDonald
9985b9cb94 Reverting earlier change that means that zoom isn't set in certain code paths. 2009-05-21 23:20:46 +00:00
Shaun McDonald
961020a5dc allow the user to pass in a gpx and a zoom 2009-05-21 17:25:39 +00:00
Harry Wood
3415aa4689 label changesets as (big) based on their bbox area 2009-05-15 16:24:55 +00:00
Tom Hughes
4d62aea5ec Destroy OL objects which use the dataLayer before we destroy the layer
or we will get errors which stop the rest of stopBrowse() executing.
2009-05-11 10:31:34 +00:00
Thomas Wood
cd4fb9d44c One last commit tonight :P 2009-05-07 23:02:46 +00:00
Thomas Wood
d6b36b5752 De-duplicate some of the changeset stuff out to a new partial view.
Add css hooks for upcoming fix for #1734
2009-05-07 22:48:14 +00:00
Thomas Wood
c18d684dda Sort the tags for the databrowser output. 2009-05-04 22:42:07 +00:00
Thomas Wood
22292debda Data browser changes, make links more user friendly, displaying name tag where possible.
Changes to models ok'd (and suggested as temporary solution) by TomH
References #1777
2009-05-02 00:26:37 +00:00
Thomas Wood
6a2fda5a99 Fix html: closing <a> tag. 2009-04-30 06:50:51 +00:00
Thomas Wood
38c8e3e37e Quick fix to reference relation rather than relation_member when linking to the relation, not sure when the bug was introduced. Tests still need to be written for the browse controller.
Closes #1764
2009-04-27 21:26:23 +00:00
Thomas Wood
600d5b3a46 Further clarify descriptive texts regarding public editing. 2009-04-27 18:23:43 +00:00
Richard Fairhurst
64d076847b fix another way-node/Way-Node problem in amf_controller; add WinIE JS compatibility via ExternalInterface (we can use this later to alert for a commit message if none is provided) 2009-04-23 17:54:17 +00:00
Harry Wood
1c93d482d2 change updatelinks params so that Potlatch can pass in the view bbox. Also check if it's missing. closes #1738 2009-04-23 14:38:40 +00:00
Thomas Wood
d7663e7d14 Fix multiple issues with links to /history from the homepage. Thanks to Ed Avis for bringing this to our attention. 2009-04-22 17:08:04 +00:00
Frederik Ramm
5c783cd0ee there is not HTML attribute named "padding". either use "cellpadding" (this patch), or use the CSS attribute (i.e. style="padding: 0px"). 2009-04-21 23:55:02 +00:00
Frederik Ramm
3a10fee9eb modified "user" link in "recent changes" list to point directly to user's list of changes which is what you expect in this context, rather than going to that user's user page and having to click "edits" there. 2009-04-21 23:38:43 +00:00
Thomas Wood
fddf6fb529 Fix bbox display again, how do we keep mixing our lons and lats? 2009-04-21 21:30:37 +00:00
Thomas Wood
ce48349138 Pedantic change to descriptive text - "Recently closed" to "Recently edited" 2009-04-21 17:35:54 +00:00
Thomas Wood
e5076f332a Fix bug introduced in r14610 (.downcase in wrong place)
No need to sanitise type of relation member, since will only be a Node, Way, or Relation and not user-provided.
2009-04-20 19:13:52 +00:00
Shaun McDonald
68360190d5 fix bug in the case of the action in the data browser when linking to relation members 2009-04-20 17:28:01 +00:00
Tom Hughes
fd6f00b069 Merge api06 branch to trunk. 2009-04-20 09:12:03 +00:00
Thomas Wood
e8c7543bdd Add condition for user not found in trace controller.
Closes #1710
2009-04-19 21:22:34 +00:00
Thomas Wood
c29c7cd56c Fix map in IE by deferring Vector layer addition to page load (note that deferred script running is _not_ the same as onload), also only add the Vector layer as required, so to save some overhead.
I've trimmed down the unrequired options on the layer, they're defaulted from the map.
Thanks firefishy for the report.
2009-04-19 21:03:41 +00:00
Tom Hughes
e9c2c64884 Don't register a setHome handler unless we have the flag checkbox
prsent on the page.
2009-04-19 11:00:37 +00:00
Tom Hughes
a68b8651d5 Handle MySQL/Postgres boolean differences. 2009-04-16 21:16:09 +00:00
Tom Hughes
5449cf4adc Merge 14394:14533 from trunk. 2009-04-16 21:11:12 +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
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
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
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
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
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
Harry Wood
663416ae0b fix 'edits' link. action was renamed 'list_user' 2009-03-26 23:43:34 +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
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
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
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
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