From a16745d0d1544579b413a1bc8c9a1ad4e707b9c0 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 9 Apr 2021 02:56:48 +0200 Subject: [PATCH] Add more license information --- Models/smallLicense.ts | 6 ++++ .../pump_example.png.license_info.json | 4 +-- .../pump_example_round.jpg.license_info.json | 5 +-- .../board.svg.license_info.json | 6 ++++ assets/layers/maps/map.svg.license_info.json | 7 ++++ .../osm-logo-buggy-attr.svg.license_info.json | 7 ++++ .../osm-logo-white-bg.svg.license_info.json | 7 ++++ .../nature_reserve/ANB.jpg.license_info.json | 10 ++++++ .../Natuurpunt.jpg.license_info.json | 10 ++++++ .../nature_reserve.svg.license_info.json | 10 ++++++ .../tabletennis.svg.license_info.json | 11 ++++++ .../toilets/toilets.svg.license_info.json | 10 ++++++ .../toilets/urinal.svg.license_info.json | 11 ++++++ .../toilets/wheelchair.svg.license_info.json | 6 ++++ .../viewpoint/viewpoint.svg.license_info.json | 10 ++++++ assets/mangrove_logo.png.license_info.json | 10 ++++++ .../social_image_front.png.license_info.json | 10 ++++++ ...ocialImageForeground.svg.license_info.json | 10 ++++++ assets/svg/add.svg.license_info.json | 10 ++++++ assets/svg/addSmall.svg.license_info.json | 8 +++++ assets/svg/ampersand.svg.license_info.json | 6 ++++ .../arrow-left-smooth.svg.license_info.json | 8 +++++ .../arrow-right-smooth.svg.license_info.json | 8 +++++ assets/svg/back.svg.license_info.json | 8 +++++ assets/svg/bug.svg.license_info.json | 11 ++++++ assets/svg/checkmark.svg.license_info.json | 8 +++++ assets/svg/circle.svg.license_info.json | 8 +++++ assets/svg/clock.svg.license_info.json | 8 +++++ assets/svg/close.svg.license_info.json | 6 ++++ assets/svg/compass.svg.license_info.json | 6 ++++ ...rosshair-blue-center.svg.license_info.json | 6 ++++ .../svg/crosshair-blue.svg.license_info.json | 6 ++++ assets/svg/crosshair.svg.license_info.json | 6 ++++ assets/svg/delete_icon.svg.license_info.json | 10 ++++++ assets/svg/direction.svg.license_info.json | 6 ++++ .../direction_gradient.svg.license_info.json | 6 ++++ assets/svg/down.svg.license_info.json | 6 ++++ assets/svg/envelope.svg.license_info.json | 6 ++++ assets/svg/floppy.svg.license_info.json | 11 ++++++ assets/svg/gear.svg.license_info.json | 6 ++++ assets/svg/help.svg.license_info.json | 6 ++++ assets/svg/home.svg.license_info.json | 10 ++++++ .../svg/home_white_bg.svg.license_info.json | 10 ++++++ assets/svg/josm_logo.svg.license_info.json | 11 ++++++ assets/svg/layers.svg.license_info.json | 6 ++++ assets/svg/layersAdd.svg.license_info.json | 6 ++++ assets/svg/logo.svg.license_info.json | 6 ++++ assets/svg/logout.svg.license_info.json | 6 ++++ .../mapcomplete_logo.svg.license_info.json | 11 ++++++ assets/svg/mapillary.svg.license_info.json | 10 ++++++ assets/svg/min.svg.license_info.json | 6 ++++ assets/svg/no_checkmark.svg.license_info.json | 6 ++++ assets/svg/or.svg.license_info.json | 6 ++++ .../svg/osm-copyright.svg.license_info.json | 10 ++++++ assets/svg/osm-logo-us.svg.license_info.json | 10 ++++++ assets/svg/osm-logo.svg.license_info.json | 10 ++++++ assets/svg/pencil.svg.license_info.json | 11 ++++++ assets/svg/phone.svg.license_info.json | 10 ++++++ assets/svg/pin.svg.license_info.json | 6 ++++ assets/svg/plus.svg.license_info.json | 6 ++++ test/ImageAttribution.spec.ts | 35 +++++++++++++++++++ 61 files changed, 508 insertions(+), 4 deletions(-) create mode 100644 Models/smallLicense.ts create mode 100644 assets/layers/information_board/board.svg.license_info.json create mode 100644 assets/layers/maps/map.svg.license_info.json create mode 100644 assets/layers/maps/osm-logo-buggy-attr.svg.license_info.json create mode 100644 assets/layers/maps/osm-logo-white-bg.svg.license_info.json create mode 100644 assets/layers/nature_reserve/ANB.jpg.license_info.json create mode 100644 assets/layers/nature_reserve/Natuurpunt.jpg.license_info.json create mode 100644 assets/layers/nature_reserve/nature_reserve.svg.license_info.json create mode 100644 assets/layers/sport_pitch/tabletennis.svg.license_info.json create mode 100644 assets/layers/toilets/toilets.svg.license_info.json create mode 100644 assets/layers/toilets/urinal.svg.license_info.json create mode 100644 assets/layers/toilets/wheelchair.svg.license_info.json create mode 100644 assets/layers/viewpoint/viewpoint.svg.license_info.json create mode 100644 assets/mangrove_logo.png.license_info.json create mode 100644 assets/social_image_front.png.license_info.json create mode 100644 assets/svg/SocialImageForeground.svg.license_info.json create mode 100644 assets/svg/add.svg.license_info.json create mode 100644 assets/svg/addSmall.svg.license_info.json create mode 100644 assets/svg/ampersand.svg.license_info.json create mode 100644 assets/svg/arrow-left-smooth.svg.license_info.json create mode 100644 assets/svg/arrow-right-smooth.svg.license_info.json create mode 100644 assets/svg/back.svg.license_info.json create mode 100644 assets/svg/bug.svg.license_info.json create mode 100644 assets/svg/checkmark.svg.license_info.json create mode 100644 assets/svg/circle.svg.license_info.json create mode 100644 assets/svg/clock.svg.license_info.json create mode 100644 assets/svg/close.svg.license_info.json create mode 100644 assets/svg/compass.svg.license_info.json create mode 100644 assets/svg/crosshair-blue-center.svg.license_info.json create mode 100644 assets/svg/crosshair-blue.svg.license_info.json create mode 100644 assets/svg/crosshair.svg.license_info.json create mode 100644 assets/svg/delete_icon.svg.license_info.json create mode 100644 assets/svg/direction.svg.license_info.json create mode 100644 assets/svg/direction_gradient.svg.license_info.json create mode 100644 assets/svg/down.svg.license_info.json create mode 100644 assets/svg/envelope.svg.license_info.json create mode 100644 assets/svg/floppy.svg.license_info.json create mode 100644 assets/svg/gear.svg.license_info.json create mode 100644 assets/svg/help.svg.license_info.json create mode 100644 assets/svg/home.svg.license_info.json create mode 100644 assets/svg/home_white_bg.svg.license_info.json create mode 100644 assets/svg/josm_logo.svg.license_info.json create mode 100644 assets/svg/layers.svg.license_info.json create mode 100644 assets/svg/layersAdd.svg.license_info.json create mode 100644 assets/svg/logo.svg.license_info.json create mode 100644 assets/svg/logout.svg.license_info.json create mode 100644 assets/svg/mapcomplete_logo.svg.license_info.json create mode 100644 assets/svg/mapillary.svg.license_info.json create mode 100644 assets/svg/min.svg.license_info.json create mode 100644 assets/svg/no_checkmark.svg.license_info.json create mode 100644 assets/svg/or.svg.license_info.json create mode 100644 assets/svg/osm-copyright.svg.license_info.json create mode 100644 assets/svg/osm-logo-us.svg.license_info.json create mode 100644 assets/svg/osm-logo.svg.license_info.json create mode 100644 assets/svg/pencil.svg.license_info.json create mode 100644 assets/svg/phone.svg.license_info.json create mode 100644 assets/svg/pin.svg.license_info.json create mode 100644 assets/svg/plus.svg.license_info.json create mode 100644 test/ImageAttribution.spec.ts diff --git a/Models/smallLicense.ts b/Models/smallLicense.ts new file mode 100644 index 0000000..e87473a --- /dev/null +++ b/Models/smallLicense.ts @@ -0,0 +1,6 @@ +export default interface SmallLicense { + path: string, + authors: string[], + license: string, + sources: string[] +} \ No newline at end of file diff --git a/assets/layers/bike_repair_station/pump_example.png.license_info.json b/assets/layers/bike_repair_station/pump_example.png.license_info.json index d4aa899..9be1616 100644 --- a/assets/layers/bike_repair_station/pump_example.png.license_info.json +++ b/assets/layers/bike_repair_station/pump_example.png.license_info.json @@ -1,9 +1,9 @@ { "authors": [ - "Turvec" + "Turvec Solutions" ], "path": "pump_example.png", - "license": "All rights reserved", + "license": "Used with permission; all rights reserved", "note": "Used with permission after email conversation, can be assumed to be CC-BY", "sources": [ "https://turvec.com/product/public-bike-pump/" diff --git a/assets/layers/bike_repair_station/pump_example_round.jpg.license_info.json b/assets/layers/bike_repair_station/pump_example_round.jpg.license_info.json index 8b8461d..a95b58f 100644 --- a/assets/layers/bike_repair_station/pump_example_round.jpg.license_info.json +++ b/assets/layers/bike_repair_station/pump_example_round.jpg.license_info.json @@ -1,10 +1,11 @@ { "authors": [ - "Teeken" + "©Altinnova" ], "path": "pump_example_round.jpg", - "license": "?", + "license": "Used with permission; all rights reserved", "sources": [ + "https://www.altinnova.com", "https://www.teeken.de/produkte/stadtmobiliar/green-air1/12?lang=3" ] } \ No newline at end of file diff --git a/assets/layers/information_board/board.svg.license_info.json b/assets/layers/information_board/board.svg.license_info.json new file mode 100644 index 0000000..316b0a5 --- /dev/null +++ b/assets/layers/information_board/board.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "board.svg", + "license": "CC0", + "sources": ["https://wiki.openstreetmap.org/wiki/File:Board-14.svg"] +} diff --git a/assets/layers/maps/map.svg.license_info.json b/assets/layers/maps/map.svg.license_info.json new file mode 100644 index 0000000..ca93f25 --- /dev/null +++ b/assets/layers/maps/map.svg.license_info.json @@ -0,0 +1,7 @@ +{ + "authors": [], + "path": "map.svg", + "license": "CC-BY-SA", + "sources": ["https://www.OpenStreetMap.org"], + "note": "Modified OpenStreetMap logo" +} diff --git a/assets/layers/maps/osm-logo-buggy-attr.svg.license_info.json b/assets/layers/maps/osm-logo-buggy-attr.svg.license_info.json new file mode 100644 index 0000000..5be6565 --- /dev/null +++ b/assets/layers/maps/osm-logo-buggy-attr.svg.license_info.json @@ -0,0 +1,7 @@ +{ + "authors": [], + "path": "osm-logo-buggy-attr.svg", + "license": "CC-BY-SA", + "sources": ["https://www.OpenStreetMap.org"], + "note": "Modified OpenStreetMap logo" +} diff --git a/assets/layers/maps/osm-logo-white-bg.svg.license_info.json b/assets/layers/maps/osm-logo-white-bg.svg.license_info.json new file mode 100644 index 0000000..cdb8011 --- /dev/null +++ b/assets/layers/maps/osm-logo-white-bg.svg.license_info.json @@ -0,0 +1,7 @@ +{ + "authors": [], + "path": "osm-logo-white-bg.svg", + "license": "CC-BY-SA", + "sources": ["https://www.OpenStreetMap.org"], + "note": "Modified OpenStreetMap logo" +} diff --git a/assets/layers/nature_reserve/ANB.jpg.license_info.json b/assets/layers/nature_reserve/ANB.jpg.license_info.json new file mode 100644 index 0000000..a8a35a9 --- /dev/null +++ b/assets/layers/nature_reserve/ANB.jpg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "Agentschap Natuur en Bos" + ], + "path": "ANB.jpg", + "license": "Logo; All rights reserved", + "sources": [ + "https://www.natuurenbos.be/" + ] +} \ No newline at end of file diff --git a/assets/layers/nature_reserve/Natuurpunt.jpg.license_info.json b/assets/layers/nature_reserve/Natuurpunt.jpg.license_info.json new file mode 100644 index 0000000..db243b4 --- /dev/null +++ b/assets/layers/nature_reserve/Natuurpunt.jpg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "Natuurpunt" + ], + "path": "Natuurpunt.jpg", + "license": "Logo; All rights reserved", + "sources": [ + "https://www.natuurpunt.be/" + ] +} \ No newline at end of file diff --git a/assets/layers/nature_reserve/nature_reserve.svg.license_info.json b/assets/layers/nature_reserve/nature_reserve.svg.license_info.json new file mode 100644 index 0000000..11c5f09 --- /dev/null +++ b/assets/layers/nature_reserve/nature_reserve.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "@ ��ду��рд Ч��рн��х" + ], + "path": "nature_reserve.svg", + "license": "CC-BY 3.0", + "sources": [ + "https://www.onlinewebfonts.com/icon/389579" + ] +} \ No newline at end of file diff --git a/assets/layers/sport_pitch/tabletennis.svg.license_info.json b/assets/layers/sport_pitch/tabletennis.svg.license_info.json new file mode 100644 index 0000000..5a33f8d --- /dev/null +++ b/assets/layers/sport_pitch/tabletennis.svg.license_info.json @@ -0,0 +1,11 @@ +{ + "authors": [ + "@fontawesome" + ], + "path": "tabletennis.svg", + "license": "CC-BY 4.0", + "sources": [ + "https://commons.wikimedia.org/wiki/File:Font_Awesome_5_solid_table-tennis.svg", + " https://fontawesome.com" + ] +} \ No newline at end of file diff --git a/assets/layers/toilets/toilets.svg.license_info.json b/assets/layers/toilets/toilets.svg.license_info.json new file mode 100644 index 0000000..6066530 --- /dev/null +++ b/assets/layers/toilets/toilets.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "none" + ], + "path": "toilets.svg", + "license": "CC0", + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Toilets-16.svg" + ] +} \ No newline at end of file diff --git a/assets/layers/toilets/urinal.svg.license_info.json b/assets/layers/toilets/urinal.svg.license_info.json new file mode 100644 index 0000000..c0ed348 --- /dev/null +++ b/assets/layers/toilets/urinal.svg.license_info.json @@ -0,0 +1,11 @@ +{ + "authors": [ + "asianson.design", + " Pieter Vander Vennet" + ], + "path": "urinal.svg", + "license": "CC-BY", + "sources": [ + "https://thenounproject.com/term/urinal/1307984/" + ] +} diff --git a/assets/layers/toilets/wheelchair.svg.license_info.json b/assets/layers/toilets/wheelchair.svg.license_info.json new file mode 100644 index 0000000..8d328da --- /dev/null +++ b/assets/layers/toilets/wheelchair.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "wheelchair.svg", + "license": "CC0", + "sources": [] +} \ No newline at end of file diff --git a/assets/layers/viewpoint/viewpoint.svg.license_info.json b/assets/layers/viewpoint/viewpoint.svg.license_info.json new file mode 100644 index 0000000..d6c242c --- /dev/null +++ b/assets/layers/viewpoint/viewpoint.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "none" + ], + "path": "viewpoint.svg", + "license": "CC0", + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Viewpoint-16.svg" + ] +} \ No newline at end of file diff --git a/assets/mangrove_logo.png.license_info.json b/assets/mangrove_logo.png.license_info.json new file mode 100644 index 0000000..c0122e9 --- /dev/null +++ b/assets/mangrove_logo.png.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "Mangrove Reviews" + ], + "path": "mangrove_logo.png", + "license": "logo; All rights reserved", + "sources": [ + "https://mangrove.reviews/" + ] +} \ No newline at end of file diff --git a/assets/social_image_front.png.license_info.json b/assets/social_image_front.png.license_info.json new file mode 100644 index 0000000..2cfeb58 --- /dev/null +++ b/assets/social_image_front.png.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "Pieter Vander Vennet" + ], + "path": "social_image_front.png", + "license": "CC-BY-SA", + "sources": [ + "" + ] +} \ No newline at end of file diff --git a/assets/svg/SocialImageForeground.svg.license_info.json b/assets/svg/SocialImageForeground.svg.license_info.json new file mode 100644 index 0000000..567db6b --- /dev/null +++ b/assets/svg/SocialImageForeground.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "Pieter Vander Vennet" + ], + "path": "SocialImageForeground.svg", + "license": "CC-BY-SA", + "sources": [ + "" + ] +} \ No newline at end of file diff --git a/assets/svg/add.svg.license_info.json b/assets/svg/add.svg.license_info.json new file mode 100644 index 0000000..fbd4ad2 --- /dev/null +++ b/assets/svg/add.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "Pieter Vander Vennet" + ], + "path": "add.svg", + "license": "CC0", + "sources": [ + "" + ] +} \ No newline at end of file diff --git a/assets/svg/addSmall.svg.license_info.json b/assets/svg/addSmall.svg.license_info.json new file mode 100644 index 0000000..77d723b --- /dev/null +++ b/assets/svg/addSmall.svg.license_info.json @@ -0,0 +1,8 @@ +{ + "authors": [ + "Pieter Vander Vennet" + ], + "path": "addSmall.svg", + "license": "CC0", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/ampersand.svg.license_info.json b/assets/svg/ampersand.svg.license_info.json new file mode 100644 index 0000000..65d9456 --- /dev/null +++ b/assets/svg/ampersand.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "ampersand.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/arrow-left-smooth.svg.license_info.json b/assets/svg/arrow-left-smooth.svg.license_info.json new file mode 100644 index 0000000..bea0cd4 --- /dev/null +++ b/assets/svg/arrow-left-smooth.svg.license_info.json @@ -0,0 +1,8 @@ +{ + "authors": [ + "Pieter Vander Vennet" + ], + "path": "arrow-left-smooth.svg", + "license": "CC0", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/arrow-right-smooth.svg.license_info.json b/assets/svg/arrow-right-smooth.svg.license_info.json new file mode 100644 index 0000000..5611496 --- /dev/null +++ b/assets/svg/arrow-right-smooth.svg.license_info.json @@ -0,0 +1,8 @@ +{ + "authors": [ + "Pieter Vander Vennet" + ], + "path": "arrow-right-smooth.svg", + "license": "CC0", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/back.svg.license_info.json b/assets/svg/back.svg.license_info.json new file mode 100644 index 0000000..57beae8 --- /dev/null +++ b/assets/svg/back.svg.license_info.json @@ -0,0 +1,8 @@ +{ + "authors": [ + "Pieter Vander Vennet" + ], + "path": "back.svg", + "license": "CC0", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/bug.svg.license_info.json b/assets/svg/bug.svg.license_info.json new file mode 100644 index 0000000..4e6850d --- /dev/null +++ b/assets/svg/bug.svg.license_info.json @@ -0,0 +1,11 @@ +{ + "authors": [ + "Github" + ], + "path": "bug.svg", + "license": "MIT", + "sources": [ + "https://commons.wikimedia.org/wiki/File:Octicons-bug.svg", + " https://github.com/primer/octicons" + ] +} \ No newline at end of file diff --git a/assets/svg/checkmark.svg.license_info.json b/assets/svg/checkmark.svg.license_info.json new file mode 100644 index 0000000..25f490e --- /dev/null +++ b/assets/svg/checkmark.svg.license_info.json @@ -0,0 +1,8 @@ +{ + "authors": [ + "Pieter Vander Vennet" + ], + "path": "checkmark.svg", + "license": "CC0", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/circle.svg.license_info.json b/assets/svg/circle.svg.license_info.json new file mode 100644 index 0000000..41482ae --- /dev/null +++ b/assets/svg/circle.svg.license_info.json @@ -0,0 +1,8 @@ +{ + "authors": [ + "Pieter Vander Vennet" + ], + "path": "circle.svg", + "license": "CC0", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/clock.svg.license_info.json b/assets/svg/clock.svg.license_info.json new file mode 100644 index 0000000..264add9 --- /dev/null +++ b/assets/svg/clock.svg.license_info.json @@ -0,0 +1,8 @@ +{ + "authors": [ + "Pieter Vander Vennet" + ], + "path": "clock.svg", + "license": "CC0", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/close.svg.license_info.json b/assets/svg/close.svg.license_info.json new file mode 100644 index 0000000..9e7a1fb --- /dev/null +++ b/assets/svg/close.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "close.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/compass.svg.license_info.json b/assets/svg/compass.svg.license_info.json new file mode 100644 index 0000000..9485ed9 --- /dev/null +++ b/assets/svg/compass.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "compass.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/crosshair-blue-center.svg.license_info.json b/assets/svg/crosshair-blue-center.svg.license_info.json new file mode 100644 index 0000000..473b56c --- /dev/null +++ b/assets/svg/crosshair-blue-center.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "crosshair-blue-center.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/crosshair-blue.svg.license_info.json b/assets/svg/crosshair-blue.svg.license_info.json new file mode 100644 index 0000000..1469014 --- /dev/null +++ b/assets/svg/crosshair-blue.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "crosshair-blue.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/crosshair.svg.license_info.json b/assets/svg/crosshair.svg.license_info.json new file mode 100644 index 0000000..1018026 --- /dev/null +++ b/assets/svg/crosshair.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "crosshair.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/delete_icon.svg.license_info.json b/assets/svg/delete_icon.svg.license_info.json new file mode 100644 index 0000000..202d000 --- /dev/null +++ b/assets/svg/delete_icon.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "Dave Gandy" + ], + "path": "delete_icon.svg", + "license": "CC-BY-SA", + "sources": [ + "https://commons.wikimedia.org/wiki/File:Trash_font_awesome.svg\rT" + ] +} \ No newline at end of file diff --git a/assets/svg/direction.svg.license_info.json b/assets/svg/direction.svg.license_info.json new file mode 100644 index 0000000..18fa8a0 --- /dev/null +++ b/assets/svg/direction.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "direction.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/direction_gradient.svg.license_info.json b/assets/svg/direction_gradient.svg.license_info.json new file mode 100644 index 0000000..21b5bbb --- /dev/null +++ b/assets/svg/direction_gradient.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "direction_gradient.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/down.svg.license_info.json b/assets/svg/down.svg.license_info.json new file mode 100644 index 0000000..6779436 --- /dev/null +++ b/assets/svg/down.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "down.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/envelope.svg.license_info.json b/assets/svg/envelope.svg.license_info.json new file mode 100644 index 0000000..c2fe1a9 --- /dev/null +++ b/assets/svg/envelope.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "envelope.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/floppy.svg.license_info.json b/assets/svg/floppy.svg.license_info.json new file mode 100644 index 0000000..3771943 --- /dev/null +++ b/assets/svg/floppy.svg.license_info.json @@ -0,0 +1,11 @@ +{ + "authors": [ + "The Tango Desktop Project" + ], + "path": "floppy.svg", + "license": "CC0", + "sources": [ + "https://commons.wikimedia.org/wiki/File:Media-floppy.svg", + " http://tango.freedesktop.org/Tango_Desktop_Project" + ] +} \ No newline at end of file diff --git a/assets/svg/gear.svg.license_info.json b/assets/svg/gear.svg.license_info.json new file mode 100644 index 0000000..bf79dd3 --- /dev/null +++ b/assets/svg/gear.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "gear.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/help.svg.license_info.json b/assets/svg/help.svg.license_info.json new file mode 100644 index 0000000..2faa6ee --- /dev/null +++ b/assets/svg/help.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "help.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/home.svg.license_info.json b/assets/svg/home.svg.license_info.json new file mode 100644 index 0000000..dea6c3b --- /dev/null +++ b/assets/svg/home.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "Timothy Miller" + ], + "path": "home.svg", + "license": "CC-BY-SA 3.0", + "sources": [ + "https://commons.wikimedia.org/wiki/File:Home-icon.svg" + ] +} \ No newline at end of file diff --git a/assets/svg/home_white_bg.svg.license_info.json b/assets/svg/home_white_bg.svg.license_info.json new file mode 100644 index 0000000..c235b3c --- /dev/null +++ b/assets/svg/home_white_bg.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "Timothy Miller" + ], + "path": "home_white_bg.svg", + "license": "CC-BY-SA 3.0", + "sources": [ + "https://commons.wikimedia.org/wiki/File:Home-icon.svg" + ] +} diff --git a/assets/svg/josm_logo.svg.license_info.json b/assets/svg/josm_logo.svg.license_info.json new file mode 100644 index 0000000..84a998f --- /dev/null +++ b/assets/svg/josm_logo.svg.license_info.json @@ -0,0 +1,11 @@ +{ + "authors": [ + "JOSM Team" + ], + "path": "josm_logo.svg", + "license": "CC0", + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:JOSM_Logotype_2019.svg", + " https://josm.openstreetmap.de/" + ] +} \ No newline at end of file diff --git a/assets/svg/layers.svg.license_info.json b/assets/svg/layers.svg.license_info.json new file mode 100644 index 0000000..e84803a --- /dev/null +++ b/assets/svg/layers.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "layers.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/layersAdd.svg.license_info.json b/assets/svg/layersAdd.svg.license_info.json new file mode 100644 index 0000000..3346173 --- /dev/null +++ b/assets/svg/layersAdd.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "layersAdd.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/logo.svg.license_info.json b/assets/svg/logo.svg.license_info.json new file mode 100644 index 0000000..af27463 --- /dev/null +++ b/assets/svg/logo.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "logo.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/logout.svg.license_info.json b/assets/svg/logout.svg.license_info.json new file mode 100644 index 0000000..384b173 --- /dev/null +++ b/assets/svg/logout.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "logout.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/mapcomplete_logo.svg.license_info.json b/assets/svg/mapcomplete_logo.svg.license_info.json new file mode 100644 index 0000000..1c036d1 --- /dev/null +++ b/assets/svg/mapcomplete_logo.svg.license_info.json @@ -0,0 +1,11 @@ +{ + "authors": [ + "Pieter Vander Vennet", + " OSM" + ], + "path": "mapcomplete_logo.svg", + "license": "Logo; CC-BY-SA", + "sources": [ + "" + ] +} \ No newline at end of file diff --git a/assets/svg/mapillary.svg.license_info.json b/assets/svg/mapillary.svg.license_info.json new file mode 100644 index 0000000..dc7e7c6 --- /dev/null +++ b/assets/svg/mapillary.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "Mapillary" + ], + "path": "mapillary.svg", + "license": "Logo; All rights reserved", + "sources": [ + "https://mapillary.com/" + ] +} \ No newline at end of file diff --git a/assets/svg/min.svg.license_info.json b/assets/svg/min.svg.license_info.json new file mode 100644 index 0000000..c27d815 --- /dev/null +++ b/assets/svg/min.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "min.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/no_checkmark.svg.license_info.json b/assets/svg/no_checkmark.svg.license_info.json new file mode 100644 index 0000000..cc4f19c --- /dev/null +++ b/assets/svg/no_checkmark.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "no_checkmark.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/or.svg.license_info.json b/assets/svg/or.svg.license_info.json new file mode 100644 index 0000000..b22414d --- /dev/null +++ b/assets/svg/or.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "or.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/osm-copyright.svg.license_info.json b/assets/svg/osm-copyright.svg.license_info.json new file mode 100644 index 0000000..2f4e579 --- /dev/null +++ b/assets/svg/osm-copyright.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "none" + ], + "path": "osm-copyright.svg", + "license": "logo; all rights reserved", + "sources": [ + "https://www.OpenStreetMap.org" + ] +} \ No newline at end of file diff --git a/assets/svg/osm-logo-us.svg.license_info.json b/assets/svg/osm-logo-us.svg.license_info.json new file mode 100644 index 0000000..d3be1ef --- /dev/null +++ b/assets/svg/osm-logo-us.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "OpenStreetMap U.S. Chapter" + ], + "path": "osm-logo-us.svg", + "license": "Logo", + "sources": [ + "https://www.openstreetmap.us/" + ] +} \ No newline at end of file diff --git a/assets/svg/osm-logo.svg.license_info.json b/assets/svg/osm-logo.svg.license_info.json new file mode 100644 index 0000000..8ab8578 --- /dev/null +++ b/assets/svg/osm-logo.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "none" + ], + "path": "osm-logo.svg", + "license": "logo; all rights reserved", + "sources": [ + "https://www.OpenStreetMap.org" + ] +} \ No newline at end of file diff --git a/assets/svg/pencil.svg.license_info.json b/assets/svg/pencil.svg.license_info.json new file mode 100644 index 0000000..c742766 --- /dev/null +++ b/assets/svg/pencil.svg.license_info.json @@ -0,0 +1,11 @@ +{ + "authors": [ + "GitHub Octicons" + ], + "path": "pencil.svg", + "license": "MIT", + "sources": [ + "https://github.com/primer/octicons", + " https://commons.wikimedia.org/wiki/File:Octicons-pencil.svg" + ] +} \ No newline at end of file diff --git a/assets/svg/phone.svg.license_info.json b/assets/svg/phone.svg.license_info.json new file mode 100644 index 0000000..8502018 --- /dev/null +++ b/assets/svg/phone.svg.license_info.json @@ -0,0 +1,10 @@ +{ + "authors": [ + "@ tyskrat" + ], + "path": "phone.svg", + "license": "CC-BY 3.0", + "sources": [ + "https://www.onlinewebfonts.com/icon/1059" + ] +} \ No newline at end of file diff --git a/assets/svg/pin.svg.license_info.json b/assets/svg/pin.svg.license_info.json new file mode 100644 index 0000000..e04f44d --- /dev/null +++ b/assets/svg/pin.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "pin.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/assets/svg/plus.svg.license_info.json b/assets/svg/plus.svg.license_info.json new file mode 100644 index 0000000..229f487 --- /dev/null +++ b/assets/svg/plus.svg.license_info.json @@ -0,0 +1,6 @@ +{ + "authors": [], + "path": "plus.svg", + "license": "CC0; trivial", + "sources": [] +} \ No newline at end of file diff --git a/test/ImageAttribution.spec.ts b/test/ImageAttribution.spec.ts new file mode 100644 index 0000000..69462be --- /dev/null +++ b/test/ImageAttribution.spec.ts @@ -0,0 +1,35 @@ +import {Utils} from "../Utils"; + +Utils.runningFromConsole = true; +import {equal} from "assert"; +import T from "./TestHelper"; +import {FromJSON} from "../Customizations/JSON/FromJSON"; +import Locale from "../UI/i18n/Locale"; +import Translations from "../UI/i18n/Translations"; +import {UIEventSource} from "../Logic/UIEventSource"; +import TagRenderingConfig from "../Customizations/JSON/TagRenderingConfig"; +import EditableTagRendering from "../UI/Popup/EditableTagRendering"; +import {Translation} from "../UI/i18n/Translation"; +import {OH, OpeningHour} from "../UI/OpeningHours/OpeningHours"; +import PublicHolidayInput from "../UI/OpeningHours/PublicHolidayInput"; +import {SubstitutedTranslation} from "../UI/SubstitutedTranslation"; +import {Tag} from "../Logic/Tags/Tag"; +import {And} from "../Logic/Tags/And"; +import {ImageSearcher} from "../Logic/Actors/ImageSearcher"; + + +new T("ImageSearcher", [ + [ + "Should find images", + () => { + const tags = new UIEventSource({ + "mapillary": "https://www.mapillary.com/app/?pKey=bYH6FFl8LXAPapz4PNSh3Q" + }); + const searcher = ImageSearcher.construct(tags) + const result = searcher.data[0]; + equal(result.url, "https://www.mapillary.com/map/im/bYH6FFl8LXAPapz4PNSh3Q"); + } + ] + + +]) \ No newline at end of file