diff --git a/lib/canvadocs.rb b/lib/canvadocs.rb index 2abf49dace4..1a9bc1c9819 100644 --- a/lib/canvadocs.rb +++ b/lib/canvadocs.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2014 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require 'cgi' require 'net/http' require 'net/https' diff --git a/lib/canvas.rb b/lib/canvas.rb index 1f408a59c2c..eb87cbf59b0 100644 --- a/lib/canvas.rb +++ b/lib/canvas.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2011 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require_dependency 'canvas/draft_state_validations' module Canvas diff --git a/lib/canvas/aws.rb b/lib/canvas/aws.rb index ce3ff1174c9..6d0bf6692aa 100644 --- a/lib/canvas/aws.rb +++ b/lib/canvas/aws.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2016 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas module AWS OLD_KEYS_SYMBOLS = [:kinesis_endpoint, :kinesis_port, diff --git a/lib/canvas/builders/enrollment_date_builder.rb b/lib/canvas/builders/enrollment_date_builder.rb index af0ad744dbd..37e4cbdc22a 100644 --- a/lib/canvas/builders/enrollment_date_builder.rb +++ b/lib/canvas/builders/enrollment_date_builder.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 - 2013 Instructure, Inc. +# Copyright (C) 2012 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/cassandra/database_builder.rb b/lib/canvas/cassandra/database_builder.rb index c2b5ec8022b..e40cd4e0264 100644 --- a/lib/canvas/cassandra/database_builder.rb +++ b/lib/canvas/cassandra/database_builder.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2014 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas module Cassandra module DatabaseBuilder diff --git a/lib/canvas/cassandra/migration.rb b/lib/canvas/cassandra/migration.rb index 5dc33741017..1532701386e 100644 --- a/lib/canvas/cassandra/migration.rb +++ b/lib/canvas/cassandra/migration.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2014 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas module Cassandra module Migration diff --git a/lib/canvas/cdn.rb b/lib/canvas/cdn.rb index d49a8de8456..7dcf3600b9b 100644 --- a/lib/canvas/cdn.rb +++ b/lib/canvas/cdn.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas module Cdn class << self diff --git a/lib/canvas/cdn/rev_manifest.rb b/lib/canvas/cdn/rev_manifest.rb index af59945188a..95b72cf90d7 100644 --- a/lib/canvas/cdn/rev_manifest.rb +++ b/lib/canvas/cdn/rev_manifest.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require 'set' # An interface to the manifest file created by `gulp rev` and webpack diff --git a/lib/canvas/cdn/s3_uploader.rb b/lib/canvas/cdn/s3_uploader.rb index 5848b0d4d28..0243733ead9 100644 --- a/lib/canvas/cdn/s3_uploader.rb +++ b/lib/canvas/cdn/s3_uploader.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require 'parallel' module Canvas diff --git a/lib/canvas/core_ext/oauth2.rb b/lib/canvas/core_ext/oauth2.rb index 7dc2e331376..442f5dce184 100644 --- a/lib/canvas/core_ext/oauth2.rb +++ b/lib/canvas/core_ext/oauth2.rb @@ -1,3 +1,19 @@ +# +# Copyright (C) 2016 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . module AcceptOpenIDConnectParamAsValidResponse diff --git a/lib/canvas/crocodoc.rb b/lib/canvas/crocodoc.rb index d695e897207..888050b395c 100644 --- a/lib/canvas/crocodoc.rb +++ b/lib/canvas/crocodoc.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2012 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + class Canvas::Crocodoc def self.config PluginSetting.settings_for_plugin(:crocodoc) diff --git a/lib/canvas/draft_state_validations.rb b/lib/canvas/draft_state_validations.rb index aeaead04523..3ce274b4f44 100644 --- a/lib/canvas/draft_state_validations.rb +++ b/lib/canvas/draft_state_validations.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2013 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas module DraftStateValidations def self.included(base) diff --git a/lib/canvas/dynamic_settings.rb b/lib/canvas/dynamic_settings.rb index ee2c2568298..c469d6d9c18 100644 --- a/lib/canvas/dynamic_settings.rb +++ b/lib/canvas/dynamic_settings.rb @@ -1,4 +1,5 @@ -# Copyright (C) 2015-2017 Instructure, Inc. +# +# Copyright (C) 2015 - present Instructure, Inc. # # This file is part of Canvas. # @@ -13,6 +14,7 @@ # # You should have received a copy of the GNU Affero General Public License along # with this program. If not, see . + require 'imperium' module Canvas diff --git a/lib/canvas/error_stats.rb b/lib/canvas/error_stats.rb index 6a3f1fd463b..62d17e7589c 100644 --- a/lib/canvas/error_stats.rb +++ b/lib/canvas/error_stats.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas # Simple class for shipping errors to statsd based on the format # propogated from callbacks on Canvas::Errors diff --git a/lib/canvas/errors.rb b/lib/canvas/errors.rb index 84b5dbd991b..e6d5ed1b73b 100644 --- a/lib/canvas/errors.rb +++ b/lib/canvas/errors.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas # The central message bus for errors in canvas. # diff --git a/lib/canvas/errors/info.rb b/lib/canvas/errors/info.rb index 5f583079838..970d5b6611d 100644 --- a/lib/canvas/errors/info.rb +++ b/lib/canvas/errors/info.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require_relative '../errors' module Canvas class Errors diff --git a/lib/canvas/errors/job_info.rb b/lib/canvas/errors/job_info.rb index 6da33e5233c..6eaa1d29e79 100644 --- a/lib/canvas/errors/job_info.rb +++ b/lib/canvas/errors/job_info.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require_relative '../errors' module Canvas class Errors diff --git a/lib/canvas/errors/reporter.rb b/lib/canvas/errors/reporter.rb index 4d3cb34b4ba..1e63959ed69 100644 --- a/lib/canvas/errors/reporter.rb +++ b/lib/canvas/errors/reporter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require_relative '../errors' module Canvas diff --git a/lib/canvas/errors/worker_info.rb b/lib/canvas/errors/worker_info.rb index 12df9782612..291af418bfa 100644 --- a/lib/canvas/errors/worker_info.rb +++ b/lib/canvas/errors/worker_info.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require_relative '../errors' module Canvas class Errors diff --git a/lib/canvas/event_stream_logger.rb b/lib/canvas/event_stream_logger.rb index eb21cfc7c8e..2f5f38fb04b 100644 --- a/lib/canvas/event_stream_logger.rb +++ b/lib/canvas/event_stream_logger.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas module EventStreamLogger def self.logger diff --git a/lib/canvas/failure_percent_counter.rb b/lib/canvas/failure_percent_counter.rb index 2a017ef4019..cd01dbbfae9 100644 --- a/lib/canvas/failure_percent_counter.rb +++ b/lib/canvas/failure_percent_counter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2016 Instructure, Inc. +# Copyright (C) 2016 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/grade_validations.rb b/lib/canvas/grade_validations.rb index 2ed0d79a4b7..01002a671dd 100644 --- a/lib/canvas/grade_validations.rb +++ b/lib/canvas/grade_validations.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require 'active_support/concern' module Canvas::GradeValidations diff --git a/lib/canvas/icu.rb b/lib/canvas/icu.rb index 72241b37efe..45f18d30b85 100644 --- a/lib/canvas/icu.rb +++ b/lib/canvas/icu.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2013 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::ICU module NaiveCollator def self.rules diff --git a/lib/canvas/jwt_workflow.rb b/lib/canvas/jwt_workflow.rb index ca4c06a356b..c84aab2cc8e 100644 --- a/lib/canvas/jwt_workflow.rb +++ b/lib/canvas/jwt_workflow.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2016 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas class JWTWorkflow def initialize(&token_state) diff --git a/lib/canvas/live_events.rb b/lib/canvas/live_events.rb index c938e3ca332..6decbca838e 100644 --- a/lib/canvas/live_events.rb +++ b/lib/canvas/live_events.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::LiveEvents def self.post_event_stringified(event_name, payload, context = nil) StringifyIds.recursively_stringify_ids(payload) diff --git a/lib/canvas/lock_explanation.rb b/lib/canvas/lock_explanation.rb index 2ff35a5e385..1ca758f7b3a 100644 --- a/lib/canvas/lock_explanation.rb +++ b/lib/canvas/lock_explanation.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2013 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas module LockExplanation include TextHelper diff --git a/lib/canvas/lockdown_browser.rb b/lib/canvas/lockdown_browser.rb index 5eab3c149e5..f2cedefe00d 100644 --- a/lib/canvas/lockdown_browser.rb +++ b/lib/canvas/lockdown_browser.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2011 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas module LockdownBrowser def self.plugin diff --git a/lib/canvas/message_helper.rb b/lib/canvas/message_helper.rb index 883e0588fdf..17e27be20bf 100644 --- a/lib/canvas/message_helper.rb +++ b/lib/canvas/message_helper.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/migration.rb b/lib/canvas/migration.rb index f8971c682bb..a0de7ef6a17 100644 --- a/lib/canvas/migration.rb +++ b/lib/canvas/migration.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2011 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require 'json' require 'time' require 'set' diff --git a/lib/canvas/migration/archive.rb b/lib/canvas/migration/archive.rb index 06827563bc5..f75c694ce58 100644 --- a/lib/canvas/migration/archive.rb +++ b/lib/canvas/migration/archive.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2014 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Migration class Archive attr_reader :warnings diff --git a/lib/canvas/migration/error.rb b/lib/canvas/migration/error.rb index 34b726d08a8..11cdb81cc09 100644 --- a/lib/canvas/migration/error.rb +++ b/lib/canvas/migration/error.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2012 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Migration class Error < StandardError; end end \ No newline at end of file diff --git a/lib/canvas/migration/external_content/migrator.rb b/lib/canvas/migration/external_content/migrator.rb index 3bb991d2e5f..8de9f6867da 100644 --- a/lib/canvas/migration/external_content/migrator.rb +++ b/lib/canvas/migration/external_content/migrator.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2016 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Migration::ExternalContent class Migrator class << self diff --git a/lib/canvas/migration/external_content/service_interface.rb b/lib/canvas/migration/external_content/service_interface.rb index 10a8e5ad0ba..c119cfd6600 100644 --- a/lib/canvas/migration/external_content/service_interface.rb +++ b/lib/canvas/migration/external_content/service_interface.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2016 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Migration::ExternalContent class ServiceInterface class << self diff --git a/lib/canvas/migration/external_content/translator.rb b/lib/canvas/migration/external_content/translator.rb index 035792a7a08..2c0a4aceafc 100644 --- a/lib/canvas/migration/external_content/translator.rb +++ b/lib/canvas/migration/external_content/translator.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2016 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Migration::ExternalContent class Translator diff --git a/lib/canvas/migration/helpers/selective_content_formatter.rb b/lib/canvas/migration/helpers/selective_content_formatter.rb index d9a7bf37d8f..b1550fd6f67 100644 --- a/lib/canvas/migration/helpers/selective_content_formatter.rb +++ b/lib/canvas/migration/helpers/selective_content_formatter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2013 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Migration::Helpers class SelectiveContentFormatter COURSE_SETTING_TYPE = -> { I18n.t('lib.canvas.migration.course_settings', 'Course Settings') } diff --git a/lib/canvas/migration/migrator.rb b/lib/canvas/migration/migrator.rb index ac26fe43ec4..d2a88fe9cbe 100644 --- a/lib/canvas/migration/migrator.rb +++ b/lib/canvas/migration/migrator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/migration/migrator_helper.rb b/lib/canvas/migration/migrator_helper.rb index 4aa64aa8bc0..68ad83d66c7 100644 --- a/lib/canvas/migration/migrator_helper.rb +++ b/lib/canvas/migration/migrator_helper.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/migration/package_identifier.rb b/lib/canvas/migration/package_identifier.rb index 61640c34d24..049dbd72a37 100644 --- a/lib/canvas/migration/package_identifier.rb +++ b/lib/canvas/migration/package_identifier.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2011 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Migration class PackageIdentifier include Canvas::Migration::XMLHelper diff --git a/lib/canvas/migration/validators/course_copy_validator.rb b/lib/canvas/migration/validators/course_copy_validator.rb index d2819b79f05..17da6952cb0 100644 --- a/lib/canvas/migration/validators/course_copy_validator.rb +++ b/lib/canvas/migration/validators/course_copy_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2013 - 2014 Instructure, Inc. +# Copyright (C) 2012 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/migration/validators/zip_importer_validator.rb b/lib/canvas/migration/validators/zip_importer_validator.rb index f84b9e55b81..8513e996297 100644 --- a/lib/canvas/migration/validators/zip_importer_validator.rb +++ b/lib/canvas/migration/validators/zip_importer_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2013 Instructure, Inc. +# Copyright (C) 2012 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/migration/worker.rb b/lib/canvas/migration/worker.rb index db0d06b62c8..41e7c9aa108 100644 --- a/lib/canvas/migration/worker.rb +++ b/lib/canvas/migration/worker.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/migration/worker/course_copy_worker.rb b/lib/canvas/migration/worker/course_copy_worker.rb index d46f80c15dc..03e0c48b960 100644 --- a/lib/canvas/migration/worker/course_copy_worker.rb +++ b/lib/canvas/migration/worker/course_copy_worker.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2013 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/migration/worker/zip_file_worker.rb b/lib/canvas/migration/worker/zip_file_worker.rb index 41135932476..6f3ebd609ed 100644 --- a/lib/canvas/migration/worker/zip_file_worker.rb +++ b/lib/canvas/migration/worker/zip_file_worker.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2013 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/migration/xml_helper.rb b/lib/canvas/migration/xml_helper.rb index 6df63d1b912..ee090aaf6d3 100644 --- a/lib/canvas/migration/xml_helper.rb +++ b/lib/canvas/migration/xml_helper.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/oauth/provider.rb b/lib/canvas/oauth/provider.rb index ecc09ebf0d5..450f12e21fc 100644 --- a/lib/canvas/oauth/provider.rb +++ b/lib/canvas/oauth/provider.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2012 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Oauth class Provider OAUTH2_OOB_URI = 'urn:ietf:wg:oauth:2.0:oob' diff --git a/lib/canvas/oauth/request_error.rb b/lib/canvas/oauth/request_error.rb index 6035f3acd6b..bd6b83a1834 100644 --- a/lib/canvas/oauth/request_error.rb +++ b/lib/canvas/oauth/request_error.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Oauth class RequestError < StandardError ERROR_MAP = { diff --git a/lib/canvas/oauth/token.rb b/lib/canvas/oauth/token.rb index b3ec7dc8639..786a4f9cbc1 100644 --- a/lib/canvas/oauth/token.rb +++ b/lib/canvas/oauth/token.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2012 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Oauth class Token attr_reader :key, :code diff --git a/lib/canvas/password_policy.rb b/lib/canvas/password_policy.rb index b193325a04b..69899375eb9 100644 --- a/lib/canvas/password_policy.rb +++ b/lib/canvas/password_policy.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2013 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas module PasswordPolicy def self.validate(record, attr, value) diff --git a/lib/canvas/plugin.rb b/lib/canvas/plugin.rb index f4cccdd9600..e9bda7d0e17 100644 --- a/lib/canvas/plugin.rb +++ b/lib/canvas/plugin.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/address_book.rb b/lib/canvas/plugins/address_book.rb index dcaccc63e40..e204fc39b45 100644 --- a/lib/canvas/plugins/address_book.rb +++ b/lib/canvas/plugins/address_book.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2016 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + Canvas::Plugin.register('address_book', nil, { :name => lambda{ t :name, 'Address Book' }, :description => lambda{ t :description, 'Configure how to answer address book queries.' }, diff --git a/lib/canvas/plugins/default_plugins.rb b/lib/canvas/plugins/default_plugins.rb index 62ececa28b2..df344171b73 100644 --- a/lib/canvas/plugins/default_plugins.rb +++ b/lib/canvas/plugins/default_plugins.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2011 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + Canvas::Plugin.register('clever', nil, name: 'Clever', description: -> { t :description, 'Clever Login' }, diff --git a/lib/canvas/plugins/ticketing_system.rb b/lib/canvas/plugins/ticketing_system.rb index d09da731839..88a943e18b4 100644 --- a/lib/canvas/plugins/ticketing_system.rb +++ b/lib/canvas/plugins/ticketing_system.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + # Plugin and module for Bring Your Own Ticketing System # # The idea is that other connectors for specific ticketing systems diff --git a/lib/canvas/plugins/ticketing_system/base_plugin.rb b/lib/canvas/plugins/ticketing_system/base_plugin.rb index e3a9a9668c4..027c2e2cc27 100644 --- a/lib/canvas/plugins/ticketing_system/base_plugin.rb +++ b/lib/canvas/plugins/ticketing_system/base_plugin.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Plugins::TicketingSystem # This isn't a class intended to be used on it's own. It's an abstract diff --git a/lib/canvas/plugins/ticketing_system/custom_error.rb b/lib/canvas/plugins/ticketing_system/custom_error.rb index 23088612ee5..b592d852246 100644 --- a/lib/canvas/plugins/ticketing_system/custom_error.rb +++ b/lib/canvas/plugins/ticketing_system/custom_error.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Plugins::TicketingSystem # a decorator for ErrorReport that provides some helper diff --git a/lib/canvas/plugins/ticketing_system/email_plugin.rb b/lib/canvas/plugins/ticketing_system/email_plugin.rb index c7424669690..f34fc8c5972 100644 --- a/lib/canvas/plugins/ticketing_system/email_plugin.rb +++ b/lib/canvas/plugins/ticketing_system/email_plugin.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Plugins::TicketingSystem # If this plugin is enabled, then whenever an ErrorReport is # created in canvas, a JSON document representing that error diff --git a/lib/canvas/plugins/ticketing_system/web_post_plugin.rb b/lib/canvas/plugins/ticketing_system/web_post_plugin.rb index 10b6cb6afcf..99e3c1aa46c 100644 --- a/lib/canvas/plugins/ticketing_system/web_post_plugin.rb +++ b/lib/canvas/plugins/ticketing_system/web_post_plugin.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Plugins::TicketingSystem # If this plugin is enabled, then whenever an ErrorReport is # created in canvas, a JSON document representing that error diff --git a/lib/canvas/plugins/validators/account_reports_validator.rb b/lib/canvas/plugins/validators/account_reports_validator.rb index b2f53b9d486..961206ba216 100644 --- a/lib/canvas/plugins/validators/account_reports_validator.rb +++ b/lib/canvas/plugins/validators/account_reports_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/address_book_validator.rb b/lib/canvas/plugins/validators/address_book_validator.rb index caf1e302756..64825bd5922 100644 --- a/lib/canvas/plugins/validators/address_book_validator.rb +++ b/lib/canvas/plugins/validators/address_book_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2016 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/app_center_validator.rb b/lib/canvas/plugins/validators/app_center_validator.rb index d14aaa0c4ae..cc4242f876d 100644 --- a/lib/canvas/plugins/validators/app_center_validator.rb +++ b/lib/canvas/plugins/validators/app_center_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2013 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/big_blue_button_validator.rb b/lib/canvas/plugins/validators/big_blue_button_validator.rb index f13333bb104..21543fce6b4 100644 --- a/lib/canvas/plugins/validators/big_blue_button_validator.rb +++ b/lib/canvas/plugins/validators/big_blue_button_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/diigo_validator.rb b/lib/canvas/plugins/validators/diigo_validator.rb index a0521254bdb..fc2499c6e9d 100644 --- a/lib/canvas/plugins/validators/diigo_validator.rb +++ b/lib/canvas/plugins/validators/diigo_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/etherpad_validator.rb b/lib/canvas/plugins/validators/etherpad_validator.rb index afa6893e253..edda310fd87 100644 --- a/lib/canvas/plugins/validators/etherpad_validator.rb +++ b/lib/canvas/plugins/validators/etherpad_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/google_drive_validator.rb b/lib/canvas/plugins/validators/google_drive_validator.rb index 798b598b3b2..8a8f68a329e 100644 --- a/lib/canvas/plugins/validators/google_drive_validator.rb +++ b/lib/canvas/plugins/validators/google_drive_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2015 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/i18n_validator.rb b/lib/canvas/plugins/validators/i18n_validator.rb index 850ba4a73dc..27355c52f76 100644 --- a/lib/canvas/plugins/validators/i18n_validator.rb +++ b/lib/canvas/plugins/validators/i18n_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2016 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/kaltura_validator.rb b/lib/canvas/plugins/validators/kaltura_validator.rb index 1314a4001ec..22048a71d1b 100644 --- a/lib/canvas/plugins/validators/kaltura_validator.rb +++ b/lib/canvas/plugins/validators/kaltura_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/linked_in_validator.rb b/lib/canvas/plugins/validators/linked_in_validator.rb index 367296362e3..340516dcd40 100644 --- a/lib/canvas/plugins/validators/linked_in_validator.rb +++ b/lib/canvas/plugins/validators/linked_in_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/live_events_validator.rb b/lib/canvas/plugins/validators/live_events_validator.rb index be7e56a4fea..325d8c79f6d 100644 --- a/lib/canvas/plugins/validators/live_events_validator.rb +++ b/lib/canvas/plugins/validators/live_events_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2013 Instructure, Inc. +# Copyright (C) 2015 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/mathman_validator.rb b/lib/canvas/plugins/validators/mathman_validator.rb index 9857d2042ce..494e7a0b2a0 100644 --- a/lib/canvas/plugins/validators/mathman_validator.rb +++ b/lib/canvas/plugins/validators/mathman_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2016 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/panda_pub_validator.rb b/lib/canvas/plugins/validators/panda_pub_validator.rb index 90a79d2aedd..3cfd9f80510 100644 --- a/lib/canvas/plugins/validators/panda_pub_validator.rb +++ b/lib/canvas/plugins/validators/panda_pub_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2013 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/sessions_validator.rb b/lib/canvas/plugins/validators/sessions_validator.rb index e7f6f7a577b..d47847911e9 100644 --- a/lib/canvas/plugins/validators/sessions_validator.rb +++ b/lib/canvas/plugins/validators/sessions_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/ticketing_system_validator.rb b/lib/canvas/plugins/validators/ticketing_system_validator.rb index 60c17cfd6f3..19b7754cff0 100644 --- a/lib/canvas/plugins/validators/ticketing_system_validator.rb +++ b/lib/canvas/plugins/validators/ticketing_system_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2015 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/twitter_validator.rb b/lib/canvas/plugins/validators/twitter_validator.rb index 10efc79102c..c0c8d5c82a9 100644 --- a/lib/canvas/plugins/validators/twitter_validator.rb +++ b/lib/canvas/plugins/validators/twitter_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/wimba_validator.rb b/lib/canvas/plugins/validators/wimba_validator.rb index 37c50f3cdbf..6aa94127471 100644 --- a/lib/canvas/plugins/validators/wimba_validator.rb +++ b/lib/canvas/plugins/validators/wimba_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/plugins/validators/yo_validator.rb b/lib/canvas/plugins/validators/yo_validator.rb index 567a6626c5c..4cfc1e990fd 100644 --- a/lib/canvas/plugins/validators/yo_validator.rb +++ b/lib/canvas/plugins/validators/yo_validator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2014 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/redis.rb b/lib/canvas/redis.rb index b4cc17a4d96..c4e0cf294fe 100644 --- a/lib/canvas/redis.rb +++ b/lib/canvas/redis.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2011 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas::Redis # try to grab a lock in Redis, returning false if the lock can't be held. If # the lock is grabbed and `ttl` is given, it'll be set to expire after `ttl` diff --git a/lib/canvas/redis_config.rb b/lib/canvas/redis_config.rb index 51c8a4ccc00..3115821940b 100644 --- a/lib/canvas/redis_config.rb +++ b/lib/canvas/redis_config.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2013 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas class RedisConfig attr_reader :redis diff --git a/lib/canvas/redis_wrapper.rb b/lib/canvas/redis_wrapper.rb index 0c916ce454c..577259e6620 100644 --- a/lib/canvas/redis_wrapper.rb +++ b/lib/canvas/redis_wrapper.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2014 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module Canvas class RedisWrapper < SimpleDelegator # We don't marshal for the data wrapper diff --git a/lib/canvas/reloader.rb b/lib/canvas/reloader.rb index f7848919e42..a6fb0023f16 100644 --- a/lib/canvas/reloader.rb +++ b/lib/canvas/reloader.rb @@ -1,4 +1,5 @@ -# Copyright (C) 2013 Instructure, Inc. +# +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/request_forgery_protection.rb b/lib/canvas/request_forgery_protection.rb index 43f2451e052..edd81e1c0dd 100644 --- a/lib/canvas/request_forgery_protection.rb +++ b/lib/canvas/request_forgery_protection.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + # a series of overrides against ActionController::RequestForgeryProtection to: # # (1) deal with masked authenticity tokens (see CanvasBreachMitigation) diff --git a/lib/canvas/security.rb b/lib/canvas/security.rb index a5287912980..376d13a2314 100644 --- a/lib/canvas/security.rb +++ b/lib/canvas/security.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/canvas/security/services_jwt.rb b/lib/canvas/security/services_jwt.rb index b9c4dfa940c..9dc20165326 100644 --- a/lib/canvas/security/services_jwt.rb +++ b/lib/canvas/security/services_jwt.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + class Canvas::Security::ServicesJwt class InvalidRefresh < RuntimeError; end diff --git a/lib/canvas/soft_deletable.rb b/lib/canvas/soft_deletable.rb index 3e1f465bebe..4d91175c490 100644 --- a/lib/canvas/soft_deletable.rb +++ b/lib/canvas/soft_deletable.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require 'active_support/concern' module Canvas::SoftDeletable diff --git a/lib/canvas/twilio.rb b/lib/canvas/twilio.rb index a68b6fe7633..f5de4120dd0 100644 --- a/lib/canvas/twilio.rb +++ b/lib/canvas/twilio.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + # Utilities to send text messages via Twilio. module Canvas::Twilio DEFAULT_COUNTRY = 'US' diff --git a/lib/canvas_logger.rb b/lib/canvas_logger.rb index bda41b2c657..2bbde397de4 100644 --- a/lib/canvas_logger.rb +++ b/lib/canvas_logger.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2011 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require 'active_support' class CanvasLogger < ActiveSupport::Logger diff --git a/lib/canvas_yaml.rb b/lib/canvas_yaml.rb index 1a966f65dbf..f546fa9852a 100644 --- a/lib/canvas_yaml.rb +++ b/lib/canvas_yaml.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2015 Instructure, Inc. +# Copyright (C) 2015 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc.rb b/lib/cc.rb index 0929ea6a121..e8ae61850b5 100644 --- a/lib/cc.rb +++ b/lib/cc.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/assignment_groups.rb b/lib/cc/assignment_groups.rb index fbf3ac95273..6cac4cbf307 100644 --- a/lib/cc/assignment_groups.rb +++ b/lib/cc/assignment_groups.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/assignment_resources.rb b/lib/cc/assignment_resources.rb index ebb54b20c14..50ecf642b7f 100644 --- a/lib/cc/assignment_resources.rb +++ b/lib/cc/assignment_resources.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/basic_lti_links.rb b/lib/cc/basic_lti_links.rb index cb74bb0a75f..9f29c308dde 100644 --- a/lib/cc/basic_lti_links.rb +++ b/lib/cc/basic_lti_links.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/canvas_resource.rb b/lib/cc/canvas_resource.rb index 184cf2f67b5..b98107a8e2c 100644 --- a/lib/cc/canvas_resource.rb +++ b/lib/cc/canvas_resource.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/cc_exporter.rb b/lib/cc/cc_exporter.rb index b7e58fbfa7c..2356df0fea7 100644 --- a/lib/cc/cc_exporter.rb +++ b/lib/cc/cc_exporter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/cc_helper.rb b/lib/cc/cc_helper.rb index 061be064a25..dc8725ed8ee 100644 --- a/lib/cc/cc_helper.rb +++ b/lib/cc/cc_helper.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/events.rb b/lib/cc/events.rb index 0f349d25099..63944c15207 100644 --- a/lib/cc/events.rb +++ b/lib/cc/events.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/exporter/epub.rb b/lib/cc/exporter/epub.rb index 2abb008caec..4cfc20db40c 100644 --- a/lib/cc/exporter/epub.rb +++ b/lib/cc/exporter/epub.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter module Epub FILE_PATH = 'media' diff --git a/lib/cc/exporter/epub/book.rb b/lib/cc/exporter/epub/book.rb index 68a8ed29d34..307d7e34762 100644 --- a/lib/cc/exporter/epub/book.rb +++ b/lib/cc/exporter/epub/book.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub class Book include CC::Exporter::Epub::Converters diff --git a/lib/cc/exporter/epub/converters/assignment_epub_converter.rb b/lib/cc/exporter/epub/converters/assignment_epub_converter.rb index 4dab961cc43..698e0ad4da5 100644 --- a/lib/cc/exporter/epub/converters/assignment_epub_converter.rb +++ b/lib/cc/exporter/epub/converters/assignment_epub_converter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub::Converters module AssignmentEpubConverter include CC::Exporter diff --git a/lib/cc/exporter/epub/converters/cartridge_converter.rb b/lib/cc/exporter/epub/converters/cartridge_converter.rb index 410d13d7179..18c1db4ef38 100644 --- a/lib/cc/exporter/epub/converters/cartridge_converter.rb +++ b/lib/cc/exporter/epub/converters/cartridge_converter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub::Converters class CartridgeConverter < Canvas::Migration::Migrator include CC::CCHelper diff --git a/lib/cc/exporter/epub/converters/files_converter.rb b/lib/cc/exporter/epub/converters/files_converter.rb index 92f28d4c83c..16f96971a2e 100644 --- a/lib/cc/exporter/epub/converters/files_converter.rb +++ b/lib/cc/exporter/epub/converters/files_converter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub::Converters module FilesConverter include CC::CCHelper diff --git a/lib/cc/exporter/epub/converters/media_converter.rb b/lib/cc/exporter/epub/converters/media_converter.rb index 2c1e775ef9e..2568373e042 100644 --- a/lib/cc/exporter/epub/converters/media_converter.rb +++ b/lib/cc/exporter/epub/converters/media_converter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub::Converters module MediaConverter include CC::CCHelper diff --git a/lib/cc/exporter/epub/converters/module_epub_converter.rb b/lib/cc/exporter/epub/converters/module_epub_converter.rb index 3611772035b..041cf9b51fd 100644 --- a/lib/cc/exporter/epub/converters/module_epub_converter.rb +++ b/lib/cc/exporter/epub/converters/module_epub_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011-2015 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/exporter/epub/converters/object_path_converter.rb b/lib/cc/exporter/epub/converters/object_path_converter.rb index 8cdce2ae90d..738d273480a 100644 --- a/lib/cc/exporter/epub/converters/object_path_converter.rb +++ b/lib/cc/exporter/epub/converters/object_path_converter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub::Converters module ObjectPathConverter include CC::CCHelper diff --git a/lib/cc/exporter/epub/converters/quiz_epub_converter.rb b/lib/cc/exporter/epub/converters/quiz_epub_converter.rb index 698694a0ef8..08c6e45ae38 100644 --- a/lib/cc/exporter/epub/converters/quiz_epub_converter.rb +++ b/lib/cc/exporter/epub/converters/quiz_epub_converter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub::Converters module QuizEpubConverter include AssignmentEpubConverter diff --git a/lib/cc/exporter/epub/converters/topic_epub_converter.rb b/lib/cc/exporter/epub/converters/topic_epub_converter.rb index d7a23111240..e8f5d6f9635 100644 --- a/lib/cc/exporter/epub/converters/topic_epub_converter.rb +++ b/lib/cc/exporter/epub/converters/topic_epub_converter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub::Converters module TopicEpubConverter include CC::Exporter diff --git a/lib/cc/exporter/epub/converters/wiki_epub_converter.rb b/lib/cc/exporter/epub/converters/wiki_epub_converter.rb index 320c06244a1..9b0cb28e0f1 100644 --- a/lib/cc/exporter/epub/converters/wiki_epub_converter.rb +++ b/lib/cc/exporter/epub/converters/wiki_epub_converter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub::Converters module WikiEpubConverter include CC::Exporter diff --git a/lib/cc/exporter/epub/exportable.rb b/lib/cc/exporter/epub/exportable.rb index 0ce7e848920..10e2a243395 100644 --- a/lib/cc/exporter/epub/exportable.rb +++ b/lib/cc/exporter/epub/exportable.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub module Exportable def content_cartridge diff --git a/lib/cc/exporter/epub/exporter.rb b/lib/cc/exporter/epub/exporter.rb index c4928ce2101..a6e6cbb9ca1 100644 --- a/lib/cc/exporter/epub/exporter.rb +++ b/lib/cc/exporter/epub/exporter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub class Exporter diff --git a/lib/cc/exporter/epub/files_directory.rb b/lib/cc/exporter/epub/files_directory.rb index d52a7769adc..01bd3b43742 100644 --- a/lib/cc/exporter/epub/files_directory.rb +++ b/lib/cc/exporter/epub/files_directory.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub class FilesDirectory def initialize(exporter) diff --git a/lib/cc/exporter/epub/module_sorter.rb b/lib/cc/exporter/epub/module_sorter.rb index f03da1b3b51..e32701782b3 100644 --- a/lib/cc/exporter/epub/module_sorter.rb +++ b/lib/cc/exporter/epub/module_sorter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub module ModuleSorter def remove_hidden_content_from_syllabus! diff --git a/lib/cc/exporter/epub/template.rb b/lib/cc/exporter/epub/template.rb index 4224bc8e6ed..1720c8591f8 100644 --- a/lib/cc/exporter/epub/template.rb +++ b/lib/cc/exporter/epub/template.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2015 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::Epub class Template include ActionView::Helpers::TagHelper diff --git a/lib/cc/exporter/web_zip/exportable.rb b/lib/cc/exporter/web_zip/exportable.rb index f1e03a8b810..3de4cabf79a 100644 --- a/lib/cc/exporter/web_zip/exportable.rb +++ b/lib/cc/exporter/web_zip/exportable.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2016 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::WebZip module Exportable def content_cartridge diff --git a/lib/cc/exporter/web_zip/exporter.rb b/lib/cc/exporter/web_zip/exporter.rb index 15afa9c1c00..35109cfb977 100644 --- a/lib/cc/exporter/web_zip/exporter.rb +++ b/lib/cc/exporter/web_zip/exporter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2016 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::WebZip class Exporter < CC::Exporter::Epub::Exporter diff --git a/lib/cc/exporter/web_zip/zip_package.rb b/lib/cc/exporter/web_zip/zip_package.rb index 3273e4a4b05..96a55133137 100644 --- a/lib/cc/exporter/web_zip/zip_package.rb +++ b/lib/cc/exporter/web_zip/zip_package.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2016 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Exporter::WebZip class ZipPackage < CC::Exporter::Epub::FilesDirectory diff --git a/lib/cc/external_feeds.rb b/lib/cc/external_feeds.rb index 06ad1a9a150..2063ebdb772 100644 --- a/lib/cc/external_feeds.rb +++ b/lib/cc/external_feeds.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/grading_standards.rb b/lib/cc/grading_standards.rb index b672f379ed5..c8a5dbf1342 100644 --- a/lib/cc/grading_standards.rb +++ b/lib/cc/grading_standards.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer.rb b/lib/cc/importer.rb index 9d52bf0f116..c8b0d727dcb 100644 --- a/lib/cc/importer.rb +++ b/lib/cc/importer.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/blti_converter.rb b/lib/cc/importer/blti_converter.rb index adb017ba864..33bad0c13f0 100644 --- a/lib/cc/importer/blti_converter.rb +++ b/lib/cc/importer/blti_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/assignment_converter.rb b/lib/cc/importer/canvas/assignment_converter.rb index 1d6ae6148be..98aa96860e3 100644 --- a/lib/cc/importer/canvas/assignment_converter.rb +++ b/lib/cc/importer/canvas/assignment_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/converter.rb b/lib/cc/importer/canvas/converter.rb index 64cf4bb8661..0692705f653 100644 --- a/lib/cc/importer/canvas/converter.rb +++ b/lib/cc/importer/canvas/converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/course_settings.rb b/lib/cc/importer/canvas/course_settings.rb index e883b37494e..bb10f1ed16d 100644 --- a/lib/cc/importer/canvas/course_settings.rb +++ b/lib/cc/importer/canvas/course_settings.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/learning_outcomes_converter.rb b/lib/cc/importer/canvas/learning_outcomes_converter.rb index 1ead6e166b3..9ef21f05975 100644 --- a/lib/cc/importer/canvas/learning_outcomes_converter.rb +++ b/lib/cc/importer/canvas/learning_outcomes_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/media_track_converter.rb b/lib/cc/importer/canvas/media_track_converter.rb index fcced874b1e..e30f1bb9c11 100644 --- a/lib/cc/importer/canvas/media_track_converter.rb +++ b/lib/cc/importer/canvas/media_track_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2014 Instructure, Inc. +# Copyright (C) 2014 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/module_converter.rb b/lib/cc/importer/canvas/module_converter.rb index ef281a9611b..bbf9a8ad7d5 100644 --- a/lib/cc/importer/canvas/module_converter.rb +++ b/lib/cc/importer/canvas/module_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/quiz_converter.rb b/lib/cc/importer/canvas/quiz_converter.rb index 7dd3edccd1b..10949aa86f2 100644 --- a/lib/cc/importer/canvas/quiz_converter.rb +++ b/lib/cc/importer/canvas/quiz_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/quiz_metadata_converter.rb b/lib/cc/importer/canvas/quiz_metadata_converter.rb index ae39defa2a5..91bd149c68c 100644 --- a/lib/cc/importer/canvas/quiz_metadata_converter.rb +++ b/lib/cc/importer/canvas/quiz_metadata_converter.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2014 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC::Importer::Canvas module QuizMetadataConverter include AssignmentConverter diff --git a/lib/cc/importer/canvas/rubrics_converter.rb b/lib/cc/importer/canvas/rubrics_converter.rb index 15601dfbcfd..4795e4fa073 100644 --- a/lib/cc/importer/canvas/rubrics_converter.rb +++ b/lib/cc/importer/canvas/rubrics_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/topic_converter.rb b/lib/cc/importer/canvas/topic_converter.rb index 775fc3ecefe..1104ba8aa64 100644 --- a/lib/cc/importer/canvas/topic_converter.rb +++ b/lib/cc/importer/canvas/topic_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/webcontent_converter.rb b/lib/cc/importer/canvas/webcontent_converter.rb index 0d6936bb601..e090ce0e328 100644 --- a/lib/cc/importer/canvas/webcontent_converter.rb +++ b/lib/cc/importer/canvas/webcontent_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/canvas/wiki_converter.rb b/lib/cc/importer/canvas/wiki_converter.rb index 1d98091d5d8..dfd3f283727 100644 --- a/lib/cc/importer/canvas/wiki_converter.rb +++ b/lib/cc/importer/canvas/wiki_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/cc_worker.rb b/lib/cc/importer/cc_worker.rb index 04f9f2fc1e2..4dd3cf30248 100644 --- a/lib/cc/importer/cc_worker.rb +++ b/lib/cc/importer/cc_worker.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/standard/assignment_converter.rb b/lib/cc/importer/standard/assignment_converter.rb index 309dc86d01d..7cb395ae4f9 100644 --- a/lib/cc/importer/standard/assignment_converter.rb +++ b/lib/cc/importer/standard/assignment_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2013 Instructure, Inc. +# Copyright (C) 2014 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/standard/converter.rb b/lib/cc/importer/standard/converter.rb index 184a456da9b..d6ea657e1f5 100644 --- a/lib/cc/importer/standard/converter.rb +++ b/lib/cc/importer/standard/converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/standard/discussion_converter.rb b/lib/cc/importer/standard/discussion_converter.rb index 720973cf833..4b53534be98 100644 --- a/lib/cc/importer/standard/discussion_converter.rb +++ b/lib/cc/importer/standard/discussion_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/standard/org_converter.rb b/lib/cc/importer/standard/org_converter.rb index fc23cd11cb3..36a80bc2750 100644 --- a/lib/cc/importer/standard/org_converter.rb +++ b/lib/cc/importer/standard/org_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/standard/quiz_converter.rb b/lib/cc/importer/standard/quiz_converter.rb index 0c576b75f40..e0c2229736f 100644 --- a/lib/cc/importer/standard/quiz_converter.rb +++ b/lib/cc/importer/standard/quiz_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/standard/webcontent_converter.rb b/lib/cc/importer/standard/webcontent_converter.rb index e7e93876077..645ccd7c861 100644 --- a/lib/cc/importer/standard/webcontent_converter.rb +++ b/lib/cc/importer/standard/webcontent_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/importer/standard/weblink_converter.rb b/lib/cc/importer/standard/weblink_converter.rb index 45b14e22238..a57f594b8e7 100644 --- a/lib/cc/importer/standard/weblink_converter.rb +++ b/lib/cc/importer/standard/weblink_converter.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/learning_outcomes.rb b/lib/cc/learning_outcomes.rb index 5a594fc006b..838f29c81b1 100644 --- a/lib/cc/learning_outcomes.rb +++ b/lib/cc/learning_outcomes.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/manifest.rb b/lib/cc/manifest.rb index baa2e815e51..76a5429be2a 100644 --- a/lib/cc/manifest.rb +++ b/lib/cc/manifest.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/module_meta.rb b/lib/cc/module_meta.rb index f7370a8e33a..16f90ab5044 100644 --- a/lib/cc/module_meta.rb +++ b/lib/cc/module_meta.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/organization.rb b/lib/cc/organization.rb index 9106b8b45ae..f7b68f3a2fb 100644 --- a/lib/cc/organization.rb +++ b/lib/cc/organization.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/qti/qti.rb b/lib/cc/qti/qti.rb index 1b4f86d2210..d512daa5677 100644 --- a/lib/cc/qti/qti.rb +++ b/lib/cc/qti/qti.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/qti/qti_generator.rb b/lib/cc/qti/qti_generator.rb index 8f0c93d0fc3..abc99e801b4 100644 --- a/lib/cc/qti/qti_generator.rb +++ b/lib/cc/qti/qti_generator.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/qti/qti_items.rb b/lib/cc/qti/qti_items.rb index c5cbb24f8b1..38057c2767d 100644 --- a/lib/cc/qti/qti_items.rb +++ b/lib/cc/qti/qti_items.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/qti/qti_manifest.rb b/lib/cc/qti/qti_manifest.rb index b9c6c6ed9a8..f609fc6dae6 100644 --- a/lib/cc/qti/qti_manifest.rb +++ b/lib/cc/qti/qti_manifest.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2012 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/resource.rb b/lib/cc/resource.rb index 37ccbd49136..770ea42339c 100644 --- a/lib/cc/resource.rb +++ b/lib/cc/resource.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/rubrics.rb b/lib/cc/rubrics.rb index e3b3e2f9e5d..bf309445456 100644 --- a/lib/cc/rubrics.rb +++ b/lib/cc/rubrics.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/schema.rb b/lib/cc/schema.rb index 48a8c1999a2..38260594d64 100644 --- a/lib/cc/schema.rb +++ b/lib/cc/schema.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2012 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + module CC class Schema diff --git a/lib/cc/topic_resources.rb b/lib/cc/topic_resources.rb index 600999860c5..11cd12b5941 100644 --- a/lib/cc/topic_resources.rb +++ b/lib/cc/topic_resources.rb @@ -1,5 +1,5 @@ - -# Copyright (C) 2011 Instructure, Inc. +# +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/web_links.rb b/lib/cc/web_links.rb index fba2b0c52b8..06d0d6ddee7 100644 --- a/lib/cc/web_links.rb +++ b/lib/cc/web_links.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/web_resources.rb b/lib/cc/web_resources.rb index 859b55cff7e..f863db2c399 100644 --- a/lib/cc/web_resources.rb +++ b/lib/cc/web_resources.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cc/wiki_resources.rb b/lib/cc/wiki_resources.rb index ab4f674ab10..46a4b25c221 100644 --- a/lib/cc/wiki_resources.rb +++ b/lib/cc/wiki_resources.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/config_file.rb b/lib/config_file.rb index 5f6cc20e146..f9c9df9de62 100644 --- a/lib/config_file.rb +++ b/lib/config_file.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011-2014 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/content_licenses.rb b/lib/content_licenses.rb index 7109eefec57..6f52957381f 100644 --- a/lib/content_licenses.rb +++ b/lib/content_licenses.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2014 Instructure, Inc. +# Copyright (C) 2014 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/content_notices.rb b/lib/content_notices.rb index a1c7b2ecea7..5ce03177fa5 100644 --- a/lib/content_notices.rb +++ b/lib/content_notices.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2014 Instructure, Inc. +# Copyright (C) 2014 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/content_zipper.rb b/lib/content_zipper.rb index f351ed70645..70b59f66c3a 100644 --- a/lib/content_zipper.rb +++ b/lib/content_zipper.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/copy_authorized_links.rb b/lib/copy_authorized_links.rb index c68d3221328..acd5977b82a 100644 --- a/lib/copy_authorized_links.rb +++ b/lib/copy_authorized_links.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/course_link_validator.rb b/lib/course_link_validator.rb index 11e2f5686a8..14705b45ef5 100644 --- a/lib/course_link_validator.rb +++ b/lib/course_link_validator.rb @@ -1,3 +1,20 @@ +# +# Copyright (C) 2014 - present Instructure, Inc. +# +# This file is part of Canvas. +# +# Canvas 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, version 3 of the License. +# +# Canvas 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 . + require 'nokogiri' class CourseLinkValidator diff --git a/lib/custom_validations.rb b/lib/custom_validations.rb index 415f0e9fd38..6db281769e9 100644 --- a/lib/custom_validations.rb +++ b/lib/custom_validations.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # diff --git a/lib/cuty_capt.rb b/lib/cuty_capt.rb index 9f7f6098e92..b03ba9c6ec6 100644 --- a/lib/cuty_capt.rb +++ b/lib/cuty_capt.rb @@ -1,5 +1,5 @@ # -# Copyright (C) 2012 Instructure, Inc. +# Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. #