Commit graph

67 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
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
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
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
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
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
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
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
9b72debd9a Fix formatting of changeset details. 2009-04-08 13:35:35 +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
c8ee135104 Merge 12304:14009 from trunk. 2009-03-08 13:02:37 +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
Tom Hughes
018c861630 Align table heading properly. Closes #1405. 2008-12-15 17:45:45 +00:00
Shaun McDonald
2e41c35479 Adding the ability to see the min/max lat/lon for a changeset in the data browser. Adding file for the nice message that should show when a user is missing in the message controller. 2008-12-08 15:30:19 +00:00
Shaun McDonald
073c866032 adding link to download the full changeset xml 2008-12-02 18:44:50 +00:00
Shaun McDonald
2ed84e26cd Adding pagination to the changesets, thus allowing you to browe large changesets, without MySQL complaining about memory. Probably needs some fine tuning. You currently can only page one of nodes, ways, and relations, without manually setting the relations. Fixing deprection notice for the classic_pagination plugin. 2008-11-27 17:06:43 +00:00
Shaun McDonald
e2c0e51e45 Closes #1350 through updating amf_controller to use the newer closed_at method of determining whether a changeset is closed. Richard please check the rest of the amf controller for more things that may reference the open field that is no longer available. Use is_open? to determine if a changeset is open. Fix indentation in amf controller. Fix minor bug in the links to changesets in the data brower. 2008-11-20 21:23:44 +00:00
Shaun McDonald
bf29550db8 Resyncing from head 10895:11795 2008-11-08 11:52:58 +00:00
Shaun McDonald
6df7fdbb9e Adding new browse controller test, which is mostly stubs just now. Also adding the version number of the recently changed nodes in the data browser. 2008-10-21 16:18:18 +00:00
Shaun McDonald
e7147d0d7a more work on the data browser to show the changesets. Also showing the version number. Would be good to have an additional route for showing a specific version of the node/way/relation from the changeset. 2008-10-14 18:33:03 +00:00
Shaun McDonald
2c16177174 adding changeset stuff for the data browser 2008-10-13 20:48:58 +00:00
Shaun McDonald
9e1946b283 now you will actually save the changeset on updating ways. Showing the changeset in the data browser detail. 2008-10-13 17:05:52 +00:00
Shaun McDonald
734cbb967d fixing the data browser to be able to cope with the changeset change. changeset browsing still needs to be implemented. Also giving a nice error message for 404 not found instead of rendering nothing. 2008-10-13 12:08:26 +00:00
Tom Hughes
63c2d9a529 Make data browser work with OpenLayers 2.7. 2008-10-08 23:38:45 +00:00
Tom Hughes
36203ebe26 Don't hardcode the API version in the data browser. 2008-07-04 18:15:42 +00:00
Tom Hughes
08d1f5aaab Quote default when used as a key in a hash as it is a keyword... 2008-06-28 09:59:47 +00:00
Tom Hughes
9a7db5d63b Refactor to remove some code duplication. 2008-06-26 23:01:55 +00:00
Tom Hughes
398d5fa329 Improve the layout of the object browser views. 2008-06-24 16:44:45 +00:00
Tom Hughes
f053c84723 Improve the layout of the browse sidebar a bit. 2008-05-28 23:46:55 +00:00
Tom Hughes
18777b41ea Tidy up map browse code and qualify various global names to avoid
any risk of conflicts.
2008-05-15 16:57:34 +00:00
Christopher Schmidt
ca0989f90f destroy the box handler as well 2008-04-26 16:33:26 +00:00
Christopher Schmidt
b46655b167 define type earlier 2008-04-23 16:39:20 +00:00
Christopher Schmidt
f4dfa0f93b UI changes from RichardF 2008-04-23 14:58:25 +00:00
Christopher Schmidt
e6de9accd2 move data into a layer in the layerswitcher 2008-04-23 13:59:41 +00:00
Christopher Schmidt
f06af0508c very minor ui niggles 2008-04-23 04:28:42 +00:00
Christopher Schmidt
8a9261ea07 prevent errors when closing sidebar 2008-04-23 04:25:39 +00:00
Christopher Schmidt
dffe87909d add link to history html page 2008-04-22 13:59:00 +00:00
Christopher Schmidt
670d15e4c9 add support for displaying history 2008-04-22 13:52:41 +00:00
Christopher Schmidt
25fa17d612 change layout: now a link, no longer a tab 2008-04-22 12:48:26 +00:00
Christopher Schmidt
24c623fdf2 minor clenaups 2008-04-22 11:41:57 +00:00
Christopher Schmidt
19a57c97b1 don't let users select areas bigger than allowed 2008-04-22 11:29:24 +00:00
Christopher Schmidt
adc823ce1b allow down/up events 2008-04-22 11:19:12 +00:00
Christopher Schmidt
98be40a312 Customize requestSuccess to limit number of features actually drawn on the map 2008-04-22 11:14:58 +00:00
Christopher Schmidt
d3314fee0f Add recent nodes to start of tab, and return false from onclick actions 2008-04-22 04:28:37 +00:00
Christopher Schmidt
ea0f8ee5c3 clean up javascript code. no/few functional changes, afaik. 2008-04-22 04:05:37 +00:00