Commit graph

398 commits

Author SHA1 Message Date
Tom Hughes
bd12ec7a8b Present links at the bottom of data browser pages in a consistent way 2012-07-11 14:42:02 +01:00
Andy Allan
2c67c079ac Don't show coordinates for deleted nodes 2012-07-11 14:42:01 +01:00
Tom Hughes
8027dc85b1 Report the feature limit correctly in the data browser 2012-06-28 18:28:34 +01:00
Tom Hughes
c3500df1cf Make switching data browser to current map view work 2012-06-28 18:25:24 +01:00
Tom Hughes
b0453833b1 Replace use of Layer.GML with Layer.Vector 2012-06-28 18:18:42 +01:00
Tom Hughes
652e94485f Use browser detection to decide how many features to show
Modern browsers are quite happy showing far more than 100 features in
the data browser, so increase the limit to 2000 by default, but keep it
restricted to 500 for IE8 and 100 for older IEs.
2012-06-05 12:59:13 +01:00
Tom Hughes
e2cb47f1ae Fix some issues with the new edit menu code
Make sure that the arrow icons are always displayed, and that menus
are aligned in the requested way.
2012-04-23 20:59:27 +01:00
Tom MacWright
c45dbdae36 Rework the edit tab and it's associated drop down menu
This changes the behavior of the editing tabs in three places. Instead
of the current hovering behavior, you can click on the arrow and get the
drop-down menu. Any click outside that on the page will deactivate the
menu, following the UI paradigm of most desktop environments.

This also simplifies the javascript code significantly.
2012-04-23 20:59:26 +01:00
Tom Hughes
ec1667fc09 Prefer using _html locale keys to the raw function 2012-04-05 14:09:06 +01:00
Matt Amos
ac0603d055 Fixed redaction link in browse/history page 2012-04-05 13:50:20 +01:00
Matt Amos
9c098816e5 Added tests for browsing object histories with redacted elements 2012-04-05 13:49:59 +01:00
Kai Krueger
0f121e5390 Rename showData to updateData in start.js.erb to resolve name clash 2012-03-31 19:20:52 +01:00
Tom Hughes
770a990ed9 It's zoomToExtent, not setExtent 2012-03-15 17:01:16 +00:00
Tom MacWright
701325e9ef Change abstraction level for map functions
This commit should have no functional affect. It just changes the
abstraction level of OpenLayers from completely abstracting away
getMapExtent etc, to using OpenLayers's functionality directly but
providing proj and unproj to make projections palatable.
2012-03-14 19:01:45 +00:00
Tom Hughes
e660e60966 Merge branch 'master' into openstreetbugs
Conflicts:
	Gemfile
	Gemfile.lock
	lib/migrate.rb
2012-03-08 18:23:27 +00:00
Tom Hughes
1cef3c79e3 Don't escape the name - rails will handle it 2012-02-20 11:44:43 +00:00
Shaun McDonald
0465fda75a Railsify the box link on the browse changeset page
This removes the whitespace in the url, and makes the root path a
named route so that it can be nicely referenced.
2012-01-16 17:51:25 +00:00
Tom Hughes
52e5fa6ad7 Merge branch 'master' into openstreetbugs
Conflicts:
	app/views/browse/_map.html.erb
	app/views/site/index.html.erb
	config/initializers/mime_types.rb
	config/routes.rb
	lib/map_boundary.rb
	lib/migrate.rb
	lib/osm.rb
	vendor/assets/openlayers/OpenLayers.js
