da licença part 36

add consistent license headers to all source files

Change-Id: I15e544768e7361fc050089a5ed4699f7ee96bb2c
Reviewed-on: https://gerrit.instructure.com/110064
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
This commit is contained in:
Landon Wilkins 2017-04-27 20:57:24 -06:00 committed by Jon Jensen
parent a1cbdc0388
commit 45b8efda41
14 changed files with 98 additions and 9 deletions

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2011 Instructure, Inc.
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#

View File

@ -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 <http://www.gnu.org/licenses/>.
require 'nokogiri'
require 'ritex'
require 'securerandom'

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2016 Instructure, Inc.
# Copyright (C) 2016 - present Instructure, Inc.
#
# This file is part of Canvas.
#

View File

@ -1,6 +1,6 @@
# encoding: UTF-8
#
# Copyright (C) 2011 Instructure, Inc.
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#

View File

@ -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 <http://www.gnu.org/licenses/>.
class UserListV2
# not really much better than the first one
# stealing some things from it because I don't feel like reinventing the whole wheel

View File

@ -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 <http://www.gnu.org/licenses/>.
class UserMerge
def self.from(user)

View File

@ -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 <http://www.gnu.org/licenses/>.
module UserSearch
def self.for_user_in_context(search_term, context, searcher, session=nil, options = {})

View File

@ -1,6 +1,6 @@
# encoding: UTF-8
#
# Copyright (C) 2011 Instructure, Inc.
# Copyright (C) 2014 - present Instructure, Inc.
#
# This file is part of Canvas.
#
@ -14,6 +14,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
module Utils
class DatePresenter

View File

@ -1,6 +1,6 @@
# encoding: UTF-8
#
# Copyright (C) 2011 Instructure, Inc.
# Copyright (C) 2014 - present Instructure, Inc.
#
# This file is part of Canvas.
#
@ -14,6 +14,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
module Utils
class DatetimeRangePresenter

View File

@ -1,6 +1,6 @@
# encoding: UTF-8
#
# Copyright (C) 2011 Instructure, Inc.
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#
@ -14,6 +14,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
module Utils
class RelativeDate

View File

@ -1,6 +1,6 @@
# encoding: UTF-8
#
# Copyright (C) 2011 Instructure, Inc.
# Copyright (C) 2014 - present Instructure, Inc.
#
# This file is part of Canvas.
#
@ -14,6 +14,7 @@
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
module Utils
class TimePresenter

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2011 - 2014 Instructure, Inc.
# Copyright (C) 2016 - present Instructure, Inc.
#
# This file is part of Canvas.
#

View File

@ -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 <http://www.gnu.org/licenses/>.
module VisibilityPluckingHelper
def self.included(base)
base.extend(ClassMethods)

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2011 Instructure, Inc.
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#