Quincy Morgan
36082a8119
Use ideditor as the container class instead of id-container
...
Scope all CSS to iD's container (close #7437 )
Don't style html or body elements unless running standalone iD
2020-03-22 16:54:12 -07:00
Quincy Morgan
e391edcc5c
Namespace various internal SVG ids under ideditor (re: #7445 )
2020-03-22 14:39:40 -07:00
Quincy Morgan
ebc3a2c322
Remove coreContext.changes passthrough function
2020-03-22 11:06:58 -07:00
Quincy Morgan
3c0b926ec7
Replace coreContext.geometry function with a more explicit coreGraph.geometry function
2020-03-21 14:23:44 -07:00
Quincy Morgan
f2a687f68b
Convert container from id to class
2020-03-20 15:08:56 -07:00
Quincy Morgan
c893147e15
Convert some element ids to classes to avoid collisions when embedding iD
2020-03-20 13:53:17 -07:00
Quincy Morgan
f625406ccc
Convert some element ids to classes to avoid collisions when embedding iD
...
Clarify some footer class names
2020-03-20 13:43:07 -07:00
Quincy Morgan
152d89fa22
Convert some element ids to classes to avoid collisions when embedding iD
2020-03-20 13:10:39 -07:00
Quincy Morgan
72a99673a0
Revert #7428
2020-03-20 09:59:30 -07:00
Bryan Housel
47aaec0db6
Sanitize personal tokens from custom background imagery
...
(closes #6801 )
2020-03-14 10:30:46 -04:00
Quincy Morgan
c16e03b9b3
Merge pull request #7428 from openstreetmap/imagery_index
...
Imagery index
2020-03-13 13:50:46 -07:00
Bryan Housel
b96eccc67c
Fix the domain switch test
2020-03-13 13:11:56 -04:00
Quincy Morgan
bd7c1c757c
Fix code test failure
2020-03-12 16:49:57 -07:00
Quincy Morgan
1e820b6980
Convert OSM API tests to simulate JSON responses (re: #7188 )
2020-03-12 16:45:08 -07:00
Bryan Housel
dbe643aeac
Switch from bundled editor-layer-index to fetched imagery-index
2020-03-12 14:27:49 -04:00
Quincy Morgan
4a6baccad3
Merge branch '2.x' into endpoints-fix
2020-02-27 12:59:00 -08:00
Quincy Morgan
2e238b8218
Fix JS error on clicking review request
...
Give different instances of the raw tag editor distinct classes and disclosure states
Correctly expand raw tags section by default when selecting a feature with a fallback preset
Fix raw tag editor tests
2020-02-26 14:51:32 -08:00
Bryan Housel
4d0ef1bafc
Export only the d3 functions we use in tests
...
(re: #4379 )
This trims a bit more off the iD bundle size
2020-02-22 15:07:09 -05:00
Bryan Housel
fafdb76835
Remove test/bench/*
...
Benchmarking is a good idea and we should do it,
but this stuff hasn't run in >5 years.
2020-02-21 23:21:58 -05:00
Bryan Housel
919687d2cf
Replace legacy names still used in tests, remove the legacy exports
2020-02-21 23:12:25 -05:00
Quincy Morgan
6782947f5b
Make inspector sections inherit from uiSection (re: #7368 )
2020-02-21 15:22:54 -08:00
Bryan Housel
b12c30461b
Don't bundle the locales anymore, load first in context init
...
(re: #4994 )
2020-02-21 12:24:08 -05:00
Bryan Housel
dc7fba4bf8
Have utilStringQs advance past any leading '?' or '#' characters
...
This lets us remove a bunch of substring(1) and +1 from the code.
2020-02-20 17:09:54 -05:00
Bryan Housel
030a85199f
Add support for AES encrypt/decrypting sensitive values
...
(closes #7355 )
2020-02-13 13:12:24 -05:00
SilentSpike
64ae360dac
Add verbs to test spec for almost junctions
2020-02-11 16:10:46 +00:00
SilentSpike
142126f7fe
Store node for quick fix in data not entityIds
...
Realised these are used for highlighting and should remain as is.
2020-02-11 16:10:46 +00:00
SilentSpike
d83675f43e
Update almost junction tests to reflect change
2020-02-11 16:10:45 +00:00
SilentSpike
d96fde53db
Add test for almost junction with both close ends
2020-02-11 16:10:45 +00:00
SilentSpike
917c8f0b94
Add tests for close endpoint almost junctions
2020-02-11 16:10:44 +00:00
Bryan Housel
3608659d21
Restore field inheritance
2020-02-10 16:22:13 -05:00
Bryan Housel
2149692bee
Make sure the addablePresetIDs can be reset back to null too
2020-02-07 12:55:16 -05:00
Bryan Housel
1155498766
Restore the addablePresetID feature
2020-02-07 12:06:59 -05:00
Bryan Housel
9faf8c0fe5
Test that fallback presets are there before data is loaded
...
Also, we don't actually need a vertex preset anymore, it was removed a while ago
2020-02-06 17:04:11 -05:00
Bryan Housel
2edf81605c
Remove fallback presets from the test data
...
presetIndex has them already
2020-02-06 16:26:31 -05:00
Bryan Housel
3f1f85a1e9
Restore some odd but necessary workarounds to the presetCollection test
2020-02-06 16:10:55 -05:00
Bryan Housel
12e3b7df6d
Setup fake data so that coreUploader doesn't fire off requests
2020-02-06 14:06:40 -05:00
Bryan Housel
ed19ce5bb1
When testing, pick modern or legacy build depending on which browser
...
This also lets us remove the special phantom.html tests
2020-02-06 13:05:18 -05:00
Bryan Housel
13ead25654
Merge branch 'external_presets' into 2.x
...
(re: #4994 )
2020-02-05 21:32:51 -05:00
Bryan Housel
3c6ba9703a
presetIndex.build -> presetIndex.merge, and make it merge data
2020-02-05 21:13:15 -05:00
Bryan Housel
147af19626
Seed presetIndex collection with fallback presets
...
- amazingly, this passes all tests, but iD ends up pretty non-functional
2020-02-05 12:21:33 -05:00
Bryan Housel
e3e7cd3003
Memoize presetCollection.item (it's an Array.find)
...
Also add tests for `matchAllGeometry`
2020-02-05 10:32:20 -05:00
Bryan Housel
0fe766d9a4
WIP on external presets
...
- preset data is no longer bundled into iD.js
- some code pathways commented out re: external presets
- many changes so that tests can run without presets at start, or async
- still need to make sure fallbacks are always there (point, line, area, etc)
2020-02-05 09:38:26 -05:00
SilentSpike
4c843f60db
Merge pull request #7095 from openstreetmap/osmose
...
Add Osmose Q/A layer
2020-02-04 21:47:28 +00:00
Bryan Housel
a333a341ec
Don't require areaKeys to be setup for actionSplit tests to pass
2020-02-04 15:45:11 -05:00
SilentSpike
e11d97b38c
Add Osmose QA layer and service
...
Initial implementation - need to add UI for the errors and correctly set
up support for the desired error types provided by osmose.
2020-02-03 23:01:01 +00:00
Bryan Housel
6b2d236ecd
Pass in the validator to the function
2020-02-03 17:40:56 -05:00
Bryan Housel
cd5c3c54a4
Fix uiFieldWikipedia tests
...
- should be `iD.data.wmf_sitematrix` not `iD.data.wikipedia`
2020-02-03 17:26:04 -05:00
Bryan Housel
4aa4686e7f
Fix test failures in localized and suspicious_names
2020-02-03 12:38:17 -05:00
Bryan Housel
06eac7c9d0
Don't bundle the nsi brands anymore, fetch from CDN at runtime
...
(re: #4994 )
2020-02-01 17:40:56 -05:00
Bryan Housel
743dc0a83a
Don't bundle the nsi brands anymore, fetch from CDN at runtime
...
(re: #4994 )
2020-01-31 22:07:21 -05:00