Commit Graph

373 Commits

Author SHA1 Message Date
John Firebaugh
d238e4eaeb Convert Tail to a behavior
This avoids an extra mousemove listener in base modes.
2013-05-14 17:51:24 -07:00
John Firebaugh
fd1573fa08 Abandon iD.svg.MemberClasses
Substantial performance hit for something that's barely used.
2013-05-13 12:46:01 -07:00
John Firebaugh
0ae54abdcc Extract iD.actions.DiscardTags 2013-05-13 09:26:41 -07:00
John Firebaugh
d247962324 Handle incomplete relations in simpleMultipolygonOuterMember 2013-05-01 10:28:40 -07:00
John Firebaugh
275696caaa Fix icons for lines that use maki (fixes #1371)
Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
2013-04-24 12:32:36 -07:00
John Firebaugh
19e21e1d26 Modify window.focus canary
I suspect whatever is doing the modification is swallowing
exceptions.
2013-04-23 13:45:10 -07:00
John Firebaugh
61802674a4 Don't need keys in dist build 2013-04-22 14:45:54 -07:00
John Firebaugh
d66760326b Load translations on demand (fixes #1337) 2013-04-22 14:29:43 -07:00
John Firebaugh
aedd5ee46e Create a dist directory
This directory will contain the built sources (iD.js, iD.css)
and images. On a release branch, we will check in the generated
files. For the osm.us/master deploy, it should run make and use
dist/ as the root.

Paths in css are relative, e.g. url(img/foo.png).
2013-04-22 10:50:36 -07:00
Ansis Brammanis
d21d52d905 add maki as dependency, new sprite script
issue #1319
2013-04-19 14:51:48 -04:00
Ansis Brammanis
21c89f22dc export line preset sprite straight from inkscape
We could also use an svg sprite, just swapping the
one line in line-presets.css, but it seemed to
make scrolling the preset grid significantly
less smooth in Firefox.
2013-04-19 12:27:57 -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
dca9bec450 Move Connection to core 2013-04-17 17:35:34 -07:00
John Firebaugh
a7a58d0775 Restore source switch for development 2013-04-17 16:24:12 -07:00
Ansis Brammanis
dd35ed91d9 name field is now localizable 2013-04-16 16:32:39 -04:00
John Firebaugh
913e8982cc Adding a canary for https://app.getsentry.com/id/id/group/5138888/ 2013-04-16 11:51:12 -07:00
Ansis Brammanis
7e75ea4bad Notify users of API status 2013-04-16 12:36:58 -04:00
John Firebaugh
872b148bc0 Add access field (#934) 2013-04-06 17:55:53 -07:00
Ansis Brammanis
bae7b13425 Localize maxspeed field (mph and km/h) 2013-04-01 19:36:39 -04:00
Ansis Brammanis
e82df13a28 wikipedia input field 2013-04-01 15:55:37 -04:00
Ansis Brammanis
e6de98398b rename #iD to #id-container everywhere 2013-03-29 13:50:41 -04:00
Tom MacWright
594c8fa00a Remove sha1 2013-03-28 17:10:26 -04:00
Tom MacWright
936d1bd403 Use osm-auth instead of iD.OAuth.
It's a drop-in replacement and not seeing any issues with this switch
atm other than ones that were pre-existing - specifically the user shown
in the save dialog sometimes not being present or being out of date, but
the save still being correct.
2013-03-28 16:48:03 -04:00
Tom MacWright
fc497f16d8 Use conditional comments for IE handling. Fixes #1167 2013-03-28 13:47:41 -04:00
John Firebaugh
160f3e7e4c Extract preset icon component (fixes #1176) 2013-03-27 18:41:11 -07:00
Tom MacWright
807fbe882d Failsafe browser detection system 2013-03-27 17:31:31 -04:00
Tom MacWright
d31754b030 Start on support 2013-03-27 17:21:48 -04:00
Ansis Brammanis
2da229afea improve walkthrough outro
fixes #1151
2013-03-27 14:42:11 -04:00
Tom MacWright
b59f28424c Translatable documentation, Fixes #1108
* Adds Marked
* Fixes a global leak in toGeoJSON
* Removes marked from package.json
* Adds documentation to core.yaml
* Removes stray console.log from tests
2013-03-27 14:34:34 -04:00
Ansis Brammanis
d6df439360 Merge remote-tracking branch 'systemed/master' into intro
Conflicts:
	build.js
	data/locales.js
2013-03-26 13:17:35 -04:00
Ansis Brammanis
8703eb9b8b move intro.css into app.css 2013-03-26 13:01:17 -04:00
Tom MacWright
3fbc8905cb Merge pull request #1132 from systemed/bing
Bing
2013-03-25 12:11:05 -07:00
Ansis Brammanis
73bf7b108a intro tutorial work in progress 2013-03-25 13:22:37 -04:00
Tom MacWright
4870e279ec Merge branch 'master' of github.com:systemed/iD into inline-doc 2013-03-22 16:59:44 -04:00
John Firebaugh
9c9cce5c50 Inline tag reference in tag list (#256) 2013-03-22 12:47:54 -07:00
Tom MacWright
64bec11fb9 Initial help ui 2013-03-22 13:40:30 -04:00
John Firebaugh
235cb52d26 Bing API supports JSONP 2013-03-21 11:39:33 -07:00
Tom MacWright
c94ec3b4a9 Local GPX file support, first push towards multilayer support. 2013-03-19 18:41:16 -04:00
John Firebaugh
fdac7feb37 Fix css includes 2013-03-14 20:25:50 -07:00
Ansis Brammanis
0c80b8cd90 merge maki and perset icon sprites 2013-03-14 20:01:31 -04:00
Ansis Brammanis
8ef4730596 switch to transifex for managing translations
english source files are stored at data/en.yaml
`make translate` pulls in updated translations
2013-03-13 19:10:07 -04:00
John Firebaugh
c1aa8e0270 form/forms -> field/fields 2013-03-13 11:34:21 -07:00
Ansis Brammanis
e295e70db7 add swedish translation to index.html 2013-03-13 12:15:21 -04:00
John Firebaugh
8479d3ec48 Add textarea form type and note universal form 2013-03-12 18:33:36 -07:00
Ansis Brammanis
1d720b39af add portuguese translation 2013-03-12 15:48:15 -04:00
Ansis Brammanis
409011da2d make id global in index.html 2013-03-12 14:36:56 -04:00
John Firebaugh
a5885ce3c2 Localize preset form labels 2013-03-12 11:19:45 -07:00
John Firebaugh
9f5ba8342d Convert DragNode to a mode
This makes the CSS more consistent and makes fixing #953
easier. Also, dragging now clears the selection and closes
any operations menu, which is good.

There's still a minor Chrome bug: it doesn't refresh the
cursor when the .behavior-hover class is removed.
2013-03-11 15:45:27 -07:00
John Firebaugh
f1da075982 Remove sentry from dev index 2013-03-11 14:05:53 -07:00
John Firebaugh
b2627dcac2 Switch back to dev index.html, add a make install target 2013-03-11 11:24:57 -07:00