Commit Graph

259 Commits

Author SHA1 Message Date
Thomas Hervey
75cff00a2a displaying keep right (currently as notes) 2018-12-19 13:18:37 -05:00
Thomas Hervey
b96965568f WIP: added schemas for errors and warnings 2018-12-19 13:13:30 -05:00
Bryan Housel
5a2049b421 Drop extra whitespace, make sure service exists before using it 2018-12-18 15:38:53 -05:00
Max Grossman
64f2d913e8 remove unused entities from test 2018-12-17 17:39:47 -05:00
Max Grossman
8f33a85a12 make collection.index function to handle failing tests 2018-12-17 17:16:10 -05:00
Max Grossman
96e44be69c merge 2.12.2 2018-12-13 11:22:32 -05:00
Bryan Housel
f45e97d727 Variable cleanups 2018-12-12 16:13:32 -05:00
Bryan Housel
3de03439e2 Use user's locale for fetching wikidata label/description
(closes #5563)
2018-12-11 19:02:29 -05:00
Bryan Housel
8456b387e0 pacify eslint 2018-12-01 22:44:02 -05:00
Bryan Housel
5a6671d728 Cache wikidata results
Because wikidata field potentially shown on hover now
and the results of this lookup will never change
2018-12-01 22:06:17 -05:00
Quincy Morgan
afcc474d3c Wikidata entity labels and descriptions are now fetched and displayed in the field, if present 2018-12-01 17:39:16 -08:00
J Guthrie
3dbcdc97e4 Remove locale param from #docs which returns all locales by default 2018-11-24 21:41:22 +00:00
J Guthrie
ed66968308 Add localised lang param to API url call 2018-11-24 21:12:51 +00:00
Bryan Housel
1731ce4651 Partition viewport by tiles, not by pixels
(closes #4297)

The previous approach split the viewport up by pixels, but each time the view
moved, the pixels would change, so it was not a stable selection of the
streetview data, and the markers would fight for position as the user moved
around.

This approach uses utilTiler to partition the view into stable tiles.
2018-11-14 14:48:42 -05:00
Bryan Housel
b7df3eda38 Use new Mapillary API calls for map_features, image_detections
(closes #5374)
2018-11-07 23:09:11 -05:00
Bryan Housel
9c02034c0d Merge branch 'matkoniecz-bad-tags' of https://github.com/matkoniecz/iD into matkoniecz-matkoniecz-bad-tags 2018-11-07 10:32:20 -05:00
Bryan Housel
08e9476f3e Fix photoviewer resize event 2018-11-06 13:09:04 -05:00
Mateusz Konieczny
82857dd160 tag values with wiki page may be documented as bad
fixes #5460
2018-11-03 15:07:37 +01:00
Bryan Housel
4cd442e09d Restore mapillary.js line endings back from CRLF -> CR, fix tests 2018-10-11 13:58:57 -04:00
Christopher Beddow
7ad55b5074 fix: traffic signs to new endpoint 2018-10-11 13:58:57 -04:00
Bryan Housel
159622f572 Don't lookup postal_code values from taginfo 2018-10-07 16:05:58 -04:00
Max Grossman
622b7b9e0c move validations to its own class
ref #remote-presets
2018-10-01 21:45:21 -04:00
Max Grossman
0a31137c78 move maprules/mapcss to a service class
ref #remote-presets
2018-09-23 18:38:01 -04:00
Bryan Housel
35593c3b25 Merge pull request #5243 from openstreetmap/gpx-mvt
Vector Tiles pt 2
2018-08-25 11:40:09 -04:00
Bryan Housel
7241e07344 Return shallow clones of features, because the hashes may change
If we return the original feature, and then change the hash later as the
feature merges with another, d3 won't exit/enter because it is joining
on the new hash, not the originally hash.
2018-08-25 00:12:21 -04:00
Bryan Housel
48e233e4a3 Move some css rules around, add hash and geometry.type to css classlist 2018-08-24 10:39:03 -04:00
Bryan Housel
b0f86cdf31 Merge matching polygons across tile boundaries 2018-08-23 22:03:51 -04:00
Bryan Housel
259e410b43 Clip polygons to tile boundaries 2018-08-23 13:03:18 -04:00
Bryan Housel
0f07393fb3 Fix data file tests (in both phantom and real browsers) 2018-08-23 11:11:14 -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
Bryan Housel
3eb4d91987 Now supports fetching data from vector tile url 2018-08-21 18:44:05 -04:00
Bryan Housel
9009d55fd1 Add a vector tile service 2018-08-20 21:54:00 -04:00
Bryan Housel
db877ba8bb Add listed_status to whitelist of tags that autocomplete uppercase
(closes #5231)
2018-08-19 00:45:37 -04:00
Bryan Housel
a0a54395a7 Fix issue completing uploads that reuse an existing open changeset
(closes #5228)
2018-08-16 10:16:33 -04:00
Bryan Housel
8d711981bf Change stars from integer field to combo, support capital 'S'
(closes #5216)
2018-08-12 11:23:38 -04:00
Bryan Housel
930e865b42 Attempt to prevent users from uploading duplicate changes
(closes #5200)

This removes a users changes stored in localStorage if they try to close
iD while an upload is in progress.  It prevents the possiblity that the
changeset is eventually accepted and closed, but the user can be prompted
to restore those changes the next time they start iD.
2018-08-11 19:15:18 -04:00
Bryan Housel
5d9fc33e24 Simplify osm.js postNoteUpload/update 2018-07-24 16:22:37 -04:00
Bryan Housel
0552a90a9f Remove category field - it's not an osm tag 2018-07-24 14:58:04 -04:00
Bryan Housel
89ad643977 Let new note generate its own id, instead of using -1
Also stringify the note id (because existing notes from OSM are this way)
Also make sure comments is initialized as an Array not an Object
Also clarify some of the tests
2018-07-24 14:11:08 -04:00
Thomas Hervey
e1cb25d824 merge from 'master' 2018-07-23 18:24:02 -04:00
Bryan Housel
d11b1e6192 Merge branch 'feat-mapillary-bearing' of https://github.com/mapillary/iD into mapillary-feat-mapillary-bearing 2018-07-23 14:35:48 -04:00
Bryan Housel
2fa593421f Rename scaleExtent to zoomExtent, slightly simplify getTiles() 2018-07-22 01:15:44 -04:00
Bryan Housel
8811933009 Split up loadTiles and loadNotes code
Code is similar but different enough that I'd rather have 2 separate
functions rather than a single function with a bunch of ifs
2018-07-21 22:31:04 -04:00
Bryan Housel
7be9439c35 Use geoScaleToZoom to calculate zoom in Mapillary, OpenStreetCam 2018-07-21 21:59:35 -04:00
Bryan Housel
c0b77d8226 remove unneeded dimensions argument (projection clipExtent has it) 2018-07-21 21:44:14 -04:00
Thomas Hervey
baad5f0cc5 added tests for osm/note 2018-07-21 21:44:07 -04:00
Bryan Housel
cd3d576276 rename geoTile -> tiler 2018-07-21 21:27:44 -04:00
Thomas Hervey
c3fe1fedd9 updated categories, added category to note service 2018-07-21 21:09:17 -04:00
Thomas Hervey
b91fa2841b merged from 'master' 2018-07-21 12:12:36 -04:00
Bryan Housel
02713e48fb Move cache management out of tiler, it's responsibilty of service
Also remove some unused code and eslint warnings
2018-07-21 11:11:39 -04:00