Commit Graph

422 Commits

Author SHA1 Message Date
Bryan Housel eaae835829 Minor style tweak 2017-01-23 14:54:42 -05:00
Bryan Housel 0a77f0b09b Don't save history if degeneracies exist in selectedIDs
(closes #3750)
2017-01-23 14:47:55 -05:00
Bryan Housel ec2c2e6612 Ensure isDegenerate can be called for all entities 2017-01-23 14:17:41 -05:00
Bryan Housel b407fb0c17 Remove workaround for old rollup bug 2017-01-22 21:49:25 -05:00
Martin Raifer ac8a52980b show "You have unsaved changes" message also in save mode 2017-01-22 19:35:08 +01:00
Bryan Housel 3246ca176f Eagerly load user's details and changesets
(closes #3787)

Also, don't redo authentication in save.js if user is already authenticated
2017-01-22 12:43:39 -05:00
Bryan Housel 8205a3e55e Merge pull request #3764 from openstreetmap/quick-translate
Change translation on the fly
2017-01-21 22:01:55 -05:00
Bryan Housel 2a39a25b32 Map div needs to remain ltr 2017-01-21 21:55:47 -05:00
Bryan Housel 5cfe5598e0 Use 'pt' wiki pages in 'pt-BR' iD localization
(closes #3776)
2017-01-20 16:31:59 +05:30
Bryan Housel a0045916d6 Remove test code, window.restart is now context.ui().restart 2017-01-20 14:26:42 +05:30
Bryan Housel 513382f835 Only show splash and history restore prompts the first time 2017-01-19 19:09:33 +05:30
Bryan Housel d5805dc3cd import textDirection instead of caching first time rtl detection 2017-01-19 19:08:44 +05:30
Bryan Housel 1a5f155e39 Fix zoom behavior bind in map, delay removals to avoid flicker 2017-01-18 23:44:03 +05:30
Bryan Housel a87227fe60 Merge branch 'master' into quick-translate 2017-01-17 18:39:49 +05:30
Bryan Housel d09fd15092 Cleanups and rename service nominatim -> geocoder 2017-01-17 16:56:23 +05:30
Bryan Housel 94483af4c7 Fix service name nominatim -> geocoder 2017-01-17 16:46:41 +05:30
Bryan Housel f5586d6b05 Merge branch 'address-customization' of https://github.com/Natsuyasumi/iD into Natsuyasumi-address-customization 2017-01-17 14:50:13 +05:30
Bryan Housel 0fb506f461 Make sure new midpoint also gets included in activeIDs 2017-01-16 20:37:34 +05:30
Bryan Housel aff9cc3b13 Merge branch 'drag-node-behavior' of https://github.com/edpop/iD into edpop-drag-node-behavior 2017-01-16 19:32:47 +05:30
Bryan Housel 132a5b56c3 Made it a bit simpler with lodash _uniqBy 2017-01-16 17:56:59 +05:30
Bryan Housel 5f2a10694d Merge branch 'commit' of https://github.com/Abbe98/iD into Abbe98-commit 2017-01-16 17:34:05 +05:30
Bryan Housel ad415a72ca Merge pull request #3748 from huangyingjie/master
fix: properties exported are redefined
2017-01-16 17:19:07 +05:30
Bryan Housel 7158d2e119 Merge branch 'slhh-replace-node' 2017-01-16 16:41:06 +05:30
Kushan Joshi fb8efc2772 Change translation on the fly 2017-01-16 11:49:06 +05:30
Bryan Housel afb51ab4bd Add halo for area icons
(closes #3762)
2017-01-15 01:10:28 +05:30
Bryan Housel 04b9c08bff Adjust maki sizes and fill opacity
New icons are solid fill and take up a bit more of the icon space, so need to
be scaled differntly.
2017-01-14 23:06:23 +05:30
Bryan Housel 9b922899a6 Restore maki icons on vertices and areas 2017-01-14 22:08:47 +05:30
Albin Larsson 70f74c4953 do not suggest duplicate commit messages 2017-01-13 21:22:58 +01:00
Eduard Popov 85cccbf80b Merge branch 'master' into drag-node-behavior 2017-01-13 23:41:24 +10:00
Bryan Housel 9aaacec467 Merge pull request #3754 from kepta/geocoder
Add a pluggable geocoder
2017-01-13 19:00:34 +05:30
Bryan Housel fd9b3931d8 Use temp names for temp segments
(closes #1369)
2017-01-13 18:44:42 +05:30
Ajith Ranka 95c3d31c79 Don't add tag classes to maki icons 2017-01-13 17:46:43 +05:30
Kushan Joshi 781f4540e0 Add a pluggable geocoder 2017-01-13 15:42:03 +05:30
Ajith Ranka 3379d5d9ba Fix isMaki, reset sizes, remove unnecessary checks 2017-01-13 15:04:58 +05:30
Bryan Housel cb35873e29 Don't allow continue from the connecting vertex of a closed way
Now that addNode tries to preserve circularity, this
could cause the continued segment to loop back.

And anyway it's confusing why one vertex allows it and none others do.
2017-01-12 20:08:42 +05:30
Bryan Housel 45b7a40557 Fix area drawing for #3676
These changes are needed now that `addNode`
* wants to preserve circularity
* automatically remove duplicates
* range checks index argument (can't call it with -1 anymore)
2017-01-12 19:30:07 +05:30
huangyingjie 8beb943fa9 fix: properties exported are redefined 2017-01-12 20:24:44 +08:00
Bryan Housel f109efda7b Fix close() for single node ways 2017-01-12 15:56:46 +05:30
popov 42a6530796 Do not attach dragNode behavior in browse mode 2017-01-10 10:41:58 +10:00
Bryan Housel 73e27c9657 Now that updateNode preserves circularity, provide close/unclose functions
This lets us break closed ways at their connecting node in the few situations where
we actually want that behavior (disconnect action for circular non-area ways)
2017-01-09 19:41:38 -05:00
Bryan Housel 8676dd6e4c Changes to removeNode and add tests 2017-01-09 18:38:28 -05:00
Bryan Housel 7b86afc9de Changes to replaceNode and add tests, also stricter isClosed 2017-01-09 18:16:30 -05:00
Bryan Housel f510038791 Changes to updateNode and add tests 2017-01-09 17:33:46 -05:00
Bryan Housel f1cdde0f92 Changes to addNode and add tests 2017-01-09 17:33:26 -05:00
Bryan Housel 5ffe5e0a5b Merge branch 'replace-node' of https://github.com/slhh/iD into slhh-replace-node 2017-01-05 14:17:57 -05:00
Bryan Housel 4cfc51bf4a Merge branch 'cedarstudios-master' 2017-01-05 11:09:14 -05:00
Bryan Housel ddd1b7e43a Don't change history state while in transition 2017-01-04 17:37:29 -05:00
Bryan Housel 8ce6b9e185 Merge branch 'transitioned-actions' 2017-01-04 17:26:22 -05:00
Natsuyasumi e1640a1e39 Merge branch 'master' into address-customization 2017-01-04 22:19:09 +01:00
Bryan Housel 12047b1b5b Merge branch 'master' of https://github.com/cedarstudios/iD into cedarstudios-master 2017-01-04 13:33:31 -05:00