Commit Graph

188 Commits

Author SHA1 Message Date
Tom MacWright f1604df4d0 Add custom layer option to URL hash, fixes #1024.
Layer format is custom:http://url.com/{z}/{x}/{y}.jpg
2013-04-18 17:34:27 -04:00
John Firebaugh ab56cc5207 Clean up how OAuth keys are handled
Connection defaults to osm.org URL and keys for the simple
case. Customization is done via connection.switch().

Externalize SourceSwitch's use of iD.data.keys.
2013-04-17 17:43:25 -07:00
John Firebaugh a63e17ef15 Remove context dependency from Connection 2013-04-17 17:32:48 -07:00
John Firebaugh 001078876f Add a preauth method 2013-04-17 16:43:35 -07:00
John Firebaugh d04695da3b Update osm-auth 2013-04-17 16:23:38 -07:00
John Firebaugh 77ce20c8c1 Add configurable image path 2013-04-16 17:20:21 -07:00
John Firebaugh 5e354018a8 Hide account/logout when embedded (fixes #1229) 2013-04-15 11:29:24 -07:00
Ansis Brammanis 7e85fed027 add .id-container class to container
fixes #1228
2013-04-02 14:03:46 -04:00
John Firebaugh 777e42cfd3 Beta 2013-04-02 08:40:28 -07:00
Tom MacWright 244c00f9c4 Fall back to userLanguage in IE 2013-03-28 14:14:57 -04:00
Tom MacWright fc497f16d8 Use conditional comments for IE handling. Fixes #1167 2013-03-28 13:47:41 -04:00
Tom MacWright 986d7adb4f Remove testing code 2013-03-27 17:32:52 -04:00
Tom MacWright 807fbe882d Failsafe browser detection system 2013-03-27 17:31:31 -04:00
John Firebaugh e01d2e611f Display Bing copyrights 2013-03-21 12:23:57 -07:00
Tom MacWright 5c5c250838 Detect file and drag and drop support 2013-03-20 16:12:14 -04:00
Tom MacWright c94ec3b4a9 Local GPX file support, first push towards multilayer support. 2013-03-19 18:41:16 -04:00
John Firebaugh 0be66fabf6 alpha3 2013-03-12 10:09:10 -07:00
John Firebaugh 87fd5d871c Build data into package 2013-03-06 16:16:12 -08:00
John Firebaugh 84a4f9e5d2 Eliminate iD.layers 2013-03-06 15:51:16 -08:00
Ansis Brammanis 9d67e8e516 Start reorganizing presets 2013-03-01 15:48:20 -05:00
John Firebaugh c02531fe21 Put presetData in context 2013-02-28 16:05:04 -08:00
Tom MacWright 3f7d78edfb jshint fixes 2013-02-26 20:01:41 -05:00
John Firebaugh 766a0f5ce3 Work even if localStorage throws a SECURITY_ERR (fixes #772) 2013-02-16 10:14:05 -08:00
Ansis Brammanis 147fce1f49 Merge branch 'tree-intersects'
Conflicts:
	js/id/behavior/lasso.js
2013-02-15 13:40:01 -05:00
Ansis Brammanis 342e0071d8 Update version 2013-02-14 14:20:53 -05:00
Ansis Brammanis 7102fea04d add history.intersects to context 2013-02-13 18:12:53 -05:00
John Firebaugh 65fbc808a1 Map#pan redraws 2013-02-13 10:39:48 -08:00
John Firebaugh dc2dbbe183 Extract iD.ui.Zoom, add tooltips with key hint 2013-02-12 15:48:17 -08:00
John Firebaugh e73c19a4e8 Extract iD.ui.UndoRedo 2013-02-12 12:52:11 -08:00
Ansis Brammanis d458a3707f Add comments about opera detection 2013-02-11 12:42:02 -05:00
Ansis Brammanis fe32ca9d03 Yep, detecting opera.
Goal can be achieved with two different svg styles,
but Opera only implements one, Firefox the other. Can't
apply both because Chrome implements both.
2013-02-11 12:36:21 -05:00
Tom MacWright d584eb2f9d Pan, fix initial loads 2013-02-09 17:56:22 -05:00
Tom MacWright d9b5816530 Store background setting in hash. Fixes #632 2013-02-09 17:34:44 -05:00
Tom MacWright 6f81288eb9 Name load function so we can profile it 2013-02-08 10:23:35 -05:00
Tom MacWright 645dcebbfe Use platform-specific mod keys, refs #676 2013-02-07 18:09:28 -05:00
Tom MacWright ad5c1df228 Detect support as well as os and language 2013-02-07 17:59:31 -05:00
Tom MacWright c84e0713d9 Merge branch 'master' into dynamic-layers
Conflicts:
	js/id/renderer/background_source.js
	js/id/ui/layerswitcher.js
2013-02-06 17:39:55 -05:00
Ansis Brammanis 449c4d235d Add option to restore or reset unsaved changes 2013-02-06 14:03:31 -05:00
Ansis Brammanis a21da4f15f Saving graph to and reinstating from localStorage 2013-02-06 12:48:42 -05:00
Tom MacWright f70c9037b0 Fix tests, finish work here. Needs a design hit. 2013-02-05 12:52:56 -05:00
Tom MacWright 4d0a42344d Start dynamic layers work in branch 2013-02-04 19:47:25 -05:00
John Firebaugh ec602a7db7 Hook up connection and history in context 2013-02-02 19:47:56 -05:00
John Firebaugh 3da0e70c0f Shift-selection 2013-02-01 14:31:47 -05:00
Tom MacWright 031c8d655e Fallback for browsers that do not support localStorage. Fixes #591 2013-02-01 13:12:46 -05:00
John Firebaugh 0bcb0520d8 Use iD.version 2013-02-01 12:46:01 -05:00
John Firebaugh fe49e8fb77 Pass around context rather than map 2013-02-01 12:40:16 -05:00
John Firebaugh 6188d128f8 Arrange 2013-02-01 12:40:16 -05:00
John Firebaugh a78aeeb625 Merge controller into iD 2013-02-01 12:40:15 -05:00
John Firebaugh 000ceb6467 iD.Context -> iD
All the UI setup code moved to iD.ui.
2013-02-01 12:40:15 -05:00
John Firebaugh 7e68e8e114 Add iD.Context
This is a facade interface that ties together a bunch of
different internal objects and will make it easier to write
tests for behaviors, modes, and operations.
2013-02-01 12:40:15 -05:00