diff --git a/app/builders/learning_object_builder.rb b/app/builders/learning_object_builder.rb
index c986f3c70c1685e470c08ae7103c34870aa12634..9428e079637a53b7c2319fc4cb9167dba42f4f78 100644
--- a/app/builders/learning_object_builder.rb
+++ b/app/builders/learning_object_builder.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class LearningObjectBuilder
   def self.build_from_dspace(item)
     lo = LearningObject.new(
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 922e314b7cf0f69b7a08d8aecd9ff6266535273b..7ee83c03cb4092390f330e8b4c6ef9946fb54e36 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ApplicationController < ActionController::API
   include ActionController::Serialization
   include DeviseTokenAuth::Concerns::SetUserByToken
diff --git a/app/controllers/concerns/deleted_objects_controller.rb b/app/controllers/concerns/deleted_objects_controller.rb
index 2eeee836d94222119f9db2486516bb4ea3c1401b..cdd7ba0802bca40482c9e590d8baf2bbd77b1a27 100644
--- a/app/controllers/concerns/deleted_objects_controller.rb
+++ b/app/controllers/concerns/deleted_objects_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module DeletedObjectsController
   extend ActiveSupport::Concern
 
diff --git a/app/controllers/concerns/downloadable_controller.rb b/app/controllers/concerns/downloadable_controller.rb
index accb20d6c74121758ca26f3dd5ea33b340995cca..2cf5cd2cb99eefefd61d57b2959d5391ba78bc71 100644
--- a/app/controllers/concerns/downloadable_controller.rb
+++ b/app/controllers/concerns/downloadable_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module DownloadableController
   extend ActiveSupport::Concern
 
diff --git a/app/controllers/concerns/followable_controller.rb b/app/controllers/concerns/followable_controller.rb
index 40cd9139c58200a605c9275eebad11669c096657..cfa3876b558db666df8ffb3a9c9dc82d4cdbf94b 100644
--- a/app/controllers/concerns/followable_controller.rb
+++ b/app/controllers/concerns/followable_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ## This concern has +follow+ and +unfollow+ controller actions
 ## When you use it, be sure that +set_followable+ method is implemented in your controller, otherwise an fatal error will raise.
 module FollowableController
diff --git a/app/controllers/concerns/highlights_controller.rb b/app/controllers/concerns/highlights_controller.rb
index 8ff30cc9708b94f44b0708e49596fc406a3d6a37..f2d399365068a72c6e06969725607ae519209740 100644
--- a/app/controllers/concerns/highlights_controller.rb
+++ b/app/controllers/concerns/highlights_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module HighlightsController
   extend ActiveSupport::Concern
 
diff --git a/app/controllers/concerns/paginator.rb b/app/controllers/concerns/paginator.rb
index 28d230f6e1f7891709f13a9aee753b4bcea02a9e..f855a13d2d4d6dcee9099538260257fb1b0dd0e9 100644
--- a/app/controllers/concerns/paginator.rb
+++ b/app/controllers/concerns/paginator.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Paginator
   extend ActiveSupport::Concern
 
diff --git a/app/controllers/concerns/publisher_controller.rb b/app/controllers/concerns/publisher_controller.rb
index dd385d9ae4331708102b173dc9111605c5b63b1f..dbfcd2f1ea4b2e3eb871a503fed4efb606874fe5 100644
--- a/app/controllers/concerns/publisher_controller.rb
+++ b/app/controllers/concerns/publisher_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module PublisherController
   extend ActiveSupport::Concern
 
diff --git a/app/controllers/concerns/resource_model.rb b/app/controllers/concerns/resource_model.rb
index e8763ac79c8b1c1f08717622076a4ce2686a2598..43d605575005fe3dfe9ff78ad5fc437cd4362353 100644
--- a/app/controllers/concerns/resource_model.rb
+++ b/app/controllers/concerns/resource_model.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module ResourceModel
   extend ActiveSupport::Concern
 
diff --git a/app/controllers/concerns/reviewable_controller.rb b/app/controllers/concerns/reviewable_controller.rb
index d90752ca97ef605d37c3173779653a8d086712f1..4b3eabe810f93288bb5fd4ba2a1cd632083606a4 100644
--- a/app/controllers/concerns/reviewable_controller.rb
+++ b/app/controllers/concerns/reviewable_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ## This concern has all default resource methods for CRUD operations
 ## When you use it, be sure that +reviewable+ method is implemented in your controller, otherwise an fatal error will raise.
 module ReviewableController
diff --git a/app/controllers/concerns/sociable_controller.rb b/app/controllers/concerns/sociable_controller.rb
index 2bdc8081e9de9b2103bedbadb027aae56c92ceda..82a96c83234c9582d091923146c53e115c78fef1 100644
--- a/app/controllers/concerns/sociable_controller.rb
+++ b/app/controllers/concerns/sociable_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ## This concern has +like+, +unlike+ controller actions
 ## When you use it, be sure that +set_sociable+ method is implemented in your controller, otherwise an fatal error will raise.
 module SociableController
diff --git a/app/controllers/concerns/stageable_controller.rb b/app/controllers/concerns/stageable_controller.rb
index c10593ebf6e364649f833ef678a0577dc327a171..5c5c9625dc1656188d8ab4ff1861bd8de725a1e6 100644
--- a/app/controllers/concerns/stageable_controller.rb
+++ b/app/controllers/concerns/stageable_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module StageableController
   extend ActiveSupport::Concern
 
diff --git a/app/controllers/concerns/subjectable_controller.rb b/app/controllers/concerns/subjectable_controller.rb
index 9e712be0faa1f91599f7f66e1f61cc3185a7a938..5e904e351ba80386a836e3a243353dd6aa9292f6 100644
--- a/app/controllers/concerns/subjectable_controller.rb
+++ b/app/controllers/concerns/subjectable_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module SubjectableController
   extend ActiveSupport::Concern
 
diff --git a/app/controllers/concerns/taggable_controller.rb b/app/controllers/concerns/taggable_controller.rb
index b451e2aa783d27ef0fd49d615f8f5c0ed4d29397..0c7a2635d99b1914d1a4f6f482905c1464d24d53 100644
--- a/app/controllers/concerns/taggable_controller.rb
+++ b/app/controllers/concerns/taggable_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module TaggableController
   extend ActiveSupport::Concern
 
diff --git a/app/controllers/v1/activities_controller.rb b/app/controllers/v1/activities_controller.rb
index e8de993b7653abc24f5f0ba1c050d3867af60236..dd473e80140b86deff3bf4fb9ab05e588dd001e8 100644
--- a/app/controllers/v1/activities_controller.rb
+++ b/app/controllers/v1/activities_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::ActivitiesController < ApplicationController
   include ::ResourceModel
   include ::Paginator
diff --git a/app/controllers/v1/collections_controller.rb b/app/controllers/v1/collections_controller.rb
index de2f898e974414262eba88d13e6842292f5a851a..ebc014ece39db5de8338479767905ac500ae8c01 100644
--- a/app/controllers/v1/collections_controller.rb
+++ b/app/controllers/v1/collections_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::CollectionsController < ApplicationController
   include ::SociableController
   include ::DownloadableController
diff --git a/app/controllers/v1/complaints_controller.rb b/app/controllers/v1/complaints_controller.rb
index b7803f0a66ccf7ff83bf5faab38ca2ab6bed9072..5015fb5c70e218362edb397f172b696d07ce52df 100644
--- a/app/controllers/v1/complaints_controller.rb
+++ b/app/controllers/v1/complaints_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::ComplaintsController < ApplicationController
   include ::DeletedObjectsController
   include ::Paginator
diff --git a/app/controllers/v1/contacts_controller.rb b/app/controllers/v1/contacts_controller.rb
index 37246084fa5b94dafe8f919c3f31d3d9e47952d2..ff67f711eeba868af58c7324f0e4af46d3d8c8f1 100644
--- a/app/controllers/v1/contacts_controller.rb
+++ b/app/controllers/v1/contacts_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::ContactsController < ApplicationController
   include ::Paginator
 
diff --git a/app/controllers/v1/educational_stages_controller.rb b/app/controllers/v1/educational_stages_controller.rb
index 48fe33458fa72de0c949f238505fd778d2d1a0bd..4647e9e39cd2a76f8cf63108df5289daa96eb506 100644
--- a/app/controllers/v1/educational_stages_controller.rb
+++ b/app/controllers/v1/educational_stages_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::EducationalStagesController < ApplicationController
 
   include ::Paginator
diff --git a/app/controllers/v1/feed_controller.rb b/app/controllers/v1/feed_controller.rb
index fa14de1c21071ea92ecfae088c9e36b28ace5aaf..98892dbb38a345b005d38689b62bf4651b4250bb 100644
--- a/app/controllers/v1/feed_controller.rb
+++ b/app/controllers/v1/feed_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::FeedController < ApplicationController
   include ::Paginator
   include ActivitiesFilterService
diff --git a/app/controllers/v1/institutions_controller.rb b/app/controllers/v1/institutions_controller.rb
index 3d8627f77c0d83c6f476073bce040687b61707b2..06186a9c5dc116b346a33de7f536fd7cffd2e094 100644
--- a/app/controllers/v1/institutions_controller.rb
+++ b/app/controllers/v1/institutions_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::InstitutionsController < ApplicationController
   include ::DeletedObjectsController
   include ::Paginator
diff --git a/app/controllers/v1/languages_controller.rb b/app/controllers/v1/languages_controller.rb
index d35da08121b85be09a8b6fa90a6937ea0102f97d..f3c4744158817fe3b841253501b272a576aa4929 100644
--- a/app/controllers/v1/languages_controller.rb
+++ b/app/controllers/v1/languages_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::LanguagesController < ApplicationController
   include ::Paginator
 
diff --git a/app/controllers/v1/learning_objects/attachment_controller.rb b/app/controllers/v1/learning_objects/attachment_controller.rb
index cc71c6d0f1cd146913c9fc0488eb9a5b003875e9..21c7b39256f101f86b2e02c25a5ffb2be290463e 100644
--- a/app/controllers/v1/learning_objects/attachment_controller.rb
+++ b/app/controllers/v1/learning_objects/attachment_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::LearningObjects::AttachmentController < ApplicationController
   before_action :set_objects
   before_action :authorize!
diff --git a/app/controllers/v1/learning_objects/chunks_controller.rb b/app/controllers/v1/learning_objects/chunks_controller.rb
index a65e77f3d613c51e00a26e535ec677e0f9e651ff..76007f866f854620edbdffe7395bf95b354d565d 100644
--- a/app/controllers/v1/learning_objects/chunks_controller.rb
+++ b/app/controllers/v1/learning_objects/chunks_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::LearningObjects::ChunksController < ApplicationController
   before_action :authorize!
 
diff --git a/app/controllers/v1/learning_objects/publishes_controller.rb b/app/controllers/v1/learning_objects/publishes_controller.rb
index 2686c5ebd97f196f847ca22f6c30ed7e1a0adcaf..75efb858ae099a5f4700e17bda5fab52e24d8538 100644
--- a/app/controllers/v1/learning_objects/publishes_controller.rb
+++ b/app/controllers/v1/learning_objects/publishes_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::LearningObjects::PublishesController < ApplicationController
   before_action :set_learning_object
   before_action :authorize!
diff --git a/app/controllers/v1/learning_objects/uploads_controller.rb b/app/controllers/v1/learning_objects/uploads_controller.rb
index f2a51afee5c38ca0cf723f750f3571bbf7d1ff66..6da88208a8933264b7c3e4ee4fe7eb7bce1b2588 100644
--- a/app/controllers/v1/learning_objects/uploads_controller.rb
+++ b/app/controllers/v1/learning_objects/uploads_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::LearningObjects::UploadsController < ApplicationController
   before_action :set_learning_object
   before_action :authorize!
diff --git a/app/controllers/v1/learning_objects_controller.rb b/app/controllers/v1/learning_objects_controller.rb
index 2b274844ece406954e64eaf05ddf56eb59d880ad..eda09d0a99e32ceaa5232edfa44f1186fe5298d6 100644
--- a/app/controllers/v1/learning_objects_controller.rb
+++ b/app/controllers/v1/learning_objects_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'uri'
 
 class V1::LearningObjectsController < ApplicationController
diff --git a/app/controllers/v1/licenses_controller.rb b/app/controllers/v1/licenses_controller.rb
index a97356de64b62ab28ffe3fd97d3d575500af7905..18d0f6167207a40d37d4bd014f99278c440dd411 100644
--- a/app/controllers/v1/licenses_controller.rb
+++ b/app/controllers/v1/licenses_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::LicensesController < ApplicationController
   before_action :authenticate_user!, only: [:create, :update, :destroy]
   before_action :set_license, only: [:show, :update, :destroy]
diff --git a/app/controllers/v1/mime_types_controller.rb b/app/controllers/v1/mime_types_controller.rb
index e51e6f8783a22f0bf5b6676d40c19b8d6a3ae59c..d551dc4da29b3709454812d2dc2b29ccea73d732 100644
--- a/app/controllers/v1/mime_types_controller.rb
+++ b/app/controllers/v1/mime_types_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::MimeTypesController < ApplicationController
   include ::Paginator
 
diff --git a/app/controllers/v1/object_types_controller.rb b/app/controllers/v1/object_types_controller.rb
index c09775a85912a94520632acc37863dabd353b6d8..6aeb0f776793370ba5f9768504d2f7f10f89e225 100644
--- a/app/controllers/v1/object_types_controller.rb
+++ b/app/controllers/v1/object_types_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::ObjectTypesController < ApplicationController
   include ::Paginator
 
diff --git a/app/controllers/v1/omniauth_callbacks_controller.rb b/app/controllers/v1/omniauth_callbacks_controller.rb
index 0ba43f3f669844c1bde3682f4c409143d2b3d71d..d64c7ed059ff8c58aae21cd819dff8dc60282722 100644
--- a/app/controllers/v1/omniauth_callbacks_controller.rb
+++ b/app/controllers/v1/omniauth_callbacks_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'open-uri'
   class V1::OmniauthCallbacksController < DeviseTokenAuth::ApplicationController
 
diff --git a/app/controllers/v1/packages_controller.rb b/app/controllers/v1/packages_controller.rb
index d6d94adba83b6e2b9f022d6012bcb25ef23810e6..e10c72aca60d0be816349b70f93507fb9e9827cf 100644
--- a/app/controllers/v1/packages_controller.rb
+++ b/app/controllers/v1/packages_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::PackagesController < ApplicationController
   before_action :set_objects
 
diff --git a/app/controllers/v1/ratings_controller.rb b/app/controllers/v1/ratings_controller.rb
index d32fdea57779f5e0087d78954fdea7ec4ed1834e..1a2827acf79e465f9635550ad5619b782aa41958 100644
--- a/app/controllers/v1/ratings_controller.rb
+++ b/app/controllers/v1/ratings_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::RatingsController < ApplicationController
   include ::DeletedObjectsController
 
diff --git a/app/controllers/v1/reviews_controller.rb b/app/controllers/v1/reviews_controller.rb
index 136adbc0fcb2257809be01d2b86fb6aced7bd1fd..9f8fe1559d3f94543fcbde7bfbe39643025cb552 100644
--- a/app/controllers/v1/reviews_controller.rb
+++ b/app/controllers/v1/reviews_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::ReviewsController < ApplicationController
   include ::DeletedObjectsController
   include ::ResourceModel
diff --git a/app/controllers/v1/roles_controller.rb b/app/controllers/v1/roles_controller.rb
index e846d8be87646057a08d0f272fedbefbdcc6d0f8..108103916502ca0e5bd5b48bfd1be7666b99c166 100644
--- a/app/controllers/v1/roles_controller.rb
+++ b/app/controllers/v1/roles_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::RolesController < ApplicationController
   include ::Paginator
 
diff --git a/app/controllers/v1/scores_controller.rb b/app/controllers/v1/scores_controller.rb
index 5045a8654336ec1cdfd8a8e9896b07ede12a0c72..0ca1708f4733d9fb12ada86ae5652577e5fa1892 100644
--- a/app/controllers/v1/scores_controller.rb
+++ b/app/controllers/v1/scores_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::ScoresController < ApplicationController
   before_action :set_score, only: [:show,:update]
   before_action :authenticate_user!, only: [:update]
diff --git a/app/controllers/v1/search_controller.rb b/app/controllers/v1/search_controller.rb
index fa764f21bf169cfb8b9c2c9d7b0ba042731bd558..adb52cd86a94961a117e6bc888f14a5c7b780fd9 100644
--- a/app/controllers/v1/search_controller.rb
+++ b/app/controllers/v1/search_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::SearchController < ApplicationController
   before_action :set_search
 
diff --git a/app/controllers/v1/statistics_controller.rb b/app/controllers/v1/statistics_controller.rb
index c4044571525fed73343857e1d890a605a386cece..275499f3da23ee7e3175d8e51b9da7a4b8661807 100644
--- a/app/controllers/v1/statistics_controller.rb
+++ b/app/controllers/v1/statistics_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::StatisticsController < ApplicationController
   # GET v1/statistics
   # GET v1/statistics.json
diff --git a/app/controllers/v1/subjects_controller.rb b/app/controllers/v1/subjects_controller.rb
index 0908c10a045c9956a9b136b88bef33927ac6972a..82f239ed6deb97d0c4777d4961d931be674903f3 100644
--- a/app/controllers/v1/subjects_controller.rb
+++ b/app/controllers/v1/subjects_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::SubjectsController < ApplicationController
   
   include ::Paginator
diff --git a/app/controllers/v1/suggestions_controller.rb b/app/controllers/v1/suggestions_controller.rb
index 79dfacdbd296937fde2dc193358e1c7d5d1df857..35672b4ce8a675c76945473536b082cb5b0dff11 100644
--- a/app/controllers/v1/suggestions_controller.rb
+++ b/app/controllers/v1/suggestions_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::SuggestionsController < ApplicationController
   include ::Paginator
 
diff --git a/app/controllers/v1/users/bookmarks_controller.rb b/app/controllers/v1/users/bookmarks_controller.rb
index 0f92db501e9f44daee18c55fed16151326622a03..ac3c8a2115c382050a5bebdc3aad20d1c59baa46 100644
--- a/app/controllers/v1/users/bookmarks_controller.rb
+++ b/app/controllers/v1/users/bookmarks_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::Users::BookmarksController < ApplicationController
   before_action :authenticate_user!
   before_action :set_user
diff --git a/app/controllers/v1/users_controller.rb b/app/controllers/v1/users_controller.rb
index 6405a2a8f37c861d02efd0cd4e8e5b74f46257f4..ca63b2aec4ce58f8394d64f8ccf07947d7de33cb 100644
--- a/app/controllers/v1/users_controller.rb
+++ b/app/controllers/v1/users_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::UsersController < ApplicationController
   include ::FollowableController
   include ::DeletedObjectsController
diff --git a/app/controllers/v1/versions_controller.rb b/app/controllers/v1/versions_controller.rb
index f1a9c9a991913740a98da32405f039065ee07c70..60e2b152306ea464951b7b38d9df771495bf539c 100644
--- a/app/controllers/v1/versions_controller.rb
+++ b/app/controllers/v1/versions_controller.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class V1::VersionsController < ApplicationController
   include ::ResourceModel
 
diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb
index a009ace51ccf46bab4ac06100a225a1fa1801e65..a36cc5d31043c67b775543586f30b137f73df341 100644
--- a/app/jobs/application_job.rb
+++ b/app/jobs/application_job.rb
@@ -1,2 +1,21 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ApplicationJob < ActiveJob::Base
 end
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb
index 4ff71b5d33e509b5d1b306eb2b6dae019b0c95fa..5ccf1d194c3d4535ad1f2aa5c361f19ea40bffc7 100644
--- a/app/mailers/application_mailer.rb
+++ b/app/mailers/application_mailer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ApplicationMailer < ActionMailer::Base
   default to: 'portalmec_tec@inf.ufpr.br'
   default from: 'portalmec@inf.ufpr.br'
diff --git a/app/mailers/contacts_mailer.rb b/app/mailers/contacts_mailer.rb
index e485608d246cbacab6e5967df0c5ad1988bf3aea..5c32f58d21bfe302b29b29255d89bc12d13b49b1 100644
--- a/app/mailers/contacts_mailer.rb
+++ b/app/mailers/contacts_mailer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ContactsMailer < ApplicationMailer
 
     def new_contact_received(contact)
diff --git a/app/mailers/suggestions_mailer.rb b/app/mailers/suggestions_mailer.rb
index b6545b69cfc64d6e9002f65f435916219e5e766a..acce598da86a2a419ba4f19c353467b4a7b93aea 100644
--- a/app/mailers/suggestions_mailer.rb
+++ b/app/mailers/suggestions_mailer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class SuggestionsMailer < ApplicationMailer
 
     def new_suggestion_received(suggestion)
diff --git a/app/models/application.rb b/app/models/application.rb
index 8156eaddb364b9d39901f7c4d8ad79d0e442814f..3d9ce268313a85956ab6e1a6bc253491f28c3eed 100644
--- a/app/models/application.rb
+++ b/app/models/application.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class Application < ApplicationRecord
   belongs_to :user
 
diff --git a/app/models/application_record.rb b/app/models/application_record.rb
index 10a4cba84df37181f4cf310fd85d8f0aaa5d90ba..627ee4157f0aaf6c327999e1371b829551dd5dc0 100644
--- a/app/models/application_record.rb
+++ b/app/models/application_record.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ApplicationRecord < ActiveRecord::Base
   self.abstract_class = true
 end
diff --git a/app/models/bookmark.rb b/app/models/bookmark.rb
index c912a2dcb58aa35f436b2a28f39e239a76f20dcc..c9a303e5653bee6d078fe11f131d224ca8f7ed96 100644
--- a/app/models/bookmark.rb
+++ b/app/models/bookmark.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: bookmarks
diff --git a/app/models/bug.rb b/app/models/bug.rb
index d87a20468c7ce67266a50a0563d387eb33658c2b..e50c181953e60d0522adaed3e0ede7dc37a65457 100644
--- a/app/models/bug.rb
+++ b/app/models/bug.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ##Represents a software issue
 class Bug
   include ActiveModel::Model
diff --git a/app/models/carousel.rb b/app/models/carousel.rb
index 066dc5ed10c67120748603f367d1ef9d1bf3bca6..a28dff39a995ed863e7b01530df86e03383c9d39 100644
--- a/app/models/carousel.rb
+++ b/app/models/carousel.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: carousels
diff --git a/app/models/collection.rb b/app/models/collection.rb
index cecb90f16d4d75fd3d81ab94a9ad6a647a919c06..00620bfc383374f075ecdde93adf02a73089cff8 100644
--- a/app/models/collection.rb
+++ b/app/models/collection.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: collections
diff --git a/app/models/collection_item.rb b/app/models/collection_item.rb
index 101e61d5b41f8ed4479647b771bfeccd66ac31aa..9b421358dbd0a3d9c447f835c6ef2dc5876b4676 100644
--- a/app/models/collection_item.rb
+++ b/app/models/collection_item.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: collection_items
diff --git a/app/models/complaint.rb b/app/models/complaint.rb
index f6ce9aa452a69d05a320b3a1ae51438f97bffcbc..475988fe3e3327535088ac18270358f941e021ab 100644
--- a/app/models/complaint.rb
+++ b/app/models/complaint.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: complaints
diff --git a/app/models/complaint_reason.rb b/app/models/complaint_reason.rb
index 9a94b700587aee6d0f9379be4fe2385b33bad735..b9ccaac1c9266d9ec757abaf80caca2e52e3a514 100644
--- a/app/models/complaint_reason.rb
+++ b/app/models/complaint_reason.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: complaint_reasons
diff --git a/app/models/concerns/complainable.rb b/app/models/concerns/complainable.rb
index 52fe06422e0589135afcf375f349d5ae44badd81..fc26fe3ee3c8b5aa91109b0fbc0c86cbc7cc6265 100644
--- a/app/models/concerns/complainable.rb
+++ b/app/models/concerns/complainable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Complainable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/downloadable.rb b/app/models/concerns/downloadable.rb
index b813ac8371334bafc5a3394cc4cf020be5a17cda..bc9e35b8b1a53a49bed98c51a0fdf9950e480377 100644
--- a/app/models/concerns/downloadable.rb
+++ b/app/models/concerns/downloadable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Downloadable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/followable.rb b/app/models/concerns/followable.rb
index d24840009e5d4017fad03f6f43a6982b570b44cb..39c037ace68824c03d94e848f2a3c993381a001b 100644
--- a/app/models/concerns/followable.rb
+++ b/app/models/concerns/followable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Followable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/highlights.rb b/app/models/concerns/highlights.rb
index bb336eaf9b7ebaaff0b422d881d9936389bd20a3..752bffcb7a074a4ae9f247dcc6d19f57cb2dafd2 100644
--- a/app/models/concerns/highlights.rb
+++ b/app/models/concerns/highlights.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Highlights
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/metadatable.rb b/app/models/concerns/metadatable.rb
index 9ec32689c025a7db60e66442e2fb7e57609059ed..688c5feab9b01a8a5a156e2aa29524dc0b5421d4 100644
--- a/app/models/concerns/metadatable.rb
+++ b/app/models/concerns/metadatable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ## Metadatable concern for models which have metadata
 # This concern will include some methods to handle @metadata attr of application models
 module Metadatable
diff --git a/app/models/concerns/publisher.rb b/app/models/concerns/publisher.rb
index 80d91408afd655f035e6058b7644da601e168c30..4a52da21e985337b697aab4977fca6ae29044ece 100644
--- a/app/models/concerns/publisher.rb
+++ b/app/models/concerns/publisher.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Publisher
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/reputationable.rb b/app/models/concerns/reputationable.rb
index f452af019864aff73d7e7605067263079fe33b5c..7df113a0d504b87ca5bf46fb0ff7b21862f62f8d 100644
--- a/app/models/concerns/reputationable.rb
+++ b/app/models/concerns/reputationable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Reputationable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/reviewable.rb b/app/models/concerns/reviewable.rb
index 27875b9253f266253af25b4bfcab88b8cd597bcc..7f76b460329a87125fb8bee574b31a03d8a61ce3 100644
--- a/app/models/concerns/reviewable.rb
+++ b/app/models/concerns/reviewable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Reviewable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/scoreable.rb b/app/models/concerns/scoreable.rb
index 0e101ecdb8ef197e0b15caa4912698eb04fa391c..9e9ca9e39e2aa63c162791c0b53210fbf8a575b5 100644
--- a/app/models/concerns/scoreable.rb
+++ b/app/models/concerns/scoreable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Scoreable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/sociable.rb b/app/models/concerns/sociable.rb
index 2bc9fcb05f5896e3a1b7e2162afe4a1f52434f2f..e199ac7bc1bcb1d3b457ab938478469665f14f79 100644
--- a/app/models/concerns/sociable.rb
+++ b/app/models/concerns/sociable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Sociable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/stageable.rb b/app/models/concerns/stageable.rb
index fa63296638f14e78950fd78eff69047cebec6347..f6acd144a06106afa8583c0ae4d5d6853db26ab9 100644
--- a/app/models/concerns/stageable.rb
+++ b/app/models/concerns/stageable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Stageable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/stateful.rb b/app/models/concerns/stateful.rb
index 7ca2f074779ec9894ee4f4b2166a637ff92daf41..ef79f6b2e4da6f8e12c0ccbc286998dff3f9421e 100644
--- a/app/models/concerns/stateful.rb
+++ b/app/models/concerns/stateful.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Stateful
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/subjectable.rb b/app/models/concerns/subjectable.rb
index 07a49f72ac2c03a60b45a69b79cfb08ed52e64a1..c18c23290924d0d33d32192fcd3e3072b8412e62 100644
--- a/app/models/concerns/subjectable.rb
+++ b/app/models/concerns/subjectable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Subjectable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/taggable.rb b/app/models/concerns/taggable.rb
index bf62302ea155c014411a4d7467e819e39b6b12fa..10d1668049260dad04e0b8e76cf9e5ead5323a55 100644
--- a/app/models/concerns/taggable.rb
+++ b/app/models/concerns/taggable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Taggable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/tagger.rb b/app/models/concerns/tagger.rb
index 06798e532f2431e5c277f91ec54b2e6bd31bc235..3127a067369d7ecd4bb9836c659e515e1790b6ae 100644
--- a/app/models/concerns/tagger.rb
+++ b/app/models/concerns/tagger.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Tagger
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/thumbnailable.rb b/app/models/concerns/thumbnailable.rb
index dae374fa5008715ddd215561e9307b1ec5220519..746079c569739a33c1af2f7bb2b40b4f2e77bfab 100644
--- a/app/models/concerns/thumbnailable.rb
+++ b/app/models/concerns/thumbnailable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Thumbnailable
   extend ActiveSupport::Concern
 
diff --git a/app/models/concerns/trackable.rb b/app/models/concerns/trackable.rb
index 44ba3eee9b7fbe44177674f4fce4f426781b2aef..44289aee76f8b232ca12bd9869e4ffa3d8a9ae7a 100644
--- a/app/models/concerns/trackable.rb
+++ b/app/models/concerns/trackable.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Trackable
   extend ActiveSupport::Concern
   include PublicActivity::Common
diff --git a/app/models/contact.rb b/app/models/contact.rb
index 4d63e81922f4fcde4827c07dcc45635e15fc7989..298bab6b27a5f903a850aa83551a00d226a911b5 100644
--- a/app/models/contact.rb
+++ b/app/models/contact.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: contacts
diff --git a/app/models/download.rb b/app/models/download.rb
index 8b5dae1ad57e293b98e225a5e74fb4168eb7934f..7f7d8d8bc94e2da66b5066b0961ea90606f1d060 100644
--- a/app/models/download.rb
+++ b/app/models/download.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: downloads
diff --git a/app/models/educational_stage.rb b/app/models/educational_stage.rb
index 52a178be7efbf3d07fcd553ff1be08b92f450ca5..0f90685235e88bf84776d354473622c29c1be07f 100644
--- a/app/models/educational_stage.rb
+++ b/app/models/educational_stage.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class EducationalStage < ApplicationRecord
   has_many :stage_relations
   validates_presence_of :name
diff --git a/app/models/follow.rb b/app/models/follow.rb
index 602fb95dc4752f2105d30de2f7aab4ba0cb42ff9..f6236a43e469288f4f44cf63c3f0169855aad91a 100644
--- a/app/models/follow.rb
+++ b/app/models/follow.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: follows
diff --git a/app/models/institution.rb b/app/models/institution.rb
index cd6d6909f302ebe89246ded0b07ee93e04c7922b..2be4bf24de22b57bfa90ee3ffbad6da25996503f 100644
--- a/app/models/institution.rb
+++ b/app/models/institution.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: institutions
diff --git a/app/models/language.rb b/app/models/language.rb
index 4b91ae32e82980bd0a6bdaae34d2ed78b9e77322..6913d1d3694d5d236c11bdb86ea1e3739463d40a 100644
--- a/app/models/language.rb
+++ b/app/models/language.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: languages
diff --git a/app/models/learning_object.rb b/app/models/learning_object.rb
index 1b43fe4703e90081be526923e0438ae85112e551..2652f556a445161e752ba25426893e3479b3cf26 100644
--- a/app/models/learning_object.rb
+++ b/app/models/learning_object.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
  # == Schema Information
 #
 # Table name: learning_objects
diff --git a/app/models/learning_object/attachment.rb b/app/models/learning_object/attachment.rb
index 532fb009ea680fa9f714877c4dd60f802c9b018f..dae5e242603b786bdfe65d563fe8127d8272d3a5 100644
--- a/app/models/learning_object/attachment.rb
+++ b/app/models/learning_object/attachment.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: learning_object_attachments
diff --git a/app/models/license.rb b/app/models/license.rb
index fd00603014f00b6fd5376c5ae153b449789be93f..2044fbec21c31b1e05db50083e9885677cd507c0 100644
--- a/app/models/license.rb
+++ b/app/models/license.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class License < ApplicationRecord
   validates :name, presence: true
 end
diff --git a/app/models/like.rb b/app/models/like.rb
index 9b57efdd6d21d4c8d04464766bbcd64a9fd7d3c3..8cd755c0cb480c5cc1a02c1679f34a9dbe3094af 100644
--- a/app/models/like.rb
+++ b/app/models/like.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: likes
diff --git a/app/models/mime_type.rb b/app/models/mime_type.rb
index 6de9f904041b2c384cc843d1e34f531b8c0a64bf..8b52ee5c3d5792b43319acc5a7b8adab2f61ea40 100644
--- a/app/models/mime_type.rb
+++ b/app/models/mime_type.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: mime_types
diff --git a/app/models/object_type.rb b/app/models/object_type.rb
index e652def2c0d4157eff5957cda716eb97b29d5a12..ba466c12627dc2485f7be8c0a49f7d53e653d040 100644
--- a/app/models/object_type.rb
+++ b/app/models/object_type.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ObjectType < ApplicationRecord
   has_many :learning_objects
   has_and_belongs_to_many :mime_types
diff --git a/app/models/package.rb b/app/models/package.rb
index 3586b50125a959a323b808a365deadf194e1ba14..3acede537ab28157d0d02e5236209b37be825c95 100644
--- a/app/models/package.rb
+++ b/app/models/package.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: packages
diff --git a/app/models/package_item.rb b/app/models/package_item.rb
index 30952f09b528b0ffc10c1709ff381d0cf9a773aa..b75f2ad6bb3c75e5de67f91e900041aeee751649 100644
--- a/app/models/package_item.rb
+++ b/app/models/package_item.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: package_items
diff --git a/app/models/rate.rb b/app/models/rate.rb
index 32e0eb83ce9fd69c60296c248dd38b1e90cf6a17..52f4af694c5d8cea49c598f4592e4701c2d4b0a9 100644
--- a/app/models/rate.rb
+++ b/app/models/rate.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: rates
diff --git a/app/models/rating.rb b/app/models/rating.rb
index 20f4b8e1743e8ab1595e1608a0b75dd0b73a0263..076ab3f046358b9c48fbf2cd39defa54c3629ea0 100644
--- a/app/models/rating.rb
+++ b/app/models/rating.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: ratings
diff --git a/app/models/review.rb b/app/models/review.rb
index 8e21690ae348e7d39b504c9e5377cf8d25c706ef..ee8b9796c17f000f6766e627a9c94f95f61671d7 100644
--- a/app/models/review.rb
+++ b/app/models/review.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: reviews
diff --git a/app/models/review_rating.rb b/app/models/review_rating.rb
index 223d58ba5c9f85c2f643bd1a1a95805623ab8ece..cec331ae5b626bae278a9b55032333763ca78ab3 100644
--- a/app/models/review_rating.rb
+++ b/app/models/review_rating.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: review_ratings
diff --git a/app/models/role.rb b/app/models/role.rb
index cfca39dabe6eeebef6f979abc706df1a85db1220..0ae8eebe379bb281f1e75ccc905111072d356694 100644
--- a/app/models/role.rb
+++ b/app/models/role.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: roles
diff --git a/app/models/score.rb b/app/models/score.rb
index 64a3340a7f7acbaa6ef86b21cdb7e032dea266c7..7450e22dea4091871b9cfe571dd3fafa44bfe957 100644
--- a/app/models/score.rb
+++ b/app/models/score.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: scores
diff --git a/app/models/score_user_category.rb b/app/models/score_user_category.rb
index 29eb10b1991b71e87160dd1f311a87b1da3bacf3..1909b86913d5f8f5f73db4ed3d18744997ca7684 100644
--- a/app/models/score_user_category.rb
+++ b/app/models/score_user_category.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: score_user_categories
diff --git a/app/models/search.rb b/app/models/search.rb
index cb88cb4b1aa8a59bb0c8c7e3a680c3cfb2eeadaf..c30afe65bf2105184c13153f3cb2c66eddb68e96 100644
--- a/app/models/search.rb
+++ b/app/models/search.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class Search
   include ActiveModel::Model
   attr_accessor :page, :results_per_page, :order, :query, :search_class, :tags, :subjects, :educational_stages, :object_types
diff --git a/app/models/share.rb b/app/models/share.rb
index c9f92a8d846db3ad70cceafdb915feae69d22327..f8b0741781854ce6a54a7cb4713a8b67ad9d0ec8 100644
--- a/app/models/share.rb
+++ b/app/models/share.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: shares
diff --git a/app/models/stage_relation.rb b/app/models/stage_relation.rb
index f729c6c2d60df98d2a89c9431f431525b3e272f2..4fbe7bd5c855292c11ed9bb014a2003b47eea188 100644
--- a/app/models/stage_relation.rb
+++ b/app/models/stage_relation.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class StageRelation < ApplicationRecord
   belongs_to :educational_stage
   belongs_to :stageable, polymorphic: true
diff --git a/app/models/subject.rb b/app/models/subject.rb
index c6327c69b3e2561b20b20341043335be8e395ba0..f43502476c83981f8da8bfe3a2c2434733c004e0 100644
--- a/app/models/subject.rb
+++ b/app/models/subject.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class Subject < ApplicationRecord
   has_many :subject_relations
   validates_presence_of :name
diff --git a/app/models/subject_relation.rb b/app/models/subject_relation.rb
index fe1f206c2236f3186286bbd6d9f0a42dbd948615..e2770f9dac54e408aa59b752b6dc301e62969a8c 100644
--- a/app/models/subject_relation.rb
+++ b/app/models/subject_relation.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class SubjectRelation < ApplicationRecord
   belongs_to :subject
   belongs_to :subjectable, polymorphic: true
diff --git a/app/models/suggestion.rb b/app/models/suggestion.rb
index a528f432672f147c0ca531d750bb49d86e65bae4..3ac84cc8526385d93effaba95eb0158f1dd9c143 100644
--- a/app/models/suggestion.rb
+++ b/app/models/suggestion.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: suggestions
diff --git a/app/models/tag.rb b/app/models/tag.rb
index d2745a06e1fb23c14e9b036fec7fdaf9bc7958b3..34a3f28c6e9f1f90aa3fe2ba57e1d6c942e42af1 100644
--- a/app/models/tag.rb
+++ b/app/models/tag.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class Tag < ApplicationRecord
   has_many :taggings
   validates_presence_of :name
diff --git a/app/models/tagging.rb b/app/models/tagging.rb
index e42b96b0169237029d32da20972928cc3f2c8372..3b0d9d40ccfd791fd3e1b544366027ec103b3c11 100644
--- a/app/models/tagging.rb
+++ b/app/models/tagging.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class Tagging < ApplicationRecord
   # *current_user* tag *taggable* with *tag*
   include Trackable
diff --git a/app/models/user.rb b/app/models/user.rb
index 1399f3b6c95e4b49413c25b5634e0eed3bc39b92..f913694f750906207967a56009d6920dea087282 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: users
diff --git a/app/models/user_category.rb b/app/models/user_category.rb
index cef5ad9cd55315436573f8c6673884bbc3562f8c..c923e90d264901fb3af9fb104797bb953bba40fd 100644
--- a/app/models/user_category.rb
+++ b/app/models/user_category.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: user_categories
diff --git a/app/models/view.rb b/app/models/view.rb
index c79ef6273e2656589215a767f335c5dfc5b45959..2e2d995e58d8e375c5126767510c1eef16feae3d 100644
--- a/app/models/view.rb
+++ b/app/models/view.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: views
diff --git a/app/policies/activity_policy.rb b/app/policies/activity_policy.rb
index bdb94fe88f7f4dfd1425050ad26c15881995b46e..1592b3f39ffa4c09f7e33ac9e8ed49a0bb5711f3 100644
--- a/app/policies/activity_policy.rb
+++ b/app/policies/activity_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ActivityPolicy < ApplicationPolicy
   class Scope < Scope
     include ActivitiesFilterService
diff --git a/app/policies/application_policy.rb b/app/policies/application_policy.rb
index 8445518d31b69544549342d4e8d3713371ef7266..84a418d6fcc60b4b842ae72efefde22081ef49ae 100644
--- a/app/policies/application_policy.rb
+++ b/app/policies/application_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ApplicationPolicy
   attr_reader :user, :record
 
diff --git a/app/policies/bookmark_policy.rb b/app/policies/bookmark_policy.rb
index 9e88edd4e4faf8c85857c5e1251cdbdd53a3fda8..fca92306eb0435a48345b2bfc196a11573e5399e 100644
--- a/app/policies/bookmark_policy.rb
+++ b/app/policies/bookmark_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class BookmarkPolicy < ApplicationPolicy
 
   def index?
diff --git a/app/policies/collection_policy.rb b/app/policies/collection_policy.rb
index 9721408518245252b7fb8482729dd1a5005be1c3..de0e62bc7a8e749ace0f7de5162482a2ee0c7865 100644
--- a/app/policies/collection_policy.rb
+++ b/app/policies/collection_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CollectionPolicy < ApplicationPolicy
   include SociablePolicy
   include FollowablePolicy
diff --git a/app/policies/complaint_policy.rb b/app/policies/complaint_policy.rb
index 81482c381ac10093952d269eee752d740200316e..f3edcece4510e44042cf5b2dfccabfc868e5042c 100644
--- a/app/policies/complaint_policy.rb
+++ b/app/policies/complaint_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ComplaintPolicy < ApplicationPolicy
 
   def create?
diff --git a/app/policies/followable_policy.rb b/app/policies/followable_policy.rb
index c3b5870e6dc8d28f74f98112e4263f2bf8f59b9e..d094202e37907f5ebe886ba3bc1a2bd6daf359c8 100644
--- a/app/policies/followable_policy.rb
+++ b/app/policies/followable_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module FollowablePolicy
 
   def follow?
diff --git a/app/policies/institution_policy.rb b/app/policies/institution_policy.rb
index 185b3eff64311035233e7e87ac34d5a5118f7726..7728b76a50ff1a9ae92fd33c916fbf3c2a9273c5 100644
--- a/app/policies/institution_policy.rb
+++ b/app/policies/institution_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class InstitutionPolicy < ApplicationPolicy
   def create?
     record if user_can_moderate?
diff --git a/app/policies/language_policy.rb b/app/policies/language_policy.rb
index cae7a10e077c056d7bdc33099c8563f7c665ae38..503655751a4aff7291954bb7f2ea86be57eace60 100644
--- a/app/policies/language_policy.rb
+++ b/app/policies/language_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class LanguagePolicy < ApplicationPolicy
   def index?
     record
diff --git a/app/policies/learning_object_policy.rb b/app/policies/learning_object_policy.rb
index b223bcaaf43220d5a70e59d189c4a3ef2084b60e..8450227a347fa07b8a68c3f47343b05fac836dde 100644
--- a/app/policies/learning_object_policy.rb
+++ b/app/policies/learning_object_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class LearningObjectPolicy < ApplicationPolicy
   include SociablePolicy
   include ReportablePolicy
diff --git a/app/policies/license_policy.rb b/app/policies/license_policy.rb
index de80c911f15fa5ef6c9bac992de8c6ce64dfb9a1..53bb36df7fd7963188bf091f73aac76180f07809 100644
--- a/app/policies/license_policy.rb
+++ b/app/policies/license_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class LicensePolicy < ApplicationPolicy
   def index?
     record
diff --git a/app/policies/mime_type_policy.rb b/app/policies/mime_type_policy.rb
index 1ae25251480b629b8f32ab74fde50b6fa3487fd8..5501f59681a35b9094ee64a6823ebafcb61e51f0 100644
--- a/app/policies/mime_type_policy.rb
+++ b/app/policies/mime_type_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class MimeTypePolicy < ApplicationPolicy
   def index?
     record
diff --git a/app/policies/object_type_policy.rb b/app/policies/object_type_policy.rb
index 22633e5495565d96d8e5eecbe6ab746ca09e7c61..d8eb36562a256fee407066234d4023a91ba8b74e 100644
--- a/app/policies/object_type_policy.rb
+++ b/app/policies/object_type_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ObjectTypePolicy < ApplicationPolicy
   def index?
     record
diff --git a/app/policies/publisher_policy.rb b/app/policies/publisher_policy.rb
index 24158d58757c5c4930f38ebcb678faa1d0b18fb4..41e3bafd74ac92aa23f978ed0d85407d49f0dc11 100644
--- a/app/policies/publisher_policy.rb
+++ b/app/policies/publisher_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module PublisherPolicy
 
   class Scope < ApplicationPolicy::Scope
diff --git a/app/policies/rating_policy.rb b/app/policies/rating_policy.rb
index bd3c49072adb60883c86d765be2e8926d5f7800e..57faf562798ffcb193aea3799c30b08138665370 100644
--- a/app/policies/rating_policy.rb
+++ b/app/policies/rating_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class RatingPolicy < ApplicationPolicy
 
   def index?
diff --git a/app/policies/reportable_policy.rb b/app/policies/reportable_policy.rb
index e7a36a5d7e66f73174ceeb151bc56f55b10af5a3..635abffdceb3ab84ce34e76f6847ce367408eaf2 100644
--- a/app/policies/reportable_policy.rb
+++ b/app/policies/reportable_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module ReportablePolicy
 
   def report_object?
diff --git a/app/policies/review_policy.rb b/app/policies/review_policy.rb
index 41fd8967b0241ba9f25b3ce1a3682b30eb5474f9..2db4803454860792413c5d9d33006a318f7f5a86 100644
--- a/app/policies/review_policy.rb
+++ b/app/policies/review_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ReviewPolicy < ApplicationPolicy
 
   def create?
diff --git a/app/policies/role_policy.rb b/app/policies/role_policy.rb
index d6fcd4b35c8e4918a379e3342667ef6b5dad26c2..7c25ad2661f659b6643c4a73eaf9501cc172acad 100644
--- a/app/policies/role_policy.rb
+++ b/app/policies/role_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class RolePolicy < ApplicationPolicy
   def index?
     record
diff --git a/app/policies/search_policy.rb b/app/policies/search_policy.rb
index 7a3d5808659afaf64f687ceb144b8a5a52782225..2708e76e8ece8fb0707d3895bfa049efa9a6f8c6 100644
--- a/app/policies/search_policy.rb
+++ b/app/policies/search_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class SearchPolicy < ApplicationPolicy
   class Scope < Scope
     def resolve
diff --git a/app/policies/sociable_policy.rb b/app/policies/sociable_policy.rb
index 392f3793932a1e92ce3fbd0acd62598b1046f7e7..8be1756ce46641360874b8e60fb296634539403c 100644
--- a/app/policies/sociable_policy.rb
+++ b/app/policies/sociable_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module SociablePolicy
 
   def like?
diff --git a/app/policies/stageable_policy.rb b/app/policies/stageable_policy.rb
index 62618be71f36d32a959a2eac874a3c30d17c5177..53c4519faca605b635b58a1c1485ec532b1d40c5 100644
--- a/app/policies/stageable_policy.rb
+++ b/app/policies/stageable_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module StageablePolicy
 
   def add_stages?
diff --git a/app/policies/subjectable_policy.rb b/app/policies/subjectable_policy.rb
index 4133417c472573f927cd35e5e8a1d548b4ad5e56..60ceb7b0eead662faf6fb288dd67fba05089c548 100644
--- a/app/policies/subjectable_policy.rb
+++ b/app/policies/subjectable_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module SubjectablePolicy
 
   def subjecting?
diff --git a/app/policies/taggable_policy.rb b/app/policies/taggable_policy.rb
index 6df900f2b07697f4f47c5904a3e6a9def4aa1267..0406a631a1f1349ed8870ab183757cfb7dc86292 100644
--- a/app/policies/taggable_policy.rb
+++ b/app/policies/taggable_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module TaggablePolicy
 
   def tagging?
diff --git a/app/policies/user_policy.rb b/app/policies/user_policy.rb
index 1deecdaa6cceb05152e697ad2d39b25499c86dda..66dc672881e783e12ea4ec5d290a2a95360aada9 100644
--- a/app/policies/user_policy.rb
+++ b/app/policies/user_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class UserPolicy < ApplicationPolicy
   include FollowablePolicy
   include PublisherPolicy
diff --git a/app/policies/welcome_policy.rb b/app/policies/welcome_policy.rb
index 5062601c3ce3c61f9f2c9c409dd275d8965f7b95..aa4b93c6e785798009cede89e779a7c07b84db80 100644
--- a/app/policies/welcome_policy.rb
+++ b/app/policies/welcome_policy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class WelcomePolicy < ApplicationPolicy
   class Scope < Scope
     def resolve
diff --git a/app/serializers/array_serializer.rb b/app/serializers/array_serializer.rb
index 1cd3747813bb7b86f1403f885c6cf1fdfded7976..8b4866742f2bf4181c06794f50259fb1b7e32ebc 100644
--- a/app/serializers/array_serializer.rb
+++ b/app/serializers/array_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ArraySerializer
   def self.dump(array)
     array.to_json
diff --git a/app/serializers/collection_item_serializer.rb b/app/serializers/collection_item_serializer.rb
index 5bb19b6e93ff72cc1afd1059f2fa57c4f2197c3f..d7c981589b2fafbe37383b573455d36090d0b61f 100644
--- a/app/serializers/collection_item_serializer.rb
+++ b/app/serializers/collection_item_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CollectionItemSerializer < ActiveModel::Serializer
   cache key: 'collection_item', expires_in: 24.hours
   
diff --git a/app/serializers/collection_min_serializer.rb b/app/serializers/collection_min_serializer.rb
index ed64ea51bd441011fceba6c5a0bf5f52c0c2a7eb..c000ee025a9c99a1597f02ddd9f824ae8a61679c 100644
--- a/app/serializers/collection_min_serializer.rb
+++ b/app/serializers/collection_min_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CollectionMinSerializer < ActiveModel::Serializer
   cache key: 'collection', expires_in: 4.hours, except: [:likes_count, :liked, :reviewed, :complained]
 
diff --git a/app/serializers/collection_serializer.rb b/app/serializers/collection_serializer.rb
index f945282c2a26db20e6134fd75757f399f56e6e52..0f4a4514cbe7ce21271fdc5dae10e16e7c5db9a1 100644
--- a/app/serializers/collection_serializer.rb
+++ b/app/serializers/collection_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CollectionSerializer < ActiveModel::Serializer
   cache key: 'collection', expires_in: 4.hours, except: [:likes_count, :liked, :reviewed, :complained, :followed]
 
diff --git a/app/serializers/contact_serializer.rb b/app/serializers/contact_serializer.rb
index b3eca6681df75dec18dc84a302ac7740c0d724f2..7ec38ee69961f17422e6a837abdd507853728bb6 100644
--- a/app/serializers/contact_serializer.rb
+++ b/app/serializers/contact_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ContactSerializer < ActiveModel::Serializer
   cache key: 'contact', expires_in: 24.hours
   attributes :id, :name, :email, :message
diff --git a/app/serializers/follow_serializer.rb b/app/serializers/follow_serializer.rb
index ba5ee0682b26cf970310a272a257b52a2298c444..013f10b1f18e268ed8ad80245ae5340dbe0b0c82 100644
--- a/app/serializers/follow_serializer.rb
+++ b/app/serializers/follow_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class FollowSerializer < ActiveModel::Serializer
   cache key: 'follow', expires_in: 24.hours
 
diff --git a/app/serializers/institution_serializer.rb b/app/serializers/institution_serializer.rb
index 8b7d169d6c25a531061e9531bd4461e3f0634097..a6621052751b267b361e73f83917ede476b25b14 100644
--- a/app/serializers/institution_serializer.rb
+++ b/app/serializers/institution_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class InstitutionSerializer < ActiveModel::Serializer
   cache key: 'institution', expires_in: 4.hours
   attributes :id, :name, :description, :address, :city, :country, :avatar, :created_at, :updated_at
diff --git a/app/serializers/language_serializer.rb b/app/serializers/language_serializer.rb
index 4160a8e0d523cb8dc65fee0bbc5ed29643e881d3..a2d004d696a527d01687a7fd212605d1d645d405 100644
--- a/app/serializers/language_serializer.rb
+++ b/app/serializers/language_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class LanguageSerializer < ActiveModel::Serializer
   cache key: 'language', expires_in: 24.hours
   attributes :id, :name, :code
diff --git a/app/serializers/learning_object/attachment_serializer.rb b/app/serializers/learning_object/attachment_serializer.rb
index 8e6cda99871dba3d16b2d1c876038ed4c50da203..63c078b23f099b4485414e12a1138f4dec685d35 100644
--- a/app/serializers/learning_object/attachment_serializer.rb
+++ b/app/serializers/learning_object/attachment_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class LearningObject::AttachmentSerializer < ActiveModel::Serializer
   cache key: 'attachment', expires_in: 24.hours
   attributes :id, :name, :retrieve_link, :description, :format, :mime_type, :size, :bundle_name, :learning_object_id, :created_at, :updated_at, :id_dspace, :thumbnail, :cache_link
diff --git a/app/serializers/learning_object_obaa_serializer.rb b/app/serializers/learning_object_obaa_serializer.rb
index 424957d1ab8d0a50cdf98f372eec1e1ef372cd59..a1d9d8d2461d0442b2fc277393ad26045829821c 100644
--- a/app/serializers/learning_object_obaa_serializer.rb
+++ b/app/serializers/learning_object_obaa_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class LearningObjectObaaSerializer < ActiveModel::Serializer
   cache key: 'learning_object_obaa', expires_in: 4.hours
 #   "educational": {
diff --git a/app/serializers/learning_object_serializer.rb b/app/serializers/learning_object_serializer.rb
index dbf2316da5ffef31800398cd2389208f4475a2bb..f8754b337b299ff1d508a30c750fa02b2f876aa2 100644
--- a/app/serializers/learning_object_serializer.rb
+++ b/app/serializers/learning_object_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class LearningObjectSerializer < ActiveModel::Serializer
   cache key: 'learning_object', expires_in: 4.hours, except: [:likes_count, :liked, :reviewed, :complained]
 
diff --git a/app/serializers/license_serializer.rb b/app/serializers/license_serializer.rb
index 8e7e06300dc9aea57a62122979ddf5d3ee6a95e1..ccd72291463f94d52933d485bb3731901c39125a 100644
--- a/app/serializers/license_serializer.rb
+++ b/app/serializers/license_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class LicenseSerializer < ActiveModel::Serializer
   cache key: 'license', expires_in: 24.hours
   attributes :id, :name, :description, :url, :image_url
diff --git a/app/serializers/mime_type_serializer.rb b/app/serializers/mime_type_serializer.rb
index a82cd49fd93144dc53f5e3d5f3b926769ff51b0a..85f69589171caaa82351cf4449bf2bc1dfa34269 100644
--- a/app/serializers/mime_type_serializer.rb
+++ b/app/serializers/mime_type_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class MimeTypeSerializer < ActiveModel::Serializer
   cache key: 'mime_type', expires_in: 24.hours
   attributes :id, :extension, :mime_type
diff --git a/app/serializers/object_type_serializer.rb b/app/serializers/object_type_serializer.rb
index 91561d0a2a26ca65e1108fc3431a2fec0cfbc5bb..4264a6ac49083229b2e95cc6b5c07c6236e135d1 100644
--- a/app/serializers/object_type_serializer.rb
+++ b/app/serializers/object_type_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ObjectTypeSerializer < ActiveModel::Serializer
   cache key: 'object_type', expires_in: 24.hours
   attributes :id, :name
diff --git a/app/serializers/paper_trail/version_serializer.rb b/app/serializers/paper_trail/version_serializer.rb
index 4bde8cb97d1afaa9a04276fa228b87de68af9c92..7b397a68d04d92379a3fd2e826e4b268b4d7272e 100644
--- a/app/serializers/paper_trail/version_serializer.rb
+++ b/app/serializers/paper_trail/version_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class PaperTrail::VersionSerializer < ActiveModel::Serializer
   cache key: 'papertrail_version', expires_in: 24.hours
   attributes :id, :item, :event, :whodunnit, :created_at, :object
diff --git a/app/serializers/public_activity/activity_serializer.rb b/app/serializers/public_activity/activity_serializer.rb
index 107b5298364d7795bd6a8d42f4f6e3d7a3012edf..e1c4a730ad48d191e569d5a78720609bafcdd9dd 100644
--- a/app/serializers/public_activity/activity_serializer.rb
+++ b/app/serializers/public_activity/activity_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class PublicActivity::ActivitySerializer < ActiveModel::Serializer
   def activity
     object.key
diff --git a/app/serializers/rate_serializer.rb b/app/serializers/rate_serializer.rb
index db65de638a4828c24cdd7d1438308649dfe2093f..1c645dfe75f8671fee43504052e2cfc509d759e2 100644
--- a/app/serializers/rate_serializer.rb
+++ b/app/serializers/rate_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class RateSerializer < ActiveModel::Serializer
   cache key: 'rate', expires_in: 24.hours
   attributes :id, :approves, :user, :review, :created_at, :updated_at
diff --git a/app/serializers/review_rating_serializer.rb b/app/serializers/review_rating_serializer.rb
index 033bf6aed868ab7dc217aac724a1b8bb66ff5161..a54f11c4a74e4df94aed97d505658a7105015f32 100644
--- a/app/serializers/review_rating_serializer.rb
+++ b/app/serializers/review_rating_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ReviewRatingSerializer < ActiveModel::Serializer
   cache key: 'review_rating', expires_in: 24.hours
 
diff --git a/app/serializers/review_serializer.rb b/app/serializers/review_serializer.rb
index 22ecf92e7ea18dfcecdfc0f1e5144f5c261be9fe..fc6322b7a57ee0192fea139e31d2d8cd3086e65b 100644
--- a/app/serializers/review_serializer.rb
+++ b/app/serializers/review_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ReviewSerializer < ActiveModel::Serializer
   cache key: 'review', expires_in: 24.hours
 
diff --git a/app/serializers/role_serializer.rb b/app/serializers/role_serializer.rb
index e33a40eb42e42995031f2ad8da54d3f4d932fc45..238666f9cb7789f149f8b2bbfbbb9daf81bb6242 100644
--- a/app/serializers/role_serializer.rb
+++ b/app/serializers/role_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class RoleSerializer < ActiveModel::Serializer
   cache key: 'role', expires_in: 24.hours
   attributes :id, :name, :description
diff --git a/app/serializers/score_serializer.rb b/app/serializers/score_serializer.rb
index 5b4383c534f7c3d768df0853911769f44c9f4f29..ff87b2d9d5f17f98f8051f88855f2f9e7420cb6f 100644
--- a/app/serializers/score_serializer.rb
+++ b/app/serializers/score_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ScoreSerializer < ActiveModel::Serializer
   cache key: 'score', expires_in: 24.hours
   attributes :id, :name, :created_at, :updated_at, :code, :weight, :active, :score_type
diff --git a/app/serializers/suggestion_serializer.rb b/app/serializers/suggestion_serializer.rb
index d362e9188490676375e1dd6c42fab9cc3d0fe885..43a08a97eb10b6c909498e3c490f1b859af2cfeb 100644
--- a/app/serializers/suggestion_serializer.rb
+++ b/app/serializers/suggestion_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class SuggestionSerializer < ActiveModel::Serializer
   attributes :id, :name, :link, :description, :status
 end
diff --git a/app/serializers/tag_serializer.rb b/app/serializers/tag_serializer.rb
index 705ceb0e0454d8369df830aea626bd976d047c1d..2aa280d08088d1fa38326cd44dbb9260fad3bcab 100644
--- a/app/serializers/tag_serializer.rb
+++ b/app/serializers/tag_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class TagSerializer < ActiveModel::Serializer
   cache key: 'tag', expires_in: 24.hours
   attributes :id, :name, :created_at, :updated_at
diff --git a/app/serializers/user_devise_serializer.rb b/app/serializers/user_devise_serializer.rb
index c2547fc4439fcb49e506e61132764de9fe30b905..ba5c76afae9d726dfa8b84e3576a1196b882ffc7 100644
--- a/app/serializers/user_devise_serializer.rb
+++ b/app/serializers/user_devise_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class UserDeviseSerializer < ActiveModel::Serializer
   
   def avatar_file_name
diff --git a/app/serializers/user_serializer.rb b/app/serializers/user_serializer.rb
index 8a840883fb6e311d21280abf4e0a81735a26cd22..aeda4fdd91a0a512398f8239eaa3d89ffd0a01fb 100644
--- a/app/serializers/user_serializer.rb
+++ b/app/serializers/user_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class UserSerializer < ActiveModel::Serializer
   cache key: 'user', expires_in: 4.hours, except: [ :complained, :followed ]
 
diff --git a/app/services/activities_filter_service.rb b/app/services/activities_filter_service.rb
index b12585b5aab2296d05b3ffcad1517033d7ac23f2..99c8b54ad74acc4ce40f3bd6fafc7e696fe6ca32 100644
--- a/app/services/activities_filter_service.rb
+++ b/app/services/activities_filter_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module ActivitiesFilterService
 
   def activities_filtered
diff --git a/app/services/application_creation_service.rb b/app/services/application_creation_service.rb
index efec804807567c0488a5a3f34b0b41dc1ffe8089..7d74da17a3e3d4414814ed0cd0c873d708fd2818 100644
--- a/app/services/application_creation_service.rb
+++ b/app/services/application_creation_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ApplicationCreationService
 
   def initialize(app_id_generate_service)
diff --git a/app/services/applications/app_id_generate_service.rb b/app/services/applications/app_id_generate_service.rb
index 8b3fd08c8c61091b07a519e4660e55ad35630f79..62cf3de4cf52b47dc3335708d2ce5764a349f48a 100644
--- a/app/services/applications/app_id_generate_service.rb
+++ b/app/services/applications/app_id_generate_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'securerandom'
 
 module Applications
diff --git a/app/services/attachment_cache_service.rb b/app/services/attachment_cache_service.rb
index cbd73a81acdc218fc675b39094afec35b8d8e3c6..50c54f7948d1e401b2cbecfe86096c7f4dc3e16f 100644
--- a/app/services/attachment_cache_service.rb
+++ b/app/services/attachment_cache_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AttachmentCacheService
   def initialize(attachment)
     @attachment = attachment
diff --git a/app/services/dspace/attachment_mapper.rb b/app/services/dspace/attachment_mapper.rb
index 36995ccd57a3cecf8785c01e439c66376b1104f9..8b95413dfdec8c995d62839b13d92a15b7aae4ac 100644
--- a/app/services/dspace/attachment_mapper.rb
+++ b/app/services/dspace/attachment_mapper.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class Dspace::AttachmentMapper
 
   ##Map Dspace::Bitstream to Attachment model compatible hash
diff --git a/app/services/dspace/learning_object_importer.rb b/app/services/dspace/learning_object_importer.rb
index d57517435ea68215d04f1ca0ff4542088f174b67..1031196614c5063d63938a139ae0e6b19cc15cf4 100644
--- a/app/services/dspace/learning_object_importer.rb
+++ b/app/services/dspace/learning_object_importer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class Dspace::LearningObjectImporter
 
   def initialize(items)
diff --git a/app/services/dspace_service.rb b/app/services/dspace_service.rb
index 9943e36a1ecf29cc6da48e761043e9a75bc61ea2..38da88c9a135cec15aed8ddcd2bb684477ab8fc9 100644
--- a/app/services/dspace_service.rb
+++ b/app/services/dspace_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'dspace'
 
 class DspaceService
diff --git a/app/services/feedback_service.rb b/app/services/feedback_service.rb
index 8e3a21612fd24faeba5f2e961ee054e76f88abd8..14ad06f36ee85d8a5152cc6c316e56a751319e56 100644
--- a/app/services/feedback_service.rb
+++ b/app/services/feedback_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ##
 # The Feedback service abstract two actions: report_bug, that delegates behavior for a BugReporter service; and send_feedback, that stores a user review of the system.
 class FeedbackService
diff --git a/app/services/gitlab_bugreporter_service.rb b/app/services/gitlab_bugreporter_service.rb
index 43200a0e4915673c6c66008516d67ac5a8eecf5b..52b4a0e5ccd9b544c5bcb262c1e89c3b19571bfa 100644
--- a/app/services/gitlab_bugreporter_service.rb
+++ b/app/services/gitlab_bugreporter_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ##
 # This service represents the Gitlab Bug Reporter
 #  The client can report a bug, that will be created an issue for PortalMEC project.
diff --git a/app/services/institution_importer.rb b/app/services/institution_importer.rb
index d10efddd96edda92271ab39d1cd3ef9267c49088..e83588ab97866fa7cfa0708d2c796436a32c022e 100644
--- a/app/services/institution_importer.rb
+++ b/app/services/institution_importer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class InstitutionImporter
 
   attr_accessor :items
diff --git a/app/services/learning_object_publisher.rb b/app/services/learning_object_publisher.rb
index c646d533d02bff320b1eafd62ef93c0be62a960f..5b4554333f16e0b4d83fba9401fdca7b891829f4 100644
--- a/app/services/learning_object_publisher.rb
+++ b/app/services/learning_object_publisher.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'dspace'
 
 class LearningObjectPublisher
diff --git a/app/services/package_service.rb b/app/services/package_service.rb
index 12928d0ad0c1b7bc1f6a38506de0c25de22247c3..94032fe6db1e354cb20e190b5d6d74e2b22af5e7 100644
--- a/app/services/package_service.rb
+++ b/app/services/package_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module PackageService
   def self.link(objects)
     Link.new(objects).link
diff --git a/app/services/package_service/generator.rb b/app/services/package_service/generator.rb
index 330bc58c7abcc50429c8f747f9fbef69c738694e..adfdaa29a68c7d60520f379d6cfcefb3c720839d 100644
--- a/app/services/package_service/generator.rb
+++ b/app/services/package_service/generator.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module PackageService
   class Generator
 
diff --git a/app/services/package_service/link.rb b/app/services/package_service/link.rb
index 433aeab02c7cf7e81baecc7e54710959edac6ad9..9ad34857a5e6184099f2e6032d9d313a1c0c3614 100644
--- a/app/services/package_service/link.rb
+++ b/app/services/package_service/link.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module PackageService
   class Link
     def initialize(objects)
diff --git a/app/services/reviews/create_review_service.rb b/app/services/reviews/create_review_service.rb
index 3e4c5ab724898e6aaa2372fee7d1a774206884c5..3c21f16fdb33324c2b43c7efa0af3e3b3a4393f1 100644
--- a/app/services/reviews/create_review_service.rb
+++ b/app/services/reviews/create_review_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class Reviews::CreateReviewService
 
   def execute(review, rates = [])
diff --git a/app/services/safe_object_type_destroy_service.rb b/app/services/safe_object_type_destroy_service.rb
index ab0bb89a4287e84c0b185d79eb001629b2158d42..e73eefe28a3c48c2d224f3f26b76ab216f80c14d 100644
--- a/app/services/safe_object_type_destroy_service.rb
+++ b/app/services/safe_object_type_destroy_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class SafeObjectTypeDestroyService
 
   def self.execute(object_type)
diff --git a/app/services/sanitization_service.rb b/app/services/sanitization_service.rb
index abb3200698f90191b6ff5e841dd0ff31b0158ed0..69504f3c53dbd5c409121186669e5a7eb6ca224c 100644
--- a/app/services/sanitization_service.rb
+++ b/app/services/sanitization_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module SanitizationService
   def self.filename(name)
     name.strip!
diff --git a/app/services/score_calculator_service.rb b/app/services/score_calculator_service.rb
index 7cfe477976fe925b08fa9edfd3a46997a25a8791..7f1391c460fd1894302996834c79be309a86cd16 100644
--- a/app/services/score_calculator_service.rb
+++ b/app/services/score_calculator_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ScoreCalculatorService
   def initialize(object)
     @object = object
diff --git a/app/services/search_service.rb b/app/services/search_service.rb
index f66d9a2ba8b1b4c79a80b3a29bf7ed2fc3182bea..3dfa8870f67bea3e9d1b7dde992fbc5ab3daaec1 100644
--- a/app/services/search_service.rb
+++ b/app/services/search_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module SearchService
   SEARCH_CLASSES = %w(LearningObject Collection User).freeze
 
diff --git a/app/services/search_service/collection.rb b/app/services/search_service/collection.rb
index a66407af69bdd841364fda3bacc41a781dce315b..c312d01a97a0c6f11a92e865620a5071585b57c3 100644
--- a/app/services/search_service/collection.rb
+++ b/app/services/search_service/collection.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module SearchService
   class Collection < Model
     def search
diff --git a/app/services/search_service/learning_object.rb b/app/services/search_service/learning_object.rb
index 6ae89d3edc218c5ca370797e83f8b418e93a1df7..a3700cfb641943c021f2586b0ffc1877f8d613df 100644
--- a/app/services/search_service/learning_object.rb
+++ b/app/services/search_service/learning_object.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module SearchService
   class LearningObject < Model
     def search
diff --git a/app/services/search_service/model.rb b/app/services/search_service/model.rb
index 20ca0ad586e5db35ee5a5cd70104b7818403076c..cd2babadff2f2706b1263b6badc690b53e999927 100644
--- a/app/services/search_service/model.rb
+++ b/app/services/search_service/model.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module SearchService
   class Model
     def initialize(search, user)
diff --git a/app/services/search_service/user.rb b/app/services/search_service/user.rb
index 03898bdc3ac84c6c30bbc046843abb86b34deb45..9c56994caa753138b43fc6b589488462b81bb11f 100644
--- a/app/services/search_service/user.rb
+++ b/app/services/search_service/user.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module SearchService
   class User < Model
     def search
diff --git a/app/services/tags_importer.rb b/app/services/tags_importer.rb
index 49c4179199f583849decd11a69bfb68b1dc0cacc..f6e821def415762519524cedb469258d0dec1736 100644
--- a/app/services/tags_importer.rb
+++ b/app/services/tags_importer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class TagsImporter
   attr_accessor :items
 
diff --git a/app/services/thumbnail_service.rb b/app/services/thumbnail_service.rb
index 4c919aa5b2b46da2ce1f75ddcac0bd3c3e823f22..c9ee20696cc73fa11f331f611a9c521a63f98dee 100644
--- a/app/services/thumbnail_service.rb
+++ b/app/services/thumbnail_service.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ThumbnailService
 
   def initialize(strategies = [])
diff --git a/app/workers/attachment_cache_worker.rb b/app/workers/attachment_cache_worker.rb
index 5e8bb82d87587fa994e28a5faada9e5a57603d9e..5333d5acc83581a4d7c94aef0d6a3cdd5446f459 100644
--- a/app/workers/attachment_cache_worker.rb
+++ b/app/workers/attachment_cache_worker.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AttachmentCacheWorker
   include Sidekiq::Worker
 
diff --git a/app/workers/bitstream_mime_worker.rb b/app/workers/bitstream_mime_worker.rb
index 3daaf4fb722e28dbf3fdbf2a12847816100f9a65..7c50b8092d28c058a807ba2f41c5ecadcff9a730 100644
--- a/app/workers/bitstream_mime_worker.rb
+++ b/app/workers/bitstream_mime_worker.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class BitstreamMimeWorker
   include Sidekiq::Worker
 
diff --git a/app/workers/convert_video_worker.rb b/app/workers/convert_video_worker.rb
index 6dc44a5901cc55a33cfd7bb10213ae9007451894..ca21419e0690fbf068c82cafabcf85464cbf22ab 100644
--- a/app/workers/convert_video_worker.rb
+++ b/app/workers/convert_video_worker.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ConvertVideoWorker
   include Sidekiq::Worker
 
diff --git a/app/workers/delete_bitstream_worker.rb b/app/workers/delete_bitstream_worker.rb
index b19d59654894af46f56166bd95dfab936862808f..dac88596137f0525a6a4dd5f4281542b00aed330 100644
--- a/app/workers/delete_bitstream_worker.rb
+++ b/app/workers/delete_bitstream_worker.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require_dependency 'dspace'
 
 class DeleteBitstreamWorker
diff --git a/app/workers/dspace_upload_worker.rb b/app/workers/dspace_upload_worker.rb
index e7f64b155402897ef6ac04cdf5a293cbc03cefdf..7913bb6b142e54205c738061bfc5b443a66ae7ac 100644
--- a/app/workers/dspace_upload_worker.rb
+++ b/app/workers/dspace_upload_worker.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require_dependency 'dspace'
 
 class DspaceUploadWorker
diff --git a/app/workers/package_worker.rb b/app/workers/package_worker.rb
index 427166f4705152b8cbb99a5b9afc59ac56008300..20a2fd34b9e9a7c5ef3615d4291c8f08308c48f3 100644
--- a/app/workers/package_worker.rb
+++ b/app/workers/package_worker.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require_dependency 'dspace'
 require 'rails'
 class PackageWorker
diff --git a/app/workers/review_average_calculator_worker.rb b/app/workers/review_average_calculator_worker.rb
index e86b1153672ed6468a111b247453efc97678a614..3c5c4c225f73bc5290d3cf5a8574d7a6fcd0d13c 100644
--- a/app/workers/review_average_calculator_worker.rb
+++ b/app/workers/review_average_calculator_worker.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ReviewAverageCalculatorWorker
   include Sidekiq::Worker
   sidekiq_options queue: :review
diff --git a/app/workers/score_calculator_worker.rb b/app/workers/score_calculator_worker.rb
index 50aaf69353cd0cf9c5241bd4792b95c6bdc9335d..98dd83152732dc0fb2904cd8f3c4aa89ef136155 100644
--- a/app/workers/score_calculator_worker.rb
+++ b/app/workers/score_calculator_worker.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ScoreCalculatorWorker
   include Sidekiq::Worker
   sidekiq_options queue: :score
diff --git a/app/workers/thumbnail_generate_worker.rb b/app/workers/thumbnail_generate_worker.rb
index ea06727e5454626d31490ef217d995a0b100775d..331ce57d1afe87035d0dcba80b6cf10ff8e2eb84 100644
--- a/app/workers/thumbnail_generate_worker.rb
+++ b/app/workers/thumbnail_generate_worker.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ThumbnailGenerateWorker
   include Sidekiq::Worker
 
diff --git a/config.ru b/config.ru
index bd83b25412305f93fdb0a892aded30e5178899ba..5342711503c9809ebdaae2d26d5ba3acb1c63aff 100644
--- a/config.ru
+++ b/config.ru
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # This file is used by Rack-based servers to start the application.
 
 require ::File.expand_path('../config/environment', __FILE__)
diff --git a/config/application.rb b/config/application.rb
index 0289ffbb61bf81d22e5059440593ab863f4b9b3e..a60586938948bea3cdc6ae5aed721700034739a6 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require_relative 'boot'
 
 require 'rails'
diff --git a/config/boot.rb b/config/boot.rb
index 30f5120df6986349c532c8ece3c170726118a703..f56eeb9241200f5a1f4c72f57a488c838b3b717b 100644
--- a/config/boot.rb
+++ b/config/boot.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
 
 require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/config/cable.yml b/config/cable.yml
index 0bbde6f74fe1216e2e76c2cac2e8a5901b2107b0..f6556a1430be5b99f1ebaf840ee59618967814e2 100644
--- a/config/cable.yml
+++ b/config/cable.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 development:
   adapter: async
 
diff --git a/config/deploy.rb b/config/deploy.rb
index 7322170f505353b05ae2f2616238ea7dcc43c06a..b6cfa25a21f89537a5d088adf3fa52b00e7181ab 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'mina/bundler'
 require 'mina/rails'
 require 'mina/git'
diff --git a/config/docker/database.yml b/config/docker/database.yml
index 9698fdbf7ea210284fe421ad2aaa2cc091528254..5851a95c0069f21ff528a6243d3549d60039f6b2 100644
--- a/config/docker/database.yml
+++ b/config/docker/database.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 default: &defaults
   adapter: postgresql
   encoding: unicode
diff --git a/config/docker/sidekiq.yml b/config/docker/sidekiq.yml
index 9b3e3c8ec1a39623d3d4c2895374f804d1cdec4d..44d190958f7fcaf2ad9f75e8dc82a088750cd487 100644
--- a/config/docker/sidekiq.yml
+++ b/config/docker/sidekiq.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 #
 # IMPORTANT:
 # If you plan to run workers on different machines, use the full hostname,
diff --git a/config/dspace.yml b/config/dspace.yml
index c637885bc37593ea8fbfcd6466cf9991c11d5723..1fb7991e6a22410845d89e616104ee269d931513 100644
--- a/config/dspace.yml
+++ b/config/dspace.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 development:
   host: mecdb3.c3sl.ufpr.br
   port: 8443
diff --git a/config/env_vars.sh b/config/env_vars.sh
index bae8a98866d0db262d9d9c31976c75c08ac0274c..ee42a44d26a21e3b47c424325d104da6df500672 100644
--- a/config/env_vars.sh
+++ b/config/env_vars.sh
@@ -1,4 +1,23 @@
 #!/bin/bash
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 export SECRET_TOKEN=$(rake secret)
 export SECRET_KEY_BASE=$(rake secret)
 
diff --git a/config/environment.rb b/config/environment.rb
index 426333bb46978d897be4cc6fac77b9fcaacf59d0..41ac408095fb6923318a27137910a50955125bd5 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Load the Rails application.
 require_relative 'application'
 
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 9a835b03ca5ee8d11c8df3056ae2650ebfcfca35..692e9bd414be07a7850b10f578dd7ca728c1cbfb 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Rails.application.configure do
   # Settings specified here will take precedence over those in config/application.rb.
 
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 25fb84be81036125a093ed3bedf35da1a726d446..b1be052351a538d043de7b74ebb5ec615f05ce30 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Rails.application.configure do
   # Settings specified here will take precedence over those in config/application.rb.
 
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 3608246974a70de5168b7b400cbd6dabd269dc69..8bf5368134515659496f5e0cd318abaae063b33b 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Rails.application.configure do
   # Settings specified here will take precedence over those in config/application.rb.
 
diff --git a/config/feature.yml b/config/feature.yml
index 96a072cd02ffc073d840c86c48db02f88cce0a98..e38fdd0a141b3fc4a4b88708c2479b01c85df1d1 100644
--- a/config/feature.yml
+++ b/config/feature.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 development:
   features:
     allow_client_application: false
diff --git a/config/initializers/active_record_belongs_to_required_by_default.rb b/config/initializers/active_record_belongs_to_required_by_default.rb
index 6ee4b37e325c794dbb5b8d2346e762b51e5f96f7..8451cbdfc2d8b0204b7818c43ef2a7a5bb6d3eb4 100644
--- a/config/initializers/active_record_belongs_to_required_by_default.rb
+++ b/config/initializers/active_record_belongs_to_required_by_default.rb
@@ -1 +1,20 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Rails.application.config.active_record.belongs_to_required_by_default = true
diff --git a/config/initializers/application_controller_renderer.rb b/config/initializers/application_controller_renderer.rb
index 51639b67a00ddba973a92d59ec277f5d97b63ef6..ee42e81bfe35646c59625233277ebb5eefba209b 100644
--- a/config/initializers/application_controller_renderer.rb
+++ b/config/initializers/application_controller_renderer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 
 # ApplicationController.renderer.defaults.merge!(
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
index ff2d2299abf9395fec6df2f5dd32c546e2b7c149..e481b99d5c359b282e66dc75e6801ea5b3dd92ff 100644
--- a/config/initializers/assets.rb
+++ b/config/initializers/assets.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 
 # Version of your assets, change this if you want to expire all your assets.
diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb
index 59385cdf379bd06a8d2326dcd4de6d5cd5d3f5b0..1a23a3e5c3a02651ad12a3816757df4242379300 100644
--- a/config/initializers/backtrace_silencers.rb
+++ b/config/initializers/backtrace_silencers.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 
 # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
diff --git a/config/initializers/callback_terminator.rb b/config/initializers/callback_terminator.rb
index de64962d233bd83f073edec5488cfaeee586362e..15c47256e3d78b4f9044b0ddafae0d7da8bdcecf 100644
--- a/config/initializers/callback_terminator.rb
+++ b/config/initializers/callback_terminator.rb
@@ -1 +1,20 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ActiveSupport.halt_callback_chains_on_return_false = false
diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb
index 1389e86a34a7e992b8761b4b2b9b789b5647a406..ee47a2190fe02b0722aa423a8d9882520fe8a5da 100644
--- a/config/initializers/cookies_serializer.rb
+++ b/config/initializers/cookies_serializer.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 
 # Specify a serializer for the signed and encrypted cookie jars.
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index 7a19e1847ac269e51b7433fa87ab2e73f2ea9008..cfc6ce62b5514cb7ffc0ce84d711ccf21613e7b3 100644
--- a/config/initializers/devise.rb
+++ b/config/initializers/devise.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Use this hook to configure devise mailer, warden hooks and so forth.
 # Many of these configuration options can be set straight in your model.
 Devise.setup do |config|
diff --git a/config/initializers/devise_token_auth.rb b/config/initializers/devise_token_auth.rb
index cbc318d552a1826848e40c28fed4baa2fbb1f3bd..c8458243e9ee2054df085bf7df36c0f465d16fbc 100644
--- a/config/initializers/devise_token_auth.rb
+++ b/config/initializers/devise_token_auth.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 DeviseTokenAuth.setup do |config|
   # By default the authorization headers will change after each request. The
   # client is responsible for keeping track of the changing tokens. Change
diff --git a/config/initializers/eager_load.rb b/config/initializers/eager_load.rb
index fdc103ee0694beac6e4a5cec2b9934e7980dbfac..ef15c6e4573b27da6266b2b263d057dd9db31f5c 100644
--- a/config/initializers/eager_load.rb
+++ b/config/initializers/eager_load.rb
@@ -1 +1,20 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Rails.application.eager_load! unless Rails.env.test?
diff --git a/config/initializers/elasticsearch.rb b/config/initializers/elasticsearch.rb
index e591a06b27196300668419e7f35019e6aef8f257..7f76e7fb5b80f14f4dafe1bb10cf554c709ded84 100644
--- a/config/initializers/elasticsearch.rb
+++ b/config/initializers/elasticsearch.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Searchkick.client =
     Elasticsearch::Client.new(
         url: 'localhost:9200',
diff --git a/config/initializers/feature.rb b/config/initializers/feature.rb
index 7b7ca605f45ae32cfef038ebbcbd207cf764c151..f132f81a319013c48fe6647e37490cf89ef2aad7 100644
--- a/config/initializers/feature.rb
+++ b/config/initializers/feature.rb
@@ -1 +1,20 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Feature.set_repository Feature::Repository::YamlRepository.new("#{Rails.root}/config/feature.yml", Rails.env)
\ No newline at end of file
diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb
index 4a994e1e7bb7ce28dcec98bad48b9a891d7dec51..577a8187d30caeb1c0350766bf9c1fb93813c50c 100644
--- a/config/initializers/filter_parameter_logging.rb
+++ b/config/initializers/filter_parameter_logging.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 
 # Configure sensitive parameters which will be filtered from the log file.
diff --git a/config/initializers/gitlab.rb b/config/initializers/gitlab.rb
index 2d43fcef01585eca10937bd984b37f7c1360a5bf..c6becf23fbc6bd8a5125539f57f13e70d46d3728 100644
--- a/config/initializers/gitlab.rb
+++ b/config/initializers/gitlab.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Gitlab.configure do |config|
   config.endpoint       = 'https://gitlab.c3sl.ufpr.br/api/v3'
   config.private_token  = ENV['GITLAB_PORTALMEC_PRIVATE_TOKEN']
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb
index ac033bf9dc846101320c96a5ce8aceb8c96ec098..4e5aba270b75036954c626929812934ddee7ac7f 100644
--- a/config/initializers/inflections.rb
+++ b/config/initializers/inflections.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 
 # Add new inflection rules using the following format. Inflections
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb
index dc1899682b01c3a6d9673faf746e235fb64fc4d2..2c2c531a7c5ce1bf13ac39423653379d67bfd7c0 100644
--- a/config/initializers/mime_types.rb
+++ b/config/initializers/mime_types.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 
 # Add new mime types for use in respond_to blocks:
diff --git a/config/initializers/new_framework_defaults.rb b/config/initializers/new_framework_defaults.rb
index 9c24995941304ae513f4c1a8e74037cd54eb5030..1202fa9d27fadfd39a0f17a3b174edbe4b8156d0 100644
--- a/config/initializers/new_framework_defaults.rb
+++ b/config/initializers/new_framework_defaults.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 #
 # This file contains migration options to ease your Rails 5.0 upgrade.
diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb
index 1ed6c505fd34e364209e98ed848648c6a99bb98e..64f5e0105c5d1dfe7b7918a54a864081623b2500 100644
--- a/config/initializers/omniauth.rb
+++ b/config/initializers/omniauth.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Rails.application.config.middleware.use OmniAuth::Builder do
   provider :twitter, ENV['TWITTER_KEY'], ENV['TWITTER_SECRET']
   provider :facebook,      ENV['FACEBOOK_KEY'], ENV['FACEBOOK_SECRET'], secure_image_url: true
diff --git a/config/initializers/paper_trail.rb b/config/initializers/paper_trail.rb
index 442b5f789ce70fcc93ffac5ab211d24668919884..a89d9211233db2abd53f4bc085de5d419994f9c3 100644
--- a/config/initializers/paper_trail.rb
+++ b/config/initializers/paper_trail.rb
@@ -1 +1,20 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 PaperTrail.config.track_associations = false
\ No newline at end of file
diff --git a/config/initializers/postgresql_database_tasks.rb b/config/initializers/postgresql_database_tasks.rb
index 8883701bb0fa4edae03e428f3b276ac8ffe701a9..192d73e0928bf7ae17e95b216d8f9392158559dd 100644
--- a/config/initializers/postgresql_database_tasks.rb
+++ b/config/initializers/postgresql_database_tasks.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module ActiveRecord
   module Tasks
     class PostgreSQLDatabaseTasks
diff --git a/config/initializers/rack-attack.rb b/config/initializers/rack-attack.rb
index 7310dbe4d8659c3e95168ee06233303b4de1284e..2b1b053be6a6645a0bed52307ba88b59565aeac0 100644
--- a/config/initializers/rack-attack.rb
+++ b/config/initializers/rack-attack.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class Rack::Attack
   ### Configure Cache ###
 
diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb
index 9c1c1695cbf30810f348b09e2507c4f344f5aecb..c7f59a442e9ebb948fb82cb68a2e6165854b2b74 100644
--- a/config/initializers/session_store.rb
+++ b/config/initializers/session_store.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 
 # Rails.application.config.session_store :cookie_store, key: '_portalmec_session'
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb
index 56cb1b72c15b432f64082c661bca4491209e810a..f6fd51257294d1a36fb4cd5f6dce846533731aeb 100644
--- a/config/initializers/sidekiq.rb
+++ b/config/initializers/sidekiq.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 url = ENV['REDIS_HOST']
 
 if url.nil?
diff --git a/config/initializers/wrap_parameters.rb b/config/initializers/wrap_parameters.rb
index bbfc3961bffef15dabb35fe0de4c409d6efb58c5..3cec59d1fbd6eee59579d205204b3d0a5ee4c068 100644
--- a/config/initializers/wrap_parameters.rb
+++ b/config/initializers/wrap_parameters.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 
 # This file contains settings for ActionController::ParamsWrapper which
diff --git a/config/locales/activerecord.pt-BR.yml b/config/locales/activerecord.pt-BR.yml
index 5113bb00e7a42ef9c9aa959e68b64f207ce190be..434d30c8e6e333c1b63d4dc1a83667db9a319c4e 100644
--- a/config/locales/activerecord.pt-BR.yml
+++ b/config/locales/activerecord.pt-BR.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # source (2016/11/25): https://raw.githubusercontent.com/svenfuchs/rails-i18n/master/rails/locale/pt-BR.yml
 pt-BR:
   activerecord:
diff --git a/config/locales/devise.en.yml b/config/locales/devise.en.yml
index 26a10f2928650287cb5095a9aab374c3b421ebc2..6089bf7b87438704c768994985203674a6fad394 100644
--- a/config/locales/devise.en.yml
+++ b/config/locales/devise.en.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Additional translations at https://github.com/plataformatec/devise/wiki/I18n
 
 en:
diff --git a/config/locales/devise.pt-BR.yml b/config/locales/devise.pt-BR.yml
index 0119d44003759f9a98ef0e619c73cdb08e8109ef..cfe52c1c6908f1bfb5cd1253f3d2f0924e5abf2f 100644
--- a/config/locales/devise.pt-BR.yml
+++ b/config/locales/devise.pt-BR.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Additional translations at https://github.com/plataformatec/devise/wiki/I18n
 
 # Utilize-o em 'config/locales/', com o nome de 'devise.pt-BR.yml'.
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 0653957166e8182880bb87b56e36c257c988dd92..66b4b0fc966c2ffda9635b7cb536d1c140deae5d 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Files in the config/locales directory are used for internationalization
 # and are automatically loaded by Rails. If you want to use locales other
 # than English, add the necessary files in this directory.
diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml
index 39a28047ac133912bd5ed7ea69fef6fae009dd32..b58b7cafde9cf583ef196b72e9ab3aed4ecd3d8d 100644
--- a/config/locales/pt-BR.yml
+++ b/config/locales/pt-BR.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 pt-BR:
   activerecord:
     models:
diff --git a/config/puma.rb b/config/puma.rb
index f4d68e83b504561802ce45097477d7998800fcd3..53f7ee7ad1af89feec505b6e943ffe3e7dc0c92e 100644
--- a/config/puma.rb
+++ b/config/puma.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Puma can serve each request in a thread from an internal thread pool.
 # The `threads` method setting takes two numbers a minimum and maximum.
 # Any libraries that use thread pools should be configured to match
diff --git a/config/routes.rb b/config/routes.rb
index 2ef9a747bce42a72c79b623e5ba1d374077703ee..4be4bc61253723249c0416e1b6beb9ce464b1e81 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Rails.application.routes.draw do
 
   # require 'sidekiq/web'
diff --git a/config/schedule.rb b/config/schedule.rb
index 286554bd2d673cb688a4e201871a2882f050e20a..510a0b6006c9095a95fd4808c51a6d9febd88ad7 100644
--- a/config/schedule.rb
+++ b/config/schedule.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Use this file to easily define all of your cron jobs.
 #
 # It's helpful, but not entirely necessary to understand cron before proceeding.
diff --git a/config/secrets.yml b/config/secrets.yml
index 423e8835c91ce5f20a5986c4f9a0bff7c25a6021..54ab27ce6c449cecfb67120037f739aac1c38cda 100644
--- a/config/secrets.yml
+++ b/config/secrets.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Be sure to restart your server when you modify this file.
 
 # Your secret key is used for verifying the integrity of signed cookies.
diff --git a/config/sidekiq.yml b/config/sidekiq.yml
index d186d608c1009cd94de8b8a5b1c5b5ee865fdd78..9ee55b1361cf071b7720776dcf817848b22de5aa 100644
--- a/config/sidekiq.yml
+++ b/config/sidekiq.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 #
 # IMPORTANT:
 # If you plan to run workers on different machines, use the full hostname,
diff --git a/config/spring.rb b/config/spring.rb
index c9119b40c08eff8aef2d607f5bf42424483cbd15..463d784ff726a7623ca70ea4f4559cfbc3f9d78f 100644
--- a/config/spring.rb
+++ b/config/spring.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 %w(
   .ruby-version
   .rbenv-vars
diff --git a/db/migrate/20150731225848_devise_create_users.rb b/db/migrate/20150731225848_devise_create_users.rb
index 83d51c9422fccdf70ba669c52a114ef7da401364..3f42108dc8d9f7efc45e4ea38765db5ce4ec8402 100644
--- a/db/migrate/20150731225848_devise_create_users.rb
+++ b/db/migrate/20150731225848_devise_create_users.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class DeviseCreateUsers < ActiveRecord::Migration[4.2]
   def change
     create_table(:users) do |t|
diff --git a/db/migrate/20150828140933_devise_token_auth_create_users.rb b/db/migrate/20150828140933_devise_token_auth_create_users.rb
index 2f4967f0eea45f3041dcc876adbf63a8d7dd05ac..f07558864b23f2cf87349981dd330f15c1fa3a18 100644
--- a/db/migrate/20150828140933_devise_token_auth_create_users.rb
+++ b/db/migrate/20150828140933_devise_token_auth_create_users.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class DeviseTokenAuthCreateUsers < ActiveRecord::Migration[4.2]
   def change
     change_table(:users) do |t|
diff --git a/db/migrate/20150904134929_create_roles.rb b/db/migrate/20150904134929_create_roles.rb
index 4bd7601a08f7c1ef37bcca99dc4b665443d6f558..38e1e8b3bbc8463192e4e8b8646090978b875151 100644
--- a/db/migrate/20150904134929_create_roles.rb
+++ b/db/migrate/20150904134929_create_roles.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateRoles < ActiveRecord::Migration[4.2]
   def change
     create_table :roles do |t|
diff --git a/db/migrate/20150904141558_create_join_table_users_roles.rb b/db/migrate/20150904141558_create_join_table_users_roles.rb
index 6e7b71910b0efed0675a534dad9a4029dfa8a060..12b84fecb9a3a94494f174d301fa0628b0c38f21 100644
--- a/db/migrate/20150904141558_create_join_table_users_roles.rb
+++ b/db/migrate/20150904141558_create_join_table_users_roles.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateJoinTableUsersRoles < ActiveRecord::Migration[4.2]
   def change
     create_join_table :users, :roles do |t|
diff --git a/db/migrate/20150909135745_add_name_column_to_users.rb b/db/migrate/20150909135745_add_name_column_to_users.rb
index 215b114a43b54d01881ad20dd905b8e865265a8b..17adc4550a283b91d0007d8b3cd167b58a148bd4 100644
--- a/db/migrate/20150909135745_add_name_column_to_users.rb
+++ b/db/migrate/20150909135745_add_name_column_to_users.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddNameColumnToUsers < ActiveRecord::Migration[4.2]
   def change
     add_column :users, :name, :string
diff --git a/db/migrate/20150921132848_add_attachment_avatar_to_users.rb b/db/migrate/20150921132848_add_attachment_avatar_to_users.rb
index e27d8e9479d739db8c38f4e80ded74709c2aebae..d863c569252debff46f0fec73ffe892dcbd5cb87 100644
--- a/db/migrate/20150921132848_add_attachment_avatar_to_users.rb
+++ b/db/migrate/20150921132848_add_attachment_avatar_to_users.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddAttachmentAvatarToUsers < ActiveRecord::Migration[4.2]
   def self.up
     change_table :users do |t|
diff --git a/db/migrate/20150922141008_create_carousels.rb b/db/migrate/20150922141008_create_carousels.rb
index 934e785c7254df658e3445e4ad202ba15fe0d9cf..60131243c7cb729ba3da9e25e94cc0c590d7c7cf 100644
--- a/db/migrate/20150922141008_create_carousels.rb
+++ b/db/migrate/20150922141008_create_carousels.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateCarousels < ActiveRecord::Migration[4.2]
   def change
     create_table :carousels do |t|
diff --git a/db/migrate/20150922141009_add_image_column_to_carousels.rb b/db/migrate/20150922141009_add_image_column_to_carousels.rb
index 6e6854419c20cd33fd0443a9422f74f4ba3f20cf..87a8b18981604802c70403d47a7c9acb4cfdf154 100644
--- a/db/migrate/20150922141009_add_image_column_to_carousels.rb
+++ b/db/migrate/20150922141009_add_image_column_to_carousels.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddImageColumnToCarousels < ActiveRecord::Migration[4.2]
   def up
    add_attachment :carousels, :image
diff --git a/db/migrate/20160124114036_create_languages.rb b/db/migrate/20160124114036_create_languages.rb
index 96560f9accf9c062ac1a5fb28ae729614902c192..9afa02fd377516e15d549b06863a0b774a38890c 100644
--- a/db/migrate/20160124114036_create_languages.rb
+++ b/db/migrate/20160124114036_create_languages.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateLanguages < ActiveRecord::Migration[4.2]
   def change
     create_table :languages do |t|
diff --git a/db/migrate/20160124145100_create_object_types.rb b/db/migrate/20160124145100_create_object_types.rb
index 4c58920219d869ff1cede1221e058bb75b06daac..f5035bec44da766d9d2288d4a79a75d0084a01ee 100644
--- a/db/migrate/20160124145100_create_object_types.rb
+++ b/db/migrate/20160124145100_create_object_types.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateObjectTypes < ActiveRecord::Migration[4.2]
   def change
     create_table :object_types do |t|
diff --git a/db/migrate/20160125120915_create_learning_objects.rb b/db/migrate/20160125120915_create_learning_objects.rb
index fc3a3f5834ab6b66ab6ded2d4849b61609ce0925..59b9675ef5f6e2911e67421fde2687113e9da8bb 100644
--- a/db/migrate/20160125120915_create_learning_objects.rb
+++ b/db/migrate/20160125120915_create_learning_objects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateLearningObjects < ActiveRecord::Migration[4.2]
   def change
     create_table :learning_objects do |t|
diff --git a/db/migrate/20160125121603_create_topics.rb b/db/migrate/20160125121603_create_topics.rb
index f11f42e8e9f413b46f1b8181b21ba7da4d3b5dc5..e4bd1bcea4e97bb1f89b443a97386985921fee8d 100644
--- a/db/migrate/20160125121603_create_topics.rb
+++ b/db/migrate/20160125121603_create_topics.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateTopics < ActiveRecord::Migration[4.2]
   def change
     create_table :topics do |t|
diff --git a/db/migrate/20160125122642_learning_objects_topics.rb b/db/migrate/20160125122642_learning_objects_topics.rb
index 56011902589d0ec39d0d0caa7c1ef209fc130ae1..b910de1482a52bedc2f9979d8ae0b9da55f43c2a 100644
--- a/db/migrate/20160125122642_learning_objects_topics.rb
+++ b/db/migrate/20160125122642_learning_objects_topics.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class LearningObjectsTopics < ActiveRecord::Migration[4.2]
   def change
     create_table :learning_objects_topics do |t|
diff --git a/db/migrate/20160125122943_create_institutions.rb b/db/migrate/20160125122943_create_institutions.rb
index 1ffe207f9e7732b1dca5b56a53307f12a8cfd578..f5b5df47ee18a0009c44c8d486a2a6e46e0a75c8 100644
--- a/db/migrate/20160125122943_create_institutions.rb
+++ b/db/migrate/20160125122943_create_institutions.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateInstitutions < ActiveRecord::Migration[4.2]
   def change
     create_table :institutions do |t|
diff --git a/db/migrate/20160125123423_create_collections.rb b/db/migrate/20160125123423_create_collections.rb
index 83d4c921deb9006af7e3d6d94bbb5aff7e7e297a..974f2b8423d3897770e83c720567c3dd944d8912 100644
--- a/db/migrate/20160125123423_create_collections.rb
+++ b/db/migrate/20160125123423_create_collections.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateCollections < ActiveRecord::Migration[4.2]
   def change
     create_table :collections do |t|
diff --git a/db/migrate/20160125124125_institutions_users.rb b/db/migrate/20160125124125_institutions_users.rb
index 63cc19b5c8ff146a587f3bd6c8c16bda78dff3b2..d367589ce9109988df7f89c78b3c31461c34956e 100644
--- a/db/migrate/20160125124125_institutions_users.rb
+++ b/db/migrate/20160125124125_institutions_users.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class InstitutionsUsers < ActiveRecord::Migration[4.2]
   def change
     create_table :institutions_users do |t|
diff --git a/db/migrate/20160125124500_create_complaint_reasons.rb b/db/migrate/20160125124500_create_complaint_reasons.rb
index 87e5ee9bbfa871b16b3ae1014d4440206c5de37d..b6a04f5889bfb57e9232c10ff05d43b3ec073f97 100644
--- a/db/migrate/20160125124500_create_complaint_reasons.rb
+++ b/db/migrate/20160125124500_create_complaint_reasons.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateComplaintReasons < ActiveRecord::Migration[4.2]
   def change
     create_table :complaint_reasons do |t|
diff --git a/db/migrate/20160125124508_create_complaints.rb b/db/migrate/20160125124508_create_complaints.rb
index 48f108bb751ab044f2f73253a38e29840c011363..0cc1712b69f67dcece5f50d60a4773c7a73d5832 100644
--- a/db/migrate/20160125124508_create_complaints.rb
+++ b/db/migrate/20160125124508_create_complaints.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateComplaints < ActiveRecord::Migration[4.2]
   def change
     create_table :complaints do |t|
diff --git a/db/migrate/20160125132447_create_bookmarks.rb b/db/migrate/20160125132447_create_bookmarks.rb
index 47bc47fca8bbad865e3dae4ebd85ca0cb53694bc..2197cbbad7d83b5045f7b0c2ab5853d964cd921b 100644
--- a/db/migrate/20160125132447_create_bookmarks.rb
+++ b/db/migrate/20160125132447_create_bookmarks.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateBookmarks < ActiveRecord::Migration[4.2]
   def change
     create_table :bookmarks do |t|
diff --git a/db/migrate/20160127135807_create_reviews.rb b/db/migrate/20160127135807_create_reviews.rb
index 38989b87c84fdee467fc5e8f743b3cbb0bda3123..74917d662acd31d5c86b67edfff88d973bfc4263 100644
--- a/db/migrate/20160127135807_create_reviews.rb
+++ b/db/migrate/20160127135807_create_reviews.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateReviews < ActiveRecord::Migration[4.2]
   def change
     create_table :reviews do |t|
diff --git a/db/migrate/20160128115107_create_views.rb b/db/migrate/20160128115107_create_views.rb
index f0fb349f0acdada78db9fcb1fcbdc4c3870731e3..65593f7481a4a658bccd0308cb74cc9b26e5129b 100644
--- a/db/migrate/20160128115107_create_views.rb
+++ b/db/migrate/20160128115107_create_views.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateViews < ActiveRecord::Migration[4.2]
   def change
     create_table :views do |t|
diff --git a/db/migrate/20160128115428_create_downloads.rb b/db/migrate/20160128115428_create_downloads.rb
index 8f73ad90dc33e84daab4cdf6d741b61eef649ced..c0085dd0d91233ba4c3a1a18bfe90b654a8ee721 100644
--- a/db/migrate/20160128115428_create_downloads.rb
+++ b/db/migrate/20160128115428_create_downloads.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateDownloads < ActiveRecord::Migration[4.2]
   def change
     create_table :downloads do |t|
diff --git a/db/migrate/20160128115555_create_likes.rb b/db/migrate/20160128115555_create_likes.rb
index a24c4cce71fa35dec3267387e73b4b32f5e2b0f9..09880d69ffd2f347184a7a5350c53044971e776c 100644
--- a/db/migrate/20160128115555_create_likes.rb
+++ b/db/migrate/20160128115555_create_likes.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateLikes < ActiveRecord::Migration[4.2]
   def change
     create_table :likes do |t|
diff --git a/db/migrate/20160128115721_create_shares.rb b/db/migrate/20160128115721_create_shares.rb
index 37b2a7353adfff68878cb86efbc710ca24d2aadb..f35e08c06fc51288dc5ac6efe2d762e3d96dff44 100644
--- a/db/migrate/20160128115721_create_shares.rb
+++ b/db/migrate/20160128115721_create_shares.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateShares < ActiveRecord::Migration[4.2]
   def change
     create_table :shares do |t|
diff --git a/db/migrate/20160128122557_create_ratings.rb b/db/migrate/20160128122557_create_ratings.rb
index fe10b2100a7453af4a3267f93fef38618b88a40e..0e3c5a3b63c3fa3d079dc9221ad737d5775682a6 100644
--- a/db/migrate/20160128122557_create_ratings.rb
+++ b/db/migrate/20160128122557_create_ratings.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateRatings < ActiveRecord::Migration[4.2]
   def change
     create_table :ratings do |t|
diff --git a/db/migrate/20160128123028_create_review_ratings.rb b/db/migrate/20160128123028_create_review_ratings.rb
index e2923ed7fbdae3ed9511d57415972a5f84b69527..aaa382e35dfd2f28f6b03cc7f2ba265f2682a0d8 100644
--- a/db/migrate/20160128123028_create_review_ratings.rb
+++ b/db/migrate/20160128123028_create_review_ratings.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateReviewRatings < ActiveRecord::Migration[4.2]
   def change
     create_table :review_ratings do |t|
diff --git a/db/migrate/20160128123901_create_follows.rb b/db/migrate/20160128123901_create_follows.rb
index f26daef59c40f134dcb485831d8ab1a5dbc10aae..32cb6bdb08b48668684df551df7ce27fa2ac9e1c 100644
--- a/db/migrate/20160128123901_create_follows.rb
+++ b/db/migrate/20160128123901_create_follows.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateFollows < ActiveRecord::Migration[4.2]
   def change
     create_table :follows do |t|
diff --git a/db/migrate/20160128125336_create_collection_items.rb b/db/migrate/20160128125336_create_collection_items.rb
index 33ea1a2aef76ac47e944beb58a245a30f1a81ffd..acedb8ff00ad832093f5508144c22ba53ad1d756 100644
--- a/db/migrate/20160128125336_create_collection_items.rb
+++ b/db/migrate/20160128125336_create_collection_items.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateCollectionItems < ActiveRecord::Migration[4.2]
   def change
     create_table :collection_items do |t|
diff --git a/db/migrate/20160129191739_create_topic_highlights.rb b/db/migrate/20160129191739_create_topic_highlights.rb
index 4a4871b9cb7362b325943629089482828393d684..4840e871e1425e8adcb7161f3b09825971733457 100644
--- a/db/migrate/20160129191739_create_topic_highlights.rb
+++ b/db/migrate/20160129191739_create_topic_highlights.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateTopicHighlights < ActiveRecord::Migration[4.2]
   def change
     create_table :topic_highlights do |t|
diff --git a/db/migrate/20160130191533_create_topic_relationships.rb b/db/migrate/20160130191533_create_topic_relationships.rb
index 9b7e16544c283237cb41e2e68be2862601befc07..7238134643726fe333b59ece9b1db9a3f0fcfcc0 100644
--- a/db/migrate/20160130191533_create_topic_relationships.rb
+++ b/db/migrate/20160130191533_create_topic_relationships.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateTopicRelationships < ActiveRecord::Migration[4.2]
   def change
     create_table :topic_relationships do |t|
diff --git a/db/migrate/20160131115733_add_counter_to_view_like_share_download.rb b/db/migrate/20160131115733_add_counter_to_view_like_share_download.rb
index daf9ff96df8aadd985287b1e8d98f8a3f8bc95e3..c1caf10d3a5e8694cee6624744661ae4b645fdb7 100644
--- a/db/migrate/20160131115733_add_counter_to_view_like_share_download.rb
+++ b/db/migrate/20160131115733_add_counter_to_view_like_share_download.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddCounterToViewLikeShareDownload < ActiveRecord::Migration[4.2]
   def change
     add_column :learning_objects, :views_count, :integer, default: 0
diff --git a/db/migrate/20160201135415_create_learning_object_attachments.rb b/db/migrate/20160201135415_create_learning_object_attachments.rb
index 32130af75bc2a4e382915e8a73afed507c3894a7..7f8201c33ee15a25032ac8efaf03cbd42efb8025 100644
--- a/db/migrate/20160201135415_create_learning_object_attachments.rb
+++ b/db/migrate/20160201135415_create_learning_object_attachments.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateLearningObjectAttachments < ActiveRecord::Migration[4.2]
   def change
     create_table :learning_object_attachments do |t|
diff --git a/db/migrate/20160201140345_remove_bitstreams_column_from_learning_objects.rb b/db/migrate/20160201140345_remove_bitstreams_column_from_learning_objects.rb
index d4216eeca019dac43c2f3b325540d9791772e8b4..a8c28e545be87e81e7be262ca448baeb7ddf1847 100644
--- a/db/migrate/20160201140345_remove_bitstreams_column_from_learning_objects.rb
+++ b/db/migrate/20160201140345_remove_bitstreams_column_from_learning_objects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class RemoveBitstreamsColumnFromLearningObjects < ActiveRecord::Migration[4.2]
   def change
     remove_column :learning_objects, :bitstreams
diff --git a/db/migrate/20160202121737_add_state_column_for_learning_objects.rb b/db/migrate/20160202121737_add_state_column_for_learning_objects.rb
index 5d8027ab730dc5c7846552c2bfbc54580c69f5af..01bfcc8b6ddb80ca0daf988e6c3ed97a8d9327a4 100644
--- a/db/migrate/20160202121737_add_state_column_for_learning_objects.rb
+++ b/db/migrate/20160202121737_add_state_column_for_learning_objects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddStateColumnForLearningObjects < ActiveRecord::Migration[4.2]
   def change
     add_column :learning_objects, :state, :string, default: 'published'
diff --git a/db/migrate/20160202134938_add_id_dspace_column_for_attachments.rb b/db/migrate/20160202134938_add_id_dspace_column_for_attachments.rb
index b881aa15fcc7588787d4c4df1d6eb5e843e86cf1..23f5fb37598ccc41d72611e29ea10207ebe05414 100644
--- a/db/migrate/20160202134938_add_id_dspace_column_for_attachments.rb
+++ b/db/migrate/20160202134938_add_id_dspace_column_for_attachments.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddIdDspaceColumnForAttachments < ActiveRecord::Migration[4.2]
   def change
     add_column :learning_object_attachments, :id_dspace, :integer
diff --git a/db/migrate/20160215113900_add_description_column_for_ratings.rb b/db/migrate/20160215113900_add_description_column_for_ratings.rb
index c643fbd961ccab05c8f99c95736a95a0bafbfdb5..92bfd579cd24cbbc0ea0d9c20e2ac7a9a7f1c1b1 100644
--- a/db/migrate/20160215113900_add_description_column_for_ratings.rb
+++ b/db/migrate/20160215113900_add_description_column_for_ratings.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddDescriptionColumnForRatings < ActiveRecord::Migration[4.2]
   def change
     add_column :ratings, :description, :string
diff --git a/db/migrate/20160217111317_create_rates.rb b/db/migrate/20160217111317_create_rates.rb
index b8bb0617025b307ddd08ecf8c80fcac622eeb9b8..3f5d8573a64b1b80d8f8d7b52dff7f7e1d568ec3 100644
--- a/db/migrate/20160217111317_create_rates.rb
+++ b/db/migrate/20160217111317_create_rates.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateRates < ActiveRecord::Migration[4.2]
   def change
     create_table :rates do |t|
diff --git a/db/migrate/20160217122253_create_default_column_for_topics.rb b/db/migrate/20160217122253_create_default_column_for_topics.rb
index 024a1286f414fcb539d46855ff4fae69984d80f4..792d9705daa345feed0bb6a32c92f57498a5baaf 100644
--- a/db/migrate/20160217122253_create_default_column_for_topics.rb
+++ b/db/migrate/20160217122253_create_default_column_for_topics.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateDefaultColumnForTopics < ActiveRecord::Migration[4.2]
   def change
     add_column :topics, :default, :boolean, default: false
diff --git a/db/migrate/20160218100700_add_counter_to_rate.rb b/db/migrate/20160218100700_add_counter_to_rate.rb
index 776bcd0a4ce0c04d3b58c0c778643018ff84212b..a039d3fa637456eb9ab1819020ecc7d9db10e973 100644
--- a/db/migrate/20160218100700_add_counter_to_rate.rb
+++ b/db/migrate/20160218100700_add_counter_to_rate.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddCounterToRate < ActiveRecord::Migration[4.2]
   def change
     add_column :reviews, :rates_count, :integer, default: 0
diff --git a/db/migrate/20160219132305_remove_string_thumbnail.rb b/db/migrate/20160219132305_remove_string_thumbnail.rb
index 619f1975e6117633fb5b0cc3cc7bc278cbd57a03..e4edd6ba12ca65d6c1422490deae0e8b49047906 100644
--- a/db/migrate/20160219132305_remove_string_thumbnail.rb
+++ b/db/migrate/20160219132305_remove_string_thumbnail.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class RemoveStringThumbnail < ActiveRecord::Migration[4.2]
   def change
     remove_column :learning_objects, :thumbnail, :string
diff --git a/db/migrate/20160219132533_add_paperclip_thumbnail.rb b/db/migrate/20160219132533_add_paperclip_thumbnail.rb
index 42762bb62422dc972e2e0fb8315419e29a733e16..80220f0e84dd29375aae727a286d7a07f9dc5233 100644
--- a/db/migrate/20160219132533_add_paperclip_thumbnail.rb
+++ b/db/migrate/20160219132533_add_paperclip_thumbnail.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddPaperclipThumbnail < ActiveRecord::Migration[4.2]
   def up
     add_attachment :learning_objects, :thumbnail
diff --git a/db/migrate/20160222102900_create_code_column_for_languages.rb b/db/migrate/20160222102900_create_code_column_for_languages.rb
index 6e5bcd1c8b9c3de9b920be29ddda9265434d2c41..0a17c5c028ab0afa26825da4702437b47c8b9d48 100644
--- a/db/migrate/20160222102900_create_code_column_for_languages.rb
+++ b/db/migrate/20160222102900_create_code_column_for_languages.rb
@@ -1,4 +1,23 @@
 
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
+
 class CreateCodeColumnForLanguages < ActiveRecord::Migration[4.2]
   def change
     add_column :languages, :code, :string
diff --git a/db/migrate/20160222144157_create_scores.rb b/db/migrate/20160222144157_create_scores.rb
index 5dd6d463cd2b447c8153956ff2f57b455e0c4b7d..4011b2cf92dd0b0ee5581ac1f290e1d68a9bb9de 100644
--- a/db/migrate/20160222144157_create_scores.rb
+++ b/db/migrate/20160222144157_create_scores.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateScores < ActiveRecord::Migration[4.2]
   def change
     create_table :scores do |t|
diff --git a/db/migrate/20160222144216_create_user_categories.rb b/db/migrate/20160222144216_create_user_categories.rb
index 9bb19e20455e05f8910ebba1fd0fad5895c34de5..61777e19ae3852164555d87919797151d47ea7f8 100644
--- a/db/migrate/20160222144216_create_user_categories.rb
+++ b/db/migrate/20160222144216_create_user_categories.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateUserCategories < ActiveRecord::Migration[4.2]
   def change
     create_table :user_categories do |t|
diff --git a/db/migrate/20160222144259_create_score_user_categories.rb b/db/migrate/20160222144259_create_score_user_categories.rb
index 3fd68f4901695182fa08ae60bb4cc6f012a7f573..55fac6190bd7a5966ce867720e94272ce6fce75d 100644
--- a/db/migrate/20160222144259_create_score_user_categories.rb
+++ b/db/migrate/20160222144259_create_score_user_categories.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateScoreUserCategories < ActiveRecord::Migration[4.2]
   def change
     create_table :score_user_categories do |t|
diff --git a/db/migrate/20160225101700_change_users_add_score.rb b/db/migrate/20160225101700_change_users_add_score.rb
index 849913d0630d6705b861b27f7694285f3c90b3ea..e54dcf1863da95288590b37757ee396017baca14 100644
--- a/db/migrate/20160225101700_change_users_add_score.rb
+++ b/db/migrate/20160225101700_change_users_add_score.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ChangeUsersAddScore < ActiveRecord::Migration[4.2]
   def change
     add_reference :users, :user_category, index: true
diff --git a/db/migrate/20160229164600_change_users_add_score_foreign_key.rb b/db/migrate/20160229164600_change_users_add_score_foreign_key.rb
index f113a6f6a4a2ff5575ae36d6b10cb733aa91f35d..3bd0d391806a26eaac5c8f77dacd1be312aa2eee 100644
--- a/db/migrate/20160229164600_change_users_add_score_foreign_key.rb
+++ b/db/migrate/20160229164600_change_users_add_score_foreign_key.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ChangeUsersAddScoreForeignKey < ActiveRecord::Migration[4.2]
   def change
     add_foreign_key :users, :user_categories
diff --git a/db/migrate/20160229205701_add_keys.rb b/db/migrate/20160229205701_add_keys.rb
index 6717131b90047e225f0bdedd01edd0363fed1d3b..20183f73c35a8b1dce6a6d02314ed9b4488b406f 100644
--- a/db/migrate/20160229205701_add_keys.rb
+++ b/db/migrate/20160229205701_add_keys.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddKeys < ActiveRecord::Migration[4.2]
   def change
     add_foreign_key "learning_objects_topics", "learning_objects", name: "learning_objects_topics_learning_object_id_fk"
diff --git a/db/migrate/20160301103500_change_collections_add_score.rb b/db/migrate/20160301103500_change_collections_add_score.rb
index e8029900aa6297408a0cf9ff5e34d0923e18222b..ec1df2eff6c262a5bae03bc1fd322321cc3074c4 100644
--- a/db/migrate/20160301103500_change_collections_add_score.rb
+++ b/db/migrate/20160301103500_change_collections_add_score.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ChangeCollectionsAddScore < ActiveRecord::Migration[4.2]
   def change
     add_column :collections, :score, :float, default: 0
diff --git a/db/migrate/20160301103501_add_paperclip_to_attachments.rb b/db/migrate/20160301103501_add_paperclip_to_attachments.rb
index 6f815826895bb7cfe4cb4def30482ef75b943083..68c387c1d5e624a6cbda8bda0ce679860e0cbf92 100644
--- a/db/migrate/20160301103501_add_paperclip_to_attachments.rb
+++ b/db/migrate/20160301103501_add_paperclip_to_attachments.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddPaperclipToAttachments < ActiveRecord::Migration[4.2]
   def up
     add_attachment :learning_object_attachments, :thumbnail
diff --git a/db/migrate/20160302102500_change_scores_add_score_type.rb b/db/migrate/20160302102500_change_scores_add_score_type.rb
index fcc53756576c156e2ba20fc6a6d2aef428b02c3d..dc9bbfd48a5c62469470f8030077cfe3809f46ff 100644
--- a/db/migrate/20160302102500_change_scores_add_score_type.rb
+++ b/db/migrate/20160302102500_change_scores_add_score_type.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ChangeScoresAddScoreType < ActiveRecord::Migration[4.2]
   def change
     add_column :scores, :score_type, :string, array: true, default: []
diff --git a/db/migrate/20160303120433_add_counter_to_user_collection.rb b/db/migrate/20160303120433_add_counter_to_user_collection.rb
index 762391114ee34a6212d1a210e8c7f4818ed7528e..0e58088272cc1533cefaf4b3aa19d5678451ce65 100644
--- a/db/migrate/20160303120433_add_counter_to_user_collection.rb
+++ b/db/migrate/20160303120433_add_counter_to_user_collection.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddCounterToUserCollection < ActiveRecord::Migration[4.2]
   def change
     add_column :collections, :follows_count, :integer, default: 0
diff --git a/db/migrate/20160303181501_add_column_mime_type_for_object_types.rb b/db/migrate/20160303181501_add_column_mime_type_for_object_types.rb
index f1bc08493a760b17e58e2718d3a0da38b659cfc8..e42cab9a83be8f6fcbd79b209bdb3ae83c0f3900 100644
--- a/db/migrate/20160303181501_add_column_mime_type_for_object_types.rb
+++ b/db/migrate/20160303181501_add_column_mime_type_for_object_types.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddColumnMimeTypeForObjectTypes < ActiveRecord::Migration[4.2]
   def change
     add_column :object_types, :mime_type, :string
diff --git a/db/migrate/20160304100533_change_learning_object_score.rb b/db/migrate/20160304100533_change_learning_object_score.rb
index 3779d0a175d5ef5fa1c065b97e6001666c159b37..a0e99e15566e9102cd533ee4b22e16772c46022e 100644
--- a/db/migrate/20160304100533_change_learning_object_score.rb
+++ b/db/migrate/20160304100533_change_learning_object_score.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ChangeLearningObjectScore < ActiveRecord::Migration[4.2]
   def change
     change_column :learning_objects, :score, :float, default: 0.0
diff --git a/db/migrate/20160304102333_add_thumbnail_for_collections.rb b/db/migrate/20160304102333_add_thumbnail_for_collections.rb
index 10659aad7b647b109d84fd7ef577c1c6f1bd4ab9..bdf34d14537ce2f76ecf65e12ca5e3818c250357 100644
--- a/db/migrate/20160304102333_add_thumbnail_for_collections.rb
+++ b/db/migrate/20160304102333_add_thumbnail_for_collections.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddThumbnailForCollections < ActiveRecord::Migration[4.2]
   def change
     add_attachment :collections, :thumbnail
diff --git a/db/migrate/20160309101900_add_attachment_for_learning_objects.rb b/db/migrate/20160309101900_add_attachment_for_learning_objects.rb
index 4a6eb60df8ea94669c9c27cbaaaeada5b1c96f9b..61edfeb66b18256e555b9705330232af14682ce7 100644
--- a/db/migrate/20160309101900_add_attachment_for_learning_objects.rb
+++ b/db/migrate/20160309101900_add_attachment_for_learning_objects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddAttachmentForLearningObjects < ActiveRecord::Migration[4.2]
   def change
     add_column :learning_objects, :attachment_id, :integer
diff --git a/db/migrate/20160310121839_create_mime_types.rb b/db/migrate/20160310121839_create_mime_types.rb
index 7ed0464cf1e142eb7b73a308a8686a8f87dfd025..477fc1a58d1cb28c0f317dfc78cff8d76efdfee0 100644
--- a/db/migrate/20160310121839_create_mime_types.rb
+++ b/db/migrate/20160310121839_create_mime_types.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateMimeTypes < ActiveRecord::Migration[4.2]
   def change
     create_table :mime_types do |t|
diff --git a/db/migrate/20160310124058_remove_mime_types_from_object_types.rb b/db/migrate/20160310124058_remove_mime_types_from_object_types.rb
index 8ba41939e63a2cefd8ac824f663dc1eab8b4233f..bd44d07099d523973c3a070dd4deb13504d095e8 100644
--- a/db/migrate/20160310124058_remove_mime_types_from_object_types.rb
+++ b/db/migrate/20160310124058_remove_mime_types_from_object_types.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class RemoveMimeTypesFromObjectTypes < ActiveRecord::Migration[4.2]
   def change
     remove_column :object_types, :mime_type, :string
diff --git a/db/migrate/20160310124059_add_associations_to_object_types_and_mime_types.rb b/db/migrate/20160310124059_add_associations_to_object_types_and_mime_types.rb
index dcb71a4061a7eb863b2f781249eab5c5234d418b..d1bf54b10d8f6e492426f0d61d9761777a73ab3e 100644
--- a/db/migrate/20160310124059_add_associations_to_object_types_and_mime_types.rb
+++ b/db/migrate/20160310124059_add_associations_to_object_types_and_mime_types.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddAssociationsToObjectTypesAndMimeTypes < ActiveRecord::Migration[4.2]
   def change
     create_table :mime_types_object_types do |t|
diff --git a/db/migrate/20160313192800_add_cache_link_to_attachment.rb b/db/migrate/20160313192800_add_cache_link_to_attachment.rb
index d93cfb523ebe82c9a06ea3570e306e144e60e1c2..847f5d91d951f6a214624dd870bc80c4d5d4a844 100644
--- a/db/migrate/20160313192800_add_cache_link_to_attachment.rb
+++ b/db/migrate/20160313192800_add_cache_link_to_attachment.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddCacheLinkToAttachment < ActiveRecord::Migration[4.2]
   def change
     add_column :learning_object_attachments, :cache_link, :string
diff --git a/db/migrate/20160415004548_drop_table_topics.rb b/db/migrate/20160415004548_drop_table_topics.rb
index 340ee634467313d1ea63baf63a915b11e6146ab1..07e9b686c96f9ea537f652e5b669f7e06113a891 100644
--- a/db/migrate/20160415004548_drop_table_topics.rb
+++ b/db/migrate/20160415004548_drop_table_topics.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class DropTableTopics < ActiveRecord::Migration[4.2]
   def change
     drop_table :topics, force: :cascade
diff --git a/db/migrate/20160415004803_drop_table_topic_relationships.rb b/db/migrate/20160415004803_drop_table_topic_relationships.rb
index 8d42fa83f57f6b4e29745ccc772edd492377475b..7d32db362ed8ef97ba07624e1c442df3fb24d145 100644
--- a/db/migrate/20160415004803_drop_table_topic_relationships.rb
+++ b/db/migrate/20160415004803_drop_table_topic_relationships.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class DropTableTopicRelationships < ActiveRecord::Migration[4.2]
   def change
     drop_table :topic_relationships, force: :cascade
diff --git a/db/migrate/20160415005006_drop_table_topic_highlights.rb b/db/migrate/20160415005006_drop_table_topic_highlights.rb
index c9d00d1f66ba1ee5beedde9dc8e9369ddfa81052..5d30af55e08d0d11845026daf80641c406f76bfd 100644
--- a/db/migrate/20160415005006_drop_table_topic_highlights.rb
+++ b/db/migrate/20160415005006_drop_table_topic_highlights.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class DropTableTopicHighlights < ActiveRecord::Migration[4.2]
   def change
     drop_table :topic_highlights, force: :cascade
diff --git a/db/migrate/20160426144714_create_tags.rb b/db/migrate/20160426144714_create_tags.rb
index c7e2bd24e572c30b33fe9145d00fdb683d6b6c60..b8a2046735db0e04a67564be62fe2bf917223b22 100644
--- a/db/migrate/20160426144714_create_tags.rb
+++ b/db/migrate/20160426144714_create_tags.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateTags < ActiveRecord::Migration[4.2]
   def change
     create_table :tags do |t|
diff --git a/db/migrate/20160426144833_create_taggings.rb b/db/migrate/20160426144833_create_taggings.rb
index 35c6a71136de7ed71283b820d58fca3af8afb4fb..c5c6675ff4e56941b3fc6012634ee35f83f928e7 100644
--- a/db/migrate/20160426144833_create_taggings.rb
+++ b/db/migrate/20160426144833_create_taggings.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateTaggings < ActiveRecord::Migration[4.2]
   def change
     create_table :taggings do |t|
diff --git a/db/migrate/20160503140557_create_activities.rb b/db/migrate/20160503140557_create_activities.rb
index d96e1511dd23bdb3a810ca0c5bf590425de4c72c..4b4d7ee305d57039d741151ab59c5490efd40474 100644
--- a/db/migrate/20160503140557_create_activities.rb
+++ b/db/migrate/20160503140557_create_activities.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Migration responsible for creating a table with activities
 class CreateActivities < ActiveRecord::Migration[4.2]
   # Create table
diff --git a/db/migrate/20160512135942_add_deleted_at_to_learning_objects.rb b/db/migrate/20160512135942_add_deleted_at_to_learning_objects.rb
index a0f9505d5797fc853bb1a416d15bb2acf112bc97..3797c03cb3477ea7741969e67345c821de8b3191 100644
--- a/db/migrate/20160512135942_add_deleted_at_to_learning_objects.rb
+++ b/db/migrate/20160512135942_add_deleted_at_to_learning_objects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddDeletedAtToLearningObjects < ActiveRecord::Migration[4.2]
   def change
     add_column :learning_objects, :deleted_at, :datetime
diff --git a/db/migrate/20160512140101_add_deleted_at_to_collections.rb b/db/migrate/20160512140101_add_deleted_at_to_collections.rb
index 928066b4b925e0831c32ffa16f6e207017d04e7a..ce634b5ab6bd12ee091d2671d4f20a11bef1cd59 100644
--- a/db/migrate/20160512140101_add_deleted_at_to_collections.rb
+++ b/db/migrate/20160512140101_add_deleted_at_to_collections.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddDeletedAtToCollections < ActiveRecord::Migration[4.2]
   def change
     add_column :collections, :deleted_at, :datetime
diff --git a/db/migrate/20160512140142_add_deleted_at_to_complaints.rb b/db/migrate/20160512140142_add_deleted_at_to_complaints.rb
index a7220cd01f337bfb5a67a1672e10876107013d15..1f7fe42aa9ad6479a9c6a9a85f833a7ff71c7122 100644
--- a/db/migrate/20160512140142_add_deleted_at_to_complaints.rb
+++ b/db/migrate/20160512140142_add_deleted_at_to_complaints.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddDeletedAtToComplaints < ActiveRecord::Migration[4.2]
   def change
     add_column :complaints, :deleted_at, :datetime
diff --git a/db/migrate/20160512140201_add_deleted_at_to_institutions.rb b/db/migrate/20160512140201_add_deleted_at_to_institutions.rb
index 1aa9ed73888547aeb6a81df3ceea3ce068b581c1..58ee40509a8cf9aa9867e51dfdc888d24c95379e 100644
--- a/db/migrate/20160512140201_add_deleted_at_to_institutions.rb
+++ b/db/migrate/20160512140201_add_deleted_at_to_institutions.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddDeletedAtToInstitutions < ActiveRecord::Migration[4.2]
   def change
     add_column :institutions, :deleted_at, :datetime
diff --git a/db/migrate/20160512140234_add_deleted_at_to_reviews.rb b/db/migrate/20160512140234_add_deleted_at_to_reviews.rb
index 9bb2c514d0b8fa3f53ef35fbaa43acd31f80bd41..b390901b039e663d7ba1e422d5b0704182b8de18 100644
--- a/db/migrate/20160512140234_add_deleted_at_to_reviews.rb
+++ b/db/migrate/20160512140234_add_deleted_at_to_reviews.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddDeletedAtToReviews < ActiveRecord::Migration[4.2]
   def change
     add_column :reviews, :deleted_at, :datetime
diff --git a/db/migrate/20160512140321_add_deleted_at_to_users.rb b/db/migrate/20160512140321_add_deleted_at_to_users.rb
index 669ac0f6509c8545032b14a9a47439cdcaee3716..144ae4a999f2dffd7d04b6e1284865a0b0a695a6 100644
--- a/db/migrate/20160512140321_add_deleted_at_to_users.rb
+++ b/db/migrate/20160512140321_add_deleted_at_to_users.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddDeletedAtToUsers < ActiveRecord::Migration[4.2]
   def change
     add_column :users, :deleted_at, :datetime
diff --git a/db/migrate/20160512140322_ensure_versions_table_is_deleted.rb b/db/migrate/20160512140322_ensure_versions_table_is_deleted.rb
index 74cccd639641b8d1e1ffbc3d9730085326d58945..60f98af5fe6ba33d764e7bbe8461ea00e7e60362 100644
--- a/db/migrate/20160512140322_ensure_versions_table_is_deleted.rb
+++ b/db/migrate/20160512140322_ensure_versions_table_is_deleted.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class EnsureVersionsTableIsDeleted < ActiveRecord::Migration[4.2]
   def change
     table = :versions
diff --git a/db/migrate/20160512143532_create_versions.rb b/db/migrate/20160512143532_create_versions.rb
index 19d853de8f78a239537fe49a3bdb6a3d7ad5af9c..d23847bde4dc4def1a98a35908b600e925dd7d92 100644
--- a/db/migrate/20160512143532_create_versions.rb
+++ b/db/migrate/20160512143532_create_versions.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # This migration creates the `versions` table, the only schema PT requires.
 # All other migrations PT provides are optional.
 class CreateVersions < ActiveRecord::Migration[4.2]
diff --git a/db/migrate/20160516125724_create_licenses.rb b/db/migrate/20160516125724_create_licenses.rb
index 156f9009d91eb3e7fa6748f0df7678269e278799..18f9340d40c442ef3296b065df5e2451665ad190 100644
--- a/db/migrate/20160516125724_create_licenses.rb
+++ b/db/migrate/20160516125724_create_licenses.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateLicenses < ActiveRecord::Migration[4.2]
   def change
     create_table :licenses do |t|
diff --git a/db/migrate/20160516125800_add_license_to_learning_objects.rb b/db/migrate/20160516125800_add_license_to_learning_objects.rb
index 3723daa31570fd6fe921fcb3de65e2f9bfb66d11..0ba5c78ceeabc2cc16ace55aaeb5437bd42bcba5 100644
--- a/db/migrate/20160516125800_add_license_to_learning_objects.rb
+++ b/db/migrate/20160516125800_add_license_to_learning_objects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddLicenseToLearningObjects < ActiveRecord::Migration[4.2]
   def change
     add_reference :learning_objects, :license, index: true
diff --git a/db/migrate/20160517140326_create_applications.rb b/db/migrate/20160517140326_create_applications.rb
index 4ee609929323421c5fd66d107bf3d83d1026e08f..ea20ba3898be44ae02b1aa886716ed45114b9196 100644
--- a/db/migrate/20160517140326_create_applications.rb
+++ b/db/migrate/20160517140326_create_applications.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateApplications < ActiveRecord::Migration[4.2]
   def change
     create_table :applications do |t|
diff --git a/db/migrate/20160519122525_change_state_type_in_learning_objects.rb b/db/migrate/20160519122525_change_state_type_in_learning_objects.rb
index 50c0919f245614702807afdc32a14e161d6c2a58..0b91f359f1ce1c3ba69b1d0f0eb9f0789fa2ba72 100644
--- a/db/migrate/20160519122525_change_state_type_in_learning_objects.rb
+++ b/db/migrate/20160519122525_change_state_type_in_learning_objects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ChangeStateTypeInLearningObjects < ActiveRecord::Migration[4.2]
   def change
     add_column :learning_objects, :statenew, :integer, default: 0
diff --git a/db/migrate/20161018123459_add_index_to_collection.rb b/db/migrate/20161018123459_add_index_to_collection.rb
index bba72851da54bb9e36d3b1d8c4e56513099ceba5..93267fb0d1c7a85c6b34ac855e5fc328783651bf 100644
--- a/db/migrate/20161018123459_add_index_to_collection.rb
+++ b/db/migrate/20161018123459_add_index_to_collection.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddIndexToCollection < ActiveRecord::Migration[5.0]
   def change
     add_index :collection_items, [:collection_id,:collectionable_id, :collectionable_type], unique: true, name: 'collection_item_and_collectionable'
diff --git a/db/migrate/20161024160053_create_subjects.rb b/db/migrate/20161024160053_create_subjects.rb
index 86aac891c648abc64427616c0e66ea07970c0923..918965979b4f225cdf0de16a204d72e86ea82e75 100644
--- a/db/migrate/20161024160053_create_subjects.rb
+++ b/db/migrate/20161024160053_create_subjects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateSubjects < ActiveRecord::Migration[5.0]
   def change
     create_table :subjects do |t|
diff --git a/db/migrate/20161024160126_create_educational_stages.rb b/db/migrate/20161024160126_create_educational_stages.rb
index 76fc0d48c775f2381fba673772f1c6657040b6ca..819e3611917a09c5396c2b8ab6678dd51147954e 100644
--- a/db/migrate/20161024160126_create_educational_stages.rb
+++ b/db/migrate/20161024160126_create_educational_stages.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateEducationalStages < ActiveRecord::Migration[5.0]
   def change
     create_table :educational_stages do |t|
diff --git a/db/migrate/20161026114123_change_complaints_columns_names.rb b/db/migrate/20161026114123_change_complaints_columns_names.rb
index 7371830fec2b042370b59c74a8c239fcbc97532d..af3da1c4dd7bd2518bcaf5a9ff82eca296ac9ffd 100644
--- a/db/migrate/20161026114123_change_complaints_columns_names.rb
+++ b/db/migrate/20161026114123_change_complaints_columns_names.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ChangeComplaintsColumnsNames < ActiveRecord::Migration[5.0]
   def change
     rename_column :complaints, :complaintable_id, :complainable_id
diff --git a/db/migrate/20161026134028_create_subject_relations.rb b/db/migrate/20161026134028_create_subject_relations.rb
index 78e028bdf9487eecb40bac96b29deed63e1e10e2..e75f6d977ffddb71fa8e39573dc424a61a9c8d2b 100644
--- a/db/migrate/20161026134028_create_subject_relations.rb
+++ b/db/migrate/20161026134028_create_subject_relations.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateSubjectRelations < ActiveRecord::Migration[5.0]
   def change
     create_table :subject_relations do |t|
diff --git a/db/migrate/20161026163027_change_learning_object.rb b/db/migrate/20161026163027_change_learning_object.rb
index 7ffdc74eecfe6d21e9bbff1ef7ff187aacf47d6d..643c78150f70f0d32efb47be51283bc528eccdd5 100644
--- a/db/migrate/20161026163027_change_learning_object.rb
+++ b/db/migrate/20161026163027_change_learning_object.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ChangeLearningObject < ActiveRecord::Migration[5.0]
   def change
     add_column :learning_objects, :link, :string
diff --git a/db/migrate/20161027134827_add_index_to_taggings.rb b/db/migrate/20161027134827_add_index_to_taggings.rb
index 858527008905900d5a6d96c98479dca50887fb3f..971fdd7e1ae90cc3b077f6ba04b685fa8d33d540 100644
--- a/db/migrate/20161027134827_add_index_to_taggings.rb
+++ b/db/migrate/20161027134827_add_index_to_taggings.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddIndexToTaggings < ActiveRecord::Migration[5.0]
   def change
     add_index :taggings, [:tag_id, :tagger_id, :tagger_type, :taggable_id, :taggable_type], unique: true, name: 'tag_and_taggable'
diff --git a/db/migrate/20161027141322_create_stage_relations.rb b/db/migrate/20161027141322_create_stage_relations.rb
index 295ca07b75aad4d0e421b4ccbd5b2cc443d974f2..974ca555eda877870ed7565f874824989d774c3e 100644
--- a/db/migrate/20161027141322_create_stage_relations.rb
+++ b/db/migrate/20161027141322_create_stage_relations.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateStageRelations < ActiveRecord::Migration[5.0]
   def change
     create_table :stage_relations do |t|
diff --git a/db/migrate/20161107130535_add_description_column_to_users.rb b/db/migrate/20161107130535_add_description_column_to_users.rb
index 3946ea7445b4c12069a037bfb1929d9aae1d858f..8ea7d72092cbd6266c791621b0fbb5e0875a9599 100644
--- a/db/migrate/20161107130535_add_description_column_to_users.rb
+++ b/db/migrate/20161107130535_add_description_column_to_users.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddDescriptionColumnToUsers < ActiveRecord::Migration[5.0]
   def change
     add_column :users, :description, :text
diff --git a/db/migrate/20161121115115_add_review_average_to_learning_object.rb b/db/migrate/20161121115115_add_review_average_to_learning_object.rb
index cab8a095f22eb3b364275365d086db15fb7c5465..8bd22a7c359f20831a7cb02a6d1614cf73c33a0d 100644
--- a/db/migrate/20161121115115_add_review_average_to_learning_object.rb
+++ b/db/migrate/20161121115115_add_review_average_to_learning_object.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddReviewAverageToLearningObject < ActiveRecord::Migration[5.0]
   def change
     add_column :learning_objects, :review_average, :float, default: 0.0
diff --git a/db/migrate/20161123114102_add_privacy_to_activities.rb b/db/migrate/20161123114102_add_privacy_to_activities.rb
index fc2f91a7c076ca359f84fe532d15ec1e70fd862c..e60f095d69c9b1ebd2270229ceba1d377c12bbc0 100644
--- a/db/migrate/20161123114102_add_privacy_to_activities.rb
+++ b/db/migrate/20161123114102_add_privacy_to_activities.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddPrivacyToActivities < ActiveRecord::Migration[5.0]
   def change
     add_column :activities, :privacy, :string
diff --git a/db/migrate/20161125134057_add_counts_to_user.rb b/db/migrate/20161125134057_add_counts_to_user.rb
index 5da4a078c820b4d28bce4da3af0762a351a13c1b..50e8e0d489f6bdc3fbc8738088ff0a14c2e30d20 100644
--- a/db/migrate/20161125134057_add_counts_to_user.rb
+++ b/db/migrate/20161125134057_add_counts_to_user.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddCountsToUser < ActiveRecord::Migration[5.0]
   def change
     add_column :users, :likes_count, :integer, default: 0
diff --git a/db/migrate/20161125153200_add_review_average_to_collection.rb b/db/migrate/20161125153200_add_review_average_to_collection.rb
index 538338d7120d190dbc6a01d40dbed7101e039d4c..3895f03edd26e38b1f249c754b5f1018912c2a52 100644
--- a/db/migrate/20161125153200_add_review_average_to_collection.rb
+++ b/db/migrate/20161125153200_add_review_average_to_collection.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddReviewAverageToCollection < ActiveRecord::Migration[5.0]
   def change
     add_column :collections, :review_average, :float, default: 0.0
diff --git a/db/migrate/20161128122731_change_collection_item_column_name.rb b/db/migrate/20161128122731_change_collection_item_column_name.rb
index bf7ff604ffc9f4ad2bf2bc8c89d37f7731b9eae8..34085cbf40be58b0ee942eba7f657e60ad601f3d 100644
--- a/db/migrate/20161128122731_change_collection_item_column_name.rb
+++ b/db/migrate/20161128122731_change_collection_item_column_name.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class ChangeCollectionItemColumnName < ActiveRecord::Migration[5.0]
   def change
     rename_column :collection_items, :order, :position
diff --git a/db/migrate/20170109133754_add_nickname_to_user.rb b/db/migrate/20170109133754_add_nickname_to_user.rb
index 37f4c21bdfc000abe35e91e9893185c58418b155..179c2c1e4edc55572cd2fe3e92dc243ce1040425 100644
--- a/db/migrate/20170109133754_add_nickname_to_user.rb
+++ b/db/migrate/20170109133754_add_nickname_to_user.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddNicknameToUser < ActiveRecord::Migration[5.0]
   def change
     add_column :users, :nickname, :string
diff --git a/db/migrate/20170207122721_create_contacts.rb b/db/migrate/20170207122721_create_contacts.rb
index 7c7f4d52e9b2ad186f03fdccd5a630fa54fcb812..987729a5baba36fc3e150c6b601a1ce6253f194b 100644
--- a/db/migrate/20170207122721_create_contacts.rb
+++ b/db/migrate/20170207122721_create_contacts.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateContacts < ActiveRecord::Migration[5.0]
   def change
     create_table :contacts do |t|
diff --git a/db/migrate/20170208111714_create_suggestions.rb b/db/migrate/20170208111714_create_suggestions.rb
index c59188a82576b3d6b80f7fad8a5b5ffd25eb330a..fd94feb30eb47c8528b27f74ebf62f95361fa6c5 100644
--- a/db/migrate/20170208111714_create_suggestions.rb
+++ b/db/migrate/20170208111714_create_suggestions.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreateSuggestions < ActiveRecord::Migration[5.0]
   def change
     create_table :suggestions do |t|
diff --git a/db/migrate/20170215113455_add_ip_to_downloads.rb b/db/migrate/20170215113455_add_ip_to_downloads.rb
index 8433592385ec31fbdeee87ab2f444958d0bac58a..0b891aced7dd9a0c5bb4d05b91c995fa091feecd 100644
--- a/db/migrate/20170215113455_add_ip_to_downloads.rb
+++ b/db/migrate/20170215113455_add_ip_to_downloads.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddIpToDownloads < ActiveRecord::Migration[5.0]
   def change
     add_column :downloads, :ip, :string, null: false
diff --git a/db/migrate/20170215121042_add_index_to_downloads.rb b/db/migrate/20170215121042_add_index_to_downloads.rb
index 62859d2889387624c75b65872e6a469743531f28..72c3eea6f24ee5ef57312a2e9adec78e212ce0c2 100644
--- a/db/migrate/20170215121042_add_index_to_downloads.rb
+++ b/db/migrate/20170215121042_add_index_to_downloads.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddIndexToDownloads < ActiveRecord::Migration[5.0]
   def change
     add_index :downloads, [:user_id, :ip, :downloadable_type, :downloadable_id], unique: true, name: 'user_ip_and_downloadable'
diff --git a/db/migrate/20170223132327_create_packages.rb b/db/migrate/20170223132327_create_packages.rb
index c2e22f4584b5e4b9fa51e545a59f11e7d4ef8b5f..ece08e545f770921027654b68a4664aba58c0325 100644
--- a/db/migrate/20170223132327_create_packages.rb
+++ b/db/migrate/20170223132327_create_packages.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreatePackages < ActiveRecord::Migration[5.0]
   def change
     create_table :packages do |t|
diff --git a/db/migrate/20170223132838_create_package_items.rb b/db/migrate/20170223132838_create_package_items.rb
index 14352c19c28f655183b8f548227c2eb391af77d2..4487360543ef00a799e8eb70f7d16bf6ff57fb1c 100644
--- a/db/migrate/20170223132838_create_package_items.rb
+++ b/db/migrate/20170223132838_create_package_items.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class CreatePackageItems < ActiveRecord::Migration[5.0]
   def change
     create_table :package_items do |t|
diff --git a/db/migrate/20170224145548_add_filepath_to_package.rb b/db/migrate/20170224145548_add_filepath_to_package.rb
index 4ebbf5091493393108594f9a9514897e76480f0f..f288688cbe16febc492399525cbd485160206d7e 100644
--- a/db/migrate/20170224145548_add_filepath_to_package.rb
+++ b/db/migrate/20170224145548_add_filepath_to_package.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddFilepathToPackage < ActiveRecord::Migration[5.0]
   def change
     add_column :packages, :file_path, :string
diff --git a/db/migrate/20170307133059_add_attachment_cover_to_users.rb b/db/migrate/20170307133059_add_attachment_cover_to_users.rb
index 2218f8b7e9e08e0e7934d160d7bbec49681c124a..33d4f2d77ddde7220938c0f22b065c359fb75bcf 100644
--- a/db/migrate/20170307133059_add_attachment_cover_to_users.rb
+++ b/db/migrate/20170307133059_add_attachment_cover_to_users.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddAttachmentCoverToUsers < ActiveRecord::Migration
   def self.up
     change_table :users do |t|
diff --git a/db/migrate/20170307133405_add_education_to_users.rb b/db/migrate/20170307133405_add_education_to_users.rb
index 14b30342927fd5c1aed013bcd73f193831283c72..970aaf76fc43bbffb3ba8fa01f27228e11f9e904 100644
--- a/db/migrate/20170307133405_add_education_to_users.rb
+++ b/db/migrate/20170307133405_add_education_to_users.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddEducationToUsers < ActiveRecord::Migration[5.0]
   def change
     add_column :users, :education, :string
diff --git a/db/migrate/20170503134230_add_attachment_avatar_to_institutions.rb b/db/migrate/20170503134230_add_attachment_avatar_to_institutions.rb
index fee56386d833200d0c3faa7ff8a379d817bdbca7..bbd60d8435f6ddd9f62f574eba90faf64e96eae6 100644
--- a/db/migrate/20170503134230_add_attachment_avatar_to_institutions.rb
+++ b/db/migrate/20170503134230_add_attachment_avatar_to_institutions.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddAttachmentAvatarToInstitutions < ActiveRecord::Migration
   def self.up
     change_table :institutions do |t|
diff --git a/db/migrate/20170511161146_add_curator_to_learning_object.rb b/db/migrate/20170511161146_add_curator_to_learning_object.rb
index d722347d41c2a6de5bcc448e21740fe0e7d31b8e..5d0c86dd7a92a3ce85dc90721aecf867c26ae794 100644
--- a/db/migrate/20170511161146_add_curator_to_learning_object.rb
+++ b/db/migrate/20170511161146_add_curator_to_learning_object.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddCuratorToLearningObject < ActiveRecord::Migration[5.0]
   def change
     add_column :learning_objects, :curator, :string
diff --git a/db/migrate/20170512092359_add_magnetlink_to_learning_object.rb b/db/migrate/20170512092359_add_magnetlink_to_learning_object.rb
index 6ee102f5debee49368eaa5e8f2f9e0094393be85..cfe51bbf2e469c0a18093d5abc2aa1f2a319fb96 100644
--- a/db/migrate/20170512092359_add_magnetlink_to_learning_object.rb
+++ b/db/migrate/20170512092359_add_magnetlink_to_learning_object.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddMagnetlinkToLearningObject < ActiveRecord::Migration[5.0]
   	def change
     	add_column :learning_objects, :magnetlink, :string
diff --git a/db/migrate/20170516111857_add_deleted_at_to_collection_items.rb b/db/migrate/20170516111857_add_deleted_at_to_collection_items.rb
index abbe878fe27d87f74b19feeed88a854d25c1b020..7ebbd255a634dc29c75cf935bb82e70e550e14f1 100644
--- a/db/migrate/20170516111857_add_deleted_at_to_collection_items.rb
+++ b/db/migrate/20170516111857_add_deleted_at_to_collection_items.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddDeletedAtToCollectionItems < ActiveRecord::Migration[5.0]
   def change
     add_column :collection_items, :deleted_at, :datetime
diff --git a/db/migrate/20170518120936_add_curator_to_collection.rb b/db/migrate/20170518120936_add_curator_to_collection.rb
index 29f69c17c5c0c588d4eb3cf98152b367cb921a34..018b82396094538b2ad04cc23180598f40b7e22a 100644
--- a/db/migrate/20170518120936_add_curator_to_collection.rb
+++ b/db/migrate/20170518120936_add_curator_to_collection.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddCuratorToCollection < ActiveRecord::Migration[5.0]
   def change
     add_column :collections, :curator, :string
diff --git a/db/migrate/20170525120237_add_learning_objects_count_to_institutions.rb b/db/migrate/20170525120237_add_learning_objects_count_to_institutions.rb
index e8f42351b6122341a8a1a3d00fd0860f8405bbc4..e90bebd77cbee568315d724ec94eea5b98cdf8ce 100644
--- a/db/migrate/20170525120237_add_learning_objects_count_to_institutions.rb
+++ b/db/migrate/20170525120237_add_learning_objects_count_to_institutions.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class AddLearningObjectsCountToInstitutions < ActiveRecord::Migration[5.0]
   def change
     add_column :institutions, :learning_objects_count, :integer, default: 0
diff --git a/db/seeds.rb b/db/seeds.rb
index 0a4ba3ef41205d37cb528b959212f029f5151c89..d71285d6b0e22d84eef313b80a16526842e6b3a4 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # This file should contain all the record creation needed to seed the database with its default values.
 # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
 #
diff --git a/db/seeds/complaints.rb b/db/seeds/complaints.rb
index 94b7a3a552cd5d96649b831a53af84e04d79a640..0fca5079f3f9baf86f7047eaaab18d7cda40138f 100644
--- a/db/seeds/complaints.rb
+++ b/db/seeds/complaints.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ComplaintReason.create(reason: "Objeto viola direitos autorais")
 ComplaintReason.create(reason: "Comtém conteúdo ofensivo/abusivo")
 ComplaintReason.create(reason: "Esta é uma conta falsa")
diff --git a/db/seeds/educational_stages.rb b/db/seeds/educational_stages.rb
index 66c975e405bb6b632a55040a2a39ef30349db2bc..9ae92a9c3f3bd295462f96465d78f04d4cbc51cf 100644
--- a/db/seeds/educational_stages.rb
+++ b/db/seeds/educational_stages.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 def stages
   [
     {name:'Educação Infantil'},
diff --git a/db/seeds/institutions.rb b/db/seeds/institutions.rb
index 535c7659c0fa12b5e844f598c0a5034be7fda5b2..12a8cb16bdd43126f3e2c80fb0112f1807edcd28 100644
--- a/db/seeds/institutions.rb
+++ b/db/seeds/institutions.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Institution.create(name: 'C3SL/UFPR', address: 'Centro Politécnico', city: 'Curitiba', country: 'Brasil', description: 'Centro de Computação Científica e Software Livre')
 Institution.create(name: 'University of Colorado at Boulder, Physics Education Technology (PhET)')
 Institution.create(name: 'TV Escola')
diff --git a/db/seeds/languages.rb b/db/seeds/languages.rb
index 1af892134f1f8256676d69140ef238207224f36e..fabf152c51d7b61492689cadfd2b6a5d5b373da2 100644
--- a/db/seeds/languages.rb
+++ b/db/seeds/languages.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 def languages
   [
     {name: 'Português', code: 'pt'},
diff --git a/db/seeds/licenses.rb b/db/seeds/licenses.rb
index b670e4583944e2a1f170138b1a45a4130d492ec5..c81f3f188a088ebb1ef98ecb4307187ea851b67d 100644
--- a/db/seeds/licenses.rb
+++ b/db/seeds/licenses.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 License.create(name: 'CC BY', description: 'Creative Commons Atribuição', url: 'https://creativecommons.org/licenses/by/4.0/deed.pt_BR', image_url: 'https://licensebuttons.net/l/by/3.0/88x31.png')
 License.create(name: 'CC BY-SA', description: 'Creative Commons Atribuição-CompartilhaIgual', url: 'https://creativecommons.org/licenses/by-sa/4.0/deed.pt_BR', image_url: 'https://licensebuttons.net/l/by-sa/3.0/88x31.png')
 License.create(name: 'CC BY-ND', description: 'Creative Commons Atribuição-SemDerivações', url: 'https://creativecommons.org/licenses/by-nd/4.0/deed.pt_BR', image_url: 'https://licensebuttons.net/l/by-nd/3.0/88x31.png')
diff --git a/db/seeds/object_types.rb b/db/seeds/object_types.rb
index 529b8a19ed0967b17b70eaa8c39bbca3742a8265..09f71d9028b8767b699e3d021b32b9d5b5e15416 100644
--- a/db/seeds/object_types.rb
+++ b/db/seeds/object_types.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 def types
   [
     {name:'Imagem'},
diff --git a/db/seeds/ratings.rb b/db/seeds/ratings.rb
index 12aa072435e8e189e279a58f48990521d2dcf4c4..bb806dcd7125fe11e31bd77feac6b3223169d3ee 100644
--- a/db/seeds/ratings.rb
+++ b/db/seeds/ratings.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 Rating.create(name: 'Contexto de Aplicação', description: 'Nível de formação proposto é adequado; Nível de dificuldade; Ambiente de Uso;')
 # Rating.create(name: 'Conteúdo', description: 'Claro e conciso; Altamente relevante; Demonstra conceitos básicos; Descreve bem os conceitos; Apresenta informações precisas e atuais; Apresenta alta qualidade (redação e edição);')
 # Rating.create(name: 'Didática', description: 'Define claramente os objetivos de aprendizagem; Identifica os pré-­requisitos; Reforça conceitos progressivamente; Demonstra relacionamento entre conceitos; Apresenta os conceitos de forma contextualizada; Faz bom uso dos recursos multimídia (som, imagens e vídeo);')
diff --git a/db/seeds/scores.rb b/db/seeds/scores.rb
index 5b37a9134944fa5dd94016035014e164f38732c3..3d75c8c2038ebf2cd2c0824ab61c076d66b77231 100644
--- a/db/seeds/scores.rb
+++ b/db/seeds/scores.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # objects
 Score.create(name: 'Média das avaliações', code: 'normalized_review_average', weight: 10, active: true, score_type: ['LearningObject', 'Collection'])
 Score.create(name: 'Thumbnail', code: 'normalized_thumbnail', weight: 3, active: true, score_type: ['LearningObject', 'Collection'])
diff --git a/db/seeds/subjects.rb b/db/seeds/subjects.rb
index 53f8ea95dc8a6139577bc1c714a5661a37751354..b259b475d86480074d2c6ea3259672599f5f4e0c 100644
--- a/db/seeds/subjects.rb
+++ b/db/seeds/subjects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 def subjects
   [
     {name:'Arte'},
diff --git a/docker-compose.yml b/docker-compose.yml
index 30949bc2f0c097cf57601245dfe95020b912cb49..107fbac4bc8028096540df9356344d956862b8a5 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 web:
   build: .
   volumes:
diff --git a/insert_header.rb b/insert_header.rb
new file mode 100644
index 0000000000000000000000000000000000000000..3559e6ff5ed9a574d73a0a9828a3722cb668f03e
--- /dev/null
+++ b/insert_header.rb
@@ -0,0 +1,101 @@
+#!/usr/bin/env ruby
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
+
+require 'fileutils'
+
+# array of tuples
+HEADER_FILENAME = 0
+EXTENSIONS = 1
+headers = [
+	# file with license commented with hashtags # like this
+	# codes with hashtag comments
+	["license.txt", [".rb", ".yml", ".rake", ".ru", ".sh"]]
+	# add other files that use other comment types
+	# add other extensions that use other comment types
+]
+
+# if your code commets aren't hashtags, create other license files
+# add new license file and file extensions to the array like this
+
+# headers = [
+# 	["license.slash.txt", [".ext_with_slash"]]
+# 	["license.hash.txt", [".ext_with_hash1", ".ext_with_hash2"]]
+# ]
+
+# inserts contents of file 'header_filename' into all files of type in the array 'extensions'
+def insert_header_on_filetypes(extensions, header_filename)
+	extensions.each { |e|
+		Dir.glob("#{Dir.pwd}/**/*#{e}").each { |filename|
+			new_f = File.join(File.dirname(filename), File.basename(header_filename) + ".tmp")
+
+			FileUtils.cp(header_filename, new_f)
+
+			puts "Appending " + filename + " into " + new_f
+			File.open(filename, "r") { |file|
+      		line = file.gets
+				# if file has shebang on first line
+				if line.start_with?("#!/")
+					File.open(new_f,"w") { |merged_file|
+						# adds the original file shebang #!/usr/bin/[..] as first line
+						merged_file << line
+
+						# writes header file
+						File.open(header_filename, "r") { |header_file|
+							while h_line = header_file.gets
+								merged_file << h_line
+							end
+						}
+
+						# writes remaining source file
+						while line = file.gets
+							merged_file << line
+						end
+					}
+				# if file doesn't have shebang on first line
+				else
+					File.open(new_f,"a") { |merged_file|
+						# appends source file to header_file
+						merged_file << line
+						while line = file.gets
+							merged_file << line
+						end
+					}
+				end
+			}
+
+			puts "Overwriting \"" + new_f + "\" into " + filename
+			File.rename(new_f, filename)
+			puts "done\n\n"
+		}
+	}
+end
+
+def checkFile(path)
+	if !File.file?(path)
+		puts "Header file specified #{File.basename(path)} does not exist on current directory, please create one"
+		exit
+	end
+end
+
+headers.each { |header|
+	checkFile(header[HEADER_FILENAME])
+	insert_header_on_filetypes(header[EXTENSIONS], header[HEADER_FILENAME])
+}
diff --git a/lib/log/database_logger.rb b/lib/log/database_logger.rb
index aafd1aea424458658360ccce993daeefb52bea4b..dcb093a6af7513d4d333ca0d6838ea551d663c39 100644
--- a/lib/log/database_logger.rb
+++ b/lib/log/database_logger.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Log
   class DatabaseLogger < Logger
 
diff --git a/lib/log/logging.rb b/lib/log/logging.rb
index 13577bef872a6250f17e6f2dc778a5a14ca18847..3038010838a02c2bd5580a9f18f7ffca0b7948fa 100644
--- a/lib/log/logging.rb
+++ b/lib/log/logging.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Log
   module Logging
 
diff --git a/lib/portalmec/sociable_tests.rb b/lib/portalmec/sociable_tests.rb
index 822eff0d8b9c7a83d9ecb43f5e579b2f01cbd1e2..6eda3d5aa781f63578cb483371d57d342622b9ea 100644
--- a/lib/portalmec/sociable_tests.rb
+++ b/lib/portalmec/sociable_tests.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'active_support'
 
 module Portalmec::SociableTests
diff --git a/lib/string.rb b/lib/string.rb
index 8b79f87d5297c5a94dc22b9be8d08b75b5b1cfc8..f220ae59c6932211ee04287d1246afb91c872e7d 100644
--- a/lib/string.rb
+++ b/lib/string.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 class String
 
   def to_bool
diff --git a/lib/tasks/attachment.rake b/lib/tasks/attachment.rake
index c63407518e649d50456bab9ef7d167b685f6a368..2d4ae4c14128a210dd386fb3154328f080fe7e98 100644
--- a/lib/tasks/attachment.rake
+++ b/lib/tasks/attachment.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 namespace :attachment do
   desc 'Change learning object\' default attachment to mp4'
   task video_mp4: :environment do
diff --git a/lib/tasks/attachment_maintaining_service.rake b/lib/tasks/attachment_maintaining_service.rake
index 13e3f6a29bccc88b0a2d3d09cb075d2edb5a5852..9ca73882a0d91fa6d5d153a49eafd1eac87d0685 100644
--- a/lib/tasks/attachment_maintaining_service.rake
+++ b/lib/tasks/attachment_maintaining_service.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'fileutils'
 
   namespace :attachment_maintaining_service do
diff --git a/lib/tasks/attachments.rake b/lib/tasks/attachments.rake
index 5cfcca9f4f22781175bd9a983174be3fd4f764f2..895a2f20848cd16f70600fc356ef9eadd4d3f6c9 100644
--- a/lib/tasks/attachments.rake
+++ b/lib/tasks/attachments.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 namespace :attachment do
   desc 'Set mime type where is unknown'
   task set_unknown: :environment do
diff --git a/lib/tasks/convert_video.rake b/lib/tasks/convert_video.rake
index 3f7de8beac0b3554a7bec3ba502dcdf94dbde8b8..8f5ac63ff0020416f23300e41015b67e4360ba76 100644
--- a/lib/tasks/convert_video.rake
+++ b/lib/tasks/convert_video.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 namespace :convert do
 
   desc "Convert videos to mp4"
diff --git a/lib/tasks/db.rake b/lib/tasks/db.rake
index 086e22b35b154adf0cde2cbe656a66aba3aadf0b..68772c93b14197726c71b922cccc553073954d96 100644
--- a/lib/tasks/db.rake
+++ b/lib/tasks/db.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 namespace :db do
   desc 'Dumps the database to backups'
   task :dump, [:filename] => :environment do |_task, args|
diff --git a/lib/tasks/import/educational_stage.rake b/lib/tasks/import/educational_stage.rake
index 818e9adabac89bc989b9fb064badcb9d0e151064..a22429b08a028bcc1312368cc1c1371d41b281a3 100644
--- a/lib/tasks/import/educational_stage.rake
+++ b/lib/tasks/import/educational_stage.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rainbow'
 require 'logger'
 
diff --git a/lib/tasks/import/institutions.rake b/lib/tasks/import/institutions.rake
index 13e3615f04866d526e421adebc99e012a73fa206..d2f1ef2e4112d8ccc31b0fac00c5fe8c2631853f 100644
--- a/lib/tasks/import/institutions.rake
+++ b/lib/tasks/import/institutions.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rainbow'
 
 namespace :import do
diff --git a/lib/tasks/import/learning_objects.rake b/lib/tasks/import/learning_objects.rake
index 1002ba94bc233722fc0b8f4b36445af7acc93025..0b9ae5583f74e64751ec058249810c320d493775 100644
--- a/lib/tasks/import/learning_objects.rake
+++ b/lib/tasks/import/learning_objects.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 namespace :import do
   desc 'import learning objects from dspace'
 
diff --git a/lib/tasks/import/subject.rake b/lib/tasks/import/subject.rake
index 866ded3223bd718709796b269ac9f3d64a794c81..e8c2165a32f7de1cc7ef35df236e23320911c400 100644
--- a/lib/tasks/import/subject.rake
+++ b/lib/tasks/import/subject.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rainbow'
 require 'logger'
 
diff --git a/lib/tasks/import/tags.rake b/lib/tasks/import/tags.rake
index ee3a84f1b1d6c66d492fa1031e54d15c34f1725c..eb581d065e8f2407cae979b2dc75e19376c7c287 100644
--- a/lib/tasks/import/tags.rake
+++ b/lib/tasks/import/tags.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rainbow'
 
 namespace :import do
diff --git a/lib/tasks/language.rake b/lib/tasks/language.rake
index ae99b5a92eb2e0b284696d46d72ae9006e6f1591..b0764658da08e804fd6e555a5366eee428aa1d95 100644
--- a/lib/tasks/language.rake
+++ b/lib/tasks/language.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 namespace :language do
   desc 'Clean languages that fail the validations'
   task :clean => :environment do
diff --git a/lib/tasks/object_type.rake b/lib/tasks/object_type.rake
index 05f0d8e8bd8bb671cedf662261daf3885751df82..f0d09f024298bd786c9ff53b2bfa3eebe4ca756c 100644
--- a/lib/tasks/object_type.rake
+++ b/lib/tasks/object_type.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 namespace :object_type do
   desc 'Destroy the types that are not defaults'
   task :restart => :environment do
diff --git a/lib/tasks/portalmec.rake b/lib/tasks/portalmec.rake
index aa60378c635d288acda80e4005a00db13180e84b..efa8e30504d30556ac334d3ab1d50515d26bbfbc 100644
--- a/lib/tasks/portalmec.rake
+++ b/lib/tasks/portalmec.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 namespace :portalmec do
   desc 'setup initial environment'
   task :setup do
diff --git a/lib/tasks/score.rake b/lib/tasks/score.rake
index 784815eac4af7d314a73902c282f9527e955b1d2..da9ff84bd0dbfae34dd7e41142d00fdafec569f9 100644
--- a/lib/tasks/score.rake
+++ b/lib/tasks/score.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 namespace :score do
   desc 'calculate all objects async'
   task calculate_all: :environment do
diff --git a/lib/tasks/tag_clustering.rake b/lib/tasks/tag_clustering.rake
index 414d2e53035605598c65c7d6e14432d6d4b8725f..c26721a5e708dd2841e228e2409b2270894242ae 100644
--- a/lib/tasks/tag_clustering.rake
+++ b/lib/tasks/tag_clustering.rake
@@ -1,3 +1,21 @@
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'json'
 namespace :tag do
   desc 'Generate tag clusters'
diff --git a/lib/tasks/tags.rake b/lib/tasks/tags.rake
index e87482c4a937584150e8c628d89528d5350fd075..d6e8e5e22df5fbb5626e82c2bb1f5da5ad565042 100644
--- a/lib/tasks/tags.rake
+++ b/lib/tasks/tags.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 namespace :tag do
 
   desc "Define topics"
diff --git a/lib/tasks/thumbnail.rake b/lib/tasks/thumbnail.rake
index 79c5b8de6f7aae224e03a709a352b7935c9829df..4ab597b73f89fda5bee048f5713eb7088f462694 100644
--- a/lib/tasks/thumbnail.rake
+++ b/lib/tasks/thumbnail.rake
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rainbow'
 
 namespace :thumbnail do
diff --git a/lib/thumbnail/generatable_strategy.rb b/lib/thumbnail/generatable_strategy.rb
index 24ebc3bdeea544876170309e002179379e70321f..185ba4e4653c522e51c72e9bb49f5469c1382e72 100644
--- a/lib/thumbnail/generatable_strategy.rb
+++ b/lib/thumbnail/generatable_strategy.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'mimemagic'
 
 ##
diff --git a/lib/thumbnail/strategies/image_thumbnail_generator.rb b/lib/thumbnail/strategies/image_thumbnail_generator.rb
index 62b75b5b4014a374b6e6352467e97e7b26193543..a5f7533d85e27ef31b1902d66a88a26ee450da6c 100644
--- a/lib/thumbnail/strategies/image_thumbnail_generator.rb
+++ b/lib/thumbnail/strategies/image_thumbnail_generator.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Thumbnail
   module Strategies
     class ImageThumbnailGenerator < ::Thumbnail::GeneratableStrategy
diff --git a/lib/thumbnail/strategies/pdf_thumbnail_generator.rb b/lib/thumbnail/strategies/pdf_thumbnail_generator.rb
index 0358707e3bda09777a01d68da3914366e3a3637f..736c3925f279d487c9771dd9c1bd1be2cb165d08 100644
--- a/lib/thumbnail/strategies/pdf_thumbnail_generator.rb
+++ b/lib/thumbnail/strategies/pdf_thumbnail_generator.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module Thumbnail
   module Strategies
     class PdfThumbnailGenerator < ::Thumbnail::GeneratableStrategy
diff --git a/lib/thumbnail/strategies/url_thumbnail_generator.rb b/lib/thumbnail/strategies/url_thumbnail_generator.rb
index 7cac3f8becc4097dbbc3efefe859030c4b161de6..e8a9dbb961e310d4df6408570b8e57ff21710b30 100644
--- a/lib/thumbnail/strategies/url_thumbnail_generator.rb
+++ b/lib/thumbnail/strategies/url_thumbnail_generator.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'screencap'
 
 module Thumbnail
diff --git a/lib/thumbnail/strategies/video_thumbnail_generator.rb b/lib/thumbnail/strategies/video_thumbnail_generator.rb
index 953b69d2851a2ac3db60632c1a220f0f0a0427bf..4f0ea0bf2115c6a5208c2d63266e6ddb7d212e8d 100644
--- a/lib/thumbnail/strategies/video_thumbnail_generator.rb
+++ b/lib/thumbnail/strategies/video_thumbnail_generator.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'streamio-ffmpeg'
 
 module Thumbnail
diff --git a/puma.sh b/puma.sh
index de64b5f9e8260e8fef3ee002651fff15501d5dc6..a84c29d7235f8f9f7a51edd316e17d422b390b0d 100644
--- a/puma.sh
+++ b/puma.sh
@@ -1,4 +1,23 @@
 #!/bin/bash
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 source /home/.rvm/scripts/rvm
 
 export PUMA_APP_DIR=/portalmec
diff --git a/sidekiq.sh b/sidekiq.sh
index a4234e9e2fbb95a6e2524ce97bba1a6d2aa5dde1..b3af902197588631b768fa9709a735fb0384fdfb 100644
--- a/sidekiq.sh
+++ b/sidekiq.sh
@@ -1,4 +1,23 @@
 #!/bin/bash
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 source /home/.rvm/scripts/rvm
 
 export PUMA_APP_DIR=/portalmec
diff --git a/spec/acceptance/activities_spec.rb b/spec/acceptance/activities_spec.rb
index d20694caab25dde3fd8206e6b51f7dc58214b9bc..47fec44ab2111cba5885dc387747e66e01930fb4 100644
--- a/spec/acceptance/activities_spec.rb
+++ b/spec/acceptance/activities_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 require 'shared/contexts'
 
diff --git a/spec/acceptance/bookmarks_spec.rb b/spec/acceptance/bookmarks_spec.rb
index dec741614d0dd06868354c2e1a82cee086a1bbf9..5838be7fa47d03b77f00669ef23df0644c98ab74 100644
--- a/spec/acceptance/bookmarks_spec.rb
+++ b/spec/acceptance/bookmarks_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 require 'shared/contexts'
 
diff --git a/spec/acceptance/collections_spec.rb b/spec/acceptance/collections_spec.rb
index f53cf13d6db6d57abce0b1254f32435dee8c7b4c..39227a8198d901dbd23e73a2c4259fe28ff6e29b 100644
--- a/spec/acceptance/collections_spec.rb
+++ b/spec/acceptance/collections_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 require 'shared/examples'
 require 'shared/contexts'
diff --git a/spec/acceptance/complaints_spec.rb b/spec/acceptance/complaints_spec.rb
index c3a1d9c5003ef2702fbcb1efef452925cd095ebe..ca26a39f1494b8afa72b0c94722a616ce71f31b2 100644
--- a/spec/acceptance/complaints_spec.rb
+++ b/spec/acceptance/complaints_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Complaints' do
diff --git a/spec/acceptance/contacts_spec.rb b/spec/acceptance/contacts_spec.rb
index dfbe7b4c1c5f34ed6318b7881c945b92def270db..5fed52ad0faaaee529c78a0d8786ba262ffd71cf 100644
--- a/spec/acceptance/contacts_spec.rb
+++ b/spec/acceptance/contacts_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Contacts' do
diff --git a/spec/acceptance/downloads_spec.rb b/spec/acceptance/downloads_spec.rb
index 63526173338a8362af4875c793b3b78982287b9e..948910cd14315b0f3bdbac0d2c05b303701bee90 100644
--- a/spec/acceptance/downloads_spec.rb
+++ b/spec/acceptance/downloads_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 require 'shared/contexts'
 
diff --git a/spec/acceptance/educational_stages_spec.rb b/spec/acceptance/educational_stages_spec.rb
index 31358de607b296f643cd855bfbe5e696b0394f9c..acfb826edfc3fae67643067c039fb93f258ad1f7 100644
--- a/spec/acceptance/educational_stages_spec.rb
+++ b/spec/acceptance/educational_stages_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Educational Stages' do
diff --git a/spec/acceptance/follows_spec.rb b/spec/acceptance/follows_spec.rb
index 640b6fcee2087419890384809366bbcab33ac3de..7d137f670d0f2b46e51cb5915bbebdf2c000ac99 100644
--- a/spec/acceptance/follows_spec.rb
+++ b/spec/acceptance/follows_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 require 'shared/contexts'
 
diff --git a/spec/acceptance/institutions_spec.rb b/spec/acceptance/institutions_spec.rb
index dd64f06306edbb3f09a7620c7f9f8e83fc567db5..4c32acd041d3c842f7059c5dbb9e687a56d2b7e6 100644
--- a/spec/acceptance/institutions_spec.rb
+++ b/spec/acceptance/institutions_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Institutions' do
diff --git a/spec/acceptance/languages_spec.rb b/spec/acceptance/languages_spec.rb
index e1a836b241b210f16d25aebe3b5f335f0892c52e..3d907a023e3615c18419afa2265c0edc00a47220 100644
--- a/spec/acceptance/languages_spec.rb
+++ b/spec/acceptance/languages_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Languages' do
diff --git a/spec/acceptance/learning_objects_spec.rb b/spec/acceptance/learning_objects_spec.rb
index 13a8a4f2019d4e938d9b0ef9621b6bd70185530c..f49e95bf1233ac4620ad74ea20bfe9cfce1b81fc 100644
--- a/spec/acceptance/learning_objects_spec.rb
+++ b/spec/acceptance/learning_objects_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 require 'shared/contexts'
 
diff --git a/spec/acceptance/mime_types_spec.rb b/spec/acceptance/mime_types_spec.rb
index 5ba38318a7b294633c06b7f4eb8fea5ae8c43b28..db3fb204b83610f59386a09a0535892e1d7a7214 100644
--- a/spec/acceptance/mime_types_spec.rb
+++ b/spec/acceptance/mime_types_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Mime Types' do
diff --git a/spec/acceptance/object_types_spec.rb b/spec/acceptance/object_types_spec.rb
index 35bb936faca04eed4ff51e4aac75a5fe16f87430..58ec17c74f4d24b41980daab981d205ef0d0caea 100644
--- a/spec/acceptance/object_types_spec.rb
+++ b/spec/acceptance/object_types_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Object Type' do
diff --git a/spec/acceptance/reviews_spec.rb b/spec/acceptance/reviews_spec.rb
index cc53d363d48f6ae360fab49db3c1d07ec8314d56..95cdd2fca3491bd53999c1bef0be2cfb0acbf22e 100644
--- a/spec/acceptance/reviews_spec.rb
+++ b/spec/acceptance/reviews_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 require 'shared/contexts'
 
diff --git a/spec/acceptance/searches_spec.rb b/spec/acceptance/searches_spec.rb
index 967a2cab98dd32f5630475d6f4430422e09e4f1a..483f75a0436ceb0427285e8ffff4e6b3b354491b 100644
--- a/spec/acceptance/searches_spec.rb
+++ b/spec/acceptance/searches_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Searches' do
diff --git a/spec/acceptance/statistics_spec.rb b/spec/acceptance/statistics_spec.rb
index bc1ece8e14d239574ec80a41224071cd666c0f4e..46c4f2a38e754630bc39b38681ca8cf44576f632 100644
--- a/spec/acceptance/statistics_spec.rb
+++ b/spec/acceptance/statistics_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 require 'shared/contexts'
 
diff --git a/spec/acceptance/subjects_spec.rb b/spec/acceptance/subjects_spec.rb
index 0919110bbe7ce0f63acd6b0876ccd31142437b74..db4b3e617ddc242dca43a915a0ef3303aa852481 100644
--- a/spec/acceptance/subjects_spec.rb
+++ b/spec/acceptance/subjects_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Subjects' do
diff --git a/spec/acceptance/suggestions_spec.rb b/spec/acceptance/suggestions_spec.rb
index 9ed9a4493aaf3ec01ed08f5008b41aa6a5eeb7f3..dbff238140ea4172881940c6cbeec13cdb6b6c0b 100644
--- a/spec/acceptance/suggestions_spec.rb
+++ b/spec/acceptance/suggestions_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Suggestions' do
diff --git a/spec/acceptance/tags_spec.rb b/spec/acceptance/tags_spec.rb
index 96948d83860c8e56b871f741367929771971d2ca..f6a1e4afc308c42439c4c56c171a9ddde73958da 100644
--- a/spec/acceptance/tags_spec.rb
+++ b/spec/acceptance/tags_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 
 resource 'Tags' do
diff --git a/spec/acceptance/users_spec.rb b/spec/acceptance/users_spec.rb
index 47879acd8d98bd0bf842b864b2727fdf25c0743f..1bca1353fd616107955ea377aa9dafa063d7c0e0 100644
--- a/spec/acceptance/users_spec.rb
+++ b/spec/acceptance/users_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'acceptance_helpers'
 require 'shared/contexts'
 
diff --git a/spec/acceptance_helpers.rb b/spec/acceptance_helpers.rb
index 7c13a08198335264c1403e16e5d521c126714ee9..7854ea49493e2022258fc2d33fdb8513f2ad2277 100644
--- a/spec/acceptance_helpers.rb
+++ b/spec/acceptance_helpers.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rails_helper'
 require 'rspec_api_documentation'
 require 'rspec_api_documentation/dsl'
diff --git a/spec/controller_helpers.rb b/spec/controller_helpers.rb
index 50b1e4f113d7ca7738575c8df8c262fae13a734c..c2aa74ba6904f626e85a66e24f89eca590c4668b 100644
--- a/spec/controller_helpers.rb
+++ b/spec/controller_helpers.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 module ControllerHelpers
   def auth_application(app)
     request.headers['PortalMEC-AppID'] = app.application_id
diff --git a/spec/controllers/v1/collections_controller_spec.rb b/spec/controllers/v1/collections_controller_spec.rb
index 7f4d4ef05acb4302c4c97b5fde8e8f013ff64afd..9b56ab238df3366b64cbfe098fe44be0ad86ffa0 100644
--- a/spec/controllers/v1/collections_controller_spec.rb
+++ b/spec/controllers/v1/collections_controller_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rails_helper'
 
 RSpec.describe V1::CollectionsController, type: :controller do
diff --git a/spec/controllers/v1/omniauth_callbacks_controller_spec.rb b/spec/controllers/v1/omniauth_callbacks_controller_spec.rb
index a7bb409edcb96cebfd6491d500b11824d5a06f11..5bf2c325b27a6647d163b8b6004daa9bcd84257f 100644
--- a/spec/controllers/v1/omniauth_callbacks_controller_spec.rb
+++ b/spec/controllers/v1/omniauth_callbacks_controller_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rails_helper'
 
 RSpec.describe V1::OmniauthCallbacksController, type: :controller do
diff --git a/spec/controllers/v1/statistics_controller_spec.rb b/spec/controllers/v1/statistics_controller_spec.rb
index 933e8f29b0e26d551afc95540af22fdf6b01c589..84c3606117d8bba0c084f7019d42df4ace0be080 100644
--- a/spec/controllers/v1/statistics_controller_spec.rb
+++ b/spec/controllers/v1/statistics_controller_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rails_helper'
 
 RSpec.describe StatisticsController, type: :controller do
diff --git a/spec/factories/applications.rb b/spec/factories/applications.rb
index badcbdbec12f586ed5ddc0dadbe7e7b733ee6f8d..8cb1c27e6a8dcb3bbd8aec36d03d7fb95b84b7ec 100644
--- a/spec/factories/applications.rb
+++ b/spec/factories/applications.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
 
   factory :application do |f|
diff --git a/spec/factories/attachments.rb b/spec/factories/attachments.rb
index 4141d1e6493599412a40b9555cfbcdad6bef0d49..e8826fb61b8644830003830779dc1ee404b2f26d 100644
--- a/spec/factories/attachments.rb
+++ b/spec/factories/attachments.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
 
   factory :attachment, class: LearningObject::Attachment do |f|
diff --git a/spec/factories/bookmarks.rb b/spec/factories/bookmarks.rb
index 2f3ec57c938e4c6ecf5e76fe61553177ae711a80..662edfe626d62cdc12c862b79e2581494eebce07 100644
--- a/spec/factories/bookmarks.rb
+++ b/spec/factories/bookmarks.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :bookmark do
     bookmarkable
diff --git a/spec/factories/collection_items.rb b/spec/factories/collection_items.rb
index 74a11af8d8c70e5b1fa2aac90946eb6b440f7976..b426b4b9090a712340d25bca9b74150cb4442d04 100644
--- a/spec/factories/collection_items.rb
+++ b/spec/factories/collection_items.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :collection_item do
     collection
diff --git a/spec/factories/collections.rb b/spec/factories/collections.rb
index e54dded5cd6bddb12e067173540290335c8ca872..c3ad4022a3e5e3b6215a33e8bafcc7912fb0d097 100644
--- a/spec/factories/collections.rb
+++ b/spec/factories/collections.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :collection do |f|
     owner
diff --git a/spec/factories/complaint_reasons.rb b/spec/factories/complaint_reasons.rb
index 3ac8f64da5a02a8e6bcf9a7ec7943415f6389efa..0401ef1a307bc4801686865a2e4a93b0056c9184 100644
--- a/spec/factories/complaint_reasons.rb
+++ b/spec/factories/complaint_reasons.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :complaint_reason do
     reason { Faker::Lorem.sentence }
diff --git a/spec/factories/complaints.rb b/spec/factories/complaints.rb
index 8ae27a46454e2d0ca4848d1b75eca89325303b95..60acea27b32a45e6a7a5047aba0205b36e3fd919 100644
--- a/spec/factories/complaints.rb
+++ b/spec/factories/complaints.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :complaint do
     user
diff --git a/spec/factories/contacts.rb b/spec/factories/contacts.rb
index 040d4ba854f6e5c50da4c588342b10d42e23ab22..cfb889a1c60d6adf7cf4ea7c39eaa551b46ffc3f 100644
--- a/spec/factories/contacts.rb
+++ b/spec/factories/contacts.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :contact do |f|
     f.name { Faker::Name.name }
diff --git a/spec/factories/downloads.rb b/spec/factories/downloads.rb
index c4019c9f923dc119ff57c9667098e76f6a094ac2..07c04bc1c96472f493dd4722f995aec016d8abd1 100644
--- a/spec/factories/downloads.rb
+++ b/spec/factories/downloads.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
 
   factory :download do |f|
diff --git a/spec/factories/educational_stages.rb b/spec/factories/educational_stages.rb
index 2220d4a01de6f71c378eb0a2eef8b6007b5e3551..638dbf8445bdd772c33153f2579ab7b750f464e5 100644
--- a/spec/factories/educational_stages.rb
+++ b/spec/factories/educational_stages.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :educational_stage do
     sequence(:name) { |i| "EducationalStage #{i}" }
diff --git a/spec/factories/follows.rb b/spec/factories/follows.rb
index 1610730f1c0a4a9f4345b460689a7bfa5be983e7..5345c62292b2f0af4b8e26beab383da800d0ed93 100644
--- a/spec/factories/follows.rb
+++ b/spec/factories/follows.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :follow do
     user
diff --git a/spec/factories/institutions.rb b/spec/factories/institutions.rb
index 734bf3b978b93a9d6f1fae7e103f526b3be46fad..30ebe300e87a83a50018dfc521121dc4c3b5ca84 100644
--- a/spec/factories/institutions.rb
+++ b/spec/factories/institutions.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :institution do
     name { Faker::Name.name }
diff --git a/spec/factories/languages.rb b/spec/factories/languages.rb
index 9c027beee24eeb172989629d236a9253ee7fdc10..805d86ca6f55b6e018ebc7c43685e08fae15f1f8 100644
--- a/spec/factories/languages.rb
+++ b/spec/factories/languages.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :language do |l|
     l.name { Faker::Address.country }
diff --git a/spec/factories/learning_objects.rb b/spec/factories/learning_objects.rb
index bc966b4660389c365d986e1abc07d14ff6202b99..7214dd5d492b2ed3cb3d65bd9ab7fb80e158cd4a 100644
--- a/spec/factories/learning_objects.rb
+++ b/spec/factories/learning_objects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :learning_object, aliases: [:complainable, :downloadable, :reviewable, :stageable, :subjectable, :likeable, :collectionable, :bookmarkable] do
     sequence(:name) { |i| "LearningObject #{i}" }
diff --git a/spec/factories/likes.rb b/spec/factories/likes.rb
index efa337e8dd3641cb330165c5666c83463aa4be31..66272811454c78c75cecb1e4ee40d64e01072d2d 100644
--- a/spec/factories/likes.rb
+++ b/spec/factories/likes.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :like do
     likeable
diff --git a/spec/factories/mime_types.rb b/spec/factories/mime_types.rb
index b10761335261377d3ada9cb300f3cee690f7acc6..5c69ca7fa30d0f8f72e4b04560ffa3031e1d9752 100644
--- a/spec/factories/mime_types.rb
+++ b/spec/factories/mime_types.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :mime_type do |m|
     m.mime_type { Faker::File.mime_type}
diff --git a/spec/factories/object_types.rb b/spec/factories/object_types.rb
index 015e4801fa3784805cab9424bc8a3ff8215a2558..71f185b2db705ad3231f6553af6b5cc9899426c3 100644
--- a/spec/factories/object_types.rb
+++ b/spec/factories/object_types.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :object_type do |m|
     m.name { Faker::Name::name}
diff --git a/spec/factories/ratings.rb b/spec/factories/ratings.rb
index 299a31dddb7b761c1661219d6d5337736cfbb327..a90a75d0c545c49db8cea90efea63ad14ebf5898 100644
--- a/spec/factories/ratings.rb
+++ b/spec/factories/ratings.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :rating do
     name { Faker::Lorem.word }
diff --git a/spec/factories/review_ratings.rb b/spec/factories/review_ratings.rb
index 4a3e9ba482e27d9fab341cd9d5ae0cc139917682..811afdbb9318a65ff630c5c51090e8ad20447eef 100644
--- a/spec/factories/review_ratings.rb
+++ b/spec/factories/review_ratings.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :review_rating do
     rating
diff --git a/spec/factories/reviews.rb b/spec/factories/reviews.rb
index e0d3b49d44c04bdb0af7e04f2adae587ee5c64b0..8a6955a5df1fe7c82717a183d62dca52fa6b93c4 100644
--- a/spec/factories/reviews.rb
+++ b/spec/factories/reviews.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :review do
     user
diff --git a/spec/factories/roles.rb b/spec/factories/roles.rb
index 575d1a8461c2c06f34480ae1bad860c72d5a5c4e..6a40c66b8dceb31aa0a70dadd5d0b21e5c68ca05 100644
--- a/spec/factories/roles.rb
+++ b/spec/factories/roles.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :teacher_role, class: Role do |r|
     r.name 'teacher'
diff --git a/spec/factories/stages_relation.rb b/spec/factories/stages_relation.rb
index 2d98ac131385981f42454918087877dd6efe0855..99d9e7fb824fe59aa2253a2900739a207ae5227e 100644
--- a/spec/factories/stages_relation.rb
+++ b/spec/factories/stages_relation.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :stage_relation do
     stageable
diff --git a/spec/factories/subjects.rb b/spec/factories/subjects.rb
index 33b6d895076c0ca0b424366cfbf6a9e141bab60d..7703552bb5a01a904e0939476b020ce09b215e9b 100644
--- a/spec/factories/subjects.rb
+++ b/spec/factories/subjects.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :subject do
     name { Faker::Name.name }
diff --git a/spec/factories/subjects_relation.rb b/spec/factories/subjects_relation.rb
index c33487bc4340b3287b7923297b1d4abe9abc13ef..f4ad39257d1195e46636fccb65490fb2052b4ba2 100644
--- a/spec/factories/subjects_relation.rb
+++ b/spec/factories/subjects_relation.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :subject_relation do
     subjectable
diff --git a/spec/factories/suggestions.rb b/spec/factories/suggestions.rb
index 9b5eb58355ddf18fafa4dd06bf5ffe53dcaa094d..3e740fb39eab4246654e44da9ede356d01fe4d90 100644
--- a/spec/factories/suggestions.rb
+++ b/spec/factories/suggestions.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :suggestion do |f|
     f.name { Faker::Lorem.word }
diff --git a/spec/factories/taggings.rb b/spec/factories/taggings.rb
index 5225d2fa45a810dcfade2efb0f5d7ed4554a34bc..4b07f589896c1404c5330e793c3146ff75795c30 100644
--- a/spec/factories/taggings.rb
+++ b/spec/factories/taggings.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :tagging do
     tag
diff --git a/spec/factories/tags.rb b/spec/factories/tags.rb
index 3ed954937140bf44357e00cf81bc7483e4e2d3ed..f0ebfbdc84e1fced6e405af37959e7845090c2f0 100644
--- a/spec/factories/tags.rb
+++ b/spec/factories/tags.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :tag do
     sequence(:name) { |i| "Tag #{i}" }
diff --git a/spec/factories/users.rb b/spec/factories/users.rb
index cb315165c2349367a034060dbde63af8c7834078..2a6965dd8a39f839a56569c5f83f181bbf5726dc 100644
--- a/spec/factories/users.rb
+++ b/spec/factories/users.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 FactoryGirl.define do
   factory :user, aliases: [:owner, :publisher, :tagger, :followable] do
     name { Faker::Name.name }
diff --git a/spec/models/application_spec.rb b/spec/models/application_spec.rb
index eb2897f98637d5e51c25fbecb6fa4416e3b026cb..a4d5ce73e7dbd2d6e3cb0a4a9575ffe7fe4b8203 100644
--- a/spec/models/application_spec.rb
+++ b/spec/models/application_spec.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rails_helper'
 
 RSpec.describe Application, type: :model do
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 638e54fe5fdb94f2bceea565d67ce63072df92c1..b77afee327c60deb6b5b44a3f94e3ff126f6dcbf 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # This file is copied to spec/ when you run 'rails generate rspec:install'
 ENV['RAILS_ENV'] ||= 'test'
 require File.expand_path('../../config/environment', __FILE__)
diff --git a/spec/shared/contexts.rb b/spec/shared/contexts.rb
index 6fe0df567a93d0dadba7f94dd581d5e1677cf40d..18feed17f325a5e6febb3398ce73f5d72866713d 100644
--- a/spec/shared/contexts.rb
+++ b/spec/shared/contexts.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'rails_helper'
 require 'rspec_api_documentation'
 require 'rspec_api_documentation/dsl'
diff --git a/spec/shared/examples.rb b/spec/shared/examples.rb
index 130901e0ebae3edba8257d5ee844ec1367ee9cbe..09a2f49aa3c2cf99fab6575474f1a4502816ea34 100644
--- a/spec/shared/examples.rb
+++ b/spec/shared/examples.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 RSpec.shared_examples "a list" do |url, object, klass|
   get url do
     parameter :limit, 'Limit of #{object}'
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index af81652b19c90697944d8761c50c738b69be2fe7..8e3e5fb6ed3071cb899d576529f0452b54f4c74c 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'devise'
 require 'public_activity/testing'
 
diff --git a/start_puma.sh b/start_puma.sh
index 056882f3d52623eefec7b98eee4a9a12beacd3d7..3cbfc0cfa935311bc9d5bb2bfb78fad8e60022aa 100644
--- a/start_puma.sh
+++ b/start_puma.sh
@@ -1,4 +1,23 @@
 #!/bin/bash
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 source $PUMA_APP_DIR/config/env_vars.sh
 
 cd $PUMA_APP_DIR
diff --git a/stop_puma.sh b/stop_puma.sh
index 3d0833f24f0f24fb1dad3a601d80bfe7957a4b07..a7e19203136ae0cbdaa26e2189f2e729cb5b58ea 100644
--- a/stop_puma.sh
+++ b/stop_puma.sh
@@ -1,4 +1,23 @@
 #!/bin/bash
 
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
+
 cd $PUMA_APP_DIR
 pumactl -P shared/sockets/pumactl.sock stop
diff --git a/test/controllers/v1/collections_controller_test.rb b/test/controllers/v1/collections_controller_test.rb
index 69faa2d019d01db395ea916d7be572572c5be448..b3e4c483a3df37596c3716d4469c35b9409d29c0 100644
--- a/test/controllers/v1/collections_controller_test.rb
+++ b/test/controllers/v1/collections_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::CollectionsControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/complaints_controller_test.rb b/test/controllers/v1/complaints_controller_test.rb
index 0af89bdb7458dc272f78856f98600770560bc222..48da143340959b09cd8f0085fd7f1c189c829b94 100644
--- a/test/controllers/v1/complaints_controller_test.rb
+++ b/test/controllers/v1/complaints_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::ComplaintControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/feed_controller_test.rb b/test/controllers/v1/feed_controller_test.rb
index 84ff5f191c08920dd0637d22e92170e199089dc0..9331a53708c9ca6087f23354550f3ec321aa59e1 100644
--- a/test/controllers/v1/feed_controller_test.rb
+++ b/test/controllers/v1/feed_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::FeedControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/institutions_controller_test.rb b/test/controllers/v1/institutions_controller_test.rb
index d1f9d0e207188ea0e2da641542b80e78c791856c..a8a3b3bc973b7290b1409f97207041c5b30f93c6 100644
--- a/test/controllers/v1/institutions_controller_test.rb
+++ b/test/controllers/v1/institutions_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::InstitutionControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/languages_controller_test.rb b/test/controllers/v1/languages_controller_test.rb
index 7afb0fd1f4fa88e6da5868355fd951c4f056229b..3c024a8d8ecd6646ecc4e234832c645e7d9f4326 100644
--- a/test/controllers/v1/languages_controller_test.rb
+++ b/test/controllers/v1/languages_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::LanguagesControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/learning_objects_controller_test.rb b/test/controllers/v1/learning_objects_controller_test.rb
index 850a0d112959c6d40a3a4c8f312c4a73386bbc3f..12accaaafd68c2e050cbf33d7039411391e8a1e9 100644
--- a/test/controllers/v1/learning_objects_controller_test.rb
+++ b/test/controllers/v1/learning_objects_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::LearningObjectsControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/licenses_controller_test.rb b/test/controllers/v1/licenses_controller_test.rb
index 51486632490459abcb481517d17a51e705663a67..9fffd5a93d73605075efa5675632634bfc63228d 100644
--- a/test/controllers/v1/licenses_controller_test.rb
+++ b/test/controllers/v1/licenses_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::LicensesControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/mime_types_controller_test.rb b/test/controllers/v1/mime_types_controller_test.rb
index 4eb92d28d620344e4f770dae9f2b729f62046eac..22f723b665325cb947306532325885f9b9883d60 100644
--- a/test/controllers/v1/mime_types_controller_test.rb
+++ b/test/controllers/v1/mime_types_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::MimeTypesControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/object_types_controller_test.rb b/test/controllers/v1/object_types_controller_test.rb
index 0f478ddcfeb3875cd397df605f1e7784fbad1d18..a96ccd9d979f06b3d7407765f13a31e1813c9604 100644
--- a/test/controllers/v1/object_types_controller_test.rb
+++ b/test/controllers/v1/object_types_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::ObjectTypesControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/ratings_controller_test.rb b/test/controllers/v1/ratings_controller_test.rb
index d4cbbab0e016dba6912881dbd1800ed43a8a6b79..de2a84af3035b63f4e6581f217d15d46742891a4 100644
--- a/test/controllers/v1/ratings_controller_test.rb
+++ b/test/controllers/v1/ratings_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::RatingControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/reviews_controller_test.rb b/test/controllers/v1/reviews_controller_test.rb
index bc641f4445920de9b9568ecd19f4c5cb84391c61..f21467d47d7f2ee31a72af117aace2fbb2232fda 100644
--- a/test/controllers/v1/reviews_controller_test.rb
+++ b/test/controllers/v1/reviews_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::ReviewsControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/scores_controller_test.rb b/test/controllers/v1/scores_controller_test.rb
index 43a110db16198163720c2fa07c71f27d8671b961..631bcad4690d1187f6ffb6ee177e32d72edf9f8a 100644
--- a/test/controllers/v1/scores_controller_test.rb
+++ b/test/controllers/v1/scores_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::ScoresControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/search_controller_test.rb b/test/controllers/v1/search_controller_test.rb
index a752ea6b868d3437e1d167b894af86229470be01..0d671ec4dd251e1ca895ff5214c7a913fc8bf715 100644
--- a/test/controllers/v1/search_controller_test.rb
+++ b/test/controllers/v1/search_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::SearchControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/users/bookmarks_controller_test.rb b/test/controllers/v1/users/bookmarks_controller_test.rb
index 933fb8ba365eada2f7b63a7cb2b388ac440fa78b..8ce1e26fc1de528b1b9163cff3fc19fb8822463e 100644
--- a/test/controllers/v1/users/bookmarks_controller_test.rb
+++ b/test/controllers/v1/users/bookmarks_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::Users::BookmarksControllerTest < ActionController::TestCase
diff --git a/test/controllers/v1/users_controller_test.rb b/test/controllers/v1/users_controller_test.rb
index 6de53ae5326aaab71be5ff236a99b25fe7e68e8d..c050a5505bac87514dbdb15843614d2763290f40 100644
--- a/test/controllers/v1/users_controller_test.rb
+++ b/test/controllers/v1/users_controller_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class V1::UsersControllerTest < ActionController::TestCase
diff --git a/test/fixtures/applications.yml b/test/fixtures/applications.yml
index 190a8c980878489cff21c8824be220f25859eced..881e2ec4803a6c4bceff61225b74113541b61bc4 100644
--- a/test/fixtures/applications.yml
+++ b/test/fixtures/applications.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 test_app:
   name: 'test app'
   domain: 'test.host'
diff --git a/test/fixtures/collection_item.yml b/test/fixtures/collection_item.yml
index 2a2af3f090238b6b12791c937675083f35bf5fb4..0b2ba19660401ca6446d5387cedb5ddccd5f1ee1 100644
--- a/test/fixtures/collection_item.yml
+++ b/test/fixtures/collection_item.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 item1:
   collectionable_id: :user_lo.id (User)
   collectionable_type: 'LearningObject'
diff --git a/test/fixtures/collections.yml b/test/fixtures/collections.yml
index 2b0c62981889bb5ca78f84a2c0ec6ead32d414ae..be81dfa54682ffec9c1a0dfed9cebf1648babe19 100644
--- a/test/fixtures/collections.yml
+++ b/test/fixtures/collections.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ufpr:
   name: 'UFPR collection'
   owner: john (User)
diff --git a/test/fixtures/complaint_reasons.yml b/test/fixtures/complaint_reasons.yml
index 133500e5f79ad6d83f950f617223dd77d9b3e484..ff35dffba1548a27694bdfe9eb0a924a1742a1a9 100644
--- a/test/fixtures/complaint_reasons.yml
+++ b/test/fixtures/complaint_reasons.yml
@@ -1,2 +1,21 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 reason_1:
   reason: 'inapropriado'
diff --git a/test/fixtures/educational_stages.yml b/test/fixtures/educational_stages.yml
index 74f833f15183872f719b3284537f30af54040f58..a1efd635dca0ac70db868e959f2c5b04fac15707 100644
--- a/test/fixtures/educational_stages.yml
+++ b/test/fixtures/educational_stages.yml
@@ -1,2 +1,21 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 stage_teste:
   name: "teste"
diff --git a/test/fixtures/institutions.yml b/test/fixtures/institutions.yml
index 78824337741ddb1c5be98fdbe6b36cbdc483b5bd..435b8ce0fc2c3e30851fe672a84082c8446eca89 100644
--- a/test/fixtures/institutions.yml
+++ b/test/fixtures/institutions.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ufpr:
   name: 'UFPR institution'
   address: 'politecnico'
diff --git a/test/fixtures/languages.yml b/test/fixtures/languages.yml
index bec61bf35849a5f56e0ac7ade121a0ead59a6507..90d250779e0555d6689e33c1f5d25c841a4d4173 100644
--- a/test/fixtures/languages.yml
+++ b/test/fixtures/languages.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 portuguese:
   name: 'Português'
   code: 'pt_BR'
\ No newline at end of file
diff --git a/test/fixtures/learning_objects.yml b/test/fixtures/learning_objects.yml
index 1dec107ce313f68f7044532a0448021d84d1c475..053f7b23b3fc511bf6fac13a03b3516a5e9305ed 100644
--- a/test/fixtures/learning_objects.yml
+++ b/test/fixtures/learning_objects.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: learning_objects
diff --git a/test/fixtures/licenses.yml b/test/fixtures/licenses.yml
index 0d9a9e4790f4c916eb726c85610dbc31950bed49..23515d6e300e700b0ce4a8c8829746a189eadce4 100644
--- a/test/fixtures/licenses.yml
+++ b/test/fixtures/licenses.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
 
 one:
diff --git a/test/fixtures/mime_types.yml b/test/fixtures/mime_types.yml
index 5da245b5420275ab365b146e379e6c55d499c45c..084c802612a63f0a9eea4a29ce43d85236e5b8af 100644
--- a/test/fixtures/mime_types.yml
+++ b/test/fixtures/mime_types.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 jpg:
   extension: '.jpg'
   mime_type: 'image/jpg'
diff --git a/test/fixtures/object_types.yml b/test/fixtures/object_types.yml
index 83755e6b79d655084d18fbe2936b0c71dad66844..d7672dc694521cff6c4d25c414d11e8a695bf2a9 100644
--- a/test/fixtures/object_types.yml
+++ b/test/fixtures/object_types.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 image:
   name: 'Imagem'
   mime_types: jpg (MimeType)
diff --git a/test/fixtures/ratings.yml b/test/fixtures/ratings.yml
index b609fa706768f72657b7af7ef481a52f3cc7702e..1dbb1efb688a0f8f325833f1edf01f072fc782bf 100644
--- a/test/fixtures/ratings.yml
+++ b/test/fixtures/ratings.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 usability:
   name: 'usability'
 
diff --git a/test/fixtures/review_ratings.yml b/test/fixtures/review_ratings.yml
index ae063f10878fb011021b2096b4ed3993b2eef703..4507865151110d0060abec0a63d8a4b3d554bb84 100644
--- a/test/fixtures/review_ratings.yml
+++ b/test/fixtures/review_ratings.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 one_collection_review_rating:
   review: collection (Review)
   rating: usability (Rating)
diff --git a/test/fixtures/reviews.yml b/test/fixtures/reviews.yml
index abde352daa9a74b74f8c5e99d848887dba54acb7..53b151424a3cc82ca3fde98b6590f3f7b99b75ee 100644
--- a/test/fixtures/reviews.yml
+++ b/test/fixtures/reviews.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 collection:
   name: 'my collection review'
   description: 'testing a review about collection'
diff --git a/test/fixtures/roles.yml b/test/fixtures/roles.yml
index bf6175cd012f27827d2a648d695cb07f504c16f3..b951e66576b7256dd44f9dc6da9d74c89e2aeb8a 100644
--- a/test/fixtures/roles.yml
+++ b/test/fixtures/roles.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 teacher:
   name: 'teacher'
 
diff --git a/test/fixtures/score_user_categories.yml b/test/fixtures/score_user_categories.yml
index 12393cb656b20318d332711f1d09561dc0d0f867..01506650b5fb65d8902df94ea0b8a05a541d0a01 100644
--- a/test/fixtures/score_user_categories.yml
+++ b/test/fixtures/score_user_categories.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: score_user_categories
diff --git a/test/fixtures/scores.yml b/test/fixtures/scores.yml
index 26565d3cc89a67e046200eeba03430f3079ea091..f6fc54e970bf8fc06662c37a34b00cbec44a2063 100644
--- a/test/fixtures/scores.yml
+++ b/test/fixtures/scores.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: scores
diff --git a/test/fixtures/subjects.yml b/test/fixtures/subjects.yml
index 2cbfceca3ea574404862329246e0ea2232a21e9d..294f9e54cbe438969067b59613e7b1fc0599a77e 100644
--- a/test/fixtures/subjects.yml
+++ b/test/fixtures/subjects.yml
@@ -1,2 +1,21 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 subject_one:
   name: 'teste'
diff --git a/test/fixtures/taggings.yml b/test/fixtures/taggings.yml
index caf6e63965848de54be3852a03c96b35d5a2d274..1f670e4ae6ff7939c3a3e7bfa5e73e75e1c5d680 100644
--- a/test/fixtures/taggings.yml
+++ b/test/fixtures/taggings.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 tagging_one:
   tag: tag_one
   tagger: john (User)
diff --git a/test/fixtures/tags.yml b/test/fixtures/tags.yml
index e3ee9f4b90b5495ac02b69ab780d87abce4826e0..4937b2a429c1579b6006680f7cbbcd5b643ca5f3 100644
--- a/test/fixtures/tags.yml
+++ b/test/fixtures/tags.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 tag_one:
   name: 'Português'
 tag_two:
diff --git a/test/fixtures/user_categories.yml b/test/fixtures/user_categories.yml
index b3b825ff71bc0fb75730ce2760883d921f23c442..1ab7cb19c8c7052d72ecf463834c40cb9004863b 100644
--- a/test/fixtures/user_categories.yml
+++ b/test/fixtures/user_categories.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: user_categories
diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml
index daf0ffed560cccb4fe1989e582351b917cf082f2..b4d1a1d4fe49328bc254af218aa7fbc09920df0f 100644
--- a/test/fixtures/users.yml
+++ b/test/fixtures/users.yml
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 john:
   name: 'John'
   email: 'john@test.com'
diff --git a/test/models/application_test.rb b/test/models/application_test.rb
index f959b7a8b0f457cc11eedd3b6f1e3e0639c85ef5..da2a27f28f74a82ef12f6840fbcbc63d4ede1e29 100644
--- a/test/models/application_test.rb
+++ b/test/models/application_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class ApplicationTest < ActiveSupport::TestCase
diff --git a/test/models/bookmark_test.rb b/test/models/bookmark_test.rb
index 41533dbb3191d7939a99dcc20ce5bb6ca75ff03e..416bc02032f8a491f9ffb27382889ea0d286ad7e 100644
--- a/test/models/bookmark_test.rb
+++ b/test/models/bookmark_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: bookmarks
diff --git a/test/models/carousel_test.rb b/test/models/carousel_test.rb
index 663ca53b191aceb35dbdd19681d1bc9aca0177ce..f05dbb41de51139b0942254d08c5f9c11b50a6a0 100644
--- a/test/models/carousel_test.rb
+++ b/test/models/carousel_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: carousels
diff --git a/test/models/collection_item_test.rb b/test/models/collection_item_test.rb
index 26cf5e85756c1e52375525d4150e09fc6a698582..2f51b589ae374f0e0acb1d10102b8a632fc92548 100644
--- a/test/models/collection_item_test.rb
+++ b/test/models/collection_item_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: collection_items
diff --git a/test/models/collection_test.rb b/test/models/collection_test.rb
index 242f37dbf6ab6b9861e98ca460fce83feb480b72..f12719030c19974dfa9f2bb796d20a325a5c8625 100644
--- a/test/models/collection_test.rb
+++ b/test/models/collection_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: collections
diff --git a/test/models/complaint_reason_test.rb b/test/models/complaint_reason_test.rb
index e283642fe0b29c3774de639dec23a4008996c79d..1356a995349902f34670c55acc61c0b9edd702a0 100644
--- a/test/models/complaint_reason_test.rb
+++ b/test/models/complaint_reason_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: complaint_reasons
diff --git a/test/models/complaint_test.rb b/test/models/complaint_test.rb
index 40bf032066d15baa799c7eaf6a833e984ce67f00..cbfdde9ea368e1beeca46ea2d06ec9832af62bd5 100644
--- a/test/models/complaint_test.rb
+++ b/test/models/complaint_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: complaints
diff --git a/test/models/download_test.rb b/test/models/download_test.rb
index 207c3afb3029fb68d3efa82592c6b2346eb01e05..08c4d084b8a40ce69db6fbd00e62ad9d606dd541 100644
--- a/test/models/download_test.rb
+++ b/test/models/download_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: downloads
diff --git a/test/models/follow_test.rb b/test/models/follow_test.rb
index c4a512a8f6d503384d5ab4d1a8c43fb407e726fd..73c93c0a5c820bd6613707a0967a7cab09f7c562 100644
--- a/test/models/follow_test.rb
+++ b/test/models/follow_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: follows
diff --git a/test/models/institution_test.rb b/test/models/institution_test.rb
index 1fa31ccab4bd96b27ea3f1578a0ee4b94884013b..5ca28aee668aa4720ff3b379fa7329263d6f5841 100644
--- a/test/models/institution_test.rb
+++ b/test/models/institution_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: institutions
diff --git a/test/models/language_test.rb b/test/models/language_test.rb
index 03d2bdf92e7d47e9a2a289549644732b71894a71..6a1433625607ebac8b2bdb06397863806abe0d43 100644
--- a/test/models/language_test.rb
+++ b/test/models/language_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: languages
diff --git a/test/models/learning_object/attachment_test.rb b/test/models/learning_object/attachment_test.rb
index bc9898cd7143f294a6ea396e8b02c5163c62ab96..dcfe1b5591aa95b112e7f5bf9bf80436a0da98eb 100644
--- a/test/models/learning_object/attachment_test.rb
+++ b/test/models/learning_object/attachment_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: learning_object_attachments
diff --git a/test/models/learning_object_test.rb b/test/models/learning_object_test.rb
index 18a418a459ed867be5cb79ce4e30243f69f6501e..d90f4bf5b5fc6bfb0f4ad55291b5b690ee38ee75 100644
--- a/test/models/learning_object_test.rb
+++ b/test/models/learning_object_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: learning_objects
diff --git a/test/models/license_test.rb b/test/models/license_test.rb
index c56bac9d45cc94bcd2506e20ffad3061998c4f41..3d0a691733766d23a0b3d5a413e1ffc4ffaec3b1 100644
--- a/test/models/license_test.rb
+++ b/test/models/license_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class LicenseTest < ActiveSupport::TestCase
diff --git a/test/models/like_test.rb b/test/models/like_test.rb
index 3f9bf0015f5f0f891673c02549db929a07f7d801..ec489f7299cd606d4c9ec73f6d60aa038b78ba8a 100644
--- a/test/models/like_test.rb
+++ b/test/models/like_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: likes
diff --git a/test/models/object_type_test.rb b/test/models/object_type_test.rb
index 3c230dbac08b6a22ccbe31d4dedc4fc6300214eb..52e719b2a7e9ff8d4c9f67980a467e5f42832309 100644
--- a/test/models/object_type_test.rb
+++ b/test/models/object_type_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: object_types
diff --git a/test/models/rate_test.rb b/test/models/rate_test.rb
index 367e667c0eebdfd1e381cb5d99eb87df43f1fa8e..1bc6d9ba00ba495b133eb9a23c4cfa2ac28406e2 100644
--- a/test/models/rate_test.rb
+++ b/test/models/rate_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: rates
diff --git a/test/models/rating_test.rb b/test/models/rating_test.rb
index b93e91847982c008f47fb461d34f0e4eced3b169..e19beea2c18946a40233a792e667726e697b38f5 100644
--- a/test/models/rating_test.rb
+++ b/test/models/rating_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: ratings
diff --git a/test/models/review_rating_test.rb b/test/models/review_rating_test.rb
index 97e231acd5a2273fcdf03b59a7f3849d74c319f8..d5ae313c76126d4f865f792d72ff6962c7617b04 100644
--- a/test/models/review_rating_test.rb
+++ b/test/models/review_rating_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: review_ratings
diff --git a/test/models/review_test.rb b/test/models/review_test.rb
index df6d552cadaef4201fc80ec11ed0ed8fe7bc69cc..4e3174a569041a83972d417ad9bd8714ef5e2a48 100644
--- a/test/models/review_test.rb
+++ b/test/models/review_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: reviews
diff --git a/test/models/role_test.rb b/test/models/role_test.rb
index ff22856a5adcc14b26eb1db0cfa9429292583cdd..37a8c86196f8aaaf76c6e5b39851f846de83997d 100644
--- a/test/models/role_test.rb
+++ b/test/models/role_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: roles
diff --git a/test/models/score_test.rb b/test/models/score_test.rb
index 36d87062747df6efe7cc28f5a7a5a117e82d13ff..55a5fa18fcdae57f45c717acc65769358c3bffad 100644
--- a/test/models/score_test.rb
+++ b/test/models/score_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: scores
diff --git a/test/models/score_user_category_test.rb b/test/models/score_user_category_test.rb
index 3eaa66bb8d9cff3ac18c0c73f66283ec3e261135..ed33dd21073a9e1801340f32e00829f491c42fa6 100644
--- a/test/models/score_user_category_test.rb
+++ b/test/models/score_user_category_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: score_user_categories
diff --git a/test/models/search_test.rb b/test/models/search_test.rb
index 71d70c32609be040c9bcaa038ba72f6b0c8dfa59..c538fb2de9e4609ec12158817d75d0166a444255 100644
--- a/test/models/search_test.rb
+++ b/test/models/search_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class SearchTest < ActiveSupport::TestCase
diff --git a/test/models/share_test.rb b/test/models/share_test.rb
index f4eaeb542b9d4b13e511c4366b1c1d8acdfff0be..4f44835d077c255409fcf31942eabe321725559f 100644
--- a/test/models/share_test.rb
+++ b/test/models/share_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: shares
diff --git a/test/models/stage_relation_test.rb b/test/models/stage_relation_test.rb
index b21ecb05d6a3290fcc387bbfa0246c2e5071e73a..83807d20e6f298f80f3b983c29ec030eeab49fda 100644
--- a/test/models/stage_relation_test.rb
+++ b/test/models/stage_relation_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class StageRelationTest < ActiveSupport::TestCase
diff --git a/test/models/subject_test.rb b/test/models/subject_test.rb
index d54e76f758ea59928ad5c1d8d014fddbaf3eb378..6fbc6c71ac359b6d809df3f433ceb9f07c84cd18 100644
--- a/test/models/subject_test.rb
+++ b/test/models/subject_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class SubjectTest < ActiveSupport::TestCase
diff --git a/test/models/tag_test.rb b/test/models/tag_test.rb
index e2ac6e6983f17600133d004ba1bc4becd540b67c..65dc09cc2dedac8f835b7065b5a7520374471810 100644
--- a/test/models/tag_test.rb
+++ b/test/models/tag_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class TagTest < ActiveSupport::TestCase
diff --git a/test/models/tagging_test.rb b/test/models/tagging_test.rb
index 77dbeac45cc6949c6069594c2bed6f4adf2fd24d..87cb4e6f977467d66a75e77923113583dde1c860 100644
--- a/test/models/tagging_test.rb
+++ b/test/models/tagging_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class TaggingTest < ActiveSupport::TestCase
diff --git a/test/models/user_category_test.rb b/test/models/user_category_test.rb
index 379129a8f7e8a9af849acc9e84941627c2af27eb..9b3d0f9bca6b4accc6d15b984c38c929f78d4b06 100644
--- a/test/models/user_category_test.rb
+++ b/test/models/user_category_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: user_categories
diff --git a/test/models/user_test.rb b/test/models/user_test.rb
index 86e0c5ce438ad0e45dbb687c3fe9e4350ce7b1cf..0904c45dee95647c2b51b3f97c8bc77ff57d5400 100644
--- a/test/models/user_test.rb
+++ b/test/models/user_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: users
diff --git a/test/models/view_test.rb b/test/models/view_test.rb
index 201fae5305c3b93f57458e22f71b3c0784719c5a..fdf88a6e0697674c76697aac656d3ba86da406cc 100644
--- a/test/models/view_test.rb
+++ b/test/models/view_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 # == Schema Information
 #
 # Table name: views
diff --git a/test/services/feedback_service_test.rb b/test/services/feedback_service_test.rb
index fedca78597498ff0ec61a3792e4f25ab93834864..f84a200f0a8d73a0beaf4b4677bfb0eb9e8435a3 100644
--- a/test/services/feedback_service_test.rb
+++ b/test/services/feedback_service_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class FeedbackServiceTest < ActiveSupport::TestCase
diff --git a/test/services/institution_importer_test.rb b/test/services/institution_importer_test.rb
index 1679de0b815632e75af4f7454549e592dd263ece..ca3668c25d4b1235cfad5eaba9f79e20fc6261b9 100644
--- a/test/services/institution_importer_test.rb
+++ b/test/services/institution_importer_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class InstitutionImporterTest < ActiveSupport::TestCase
diff --git a/test/services/score_calculator_service_test.rb b/test/services/score_calculator_service_test.rb
index 92271545d8439a69946430391bfab91a2a145a35..35f3b761376ef97357b546ea873e5ed8d2b8bd3d 100644
--- a/test/services/score_calculator_service_test.rb
+++ b/test/services/score_calculator_service_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class ScoreCalculatorServiceTest < ActiveSupport::TestCase
diff --git a/test/services/search_service_test.rb b/test/services/search_service_test.rb
index 12eb1f883d5f9d93edb7eb8f68de2f5dc15bed59..5368c211cf871df36b3e65ed3d1ecc76ad548c34 100644
--- a/test/services/search_service_test.rb
+++ b/test/services/search_service_test.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 require 'test_helper'
 
 class SearchServiceTest < ActiveSupport::TestCase
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 60e26f4caf39d5485f3984511efabb7f8a1436ea..eb89f935e35ef4ea570f0f86798c242dc12441d4 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,3 +1,22 @@
+
+# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
+# Departamento de Informatica - Universidade Federal do Parana
+#
+# This file is part of portalmec.
+#
+# portalmec is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# portalmec 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 portalmec.  If not, see <http://www.gnu.org/licenses/>.
+
 ENV['RAILS_ENV'] ||= 'test'
 require File.expand_path('../../config/environment', __FILE__)
 require 'rails/test_help'