From d0c80278649de6f98ec8bbb642e41b65694f9dc8 Mon Sep 17 00:00:00 2001 From: rcavaliere Date: Tue, 22 Mar 2022 22:28:27 +0100 Subject: [PATCH 01/28] Traffic layer translation --- journey/src/i18n/de.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/journey/src/i18n/de.js b/journey/src/i18n/de.js index 1abaebf8..1f6b2524 100644 --- a/journey/src/i18n/de.js +++ b/journey/src/i18n/de.js @@ -206,8 +206,8 @@ export const TRANSLATIONS_DE = { "carsharing_vehicles_models": "Fahrzeugmodelle", "vehicles": "Fahrzeuge", "ondemand": "OnDemand transport", - "traffic": "$_traffic", - "traffic_travel_time": "$_traffic_travel_time", + "traffic": "Verkehr", + "traffic_travel_time": "Fahrzeit", "free_slots": "freie Plätze", "free_sockets": "freie Stecker", "socket": "Stecker", From 10ff7ed3d0cdab186f04a1bd80cc951c6ab10d02 Mon Sep 17 00:00:00 2001 From: henri Date: Mon, 5 Jun 2023 16:16:16 +0200 Subject: [PATCH 02/28] make reuse compliant --- .reuse/dep5 | 21 ++ LICENSES/AGPL-3.0-or-later.txt | 235 ++++++++++++++++++ LICENSES/BSD-2-Clause.txt | 9 + LICENSES/CC0-1.0.txt | 121 +++++++++ LICENSES/MIT.txt | 9 + README.md | 6 + base/config.yml | 4 + base/index.js | 3 + carsharing/config.yml | 4 + carsharing/index.js | 3 + charger/config.yml | 4 + charger/index.js | 3 + docker-compose.yml | 4 + docs/README.md | 5 + docs/config.md | 5 + docs/geocoder.md | 5 + docs/journey.md | 5 + docs/openstreetmap.md | 6 + docs/opentripplanner.md | 6 + drt/circle-polygon.js | 4 + drt/config.yml | 4 + drt/csv.js | 4 + drt/index.js | 3 + drt/utils/index.js | 3 + drt/utils/proto.js | 3 + envconfig.js | 3 + gbfs/config.yml | 4 + gbfs/index.js | 3 + geocoder/config.yml | 4 + geocoder/index.js | 3 + geocoder/tests/index.html | 6 + geocoder/utils/formatters.js | 3 + geocoder/utils/index.js | 3 + geocoder/utils/services.js | 3 + gtfs-import-task/config.yml | 4 + gtfs-import-task/gtfs-download.sh | 4 + gtfs-import-task/index.js | 3 + gtfs2bbox/bbox.js | 3 + gtfs2bbox/bboxes.js | 3 + gtfs2bbox/fetch-osm-wget.js | 4 + journey/README.md | 5 + journey/babel.config.js | 4 + journey/config.yml | 4 + journey/env2config.js | 4 + journey/geni18n.js | 4 + journey/src/actions/api.js | 4 + journey/src/actions/auth.js | 4 + journey/src/actions/call-taker.js | 4 + journey/src/actions/charger.js | 4 + journey/src/actions/config.js | 4 + journey/src/actions/drt.js | 4 + journey/src/actions/form.js | 4 + journey/src/actions/location.js | 4 + journey/src/actions/map.js | 4 + journey/src/actions/narrative.js | 4 + journey/src/actions/parking.js | 4 + journey/src/actions/traffic.js | 4 + journey/src/actions/ui.js | 4 + journey/src/actions/user.js | 4 + journey/src/actions/zipcar.js | 4 + journey/src/app.js | 4 + journey/src/components/admin/call-record.js | 4 + .../components/admin/call-taker-controls.js | 4 + .../components/admin/call-taker-windows.js | 4 + .../src/components/admin/call-time-counter.js | 4 + .../src/components/admin/draggable-window.js | 4 + journey/src/components/admin/query-record.js | 4 + journey/src/components/app/app-menu.js | 4 + .../src/components/app/batch-routing-panel.js | 4 + .../src/components/app/call-taker-panel.js | 4 + .../src/components/app/default-main-panel.js | 4 + journey/src/components/app/desktop-nav.js | 4 + journey/src/components/app/modal-credits.js | 4 + journey/src/components/app/print-layout.js | 4 + .../src/components/app/responsive-webapp.js | 4 + .../form/connected-location-field.js | 4 + .../form/connected-settings-selector-panel.js | 4 + .../src/components/form/date-time-modal.js | 4 + .../src/components/form/date-time-preview.js | 4 + .../components/form/default-search-form.js | 4 + journey/src/components/form/error-message.js | 4 + .../form/intermediate-place-field.js | 4 + .../src/components/form/plan-trip-button.js | 4 + .../src/components/form/settings-preview.js | 4 + journey/src/components/form/styled.js | 4 + journey/src/components/form/switch-button.js | 4 + .../src/components/form/tabbed-form-panel.js | 4 + journey/src/components/form/user-settings.js | 4 + .../src/components/form/user-trip-settings.js | 4 + .../components/map/bounds-updating-overlay.js | 4 + .../map/connected-endpoints-overlay.js | 4 + .../map/connected-park-and-ride-overlay.js | 4 + .../map/connected-route-viewer-overlay.js | 4 + .../components/map/connected-stop-marker.js | 4 + .../map/connected-stop-viewer-overlay.js | 4 + .../components/map/connected-stops-overlay.js | 4 + .../map/connected-transitive-overlay.js | 4 + .../map/connected-trip-viewer-overlay.js | 4 + .../map/connected-vehicle-rental-overlay.js | 4 + journey/src/components/map/default-map.js | 4 + .../components/map/elevation-point-marker.js | 4 + journey/src/components/map/leg-diagram.js | 4 + journey/src/components/map/map.js | 4 + journey/src/components/map/osm-base-layer.js | 4 + journey/src/components/map/overlay-tile.js | 4 + journey/src/components/map/point-popup.js | 4 + journey/src/components/map/stylized-map.js | 4 + journey/src/components/mobile/container.js | 4 + .../src/components/mobile/date-time-screen.js | 4 + .../src/components/mobile/location-search.js | 4 + journey/src/components/mobile/main.js | 4 + .../src/components/mobile/navigation-bar.js | 4 + .../src/components/mobile/options-screen.js | 4 + .../src/components/mobile/results-screen.js | 4 + journey/src/components/mobile/route-viewer.js | 4 + .../src/components/mobile/search-screen.js | 4 + journey/src/components/mobile/stop-viewer.js | 4 + journey/src/components/mobile/trip-viewer.js | 4 + .../src/components/mobile/welcome-screen.js | 4 + .../narrative/connected-trip-details.js | 4 + .../narrative/default/access-leg.js | 4 + .../narrative/default/default-itinerary.js | 4 + .../narrative/default/itinerary-details.js | 4 + .../narrative/default/itinerary-summary.js | 4 + .../components/narrative/default/tnc-leg.js | 4 + .../narrative/default/transit-leg.js | 4 + journey/src/components/narrative/icon.js | 4 + .../narrative/itinerary-carousel.js | 4 + .../narrative/leg-diagram-preview.js | 4 + .../line-itin/connected-itinerary-body.js | 4 + .../connected-transit-leg-subheader.js | 4 + .../narrative/line-itin/itin-summary.js | 4 + .../narrative/line-itin/line-itinerary.js | 4 + .../line-itin/realtime-time-column.js | 4 + journey/src/components/narrative/loading.js | 4 + journey/src/components/narrative/mode-icon.js | 4 + .../narrative/narrative-itineraries.js | 4 + .../narrative/narrative-itinerary.js | 4 + .../narrative/narrative-routing-results.js | 4 + .../narrative/realtime-annotation.js | 4 + .../narrative/simple-realtime-annotation.js | 4 + .../narrative/tabbed-itineraries.js | 4 + .../src/components/narrative/trip-tools.js | 4 + .../user/account-setup-finish-pane.js | 4 + .../components/user/after-signin-screen.js | 4 + .../src/components/user/awaiting-screen.js | 4 + .../components/user/before-signin-screen.js | 4 + .../user/existing-account-display.js | 4 + .../user/favorite-locations-pane.js | 4 + .../user/form-navigation-buttons.js | 4 + journey/src/components/user/link-button.js | 4 + journey/src/components/user/link-menu-item.js | 4 + .../components/user/nav-login-button-auth0.js | 4 + .../src/components/user/nav-login-button.js | 4 + .../src/components/user/new-account-wizard.js | 4 + .../user/notification-prefs-pane.js | 4 + .../user/phone-verification-pane.js | 4 + .../src/components/user/saved-trip-editor.js | 4 + .../src/components/user/saved-trip-list.js | 4 + .../src/components/user/saved-trip-screen.js | 4 + .../user/sequential-pane-display.js | 4 + .../components/user/stacked-pane-display.js | 4 + .../src/components/user/terms-of-use-pane.js | 4 + .../src/components/user/trip-basics-pane.js | 4 + .../user/trip-notifications-pane.js | 4 + .../src/components/user/trip-summary-pane.js | 4 + journey/src/components/user/trip-summary.js | 4 + .../components/user/user-account-screen.js | 4 + .../components/user/verify-email-screen.js | 4 + .../user/with-logged-in-user-support.js | 4 + journey/src/components/viewers/pattern-row.js | 4 + .../src/components/viewers/route-viewer.js | 4 + journey/src/components/viewers/stop-viewer.js | 4 + journey/src/components/viewers/trip-viewer.js | 4 + .../components/viewers/view-stop-button.js | 4 + .../components/viewers/view-trip-button.js | 4 + .../components/viewers/viewer-container.js | 4 + journey/src/config.js | 4 + journey/src/custom-icons.js | 4 + journey/src/i18n/de.js | 4 + journey/src/i18n/default.js | 3 + journey/src/i18n/en.js | 4 + journey/src/i18n/index.js | 4 + journey/src/i18n/it.js | 4 + journey/src/index.tpl.html | 6 + journey/src/main.js | 4 + .../advanced-overlays-controller/index.js | 4 + journey/src/otp-ui/base-map/index.js | 4 + journey/src/otp-ui/base-map/util.js | 4 + journey/src/otp-ui/core-utils/index.js | 4 + journey/src/otp-ui/core-utils/itinerary.js | 4 + journey/src/otp-ui/core-utils/map.js | 4 + journey/src/otp-ui/core-utils/messages.js | 4 + journey/src/otp-ui/core-utils/overlays.js | 3 + journey/src/otp-ui/core-utils/profile.js | 4 + journey/src/otp-ui/core-utils/query-params.js | 4 + journey/src/otp-ui/core-utils/query.js | 4 + journey/src/otp-ui/core-utils/route.js | 4 + journey/src/otp-ui/core-utils/storage.js | 4 + journey/src/otp-ui/core-utils/time.js | 4 + journey/src/otp-ui/core-utils/types.js | 4 + journey/src/otp-ui/core-utils/ui.js | 4 + .../otp-ui/from-to-location-picker/index.js | 4 + .../geocoder/geocoders/abstract-geocoder.js | 4 + .../src/otp-ui/geocoder/geocoders/arcgis.js | 4 + .../src/otp-ui/geocoder/geocoders/noapi.js | 4 + .../src/otp-ui/geocoder/geocoders/pelias.js | 4 + journey/src/otp-ui/geocoder/index.js | 3 + .../geocoder/isomorphic-mapzen-search.js | 4 + journey/src/otp-ui/humanize-distance/index.js | 4 + journey/src/otp-ui/icons/badge-icon.js | 4 + journey/src/otp-ui/icons/classic-leg-icon.js | 4 + journey/src/otp-ui/icons/classic-mode-icon.js | 4 + .../src/otp-ui/icons/classic/classic-bike.js | 4 + .../src/otp-ui/icons/classic/classic-bus.js | 4 + .../src/otp-ui/icons/classic/classic-car.js | 4 + .../src/otp-ui/icons/classic/classic-ferry.js | 4 + .../otp-ui/icons/classic/classic-gondola.js | 4 + .../icons/classic/classic-micromobility.js | 4 + .../src/otp-ui/icons/classic/classic-tram.js | 4 + .../src/otp-ui/icons/classic/classic-walk.js | 4 + journey/src/otp-ui/icons/classic/index.js | 4 + .../otp-ui/icons/companies/biketown-icon.js | 4 + .../src/otp-ui/icons/companies/bird-icon.js | 4 + .../otp-ui/icons/companies/bolt-eu-icon.js | 4 + .../src/otp-ui/icons/companies/bolt-icon.js | 4 + .../src/otp-ui/icons/companies/car2go-icon.js | 4 + .../src/otp-ui/icons/companies/gruv-icon.js | 4 + .../src/otp-ui/icons/companies/hopr-icon.js | 4 + journey/src/otp-ui/icons/companies/index.js | 4 + .../src/otp-ui/icons/companies/lime-icon.js | 4 + .../src/otp-ui/icons/companies/lyft-icon.js | 4 + .../src/otp-ui/icons/companies/razor-icon.js | 4 + .../otp-ui/icons/companies/reachnow-icon.js | 4 + .../src/otp-ui/icons/companies/shared-icon.js | 4 + .../src/otp-ui/icons/companies/spin-icon.js | 4 + .../src/otp-ui/icons/companies/uber-icon.js | 4 + .../icons/directions/CircleClockwise.js | 4 + .../directions/CircleCounterclockwise.js | 4 + .../src/otp-ui/icons/directions/Elevator.js | 4 + .../src/otp-ui/icons/directions/HardLeft.js | 4 + .../src/otp-ui/icons/directions/HardRight.js | 4 + journey/src/otp-ui/icons/directions/Left.js | 4 + journey/src/otp-ui/icons/directions/Right.js | 4 + .../src/otp-ui/icons/directions/SlightLeft.js | 4 + .../otp-ui/icons/directions/SlightRight.js | 4 + .../src/otp-ui/icons/directions/Straight.js | 4 + .../src/otp-ui/icons/directions/UTurnLeft.js | 4 + .../src/otp-ui/icons/directions/UTurnRight.js | 4 + journey/src/otp-ui/icons/directions/index.js | 4 + journey/src/otp-ui/icons/generic/ArrowDown.js | 4 + journey/src/otp-ui/icons/generic/ArrowLeft.js | 4 + journey/src/otp-ui/icons/generic/Refresh.js | 4 + journey/src/otp-ui/icons/generic/Star.js | 4 + journey/src/otp-ui/icons/generic/index.js | 4 + journey/src/otp-ui/icons/index.js | 4 + journey/src/otp-ui/icons/index.story.js | 4 + journey/src/otp-ui/icons/leg-icon.js | 4 + .../src/otp-ui/icons/modern/BikeSharing.js | 4 + journey/src/otp-ui/icons/modern/Bus.js | 4 + journey/src/otp-ui/icons/modern/CarSharing.js | 4 + journey/src/otp-ui/icons/modern/Charger.js | 4 + journey/src/otp-ui/icons/modern/Filter.js | 4 + journey/src/otp-ui/icons/modern/Layers.js | 4 + .../otp-ui/icons/modern/MarkerBikeSharing.js | 4 + .../otp-ui/icons/modern/MarkerCarSharing.js | 4 + .../src/otp-ui/icons/modern/MarkerCharger.js | 4 + .../src/otp-ui/icons/modern/MarkerCluster.js | 4 + .../src/otp-ui/icons/modern/MarkerDrtStop.js | 4 + .../otp-ui/icons/modern/MarkerDrtVehicle.js | 4 + .../otp-ui/icons/modern/MarkerLocationFrom.js | 4 + .../otp-ui/icons/modern/MarkerLocationTo.js | 4 + .../src/otp-ui/icons/modern/MarkerParking.js | 4 + .../icons/modern/MarkerParkingSensor.js | 4 + .../src/otp-ui/icons/modern/MarkerStation.js | 4 + journey/src/otp-ui/icons/modern/MarkerStop.js | 4 + .../otp-ui/icons/modern/MarkerStopChild.js | 4 + .../otp-ui/icons/modern/MarkerStopStation.js | 4 + .../icons/modern/MicromobilitySharing.js | 4 + journey/src/otp-ui/icons/modern/Parking.js | 4 + .../src/otp-ui/icons/openmove-mode-icon.js | 4 + journey/src/otp-ui/icons/openmove/Bicycle.js | 4 + .../src/otp-ui/icons/openmove/BicycleRide.js | 3 + .../src/otp-ui/icons/openmove/BikeSharing.js | 4 + .../otp-ui/icons/openmove/BikeSharingRide.js | 4 + journey/src/otp-ui/icons/openmove/Bus.js | 4 + journey/src/otp-ui/icons/openmove/BusDrt.js | 4 + journey/src/otp-ui/icons/openmove/Car.js | 4 + .../src/otp-ui/icons/openmove/CarSharing.js | 4 + .../otp-ui/icons/openmove/CarSharingRide.js | 4 + journey/src/otp-ui/icons/openmove/Ferry.js | 4 + .../src/otp-ui/icons/openmove/Funicolar.js | 4 + .../otp-ui/icons/openmove/Micromobility.js | 4 + .../icons/openmove/MicromobilityRide.js | 4 + .../icons/openmove/MicromobilitySharing.js | 4 + journey/src/otp-ui/icons/openmove/Park.js | 4 + journey/src/otp-ui/icons/openmove/ParkRide.js | 4 + journey/src/otp-ui/icons/openmove/Rail.js | 4 + .../src/otp-ui/icons/openmove/Streetcar.js | 4 + journey/src/otp-ui/icons/openmove/Tram.js | 4 + journey/src/otp-ui/icons/openmove/Walk.js | 4 + journey/src/otp-ui/icons/openmove/index.js | 3 + .../icons/openmove/svgs/_copy_svg_into_js.sh | 4 + journey/src/otp-ui/icons/standard-leg-icon.js | 4 + .../src/otp-ui/icons/standard-mode-icon.js | 4 + journey/src/otp-ui/icons/standard/index.js | 4 + .../otp-ui/icons/standard/standard-bike.js | 4 + .../src/otp-ui/icons/standard/standard-bus.js | 4 + .../otp-ui/icons/standard/standard-gondola.js | 4 + .../otp-ui/icons/standard/standard-rail.js | 4 + .../icons/standard/standard-streetcar.js | 4 + .../otp-ui/icons/standard/standard-tram.js | 4 + .../otp-ui/icons/standard/standard-walk.js | 4 + journey/src/otp-ui/icons/trimet-leg-icon.js | 4 + journey/src/otp-ui/icons/trimet-mode-icon.js | 4 + journey/src/otp-ui/icons/trimet/Accessible.js | 4 + journey/src/otp-ui/icons/trimet/AerialTram.js | 4 + journey/src/otp-ui/icons/trimet/Alert.js | 4 + journey/src/otp-ui/icons/trimet/AlertSolid.js | 4 + journey/src/otp-ui/icons/trimet/App.js | 4 + journey/src/otp-ui/icons/trimet/Bicycle.js | 4 + journey/src/otp-ui/icons/trimet/Bike.js | 4 + .../src/otp-ui/icons/trimet/BikeAndRide.js | 4 + journey/src/otp-ui/icons/trimet/BikeLocker.js | 4 + .../src/otp-ui/icons/trimet/BikeParking.js | 4 + .../src/otp-ui/icons/trimet/BikeSharing.js | 4 + journey/src/otp-ui/icons/trimet/BikeStaple.js | 4 + journey/src/otp-ui/icons/trimet/Bus.js | 4 + journey/src/otp-ui/icons/trimet/BusCircle.js | 4 + journey/src/otp-ui/icons/trimet/Car.js | 4 + journey/src/otp-ui/icons/trimet/Circle.js | 4 + journey/src/otp-ui/icons/trimet/Email.js | 4 + journey/src/otp-ui/icons/trimet/Feedback.js | 4 + journey/src/otp-ui/icons/trimet/Ferry.js | 4 + journey/src/otp-ui/icons/trimet/Help.js | 4 + journey/src/otp-ui/icons/trimet/HelpSolid.js | 4 + journey/src/otp-ui/icons/trimet/Info.js | 4 + journey/src/otp-ui/icons/trimet/Map.js | 4 + journey/src/otp-ui/icons/trimet/MapMarker.js | 4 + .../src/otp-ui/icons/trimet/MapMarkerSolid.js | 4 + journey/src/otp-ui/icons/trimet/Max.js | 4 + journey/src/otp-ui/icons/trimet/MaxCircle.js | 4 + .../src/otp-ui/icons/trimet/Micromobility.js | 4 + journey/src/otp-ui/icons/trimet/Parking.js | 4 + journey/src/otp-ui/icons/trimet/Phone.js | 4 + journey/src/otp-ui/icons/trimet/Plane.js | 4 + journey/src/otp-ui/icons/trimet/Schedule.js | 4 + journey/src/otp-ui/icons/trimet/Snow.js | 4 + .../src/otp-ui/icons/trimet/StopStation.js | 4 + .../otp-ui/icons/trimet/StopStationSolid.js | 4 + journey/src/otp-ui/icons/trimet/Streetcar.js | 4 + .../otp-ui/icons/trimet/StreetcarCircle.js | 4 + .../src/otp-ui/icons/trimet/Transittracker.js | 4 + .../icons/trimet/TransittrackerSolid.js | 4 + journey/src/otp-ui/icons/trimet/TriMet.js | 4 + .../src/otp-ui/icons/trimet/TripPlanner.js | 4 + .../otp-ui/icons/trimet/TripPlannerSolid.js | 4 + journey/src/otp-ui/icons/trimet/Walk.js | 4 + journey/src/otp-ui/icons/trimet/Wes.js | 4 + journey/src/otp-ui/icons/trimet/WesCircle.js | 4 + journey/src/otp-ui/icons/trimet/Zoom.js | 4 + journey/src/otp-ui/icons/trimet/ZoomAngle.js | 4 + journey/src/otp-ui/icons/trimet/index.js | 4 + .../AccessLegBody/access-leg-steps.js | 4 + .../AccessLegBody/access-leg-summary.js | 4 + .../itinerary-body/AccessLegBody/index.js | 4 + .../AccessLegBody/leg-diagram-preview.js | 4 + .../AccessLegBody/rented-vehicle-subheader.js | 4 + .../itinerary-body/AccessLegBody/tnc-leg.js | 4 + .../otp-ui/itinerary-body/RouteBadge/index.js | 4 + .../TransitLegBody/alerts-body.js | 4 + .../itinerary-body/TransitLegBody/index.js | 4 + .../TransitLegBody/intermediate-stops.js | 4 + .../TransitLegBody/view-trip-button.js | 4 + .../defaults/line-column-content.js | 4 + .../itinerary-body/defaults/place-name.js | 4 + .../defaults/route-description.js | 4 + .../defaults/time-column-content.js | 4 + .../defaults/transit-leg-summary.js | 4 + journey/src/otp-ui/itinerary-body/index.js | 4 + .../otp-react-redux/line-column-content.js | 4 + .../otp-react-redux/place-name.js | 4 + .../otp-react-redux/route-description.js | 4 + .../otp-react-redux/transit-leg-subheader.js | 4 + .../otp-react-redux/view-stop-button.js | 4 + .../src/otp-ui/itinerary-body/place-row.js | 4 + journey/src/otp-ui/itinerary-body/util.js | 4 + journey/src/otp-ui/location-field/index.js | 4 + journey/src/otp-ui/location-field/options.js | 4 + journey/src/otp-ui/location-field/styled.js | 4 + journey/src/otp-ui/location-filter/index.js | 4 + journey/src/otp-ui/location-icon/index.js | 4 + journey/src/otp-ui/overlay-charger/index.js | 4 + journey/src/otp-ui/overlay-drt/index.js | 4 + .../src/otp-ui/overlay-endpoints/endpoint.js | 4 + journey/src/otp-ui/overlay-endpoints/index.js | 4 + .../src/otp-ui/overlay-park-and-ride/index.js | 4 + journey/src/otp-ui/overlay-parking/index.js | 4 + .../src/otp-ui/overlay-route-viewer/index.js | 4 + .../default-stop-marker.js | 4 + .../src/otp-ui/overlay-stop-viewer/index.js | 4 + journey/src/otp-ui/overlay-stops/index.js | 4 + .../src/otp-ui/overlay-stops/stop-marker.js | 4 + journey/src/otp-ui/overlay-traffic/index.js | 4 + .../src/otp-ui/overlay-transitive/index.js | 4 + .../leaflet-canvas-layer.js | 4 + .../overlay-transitive/transitive-styles.js | 4 + .../src/otp-ui/overlay-trip-viewer/index.js | 4 + .../otp-ui/overlay-vehicle-rental/index.js | 4 + journey/src/otp-ui/overlay-zipcar/index.js | 4 + .../otp-ui/printable-itinerary/access-leg.js | 4 + .../src/otp-ui/printable-itinerary/index.js | 4 + .../src/otp-ui/printable-itinerary/tnc-leg.js | 4 + .../otp-ui/printable-itinerary/transit-leg.js | 4 + journey/src/otp-ui/toggle-switch/index.js | 4 + journey/src/otp-ui/trip-details/index.js | 4 + .../src/otp-ui/trip-details/trip-detail.js | 4 + .../trip-form/CheckboxSelector/index.js | 4 + .../trip-form/DateTimeSelector/index.js | 4 + .../trip-form/DropdownSelector/index.js | 4 + .../trip-form/GeneralSettingsPanel/index.js | 4 + .../src/otp-ui/trip-form/ModeButton/index.js | 4 + .../otp-ui/trip-form/ModeSelector/index.js | 4 + .../trip-form/SettingsSelectorPanel/index.js | 4 + .../otp-ui/trip-form/SubmodeSelector/index.js | 4 + journey/src/otp-ui/trip-form/index.js | 4 + journey/src/otp-ui/trip-form/styled.js | 4 + journey/src/otp-ui/trip-form/util.js | 4 + journey/src/reducers/call-taker.js | 4 + journey/src/reducers/create-otp-reducer.js | 4 + journey/src/reducers/create-user-reducer.js | 4 + journey/src/styles/_mixins.scss | 5 + journey/src/styles/_utils.scss | 6 + journey/src/styles/_variables.default.scss | 6 + journey/src/styles/_variables.scss | 6 + journey/src/styles/components/_bootstrap.scss | 6 + journey/src/styles/components/_credits.scss | 5 + journey/src/styles/components/_navbar.scss | 6 + journey/src/styles/index.scss | 6 + journey/src/styles/otp-mobile/_leaflet.scss | 5 + journey/src/styles/otp-mobile/_location.scss | 6 + journey/src/styles/otp-mobile/_narrative.scss | 6 + .../styles/otp-mobile/_search-settings.scss | 6 + .../otp-mobile/_transport-selector.scss | 5 + .../src/styles/otp-mobile/_user-settings.scss | 6 + journey/src/styles/otp-mobile/_utils.scss | 6 + journey/src/styles/otp-mobile/_viewers.scss | 6 + journey/src/styles/otp-mobile/_welcome.scss | 6 + .../otp-ui/_advanced-overlays-controller.scss | 6 + journey/src/styles/otp-ui/_badge-icon.scss | 6 + journey/src/styles/otp-ui/_base-map.scss | 6 + .../styles/otp-ui/_date-time-selector.scss | 6 + .../src/styles/otp-ui/_endpoints-overlay.scss | 6 + .../otp-ui/_form-to-location-pickers.scss | 6 + .../src/styles/otp-ui/_itinerary-body.scss | 6 + .../src/styles/otp-ui/_location-filter.scss | 6 + .../styles/otp-ui/_park-and-ride-overlay.scss | 6 + .../styles/otp-ui/_printable-itinerary.scss | 6 + journey/src/styles/otp-ui/_toggle-switch.scss | 6 + journey/src/styles/otp/_layout.scss | 6 + journey/src/styles/otp/_leg-diagram.scss | 6 + journey/src/styles/otp/_locations.scss | 6 + journey/src/styles/otp/_narrative.scss | 5 + journey/src/styles/otp/_print.scss | 6 + .../src/styles/otp/_tabbed-form-panel.scss | 6 + journey/src/styles/otp/_user-settings.scss | 6 + journey/src/styles/otp/_viewers.scss | 6 + journey/src/util/auth.js | 4 + journey/src/util/call-taker.js | 4 + journey/src/util/constants.js | 4 + journey/src/util/index.js | 4 + journey/src/util/itinerary.js | 4 + journey/src/util/matomo-integration.js | 4 + journey/src/util/mergeDeep.js | 3 + journey/src/util/messages.js | 4 + journey/src/util/middleware.js | 4 + journey/src/util/monitored-trip.js | 4 + journey/src/util/state.js | 4 + journey/src/util/ui.js | 4 + journey/src/util/user.js | 3 + journey/src/util/viewer.js | 4 + journey/webpack.config.js | 4 + journey/yml2json.js | 4 + otp-unofficial.sh | 5 + otp.sh | 5 + parking/circle-polygon.js | 4 +- parking/config.yml | 4 + parking/index.js | 3 + traffic/config.yml | 4 + traffic/index.js | 3 + traffic/linkstation-config.js | 4 + vms/config.yml | 4 + vms/index.js | 3 + vms/signs/jpg2png.sh | 5 + vms/tests/index.html | 6 + vms/token.sh | 4 + vms/token_refresh.sh | 4 + 497 files changed, 2424 insertions(+), 1 deletion(-) create mode 100644 .reuse/dep5 create mode 100644 LICENSES/AGPL-3.0-or-later.txt create mode 100644 LICENSES/BSD-2-Clause.txt create mode 100644 LICENSES/CC0-1.0.txt create mode 100644 LICENSES/MIT.txt diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 00000000..02d2a8ce --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,21 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: odh-mentor-otp +Upstream-Contact: NOI Techpark +Source: https://github.com/noi-techpark/odh-mentor-otp + +Files: .github/* infrastructure .gitignore .dockerignore AUTHOR.txt *.json dotenv.example osm.url *.jar */.nvmrc *.geojson docs/images/* gbfs/bikestations_meran.csv */dotenv.example gtfs2bbox/tests/* journey/yarn.lock journey/src/fonts/* journey/src/images/* vms/README vms/.gitignore journey/src/otp-ui/icons/openmove/README vms/signs/* journey/src/otp-ui/icons/.eslintrc journey/src/otp-ui/icons/*.svg +Copyright: (c) NOI Techpark +License: CC0-1.0 + +Files: drt/utils/gtfs-realtime.proto +Copyright: (c) NOI Techpark +License: AGPL-3.0-or-later + +Files: journey/src/styles/components/_leaflet.scss +Copyright: (c) 2010-2023, Volodymyr Agafonkin + (c) 2010-2011, CloudMade +License: BSD-2-Clause + +Files: journey/src/styles/cookieconsent/cookieconsent.css journey/src/util/cookieconsent.js +Copyright: (c) 2020-2023 Orest Bida +License: MIT diff --git a/LICENSES/AGPL-3.0-or-later.txt b/LICENSES/AGPL-3.0-or-later.txt new file mode 100644 index 00000000..0c97efd2 --- /dev/null +++ b/LICENSES/AGPL-3.0-or-later.txt @@ -0,0 +1,235 @@ +GNU AFFERO GENERAL PUBLIC LICENSE +Version 3, 19 November 2007 + +Copyright (C) 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + + Preamble + +The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software. + +The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. + +Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software. + +A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public. + +The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version. + +An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license. + +The precise terms and conditions for copying, distribution and modification follow. + + TERMS AND CONDITIONS + +0. Definitions. + +"This License" refers to version 3 of the GNU Affero General Public License. + +"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. + +"The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. + +To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. + +A "covered work" means either the unmodified Program or a work based on the Program. + +To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. + +To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. + +1. Source Code. +The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. + +A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. + +The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. + +The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those +subprograms and other parts of the work. + +The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +2. Basic Permissions. +All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + +3. Protecting Users' Legal Rights From Anti-Circumvention Law. +No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. + +4. Conveying Verbatim Copies. +You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. + +5. Conveying Modified Source Versions. +You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". + + c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. + +6. Conveying Non-Source Forms. +You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: + + a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. + + d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. + +A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. + +"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). + +The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. + +7. Additional Terms. +"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or authors of the material; or + + e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. + +8. Termination. + +You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. + +9. Acceptance Not Required for Having Copies. + +You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. + +10. Automatic Licensing of Downstream Recipients. + +Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. + +An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. + +11. Patents. + +A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". + +A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. + +In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. + +A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. + +12. No Surrender of Others' Freedom. + +If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. + +13. Remote Network Interaction; Use with the GNU General Public License. + +Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph. + +Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License. + +14. Revised Versions of this License. + +The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. + +Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. + +15. Disclaimer of Warranty. + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. Limitation of Liability. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16. + +If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. + +END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements. + +You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see . diff --git a/LICENSES/BSD-2-Clause.txt b/LICENSES/BSD-2-Clause.txt new file mode 100644 index 00000000..5f662b35 --- /dev/null +++ b/LICENSES/BSD-2-Clause.txt @@ -0,0 +1,9 @@ +Copyright (c) + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt new file mode 100644 index 00000000..0e259d42 --- /dev/null +++ b/LICENSES/CC0-1.0.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 00000000..2071b23b --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 70b72654..a2df678c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + # Mentor This project contains a Docker images for stable [OpenTripPlanner](http://opentripplanner.org) releases and tools to auto download Openstreetmap data related to a certain gtfs file. diff --git a/base/config.yml b/base/config.yml index 6a10a61f..e0a3587d 100644 --- a/base/config.yml +++ b/base/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + environments: default: prod # #default environment if NODE_ENV is not defined diff --git a/base/index.js b/base/index.js index 6aac3f96..3d9d8788 100644 --- a/base/index.js +++ b/base/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const https = require('https'); //TODO replace with something else or undici diff --git a/carsharing/config.yml b/carsharing/config.yml index f2ba6ca1..a6a0024d 100644 --- a/carsharing/config.yml +++ b/carsharing/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + environments: default: prod #default environment if NODE_ENV is not defined diff --git a/carsharing/index.js b/carsharing/index.js index f9b3845b..aa9f5518 100644 --- a/carsharing/index.js +++ b/carsharing/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const fs = require('fs'); diff --git a/charger/config.yml b/charger/config.yml index 1bfa4616..4ab4e5f0 100644 --- a/charger/config.yml +++ b/charger/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + environments: default: prod #default environment if NODE_ENV is not defined diff --git a/charger/index.js b/charger/index.js index 4b8890e1..8295d4ef 100644 --- a/charger/index.js +++ b/charger/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const {app, version, config, polling, fetchData, listenLog, _, express, yaml} = require('../base'); diff --git a/docker-compose.yml b/docker-compose.yml index c0ab8f25..ee2300e1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + # # Require a .env file contains all environment vars # look contents of file _dot.env.example diff --git a/docs/README.md b/docs/README.md index 4b824e45..a7b0449d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,8 @@ + ## Table of contents diff --git a/docs/config.md b/docs/config.md index 0953ed60..18698dec 100644 --- a/docs/config.md +++ b/docs/config.md @@ -1,3 +1,8 @@ + ``` environments: diff --git a/docs/geocoder.md b/docs/geocoder.md index b34b596a..63a05d95 100644 --- a/docs/geocoder.md +++ b/docs/geocoder.md @@ -1,3 +1,8 @@ + # DEBUGGING diff --git a/docs/journey.md b/docs/journey.md index 232554be..c5fd7014 100644 --- a/docs/journey.md +++ b/docs/journey.md @@ -1,3 +1,8 @@ + # Openmove otp ui diff --git a/docs/openstreetmap.md b/docs/openstreetmap.md index 50ae4e28..0951aba6 100644 --- a/docs/openstreetmap.md +++ b/docs/openstreetmap.md @@ -1,3 +1,9 @@ + + # OpenStreetMAp Data # GTFS2BBOX diff --git a/docs/opentripplanner.md b/docs/opentripplanner.md index 4121d941..18714ea7 100644 --- a/docs/opentripplanner.md +++ b/docs/opentripplanner.md @@ -1,3 +1,9 @@ + + # OpenTripPlanner This project is a Openmove fork of [OpenTripPlanner](http://opentripplanner.org) release: diff --git a/drt/circle-polygon.js b/drt/circle-polygon.js index dd1086e2..7cd124a5 100644 --- a/drt/circle-polygon.js +++ b/drt/circle-polygon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + 'use strict'; const defaultEarthRadius = 6378137; // equatorial Earth radius diff --git a/drt/config.yml b/drt/config.yml index f28b8ae2..53376d68 100644 --- a/drt/config.yml +++ b/drt/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + environments: default: prod #default environment if NODE_ENV is not defined diff --git a/drt/csv.js b/drt/csv.js index 63661172..28878bc0 100644 --- a/drt/csv.js +++ b/drt/csv.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + const createCsvWriter = require('csv-writer').createObjectCsvWriter; const circleToPolygon = require('./circle-polygon'); const {uuid} = require('uuidv4'); diff --git a/drt/index.js b/drt/index.js index c32a1deb..2a5b3019 100644 --- a/drt/index.js +++ b/drt/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const {createGtfsFlex} = require('./csv'); diff --git a/drt/utils/index.js b/drt/utils/index.js index 4de98a0f..e43036cc 100644 --- a/drt/utils/index.js +++ b/drt/utils/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const polyline = require('@mapbox/polyline'); diff --git a/drt/utils/proto.js b/drt/utils/proto.js index 6ea98e89..586eff68 100644 --- a/drt/utils/proto.js +++ b/drt/utils/proto.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const protobuf = require('protobufjs'); diff --git a/envconfig.js b/envconfig.js index f6ff36ce..0ea10504 100644 --- a/envconfig.js +++ b/envconfig.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: CC0-1.0 const fs = require('fs'); diff --git a/gbfs/config.yml b/gbfs/config.yml index c89bfa6d..774fe24a 100644 --- a/gbfs/config.yml +++ b/gbfs/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + environments: default: prod #default environment if NODE_ENV is not defined diff --git a/gbfs/index.js b/gbfs/index.js index fc578b8b..a8cbb13d 100644 --- a/gbfs/index.js +++ b/gbfs/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const csvtojson = require('csvtojson'); diff --git a/geocoder/config.yml b/geocoder/config.yml index ca544344..d7384aeb 100644 --- a/geocoder/config.yml +++ b/geocoder/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + environments: default: prod #default environment if NODE_ENV is not defined diff --git a/geocoder/index.js b/geocoder/index.js index 4bbc3fdf..fc514b05 100644 --- a/geocoder/index.js +++ b/geocoder/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const {resolve} = require('path'); const {app, version, config, polling, fetchData, listenLog, _, express, yaml} = require(resolve(__dirname,'../base')); diff --git a/geocoder/tests/index.html b/geocoder/tests/index.html index 621260f3..d948846a 100644 --- a/geocoder/tests/index.html +++ b/geocoder/tests/index.html @@ -1,3 +1,9 @@ + + diff --git a/geocoder/utils/formatters.js b/geocoder/utils/formatters.js index fc536a30..c790c897 100644 --- a/geocoder/utils/formatters.js +++ b/geocoder/utils/formatters.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later //an elasticsearch hit result //in Pelias 'venue' is a Point Of Interest diff --git a/geocoder/utils/index.js b/geocoder/utils/index.js index 3823f446..e1cddd7e 100644 --- a/geocoder/utils/index.js +++ b/geocoder/utils/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const wdlevenshtein = require('weighted-damerau-levenshtein'); const ParallelRequest = require('parallel-http-request'); diff --git a/geocoder/utils/services.js b/geocoder/utils/services.js index 1c8b3b10..f2c6b636 100644 --- a/geocoder/utils/services.js +++ b/geocoder/utils/services.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const https = require('https'); diff --git a/gtfs-import-task/config.yml b/gtfs-import-task/config.yml index bf3d58a2..c2148302 100644 --- a/gtfs-import-task/config.yml +++ b/gtfs-import-task/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + polling_interval: 1800 #30 minutes diff --git a/gtfs-import-task/gtfs-download.sh b/gtfs-import-task/gtfs-download.sh index e9a17e73..4139b1b9 100755 --- a/gtfs-import-task/gtfs-download.sh +++ b/gtfs-import-task/gtfs-download.sh @@ -1,5 +1,9 @@ #!/bin/sh +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: AGPL-3.0-or-later + TIME=$(date +%x_%H:%M:%S) DATE="[${TIME}]" LOGFILE=/data/gtfs_download.log diff --git a/gtfs-import-task/index.js b/gtfs-import-task/index.js index 8db75af8..12732766 100644 --- a/gtfs-import-task/index.js +++ b/gtfs-import-task/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const dotenv = require('dotenv').config() , config = require('@stefcud/configyml'); diff --git a/gtfs2bbox/bbox.js b/gtfs2bbox/bbox.js index 19b34455..f5723471 100755 --- a/gtfs2bbox/bbox.js +++ b/gtfs2bbox/bbox.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const fs = require('fs'); diff --git a/gtfs2bbox/bboxes.js b/gtfs2bbox/bboxes.js index 9a64769d..ced8d03f 100755 --- a/gtfs2bbox/bboxes.js +++ b/gtfs2bbox/bboxes.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const fs = require('fs'); diff --git a/gtfs2bbox/fetch-osm-wget.js b/gtfs2bbox/fetch-osm-wget.js index d2a53157..68ece810 100644 --- a/gtfs2bbox/fetch-osm-wget.js +++ b/gtfs2bbox/fetch-osm-wget.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /* parallel downloader of openstreetmap data from a list of bounding boxes diff --git a/journey/README.md b/journey/README.md index 232554be..c5fd7014 100644 --- a/journey/README.md +++ b/journey/README.md @@ -1,3 +1,8 @@ + # Openmove otp ui diff --git a/journey/babel.config.js b/journey/babel.config.js index b7bef9d7..15cba751 100644 --- a/journey/babel.config.js +++ b/journey/babel.config.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: CC0-1.0 + module.exports = { presets:[[ "@babel/preset-env", { diff --git a/journey/config.yml b/journey/config.yml index e278864d..0bcef2ab 100644 --- a/journey/config.yml +++ b/journey/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + branding: Merano - Alto Adige/Suedtirol title: Merano - Alto Adige/Suedtirol brandNavbar: Merano diff --git a/journey/env2config.js b/journey/env2config.js index f81ccc32..4c76fbc3 100644 --- a/journey/env2config.js +++ b/journey/env2config.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: CC0-1.0 + /* OTP CONFIG DOCS diff --git a/journey/geni18n.js b/journey/geni18n.js index 798ac56b..db774716 100644 --- a/journey/geni18n.js +++ b/journey/geni18n.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: CC0-1.0 + /* OTP CONFIG DOCS diff --git a/journey/src/actions/api.js b/journey/src/actions/api.js index 46ae8316..8c8cd5bf 100644 --- a/journey/src/actions/api.js +++ b/journey/src/actions/api.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /* globals fetch */ import { push, replace } from 'connected-react-router' import haversine from 'haversine' diff --git a/journey/src/actions/auth.js b/journey/src/actions/auth.js index cf5478e0..08363997 100644 --- a/journey/src/actions/auth.js +++ b/journey/src/actions/auth.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { push } from 'connected-react-router' import { setPathBeforeSignIn } from '../actions/user' diff --git a/journey/src/actions/call-taker.js b/journey/src/actions/call-taker.js index 61ab6754..5139b6d4 100644 --- a/journey/src/actions/call-taker.js +++ b/journey/src/actions/call-taker.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { getUrlParams } from '../otp-ui/core-utils/query' import qs from 'qs' import { createAction } from 'redux-actions' diff --git a/journey/src/actions/charger.js b/journey/src/actions/charger.js index 362e4bc8..19d4d0c5 100644 --- a/journey/src/actions/charger.js +++ b/journey/src/actions/charger.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { createAction } from 'redux-actions' if (typeof (fetch) === 'undefined') require('isomorphic-fetch') diff --git a/journey/src/actions/config.js b/journey/src/actions/config.js index 190ad4f8..2c420fcd 100644 --- a/journey/src/actions/config.js +++ b/journey/src/actions/config.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { createAction } from 'redux-actions' export const setAutoPlan = createAction('SET_AUTOPLAN') diff --git a/journey/src/actions/drt.js b/journey/src/actions/drt.js index de2032f4..8944ec9d 100644 --- a/journey/src/actions/drt.js +++ b/journey/src/actions/drt.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { createAction } from 'redux-actions' if (typeof (fetch) === 'undefined') require('isomorphic-fetch') diff --git a/journey/src/actions/form.js b/journey/src/actions/form.js index e7e311db..eabeb972 100644 --- a/journey/src/actions/form.js +++ b/journey/src/actions/form.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import debounce from 'lodash.debounce' import isEqual from 'lodash.isequal' import moment from 'moment' diff --git a/journey/src/actions/location.js b/journey/src/actions/location.js index 491a928a..3ac3ad5d 100644 --- a/journey/src/actions/location.js +++ b/journey/src/actions/location.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { createAction } from 'redux-actions' import { setLocationToCurrent } from './map' diff --git a/journey/src/actions/map.js b/journey/src/actions/map.js index bdd6b9d6..c2144305 100644 --- a/journey/src/actions/map.js +++ b/journey/src/actions/map.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../otp-ui/core-utils' import getGeocoder from '../otp-ui/geocoder' import { createAction } from 'redux-actions' diff --git a/journey/src/actions/narrative.js b/journey/src/actions/narrative.js index 4e59cf0b..29212244 100644 --- a/journey/src/actions/narrative.js +++ b/journey/src/actions/narrative.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../otp-ui/core-utils' import { createAction } from 'redux-actions' diff --git a/journey/src/actions/parking.js b/journey/src/actions/parking.js index 1814b59f..a82837ce 100644 --- a/journey/src/actions/parking.js +++ b/journey/src/actions/parking.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { createAction } from 'redux-actions' if (typeof (fetch) === 'undefined') require('isomorphic-fetch') diff --git a/journey/src/actions/traffic.js b/journey/src/actions/traffic.js index 5dd0742d..6b713a3f 100644 --- a/journey/src/actions/traffic.js +++ b/journey/src/actions/traffic.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { createAction } from 'redux-actions' if (typeof (fetch) === 'undefined') require('isomorphic-fetch') diff --git a/journey/src/actions/ui.js b/journey/src/actions/ui.js index ffc57074..b631b81a 100644 --- a/journey/src/actions/ui.js +++ b/journey/src/actions/ui.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { push } from 'connected-react-router' import coreUtils from '../otp-ui/core-utils' import { createAction } from 'redux-actions' diff --git a/journey/src/actions/user.js b/journey/src/actions/user.js index 61c43ffd..d1ba1f2c 100644 --- a/journey/src/actions/user.js +++ b/journey/src/actions/user.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { createAction } from 'redux-actions' import { diff --git a/journey/src/actions/zipcar.js b/journey/src/actions/zipcar.js index 72fdea11..d51f65ae 100644 --- a/journey/src/actions/zipcar.js +++ b/journey/src/actions/zipcar.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { createAction } from 'redux-actions' if (typeof (fetch) === 'undefined') require('isomorphic-fetch') diff --git a/journey/src/app.js b/journey/src/app.js index 628dcef0..5853c4de 100644 --- a/journey/src/app.js +++ b/journey/src/app.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // import React/Redux libraries import React, { Component } from 'react' import { withNamespaces } from "react-i18next"; diff --git a/journey/src/components/admin/call-record.js b/journey/src/components/admin/call-record.js index 9245246c..e8c26a1f 100644 --- a/journey/src/components/admin/call-record.js +++ b/journey/src/components/admin/call-record.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import moment from 'moment' import React, { Component } from 'react' import { withNamespaces } from "react-i18next"; diff --git a/journey/src/components/admin/call-taker-controls.js b/journey/src/components/admin/call-taker-controls.js index d5b8f183..5a58e9c4 100644 --- a/journey/src/components/admin/call-taker-controls.js +++ b/journey/src/components/admin/call-taker-controls.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/journey/src/components/admin/call-taker-windows.js b/journey/src/components/admin/call-taker-windows.js index 4bbb343d..50dda68a 100644 --- a/journey/src/components/admin/call-taker-windows.js +++ b/journey/src/components/admin/call-taker-windows.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { connect } from 'react-redux' import { withNamespaces } from "react-i18next"; diff --git a/journey/src/components/admin/call-time-counter.js b/journey/src/components/admin/call-time-counter.js index 1d8dfe76..700ad7cf 100644 --- a/journey/src/components/admin/call-time-counter.js +++ b/journey/src/components/admin/call-time-counter.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // import moment from 'moment' import React, { Component } from 'react' diff --git a/journey/src/components/admin/draggable-window.js b/journey/src/components/admin/draggable-window.js index 1159cdd3..2416bd42 100644 --- a/journey/src/components/admin/draggable-window.js +++ b/journey/src/components/admin/draggable-window.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import Draggable from 'react-draggable' diff --git a/journey/src/components/admin/query-record.js b/journey/src/components/admin/query-record.js index 0a1ecacf..d92bc472 100644 --- a/journey/src/components/admin/query-record.js +++ b/journey/src/components/admin/query-record.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { connect } from 'react-redux' import { withNamespaces } from "react-i18next"; diff --git a/journey/src/components/app/app-menu.js b/journey/src/components/app/app-menu.js index 4c37454d..8c078808 100644 --- a/journey/src/components/app/app-menu.js +++ b/journey/src/components/app/app-menu.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/app/batch-routing-panel.js b/journey/src/components/app/batch-routing-panel.js index 9f070118..0df3f1db 100644 --- a/journey/src/components/app/batch-routing-panel.js +++ b/journey/src/components/app/batch-routing-panel.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { Button } from 'react-bootstrap' import { connect } from 'react-redux' diff --git a/journey/src/components/app/call-taker-panel.js b/journey/src/components/app/call-taker-panel.js index 6b42ade9..c3d4ed07 100644 --- a/journey/src/components/app/call-taker-panel.js +++ b/journey/src/components/app/call-taker-panel.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { OTP_API_DATE_FORMAT, OTP_API_TIME_FORMAT diff --git a/journey/src/components/app/default-main-panel.js b/journey/src/components/app/default-main-panel.js index 98370717..d26134b3 100644 --- a/journey/src/components/app/default-main-panel.js +++ b/journey/src/components/app/default-main-panel.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { connect } from 'react-redux' import isEqual from 'lodash.isequal' diff --git a/journey/src/components/app/desktop-nav.js b/journey/src/components/app/desktop-nav.js index a9a7a016..254015c3 100644 --- a/journey/src/components/app/desktop-nav.js +++ b/journey/src/components/app/desktop-nav.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import { Nav, Navbar } from 'react-bootstrap' import { connect } from 'react-redux' diff --git a/journey/src/components/app/modal-credits.js b/journey/src/components/app/modal-credits.js index ec044aae..4b701c9f 100644 --- a/journey/src/components/app/modal-credits.js +++ b/journey/src/components/app/modal-credits.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { Modal } from 'react-bootstrap' import { withNamespaces } from "react-i18next" diff --git a/journey/src/components/app/print-layout.js b/journey/src/components/app/print-layout.js index 865fd05b..7e2d375c 100644 --- a/journey/src/components/app/print-layout.js +++ b/journey/src/components/app/print-layout.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PrintableItinerary from '../../otp-ui/printable-itinerary' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/app/responsive-webapp.js b/journey/src/components/app/responsive-webapp.js index 8e308303..4cf04a81 100644 --- a/journey/src/components/app/responsive-webapp.js +++ b/journey/src/components/app/responsive-webapp.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { ConnectedRouter } from 'connected-react-router' import { createHashHistory } from 'history' import isEqual from 'lodash.isequal' diff --git a/journey/src/components/form/connected-location-field.js b/journey/src/components/form/connected-location-field.js index 9a1b663e..8199a19b 100644 --- a/journey/src/components/form/connected-location-field.js +++ b/journey/src/components/form/connected-location-field.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import LocationField from '../../otp-ui/location-field' import { DropdownContainer, diff --git a/journey/src/components/form/connected-settings-selector-panel.js b/journey/src/components/form/connected-settings-selector-panel.js index 23c57ff7..929b9115 100644 --- a/journey/src/components/form/connected-settings-selector-panel.js +++ b/journey/src/components/form/connected-settings-selector-panel.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/form/date-time-modal.js b/journey/src/components/form/date-time-modal.js index bfd21545..7013b967 100644 --- a/journey/src/components/form/date-time-modal.js +++ b/journey/src/components/form/date-time-modal.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/form/date-time-preview.js b/journey/src/components/form/date-time-preview.js index fc6ecd9e..04c502a7 100644 --- a/journey/src/components/form/date-time-preview.js +++ b/journey/src/components/form/date-time-preview.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import moment from 'moment' import coreUtils from '../../otp-ui/core-utils' import PropTypes from 'prop-types' diff --git a/journey/src/components/form/default-search-form.js b/journey/src/components/form/default-search-form.js index f955ba14..cf3aa13d 100644 --- a/journey/src/components/form/default-search-form.js +++ b/journey/src/components/form/default-search-form.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from 'prop-types' import React, { Component } from 'react' import { withNamespaces } from "react-i18next"; diff --git a/journey/src/components/form/error-message.js b/journey/src/components/form/error-message.js index beb538fa..5d5830e7 100644 --- a/journey/src/components/form/error-message.js +++ b/journey/src/components/form/error-message.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/form/intermediate-place-field.js b/journey/src/components/form/intermediate-place-field.js index 6c60a8ed..f8c558b7 100644 --- a/journey/src/components/form/intermediate-place-field.js +++ b/journey/src/components/form/intermediate-place-field.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import LocationField from '../../otp-ui/location-field' import { DropdownContainer, diff --git a/journey/src/components/form/plan-trip-button.js b/journey/src/components/form/plan-trip-button.js index 06266b61..459befec 100644 --- a/journey/src/components/form/plan-trip-button.js +++ b/journey/src/components/form/plan-trip-button.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/form/settings-preview.js b/journey/src/components/form/settings-preview.js index da80bfd5..a71500c1 100644 --- a/journey/src/components/form/settings-preview.js +++ b/journey/src/components/form/settings-preview.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/form/styled.js b/journey/src/components/form/styled.js index b9ba9db2..bc2193c3 100644 --- a/journey/src/components/form/styled.js +++ b/journey/src/components/form/styled.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import styled, { css } from 'styled-components' import { DateTimeSelector, SettingsSelectorPanel } from '../../otp-ui/trip-form' import * as TripFormClasses from '../../otp-ui/trip-form/styled' diff --git a/journey/src/components/form/switch-button.js b/journey/src/components/form/switch-button.js index 884d566b..fff81b6d 100644 --- a/journey/src/components/form/switch-button.js +++ b/journey/src/components/form/switch-button.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { Button } from 'react-bootstrap' diff --git a/journey/src/components/form/tabbed-form-panel.js b/journey/src/components/form/tabbed-form-panel.js index 453d07dd..5d21b6e5 100644 --- a/journey/src/components/form/tabbed-form-panel.js +++ b/journey/src/components/form/tabbed-form-panel.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { Button, Grid, Row, Col } from 'react-bootstrap' diff --git a/journey/src/components/form/user-settings.js b/journey/src/components/form/user-settings.js index 9b1af478..3e8e7852 100644 --- a/journey/src/components/form/user-settings.js +++ b/journey/src/components/form/user-settings.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import moment from 'moment' import coreUtils from '../../otp-ui/core-utils' import React, { Component } from 'react' diff --git a/journey/src/components/form/user-trip-settings.js b/journey/src/components/form/user-trip-settings.js index f4a07bd3..7fd2ef1f 100644 --- a/journey/src/components/form/user-trip-settings.js +++ b/journey/src/components/form/user-trip-settings.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import React, { Component } from 'react' import { Button } from 'react-bootstrap' diff --git a/journey/src/components/map/bounds-updating-overlay.js b/journey/src/components/map/bounds-updating-overlay.js index 2c34acb3..d3c5e07f 100644 --- a/journey/src/components/map/bounds-updating-overlay.js +++ b/journey/src/components/map/bounds-updating-overlay.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import isEqual from 'lodash.isequal' import coreUtils from '../../otp-ui/core-utils' import L from 'leaflet' diff --git a/journey/src/components/map/connected-endpoints-overlay.js b/journey/src/components/map/connected-endpoints-overlay.js index 54db2084..c2a8a815 100644 --- a/journey/src/components/map/connected-endpoints-overlay.js +++ b/journey/src/components/map/connected-endpoints-overlay.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import EndpointsOverlay from '../../otp-ui/overlay-endpoints' import { connect } from 'react-redux' diff --git a/journey/src/components/map/connected-park-and-ride-overlay.js b/journey/src/components/map/connected-park-and-ride-overlay.js index 7ef71122..955c0e63 100644 --- a/journey/src/components/map/connected-park-and-ride-overlay.js +++ b/journey/src/components/map/connected-park-and-ride-overlay.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import ParkAndRideOverlay from '../../otp-ui/overlay-park-and-ride' import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/journey/src/components/map/connected-route-viewer-overlay.js b/journey/src/components/map/connected-route-viewer-overlay.js index bebcd240..c831b626 100644 --- a/journey/src/components/map/connected-route-viewer-overlay.js +++ b/journey/src/components/map/connected-route-viewer-overlay.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import RouteViewerOverlay from '../../otp-ui/overlay-route-viewer' import { connect } from 'react-redux' diff --git a/journey/src/components/map/connected-stop-marker.js b/journey/src/components/map/connected-stop-marker.js index 8679a18e..b7f49943 100644 --- a/journey/src/components/map/connected-stop-marker.js +++ b/journey/src/components/map/connected-stop-marker.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import DefaultStopMarker from '../../otp-ui/overlay-stops/stop-marker' import { connect } from 'react-redux' diff --git a/journey/src/components/map/connected-stop-viewer-overlay.js b/journey/src/components/map/connected-stop-viewer-overlay.js index d8df1bda..0e51dc00 100644 --- a/journey/src/components/map/connected-stop-viewer-overlay.js +++ b/journey/src/components/map/connected-stop-viewer-overlay.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import StopViewerOverlay from '../../otp-ui/overlay-stop-viewer' import DefaultStopMarker from '../../otp-ui/overlay-stop-viewer/default-stop-marker' import { connect } from 'react-redux' diff --git a/journey/src/components/map/connected-stops-overlay.js b/journey/src/components/map/connected-stops-overlay.js index 8291770f..a33b8d16 100644 --- a/journey/src/components/map/connected-stops-overlay.js +++ b/journey/src/components/map/connected-stops-overlay.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import StopsOverlay from '../../otp-ui/overlay-stops' import StopMarker from './connected-stop-marker' import { connect } from 'react-redux' diff --git a/journey/src/components/map/connected-transitive-overlay.js b/journey/src/components/map/connected-transitive-overlay.js index ae150371..1d4e251b 100644 --- a/journey/src/components/map/connected-transitive-overlay.js +++ b/journey/src/components/map/connected-transitive-overlay.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import TransitiveCanvasOverlay from '../../otp-ui/overlay-transitive' import { connect } from 'react-redux' diff --git a/journey/src/components/map/connected-trip-viewer-overlay.js b/journey/src/components/map/connected-trip-viewer-overlay.js index 086c28a1..5e861f26 100644 --- a/journey/src/components/map/connected-trip-viewer-overlay.js +++ b/journey/src/components/map/connected-trip-viewer-overlay.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import TripViewerOverlay from '../../otp-ui/overlay-trip-viewer' import { connect } from 'react-redux' diff --git a/journey/src/components/map/connected-vehicle-rental-overlay.js b/journey/src/components/map/connected-vehicle-rental-overlay.js index fd38c665..167bd32e 100644 --- a/journey/src/components/map/connected-vehicle-rental-overlay.js +++ b/journey/src/components/map/connected-vehicle-rental-overlay.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import VehicleRentalOverlay from '../../otp-ui/overlay-vehicle-rental' import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/journey/src/components/map/default-map.js b/journey/src/components/map/default-map.js index b86f45be..6cd7f4e1 100644 --- a/journey/src/components/map/default-map.js +++ b/journey/src/components/map/default-map.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import BaseMap from '../../otp-ui/base-map' import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/journey/src/components/map/elevation-point-marker.js b/journey/src/components/map/elevation-point-marker.js index 7d7e11e3..41ce9d8a 100644 --- a/journey/src/components/map/elevation-point-marker.js +++ b/journey/src/components/map/elevation-point-marker.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/journey/src/components/map/leg-diagram.js b/journey/src/components/map/leg-diagram.js index 0ca942a6..3e71a072 100644 --- a/journey/src/components/map/leg-diagram.js +++ b/journey/src/components/map/leg-diagram.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import memoize from 'lodash.memoize' import coreUtils from '../../otp-ui/core-utils' import PropTypes from 'prop-types' diff --git a/journey/src/components/map/map.js b/journey/src/components/map/map.js index c3474437..7935be74 100644 --- a/journey/src/components/map/map.js +++ b/journey/src/components/map/map.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { connect } from 'react-redux' import { ButtonGroup, Button } from 'react-bootstrap' diff --git a/journey/src/components/map/osm-base-layer.js b/journey/src/components/map/osm-base-layer.js index 2932f690..6d03f168 100644 --- a/journey/src/components/map/osm-base-layer.js +++ b/journey/src/components/map/osm-base-layer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { TileLayer } from 'react-leaflet' diff --git a/journey/src/components/map/overlay-tile.js b/journey/src/components/map/overlay-tile.js index 48fcd640..c3c3b550 100644 --- a/journey/src/components/map/overlay-tile.js +++ b/journey/src/components/map/overlay-tile.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { TileLayer } from 'react-leaflet' diff --git a/journey/src/components/map/point-popup.js b/journey/src/components/map/point-popup.js index 77245267..a099db86 100644 --- a/journey/src/components/map/point-popup.js +++ b/journey/src/components/map/point-popup.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, {Component} from 'react' import FromToLocationPicker from '../../otp-ui/from-to-location-picker' import { withNamespaces } from 'react-i18next' diff --git a/journey/src/components/map/stylized-map.js b/journey/src/components/map/stylized-map.js index 15402623..c84edc54 100644 --- a/journey/src/components/map/stylized-map.js +++ b/journey/src/components/map/stylized-map.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { select, event } from 'd3-selection' import { zoom } from 'd3-zoom' import coreUtils from '../../otp-ui/core-utils' diff --git a/journey/src/components/mobile/container.js b/journey/src/components/mobile/container.js index fc79f524..fb7affd2 100644 --- a/journey/src/components/mobile/container.js +++ b/journey/src/components/mobile/container.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' export default class MobileContainer extends Component { diff --git a/journey/src/components/mobile/date-time-screen.js b/journey/src/components/mobile/date-time-screen.js index 5b0223d2..28e967e4 100644 --- a/journey/src/components/mobile/date-time-screen.js +++ b/journey/src/components/mobile/date-time-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/mobile/location-search.js b/journey/src/components/mobile/location-search.js index 2c3f2d82..8da25560 100644 --- a/journey/src/components/mobile/location-search.js +++ b/journey/src/components/mobile/location-search.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/mobile/main.js b/journey/src/components/mobile/main.js index 12d87b4d..171ce77f 100644 --- a/journey/src/components/mobile/main.js +++ b/journey/src/components/mobile/main.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/mobile/navigation-bar.js b/journey/src/components/mobile/navigation-bar.js index 885d4cf0..bd17689f 100644 --- a/journey/src/components/mobile/navigation-bar.js +++ b/journey/src/components/mobile/navigation-bar.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from 'prop-types' import React, { Component } from 'react' import { Navbar, Nav } from 'react-bootstrap' diff --git a/journey/src/components/mobile/options-screen.js b/journey/src/components/mobile/options-screen.js index 33bb7625..722edd67 100644 --- a/journey/src/components/mobile/options-screen.js +++ b/journey/src/components/mobile/options-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/mobile/results-screen.js b/journey/src/components/mobile/results-screen.js index 838c067f..cacb9327 100644 --- a/journey/src/components/mobile/results-screen.js +++ b/journey/src/components/mobile/results-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import LocationIcon from '../../otp-ui/location-icon' import PropTypes from 'prop-types' diff --git a/journey/src/components/mobile/route-viewer.js b/journey/src/components/mobile/route-viewer.js index 242eda5a..51db0ee3 100644 --- a/journey/src/components/mobile/route-viewer.js +++ b/journey/src/components/mobile/route-viewer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/mobile/search-screen.js b/journey/src/components/mobile/search-screen.js index c41e5fb9..0329fadb 100644 --- a/journey/src/components/mobile/search-screen.js +++ b/journey/src/components/mobile/search-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/mobile/stop-viewer.js b/journey/src/components/mobile/stop-viewer.js index 961f53c9..9e5a39b5 100644 --- a/journey/src/components/mobile/stop-viewer.js +++ b/journey/src/components/mobile/stop-viewer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/mobile/trip-viewer.js b/journey/src/components/mobile/trip-viewer.js index 81ef0a89..95c7daab 100644 --- a/journey/src/components/mobile/trip-viewer.js +++ b/journey/src/components/mobile/trip-viewer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/mobile/welcome-screen.js b/journey/src/components/mobile/welcome-screen.js index 8330320b..b7f4f907 100644 --- a/journey/src/components/mobile/welcome-screen.js +++ b/journey/src/components/mobile/welcome-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/narrative/connected-trip-details.js b/journey/src/components/narrative/connected-trip-details.js index 6fc9fa9f..2c723065 100644 --- a/journey/src/components/narrative/connected-trip-details.js +++ b/journey/src/components/narrative/connected-trip-details.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import TripDetailsBase from '../../otp-ui/trip-details' import { connect } from 'react-redux' diff --git a/journey/src/components/narrative/default/access-leg.js b/journey/src/components/narrative/default/access-leg.js index 5828aaf1..dbba5a16 100644 --- a/journey/src/components/narrative/default/access-leg.js +++ b/journey/src/components/narrative/default/access-leg.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../../otp-ui/core-utils' import { humanizeDistanceString } from '../../../otp-ui/humanize-distance' import PropTypes from 'prop-types' diff --git a/journey/src/components/narrative/default/default-itinerary.js b/journey/src/components/narrative/default/default-itinerary.js index 5efc3e5d..d0f2b365 100644 --- a/journey/src/components/narrative/default/default-itinerary.js +++ b/journey/src/components/narrative/default/default-itinerary.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../../otp-ui/core-utils' import React from 'react' import { withNamespaces } from "react-i18next"; diff --git a/journey/src/components/narrative/default/itinerary-details.js b/journey/src/components/narrative/default/itinerary-details.js index f2ebe794..a412afad 100644 --- a/journey/src/components/narrative/default/itinerary-details.js +++ b/journey/src/components/narrative/default/itinerary-details.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../../otp-ui/core-utils' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/narrative/default/itinerary-summary.js b/journey/src/components/narrative/default/itinerary-summary.js index d088dbde..71acb8ee 100644 --- a/journey/src/components/narrative/default/itinerary-summary.js +++ b/journey/src/components/narrative/default/itinerary-summary.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' diff --git a/journey/src/components/narrative/default/tnc-leg.js b/journey/src/components/narrative/default/tnc-leg.js index 06758448..6aa1db33 100644 --- a/journey/src/components/narrative/default/tnc-leg.js +++ b/journey/src/components/narrative/default/tnc-leg.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import currencyFormatter from 'currency-formatter' import coreUtils from '../../../otp-ui/core-utils' import PropTypes from 'prop-types' diff --git a/journey/src/components/narrative/default/transit-leg.js b/journey/src/components/narrative/default/transit-leg.js index 34a8d624..15656562 100644 --- a/journey/src/components/narrative/default/transit-leg.js +++ b/journey/src/components/narrative/default/transit-leg.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../../otp-ui/core-utils' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/narrative/icon.js b/journey/src/components/narrative/icon.js index 4e40cec0..02ff6bbb 100644 --- a/journey/src/components/narrative/icon.js +++ b/journey/src/components/narrative/icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import FontAwesome from 'react-fontawesome' diff --git a/journey/src/components/narrative/itinerary-carousel.js b/journey/src/components/narrative/itinerary-carousel.js index 0d77801a..3b5bc2cf 100644 --- a/journey/src/components/narrative/itinerary-carousel.js +++ b/journey/src/components/narrative/itinerary-carousel.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/narrative/leg-diagram-preview.js b/journey/src/components/narrative/leg-diagram-preview.js index 8419abf9..06063176 100644 --- a/journey/src/components/narrative/leg-diagram-preview.js +++ b/journey/src/components/narrative/leg-diagram-preview.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import LegDiagramPreviewLayout from '../../otp-ui/itinerary-body/src/AccessLegBody/leg-diagram-preview' import { connect } from 'react-redux' diff --git a/journey/src/components/narrative/line-itin/connected-itinerary-body.js b/journey/src/components/narrative/line-itin/connected-itinerary-body.js index e8d77018..b93a0ced 100644 --- a/journey/src/components/narrative/line-itin/connected-itinerary-body.js +++ b/journey/src/components/narrative/line-itin/connected-itinerary-body.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import isEqual from 'lodash.isequal' import TransitLegSummary from '../../../otp-ui/itinerary-body/defaults/transit-leg-summary' import ItineraryBody from '../../../otp-ui/itinerary-body' diff --git a/journey/src/components/narrative/line-itin/connected-transit-leg-subheader.js b/journey/src/components/narrative/line-itin/connected-transit-leg-subheader.js index ae34f922..4c6d3955 100644 --- a/journey/src/components/narrative/line-itin/connected-transit-leg-subheader.js +++ b/journey/src/components/narrative/line-itin/connected-transit-leg-subheader.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import TransitLegSubheader from '../../../otp-ui/itinerary-body/otp-react-redux/transit-leg-subheader' import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/journey/src/components/narrative/line-itin/itin-summary.js b/journey/src/components/narrative/line-itin/itin-summary.js index efa6aa57..dab0ab01 100644 --- a/journey/src/components/narrative/line-itin/itin-summary.js +++ b/journey/src/components/narrative/line-itin/itin-summary.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../../otp-ui/core-utils' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/narrative/line-itin/line-itinerary.js b/journey/src/components/narrative/line-itin/line-itinerary.js index e1311982..549803ea 100644 --- a/journey/src/components/narrative/line-itin/line-itinerary.js +++ b/journey/src/components/narrative/line-itin/line-itinerary.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../../otp-ui/core-utils' import React from 'react' import { withNamespaces } from 'react-i18next' diff --git a/journey/src/components/narrative/line-itin/realtime-time-column.js b/journey/src/components/narrative/line-itin/realtime-time-column.js index ce641c62..e06a91bb 100644 --- a/journey/src/components/narrative/line-itin/realtime-time-column.js +++ b/journey/src/components/narrative/line-itin/realtime-time-column.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { isTransit } from '../../../otp-ui/core-utils/itinerary' import { legType, diff --git a/journey/src/components/narrative/loading.js b/journey/src/components/narrative/loading.js index d80507df..a9c311d2 100644 --- a/journey/src/components/narrative/loading.js +++ b/journey/src/components/narrative/loading.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import Icon from './icon' diff --git a/journey/src/components/narrative/mode-icon.js b/journey/src/components/narrative/mode-icon.js index 453c1188..86640a1f 100644 --- a/journey/src/components/narrative/mode-icon.js +++ b/journey/src/components/narrative/mode-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import Icon from './icon' import React, { Component } from 'react' import PropTypes from 'prop-types' diff --git a/journey/src/components/narrative/narrative-itineraries.js b/journey/src/components/narrative/narrative-itineraries.js index 254ac73a..14a7296d 100644 --- a/journey/src/components/narrative/narrative-itineraries.js +++ b/journey/src/components/narrative/narrative-itineraries.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import React, { Component } from 'react' import PropTypes from 'prop-types' diff --git a/journey/src/components/narrative/narrative-itinerary.js b/journey/src/components/narrative/narrative-itinerary.js index dd51139b..0f375dec 100644 --- a/journey/src/components/narrative/narrative-itinerary.js +++ b/journey/src/components/narrative/narrative-itinerary.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { Component } from 'react' import PropTypes from 'prop-types' diff --git a/journey/src/components/narrative/narrative-routing-results.js b/journey/src/components/narrative/narrative-routing-results.js index ade5908b..a4fb1897 100644 --- a/journey/src/components/narrative/narrative-routing-results.js +++ b/journey/src/components/narrative/narrative-routing-results.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/components/narrative/realtime-annotation.js b/journey/src/components/narrative/realtime-annotation.js index 1587aad8..55e28f5a 100644 --- a/journey/src/components/narrative/realtime-annotation.js +++ b/journey/src/components/narrative/realtime-annotation.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/narrative/simple-realtime-annotation.js b/journey/src/components/narrative/simple-realtime-annotation.js index 9578583b..3cdf59b3 100644 --- a/journey/src/components/narrative/simple-realtime-annotation.js +++ b/journey/src/components/narrative/simple-realtime-annotation.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { withNamespaces } from "react-i18next" diff --git a/journey/src/components/narrative/tabbed-itineraries.js b/journey/src/components/narrative/tabbed-itineraries.js index aae3347d..66b7fad5 100644 --- a/journey/src/components/narrative/tabbed-itineraries.js +++ b/journey/src/components/narrative/tabbed-itineraries.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/narrative/trip-tools.js b/journey/src/components/narrative/trip-tools.js index 431df04e..45f5691a 100644 --- a/journey/src/components/narrative/trip-tools.js +++ b/journey/src/components/narrative/trip-tools.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, {Component} from 'react' import { connect } from 'react-redux' import { Button, ButtonGroup } from 'react-bootstrap' diff --git a/journey/src/components/user/account-setup-finish-pane.js b/journey/src/components/user/account-setup-finish-pane.js index 835aa9ed..e7071326 100644 --- a/journey/src/components/user/account-setup-finish-pane.js +++ b/journey/src/components/user/account-setup-finish-pane.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import { withNamespaces } from "react-i18next" diff --git a/journey/src/components/user/after-signin-screen.js b/journey/src/components/user/after-signin-screen.js index 6eebb959..ca3c4dba 100644 --- a/journey/src/components/user/after-signin-screen.js +++ b/journey/src/components/user/after-signin-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import * as routerActions from 'connected-react-router' import React, { Component } from 'react' import FontAwesome from 'react-fontawesome' diff --git a/journey/src/components/user/awaiting-screen.js b/journey/src/components/user/awaiting-screen.js index cb70e878..e1c90db3 100644 --- a/journey/src/components/user/awaiting-screen.js +++ b/journey/src/components/user/awaiting-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import { withNamespaces } from "react-i18next" diff --git a/journey/src/components/user/before-signin-screen.js b/journey/src/components/user/before-signin-screen.js index 9b48e8d2..3b0530e9 100644 --- a/journey/src/components/user/before-signin-screen.js +++ b/journey/src/components/user/before-signin-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import { withNamespaces } from "react-i18next" diff --git a/journey/src/components/user/existing-account-display.js b/journey/src/components/user/existing-account-display.js index aa9d64d5..da00761c 100644 --- a/journey/src/components/user/existing-account-display.js +++ b/journey/src/components/user/existing-account-display.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { withNamespaces } from "react-i18next" diff --git a/journey/src/components/user/favorite-locations-pane.js b/journey/src/components/user/favorite-locations-pane.js index 68b32d88..5179c7c1 100644 --- a/journey/src/components/user/favorite-locations-pane.js +++ b/journey/src/components/user/favorite-locations-pane.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import clone from 'lodash/cloneDeep' import memoize from 'lodash.memoize' import PropTypes from 'prop-types' diff --git a/journey/src/components/user/form-navigation-buttons.js b/journey/src/components/user/form-navigation-buttons.js index e8101717..16fe3913 100644 --- a/journey/src/components/user/form-navigation-buttons.js +++ b/journey/src/components/user/form-navigation-buttons.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from 'prop-types' import React from 'react' import { Button, FormGroup } from 'react-bootstrap' diff --git a/journey/src/components/user/link-button.js b/journey/src/components/user/link-button.js index ad7d4e43..b916d856 100644 --- a/journey/src/components/user/link-button.js +++ b/journey/src/components/user/link-button.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from 'prop-types' import React, { Component } from 'react' import { Button } from 'react-bootstrap' diff --git a/journey/src/components/user/link-menu-item.js b/journey/src/components/user/link-menu-item.js index 7e0ac454..5c3f6e9f 100644 --- a/journey/src/components/user/link-menu-item.js +++ b/journey/src/components/user/link-menu-item.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from 'prop-types' import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/journey/src/components/user/nav-login-button-auth0.js b/journey/src/components/user/nav-login-button-auth0.js index 415d30b9..49bd1557 100644 --- a/journey/src/components/user/nav-login-button-auth0.js +++ b/journey/src/components/user/nav-login-button-auth0.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import { useAuth } from 'use-auth0-hooks' diff --git a/journey/src/components/user/nav-login-button.js b/journey/src/components/user/nav-login-button.js index 76468473..fca0fa62 100644 --- a/journey/src/components/user/nav-login-button.js +++ b/journey/src/components/user/nav-login-button.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from 'prop-types' import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/journey/src/components/user/new-account-wizard.js b/journey/src/components/user/new-account-wizard.js index f59f6926..36a89591 100644 --- a/journey/src/components/user/new-account-wizard.js +++ b/journey/src/components/user/new-account-wizard.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import { withNamespaces } from "react-i18next" diff --git a/journey/src/components/user/notification-prefs-pane.js b/journey/src/components/user/notification-prefs-pane.js index 8353f236..71cdde3e 100644 --- a/journey/src/components/user/notification-prefs-pane.js +++ b/journey/src/components/user/notification-prefs-pane.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from 'prop-types' import React, { Component } from 'react' import { ButtonToolbar, ControlLabel, FormControl, FormGroup, ToggleButton, ToggleButtonGroup } from 'react-bootstrap' diff --git a/journey/src/components/user/phone-verification-pane.js b/journey/src/components/user/phone-verification-pane.js index ba80612a..2e89f177 100644 --- a/journey/src/components/user/phone-verification-pane.js +++ b/journey/src/components/user/phone-verification-pane.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import { Alert, FormControl, FormGroup } from 'react-bootstrap' import { withNamespaces } from "react-i18next" diff --git a/journey/src/components/user/saved-trip-editor.js b/journey/src/components/user/saved-trip-editor.js index bac2bd50..6d1b0af9 100644 --- a/journey/src/components/user/saved-trip-editor.js +++ b/journey/src/components/user/saved-trip-editor.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import { withNamespaces } from "react-i18next" diff --git a/journey/src/components/user/saved-trip-list.js b/journey/src/components/user/saved-trip-list.js index 26a4d751..03aea9e9 100644 --- a/journey/src/components/user/saved-trip-list.js +++ b/journey/src/components/user/saved-trip-list.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import clone from 'clone' import React, { Component } from 'react' import { Button, ButtonGroup, Glyphicon, Panel } from 'react-bootstrap' diff --git a/journey/src/components/user/saved-trip-screen.js b/journey/src/components/user/saved-trip-screen.js index 9febb617..5e650283 100644 --- a/journey/src/components/user/saved-trip-screen.js +++ b/journey/src/components/user/saved-trip-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { connect } from 'react-redux' import { withLoginRequired } from 'use-auth0-hooks' diff --git a/journey/src/components/user/sequential-pane-display.js b/journey/src/components/user/sequential-pane-display.js index 39a7d56b..6ea391d7 100644 --- a/journey/src/components/user/sequential-pane-display.js +++ b/journey/src/components/user/sequential-pane-display.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from 'prop-types' import React, { Component } from 'react' import styled from 'styled-components' diff --git a/journey/src/components/user/stacked-pane-display.js b/journey/src/components/user/stacked-pane-display.js index ed5544c6..d0c84b79 100644 --- a/journey/src/components/user/stacked-pane-display.js +++ b/journey/src/components/user/stacked-pane-display.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from 'prop-types' import React from 'react' import styled from 'styled-components' diff --git a/journey/src/components/user/terms-of-use-pane.js b/journey/src/components/user/terms-of-use-pane.js index b5f85b28..7c9602bc 100644 --- a/journey/src/components/user/terms-of-use-pane.js +++ b/journey/src/components/user/terms-of-use-pane.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from 'prop-types' import React, { Component } from 'react' import { Checkbox, ControlLabel, FormGroup } from 'react-bootstrap' diff --git a/journey/src/components/user/trip-basics-pane.js b/journey/src/components/user/trip-basics-pane.js index b3ca76a4..2907071c 100644 --- a/journey/src/components/user/trip-basics-pane.js +++ b/journey/src/components/user/trip-basics-pane.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { ButtonToolbar, diff --git a/journey/src/components/user/trip-notifications-pane.js b/journey/src/components/user/trip-notifications-pane.js index d87c1193..6b78d1c3 100644 --- a/journey/src/components/user/trip-notifications-pane.js +++ b/journey/src/components/user/trip-notifications-pane.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { Alert, Checkbox, ControlLabel, FormControl, FormGroup, Radio } from 'react-bootstrap' import styled from 'styled-components' diff --git a/journey/src/components/user/trip-summary-pane.js b/journey/src/components/user/trip-summary-pane.js index 73041d97..4f7de1d0 100644 --- a/journey/src/components/user/trip-summary-pane.js +++ b/journey/src/components/user/trip-summary-pane.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { dayFieldsToArray } from '../../util/monitored-trip' diff --git a/journey/src/components/user/trip-summary.js b/journey/src/components/user/trip-summary.js index d4e74068..98376807 100644 --- a/journey/src/components/user/trip-summary.js +++ b/journey/src/components/user/trip-summary.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import { ClassicLegIcon } from '../../otp-ui/icons' import React from 'react' diff --git a/journey/src/components/user/user-account-screen.js b/journey/src/components/user/user-account-screen.js index 0c77fa85..f8ae08c7 100644 --- a/journey/src/components/user/user-account-screen.js +++ b/journey/src/components/user/user-account-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import clone from 'lodash/cloneDeep' import React, { Component } from 'react' import { connect } from 'react-redux' diff --git a/journey/src/components/user/verify-email-screen.js b/journey/src/components/user/verify-email-screen.js index cf212a9c..8cd5396f 100644 --- a/journey/src/components/user/verify-email-screen.js +++ b/journey/src/components/user/verify-email-screen.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import { Button } from 'react-bootstrap' diff --git a/journey/src/components/user/with-logged-in-user-support.js b/journey/src/components/user/with-logged-in-user-support.js index 4b60ee4d..4e5894aa 100644 --- a/journey/src/components/user/with-logged-in-user-support.js +++ b/journey/src/components/user/with-logged-in-user-support.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { connect } from 'react-redux' import { withAuth } from 'use-auth0-hooks' diff --git a/journey/src/components/viewers/pattern-row.js b/journey/src/components/viewers/pattern-row.js index fdddc8fc..0e6e1ffb 100644 --- a/journey/src/components/viewers/pattern-row.js +++ b/journey/src/components/viewers/pattern-row.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import { VelocityTransitionGroup } from 'velocity-react' import { withNamespaces } from "react-i18next" diff --git a/journey/src/components/viewers/route-viewer.js b/journey/src/components/viewers/route-viewer.js index b3e060fc..f4420f4b 100644 --- a/journey/src/components/viewers/route-viewer.js +++ b/journey/src/components/viewers/route-viewer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import React, { Component, PureComponent } from 'react' import PropTypes from 'prop-types' diff --git a/journey/src/components/viewers/stop-viewer.js b/journey/src/components/viewers/stop-viewer.js index bd96a844..3213e827 100644 --- a/journey/src/components/viewers/stop-viewer.js +++ b/journey/src/components/viewers/stop-viewer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import moment from 'moment' import 'moment-timezone' import coreUtils from '../../otp-ui/core-utils' diff --git a/journey/src/components/viewers/trip-viewer.js b/journey/src/components/viewers/trip-viewer.js index 275c89a0..7a48b31b 100644 --- a/journey/src/components/viewers/trip-viewer.js +++ b/journey/src/components/viewers/trip-viewer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../../otp-ui/core-utils' import PropTypes from 'prop-types' import React, { Component } from 'react' diff --git a/journey/src/components/viewers/view-stop-button.js b/journey/src/components/viewers/view-stop-button.js index aa7e876c..d9ff1f61 100644 --- a/journey/src/components/viewers/view-stop-button.js +++ b/journey/src/components/viewers/view-stop-button.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { Button } from 'react-bootstrap' diff --git a/journey/src/components/viewers/view-trip-button.js b/journey/src/components/viewers/view-trip-button.js index f48f6b9e..ed6c9ae1 100644 --- a/journey/src/components/viewers/view-trip-button.js +++ b/journey/src/components/viewers/view-trip-button.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { Button } from 'react-bootstrap' diff --git a/journey/src/components/viewers/viewer-container.js b/journey/src/components/viewers/viewer-container.js index 4871437c..51cbcb74 100644 --- a/journey/src/components/viewers/viewer-container.js +++ b/journey/src/components/viewers/viewer-container.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/config.js b/journey/src/config.js index 2bbd1778..8f6bad49 100644 --- a/journey/src/config.js +++ b/journey/src/config.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /** * To customize certain UI features, create a file like this one and specify it * during build/start to override this default version of the file: diff --git a/journey/src/custom-icons.js b/journey/src/custom-icons.js index 3395e8fd..bf1f8af3 100644 --- a/journey/src/custom-icons.js +++ b/journey/src/custom-icons.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { ClassicBus, ClassicGondola, diff --git a/journey/src/i18n/de.js b/journey/src/i18n/de.js index 901be280..90ab2a01 100644 --- a/journey/src/i18n/de.js +++ b/journey/src/i18n/de.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: CC0-1.0 + export const TRANSLATIONS_DE = { "default_lang": "de", "privacy_policy": "Datenschutzrichtlinien", diff --git a/journey/src/i18n/default.js b/journey/src/i18n/default.js index f64e77a0..de08dd89 100644 --- a/journey/src/i18n/default.js +++ b/journey/src/i18n/default.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later import { TRANSLATIONS_EN } from "./en"; //const { TRANSLATIONS_EN } = require("./en"); diff --git a/journey/src/i18n/en.js b/journey/src/i18n/en.js index f63d8eef..27efeaba 100644 --- a/journey/src/i18n/en.js +++ b/journey/src/i18n/en.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: CC0-1.0 + export const TRANSLATIONS_EN = { "default_lang": "en", "privacy_policy": "Privacy Policy", diff --git a/journey/src/i18n/index.js b/journey/src/i18n/index.js index e5dbb8d6..d66696fc 100644 --- a/journey/src/i18n/index.js +++ b/journey/src/i18n/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import i18n from "i18next"; import { reactI18nextModule } from "react-i18next"; import detector from "i18next-browser-languagedetector"; diff --git a/journey/src/i18n/it.js b/journey/src/i18n/it.js index 3cf9cea7..ec3f4101 100644 --- a/journey/src/i18n/it.js +++ b/journey/src/i18n/it.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: CC0-1.0 + export const TRANSLATIONS_IT = { "default_lang": "it", "privacy_policy": "Privacy Policy", diff --git a/journey/src/index.tpl.html b/journey/src/index.tpl.html index b2e1d405..58eb1aee 100644 --- a/journey/src/index.tpl.html +++ b/journey/src/index.tpl.html @@ -1,3 +1,9 @@ + + diff --git a/journey/src/main.js b/journey/src/main.js index 460a2a64..65844e4d 100644 --- a/journey/src/main.js +++ b/journey/src/main.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // import this polyfill in order to make webapp compatible with IE 11 import 'es6-math' diff --git a/journey/src/otp-ui/advanced-overlays-controller/index.js b/journey/src/otp-ui/advanced-overlays-controller/index.js index 5aa048dc..0d07947c 100644 --- a/journey/src/otp-ui/advanced-overlays-controller/index.js +++ b/journey/src/otp-ui/advanced-overlays-controller/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from "react"; import PropTypes from "prop-types"; import { LayersControl } from "react-leaflet"; diff --git a/journey/src/otp-ui/base-map/index.js b/journey/src/otp-ui/base-map/index.js index f7fc8052..08dfd6dd 100644 --- a/journey/src/otp-ui/base-map/index.js +++ b/journey/src/otp-ui/base-map/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from "react"; import PropTypes from "prop-types"; import { LayersControl, Map, Popup, TileLayer } from "react-leaflet"; diff --git a/journey/src/otp-ui/base-map/util.js b/journey/src/otp-ui/base-map/util.js index dcb8ce54..d872802c 100644 --- a/journey/src/otp-ui/base-map/util.js +++ b/journey/src/otp-ui/base-map/util.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /** * Checks if a parameter is actually a function. * @param {*} fn The function to call. diff --git a/journey/src/otp-ui/core-utils/index.js b/journey/src/otp-ui/core-utils/index.js index 7b0d49ea..cd872dd5 100644 --- a/journey/src/otp-ui/core-utils/index.js +++ b/journey/src/otp-ui/core-utils/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import * as itinerary from "./itinerary"; import * as map from "./map"; import * as profile from "./profile"; diff --git a/journey/src/otp-ui/core-utils/itinerary.js b/journey/src/otp-ui/core-utils/itinerary.js index dbf17a26..dc259b74 100644 --- a/journey/src/otp-ui/core-utils/itinerary.js +++ b/journey/src/otp-ui/core-utils/itinerary.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import polyline from "@mapbox/polyline"; import turfAlong from "@turf/along"; diff --git a/journey/src/otp-ui/core-utils/map.js b/journey/src/otp-ui/core-utils/map.js index af29a880..42796c83 100644 --- a/journey/src/otp-ui/core-utils/map.js +++ b/journey/src/otp-ui/core-utils/map.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import moment from "moment"; import { getPlaceName, isTransit, toSentenceCase } from "./itinerary"; diff --git a/journey/src/otp-ui/core-utils/messages.js b/journey/src/otp-ui/core-utils/messages.js index 549184b3..03d42059 100644 --- a/journey/src/otp-ui/core-utils/messages.js +++ b/journey/src/otp-ui/core-utils/messages.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /** * Takes component's default props messages and its instance props messages and * returns the merged messages. The returned object will ensure that the default diff --git a/journey/src/otp-ui/core-utils/overlays.js b/journey/src/otp-ui/core-utils/overlays.js index 36999f5e..a7165487 100644 --- a/journey/src/otp-ui/core-utils/overlays.js +++ b/journey/src/otp-ui/core-utils/overlays.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later //TODO move here filter logic in overlay-charger/index.js // diff --git a/journey/src/otp-ui/core-utils/profile.js b/journey/src/otp-ui/core-utils/profile.js index 82ef07b0..332f3b1c 100644 --- a/journey/src/otp-ui/core-utils/profile.js +++ b/journey/src/otp-ui/core-utils/profile.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + export function filterProfileOptions(response) { // Filter out similar options. TODO: handle on server? const optStrs = []; diff --git a/journey/src/otp-ui/core-utils/query-params.js b/journey/src/otp-ui/core-utils/query-params.js index b0fea19f..e1599c5f 100644 --- a/journey/src/otp-ui/core-utils/query-params.js +++ b/journey/src/otp-ui/core-utils/query-params.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { isTransit, isAccessMode, diff --git a/journey/src/otp-ui/core-utils/query.js b/journey/src/otp-ui/core-utils/query.js index 875d14d8..4fc0e380 100644 --- a/journey/src/otp-ui/core-utils/query.js +++ b/journey/src/otp-ui/core-utils/query.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import moment from "moment"; import getGeocoder from "../geocoder"; import qs from "qs"; diff --git a/journey/src/otp-ui/core-utils/route.js b/journey/src/otp-ui/core-utils/route.js index 6672cc8a..716d92c5 100644 --- a/journey/src/otp-ui/core-utils/route.js +++ b/journey/src/otp-ui/core-utils/route.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /** * Looks up an operator from the provided configuration. * @param {string} feedId - the feed ID, which can be obtained by splitting the diff --git a/journey/src/otp-ui/core-utils/storage.js b/journey/src/otp-ui/core-utils/storage.js index 909d5589..6796d8be 100644 --- a/journey/src/otp-ui/core-utils/storage.js +++ b/journey/src/otp-ui/core-utils/storage.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // Prefix to use with local storage keys. const STORAGE_PREFIX = "otp"; diff --git a/journey/src/otp-ui/core-utils/time.js b/journey/src/otp-ui/core-utils/time.js index 6435f7f9..5935898c 100644 --- a/journey/src/otp-ui/core-utils/time.js +++ b/journey/src/otp-ui/core-utils/time.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import moment from "moment-timezone"; // special constants for making sure the following date format is always sent to diff --git a/journey/src/otp-ui/core-utils/types.js b/journey/src/otp-ui/core-utils/types.js index b2ab243a..2cabce55 100644 --- a/journey/src/otp-ui/core-utils/types.js +++ b/journey/src/otp-ui/core-utils/types.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from "prop-types"; import { ReactPropTypeLocationNames } from "react"; import { isValidLatLng } from "./map"; diff --git a/journey/src/otp-ui/core-utils/ui.js b/journey/src/otp-ui/core-utils/ui.js index a5a7cbc9..bf1d91ec 100644 --- a/journey/src/otp-ui/core-utils/ui.js +++ b/journey/src/otp-ui/core-utils/ui.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import bowser from "bowser"; export function isMobile() { diff --git a/journey/src/otp-ui/from-to-location-picker/index.js b/journey/src/otp-ui/from-to-location-picker/index.js index 673e832c..dc298502 100644 --- a/journey/src/otp-ui/from-to-location-picker/index.js +++ b/journey/src/otp-ui/from-to-location-picker/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { locationType } from "../core-utils/types"; import LocationIcon from "../location-icon"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/geocoder/geocoders/abstract-geocoder.js b/journey/src/otp-ui/geocoder/geocoders/abstract-geocoder.js index 0752b40f..ac8bfbe2 100644 --- a/journey/src/otp-ui/geocoder/geocoders/abstract-geocoder.js +++ b/journey/src/otp-ui/geocoder/geocoders/abstract-geocoder.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import {fromCoordinates} from "@conveyal/lonlat"; /** diff --git a/journey/src/otp-ui/geocoder/geocoders/arcgis.js b/journey/src/otp-ui/geocoder/geocoders/arcgis.js index f17064c2..093db3cb 100644 --- a/journey/src/otp-ui/geocoder/geocoders/arcgis.js +++ b/journey/src/otp-ui/geocoder/geocoders/arcgis.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import {fromCoordinates} from "@conveyal/lonlat"; import Geocoder from "./abstract-geocoder"; diff --git a/journey/src/otp-ui/geocoder/geocoders/noapi.js b/journey/src/otp-ui/geocoder/geocoders/noapi.js index 4ca487c2..0eecce0c 100644 --- a/journey/src/otp-ui/geocoder/geocoders/noapi.js +++ b/journey/src/otp-ui/geocoder/geocoders/noapi.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import {toCoordinates, fromLatFirstString} from "@conveyal/lonlat"; import Geocoder from "./abstract-geocoder"; diff --git a/journey/src/otp-ui/geocoder/geocoders/pelias.js b/journey/src/otp-ui/geocoder/geocoders/pelias.js index ee28150c..c05f5204 100644 --- a/journey/src/otp-ui/geocoder/geocoders/pelias.js +++ b/journey/src/otp-ui/geocoder/geocoders/pelias.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import Geocoder from "./abstract-geocoder"; import { getItem } from "../../core-utils/storage"; diff --git a/journey/src/otp-ui/geocoder/index.js b/journey/src/otp-ui/geocoder/index.js index 96ba9ad5..9ccbd637 100644 --- a/journey/src/otp-ui/geocoder/index.js +++ b/journey/src/otp-ui/geocoder/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later import * as arcgis from "@conveyal/geocoder-arcgis-geojson"; diff --git a/journey/src/otp-ui/geocoder/isomorphic-mapzen-search.js b/journey/src/otp-ui/geocoder/isomorphic-mapzen-search.js index dbe7cefc..e1aca4b4 100644 --- a/journey/src/otp-ui/geocoder/isomorphic-mapzen-search.js +++ b/journey/src/otp-ui/geocoder/isomorphic-mapzen-search.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /* globals fetch */ /* customize from ORIGINAL pkg: diff --git a/journey/src/otp-ui/humanize-distance/index.js b/journey/src/otp-ui/humanize-distance/index.js index a2f5125c..b84eb030 100644 --- a/journey/src/otp-ui/humanize-distance/index.js +++ b/journey/src/otp-ui/humanize-distance/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + export function humanizeDistanceStringImperial(meters, abbreviate) { const feet = meters * 3.28084; if (feet < 528) diff --git a/journey/src/otp-ui/icons/badge-icon.js b/journey/src/otp-ui/icons/badge-icon.js index 10cf59b7..59b55547 100644 --- a/journey/src/otp-ui/icons/badge-icon.js +++ b/journey/src/otp-ui/icons/badge-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/icons/classic-leg-icon.js b/journey/src/otp-ui/icons/classic-leg-icon.js index eea8611a..167c2b57 100644 --- a/journey/src/otp-ui/icons/classic-leg-icon.js +++ b/journey/src/otp-ui/icons/classic-leg-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import LegIcon from "./leg-icon"; diff --git a/journey/src/otp-ui/icons/classic-mode-icon.js b/journey/src/otp-ui/icons/classic-mode-icon.js index c9fd9b41..e2485267 100644 --- a/journey/src/otp-ui/icons/classic-mode-icon.js +++ b/journey/src/otp-ui/icons/classic-mode-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import { diff --git a/journey/src/otp-ui/icons/classic/classic-bike.js b/journey/src/otp-ui/icons/classic/classic-bike.js index f0b75868..0ca6a0ff 100644 --- a/journey/src/otp-ui/icons/classic/classic-bike.js +++ b/journey/src/otp-ui/icons/classic/classic-bike.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ClassicBike = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/classic/classic-bus.js b/journey/src/otp-ui/icons/classic/classic-bus.js index 08a65088..4f6dfd4c 100644 --- a/journey/src/otp-ui/icons/classic/classic-bus.js +++ b/journey/src/otp-ui/icons/classic/classic-bus.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ClassicBus = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/classic/classic-car.js b/journey/src/otp-ui/icons/classic/classic-car.js index 86b5e417..2ba0498a 100644 --- a/journey/src/otp-ui/icons/classic/classic-car.js +++ b/journey/src/otp-ui/icons/classic/classic-car.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ClassicCar = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/classic/classic-ferry.js b/journey/src/otp-ui/icons/classic/classic-ferry.js index 3046e6a1..02fa8356 100644 --- a/journey/src/otp-ui/icons/classic/classic-ferry.js +++ b/journey/src/otp-ui/icons/classic/classic-ferry.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ClassicFerry = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/classic/classic-gondola.js b/journey/src/otp-ui/icons/classic/classic-gondola.js index 2f516033..d7c8addf 100644 --- a/journey/src/otp-ui/icons/classic/classic-gondola.js +++ b/journey/src/otp-ui/icons/classic/classic-gondola.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ClassicGondola = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/classic/classic-micromobility.js b/journey/src/otp-ui/icons/classic/classic-micromobility.js index b0aa94bc..853a66d5 100644 --- a/journey/src/otp-ui/icons/classic/classic-micromobility.js +++ b/journey/src/otp-ui/icons/classic/classic-micromobility.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ClassicMicromobility = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/classic/classic-tram.js b/journey/src/otp-ui/icons/classic/classic-tram.js index b1df0585..f1701693 100644 --- a/journey/src/otp-ui/icons/classic/classic-tram.js +++ b/journey/src/otp-ui/icons/classic/classic-tram.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ClassicTram = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/classic/classic-walk.js b/journey/src/otp-ui/icons/classic/classic-walk.js index 69e5777e..8af85bd4 100644 --- a/journey/src/otp-ui/icons/classic/classic-walk.js +++ b/journey/src/otp-ui/icons/classic/classic-walk.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ClassicWalk = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/classic/index.js b/journey/src/otp-ui/icons/classic/index.js index bcd5b6e4..86db5a04 100644 --- a/journey/src/otp-ui/icons/classic/index.js +++ b/journey/src/otp-ui/icons/classic/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import ClassicBike from "./classic-bike"; import ClassicBus from "./classic-bus"; import ClassicCar from "./classic-car"; diff --git a/journey/src/otp-ui/icons/companies/biketown-icon.js b/journey/src/otp-ui/icons/companies/biketown-icon.js index 776483b7..9b24b954 100644 --- a/journey/src/otp-ui/icons/companies/biketown-icon.js +++ b/journey/src/otp-ui/icons/companies/biketown-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const BiketownIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/bird-icon.js b/journey/src/otp-ui/icons/companies/bird-icon.js index d1b57170..3ffdd6cf 100644 --- a/journey/src/otp-ui/icons/companies/bird-icon.js +++ b/journey/src/otp-ui/icons/companies/bird-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const BirdIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/bolt-eu-icon.js b/journey/src/otp-ui/icons/companies/bolt-eu-icon.js index 59df97fa..330cc9ef 100644 --- a/journey/src/otp-ui/icons/companies/bolt-eu-icon.js +++ b/journey/src/otp-ui/icons/companies/bolt-eu-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; /** diff --git a/journey/src/otp-ui/icons/companies/bolt-icon.js b/journey/src/otp-ui/icons/companies/bolt-icon.js index 04515865..718ff434 100644 --- a/journey/src/otp-ui/icons/companies/bolt-icon.js +++ b/journey/src/otp-ui/icons/companies/bolt-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; /** diff --git a/journey/src/otp-ui/icons/companies/car2go-icon.js b/journey/src/otp-ui/icons/companies/car2go-icon.js index bdc679e3..1ba041ae 100644 --- a/journey/src/otp-ui/icons/companies/car2go-icon.js +++ b/journey/src/otp-ui/icons/companies/car2go-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Car2goIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/gruv-icon.js b/journey/src/otp-ui/icons/companies/gruv-icon.js index 5b6f4176..a9128256 100644 --- a/journey/src/otp-ui/icons/companies/gruv-icon.js +++ b/journey/src/otp-ui/icons/companies/gruv-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const GruvIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/hopr-icon.js b/journey/src/otp-ui/icons/companies/hopr-icon.js index 8b6bcf3f..dc7f081c 100644 --- a/journey/src/otp-ui/icons/companies/hopr-icon.js +++ b/journey/src/otp-ui/icons/companies/hopr-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const HoprIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/index.js b/journey/src/otp-ui/icons/companies/index.js index c6598881..f29798f6 100644 --- a/journey/src/otp-ui/icons/companies/index.js +++ b/journey/src/otp-ui/icons/companies/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import Biketown from "./biketown-icon"; import Bird from "./bird-icon"; import Bolt from "./bolt-icon"; diff --git a/journey/src/otp-ui/icons/companies/lime-icon.js b/journey/src/otp-ui/icons/companies/lime-icon.js index 46d39285..1bfa998f 100644 --- a/journey/src/otp-ui/icons/companies/lime-icon.js +++ b/journey/src/otp-ui/icons/companies/lime-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const LimeIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/lyft-icon.js b/journey/src/otp-ui/icons/companies/lyft-icon.js index 92134e96..6c3125d4 100644 --- a/journey/src/otp-ui/icons/companies/lyft-icon.js +++ b/journey/src/otp-ui/icons/companies/lyft-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const LyftIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/razor-icon.js b/journey/src/otp-ui/icons/companies/razor-icon.js index 0f45fa9b..6f9e3473 100644 --- a/journey/src/otp-ui/icons/companies/razor-icon.js +++ b/journey/src/otp-ui/icons/companies/razor-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const RazorIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/reachnow-icon.js b/journey/src/otp-ui/icons/companies/reachnow-icon.js index 4d95ef41..91a1c90c 100644 --- a/journey/src/otp-ui/icons/companies/reachnow-icon.js +++ b/journey/src/otp-ui/icons/companies/reachnow-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ReachNowIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/shared-icon.js b/journey/src/otp-ui/icons/companies/shared-icon.js index fe4ff51d..f947cea6 100644 --- a/journey/src/otp-ui/icons/companies/shared-icon.js +++ b/journey/src/otp-ui/icons/companies/shared-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SharedIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/spin-icon.js b/journey/src/otp-ui/icons/companies/spin-icon.js index b1a7baec..2346fa77 100644 --- a/journey/src/otp-ui/icons/companies/spin-icon.js +++ b/journey/src/otp-ui/icons/companies/spin-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SpinIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/companies/uber-icon.js b/journey/src/otp-ui/icons/companies/uber-icon.js index 9718412b..d66b5093 100644 --- a/journey/src/otp-ui/icons/companies/uber-icon.js +++ b/journey/src/otp-ui/icons/companies/uber-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const UberIcon = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/CircleClockwise.js b/journey/src/otp-ui/icons/directions/CircleClockwise.js index 230b4e09..dda530aa 100755 --- a/journey/src/otp-ui/icons/directions/CircleClockwise.js +++ b/journey/src/otp-ui/icons/directions/CircleClockwise.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgCircleClockwise = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/CircleCounterclockwise.js b/journey/src/otp-ui/icons/directions/CircleCounterclockwise.js index 79e60166..d15d0191 100755 --- a/journey/src/otp-ui/icons/directions/CircleCounterclockwise.js +++ b/journey/src/otp-ui/icons/directions/CircleCounterclockwise.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgCircleCounterclockwise = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/Elevator.js b/journey/src/otp-ui/icons/directions/Elevator.js index 371e5fdf..84782752 100755 --- a/journey/src/otp-ui/icons/directions/Elevator.js +++ b/journey/src/otp-ui/icons/directions/Elevator.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgElevator = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/HardLeft.js b/journey/src/otp-ui/icons/directions/HardLeft.js index 51974f8f..7c073be5 100755 --- a/journey/src/otp-ui/icons/directions/HardLeft.js +++ b/journey/src/otp-ui/icons/directions/HardLeft.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgHardLeft = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/HardRight.js b/journey/src/otp-ui/icons/directions/HardRight.js index b6c7a959..2823645b 100755 --- a/journey/src/otp-ui/icons/directions/HardRight.js +++ b/journey/src/otp-ui/icons/directions/HardRight.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgHardRight = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/Left.js b/journey/src/otp-ui/icons/directions/Left.js index 41141325..a827c7af 100755 --- a/journey/src/otp-ui/icons/directions/Left.js +++ b/journey/src/otp-ui/icons/directions/Left.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgLeft = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/Right.js b/journey/src/otp-ui/icons/directions/Right.js index 9051a5b1..7ba72d60 100755 --- a/journey/src/otp-ui/icons/directions/Right.js +++ b/journey/src/otp-ui/icons/directions/Right.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgRight = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/SlightLeft.js b/journey/src/otp-ui/icons/directions/SlightLeft.js index deace744..92909948 100755 --- a/journey/src/otp-ui/icons/directions/SlightLeft.js +++ b/journey/src/otp-ui/icons/directions/SlightLeft.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgSlightLeft = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/SlightRight.js b/journey/src/otp-ui/icons/directions/SlightRight.js index d9459786..91756462 100755 --- a/journey/src/otp-ui/icons/directions/SlightRight.js +++ b/journey/src/otp-ui/icons/directions/SlightRight.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgSlightRight = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/Straight.js b/journey/src/otp-ui/icons/directions/Straight.js index f3537003..cb407274 100755 --- a/journey/src/otp-ui/icons/directions/Straight.js +++ b/journey/src/otp-ui/icons/directions/Straight.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgStraight = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/UTurnLeft.js b/journey/src/otp-ui/icons/directions/UTurnLeft.js index 3a45226e..35450aae 100755 --- a/journey/src/otp-ui/icons/directions/UTurnLeft.js +++ b/journey/src/otp-ui/icons/directions/UTurnLeft.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgUTurnLeft = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/UTurnRight.js b/journey/src/otp-ui/icons/directions/UTurnRight.js index 280287fa..cff3aa4d 100755 --- a/journey/src/otp-ui/icons/directions/UTurnRight.js +++ b/journey/src/otp-ui/icons/directions/UTurnRight.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgUTurnRight = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/directions/index.js b/journey/src/otp-ui/icons/directions/index.js index 684c2786..e1ca8226 100644 --- a/journey/src/otp-ui/icons/directions/index.js +++ b/journey/src/otp-ui/icons/directions/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import CircleClockwise from "./CircleClockwise"; diff --git a/journey/src/otp-ui/icons/generic/ArrowDown.js b/journey/src/otp-ui/icons/generic/ArrowDown.js index 75e3a8f7..637389c3 100755 --- a/journey/src/otp-ui/icons/generic/ArrowDown.js +++ b/journey/src/otp-ui/icons/generic/ArrowDown.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgArrowDown = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/generic/ArrowLeft.js b/journey/src/otp-ui/icons/generic/ArrowLeft.js index 3b60e153..d5eb5edf 100755 --- a/journey/src/otp-ui/icons/generic/ArrowLeft.js +++ b/journey/src/otp-ui/icons/generic/ArrowLeft.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgArrowLeft = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/generic/Refresh.js b/journey/src/otp-ui/icons/generic/Refresh.js index 98620e87..e4f54c03 100755 --- a/journey/src/otp-ui/icons/generic/Refresh.js +++ b/journey/src/otp-ui/icons/generic/Refresh.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgRefresh = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/generic/Star.js b/journey/src/otp-ui/icons/generic/Star.js index 584f5bb7..3483379c 100755 --- a/journey/src/otp-ui/icons/generic/Star.js +++ b/journey/src/otp-ui/icons/generic/Star.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgStar = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/generic/index.js b/journey/src/otp-ui/icons/generic/index.js index db93e49e..ac2bbf57 100644 --- a/journey/src/otp-ui/icons/generic/index.js +++ b/journey/src/otp-ui/icons/generic/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import ArrowDown from "./ArrowDown"; import ArrowLeft from "./ArrowLeft"; import Refresh from "./Refresh"; diff --git a/journey/src/otp-ui/icons/index.js b/journey/src/otp-ui/icons/index.js index 34eab81e..3ae9dedd 100644 --- a/journey/src/otp-ui/icons/index.js +++ b/journey/src/otp-ui/icons/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import * as classic from "./classic"; import * as companies from "./companies"; import * as directions from "./directions"; diff --git a/journey/src/otp-ui/icons/index.story.js b/journey/src/otp-ui/icons/index.story.js index 7b875951..5b6e5bb7 100644 --- a/journey/src/otp-ui/icons/index.story.js +++ b/journey/src/otp-ui/icons/index.story.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import { storiesOf } from "@storybook/react"; diff --git a/journey/src/otp-ui/icons/leg-icon.js b/journey/src/otp-ui/icons/leg-icon.js index 656ad462..6843b381 100644 --- a/journey/src/otp-ui/icons/leg-icon.js +++ b/journey/src/otp-ui/icons/leg-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { legType } from "../core-utils/types"; import PropTypes from "prop-types"; import React from "react"; diff --git a/journey/src/otp-ui/icons/modern/BikeSharing.js b/journey/src/otp-ui/icons/modern/BikeSharing.js index 6db70c06..826f357d 100644 --- a/journey/src/otp-ui/icons/modern/BikeSharing.js +++ b/journey/src/otp-ui/icons/modern/BikeSharing.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const BikeSharing = ({ title, width = 22, height = 17, iconColor = '#000', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/Bus.js b/journey/src/otp-ui/icons/modern/Bus.js index 47bc5d18..89cd2f4c 100644 --- a/journey/src/otp-ui/icons/modern/Bus.js +++ b/journey/src/otp-ui/icons/modern/Bus.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Bus = ({ title, width = 26, height = 22, iconColor = '#000', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/CarSharing.js b/journey/src/otp-ui/icons/modern/CarSharing.js index 15b9d4b8..fb73043b 100644 --- a/journey/src/otp-ui/icons/modern/CarSharing.js +++ b/journey/src/otp-ui/icons/modern/CarSharing.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; {/* */} diff --git a/journey/src/otp-ui/icons/modern/Charger.js b/journey/src/otp-ui/icons/modern/Charger.js index e1b7774a..5d8a6ebe 100644 --- a/journey/src/otp-ui/icons/modern/Charger.js +++ b/journey/src/otp-ui/icons/modern/Charger.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Charger = ({ title, width = 26.62, height = 23.293, iconColor = '#000', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/Filter.js b/journey/src/otp-ui/icons/modern/Filter.js index 34a99aeb..e532fa41 100644 --- a/journey/src/otp-ui/icons/modern/Filter.js +++ b/journey/src/otp-ui/icons/modern/Filter.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Filter = ({ title, width = 26, height = 28, iconColor = '#000', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/Layers.js b/journey/src/otp-ui/icons/modern/Layers.js index 19b83ec7..3d4f9656 100644 --- a/journey/src/otp-ui/icons/modern/Layers.js +++ b/journey/src/otp-ui/icons/modern/Layers.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Layers = ({ title, width = 38, height = 32, iconColor = '#000', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerBikeSharing.js b/journey/src/otp-ui/icons/modern/MarkerBikeSharing.js index 187c6da4..3e9bf251 100644 --- a/journey/src/otp-ui/icons/modern/MarkerBikeSharing.js +++ b/journey/src/otp-ui/icons/modern/MarkerBikeSharing.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerBikeSharing = ({ title, width = 55, height = 63.48, markerColor = '#000', iconColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerCarSharing.js b/journey/src/otp-ui/icons/modern/MarkerCarSharing.js index 19f7d923..59ddd9d9 100644 --- a/journey/src/otp-ui/icons/modern/MarkerCarSharing.js +++ b/journey/src/otp-ui/icons/modern/MarkerCarSharing.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerCarSharing = ({ title, width = 55, height = 63.48, markerColor = '#000', iconColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerCharger.js b/journey/src/otp-ui/icons/modern/MarkerCharger.js index a227f28f..d4f200eb 100644 --- a/journey/src/otp-ui/icons/modern/MarkerCharger.js +++ b/journey/src/otp-ui/icons/modern/MarkerCharger.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerCharger = ({ title, width = 54, height = 62, markerColor = '#000', iconColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerCluster.js b/journey/src/otp-ui/icons/modern/MarkerCluster.js index 6d3492be..0c49d741 100644 --- a/journey/src/otp-ui/icons/modern/MarkerCluster.js +++ b/journey/src/otp-ui/icons/modern/MarkerCluster.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; //TODO support textColor diff --git a/journey/src/otp-ui/icons/modern/MarkerDrtStop.js b/journey/src/otp-ui/icons/modern/MarkerDrtStop.js index d5d8bfa1..2a86d6d5 100644 --- a/journey/src/otp-ui/icons/modern/MarkerDrtStop.js +++ b/journey/src/otp-ui/icons/modern/MarkerDrtStop.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerDrtStop = ({ title, iconColor = '#fff', markerColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerDrtVehicle.js b/journey/src/otp-ui/icons/modern/MarkerDrtVehicle.js index 16fd92ce..ee64c473 100644 --- a/journey/src/otp-ui/icons/modern/MarkerDrtVehicle.js +++ b/journey/src/otp-ui/icons/modern/MarkerDrtVehicle.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerDrtVehicle = ({ title, width = 26, height = 22, iconColor = '#000', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerLocationFrom.js b/journey/src/otp-ui/icons/modern/MarkerLocationFrom.js index 613879c3..e55fc98c 100644 --- a/journey/src/otp-ui/icons/modern/MarkerLocationFrom.js +++ b/journey/src/otp-ui/icons/modern/MarkerLocationFrom.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerLocationFrom = ({ width = 41, height = 41, iconColor = '#000', markerColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerLocationTo.js b/journey/src/otp-ui/icons/modern/MarkerLocationTo.js index e5bf1562..a02da592 100644 --- a/journey/src/otp-ui/icons/modern/MarkerLocationTo.js +++ b/journey/src/otp-ui/icons/modern/MarkerLocationTo.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerLocationTo = ({ width = 49, height = 49, iconColor = '#000', markerColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerParking.js b/journey/src/otp-ui/icons/modern/MarkerParking.js index c36ac63f..b0dbfa1c 100644 --- a/journey/src/otp-ui/icons/modern/MarkerParking.js +++ b/journey/src/otp-ui/icons/modern/MarkerParking.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerParking = ({ title, width = 54, height = 62, markerColor = '#000', iconColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerParkingSensor.js b/journey/src/otp-ui/icons/modern/MarkerParkingSensor.js index cded08ef..e9ff8a59 100644 --- a/journey/src/otp-ui/icons/modern/MarkerParkingSensor.js +++ b/journey/src/otp-ui/icons/modern/MarkerParkingSensor.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerParkingSensor = ({ title, width = 54, height = 62, markerColor = '#000', iconColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerStation.js b/journey/src/otp-ui/icons/modern/MarkerStation.js index 51e0384e..8b4729c3 100644 --- a/journey/src/otp-ui/icons/modern/MarkerStation.js +++ b/journey/src/otp-ui/icons/modern/MarkerStation.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerStation = ({ title, iconColor = '#fff', markerColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerStop.js b/journey/src/otp-ui/icons/modern/MarkerStop.js index b006f6f4..d25b07ac 100644 --- a/journey/src/otp-ui/icons/modern/MarkerStop.js +++ b/journey/src/otp-ui/icons/modern/MarkerStop.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerStop = ({ title, iconColor = '#fff', markerColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerStopChild.js b/journey/src/otp-ui/icons/modern/MarkerStopChild.js index 34a9eac8..0a2be0b9 100644 --- a/journey/src/otp-ui/icons/modern/MarkerStopChild.js +++ b/journey/src/otp-ui/icons/modern/MarkerStopChild.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerStopChild = ({ title, iconColor = '#fff', markerColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MarkerStopStation.js b/journey/src/otp-ui/icons/modern/MarkerStopStation.js index 2571daba..ee0026eb 100644 --- a/journey/src/otp-ui/icons/modern/MarkerStopStation.js +++ b/journey/src/otp-ui/icons/modern/MarkerStopStation.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MarkerStopStation = ({ title, iconColor = '#fff', markerColor = '#fff', ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/MicromobilitySharing.js b/journey/src/otp-ui/icons/modern/MicromobilitySharing.js index d3f69ce7..0f2143dd 100644 --- a/journey/src/otp-ui/icons/modern/MicromobilitySharing.js +++ b/journey/src/otp-ui/icons/modern/MicromobilitySharing.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ClassicMicromobilitySharing = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/modern/Parking.js b/journey/src/otp-ui/icons/modern/Parking.js index 92c562de..ee7f2775 100644 --- a/journey/src/otp-ui/icons/modern/Parking.js +++ b/journey/src/otp-ui/icons/modern/Parking.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Parking = ({ title, width = 26, height = 22, iconColor = '#000', ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove-mode-icon.js b/journey/src/otp-ui/icons/openmove-mode-icon.js index 5e15183a..9b326fc3 100644 --- a/journey/src/otp-ui/icons/openmove-mode-icon.js +++ b/journey/src/otp-ui/icons/openmove-mode-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import { diff --git a/journey/src/otp-ui/icons/openmove/Bicycle.js b/journey/src/otp-ui/icons/openmove/Bicycle.js index 2f524e03..f276bbdd 100755 --- a/journey/src/otp-ui/icons/openmove/Bicycle.js +++ b/journey/src/otp-ui/icons/openmove/Bicycle.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; function Icon() { diff --git a/journey/src/otp-ui/icons/openmove/BicycleRide.js b/journey/src/otp-ui/icons/openmove/BicycleRide.js index db1c464e..be03c283 100644 --- a/journey/src/otp-ui/icons/openmove/BicycleRide.js +++ b/journey/src/otp-ui/icons/openmove/BicycleRide.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later import React from "react"; diff --git a/journey/src/otp-ui/icons/openmove/BikeSharing.js b/journey/src/otp-ui/icons/openmove/BikeSharing.js index 2d91d7cf..4fd916ad 100644 --- a/journey/src/otp-ui/icons/openmove/BikeSharing.js +++ b/journey/src/otp-ui/icons/openmove/BikeSharing.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const BikeSharing = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/BikeSharingRide.js b/journey/src/otp-ui/icons/openmove/BikeSharingRide.js index da3d0f35..1b25c96d 100644 --- a/journey/src/otp-ui/icons/openmove/BikeSharingRide.js +++ b/journey/src/otp-ui/icons/openmove/BikeSharingRide.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const BikeSharingRide = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/Bus.js b/journey/src/otp-ui/icons/openmove/Bus.js index f50447d4..bf39216f 100755 --- a/journey/src/otp-ui/icons/openmove/Bus.js +++ b/journey/src/otp-ui/icons/openmove/Bus.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Bus = ({ title, width = 26, height = 22, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/BusDrt.js b/journey/src/otp-ui/icons/openmove/BusDrt.js index 3e5af0ad..50087314 100755 --- a/journey/src/otp-ui/icons/openmove/BusDrt.js +++ b/journey/src/otp-ui/icons/openmove/BusDrt.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Icon = ({ title, width = 46, height = 42, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/Car.js b/journey/src/otp-ui/icons/openmove/Car.js index 5057a30a..430c6640 100755 --- a/journey/src/otp-ui/icons/openmove/Car.js +++ b/journey/src/otp-ui/icons/openmove/Car.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Car = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/CarSharing.js b/journey/src/otp-ui/icons/openmove/CarSharing.js index 1814df77..64246f33 100644 --- a/journey/src/otp-ui/icons/openmove/CarSharing.js +++ b/journey/src/otp-ui/icons/openmove/CarSharing.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const CarSharing = ({ title, width = 18, height = 17, iconColor = '#000', ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/CarSharingRide.js b/journey/src/otp-ui/icons/openmove/CarSharingRide.js index 62dffadd..684ee132 100644 --- a/journey/src/otp-ui/icons/openmove/CarSharingRide.js +++ b/journey/src/otp-ui/icons/openmove/CarSharingRide.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const CarSharingRide = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/Ferry.js b/journey/src/otp-ui/icons/openmove/Ferry.js index 7e28635c..878bd39a 100755 --- a/journey/src/otp-ui/icons/openmove/Ferry.js +++ b/journey/src/otp-ui/icons/openmove/Ferry.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgFerry = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/Funicolar.js b/journey/src/otp-ui/icons/openmove/Funicolar.js index eace98b7..a0e77ec2 100755 --- a/journey/src/otp-ui/icons/openmove/Funicolar.js +++ b/journey/src/otp-ui/icons/openmove/Funicolar.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgFunicolar = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/Micromobility.js b/journey/src/otp-ui/icons/openmove/Micromobility.js index 8ba70e9b..5cec8a63 100755 --- a/journey/src/otp-ui/icons/openmove/Micromobility.js +++ b/journey/src/otp-ui/icons/openmove/Micromobility.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Micromobility = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/MicromobilityRide.js b/journey/src/otp-ui/icons/openmove/MicromobilityRide.js index b98056db..512ab9fc 100644 --- a/journey/src/otp-ui/icons/openmove/MicromobilityRide.js +++ b/journey/src/otp-ui/icons/openmove/MicromobilityRide.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MicromobilityRide = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/MicromobilitySharing.js b/journey/src/otp-ui/icons/openmove/MicromobilitySharing.js index 55a322c0..68ae2070 100644 --- a/journey/src/otp-ui/icons/openmove/MicromobilitySharing.js +++ b/journey/src/otp-ui/icons/openmove/MicromobilitySharing.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const MicromobilitySharing = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/Park.js b/journey/src/otp-ui/icons/openmove/Park.js index f2e95116..8b45f430 100644 --- a/journey/src/otp-ui/icons/openmove/Park.js +++ b/journey/src/otp-ui/icons/openmove/Park.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Park = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/ParkRide.js b/journey/src/otp-ui/icons/openmove/ParkRide.js index c5ee3771..dd022a62 100644 --- a/journey/src/otp-ui/icons/openmove/ParkRide.js +++ b/journey/src/otp-ui/icons/openmove/ParkRide.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const ParkRide = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/Rail.js b/journey/src/otp-ui/icons/openmove/Rail.js index c152e4b5..22cdc4af 100755 --- a/journey/src/otp-ui/icons/openmove/Rail.js +++ b/journey/src/otp-ui/icons/openmove/Rail.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Rail = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/Streetcar.js b/journey/src/otp-ui/icons/openmove/Streetcar.js index a3163e71..f17b2bf7 100755 --- a/journey/src/otp-ui/icons/openmove/Streetcar.js +++ b/journey/src/otp-ui/icons/openmove/Streetcar.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgStreetcar = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/Tram.js b/journey/src/otp-ui/icons/openmove/Tram.js index cbb4528a..d199f9fd 100755 --- a/journey/src/otp-ui/icons/openmove/Tram.js +++ b/journey/src/otp-ui/icons/openmove/Tram.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgMax = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/Walk.js b/journey/src/otp-ui/icons/openmove/Walk.js index e84c6bfd..9b2c6c6e 100755 --- a/journey/src/otp-ui/icons/openmove/Walk.js +++ b/journey/src/otp-ui/icons/openmove/Walk.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const Walk = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/openmove/index.js b/journey/src/otp-ui/icons/openmove/index.js index bc610fe2..5bc9606d 100644 --- a/journey/src/otp-ui/icons/openmove/index.js +++ b/journey/src/otp-ui/icons/openmove/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later import Bicycle from "./Bicycle"; import BicycleRide from "./BicycleRide"; diff --git a/journey/src/otp-ui/icons/openmove/svgs/_copy_svg_into_js.sh b/journey/src/otp-ui/icons/openmove/svgs/_copy_svg_into_js.sh index a00852b1..d819f9b8 100755 --- a/journey/src/otp-ui/icons/openmove/svgs/_copy_svg_into_js.sh +++ b/journey/src/otp-ui/icons/openmove/svgs/_copy_svg_into_js.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: AGPL-3.0-or-later + for f in *.svg; do fjs=$(echo $f | sed 's/svg/js/g') diff --git a/journey/src/otp-ui/icons/standard-leg-icon.js b/journey/src/otp-ui/icons/standard-leg-icon.js index 5a490ef3..4aae1846 100644 --- a/journey/src/otp-ui/icons/standard-leg-icon.js +++ b/journey/src/otp-ui/icons/standard-leg-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import LegIcon from "./leg-icon"; diff --git a/journey/src/otp-ui/icons/standard-mode-icon.js b/journey/src/otp-ui/icons/standard-mode-icon.js index 475ae4bf..aa53abc0 100644 --- a/journey/src/otp-ui/icons/standard-mode-icon.js +++ b/journey/src/otp-ui/icons/standard-mode-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import { ClassicCar, ClassicFerry, ClassicMicromobility } from "./classic"; diff --git a/journey/src/otp-ui/icons/standard/index.js b/journey/src/otp-ui/icons/standard/index.js index 2006d11b..e38935e3 100644 --- a/journey/src/otp-ui/icons/standard/index.js +++ b/journey/src/otp-ui/icons/standard/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import StandardBike from "./standard-bike"; import StandardBus from "./standard-bus"; import StandardGondola from "./standard-gondola"; diff --git a/journey/src/otp-ui/icons/standard/standard-bike.js b/journey/src/otp-ui/icons/standard/standard-bike.js index 48c54e17..f938dd5a 100644 --- a/journey/src/otp-ui/icons/standard/standard-bike.js +++ b/journey/src/otp-ui/icons/standard/standard-bike.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const StandardBike = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/standard/standard-bus.js b/journey/src/otp-ui/icons/standard/standard-bus.js index b35ca0f4..89f3c34f 100644 --- a/journey/src/otp-ui/icons/standard/standard-bus.js +++ b/journey/src/otp-ui/icons/standard/standard-bus.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const StandardBus = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/standard/standard-gondola.js b/journey/src/otp-ui/icons/standard/standard-gondola.js index fad16e7d..cc907d88 100644 --- a/journey/src/otp-ui/icons/standard/standard-gondola.js +++ b/journey/src/otp-ui/icons/standard/standard-gondola.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const StandardGondola = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/standard/standard-rail.js b/journey/src/otp-ui/icons/standard/standard-rail.js index 9010b028..7a1b66e1 100644 --- a/journey/src/otp-ui/icons/standard/standard-rail.js +++ b/journey/src/otp-ui/icons/standard/standard-rail.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const StandardRail = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/standard/standard-streetcar.js b/journey/src/otp-ui/icons/standard/standard-streetcar.js index b924b9b4..62cf6b43 100644 --- a/journey/src/otp-ui/icons/standard/standard-streetcar.js +++ b/journey/src/otp-ui/icons/standard/standard-streetcar.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const StandardStreetcar = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/standard/standard-tram.js b/journey/src/otp-ui/icons/standard/standard-tram.js index c695bff8..46968415 100644 --- a/journey/src/otp-ui/icons/standard/standard-tram.js +++ b/journey/src/otp-ui/icons/standard/standard-tram.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const StandardTram = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/standard/standard-walk.js b/journey/src/otp-ui/icons/standard/standard-walk.js index 6408f714..c5771cbc 100644 --- a/journey/src/otp-ui/icons/standard/standard-walk.js +++ b/journey/src/otp-ui/icons/standard/standard-walk.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const StandardWalk = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet-leg-icon.js b/journey/src/otp-ui/icons/trimet-leg-icon.js index d9dfcf23..46d98d0b 100644 --- a/journey/src/otp-ui/icons/trimet-leg-icon.js +++ b/journey/src/otp-ui/icons/trimet-leg-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import LegIcon from "./leg-icon"; diff --git a/journey/src/otp-ui/icons/trimet-mode-icon.js b/journey/src/otp-ui/icons/trimet-mode-icon.js index be869394..0495e8d3 100644 --- a/journey/src/otp-ui/icons/trimet-mode-icon.js +++ b/journey/src/otp-ui/icons/trimet-mode-icon.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import { diff --git a/journey/src/otp-ui/icons/trimet/Accessible.js b/journey/src/otp-ui/icons/trimet/Accessible.js index 28827478..49851767 100755 --- a/journey/src/otp-ui/icons/trimet/Accessible.js +++ b/journey/src/otp-ui/icons/trimet/Accessible.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgAccessible = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/AerialTram.js b/journey/src/otp-ui/icons/trimet/AerialTram.js index 5652d3a0..b5426896 100755 --- a/journey/src/otp-ui/icons/trimet/AerialTram.js +++ b/journey/src/otp-ui/icons/trimet/AerialTram.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgAerialtram = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Alert.js b/journey/src/otp-ui/icons/trimet/Alert.js index e7a4f62a..a44fc7cc 100755 --- a/journey/src/otp-ui/icons/trimet/Alert.js +++ b/journey/src/otp-ui/icons/trimet/Alert.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgAlert = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/AlertSolid.js b/journey/src/otp-ui/icons/trimet/AlertSolid.js index 9fec228b..8efe5e93 100755 --- a/journey/src/otp-ui/icons/trimet/AlertSolid.js +++ b/journey/src/otp-ui/icons/trimet/AlertSolid.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgAlertsolid = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/App.js b/journey/src/otp-ui/icons/trimet/App.js index a7dd9088..80aee90d 100755 --- a/journey/src/otp-ui/icons/trimet/App.js +++ b/journey/src/otp-ui/icons/trimet/App.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgApp = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Bicycle.js b/journey/src/otp-ui/icons/trimet/Bicycle.js index ec41315b..8f343f55 100755 --- a/journey/src/otp-ui/icons/trimet/Bicycle.js +++ b/journey/src/otp-ui/icons/trimet/Bicycle.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgBicycle = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Bike.js b/journey/src/otp-ui/icons/trimet/Bike.js index df605ae8..6da3cae4 100755 --- a/journey/src/otp-ui/icons/trimet/Bike.js +++ b/journey/src/otp-ui/icons/trimet/Bike.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgBike = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/BikeAndRide.js b/journey/src/otp-ui/icons/trimet/BikeAndRide.js index 4bee8a81..43875325 100755 --- a/journey/src/otp-ui/icons/trimet/BikeAndRide.js +++ b/journey/src/otp-ui/icons/trimet/BikeAndRide.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgBikeandride = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/BikeLocker.js b/journey/src/otp-ui/icons/trimet/BikeLocker.js index d5f5c12a..147f5783 100755 --- a/journey/src/otp-ui/icons/trimet/BikeLocker.js +++ b/journey/src/otp-ui/icons/trimet/BikeLocker.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgBikelocker = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/BikeParking.js b/journey/src/otp-ui/icons/trimet/BikeParking.js index 54c905bd..ccfef32e 100755 --- a/journey/src/otp-ui/icons/trimet/BikeParking.js +++ b/journey/src/otp-ui/icons/trimet/BikeParking.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgBikeparking = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/BikeSharing.js b/journey/src/otp-ui/icons/trimet/BikeSharing.js index d5af70df..023d241c 100644 --- a/journey/src/otp-ui/icons/trimet/BikeSharing.js +++ b/journey/src/otp-ui/icons/trimet/BikeSharing.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgBikeSharing = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/BikeStaple.js b/journey/src/otp-ui/icons/trimet/BikeStaple.js index 5dc6cd78..12dba9d9 100755 --- a/journey/src/otp-ui/icons/trimet/BikeStaple.js +++ b/journey/src/otp-ui/icons/trimet/BikeStaple.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgBikestaple = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Bus.js b/journey/src/otp-ui/icons/trimet/Bus.js index b13140df..bcbc5b39 100755 --- a/journey/src/otp-ui/icons/trimet/Bus.js +++ b/journey/src/otp-ui/icons/trimet/Bus.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgBus = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/BusCircle.js b/journey/src/otp-ui/icons/trimet/BusCircle.js index 8800a435..37cb21d2 100755 --- a/journey/src/otp-ui/icons/trimet/BusCircle.js +++ b/journey/src/otp-ui/icons/trimet/BusCircle.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgBuscircle = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Car.js b/journey/src/otp-ui/icons/trimet/Car.js index e5cb8c41..4b6f1093 100755 --- a/journey/src/otp-ui/icons/trimet/Car.js +++ b/journey/src/otp-ui/icons/trimet/Car.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgCar = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Circle.js b/journey/src/otp-ui/icons/trimet/Circle.js index 760f9317..4e29d504 100755 --- a/journey/src/otp-ui/icons/trimet/Circle.js +++ b/journey/src/otp-ui/icons/trimet/Circle.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgCircle = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Email.js b/journey/src/otp-ui/icons/trimet/Email.js index b6291adc..a2c401f6 100755 --- a/journey/src/otp-ui/icons/trimet/Email.js +++ b/journey/src/otp-ui/icons/trimet/Email.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgEmail = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Feedback.js b/journey/src/otp-ui/icons/trimet/Feedback.js index e9ccdf6e..d3cfeaac 100755 --- a/journey/src/otp-ui/icons/trimet/Feedback.js +++ b/journey/src/otp-ui/icons/trimet/Feedback.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgFeedback = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Ferry.js b/journey/src/otp-ui/icons/trimet/Ferry.js index dbd351f9..ae1e0c8a 100755 --- a/journey/src/otp-ui/icons/trimet/Ferry.js +++ b/journey/src/otp-ui/icons/trimet/Ferry.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgFerry = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Help.js b/journey/src/otp-ui/icons/trimet/Help.js index 47b7de3a..9a6b89b2 100755 --- a/journey/src/otp-ui/icons/trimet/Help.js +++ b/journey/src/otp-ui/icons/trimet/Help.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgHelp = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/HelpSolid.js b/journey/src/otp-ui/icons/trimet/HelpSolid.js index 92ca8e3a..a79ee76f 100755 --- a/journey/src/otp-ui/icons/trimet/HelpSolid.js +++ b/journey/src/otp-ui/icons/trimet/HelpSolid.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgHelpsolid = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Info.js b/journey/src/otp-ui/icons/trimet/Info.js index b63d34bc..e9a58786 100755 --- a/journey/src/otp-ui/icons/trimet/Info.js +++ b/journey/src/otp-ui/icons/trimet/Info.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgInfo = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Map.js b/journey/src/otp-ui/icons/trimet/Map.js index 83837f99..e622626d 100755 --- a/journey/src/otp-ui/icons/trimet/Map.js +++ b/journey/src/otp-ui/icons/trimet/Map.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgMap = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/MapMarker.js b/journey/src/otp-ui/icons/trimet/MapMarker.js index b672a224..becaab4b 100755 --- a/journey/src/otp-ui/icons/trimet/MapMarker.js +++ b/journey/src/otp-ui/icons/trimet/MapMarker.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgMapmarker = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/MapMarkerSolid.js b/journey/src/otp-ui/icons/trimet/MapMarkerSolid.js index 91bb60b5..1c72bbf4 100755 --- a/journey/src/otp-ui/icons/trimet/MapMarkerSolid.js +++ b/journey/src/otp-ui/icons/trimet/MapMarkerSolid.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgMapmarkersolid = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Max.js b/journey/src/otp-ui/icons/trimet/Max.js index 57109c87..3bb56cae 100755 --- a/journey/src/otp-ui/icons/trimet/Max.js +++ b/journey/src/otp-ui/icons/trimet/Max.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgMax = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/MaxCircle.js b/journey/src/otp-ui/icons/trimet/MaxCircle.js index 83af41d3..9c522bbe 100755 --- a/journey/src/otp-ui/icons/trimet/MaxCircle.js +++ b/journey/src/otp-ui/icons/trimet/MaxCircle.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgMaxcircle = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Micromobility.js b/journey/src/otp-ui/icons/trimet/Micromobility.js index d96578d0..890fa136 100755 --- a/journey/src/otp-ui/icons/trimet/Micromobility.js +++ b/journey/src/otp-ui/icons/trimet/Micromobility.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgMicromobility = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Parking.js b/journey/src/otp-ui/icons/trimet/Parking.js index 85000f8c..156263e2 100755 --- a/journey/src/otp-ui/icons/trimet/Parking.js +++ b/journey/src/otp-ui/icons/trimet/Parking.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgParking = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Phone.js b/journey/src/otp-ui/icons/trimet/Phone.js index f83030b1..4a82108c 100755 --- a/journey/src/otp-ui/icons/trimet/Phone.js +++ b/journey/src/otp-ui/icons/trimet/Phone.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgPhone = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Plane.js b/journey/src/otp-ui/icons/trimet/Plane.js index 4c2d0daa..fb915842 100755 --- a/journey/src/otp-ui/icons/trimet/Plane.js +++ b/journey/src/otp-ui/icons/trimet/Plane.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgPlane = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Schedule.js b/journey/src/otp-ui/icons/trimet/Schedule.js index 2fbf7e4b..71baf5c8 100755 --- a/journey/src/otp-ui/icons/trimet/Schedule.js +++ b/journey/src/otp-ui/icons/trimet/Schedule.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgSchedule = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Snow.js b/journey/src/otp-ui/icons/trimet/Snow.js index 8548e3ce..0b275773 100755 --- a/journey/src/otp-ui/icons/trimet/Snow.js +++ b/journey/src/otp-ui/icons/trimet/Snow.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgSnow = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/StopStation.js b/journey/src/otp-ui/icons/trimet/StopStation.js index e84a08f4..3849fbd2 100755 --- a/journey/src/otp-ui/icons/trimet/StopStation.js +++ b/journey/src/otp-ui/icons/trimet/StopStation.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgStopstation = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/StopStationSolid.js b/journey/src/otp-ui/icons/trimet/StopStationSolid.js index 45001207..04726558 100755 --- a/journey/src/otp-ui/icons/trimet/StopStationSolid.js +++ b/journey/src/otp-ui/icons/trimet/StopStationSolid.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgStopstationsolid = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Streetcar.js b/journey/src/otp-ui/icons/trimet/Streetcar.js index 70456b05..a329cacb 100755 --- a/journey/src/otp-ui/icons/trimet/Streetcar.js +++ b/journey/src/otp-ui/icons/trimet/Streetcar.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgStreetcar = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/StreetcarCircle.js b/journey/src/otp-ui/icons/trimet/StreetcarCircle.js index 032bf0ab..7f07fc00 100755 --- a/journey/src/otp-ui/icons/trimet/StreetcarCircle.js +++ b/journey/src/otp-ui/icons/trimet/StreetcarCircle.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgStreetcarcircle = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Transittracker.js b/journey/src/otp-ui/icons/trimet/Transittracker.js index 0df173d3..bee990ba 100755 --- a/journey/src/otp-ui/icons/trimet/Transittracker.js +++ b/journey/src/otp-ui/icons/trimet/Transittracker.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgTransittracker = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/TransittrackerSolid.js b/journey/src/otp-ui/icons/trimet/TransittrackerSolid.js index a4a40dc1..a938bfb2 100755 --- a/journey/src/otp-ui/icons/trimet/TransittrackerSolid.js +++ b/journey/src/otp-ui/icons/trimet/TransittrackerSolid.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgTransittrackersolid = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/TriMet.js b/journey/src/otp-ui/icons/trimet/TriMet.js index 90bff427..7eb85a07 100644 --- a/journey/src/otp-ui/icons/trimet/TriMet.js +++ b/journey/src/otp-ui/icons/trimet/TriMet.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgTriMet = () => ( diff --git a/journey/src/otp-ui/icons/trimet/TripPlanner.js b/journey/src/otp-ui/icons/trimet/TripPlanner.js index f4e5b92d..52d6578c 100755 --- a/journey/src/otp-ui/icons/trimet/TripPlanner.js +++ b/journey/src/otp-ui/icons/trimet/TripPlanner.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgTripplanner = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/TripPlannerSolid.js b/journey/src/otp-ui/icons/trimet/TripPlannerSolid.js index c2f1e881..2245fcc3 100755 --- a/journey/src/otp-ui/icons/trimet/TripPlannerSolid.js +++ b/journey/src/otp-ui/icons/trimet/TripPlannerSolid.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgTripplannersolid = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Walk.js b/journey/src/otp-ui/icons/trimet/Walk.js index 52e8d341..c71d013e 100755 --- a/journey/src/otp-ui/icons/trimet/Walk.js +++ b/journey/src/otp-ui/icons/trimet/Walk.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgWalk = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Wes.js b/journey/src/otp-ui/icons/trimet/Wes.js index 614da578..570491e0 100755 --- a/journey/src/otp-ui/icons/trimet/Wes.js +++ b/journey/src/otp-ui/icons/trimet/Wes.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgWes = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/WesCircle.js b/journey/src/otp-ui/icons/trimet/WesCircle.js index 03cf585e..37d72283 100755 --- a/journey/src/otp-ui/icons/trimet/WesCircle.js +++ b/journey/src/otp-ui/icons/trimet/WesCircle.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgWescircle = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/Zoom.js b/journey/src/otp-ui/icons/trimet/Zoom.js index 3b1de1c8..725495bd 100755 --- a/journey/src/otp-ui/icons/trimet/Zoom.js +++ b/journey/src/otp-ui/icons/trimet/Zoom.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgZoom = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/ZoomAngle.js b/journey/src/otp-ui/icons/trimet/ZoomAngle.js index 044297af..78be7760 100755 --- a/journey/src/otp-ui/icons/trimet/ZoomAngle.js +++ b/journey/src/otp-ui/icons/trimet/ZoomAngle.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; const SvgZoomangle = ({ title, ...props }) => ( diff --git a/journey/src/otp-ui/icons/trimet/index.js b/journey/src/otp-ui/icons/trimet/index.js index 235dd3f3..4172537e 100644 --- a/journey/src/otp-ui/icons/trimet/index.js +++ b/journey/src/otp-ui/icons/trimet/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import Accessible from "./Accessible"; import AerialTram from "./AerialTram"; import Alert from "./Alert"; diff --git a/journey/src/otp-ui/itinerary-body/AccessLegBody/access-leg-steps.js b/journey/src/otp-ui/itinerary-body/AccessLegBody/access-leg-steps.js index cdba4924..7ec7dcef 100644 --- a/journey/src/otp-ui/itinerary-body/AccessLegBody/access-leg-steps.js +++ b/journey/src/otp-ui/itinerary-body/AccessLegBody/access-leg-steps.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { getStepDirection, getStepStreetName diff --git a/journey/src/otp-ui/itinerary-body/AccessLegBody/access-leg-summary.js b/journey/src/otp-ui/itinerary-body/AccessLegBody/access-leg-summary.js index 0e52a6fe..13be9730 100644 --- a/journey/src/otp-ui/itinerary-body/AccessLegBody/access-leg-summary.js +++ b/journey/src/otp-ui/itinerary-body/AccessLegBody/access-leg-summary.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { getLegModeLabel, getPlaceName diff --git a/journey/src/otp-ui/itinerary-body/AccessLegBody/index.js b/journey/src/otp-ui/itinerary-body/AccessLegBody/index.js index 10eaa2b1..6e9030b8 100644 --- a/journey/src/otp-ui/itinerary-body/AccessLegBody/index.js +++ b/journey/src/otp-ui/itinerary-body/AccessLegBody/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { formatDuration } from "../../core-utils/time"; import { configType, diff --git a/journey/src/otp-ui/itinerary-body/AccessLegBody/leg-diagram-preview.js b/journey/src/otp-ui/itinerary-body/AccessLegBody/leg-diagram-preview.js index f830cfbd..702fb31b 100644 --- a/journey/src/otp-ui/itinerary-body/AccessLegBody/leg-diagram-preview.js +++ b/journey/src/otp-ui/itinerary-body/AccessLegBody/leg-diagram-preview.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { getElevationProfile } from "../../core-utils/itinerary"; import { legType } from "../../core-utils/types"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/itinerary-body/AccessLegBody/rented-vehicle-subheader.js b/journey/src/otp-ui/itinerary-body/AccessLegBody/rented-vehicle-subheader.js index a6522145..0c6e3875 100644 --- a/journey/src/otp-ui/itinerary-body/AccessLegBody/rented-vehicle-subheader.js +++ b/journey/src/otp-ui/itinerary-body/AccessLegBody/rented-vehicle-subheader.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { configType, legType } from "../../core-utils/types"; import { getCompaniesLabelFromNetworks, diff --git a/journey/src/otp-ui/itinerary-body/AccessLegBody/tnc-leg.js b/journey/src/otp-ui/itinerary-body/AccessLegBody/tnc-leg.js index 04c875e9..b0968d93 100644 --- a/journey/src/otp-ui/itinerary-body/AccessLegBody/tnc-leg.js +++ b/journey/src/otp-ui/itinerary-body/AccessLegBody/tnc-leg.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import currencyFormatter from "currency-formatter"; import { formatDuration, diff --git a/journey/src/otp-ui/itinerary-body/RouteBadge/index.js b/journey/src/otp-ui/itinerary-body/RouteBadge/index.js index d6f6ff75..6cad3731 100755 --- a/journey/src/otp-ui/itinerary-body/RouteBadge/index.js +++ b/journey/src/otp-ui/itinerary-body/RouteBadge/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/itinerary-body/TransitLegBody/alerts-body.js b/journey/src/otp-ui/itinerary-body/TransitLegBody/alerts-body.js index f689dc7e..30c15729 100644 --- a/journey/src/otp-ui/itinerary-body/TransitLegBody/alerts-body.js +++ b/journey/src/otp-ui/itinerary-body/TransitLegBody/alerts-body.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import moment from "moment"; import PropTypes from "prop-types"; import React from "react"; diff --git a/journey/src/otp-ui/itinerary-body/TransitLegBody/index.js b/journey/src/otp-ui/itinerary-body/TransitLegBody/index.js index d2b02ebc..429b0224 100644 --- a/journey/src/otp-ui/itinerary-body/TransitLegBody/index.js +++ b/journey/src/otp-ui/itinerary-body/TransitLegBody/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { getTransitFare } from "../../core-utils/itinerary"; import { formatDuration } from "../../core-utils/time"; import { diff --git a/journey/src/otp-ui/itinerary-body/TransitLegBody/intermediate-stops.js b/journey/src/otp-ui/itinerary-body/TransitLegBody/intermediate-stops.js index 457d7be0..3c607bf1 100644 --- a/journey/src/otp-ui/itinerary-body/TransitLegBody/intermediate-stops.js +++ b/journey/src/otp-ui/itinerary-body/TransitLegBody/intermediate-stops.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from "prop-types"; import React from "react"; diff --git a/journey/src/otp-ui/itinerary-body/TransitLegBody/view-trip-button.js b/journey/src/otp-ui/itinerary-body/TransitLegBody/view-trip-button.js index 0c4a064f..6d952978 100644 --- a/journey/src/otp-ui/itinerary-body/TransitLegBody/view-trip-button.js +++ b/journey/src/otp-ui/itinerary-body/TransitLegBody/view-trip-button.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from "react"; import PropTypes from "prop-types"; import { withNamespaces } from 'react-i18next' diff --git a/journey/src/otp-ui/itinerary-body/defaults/line-column-content.js b/journey/src/otp-ui/itinerary-body/defaults/line-column-content.js index c026a0d4..5fd56801 100644 --- a/journey/src/otp-ui/itinerary-body/defaults/line-column-content.js +++ b/journey/src/otp-ui/itinerary-body/defaults/line-column-content.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from "../../core-utils"; import LocationIcon from "../../location-icon"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/itinerary-body/defaults/place-name.js b/journey/src/otp-ui/itinerary-body/defaults/place-name.js index c8fe79de..6c07e55e 100644 --- a/journey/src/otp-ui/itinerary-body/defaults/place-name.js +++ b/journey/src/otp-ui/itinerary-body/defaults/place-name.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { configType, placeType } from "../../core-utils/types"; import { getPlaceName } from "../../core-utils/itinerary"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/itinerary-body/defaults/route-description.js b/journey/src/otp-ui/itinerary-body/defaults/route-description.js index b369f6d1..99bd0edc 100644 --- a/journey/src/otp-ui/itinerary-body/defaults/route-description.js +++ b/journey/src/otp-ui/itinerary-body/defaults/route-description.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { legType } from "../../core-utils/types"; import React from "react"; import { withNamespaces } from "react-i18next" diff --git a/journey/src/otp-ui/itinerary-body/defaults/time-column-content.js b/journey/src/otp-ui/itinerary-body/defaults/time-column-content.js index 12fb8123..dd1f087c 100644 --- a/journey/src/otp-ui/itinerary-body/defaults/time-column-content.js +++ b/journey/src/otp-ui/itinerary-body/defaults/time-column-content.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { formatTime } from "../../core-utils/time"; import { legType, diff --git a/journey/src/otp-ui/itinerary-body/defaults/transit-leg-summary.js b/journey/src/otp-ui/itinerary-body/defaults/transit-leg-summary.js index 72019cd4..7d97a4a2 100644 --- a/journey/src/otp-ui/itinerary-body/defaults/transit-leg-summary.js +++ b/journey/src/otp-ui/itinerary-body/defaults/transit-leg-summary.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { legType } from "../../core-utils/types"; import PropTypes from "prop-types"; import React from "react"; diff --git a/journey/src/otp-ui/itinerary-body/index.js b/journey/src/otp-ui/itinerary-body/index.js index 84c1a80a..4d8e2150 100755 --- a/journey/src/otp-ui/itinerary-body/index.js +++ b/journey/src/otp-ui/itinerary-body/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { configType, itineraryType, diff --git a/journey/src/otp-ui/itinerary-body/otp-react-redux/line-column-content.js b/journey/src/otp-ui/itinerary-body/otp-react-redux/line-column-content.js index 05ab77b0..703688ea 100644 --- a/journey/src/otp-ui/itinerary-body/otp-react-redux/line-column-content.js +++ b/journey/src/otp-ui/itinerary-body/otp-react-redux/line-column-content.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from "../../core-utils"; import LocationIcon from "../../location-icon"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/itinerary-body/otp-react-redux/place-name.js b/journey/src/otp-ui/itinerary-body/otp-react-redux/place-name.js index 84974783..46d89f2e 100644 --- a/journey/src/otp-ui/itinerary-body/otp-react-redux/place-name.js +++ b/journey/src/otp-ui/itinerary-body/otp-react-redux/place-name.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { configType, placeType } from "../../core-utils/types"; import { getPlaceName } from "../../core-utils/itinerary"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/itinerary-body/otp-react-redux/route-description.js b/journey/src/otp-ui/itinerary-body/otp-react-redux/route-description.js index f97c16d4..0c6b86f9 100644 --- a/journey/src/otp-ui/itinerary-body/otp-react-redux/route-description.js +++ b/journey/src/otp-ui/itinerary-body/otp-react-redux/route-description.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { legType } from "../../core-utils/types"; import PropTypes from "prop-types"; import React from "react"; diff --git a/journey/src/otp-ui/itinerary-body/otp-react-redux/transit-leg-subheader.js b/journey/src/otp-ui/itinerary-body/otp-react-redux/transit-leg-subheader.js index d4ebf45d..12063ce2 100644 --- a/journey/src/otp-ui/itinerary-body/otp-react-redux/transit-leg-subheader.js +++ b/journey/src/otp-ui/itinerary-body/otp-react-redux/transit-leg-subheader.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { languageConfigType, legType diff --git a/journey/src/otp-ui/itinerary-body/otp-react-redux/view-stop-button.js b/journey/src/otp-ui/itinerary-body/otp-react-redux/view-stop-button.js index f4ebfa33..05e5be23 100644 --- a/journey/src/otp-ui/itinerary-body/otp-react-redux/view-stop-button.js +++ b/journey/src/otp-ui/itinerary-body/otp-react-redux/view-stop-button.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from "react"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/itinerary-body/place-row.js b/journey/src/otp-ui/itinerary-body/place-row.js index 26e87bc3..68fbec0f 100755 --- a/journey/src/otp-ui/itinerary-body/place-row.js +++ b/journey/src/otp-ui/itinerary-body/place-row.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { configType, fareType, diff --git a/journey/src/otp-ui/itinerary-body/util.js b/journey/src/otp-ui/itinerary-body/util.js index 9c218e40..54c19ee7 100644 --- a/journey/src/otp-ui/itinerary-body/util.js +++ b/journey/src/otp-ui/itinerary-body/util.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /** * the GTFS spec indicates that the route color should not have a leading hash * symbol, so add one if the routeColor exists and doesn't start with a hash diff --git a/journey/src/otp-ui/location-field/index.js b/journey/src/otp-ui/location-field/index.js index 9dc9ef3a..0eb041cc 100644 --- a/journey/src/otp-ui/location-field/index.js +++ b/journey/src/otp-ui/location-field/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { currentPositionToLocation, formatStoredPlaceName diff --git a/journey/src/otp-ui/location-field/options.js b/journey/src/otp-ui/location-field/options.js index 9206a1c9..0cdefae1 100644 --- a/journey/src/otp-ui/location-field/options.js +++ b/journey/src/otp-ui/location-field/options.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { transitIndexStopWithRoutes, userLocationType diff --git a/journey/src/otp-ui/location-field/styled.js b/journey/src/otp-ui/location-field/styled.js index f8fdb0d6..a6e504fd 100644 --- a/journey/src/otp-ui/location-field/styled.js +++ b/journey/src/otp-ui/location-field/styled.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from "prop-types"; import React, { Component } from "react"; import styled from "styled-components"; diff --git a/journey/src/otp-ui/location-filter/index.js b/journey/src/otp-ui/location-filter/index.js index a1addd8e..ff9b2d3b 100644 --- a/journey/src/otp-ui/location-filter/index.js +++ b/journey/src/otp-ui/location-filter/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from "react"; import PropTypes from "prop-types"; import { withNamespaces } from "react-i18next"; diff --git a/journey/src/otp-ui/location-icon/index.js b/journey/src/otp-ui/location-icon/index.js index 39aa9047..696eb282 100644 --- a/journey/src/otp-ui/location-icon/index.js +++ b/journey/src/otp-ui/location-icon/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import PropTypes from "prop-types"; import MarkerLocationFrom from "../icons/modern/MarkerLocationFrom"; diff --git a/journey/src/otp-ui/overlay-charger/index.js b/journey/src/otp-ui/overlay-charger/index.js index b4939853..5237581e 100644 --- a/journey/src/otp-ui/overlay-charger/index.js +++ b/journey/src/otp-ui/overlay-charger/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import PropTypes from "prop-types"; import { connect } from "react-redux"; diff --git a/journey/src/otp-ui/overlay-drt/index.js b/journey/src/otp-ui/overlay-drt/index.js index 5646c388..fa0da2ba 100644 --- a/journey/src/otp-ui/overlay-drt/index.js +++ b/journey/src/otp-ui/overlay-drt/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/otp-ui/overlay-endpoints/endpoint.js b/journey/src/otp-ui/overlay-endpoints/endpoint.js index bc557f45..b5707d46 100644 --- a/journey/src/otp-ui/overlay-endpoints/endpoint.js +++ b/journey/src/otp-ui/overlay-endpoints/endpoint.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { divIcon } from "leaflet"; import { constructLocation, diff --git a/journey/src/otp-ui/overlay-endpoints/index.js b/journey/src/otp-ui/overlay-endpoints/index.js index 314489a2..dedd1289 100644 --- a/journey/src/otp-ui/overlay-endpoints/index.js +++ b/journey/src/otp-ui/overlay-endpoints/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { locationType } from "../core-utils/types"; import PropTypes from "prop-types"; import React from "react"; diff --git a/journey/src/otp-ui/overlay-park-and-ride/index.js b/journey/src/otp-ui/overlay-park-and-ride/index.js index 2bf79d72..e653c827 100644 --- a/journey/src/otp-ui/overlay-park-and-ride/index.js +++ b/journey/src/otp-ui/overlay-park-and-ride/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import FromToLocationPicker from "../from-to-location-picker"; import PropTypes from "prop-types"; import React from "react"; diff --git a/journey/src/otp-ui/overlay-parking/index.js b/journey/src/otp-ui/overlay-parking/index.js index 0c871b4c..57a8e041 100644 --- a/journey/src/otp-ui/overlay-parking/index.js +++ b/journey/src/otp-ui/overlay-parking/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/otp-ui/overlay-route-viewer/index.js b/journey/src/otp-ui/overlay-route-viewer/index.js index be37b262..0af3ed49 100644 --- a/journey/src/otp-ui/overlay-route-viewer/index.js +++ b/journey/src/otp-ui/overlay-route-viewer/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { encodedPolylineType, leafletPathType diff --git a/journey/src/otp-ui/overlay-stop-viewer/default-stop-marker.js b/journey/src/otp-ui/overlay-stop-viewer/default-stop-marker.js index eb6959bf..4103f033 100644 --- a/journey/src/otp-ui/overlay-stop-viewer/default-stop-marker.js +++ b/journey/src/otp-ui/overlay-stop-viewer/default-stop-marker.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { leafletPathType, stopLayerStopType diff --git a/journey/src/otp-ui/overlay-stop-viewer/index.js b/journey/src/otp-ui/overlay-stop-viewer/index.js index bb78e2f3..3c19d00d 100644 --- a/journey/src/otp-ui/overlay-stop-viewer/index.js +++ b/journey/src/otp-ui/overlay-stop-viewer/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { stopLayerStopType } from "../core-utils/types"; import PropTypes from "prop-types"; import React from "react"; diff --git a/journey/src/otp-ui/overlay-stops/index.js b/journey/src/otp-ui/overlay-stops/index.js index c63a798e..07e5e456 100644 --- a/journey/src/otp-ui/overlay-stops/index.js +++ b/journey/src/otp-ui/overlay-stops/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import utils from "../core-utils"; import uniqBy from "lodash.uniqby"; diff --git a/journey/src/otp-ui/overlay-stops/stop-marker.js b/journey/src/otp-ui/overlay-stops/stop-marker.js index 752dabd5..d17aba40 100644 --- a/journey/src/otp-ui/overlay-stops/stop-marker.js +++ b/journey/src/otp-ui/overlay-stops/stop-marker.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { languageConfigType, leafletPathType, diff --git a/journey/src/otp-ui/overlay-traffic/index.js b/journey/src/otp-ui/overlay-traffic/index.js index d09734d9..9bcc08da 100644 --- a/journey/src/otp-ui/overlay-traffic/index.js +++ b/journey/src/otp-ui/overlay-traffic/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/otp-ui/overlay-transitive/index.js b/journey/src/otp-ui/overlay-transitive/index.js index 25ddd9df..c34f73b9 100644 --- a/journey/src/otp-ui/overlay-transitive/index.js +++ b/journey/src/otp-ui/overlay-transitive/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import L from "leaflet"; import isEqual from "lodash.isequal"; import { transitiveDataType } from "../core-utils/types"; diff --git a/journey/src/otp-ui/overlay-transitive/leaflet-canvas-layer.js b/journey/src/otp-ui/overlay-transitive/leaflet-canvas-layer.js index 0fd96ae3..326f7760 100644 --- a/journey/src/otp-ui/overlay-transitive/leaflet-canvas-layer.js +++ b/journey/src/otp-ui/overlay-transitive/leaflet-canvas-layer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /* Generic Canvas Layer for leaflet 0.7 and 1.0-rc, copyright Stanislav Sumbera, 2016 , sumbera.com , license MIT diff --git a/journey/src/otp-ui/overlay-transitive/transitive-styles.js b/journey/src/otp-ui/overlay-transitive/transitive-styles.js index 6b99155e..a8cbfeb2 100644 --- a/journey/src/otp-ui/overlay-transitive/transitive-styles.js +++ b/journey/src/otp-ui/overlay-transitive/transitive-styles.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { isBikeshareStation, isCarWalkTransition, diff --git a/journey/src/otp-ui/overlay-trip-viewer/index.js b/journey/src/otp-ui/overlay-trip-viewer/index.js index e38f86ea..ca6e1b38 100644 --- a/journey/src/otp-ui/overlay-trip-viewer/index.js +++ b/journey/src/otp-ui/overlay-trip-viewer/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { encodedPolylineType, leafletPathType diff --git a/journey/src/otp-ui/overlay-vehicle-rental/index.js b/journey/src/otp-ui/overlay-vehicle-rental/index.js index db04a40e..ae0f2307 100644 --- a/journey/src/otp-ui/overlay-vehicle-rental/index.js +++ b/journey/src/otp-ui/overlay-vehicle-rental/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { divIcon } from "leaflet"; import memoize from "lodash.memoize"; import { getCompaniesLabelFromNetworks } from "../core-utils/itinerary"; diff --git a/journey/src/otp-ui/overlay-zipcar/index.js b/journey/src/otp-ui/overlay-zipcar/index.js index 7d77c37a..9d3df3f0 100644 --- a/journey/src/otp-ui/overlay-zipcar/index.js +++ b/journey/src/otp-ui/overlay-zipcar/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' diff --git a/journey/src/otp-ui/printable-itinerary/access-leg.js b/journey/src/otp-ui/printable-itinerary/access-leg.js index 008568e3..7be8446a 100644 --- a/journey/src/otp-ui/printable-itinerary/access-leg.js +++ b/journey/src/otp-ui/printable-itinerary/access-leg.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { getLegModeLabel, getPlaceName, diff --git a/journey/src/otp-ui/printable-itinerary/index.js b/journey/src/otp-ui/printable-itinerary/index.js index 86142165..061b15ac 100644 --- a/journey/src/otp-ui/printable-itinerary/index.js +++ b/journey/src/otp-ui/printable-itinerary/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { configType, itineraryType, diff --git a/journey/src/otp-ui/printable-itinerary/tnc-leg.js b/journey/src/otp-ui/printable-itinerary/tnc-leg.js index c76020d5..a9c3063b 100644 --- a/journey/src/otp-ui/printable-itinerary/tnc-leg.js +++ b/journey/src/otp-ui/printable-itinerary/tnc-leg.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { legType } from "../core-utils/types"; import { formatDuration } from "../core-utils/time"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/printable-itinerary/transit-leg.js b/journey/src/otp-ui/printable-itinerary/transit-leg.js index 3499e800..cfed73e6 100644 --- a/journey/src/otp-ui/printable-itinerary/transit-leg.js +++ b/journey/src/otp-ui/printable-itinerary/transit-leg.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { formatTime } from "../core-utils/time"; import { legType, diff --git a/journey/src/otp-ui/toggle-switch/index.js b/journey/src/otp-ui/toggle-switch/index.js index 69c542f6..25d12811 100644 --- a/journey/src/otp-ui/toggle-switch/index.js +++ b/journey/src/otp-ui/toggle-switch/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from "react"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/trip-details/index.js b/journey/src/otp-ui/trip-details/index.js index 163a83f5..fddbe81d 100644 --- a/journey/src/otp-ui/trip-details/index.js +++ b/journey/src/otp-ui/trip-details/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { calculateFares, calculatePhysicalActivity diff --git a/journey/src/otp-ui/trip-details/trip-detail.js b/journey/src/otp-ui/trip-details/trip-detail.js index 182ce98b..8f0c728b 100644 --- a/journey/src/otp-ui/trip-details/trip-detail.js +++ b/journey/src/otp-ui/trip-details/trip-detail.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import PropTypes from "prop-types"; import React, { Component } from "react"; import { QuestionCircle } from "@styled-icons/fa-solid"; diff --git a/journey/src/otp-ui/trip-form/CheckboxSelector/index.js b/journey/src/otp-ui/trip-form/CheckboxSelector/index.js index f6b40fd8..86756c5d 100644 --- a/journey/src/otp-ui/trip-form/CheckboxSelector/index.js +++ b/journey/src/otp-ui/trip-form/CheckboxSelector/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from "react"; import PropTypes from "prop-types"; import { Checkbox } from 'react-bootstrap'; diff --git a/journey/src/otp-ui/trip-form/DateTimeSelector/index.js b/journey/src/otp-ui/trip-form/DateTimeSelector/index.js index dbb67268..56aca917 100644 --- a/journey/src/otp-ui/trip-form/DateTimeSelector/index.js +++ b/journey/src/otp-ui/trip-form/DateTimeSelector/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from "react"; import PropTypes from "prop-types"; import moment from "moment"; diff --git a/journey/src/otp-ui/trip-form/DropdownSelector/index.js b/journey/src/otp-ui/trip-form/DropdownSelector/index.js index f1c53daa..b228cceb 100644 --- a/journey/src/otp-ui/trip-form/DropdownSelector/index.js +++ b/journey/src/otp-ui/trip-form/DropdownSelector/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from "react"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/trip-form/GeneralSettingsPanel/index.js b/journey/src/otp-ui/trip-form/GeneralSettingsPanel/index.js index 92b81075..4dd0b9ab 100644 --- a/journey/src/otp-ui/trip-form/GeneralSettingsPanel/index.js +++ b/journey/src/otp-ui/trip-form/GeneralSettingsPanel/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React, { Component } from "react"; import PropTypes from "prop-types"; import { withNamespaces } from "react-i18next" diff --git a/journey/src/otp-ui/trip-form/ModeButton/index.js b/journey/src/otp-ui/trip-form/ModeButton/index.js index 92a4e4a7..f7a4f6c6 100644 --- a/journey/src/otp-ui/trip-form/ModeButton/index.js +++ b/journey/src/otp-ui/trip-form/ModeButton/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import PropTypes from "prop-types"; import { Button, OverlayTrigger, Tooltip } from 'react-bootstrap' diff --git a/journey/src/otp-ui/trip-form/ModeSelector/index.js b/journey/src/otp-ui/trip-form/ModeSelector/index.js index edb540c5..598daab0 100644 --- a/journey/src/otp-ui/trip-form/ModeSelector/index.js +++ b/journey/src/otp-ui/trip-form/ModeSelector/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React,{ useState, useEffect } from "react"; import PropTypes from "prop-types"; import { withNamespaces } from "react-i18next" diff --git a/journey/src/otp-ui/trip-form/SettingsSelectorPanel/index.js b/journey/src/otp-ui/trip-form/SettingsSelectorPanel/index.js index 536b7d46..d2891cc1 100644 --- a/journey/src/otp-ui/trip-form/SettingsSelectorPanel/index.js +++ b/journey/src/otp-ui/trip-form/SettingsSelectorPanel/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { TriMetModeIcon } from "../../icons"; import React, { Component } from "react"; import PropTypes from "prop-types"; diff --git a/journey/src/otp-ui/trip-form/SubmodeSelector/index.js b/journey/src/otp-ui/trip-form/SubmodeSelector/index.js index ade922c9..24e48549 100644 --- a/journey/src/otp-ui/trip-form/SubmodeSelector/index.js +++ b/journey/src/otp-ui/trip-form/SubmodeSelector/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import PropTypes from "prop-types"; import { withNamespaces } from "react-i18next" diff --git a/journey/src/otp-ui/trip-form/index.js b/journey/src/otp-ui/trip-form/index.js index 80f07206..176c7bc5 100644 --- a/journey/src/otp-ui/trip-form/index.js +++ b/journey/src/otp-ui/trip-form/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import CheckboxSelector from "./CheckboxSelector"; import DateTimeSelector from "./DateTimeSelector"; import DropdownSelector from "./DropdownSelector"; diff --git a/journey/src/otp-ui/trip-form/styled.js b/journey/src/otp-ui/trip-form/styled.js index 3581ca96..3f39ead8 100755 --- a/journey/src/otp-ui/trip-form/styled.js +++ b/journey/src/otp-ui/trip-form/styled.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import styled from "styled-components"; export const SettingsHeader = styled.div``; diff --git a/journey/src/otp-ui/trip-form/util.js b/journey/src/otp-ui/trip-form/util.js index ca18400c..32f7f6d7 100644 --- a/journey/src/otp-ui/trip-form/util.js +++ b/journey/src/otp-ui/trip-form/util.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from "react"; import { hasRental, diff --git a/journey/src/reducers/call-taker.js b/journey/src/reducers/call-taker.js index b0dacf1d..742b7eed 100644 --- a/journey/src/reducers/call-taker.js +++ b/journey/src/reducers/call-taker.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../otp-ui/core-utils' import update from 'immutability-helper' import moment from 'moment' diff --git a/journey/src/reducers/create-otp-reducer.js b/journey/src/reducers/create-otp-reducer.js index 3f5fe445..c1ddba77 100644 --- a/journey/src/reducers/create-otp-reducer.js +++ b/journey/src/reducers/create-otp-reducer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import clone from 'clone' import update from 'immutability-helper' import isEqual from 'lodash.isequal' diff --git a/journey/src/reducers/create-user-reducer.js b/journey/src/reducers/create-user-reducer.js index 2dc9afbb..e7afb73d 100644 --- a/journey/src/reducers/create-user-reducer.js +++ b/journey/src/reducers/create-user-reducer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import update from 'immutability-helper' // TODO: port user-specific code from the otp reducer. diff --git a/journey/src/styles/_mixins.scss b/journey/src/styles/_mixins.scss index e69de29b..b8ce70a5 100644 --- a/journey/src/styles/_mixins.scss +++ b/journey/src/styles/_mixins.scss @@ -0,0 +1,5 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ diff --git a/journey/src/styles/_utils.scss b/journey/src/styles/_utils.scss index d85bff97..749957dd 100644 --- a/journey/src/styles/_utils.scss +++ b/journey/src/styles/_utils.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + // Spacing .p-1 { padding: $font-size-base / 2; } diff --git a/journey/src/styles/_variables.default.scss b/journey/src/styles/_variables.default.scss index 7518dbd2..ce48df46 100644 --- a/journey/src/styles/_variables.default.scss +++ b/journey/src/styles/_variables.default.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + // Vendors vars override $fa-font-path: "../fonts/font-awesome" !default; diff --git a/journey/src/styles/_variables.scss b/journey/src/styles/_variables.scss index 7af467d2..14ac5bf5 100644 --- a/journey/src/styles/_variables.scss +++ b/journey/src/styles/_variables.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + // Vendors vars override $fa-font-path: "../fonts/font-awesome" !default; diff --git a/journey/src/styles/components/_bootstrap.scss b/journey/src/styles/components/_bootstrap.scss index fdafd9d9..882ebf35 100644 --- a/journey/src/styles/components/_bootstrap.scss +++ b/journey/src/styles/components/_bootstrap.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .form-control { box-shadow: none; } diff --git a/journey/src/styles/components/_credits.scss b/journey/src/styles/components/_credits.scss index 8a318931..2cd2ea5e 100644 --- a/journey/src/styles/components/_credits.scss +++ b/journey/src/styles/components/_credits.scss @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ .credits-modal { .modal-body { diff --git a/journey/src/styles/components/_navbar.scss b/journey/src/styles/components/_navbar.scss index 52a270f5..09b2e25a 100644 --- a/journey/src/styles/components/_navbar.scss +++ b/journey/src/styles/components/_navbar.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .navbar-brand { font-weight: bold; letter-spacing: 1px; diff --git a/journey/src/styles/index.scss b/journey/src/styles/index.scss index 831b6337..7da1df28 100644 --- a/journey/src/styles/index.scss +++ b/journey/src/styles/index.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + @import 'variables'; // CSS FOR MAP COMPONENTS diff --git a/journey/src/styles/otp-mobile/_leaflet.scss b/journey/src/styles/otp-mobile/_leaflet.scss index 35d39445..ffb08f4e 100644 --- a/journey/src/styles/otp-mobile/_leaflet.scss +++ b/journey/src/styles/otp-mobile/_leaflet.scss @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ .otp.mobile { .leaflet-top.leaflet-right { diff --git a/journey/src/styles/otp-mobile/_location.scss b/journey/src/styles/otp-mobile/_location.scss index efa04738..06797ce4 100644 --- a/journey/src/styles/otp-mobile/_location.scss +++ b/journey/src/styles/otp-mobile/_location.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp.mobile { .location-search { position: absolute; diff --git a/journey/src/styles/otp-mobile/_narrative.scss b/journey/src/styles/otp-mobile/_narrative.scss index c4d4cfad..a8458d2d 100644 --- a/journey/src/styles/otp-mobile/_narrative.scss +++ b/journey/src/styles/otp-mobile/_narrative.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp.mobile { .mobile-narrative-header { position: fixed; diff --git a/journey/src/styles/otp-mobile/_search-settings.scss b/journey/src/styles/otp-mobile/_search-settings.scss index 71621097..20d837d3 100644 --- a/journey/src/styles/otp-mobile/_search-settings.scss +++ b/journey/src/styles/otp-mobile/_search-settings.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp.mobile { .search-settings { position: fixed; diff --git a/journey/src/styles/otp-mobile/_transport-selector.scss b/journey/src/styles/otp-mobile/_transport-selector.scss index de937d6e..a2ab152d 100644 --- a/journey/src/styles/otp-mobile/_transport-selector.scss +++ b/journey/src/styles/otp-mobile/_transport-selector.scss @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ .otp-ui-settingsSelectorPanel { margin-bottom: $font-size-base; diff --git a/journey/src/styles/otp-mobile/_user-settings.scss b/journey/src/styles/otp-mobile/_user-settings.scss index 031625ac..4009289b 100644 --- a/journey/src/styles/otp-mobile/_user-settings.scss +++ b/journey/src/styles/otp-mobile/_user-settings.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp.mobile { .user-settings { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); diff --git a/journey/src/styles/otp-mobile/_utils.scss b/journey/src/styles/otp-mobile/_utils.scss index a65f851e..661244cc 100644 --- a/journey/src/styles/otp-mobile/_utils.scss +++ b/journey/src/styles/otp-mobile/_utils.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp.mobile { .hide-mobile { display: none !important; diff --git a/journey/src/styles/otp-mobile/_viewers.scss b/journey/src/styles/otp-mobile/_viewers.scss index 2469238d..944c8449 100644 --- a/journey/src/styles/otp-mobile/_viewers.scss +++ b/journey/src/styles/otp-mobile/_viewers.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp.mobile { .viewer-container { position: fixed; diff --git a/journey/src/styles/otp-mobile/_welcome.scss b/journey/src/styles/otp-mobile/_welcome.scss index 4cc96b76..40e3ddfd 100644 --- a/journey/src/styles/otp-mobile/_welcome.scss +++ b/journey/src/styles/otp-mobile/_welcome.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp.mobile { .welcome-location, .welcome-map { diff --git a/journey/src/styles/otp-ui/_advanced-overlays-controller.scss b/journey/src/styles/otp-ui/_advanced-overlays-controller.scss index 2c3d16da..13b95b73 100644 --- a/journey/src/styles/otp-ui/_advanced-overlays-controller.scss +++ b/journey/src/styles/otp-ui/_advanced-overlays-controller.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-advanced-overlays-controller { display: flex; justify-content: space-between; diff --git a/journey/src/styles/otp-ui/_badge-icon.scss b/journey/src/styles/otp-ui/_badge-icon.scss index 2264d1d5..14d21ee6 100644 --- a/journey/src/styles/otp-ui/_badge-icon.scss +++ b/journey/src/styles/otp-ui/_badge-icon.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-badge-icon { $badge-size: 21px; diff --git a/journey/src/styles/otp-ui/_base-map.scss b/journey/src/styles/otp-ui/_base-map.scss index d9e51f52..c3ebbd84 100644 --- a/journey/src/styles/otp-ui/_base-map.scss +++ b/journey/src/styles/otp-ui/_base-map.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-mapOverlayPopup { font-size: $font-size-base; min-width: 250px; diff --git a/journey/src/styles/otp-ui/_date-time-selector.scss b/journey/src/styles/otp-ui/_date-time-selector.scss index d2bc3648..65769c35 100644 --- a/journey/src/styles/otp-ui/_date-time-selector.scss +++ b/journey/src/styles/otp-ui/_date-time-selector.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-dateTimeSelector { .dropdown.btn-group { margin-bottom: $font-size-base; diff --git a/journey/src/styles/otp-ui/_endpoints-overlay.scss b/journey/src/styles/otp-ui/_endpoints-overlay.scss index e88c39f2..c3198728 100644 --- a/journey/src/styles/otp-ui/_endpoints-overlay.scss +++ b/journey/src/styles/otp-ui/_endpoints-overlay.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-defaultMapMarkerIcon { position: relative; display: inline-block; diff --git a/journey/src/styles/otp-ui/_form-to-location-pickers.scss b/journey/src/styles/otp-ui/_form-to-location-pickers.scss index 628d031c..a40547cb 100644 --- a/journey/src/styles/otp-ui/_form-to-location-pickers.scss +++ b/journey/src/styles/otp-ui/_form-to-location-pickers.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-formToLocationPicker { margin-top: 10px; diff --git a/journey/src/styles/otp-ui/_itinerary-body.scss b/journey/src/styles/otp-ui/_itinerary-body.scss index fa2e3790..d01e6701 100644 --- a/journey/src/styles/otp-ui/_itinerary-body.scss +++ b/journey/src/styles/otp-ui/_itinerary-body.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-placeRowWrapper { max-width: 500px; display: flex; diff --git a/journey/src/styles/otp-ui/_location-filter.scss b/journey/src/styles/otp-ui/_location-filter.scss index ccb699fa..e10a605d 100644 --- a/journey/src/styles/otp-ui/_location-filter.scss +++ b/journey/src/styles/otp-ui/_location-filter.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-locationFilter { position: fixed; width: $location-filter-width; diff --git a/journey/src/styles/otp-ui/_park-and-ride-overlay.scss b/journey/src/styles/otp-ui/_park-and-ride-overlay.scss index a5ace683..1cb184d6 100644 --- a/journey/src/styles/otp-ui/_park-and-ride-overlay.scss +++ b/journey/src/styles/otp-ui/_park-and-ride-overlay.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-parkAndRideOverlay { &__marker { background: #000; diff --git a/journey/src/styles/otp-ui/_printable-itinerary.scss b/journey/src/styles/otp-ui/_printable-itinerary.scss index e19b43c1..15ed873b 100644 --- a/journey/src/styles/otp-ui/_printable-itinerary.scss +++ b/journey/src/styles/otp-ui/_printable-itinerary.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-printableItineraryLeg { margin-bottom: 10px; border-top: 1px solid $gray; diff --git a/journey/src/styles/otp-ui/_toggle-switch.scss b/journey/src/styles/otp-ui/_toggle-switch.scss index 93ea0be9..1ef46432 100644 --- a/journey/src/styles/otp-ui/_toggle-switch.scss +++ b/journey/src/styles/otp-ui/_toggle-switch.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp-ui-toggleSwitch { display: block; font-family: inherit; diff --git a/journey/src/styles/otp/_layout.scss b/journey/src/styles/otp/_layout.scss index 29c11992..655cb175 100644 --- a/journey/src/styles/otp/_layout.scss +++ b/journey/src/styles/otp/_layout.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp { .main-container { position: fixed; diff --git a/journey/src/styles/otp/_leg-diagram.scss b/journey/src/styles/otp/_leg-diagram.scss index 1b845793..1dfa73f6 100644 --- a/journey/src/styles/otp/_leg-diagram.scss +++ b/journey/src/styles/otp/_leg-diagram.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp { .leg-diagram { position: absolute; diff --git a/journey/src/styles/otp/_locations.scss b/journey/src/styles/otp/_locations.scss index 685573ca..c0a2b5e2 100644 --- a/journey/src/styles/otp/_locations.scss +++ b/journey/src/styles/otp/_locations.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp { .locations { position: relative; diff --git a/journey/src/styles/otp/_narrative.scss b/journey/src/styles/otp/_narrative.scss index dc2089f3..66dda238 100644 --- a/journey/src/styles/otp/_narrative.scss +++ b/journey/src/styles/otp/_narrative.scss @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ .otp { .options { diff --git a/journey/src/styles/otp/_print.scss b/journey/src/styles/otp/_print.scss index 5f02a881..947b6666 100644 --- a/journey/src/styles/otp/_print.scss +++ b/journey/src/styles/otp/_print.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp { &.print-layout { max-width: 640px; diff --git a/journey/src/styles/otp/_tabbed-form-panel.scss b/journey/src/styles/otp/_tabbed-form-panel.scss index d5c532ce..55c84fd1 100644 --- a/journey/src/styles/otp/_tabbed-form-panel.scss +++ b/journey/src/styles/otp/_tabbed-form-panel.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp { .tabbed-form-panel { .transport-selector { diff --git a/journey/src/styles/otp/_user-settings.scss b/journey/src/styles/otp/_user-settings.scss index bfd45ad1..b8003286 100644 --- a/journey/src/styles/otp/_user-settings.scss +++ b/journey/src/styles/otp/_user-settings.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + .otp .user-settings { .remember-settings { display: flex; diff --git a/journey/src/styles/otp/_viewers.scss b/journey/src/styles/otp/_viewers.scss index ae510a64..dbfdbebe 100644 --- a/journey/src/styles/otp/_viewers.scss +++ b/journey/src/styles/otp/_viewers.scss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: NOI Techpark + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + /* route viewer styles */ .otp { .route-viewer-header { diff --git a/journey/src/util/auth.js b/journey/src/util/auth.js index 5b6e0626..70ec06da 100644 --- a/journey/src/util/auth.js +++ b/journey/src/util/auth.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { PERSISTENCE_STRATEGY_OTP_MIDDLEWARE } from './constants' /** diff --git a/journey/src/util/call-taker.js b/journey/src/util/call-taker.js index 980c0cce..71957a15 100644 --- a/journey/src/util/call-taker.js +++ b/journey/src/util/call-taker.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import {getRoutingParams} from '../actions/api' function placeToLatLonStr (place) { diff --git a/journey/src/util/constants.js b/journey/src/util/constants.js index 3f16df29..4572eb12 100644 --- a/journey/src/util/constants.js +++ b/journey/src/util/constants.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + export const AUTH0_AUDIENCE = 'https://otp-middleware' export const AUTH0_SCOPE = '' export const DEFAULT_APP_TITLE = 'OpenTripPlanner' diff --git a/journey/src/util/index.js b/journey/src/util/index.js index 3fd88da6..c28a1705 100644 --- a/journey/src/util/index.js +++ b/journey/src/util/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import * as auth from './auth' import * as itinerary from './itinerary' import * as state from './state' diff --git a/journey/src/util/itinerary.js b/journey/src/util/itinerary.js index 95f0a8a3..e7d52d42 100644 --- a/journey/src/util/itinerary.js +++ b/journey/src/util/itinerary.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { latLngBounds } from 'leaflet' import coreUtils from '../otp-ui/core-utils' diff --git a/journey/src/util/matomo-integration.js b/journey/src/util/matomo-integration.js index 13b4e576..7a334e30 100644 --- a/journey/src/util/matomo-integration.js +++ b/journey/src/util/matomo-integration.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import React from 'react' import { useMatomo } from '@datapunt/matomo-tracker-react' import "../styles/cookieconsent/cookieconsent.css"; diff --git a/journey/src/util/mergeDeep.js b/journey/src/util/mergeDeep.js index e0bd787e..1c7a0e59 100644 --- a/journey/src/util/mergeDeep.js +++ b/journey/src/util/mergeDeep.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later /* https://stackoverflow.com/questions/38345937/object-assign-vs-extend diff --git a/journey/src/util/messages.js b/journey/src/util/messages.js index fa1340f6..55316d84 100644 --- a/journey/src/util/messages.js +++ b/journey/src/util/messages.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /** * Takes component's default props and its instance props and returns the * merged messages props. The returned object will ensure that the default diff --git a/journey/src/util/middleware.js b/journey/src/util/middleware.js index 10403b46..5ff0ac16 100644 --- a/journey/src/util/middleware.js +++ b/journey/src/util/middleware.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + if (typeof (fetch) === 'undefined') require('isomorphic-fetch') const API_USER_PATH = '/api/secure/user' diff --git a/journey/src/util/monitored-trip.js b/journey/src/util/monitored-trip.js index f800d98c..0d8a9dbd 100644 --- a/journey/src/util/monitored-trip.js +++ b/journey/src/util/monitored-trip.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + export const WEEKDAYS = ['monday', 'tuesday', 'wednesday', 'thursday', 'friday'] const ALL_DAYS = ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'] diff --git a/journey/src/util/state.js b/journey/src/util/state.js index dc2fec1f..95df648e 100644 --- a/journey/src/util/state.js +++ b/journey/src/util/state.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../otp-ui/core-utils' import isEqual from 'lodash.isequal' import moment from 'moment' diff --git a/journey/src/util/ui.js b/journey/src/util/ui.js index b9c4b392..7c9fd646 100644 --- a/journey/src/util/ui.js +++ b/journey/src/util/ui.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import { Children, isValidElement, cloneElement } from 'react' /** diff --git a/journey/src/util/user.js b/journey/src/util/user.js index 827896cd..e5148a1f 100644 --- a/journey/src/util/user.js +++ b/journey/src/util/user.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later export function isNewUser (loggedInUser) { return !loggedInUser.hasConsentedToTerms diff --git a/journey/src/util/viewer.js b/journey/src/util/viewer.js index 6741ef5b..32ac27e4 100644 --- a/journey/src/util/viewer.js +++ b/journey/src/util/viewer.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import coreUtils from '../otp-ui/core-utils' import moment from 'moment' import 'moment-timezone' diff --git a/journey/webpack.config.js b/journey/webpack.config.js index 797df119..dab1a1bc 100644 --- a/journey/webpack.config.js +++ b/journey/webpack.config.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: CC0-1.0 + const path = require('path') const fs = require('fs-extra') diff --git a/journey/yml2json.js b/journey/yml2json.js index 42d70e49..e3e0744c 100644 --- a/journey/yml2json.js +++ b/journey/yml2json.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: CC0-1.0 + const yaml = require('js-yaml'); const fs = require('fs'); diff --git a/otp-unofficial.sh b/otp-unofficial.sh index ec5cd286..2bbe5325 100755 --- a/otp-unofficial.sh +++ b/otp-unofficial.sh @@ -1,2 +1,7 @@ #!/bin/sh + +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + exec java -Xmx"$JAVA_MX" -jar /usr/local/share/java/otp-unofficial.jar "$@" diff --git a/otp.sh b/otp.sh index 62b824d8..b0966bf1 100755 --- a/otp.sh +++ b/otp.sh @@ -1,2 +1,7 @@ #!/bin/sh + +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + exec java -Xmx"$JAVA_MX" -jar /usr/local/share/java/otp.jar "$@" diff --git a/parking/circle-polygon.js b/parking/circle-polygon.js index f01b7707..88f0b79f 100644 --- a/parking/circle-polygon.js +++ b/parking/circle-polygon.js @@ -1,4 +1,6 @@ - +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later "use strict"; const defaultEarthRadius = 6378137; // equatorial Earth radius diff --git a/parking/config.yml b/parking/config.yml index 2d95d4e3..b316ec77 100644 --- a/parking/config.yml +++ b/parking/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + environments: default: prod #default environment if NODE_ENV is not defined diff --git a/parking/index.js b/parking/index.js index ccd56249..7fa0acaa 100644 --- a/parking/index.js +++ b/parking/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const circleToPolygon = require('./circle-polygon'); diff --git a/traffic/config.yml b/traffic/config.yml index c8e25470..27bc95b3 100644 --- a/traffic/config.yml +++ b/traffic/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + environments: default: prod #default environment if NODE_ENV is not defined diff --git a/traffic/index.js b/traffic/index.js index 547fbf79..47dcd8be 100644 --- a/traffic/index.js +++ b/traffic/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const {app, version, config, polling, fetchData, listenLog, _, express, yaml} = require('../base'); diff --git a/traffic/linkstation-config.js b/traffic/linkstation-config.js index 7c0d02fe..a60a9a0b 100644 --- a/traffic/linkstation-config.js +++ b/traffic/linkstation-config.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: CC0-1.0 + /* original data: https://github.com/noi-techpark/it.bz.opendatahub.analytics/blob/master/src/main/webapp/linkstation-config.json */ diff --git a/vms/config.yml b/vms/config.yml index 250c5a56..aef9f6dc 100644 --- a/vms/config.yml +++ b/vms/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + environments: default: prod #default environment if NODE_ENV is not defined diff --git a/vms/index.js b/vms/index.js index b3ba638a..e8a4cfa8 100644 --- a/vms/index.js +++ b/vms/index.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: NOI Techpark +// +// SPDX-License-Identifier: AGPL-3.0-or-later const GeoJSON = require('geojson'); diff --git a/vms/signs/jpg2png.sh b/vms/signs/jpg2png.sh index 34cdec67..254c000f 100755 --- a/vms/signs/jpg2png.sh +++ b/vms/signs/jpg2png.sh @@ -1,4 +1,9 @@ #!/bin/bash + +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + # ls -1 ./images/*.jpg | xargs -n 1 bash -c 'convert "$0" "${0%.jpg}.png"' rm -f ./images/*.jpg \ No newline at end of file diff --git a/vms/tests/index.html b/vms/tests/index.html index 9b881759..bab6f20f 100644 --- a/vms/tests/index.html +++ b/vms/tests/index.html @@ -1,3 +1,9 @@ + + diff --git a/vms/token.sh b/vms/token.sh index 6060c6ed..7731efac 100755 --- a/vms/token.sh +++ b/vms/token.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + # get token #https://docs.opendatahub.com/en/latest/guidelines/authentication.html#grant-token diff --git a/vms/token_refresh.sh b/vms/token_refresh.sh index 9c6eb820..eb270d26 100755 --- a/vms/token_refresh.sh +++ b/vms/token_refresh.sh @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: NOI Techpark +# +# SPDX-License-Identifier: CC0-1.0 + # get token #https://docs.opendatahub.com/en/latest/guidelines/authentication.html#grant-token From a19b4b3b29da234d02be8da4895e766a36e83e8a Mon Sep 17 00:00:00 2001 From: henri Date: Mon, 5 Jun 2023 16:18:35 +0200 Subject: [PATCH 03/28] add reuse cc --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c29320c2..5057f6db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,9 @@ jobs: steps: - uses: actions/checkout@v2 + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v1 + - name: Build docker file uses: noi-techpark/github-actions/docker-build@v2 with: From f47a491c5c46b038b2438e6120cf01ce2beda438 Mon Sep 17 00:00:00 2001 From: henri Date: Thu, 8 Jun 2023 14:50:08 +0200 Subject: [PATCH 04/28] add reuse workflow badge --- .github/workflows/main.yml | 2 -- .github/workflows/reuse.yml | 12 ++++++++++++ README.md | 1 + 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/reuse.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5057f6db..757563ec 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,8 +25,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: REUSE Compliance Check - uses: fsfe/reuse-action@v1 - name: Build docker file uses: noi-techpark/github-actions/docker-build@v2 diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 00000000..2018cb22 --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,12 @@ +name: REUSE Compliance Check + +on: push + +jobs: + test: + runs-on: ubuntu-20.04 + steps: + - name: Checkout source code + uses: actions/checkout@v2 + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v1 diff --git a/README.md b/README.md index a2df678c..a3dbeae0 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ SPDX-License-Identifier: CC0-1.0 This project contains a Docker images for stable [OpenTripPlanner](http://opentripplanner.org) releases and tools to auto download Openstreetmap data related to a certain gtfs file. +![REUSE Compliance](https://github.com/noi-techpark/odh-mentor-otp/actions/workflows/reuse.yml/badge.svg) [![CI](https://github.com/noi-techpark/odh-mentor-otp/actions/workflows/ci.yml/badge.svg)](https://github.com/noi-techpark/odh-mentor-otp/actions/workflows/ci.yml) ## Table of contents From 3f2ac11e13aa21de9c46e9b37a6aa61bc05c5c54 Mon Sep 17 00:00:00 2001 From: henri Date: Fri, 9 Jun 2023 14:49:56 +0200 Subject: [PATCH 05/28] re add reuse cc to ci --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 757563ec..72aba02b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,9 @@ jobs: steps: - uses: actions/checkout@v2 - + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v1 + - name: Build docker file uses: noi-techpark/github-actions/docker-build@v2 with: From 8adcaf68bbc650308b8215ccecdfdeb3cf8bface Mon Sep 17 00:00:00 2001 From: henri Date: Mon, 12 Jun 2023 13:49:51 +0200 Subject: [PATCH 06/28] add pre-commit-config --- .pre-commit-config.yaml | 5 +++++ .reuse/dep5 | 2 +- README.md | 15 +++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..78f71674 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: +- repo: https://github.com/fsfe/reuse-tool + rev: v1.0.0 + hooks: + - id: reuse \ No newline at end of file diff --git a/.reuse/dep5 b/.reuse/dep5 index 02d2a8ce..0089a52f 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -3,7 +3,7 @@ Upstream-Name: odh-mentor-otp Upstream-Contact: NOI Techpark Source: https://github.com/noi-techpark/odh-mentor-otp -Files: .github/* infrastructure .gitignore .dockerignore AUTHOR.txt *.json dotenv.example osm.url *.jar */.nvmrc *.geojson docs/images/* gbfs/bikestations_meran.csv */dotenv.example gtfs2bbox/tests/* journey/yarn.lock journey/src/fonts/* journey/src/images/* vms/README vms/.gitignore journey/src/otp-ui/icons/openmove/README vms/signs/* journey/src/otp-ui/icons/.eslintrc journey/src/otp-ui/icons/*.svg +Files: .github/* infrastructure .pre-commit-config.yaml .gitignore .dockerignore AUTHOR.txt *.json dotenv.example osm.url *.jar */.nvmrc *.geojson docs/images/* gbfs/bikestations_meran.csv */dotenv.example gtfs2bbox/tests/* journey/yarn.lock journey/src/fonts/* journey/src/images/* vms/README vms/.gitignore journey/src/otp-ui/icons/openmove/README vms/signs/* journey/src/otp-ui/icons/.eslintrc journey/src/otp-ui/icons/*.svg Copyright: (c) NOI Techpark License: CC0-1.0 diff --git a/README.md b/README.md index a3dbeae0..da7046e9 100644 --- a/README.md +++ b/README.md @@ -217,3 +217,18 @@ More documentation can be found at [https://opendatahub.readthedocs.io/en/latest ### Boilerplate The project uses this boilerplate: [https://github.com/noi-techpark/java-boilerplate](https://github.com/noi-techpark/java-boilerplate). + +### REUSE + +This project is [REUSE](https://reuse.software) compliant, more information about the usage of REUSE in NOI Techpark repositories can be found [here](https://github.com/noi-techpark/odh-docs/wiki/Guidelines-for-developers-and-licenses#guidelines-for-contributors-and-new-developers). + +Since the CI for this project checks for REUSE compliance you might find it useful to use a pre-commit hook checking for REUSE compliance locally. The [pre-commit-config](.pre-commit-config.yaml) file in the repository root is already configured to check for REUSE compliance with help of the [pre-commit](https://pre-commit.com) tool. + +Install the tool by running: +```bash +pip install pre-commit +``` +Then install the pre-commit hook via the config file by running: +```bash +pre-commit install +``` From ce4c51725b64b67cf9b93b24d3afa5b9cb8b80fc Mon Sep 17 00:00:00 2001 From: maxglio Date: Wed, 14 Jun 2023 09:21:41 +0200 Subject: [PATCH 07/28] removed .bz.it and added .com --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index da7046e9..b97bb73a 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ Find [here](https://opendatahub.readthedocs.io/en/latest/guidelines.html) guidel ### Support -ToDo: For support, please contact [info@opendatahub.bz.it](mailto:info@opendatahub.bz.it). +ToDo: For support, please contact [info@opendatahub.com](mailto:info@opendatahub.com). ### Contributing From ab74fc377931c9d786fc82275e1752edbdd04878 Mon Sep 17 00:00:00 2001 From: maxglio Date: Wed, 14 Jun 2023 10:55:53 +0200 Subject: [PATCH 08/28] removed .bz.it and added .com --- docs/geocoder.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/geocoder.md b/docs/geocoder.md index 63a05d95..617369c7 100644 --- a/docs/geocoder.md +++ b/docs/geocoder.md @@ -19,7 +19,7 @@ http://localhost:8087/testSearch?text=magic sample mapping fields from this: // 20201111010909 -// https://tourism.opendatahub.bz.it/api/Accommodation?language=de&poitype=447&active=true&fields=Id,AccoDetail.de.Name,Latitude,Longitude&pagesize=100 +// https://tourism.opendatahub.com/api/Accommodation?language=de&poitype=447&active=true&fields=Id,AccoDetail.de.Name,Latitude,Longitude&pagesize=100 { "OnlineResults": -1, From 1c2f6eae52d02817a8fc5852ea60c88ea6239f5f Mon Sep 17 00:00:00 2001 From: maxglio Date: Wed, 14 Jun 2023 14:03:00 +0200 Subject: [PATCH 09/28] removed .bz.it and added .com --- infrastructure/ansible/hosts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/ansible/hosts b/infrastructure/ansible/hosts index 22262afb..7836784e 100644 --- a/infrastructure/ansible/hosts +++ b/infrastructure/ansible/hosts @@ -2,7 +2,7 @@ docker03.testingmachine.eu ansible_user='noi-techpark-bot' ansible_ssh_common_args='-o StrictHostKeyChecking=no' [prod] -docker03.opendatahub.bz.it ansible_user='noi-techpark-bot' ansible_ssh_common_args='-o StrictHostKeyChecking=no' +docker03.opendatahub.com ansible_user='noi-techpark-bot' ansible_ssh_common_args='-o StrictHostKeyChecking=no' [calculate-test] mentor01.opendatahub.testingmachine.eu ansible_user='noi-techpark-bot' ansible_ssh_common_args='-o StrictHostKeyChecking=no' @@ -12,4 +12,4 @@ mentor01.opendatahub.testingmachine.eu ansible_user='noi-techpark-bot' ansible_s [execute] docker03.testingmachine.eu ansible_user='noi-techpark-bot' ansible_ssh_common_args='-o StrictHostKeyChecking=no' -docker03.opendatahub.bz.it ansible_user='noi-techpark-bot' ansible_ssh_common_args='-o StrictHostKeyChecking=no' +docker03.opendatahub.com ansible_user='noi-techpark-bot' ansible_ssh_common_args='-o StrictHostKeyChecking=no' From d22e652c7a69a338478571332b84d552fc8c1676 Mon Sep 17 00:00:00 2001 From: maxglio Date: Thu, 15 Jun 2023 11:56:35 +0200 Subject: [PATCH 10/28] removed .bz.it and added .com --- base/config.yml | 2 +- carsharing/config.yml | 2 +- charger/config.yml | 2 +- drt/config.yml | 2 +- gbfs/config.yml | 2 +- geocoder/config.yml | 4 ++-- journey/config.yml | 2 +- journey/src/components/app/modal-credits.js | 2 +- parking/config.yml | 2 +- traffic/config.yml | 2 +- traffic/index.js | 2 +- vms/config.yml | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/base/config.yml b/base/config.yml index e0a3587d..f562ad3b 100644 --- a/base/config.yml +++ b/base/config.yml @@ -21,7 +21,7 @@ cors: endpoints: default: - hostname: mobility.api.opendatahub.bz.it + hostname: mobility.api.opendatahub.com method: GET port: 443 #path: /v2 diff --git a/carsharing/config.yml b/carsharing/config.yml index a6a0024d..b4708738 100644 --- a/carsharing/config.yml +++ b/carsharing/config.yml @@ -16,7 +16,7 @@ polling_interval: 120 endpoints: default: - hostname: mobility.api.opendatahub.bz.it + hostname: mobility.api.opendatahub.com stations: path: /v2/flat%2Cnode/CarsharingStation?distinct=true&limit=500 diff --git a/charger/config.yml b/charger/config.yml index 4ab4e5f0..0d807d90 100644 --- a/charger/config.yml +++ b/charger/config.yml @@ -16,7 +16,7 @@ polling_interval: 120 endpoints: default: - hostname: mobility.api.opendatahub.bz.it + hostname: mobility.api.opendatahub.com stations: path: /v2/flat%2Cnode/EChargingStation/*/latest?distinct=true&limit=-1&where=scoordinate.bbc.(10,46,12.8,47.2) diff --git a/drt/config.yml b/drt/config.yml index 53376d68..3e697d46 100644 --- a/drt/config.yml +++ b/drt/config.yml @@ -13,7 +13,7 @@ dev: endpoints: default: - hostname: mobility.api.opendatahub.bz.it + hostname: mobility.api.opendatahub.com vehicles: path: /v2/flat,node/ON_DEMAND_VEHICLE/*/latest diff --git a/gbfs/config.yml b/gbfs/config.yml index 774fe24a..87b37a62 100644 --- a/gbfs/config.yml +++ b/gbfs/config.yml @@ -17,7 +17,7 @@ polling_interval: 600 endpoints: default: - hostname: mobility.api.opendatahub.bz.it + hostname: mobility.api.opendatahub.com stations: path: /v2/flat%2Cnode/BikesharingStation?distinct=true diff --git a/geocoder/config.yml b/geocoder/config.yml index d7384aeb..ee152e23 100644 --- a/geocoder/config.yml +++ b/geocoder/config.yml @@ -21,7 +21,7 @@ endpoints: #priority: 1 #TODO parameter by sorted results #size: 10 result size for each endpoints - hostname: tourism.opendatahub.bz.it + hostname: tourism.opendatahub.com port: 443 #hostname: localhost #port: 9090 @@ -29,7 +29,7 @@ endpoints: #method: 'GET' headers: User-Agent: OpenMove-Api-Client - Referer: https://journey.opendatahub.bz.it + Referer: https://journey.opendatahub.com layer: venue here: diff --git a/journey/config.yml b/journey/config.yml index 0bcef2ab..5f35aec4 100644 --- a/journey/config.yml +++ b/journey/config.yml @@ -33,7 +33,7 @@ brandByDomain: brandNavbar: '' brandNavbarLogo: bolzano - journey.opendatahub.bz.it: + journey.opendatahub.com: branding: Mentor title: Mentor brandNavbar: '' diff --git a/journey/src/components/app/modal-credits.js b/journey/src/components/app/modal-credits.js index 4b701c9f..06b650ef 100644 --- a/journey/src/components/app/modal-credits.js +++ b/journey/src/components/app/modal-credits.js @@ -55,7 +55,7 @@ class ModalCredits extends Component {
  • - +
  • diff --git a/parking/config.yml b/parking/config.yml index b316ec77..79e9ac8f 100644 --- a/parking/config.yml +++ b/parking/config.yml @@ -16,7 +16,7 @@ polling_interval: 120 endpoints: default: - hostname: mobility.api.opendatahub.bz.it + hostname: mobility.api.opendatahub.com stations: path: /v2/flat%2Cnode/ParkingStation/free/latest?distinct=true&limit=-1&where=mperiod.eq.300 diff --git a/traffic/config.yml b/traffic/config.yml index 27bc95b3..694817c2 100644 --- a/traffic/config.yml +++ b/traffic/config.yml @@ -16,7 +16,7 @@ polling_interval: 60 endpoints: default: - hostname: mobility.api.opendatahub.bz.it + hostname: mobility.api.opendatahub.com geometries: path: /v2/flat,edge/LinkStation/?limit=-1&distinct=true&select=egeometry,ecode,etype&where=eactive.eq.true diff --git a/traffic/index.js b/traffic/index.js index 47dcd8be..360f8681 100644 --- a/traffic/index.js +++ b/traffic/index.js @@ -78,7 +78,7 @@ app.get('/traffic/stations.json', function (req, res) { }); app.get('/traffic/linkstations.json', async function (req, res) { -//source: https://mobility.api.opendatahub.bz.it/v2/tree/LinkStation/*/latest?limit=-1&distinct=true&select=tmeasurements&where=sactive.eq.true,or(and(tname.eq.%22Bluetooth%20Elapsed%20time%20%5C(test%5C)%22)) +//source: https://mobility.api.opendatahub.com/v2/tree/LinkStation/*/latest?limit=-1&distinct=true&select=tmeasurements&where=sactive.eq.true,or(and(tname.eq.%22Bluetooth%20Elapsed%20time%20%5C(test%5C)%22)) console.log('[traffic] request /traffic/linkstations.json') var linkstations = []; diff --git a/vms/config.yml b/vms/config.yml index aef9f6dc..fa110e1b 100644 --- a/vms/config.yml +++ b/vms/config.yml @@ -17,7 +17,7 @@ polling_interval: 120 endpoints: default: - hostname: mobility.api.opendatahub.bz.it + hostname: mobility.api.opendatahub.com headers: Authorization: 'bearer ${TOKEN}' From e48786fa710cfc9c1af99b4d10bb131309b91ad8 Mon Sep 17 00:00:00 2001 From: maxglio Date: Fri, 16 Jun 2023 10:06:56 +0200 Subject: [PATCH 11/28] removed .bz.i and added .com --- .github/workflows/run_calculate.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/run_calculate.yml b/.github/workflows/run_calculate.yml index 880efb5d..17668680 100644 --- a/.github/workflows/run_calculate.yml +++ b/.github/workflows/run_calculate.yml @@ -126,17 +126,17 @@ jobs: X_EFS_FOLDER: "/opt/odh-mentor-otp-prod/" - X_GBFS_HOST : "https://gbfs.otp.opendatahub.bz.it/" + X_GBFS_HOST : "https://gbfs.otp.opendatahub.com/" X_JAVA_MX: "16G" X_BUILD_GRAPH: "True" X_DOWNLOAD_DATA: "False" X_BACKUP_GRAPH: "True" - X_CARSHARING_HOST: "https://carsharing.otp.opendatahub.bz.it" - X_PARKING_HOST: "https://parking.otp.opendatahub.bz.it" - X_DRT_HOST: "https://drt.otp.opendatahub.bz.it" - X_CHARGER_HOST: "https://charger.otp.opendatahub.bz.it" + X_CARSHARING_HOST: "https://carsharing.otp.opendatahub.com" + X_PARKING_HOST: "https://parking.otp.opendatahub.com" + X_DRT_HOST: "https://drt.otp.opendatahub.com" + X_CHARGER_HOST: "https://charger.otp.opendatahub.com" X_UPDATERS: "True" X_GTFS_FILE: "latestGTFS.zip" X_OTP_OFFICIAL: "False" @@ -144,11 +144,11 @@ jobs: X_GTFS_RT_URL: "https://efa.sta.bz.it/gtfs-r/" X_GTFS_FEED_ID: 1 - X_GEOCODER_BASEURL: "https://geocoder.otp.opendatahub.bz.it" - X_PARKING_BASEURL: "https://parking.otp.opendatahub.bz.it" - X_DRT_BASEURL: "https://drt.otp.opendatahub.bz.it" - X_CHARGER_BASEURL: "https://charger.otp.opendatahub.bz.it" - X_TRAFFIC_BASEURL: "https://traffic.otp.opendatahub.bz.it" + X_GEOCODER_BASEURL: "https://geocoder.otp.opendatahub.com" + X_PARKING_BASEURL: "https://parking.otp.opendatahub.com" + X_DRT_BASEURL: "https://drt.otp.opendatahub.com" + X_CHARGER_BASEURL: "https://charger.otp.opendatahub.com" + X_TRAFFIC_BASEURL: "https://traffic.otp.opendatahub.com" - name: Deploy / run calculation uses: noi-techpark/github-actions/docker-deploy@v2 From 6f4877db16e7e77c9a2f42a20cd3d071e672424c Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Tue, 4 Jul 2023 15:37:39 +0200 Subject: [PATCH 12/28] ci/cd: change to mobility.api.opendatahub.testingmachine.eu for testing deployment --- .github/workflows/execute.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/execute.yml b/.github/workflows/execute.yml index 7e53e11f..52b0bdd0 100644 --- a/.github/workflows/execute.yml +++ b/.github/workflows/execute.yml @@ -113,6 +113,9 @@ jobs: # X_MATOMO_BASE_URL: ${{ env.MATOMO_BASE_URL }} # X_MATOMO_SITE_ID: ${{ env.MATOMO_SITE_ID }} + - name: use mobility.api.opendatahub.testingmachine.eu for testing + run: sed -i 's/mobility.api.opendatahub.com/mobility.api.opendatahub.testingmachine.eu/' */config.yml + - name: Build and push uses: noi-techpark/github-actions/docker-build-and-push@v2 with: From f9da0529a4c446d8fa8e71f979d6f0357eea71ad Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Tue, 4 Jul 2023 16:00:33 +0200 Subject: [PATCH 13/28] remove journey.opendatahub.bz.it brandByDomain --- journey/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/journey/config.yml b/journey/config.yml index 5f35aec4..d01a7c2d 100644 --- a/journey/config.yml +++ b/journey/config.yml @@ -39,11 +39,11 @@ brandByDomain: brandNavbar: '' brandNavbarLogo: interreg - journey.opendatahub.com: - branding: Mentor - title: Mentor - brandNavbar: '' - brandNavbarLogo: interreg + # journey.opendatahub.bz.it: + # branding: Mentor + # title: Mentor + # brandNavbar: '' + # brandNavbarLogo: interreg configByDomain: mobility.bz.it: From a34956cfc6206bc0851cfbf6e6f153a76bce5518 Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Tue, 4 Jul 2023 16:00:54 +0200 Subject: [PATCH 14/28] rename dotenv.example to .env.example --- dotenv.example => .env.example | 0 .reuse/dep5 | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename dotenv.example => .env.example (100%) diff --git a/dotenv.example b/.env.example similarity index 100% rename from dotenv.example rename to .env.example diff --git a/.reuse/dep5 b/.reuse/dep5 index 0089a52f..08879581 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -3,7 +3,7 @@ Upstream-Name: odh-mentor-otp Upstream-Contact: NOI Techpark Source: https://github.com/noi-techpark/odh-mentor-otp -Files: .github/* infrastructure .pre-commit-config.yaml .gitignore .dockerignore AUTHOR.txt *.json dotenv.example osm.url *.jar */.nvmrc *.geojson docs/images/* gbfs/bikestations_meran.csv */dotenv.example gtfs2bbox/tests/* journey/yarn.lock journey/src/fonts/* journey/src/images/* vms/README vms/.gitignore journey/src/otp-ui/icons/openmove/README vms/signs/* journey/src/otp-ui/icons/.eslintrc journey/src/otp-ui/icons/*.svg +Files: .github/* infrastructure .pre-commit-config.yaml .gitignore .dockerignore AUTHOR.txt *.json .env.example osm.url *.jar */.nvmrc *.geojson docs/images/* gbfs/bikestations_meran.csv */.env.example gtfs2bbox/tests/* journey/yarn.lock journey/src/fonts/* journey/src/images/* vms/README vms/.gitignore journey/src/otp-ui/icons/openmove/README vms/signs/* journey/src/otp-ui/icons/.eslintrc journey/src/otp-ui/icons/*.svg Copyright: (c) NOI Techpark License: CC0-1.0 From 52512c2671863a4ad9db3e2bee79b8f37551fbbb Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Tue, 4 Jul 2023 16:02:23 +0200 Subject: [PATCH 15/28] Revert "rename dotenv.example to .env.example" This reverts commit a55fcc987bb00c543471c55caecbaa342f95ba96. --- .reuse/dep5 | 2 +- .env.example => dotenv.example | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename .env.example => dotenv.example (100%) diff --git a/.reuse/dep5 b/.reuse/dep5 index 08879581..0089a52f 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -3,7 +3,7 @@ Upstream-Name: odh-mentor-otp Upstream-Contact: NOI Techpark Source: https://github.com/noi-techpark/odh-mentor-otp -Files: .github/* infrastructure .pre-commit-config.yaml .gitignore .dockerignore AUTHOR.txt *.json .env.example osm.url *.jar */.nvmrc *.geojson docs/images/* gbfs/bikestations_meran.csv */.env.example gtfs2bbox/tests/* journey/yarn.lock journey/src/fonts/* journey/src/images/* vms/README vms/.gitignore journey/src/otp-ui/icons/openmove/README vms/signs/* journey/src/otp-ui/icons/.eslintrc journey/src/otp-ui/icons/*.svg +Files: .github/* infrastructure .pre-commit-config.yaml .gitignore .dockerignore AUTHOR.txt *.json dotenv.example osm.url *.jar */.nvmrc *.geojson docs/images/* gbfs/bikestations_meran.csv */dotenv.example gtfs2bbox/tests/* journey/yarn.lock journey/src/fonts/* journey/src/images/* vms/README vms/.gitignore journey/src/otp-ui/icons/openmove/README vms/signs/* journey/src/otp-ui/icons/.eslintrc journey/src/otp-ui/icons/*.svg Copyright: (c) NOI Techpark License: CC0-1.0 diff --git a/.env.example b/dotenv.example similarity index 100% rename from .env.example rename to dotenv.example From 8201414f8c4f20f1dbdd5afc6048ddab8ac998ae Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Wed, 5 Jul 2023 16:35:05 +0200 Subject: [PATCH 16/28] drt: if no group found, set -1 --- drt/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drt/utils/index.js b/drt/utils/index.js index e43036cc..ab5ade33 100644 --- a/drt/utils/index.js +++ b/drt/utils/index.js @@ -70,7 +70,7 @@ function generateEntitiesStop(data) { id: item.scode, name: item.sname }, - area: item.smetadata.groups[0].id + area: item.smetadata.groups.length == 0 ? -1 : tem.smetadata.groups[0].id, } ); } From 567e1796d3a2f11973f5e9350a598b1dfbb60f9c Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Wed, 5 Jul 2023 16:45:29 +0200 Subject: [PATCH 17/28] drt: if no group found, set -1 | 2 --- drt/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drt/utils/index.js b/drt/utils/index.js index ab5ade33..2ee1d2db 100644 --- a/drt/utils/index.js +++ b/drt/utils/index.js @@ -70,7 +70,7 @@ function generateEntitiesStop(data) { id: item.scode, name: item.sname }, - area: item.smetadata.groups.length == 0 ? -1 : tem.smetadata.groups[0].id, + area: item.smetadata.groups.length == 0 ? -1 : item.smetadata.groups[0].id, } ); } From b49d772b629a25a9896434413cce79779440507d Mon Sep 17 00:00:00 2001 From: henri Date: Mon, 17 Jul 2023 10:37:40 +0200 Subject: [PATCH 18/28] change reuse badge link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b97bb73a..dc862a89 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ SPDX-License-Identifier: CC0-1.0 This project contains a Docker images for stable [OpenTripPlanner](http://opentripplanner.org) releases and tools to auto download Openstreetmap data related to a certain gtfs file. -![REUSE Compliance](https://github.com/noi-techpark/odh-mentor-otp/actions/workflows/reuse.yml/badge.svg) +[![REUSE Compliance](https://github.com/noi-techpark/odh-mentor-otp/actions/workflows/reuse.yml/badge.svg)](https://github.com/noi-techpark/odh-docs/wiki/REUSE#badges) [![CI](https://github.com/noi-techpark/odh-mentor-otp/actions/workflows/ci.yml/badge.svg)](https://github.com/noi-techpark/odh-mentor-otp/actions/workflows/ci.yml) ## Table of contents From cc34ee0a1ba429a1cfc6aa86cba88862731b3dba Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Tue, 1 Aug 2023 15:31:16 +0200 Subject: [PATCH 19/28] drt: add region name to group id --- drt/utils/index.js | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/drt/utils/index.js b/drt/utils/index.js index 2ee1d2db..ec5760de 100644 --- a/drt/utils/index.js +++ b/drt/utils/index.js @@ -19,13 +19,13 @@ function generateEntitiesVehicle(data) { capacityUsed += value } let occupancyStatus = 5; //FULL - if(capacityMax > 0){ + if (capacityMax > 0) { const percentage = 100 * capacityUsed / capacityMax; - if(percentage === 0){ + if (percentage === 0) { occupancyStatus = 0; //EMPTY - } else if ( percentage <= 50){ + } else if (percentage <= 50) { occupancyStatus = 1; //MANY_SEAT_AVAILABLE - } else if ( percentage < 100){ + } else if (percentage < 100) { occupancyStatus = 2; //FEW_SEAT_AVAILABLE } } @@ -38,7 +38,7 @@ function generateEntitiesVehicle(data) { }, lat: item.scoordinate.y, lon: item.scoordinate.x, - timestamp: new Date(item.mvalidtime || 0).getTime()/1000, + timestamp: new Date(item.mvalidtime || 0).getTime() / 1000, vehicle: { id: item.sname, name: item.smetadata.type.name, @@ -47,7 +47,7 @@ function generateEntitiesVehicle(data) { capacity: capacityMax, free: capacityMax - capacityUsed, occupancyStatus - } + } ); } return entities; @@ -65,13 +65,13 @@ function generateEntitiesStop(data) { }, lat: item.scoordinate.y, lon: item.scoordinate.x, - timestamp: new Date(item.mvalidtime || 0).getTime()/1000, + timestamp: new Date(item.mvalidtime || 0).getTime() / 1000, stop: { id: item.scode, name: item.sname }, - area: item.smetadata.groups.length == 0 ? -1 : item.smetadata.groups[0].id, - } + area: item.smetadata.groups.length == 0 ? "undefined" : item.smetadata.region[0].name + ":" + item.smetadata.groups[0].id, + } ); } @@ -94,17 +94,17 @@ function generateEntitiesTrip(data) { module.exports = (config, fetchData) => { - return { - generateProto, + return { + generateProto, - getDataVehicle: async () => { - return generateEntitiesVehicle(await fetchData(config.endpoints.vehicles)); - }, - getDataStop: async () => { - return generateEntitiesStop(await fetchData(config.endpoints.stops)); - }, - getDataItineraries: async () => { - return generateEntitiesTrip(await fetchData(config.endpoints.trips)); - } - } + getDataVehicle: async () => { + return generateEntitiesVehicle(await fetchData(config.endpoints.vehicles)); + }, + getDataStop: async () => { + return generateEntitiesStop(await fetchData(config.endpoints.stops)); + }, + getDataItineraries: async () => { + return generateEntitiesTrip(await fetchData(config.endpoints.trips)); + } + } } \ No newline at end of file From d87dc660d512f7523de2ff966913a76d04df7862 Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Tue, 1 Aug 2023 15:47:02 +0200 Subject: [PATCH 20/28] drt: increment group id for meran --- drt/utils/index.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drt/utils/index.js b/drt/utils/index.js index ec5760de..42e93ccd 100644 --- a/drt/utils/index.js +++ b/drt/utils/index.js @@ -56,7 +56,13 @@ function generateEntitiesVehicle(data) { function generateEntitiesStop(data) { const entities = []; + let count = -1; + for (const item of data) { + let groupIdIncrement = 0; + if (item.smetadata.region.name === 'Meran') { + groupIdIncrement = 42; + } entities.push( { position: { @@ -70,9 +76,10 @@ function generateEntitiesStop(data) { id: item.scode, name: item.sname }, - area: item.smetadata.groups.length == 0 ? "undefined" : item.smetadata.region[0].name + ":" + item.smetadata.groups[0].id, + area: item.smetadata.groups.length == 0 ? count : item.smetadata.groups[0].id + groupIdIncrement, } ); + count -= 1; } return entities; From 9075c6274c730e0aafff268606e4038bd3da577e Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Tue, 1 Aug 2023 16:34:26 +0200 Subject: [PATCH 21/28] drt: remove special grouping logic again --- drt/utils/index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drt/utils/index.js b/drt/utils/index.js index 42e93ccd..b6ee2353 100644 --- a/drt/utils/index.js +++ b/drt/utils/index.js @@ -59,10 +59,6 @@ function generateEntitiesStop(data) { let count = -1; for (const item of data) { - let groupIdIncrement = 0; - if (item.smetadata.region.name === 'Meran') { - groupIdIncrement = 42; - } entities.push( { position: { @@ -76,7 +72,7 @@ function generateEntitiesStop(data) { id: item.scode, name: item.sname }, - area: item.smetadata.groups.length == 0 ? count : item.smetadata.groups[0].id + groupIdIncrement, + area: item.smetadata.groups.length === 0 ? 0 : item.smetadata.groups[0].id, } ); count -= 1; From d60831348889bdd5e83cc927a60cc072643bcac6 Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Mon, 21 Aug 2023 15:01:50 +0200 Subject: [PATCH 22/28] drt: don't concat itineraryRemaining --- drt/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drt/utils/index.js b/drt/utils/index.js index b6ee2353..ea9c7b91 100644 --- a/drt/utils/index.js +++ b/drt/utils/index.js @@ -87,7 +87,7 @@ function generateEntitiesTrip(data) { if (elem.sactive === true) { for (const step of elem.mvalue.itineraryRemaining) { if (step.type === 'ROUTE') { - all = all.concat(polyline.decode(step.routeEncoded, 6)); + all = all.push(polyline.decode(step.routeEncoded, 6)); } } } From 0048fa93250cf1d117cf8e90948f9cb73d8e2abd Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Mon, 21 Aug 2023 15:11:52 +0200 Subject: [PATCH 23/28] drt: don't concat itineraryRemaining | 2 --- drt/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drt/utils/index.js b/drt/utils/index.js index ea9c7b91..cf189796 100644 --- a/drt/utils/index.js +++ b/drt/utils/index.js @@ -87,7 +87,7 @@ function generateEntitiesTrip(data) { if (elem.sactive === true) { for (const step of elem.mvalue.itineraryRemaining) { if (step.type === 'ROUTE') { - all = all.push(polyline.decode(step.routeEncoded, 6)); + all.push(polyline.decode(step.routeEncoded, 6)); } } } From 166016f6ab40b3cc95e02cbf1a779368c1e46f7e Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Mon, 21 Aug 2023 15:21:49 +0200 Subject: [PATCH 24/28] drt: don't concat itineraryRemaining | 3 --- drt/utils/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drt/utils/index.js b/drt/utils/index.js index cf189796..dd5aa9cf 100644 --- a/drt/utils/index.js +++ b/drt/utils/index.js @@ -87,12 +87,12 @@ function generateEntitiesTrip(data) { if (elem.sactive === true) { for (const step of elem.mvalue.itineraryRemaining) { if (step.type === 'ROUTE') { - all.push(polyline.decode(step.routeEncoded, 6)); + all.push(step.routeEncoded); } } } } - return polyline.encode(all) + return all; } module.exports = (config, fetchData) => { From bdbe905f5db0c3c5b04811b2938b0189c8d69d7d Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Mon, 21 Aug 2023 15:52:28 +0200 Subject: [PATCH 25/28] drt-overlay: iterate over iternaries --- journey/src/otp-ui/overlay-drt/index.js | 256 ++++++++++++------------ 1 file changed, 131 insertions(+), 125 deletions(-) diff --git a/journey/src/otp-ui/overlay-drt/index.js b/journey/src/otp-ui/overlay-drt/index.js index fa0da2ba..7572c428 100644 --- a/journey/src/otp-ui/overlay-drt/index.js +++ b/journey/src/otp-ui/overlay-drt/index.js @@ -40,7 +40,7 @@ class DrtOverlay extends MapLayer { setLocation: PropTypes.func } - _startRefreshing () { + _startRefreshing() { // ititial station retrieval this.props.drtLocationsQuery(this.props.api) @@ -50,11 +50,11 @@ class DrtOverlay extends MapLayer { }, Number(overlayDrtConf.pollingInterval)) // defaults to every 30 sec. TODO: make this configurable?*/ } - _stopRefreshing () { + _stopRefreshing() { if (this._refreshTimer) clearInterval(this._refreshTimer) } - componentDidMount () { + componentDidMount() { this.props.registerOverlay(this) if (this.props.visible) { @@ -70,11 +70,11 @@ class DrtOverlay extends MapLayer { this._stopRefreshing() } - componentWillUnmount () { + componentWillUnmount() { this._stopRefreshing() } - componentDidUpdate (prevProps) { + componentDidUpdate(prevProps) { if (!prevProps.visible && this.props.visible) { this._startRefreshing() } else if (prevProps.visible && !this.props.visible) { @@ -82,17 +82,17 @@ class DrtOverlay extends MapLayer { } } - createLeafletElement () {} + createLeafletElement() { } - updateLeafletElement () {} + updateLeafletElement() { } - render () { + render() { const { locations, t } = this.props if (!locations || - !locations.vehicles || - !locations.stops || - locations.vehicles.length === 0 || - locations.stops.length === 0) return + !locations.vehicles || + !locations.stops || + locations.vehicles.length === 0 || + locations.stops.length === 0) return const getAreaColor = (data) => { if (overlayDrtConf.areas) @@ -131,16 +131,16 @@ class DrtOverlay extends MapLayer { iconVehicleWidth = 30; iconVehicleHeight = 30; -/* if (data.vehicle) { - if (data.free > 0 ) { - badgeType = 'success'; - } else if (data.free == 1) { - badgeType = 'danger'; - } - else { - badgeType = 'warning'; - } - }*/ + /* if (data.vehicle) { + if (data.free > 0 ) { + badgeType = 'success'; + } else if (data.free == 1) { + badgeType = 'danger'; + } + else { + badgeType = 'warning'; + } + }*/ return divIcon({ className: "", @@ -148,21 +148,21 @@ class DrtOverlay extends MapLayer { popupAnchor: [0, -iconHeight / 2], html: ReactDOMServer.renderToStaticMarkup( <> - { data.stop && - - } - { data.vehicle && - - } + {data.stop && + + } + {data.vehicle && + + } ) }); @@ -170,96 +170,102 @@ class DrtOverlay extends MapLayer { return ( - - { - locations.stops.map( stop => { - stop.name = stop.stop.name; - return ( - - -
    -
    - {t('stop')} {t('ondemand')} -
    - -
    {stop.stop.name}
    - {getAreaName(stop)} - -
    - -
    -
    -
    -
    - ) - })} -
    - - { - locations.vehicles.map( vehicle => { - return ( - - -
    -
    -  {vehicle.vehicle.id} -
    - -
    - {vehicle.vehicle.name} -
    - -
    - -
    - {t('capacity')}: {vehicle.capacity} - {/*
    + + { + locations.stops.map(stop => { + stop.name = stop.stop.name; + return ( + + +
    +
    + {t('stop')} {t('ondemand')} +
    + +
    {stop.stop.name}
    + {getAreaName(stop)} + +
    + +
    +
    +
    +
    + ) + })} +
    + + { + locations.vehicles.map(vehicle => { + return ( + + +
    +
    +  {vehicle.vehicle.id} +
    + +
    + {vehicle.vehicle.name} +
    + +
    + +
    + {t('capacity')}: {vehicle.capacity} + {/*
    {t('free_slots')}: {vehicle.free}*/} +
    +
    +
    -
    - -
    - - - ) - })} - - - - - -
    -
    - {t('itinerary')} {t('ondemand')} -
    - {/*//TODO info about itinerary */} -
    -
    -
    -
    + + + ) + })} + + + { + locations.itinerary.map(itinerary => { + return ( + + + +
    +
    + {t('itinerary')} {t('ondemand')} +
    + {/*//TODO info about itinerary */} +
    +
    +
    +
    + ) + } + ) } From a520256333cbde397e7513b4359d4e37c7c0ef2b Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Mon, 21 Aug 2023 15:58:57 +0200 Subject: [PATCH 26/28] drt-overlay: iterate over iternaries | 2 --- journey/src/otp-ui/overlay-drt/index.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/journey/src/otp-ui/overlay-drt/index.js b/journey/src/otp-ui/overlay-drt/index.js index 7572c428..ac1906f2 100644 --- a/journey/src/otp-ui/overlay-drt/index.js +++ b/journey/src/otp-ui/overlay-drt/index.js @@ -241,11 +241,11 @@ class DrtOverlay extends MapLayer { ) })} + - { - locations.itinerary.map(itinerary => { - return ( - + { + locations.itinerary.map(itinerary => { + return ( - - ) + ) + }) } + ) From a69bdcdf919d52b79822fc4d1e6f9101af8de59a Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Mon, 21 Aug 2023 16:56:31 +0200 Subject: [PATCH 27/28] drt-overlay: assign key to polyline --- journey/src/otp-ui/overlay-drt/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/journey/src/otp-ui/overlay-drt/index.js b/journey/src/otp-ui/overlay-drt/index.js index ac1906f2..6f7bbe6b 100644 --- a/journey/src/otp-ui/overlay-drt/index.js +++ b/journey/src/otp-ui/overlay-drt/index.js @@ -115,6 +115,12 @@ class DrtOverlay extends MapLayer { } } + const uuidv4 = () => { + return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, c => + (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16) + ); + } + const getPolyline = (itinerary) => { return polyline.decode(itinerary) } @@ -252,6 +258,7 @@ class DrtOverlay extends MapLayer { dashArray={overlayDrtConf.pathDash} opacity={0.7} weight={6} + key={uuidv4()} >
    From 06feb373f7408856aa72352cb414ae70de91e233 Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Tue, 22 Aug 2023 13:51:27 +0200 Subject: [PATCH 28/28] drt: show spearated iternaries --- drt/utils/index.js | 2 +- journey/src/otp-ui/overlay-drt/index.js | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/drt/utils/index.js b/drt/utils/index.js index dd5aa9cf..a7f87b2a 100644 --- a/drt/utils/index.js +++ b/drt/utils/index.js @@ -87,7 +87,7 @@ function generateEntitiesTrip(data) { if (elem.sactive === true) { for (const step of elem.mvalue.itineraryRemaining) { if (step.type === 'ROUTE') { - all.push(step.routeEncoded); + all.push(polyline.encode(polyline.decode(step.routeEncoded, 6))); } } } diff --git a/journey/src/otp-ui/overlay-drt/index.js b/journey/src/otp-ui/overlay-drt/index.js index 6f7bbe6b..8fcb101e 100644 --- a/journey/src/otp-ui/overlay-drt/index.js +++ b/journey/src/otp-ui/overlay-drt/index.js @@ -115,12 +115,6 @@ class DrtOverlay extends MapLayer { } } - const uuidv4 = () => { - return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, c => - (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16) - ); - } - const getPolyline = (itinerary) => { return polyline.decode(itinerary) } @@ -248,7 +242,6 @@ class DrtOverlay extends MapLayer { })} - { locations.itinerary.map(itinerary => { return ( @@ -258,7 +251,6 @@ class DrtOverlay extends MapLayer { dashArray={overlayDrtConf.pathDash} opacity={0.7} weight={6} - key={uuidv4()} >