aboutsummaryrefslogtreecommitdiff
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
parentbcd7baba2a91ae6ac75c046514b9fa420fb820f4 (diff)
downloadincommon-map-ec7b305f76446c8936517c19414bf6c836f38b37.tar.gz
[FIX] Restore REUSE 3.0 compliance
-rw-r--r--.reuse/dep54
-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
-rw-r--r--config/initializers/meta_tags.rb4
9 files changed, 34 insertions, 2 deletions
diff --git a/.reuse/dep5 b/.reuse/dep5
index e417ab4..7899b6b 100644
--- a/.reuse/dep5
+++ b/.reuse/dep5
@@ -5,7 +5,7 @@ Source: https://framagit.org/incommon.cc/incommon-map/
## Default Rails files (see https://rubyonrails.org)
-Files: .browserslistrc .gitignore .ruby-version config.ru Gemfile Gemfile.lock Rakefile README.md app/assets/config/manifest.js app/assets/stylesheets/application.css app/javascript/packs/application.js app/jobs/application_jobs.rb app-mailers/application_mailer.rb app/models/application_record.rb app/views/layouts/application.html.erb app/views/layouts/mailer.html.erb app/views/layouts/mailer.text.erb bin/* config/routes.rb config/application.rb config/boot.rb config/environment.rb config/environments/*.rb config/initializers/application_controller_renderer.rb config/initializers/assets.rb config/initializers/backtrace_silencers.rb config/initializers/content_security_policy.rb config/initializers/cookies_serializer.rb config/initializers/filter_parameter_logging.rb config/initializers/mime_types.rb config/initializers/session_store.rb config/initializers/wrap_parameters.rb config/puma.rb config/spring.rb config/storage.yml config/webpack/*.js config/webpacker.yml babel.config.js postcss.config.js
+Files: .browserslistrc .gitignore .ruby-version config.ru Gemfile Gemfile.lock Rakefile README.md app/assets/config/manifest.js app/assets/stylesheets/application.css app/javascript/packs/application.js app/jobs/application_jobs.rb app-mailers/application_mailer.rb app/models/application_record.rb app/views/layouts/application.html.erb app/views/layouts/mailer.html.erb app/views/layouts/mailer.text.erb bin/* config/routes.rb config/application.rb config/boot.rb config/environment.rb config/environments/*.rb config/initializers/application_controller_renderer.rb config/initializers/assets.rb config/initializers/backtrace_silencers.rb config/initializers/content_security_policy.rb config/initializers/cookies_serializer.rb config/initializers/filter_parameter_logging.rb config/initializers/mime_types.rb config/initializers/permissions_policy.rb config/initializers/session_store.rb config/initializers/wrap_parameters.rb config/puma.rb config/spring.rb config/storage.yml config/webpack/*.js config/webpacker.yml babel.config.js postcss.config.js
Copyright: 2004-2020 David Heinemeier Hansson
Comment: These are default Ruby on Rails files.
License: MIT
@@ -25,7 +25,7 @@ License: CC0-1.0
## IN COMMON content files
-Files: *.json public/*.* app/assets/images/* doc/import/*.csv
+Files: *.json public/*.* app/assets/images/* doc/import/*.csv app/javascript/scss/*.scss
Copyright: 2020 IN COMMON Collective <collective@incommon.cc>
License: LAL-1.3
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
diff --git a/config/initializers/meta_tags.rb b/config/initializers/meta_tags.rb
index 464d964..c460356 100644
--- a/config/initializers/meta_tags.rb
+++ b/config/initializers/meta_tags.rb
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2011-2016 Dmytro Shteflyuk
+#
+# SPDX-License-Identifier: MIT
+
# frozen_string_literal: true
# Use this setup block to configure all options available in MetaTags.