2012-01-05 20:15:53 +00:00
Tom Hughes
1862389e6b Use jQuery syntax for the history request 2011-12-02 11:03:19 +00:00
Tom Hughes
60363a4c36 Trigger remote editor correctly
When the "edit object" link was used and the preferred editor was
set to remote the remote editor wwas not being triggered.
2011-11-26 16:20:41 +00:00
Tom Hughes
13289d4041 Switch from Prototype to jQuery 2011-11-26 00:22:31 +00:00
Tom Hughes
716262f211 Serve OpenLayers through the asset pipeline 2011-11-25 20:07:50 +00:00
Tom Hughes
c1db05321a Filter out the current way correctly 2011-11-17 09:53:21 +00:00
Tom Hughes
71f377ab8f Yet more raw markers 2011-11-16 09:55:36 +00:00
Tom Hughes
28579180e5 Add some more raw markers 2011-11-16 08:48:05 +00:00
Peter Gray
95d899786a Refactor bounding box code
Moved duplicated code into the BoundingBox class, and pass around
BoundingBox objects instead of lists of bounds.
2011-11-14 09:42:57 +00:00
Tom Hughes
607d23f6d6 Fixup some string escaping issues in the data browser 2011-11-14 09:42:55 +00:00
Tom Hughes
3f9fdb122c Mark the generated list of page links as raw 2011-11-14 09:42:55 +00:00
Tom Hughes
b63ce5d460 Mark some locale lookups as raw 2011-11-14 09:42:52 +00:00
Tom Hughes
be68d7319e Enable the note later when going from the browser to the map view 2011-08-13 17:09:07 +01:00
Tom Hughes
81a6c7b7be Get the note browse pages into a vaguely working state 2011-08-13 13:25:41 +01:00
Tom Hughes
72e33046c8 Merge branch 'master' into openstreetbugs
Conflicts:
	app/views/browse/_map.html.erb
	app/views/site/index.html.erb
2011-08-13 11:48:04 +01:00
Tom Hughes
18fcf61953 Pass the right extent for a changeset to the remote control handler 2011-08-12 19:26:12 +01:00
Tom Hughes
929f05d9d2 Add a small buffer to the extent before passing it to the remote control 2011-08-12 19:18:15 +01:00
Tom Hughes
f242c9de94 Add edit links to data browser pages 2011-07-19 22:48:29 +01:00
Tom Hughes
e3b8b89330 Mass rename of "bugs" as "notes" for increased user friendliness 2011-05-21 17:22:31 +01:00
Tom Hughes
f77a3c75be Add methods to get a bug's author details from the first comment 2011-05-18 00:36:01 +01:00
Tom Hughes
882700c5c8 Rename some columns and indexes in the bug tables 2011-05-18 00:36:00 +01:00
Tom Hughes
8852454795 Rename association between map_bugs and map_bug_comment to comments 2011-05-08 00:22:32 +01:00
Tom Hughes
fb4d003ebe Tidy up some of the map bugs code 2011-05-07 13:05:39 +01:00
Tom Hughes
e7cd90f4b4 Merge branch 'master' into openstreetbugs 2011-05-06 22:56:47 +01:00
Tom Hughes
d4c8c3ad18 Use "Deleted at/by" instead of "Edited at/by" for deletes 2011-05-05 20:25:58 +01:00
Tom Hughes
79ad65895b Don't show the "Nodes" heading for a way with no nodes 2011-05-05 20:25:58 +01:00
Tom Hughes
4ad5d23282 Don't allow headings in the data browser to be split 2011-05-05 20:25:57 +01:00
Kai Krueger
001ff5764b Merge branch 'master' into openstreetbugs2 2011-04-19 22:00:30 -06:00
Tom Hughes
5777c5e925 Tidy up the data browser javascript 2011-04-03 14:59:43 +01:00
Frederik Ramm
59dcc8b253 Add 'hide areas' button to data view 2011-04-03 14:54:32 +01:00
Tom Hughes
aa8fef0f94 Don't display deleted marker for nodes 2011-04-03 13:46:16 +01:00
Frederik Ramm
935c238626 Show the position of a deleted node in browse mode 2011-04-03 13:46:16 +01:00
Tom Hughes
e78d014be9 Make sure deleted relations are crossed out when browsing a changeset 2010-12-08 12:44:19 +00:00