aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-02-02 23:53:50 +0100
committerhellekin <hellekin@cepheide.org>2021-02-02 23:53:50 +0100
commitec7b305f76446c8936517c19414bf6c836f38b37 (patch)
tree2bc04c4e4b944236f38a9d5c826b6071933e7ee6 /app
parentbcd7baba2a91ae6ac75c046514b9fa420fb820f4 (diff)
downloadincommon-map-ec7b305f76446c8936517c19414bf6c836f38b37.tar.gz
[FIX] Restore REUSE 3.0 compliance
Diffstat (limited to 'app')
-rw-r--r--app/controllers/taxonomies/filter_controller.rb4
-rw-r--r--app/controllers/taxonomies_controller.rb4
-rw-r--r--app/helpers/leaflet_helper.rb4
-rw-r--r--app/helpers/sections_helper.rb4
-rw-r--r--app/javascript/controllers/index.js4
-rw-r--r--app/jobs/ensure_agent_job.rb4
-rw-r--r--app/models/map.rb4
7 files changed, 28 insertions, 0 deletions
diff --git a/app/controllers/taxonomies/filter_controller.rb b/app/controllers/taxonomies/filter_controller.rb
index ad3514c..d366cae 100644
--- a/app/controllers/taxonomies/filter_controller.rb
+++ b/app/controllers/taxonomies/filter_controller.rb
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2021 IN COMMON Collective
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
class Taxonomies::FilterController < ApplicationController
# GET /taxonomies/:id/filter
def show
diff --git a/app/controllers/taxonomies_controller.rb b/app/controllers/taxonomies_controller.rb
index f33595a..cfdfa22 100644
--- a/app/controllers/taxonomies_controller.rb
+++ b/app/controllers/taxonomies_controller.rb
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2021 IN COMMON Collective
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
class TaxonomiesController < ApplicationController
# GET /taxonomies
def index
diff --git a/app/helpers/leaflet_helper.rb b/app/helpers/leaflet_helper.rb
index 67820d3..be42b66 100644
--- a/app/helpers/leaflet_helper.rb
+++ b/app/helpers/leaflet_helper.rb
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2021 IN COMMON Collective
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
module LeafletHelper
def json_marker_for(resource, section)
# Style according to requested section
diff --git a/app/helpers/sections_helper.rb b/app/helpers/sections_helper.rb
index 20f602b..83efa40 100644
--- a/app/helpers/sections_helper.rb
+++ b/app/helpers/sections_helper.rb
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2021 IN COMMON Collective
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
module SectionsHelper
# Render a section as a GeoJSON FeatureCollection
def geojson_feature_collection(section)
diff --git a/app/javascript/controllers/index.js b/app/javascript/controllers/index.js
index 6f53d84..9068264 100644
--- a/app/javascript/controllers/index.js
+++ b/app/javascript/controllers/index.js
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2021 IN COMMON Collective
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
// Load all the controllers within this directory and all subdirectories.
// Controller files must be named *_controller.js.
diff --git a/app/jobs/ensure_agent_job.rb b/app/jobs/ensure_agent_job.rb
index c754fc0..127cf1d 100644
--- a/app/jobs/ensure_agent_job.rb
+++ b/app/jobs/ensure_agent_job.rb
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2021 IN COMMON Collective
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
class EnsureAgentJob < ApplicationJob
queue_as :default
diff --git a/app/models/map.rb b/app/models/map.rb
index 10a55f6..8c7d01e 100644
--- a/app/models/map.rb
+++ b/app/models/map.rb
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2021 IN COMMON Collective
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
class Map < ApplicationRecord
include UUIDParameter
belongs_to :taxonomy