Commit Graph

55 Commits

Author SHA1 Message Date
Quincy Morgan
11dfe7e571 Add util function for generating classes/ids from any string 2019-12-20 12:37:53 -05:00
Quincy Morgan
7ca9f55d43 2.x: Don't render multipolygon members in yellow when the multipolygon is selected (re: #6558, re: 4ab97128c4aae04b627cf8f19091c6c0fc1cf5bc) 2019-12-13 14:19:15 -05:00
Quincy Morgan
7473d32e31 2.x: Highlight relation members in yellow when a relation is selected, including in a multi-selection (re: #5766, re: cf2935576511a1b9f5aac47407ed2b0ce803902a) 2019-12-13 11:20:40 -05:00
Quincy Morgan
912151ff38 Allow viewing and editing the tags/relations of selected features at any zoom level in 2.x (re: #5001) 2019-12-12 16:54:16 -05:00
Bryan Housel
7b4a9a43b0 Change utilTagDiff to return an object with details 2019-05-02 22:59:41 -04:00
Bryan Housel
ed9a436318 Move common tag diffing code from validators into utilTagDiff 2019-05-02 11:16:15 -04:00
Bryan Housel
f17ebee402 Use Set, simplify util functions to collect entities with children 2019-04-05 11:05:04 -04:00
Bryan Housel
4821bf0a68 Remove lodash omit
(re: #6087)
2019-03-26 14:12:45 -04:00
Bryan Housel
9e4cf126c3 Remove unneeded utilGetPrototypeOf and just use Object.getPrototypeOf 2019-03-25 22:16:58 -04:00
Bryan Housel
a5ffec5665 utilHighlightEntities accept an array instead of calling it in a loop 2019-02-11 12:40:23 -05:00
Quincy Morgan
1564f73de6 Merge branch 'master' into validation 2019-02-07 20:51:21 -05:00
Bryan Housel
3875ea565b Remove mvt querystring parameter that we never used 2019-02-07 10:48:19 -05:00
Quincy Morgan
f25a80c48c Merge branch 'master' into validation 2019-01-28 12:14:04 -05:00
Quincy Morgan
4ef46a4b1d Fix issue where Chrome would attempt to autofill fields (close #5818) 2019-01-28 11:15:59 -05:00
Quincy Morgan
981ed9ef8c Integrate the generic_name validation into the new validations framework 2019-01-24 09:28:59 -05:00
Quincy Morgan
e69f2a0389 Merge branch 'master' into validation 2019-01-23 13:15:33 -05:00
Bryan Housel
a873c0f2ca Remove unused, add maprules documentation 2019-01-23 11:08:19 -05:00
Quincy Morgan
11b2102761 Merge branch 'master' into validation
# Conflicts:
#	data/core.yaml
#	dist/locales/en.json
#	modules/ui/commit_warnings.js
#	modules/ui/entity_editor.js
#	modules/util/index.js
#	modules/util/util.js
#	modules/validations/index.js
#	modules/validations/many_deletions.js
#	modules/validations/missing_tag.js
2019-01-14 10:13:56 -05:00
Bryan Housel
d9015baa47 Improve links in KeepRight error messages
(re: #5679)

Also move the localizeable string dictionary to data/keepRight.json
2019-01-07 16:10:44 -05:00
Quincy Morgan
d58867df7c Add entity display label util function
Condense message and tooltip text for for the untagged feature issue
Use lighter border color for error issues
2018-12-20 14:04:15 -05:00
Thomas Hervey
e0d5391f1b added: entity links within descriptions 2018-12-19 13:43:48 -05:00
Max Grossman
96e44be69c merge 2.12.2 2018-12-13 11:22:32 -05:00
Quincy Morgan
1161767932 Moves the entity highlighting function to util/util.js
Breaks out the code for getting a selector for entities and all their descendants into a generic function
Accounts for circular relations when recursively getting all relation member IDs
2018-10-26 18:39:01 -07:00
Max Grossman
0a31137c78 move maprules/mapcss to a service class
ref #remote-presets
2018-09-23 18:38:01 -04:00
Bryan Housel
80b583a6f0 WIP on feature deduplication across tile boundaries
It seems like the ids stored in the features are not reliable, so I'm trying
to generate ids
2018-08-22 23:16:31 -04:00
Max Grossman
db78df55c8 get validaiton objects on context
ref #remote-presets
2018-07-31 13:41:24 -04:00
Max Grossman
57ea240177 make uiModes options strict to match only those within defaults
ref #remote-presets
2018-07-18 10:50:54 -04:00
Bryan Housel
a52eeb9733 Fix failing tests, lint errors, merge conflicts 2018-07-09 11:17:57 -04:00
vershwal
ab60d57aa5 Working fine with a given mvt URL. 2018-06-18 01:32:03 +05:30
Bryan Housel
672a555229 Allow spellcheck in textarea fields
(closes #4471)
2017-10-31 22:45:24 -04:00
Bryan Housel
50b7e2e2a8 Convert lodah-es and d3 to named imports for util 2017-09-25 23:35:06 -04:00
Nick Doiron
fa87f2b602 support Arabic vowel signs, include Thaana and Hebrew in generic RTL fix 2017-03-22 21:03:46 -07:00
Bryan Housel
2314acfec7 Add utilNoAuto to remove autocorrect/spellcheck features from inputs
(closes #3839)
2017-02-14 17:19:24 -05:00
Bryan Housel
6677d15c44 Fix distracting typo 2017-01-27 10:57:53 -05:00
Bryan Housel
d63c766e69 Split into utilDisplayName / utilDisplayNameForPath
This is because utilDisplayName gets called a bunch of places and we
only want to add the Arabic reversal code for textpath labels
2017-01-03 20:58:56 -05:00
Bryan Housel
952a338abf eslint / formatting 2017-01-03 17:27:48 -05:00
Milad Karbasizadeh
5da7d83fe9 Modify railways arabic/persian names 2017-01-03 16:34:57 +03:30
Nick Doiron
94ee7d4916 move changes to svg display name 2017-01-03 18:18:18 +08:00
Bryan Housel
6ab9489fe7 Add utilGetAllNodes to get all nodes and descendants 2016-12-20 22:37:53 -05:00
Bryan Housel
4381bd11ac Simplify code for determining label font size (eliminate style inspection) 2016-10-17 13:57:15 -04:00
Nick Doiron
581bade5f3 update RTL detection 2016-10-05 01:38:13 -04:00
Nick Doiron
e208300ca5 fix mouse position calculation on RTL layout 2016-10-05 01:33:16 -04:00
Bryan Housel
0d0e54fdff Fix more namespaces that were missed in the first pass 2016-10-04 21:15:30 -04:00
Bryan Housel
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Bryan Housel
a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -04:00
Tom MacWright
cdb533fa84 Begin d3 v4 update 2016-08-21 15:19:27 -04:00
Minh Nguyễn
e861e08c68 Fixed missing comma 2016-08-02 07:33:04 -07:00
Minh Nguyễn
3e9d7c2b63 Prefer cycle_network over network 2016-08-02 07:06:09 -07:00
Minh Nguyễn
969cb19b78 Include network in relation display name
If a relation is tagged with a network, the network is needed alongside the ref to identify the relation.
2016-07-31 03:29:15 -07:00
Tom MacWright
af776501d3 Require locale, second pass (#3259)
* Require locale, second pass

* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00