Commit graph

2454 commits

Author SHA1 Message Date
Tom Hughes
2a11b9682c Use a custom OpenLayers theme
Instead of having a customised copy of the default theme in the
app assets, use a custom theme that pulls in the default one and
then overrides things as needed.
2012-08-02 19:15:12 +01:00
Tom Hughes
a357bab334 Style the CSS zoom control to match the layer switcher 2012-08-02 19:15:12 +01:00
Tom Hughes
f9528a7464 Improve "no traces" message 2012-08-01 10:56:19 +01:00
Tom Hughes
abb13e4a91 Add paragraph tags around "no edits" message 2012-08-01 10:55:48 +01:00
Steve Singer
d2db785a2a Replace raw with a translation with the html suffix 2012-07-31 22:56:51 +01:00
Steve Singer
6403fead9c Don't show the changeset container or map if there are no changesets 2012-07-31 22:56:51 +01:00
Steve Singer
69d91bf24a Navigation changes to the GPX traces page
Display a better message when no traces are present and only
display the paging links when multiple pages exist.
2012-07-31 22:56:44 +01:00
Tristen Brown
51079ecafb Show a helpful message when there are no changesets to display 2012-07-31 21:44:22 +01:00
Tristen Brown
0b81013437 Show a helpful message when there are no traces to display 2012-07-31 21:28:52 +01:00
Tom Hughes
888a0be790 Don't try and fix the height of the search box
We have no idea how much space a given browser will need for an input
field so stop pretending we do as we just get it wrong.
2012-07-30 13:41:11 +01:00
Tom Hughes
683c371740 Make links back to the user language copyright page work 2012-07-30 13:35:25 +01:00
Tom Hughes
703c1a83e6 Show the correct reconfirm link for OpenID login attempts 2012-07-27 21:30:06 +01:00
Tom Hughes
d38e476fa6 OpenID attributes returned via AX seem to be arrays now 2012-07-27 21:27:45 +01:00
Tom Hughes
a770d020f9 Replace deprecated update_attribute method 2012-07-27 12:32:13 +01:00
Tom Hughes
07df3f9809 Clear pass_crypt_confirmation when encrypting a new password
If we change pass_crypt (by encrypting it) without clearing the
confirmation then the user record becomes invalid.
2012-07-27 12:05:19 +01:00
Tom Hughes
e4be816ca0 Don't allow hash signs in usernames 2012-07-23 12:59:50 +01:00
Tom Hughes
5af8d51865 Don't allow percent signs in usernames 2012-07-23 10:38:29 +01:00
Tom Hughes
78ff250c1d Add a paging control to the user blocks list 2012-07-18 21:36:40 +01:00
Sarah Hoffmann
d97d3f76a6 Replace PanZoom control with Zoom control for small maps
In OpenLayers 2.12 the event handling of PanZoom and PanZoomBar clashes
with the result that the zoom level changes by two steps every time one
of the zoom buttons is pressed. Using the Zoom control fixes this issue.
2012-07-16 18:05:02 +01:00
Tom Hughes
efb80f8143 Update offset for marker icon to accurately position it 2012-07-12 21:02:18 +01:00
Tom Hughes
8e1b0b6908 Remove obsolete maxExtent from marker layer 2012-07-12 19:49:27 +01:00
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
16beaef5cf Don't try and store a user record in the session
A user record that has come from the database can't be stored in
the session as it contains singletons that can't be serialised.
2012-06-30 19:17:04 +01:00
Tom Hughes
98445b2ab9 Replace use of Event with jQuery methods
Versions of OpenLayers before 2.12 provided a global Event object
but this has now been removed, so use jQuery methods instead.
2012-06-30 14:59:22 +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
bad28a6478 Update OpenLayers to 2.12 2012-06-28 10:48:56 +01:00
Tom Hughes
344c5534ee Tidy up generation of UJS data attributes 2012-06-18 14:36:59 +01:00
Tom Hughes
13ef6a2df1 Remove use of deprecated :comment attribute on link_to and button_to 2012-06-18 11:20:09 +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
2662e6fec2 Fix syntax error 2012-06-01 22:32:11 +01:00
Tom Hughes
490226ad6d Replace link_to_function with UJS based code 2012-06-01 19:34:22 +01:00
Tom Hughes
51a00550b4 Remove postscript export option as it doesn't really work 2012-05-30 20:24:53 +01:00
Tom Hughes
9813d9f1e4 Get all the tests passing under ruby 1.9 2012-05-27 13:51:25 +01:00
Tom Hughes
fc7ac5d086 Don't show deleted comments in a user's diary comment list 2012-05-15 18:58:13 +01:00
Tom Hughes
58559d50da Fixed diary entry and comment hiding for mass assignment protection 2012-05-13 18:44:54 +01:00
Tom Hughes
3e180e745c Use POST for hiding diary entries and comments 2012-05-13 18:43:44 +01:00
Enno Brehm
6a09f49e71 Implement API endpoint to query permissions. 2012-05-05 15:28:45 +01:00
Tom Hughes
6bafc93435 Error in a changeset feed is requested for a non-existent user 2012-05-01 20:40:59 +01:00
Tom Hughes
1e0bdda2f5 Show a delete button on the OAuth application view 2012-04-23 21:30:57 +01:00
Tom Hughes
53fe84fbef Delete tokens for an application when the application is deleted 2012-04-23 21:30:41 +01:00
Tom Hughes
053dc144f9 Rearrange the left menu 2012-04-23 21:02:55 +01:00
Tom MacWright
115d7ded8d Remove border for arrow 2012-04-23 20:59:28 +01:00
Tom Hughes
cca526d939 Stop the menu appearing when the anchor is disabled 2012-04-23 20:59:28 +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 MacWright
dd3b577bd5 This simply moves GPS Traces to the left bar
The left bar is a bit of a kludge of random items right now, but it's a
little better having the GPS Traces item there, because it now makes the
top bar only items that are actually related to the map state.
2012-04-23 20:59:15 +01:00
Tom Hughes
1a2f6c29c6 Update to use api.geonames.org instead of ws.geonames.org 2012-04-18 18:44:37 +01:00