Commit graph

5644 commits

Author SHA1 Message Date
John Firebaugh
160f7b26e8 Fix map control style on non-main page maps 2013-08-05 08:32:44 -07:00
John Firebaugh
48775da938 Make the toggles themselves permalinks 2013-08-05 08:32:44 -07:00
John Firebaugh
fa9b4a5f6a Add/remove active class on map UI buttons 2013-08-05 08:32:43 -07:00
John Firebaugh
a125ee829a Include object in share link 2013-08-05 08:32:42 -07:00
John Firebaugh
95ce2515d1 Tweak labels 2013-08-05 08:31:47 -07:00
John Firebaugh
98cd01c40d Toggle between Link / Short Link / HTML 2013-08-05 08:31:47 -07:00
John Firebaugh
a3d69ee264 Put link next to input and make it non-navigable 2013-08-05 08:31:47 -07:00
John Firebaugh
f1a6755060 Always center map on marker
Not centering is of dubious usefulness, and doesn't work
at all with a short link.
2013-08-05 08:31:46 -07:00
Saman Bemel-Benrud
dcbc42b1a4 reversed color on map controls and prepped active toggle 2013-08-05 08:31:46 -07:00
Saman Bemel-Benrud
8ef21285ab consistent padding in sidebar menu. 2013-08-05 08:31:46 -07:00
Saman Bemel-Benrud
c47b417f3e divide embed section from share section. 2013-08-05 08:31:46 -07:00
John Firebaugh
f17304e8ed Fix embed 2013-08-05 08:31:46 -07:00
John Firebaugh
3eb4f1938c Add "Center map on marker" option 2013-08-05 08:31:46 -07:00
John Firebaugh
bf7b2cf381 Design adjustments to Link / HTML sharing 2013-08-05 08:31:46 -07:00
John Firebaugh
6edf633885 Update location filter checkbox state correctly 2013-08-05 08:31:45 -07:00
John Firebaugh
f080d161e0 Tighten vertical space 2013-08-05 08:31:45 -07:00
John Firebaugh
1285f9d38c Fix textarea resizing 2013-08-05 08:31:45 -07:00
John Firebaugh
669393a6cb Recenter marker when shown 2013-08-05 08:31:45 -07:00
John Firebaugh
6dcd087abc Remove marker and filter when closed 2013-08-05 08:31:45 -07:00
John Firebaugh
2aa391e849 Link to sources for bulk downloads 2013-08-05 08:31:45 -07:00
John Firebaugh
f898058e76 Add option to include marker in permalinks 2013-08-05 08:31:37 -07:00
John Firebaugh
438e8be102 Reorganize share/export UI
"Image" and "Embeddable HTML" options move to share control.
Only XML export remains, and is now accessed via a sidebar
link rather than the tab bar.
2013-08-05 08:25:52 -07:00
Tom Hughes
b8f126bcf6 Update short link integration tests for hash links 2013-08-04 12:50:05 +01:00
Tom Hughes
58eb17cb63 Update user location setting for zoomPrecision change 2013-08-04 12:40:20 +01:00
Tom Hughes
f9d714dfd3 Merge remote-tracking branch 'osmlab/hash' 2013-08-04 12:38:59 +01:00
Tom Hughes
755585e230 Add functional tests for nodes/ways/relations API methods 2013-08-04 11:12:09 +01:00
Paul Norman
a1a5706203 Make the multi-get calls throw 400 errors on invalid input
Also refactor ways and relations to use the same structure as nodes
2013-08-04 10:54:45 +01:00
Tom Hughes
ec9634d865 Fix language switching on user terms page 2013-08-01 17:47:49 +01:00
John Firebaugh
849e874dce Refactor user creation actions
Create a separate #create action that handles POSTs to
/user/new. This simplifies the other actions and ensures
that the URL is /user/new when validation errors occur,
rather than /user/terms.

Fixes #398
2013-08-01 17:32:40 +01:00
John Firebaugh
c4edac9fd8 Always run tests using example.application.yml
This fixes an Oauth integration test failure when a
custom application.yml is present.
2013-08-01 17:26:48 +01:00
John Firebaugh
6618cb9019 Include layers in hash 2013-07-30 15:41:41 -07:00
John Firebaugh
1a5f14d338 Update hash on P2 and iD edit pages and throttle 2013-07-30 15:41:41 -07:00
John Firebaugh
3c22a53c93 Generate hash-based permalinks 2013-07-30 15:41:41 -07:00
John Firebaugh
b28511faca zoomPrecision doesn't need to be higher-order 2013-07-30 15:41:41 -07:00
John Firebaugh
b5800b4c2f Refactor URL generating methods 2013-07-30 15:41:41 -07:00
John Firebaugh
ce53e510ad Prefer hash to other methods of determining location 2013-07-30 15:41:41 -07:00
John Firebaugh
c8d4e4eee3 Redirect lat/lon/zoom query params to hash 2013-07-30 15:41:41 -07:00
John Firebaugh
57e711d343 Use leaflet-hash 2013-07-30 15:41:40 -07:00
Tom Hughes
5508a3857f Reload the object list when the data browser is reopened 2013-07-30 21:38:16 +01:00
Tom Hughes
90621b4b4f Abort a running data browser load before starting a new one 2013-07-30 21:30:16 +01:00
Tom Hughes
7db1180506 Reduce user location to be between -180 and 180 degrees 2013-07-30 21:20:09 +01:00
Saman Bemel-Benrud
64bf69fa19 Remove italics from lists 2013-07-30 19:09:52 +01:00
Tom Hughes
b1dae2e798 Round user home location to a sensible precision 2013-07-30 18:05:57 +01:00
Tom Hughes
573c0c848a Change the example database.yml to use unix socket connections 2013-07-30 11:21:25 +01:00
John Firebaugh
8e1e094565 Fix search icon positioning 2013-07-30 09:07:10 +01:00
Saman Bemel-Benrud
c30f20122d Adding a little more max width for buttons 2013-07-30 00:53:44 +01:00
Saman Bemel-Benrud
2827d8ad81 Succint button copy + force single line grouped buttons 2013-07-30 00:53:30 +01:00
Tom Hughes
e7f2a7027d Make input buttons and link buttons the same height in Firefox
Set min-height on the input buttons to work around Firefox ignoring the
line height: https://bugzilla.mozilla.org/show_bug.cgi?id=697451#c13.
2013-07-30 00:50:54 +01:00
Saman Bemel-Benrud
b8767a760d Remove color repetition 2013-07-30 00:16:35 +01:00
Saman Bemel-Benrud
8d4a803138 Differentiate between minor and disabled buttons 2013-07-30 00:16:18 +01:00