From ddd715b3245808d726b3b6b1133b2eace6a96315 Mon Sep 17 00:00:00 2001 From: Joachim Filip Ignacy Bartosik Date: Thu, 19 Aug 2010 19:59:17 +0200 Subject: Add copyright notice to *.rb files under lib/ and app/ --- app/controllers/answers_controller.rb | 14 ++++++++++++++ app/controllers/application_controller.rb | 14 ++++++++++++++ app/controllers/comments_controller.rb | 14 ++++++++++++++ app/controllers/front_controller.rb | 14 ++++++++++++++ app/controllers/project_acceptances_controller.rb | 14 ++++++++++++++ app/controllers/question_categories_controller.rb | 14 ++++++++++++++ app/controllers/question_content_emails_controller.rb | 14 ++++++++++++++ .../question_content_multiple_choices_controller.rb | 14 ++++++++++++++ app/controllers/question_content_texts_controller.rb | 14 ++++++++++++++ app/controllers/question_groups_controller.rb | 14 ++++++++++++++ app/controllers/questions_controller.rb | 14 ++++++++++++++ app/controllers/users_controller.rb | 14 ++++++++++++++ app/models/answer.rb | 14 ++++++++++++++ app/models/comment.rb | 14 ++++++++++++++ app/models/email_answer.rb | 14 ++++++++++++++ app/models/guest.rb | 14 ++++++++++++++ app/models/multiple_choice_answer.rb | 14 ++++++++++++++ app/models/option.rb | 14 ++++++++++++++ app/models/project_acceptance.rb | 14 ++++++++++++++ app/models/question.rb | 14 ++++++++++++++ app/models/question_category.rb | 14 ++++++++++++++ app/models/question_content_email.rb | 14 ++++++++++++++ app/models/question_content_multiple_choice.rb | 14 ++++++++++++++ app/models/question_content_text.rb | 14 ++++++++++++++ app/models/question_group.rb | 14 ++++++++++++++ app/models/user.rb | 14 ++++++++++++++ app/models/user_category.rb | 14 ++++++++++++++ app/models/user_mailer.rb | 14 ++++++++++++++ app/models/user_question_group.rb | 14 ++++++++++++++ app/rich_types/role.rb | 14 ++++++++++++++ app/viewhints/project_acceptance_hints.rb | 14 ++++++++++++++ app/viewhints/question_content_email_hints.rb | 14 ++++++++++++++ app/viewhints/user_hints.rb | 14 ++++++++++++++ 33 files changed, 462 insertions(+) (limited to 'app') diff --git a/app/controllers/answers_controller.rb b/app/controllers/answers_controller.rb index a8dc49e..a9febc7 100644 --- a/app/controllers/answers_controller.rb +++ b/app/controllers/answers_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class AnswersController < ApplicationController hobo_model_controller diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index d1623af..e7375e1 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 5369f81..c02ae84 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class CommentsController < ApplicationController hobo_model_controller diff --git a/app/controllers/front_controller.rb b/app/controllers/front_controller.rb index 86e3201..748f616 100644 --- a/app/controllers/front_controller.rb +++ b/app/controllers/front_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class FrontController < ApplicationController hobo_controller diff --git a/app/controllers/project_acceptances_controller.rb b/app/controllers/project_acceptances_controller.rb index cd6f8fe..d34f427 100644 --- a/app/controllers/project_acceptances_controller.rb +++ b/app/controllers/project_acceptances_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class ProjectAcceptancesController < ApplicationController hobo_model_controller diff --git a/app/controllers/question_categories_controller.rb b/app/controllers/question_categories_controller.rb index 428b174..ec63105 100644 --- a/app/controllers/question_categories_controller.rb +++ b/app/controllers/question_categories_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class QuestionCategoriesController < ApplicationController hobo_model_controller diff --git a/app/controllers/question_content_emails_controller.rb b/app/controllers/question_content_emails_controller.rb index 59e36e2..dcc7ce9 100644 --- a/app/controllers/question_content_emails_controller.rb +++ b/app/controllers/question_content_emails_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class QuestionContentEmailsController < ApplicationController hobo_model_controller diff --git a/app/controllers/question_content_multiple_choices_controller.rb b/app/controllers/question_content_multiple_choices_controller.rb index 666b364..1d7c0b4 100644 --- a/app/controllers/question_content_multiple_choices_controller.rb +++ b/app/controllers/question_content_multiple_choices_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class QuestionContentMultipleChoicesController < ApplicationController hobo_model_controller diff --git a/app/controllers/question_content_texts_controller.rb b/app/controllers/question_content_texts_controller.rb index 50810a9..bf8277d 100644 --- a/app/controllers/question_content_texts_controller.rb +++ b/app/controllers/question_content_texts_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class QuestionContentTextsController < ApplicationController hobo_model_controller diff --git a/app/controllers/question_groups_controller.rb b/app/controllers/question_groups_controller.rb index e189f04..4408fc4 100644 --- a/app/controllers/question_groups_controller.rb +++ b/app/controllers/question_groups_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class QuestionGroupsController < ApplicationController hobo_model_controller diff --git a/app/controllers/questions_controller.rb b/app/controllers/questions_controller.rb index d58f322..ae35065 100644 --- a/app/controllers/questions_controller.rb +++ b/app/controllers/questions_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class QuestionsController < ApplicationController hobo_model_controller diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index d4d7644..bdadc3a 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class UsersController < ApplicationController hobo_user_controller diff --git a/app/models/answer.rb b/app/models/answer.rb index 6e31c4d..f013547 100644 --- a/app/models/answer.rb +++ b/app/models/answer.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . require 'permissions/owned_model.rb' require 'permissions/set.rb' # Model storing answers for questions with text content. diff --git a/app/models/comment.rb b/app/models/comment.rb index e633605..83d5f9f 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # Model storing comments mentors made for answers. class Comment < ActiveRecord::Base diff --git a/app/models/email_answer.rb b/app/models/email_answer.rb index 16c7b9c..f1bd4a5 100644 --- a/app/models/email_answer.rb +++ b/app/models/email_answer.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # Model storing answers for questions with email content. # No user is allowed to do anything except viewing. class EmailAnswer < Answer diff --git a/app/models/guest.rb b/app/models/guest.rb index 2c01803..31d4870 100644 --- a/app/models/guest.rb +++ b/app/models/guest.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # Model representing guest users. # It has methods that allow us to treat Guests as regular users. class Guest < Hobo::Guest diff --git a/app/models/multiple_choice_answer.rb b/app/models/multiple_choice_answer.rb index 6433f6d..a507878 100644 --- a/app/models/multiple_choice_answer.rb +++ b/app/models/multiple_choice_answer.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # Model storing answers for questions with multiple choice content. class MultipleChoiceAnswer < Answer # Returns RichTypes::CheckList describing given answer diff --git a/app/models/option.rb b/app/models/option.rb index 6a9801d..f6ffa97 100644 --- a/app/models/option.rb +++ b/app/models/option.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # Hobo model storing options for multiple choice questions. # Inherits permissions from option_owner. class Option < ActiveRecord::Base diff --git a/app/models/project_acceptance.rb b/app/models/project_acceptance.rb index bf170f3..b3e7077 100644 --- a/app/models/project_acceptance.rb +++ b/app/models/project_acceptance.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . require 'permissions/set.rb' class ProjectAcceptance < ActiveRecord::Base diff --git a/app/models/question.rb b/app/models/question.rb index be00a84..084f826 100644 --- a/app/models/question.rb +++ b/app/models/question.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # TODO: probably broken scope unanswered(user) # Model storing answers for questions with text content. # Hooks: diff --git a/app/models/question_category.rb b/app/models/question_category.rb index 7c4b78f..e67810c 100644 --- a/app/models/question_category.rb +++ b/app/models/question_category.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # Questions are arranged in categories. Recruit should answer question in some # categories. class QuestionCategory < ActiveRecord::Base diff --git a/app/models/question_content_email.rb b/app/models/question_content_email.rb index f10fcc1..7e38d92 100644 --- a/app/models/question_content_email.rb +++ b/app/models/question_content_email.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . require 'permissions/inherit.rb' # TODO: all QuestionContents in one table(?) # TODO: use standard serialization, not custom one (?) diff --git a/app/models/question_content_multiple_choice.rb b/app/models/question_content_multiple_choice.rb index cd1d277..3fea434 100644 --- a/app/models/question_content_multiple_choice.rb +++ b/app/models/question_content_multiple_choice.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . require 'permissions/inherit.rb' # Multiple choice content for question. class QuestionContentMultipleChoice < ActiveRecord::Base diff --git a/app/models/question_content_text.rb b/app/models/question_content_text.rb index 37540e2..6052ad4 100644 --- a/app/models/question_content_text.rb +++ b/app/models/question_content_text.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . require 'permissions/inherit.rb' class QuestionContentText < ActiveRecord::Base diff --git a/app/models/question_group.rb b/app/models/question_group.rb index 5c2ed3b..81d738b 100644 --- a/app/models/question_group.rb +++ b/app/models/question_group.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # Users should answer only one question from each group. The question recruit # should answer is randomly chosen from group by application. Unless user is # recruit [s]he can't view grouped questions [s]he is not supposed to answer. diff --git a/app/models/user.rb b/app/models/user.rb index 828840f..071c708 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . #TODO: merge before_creation hooks # Model representing signed up users. # Hooks: diff --git a/app/models/user_category.rb b/app/models/user_category.rb index d641268..3f60283 100644 --- a/app/models/user_category.rb +++ b/app/models/user_category.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . require 'permissions/set.rb' # Associates users with question categories # Hooks: diff --git a/app/models/user_mailer.rb b/app/models/user_mailer.rb index cdd572e..1263e58 100644 --- a/app/models/user_mailer.rb +++ b/app/models/user_mailer.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class UserMailer < ActionMailer::Base def common(user, subject) @recipients = user.email_address diff --git a/app/models/user_question_group.rb b/app/models/user_question_group.rb index 5c5f537..e3b29f0 100644 --- a/app/models/user_question_group.rb +++ b/app/models/user_question_group.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # Associates user with grouped question. No user can do anything to it - # application manages those internally. class UserQuestionGroup < ActiveRecord::Base diff --git a/app/rich_types/role.rb b/app/rich_types/role.rb index c69627d..ae9b129 100644 --- a/app/rich_types/role.rb +++ b/app/rich_types/role.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . module RichTypes Role = HoboFields::EnumString.for(:recruit, :mentor, :recruiter) end diff --git a/app/viewhints/project_acceptance_hints.rb b/app/viewhints/project_acceptance_hints.rb index e9c1629..3bc6244 100644 --- a/app/viewhints/project_acceptance_hints.rb +++ b/app/viewhints/project_acceptance_hints.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class ProjectAcceptanceHints < Hobo::ViewHints field_names :accepting_nick => "Accepting Project Lead", :user => "Recruit being accepted" end diff --git a/app/viewhints/question_content_email_hints.rb b/app/viewhints/question_content_email_hints.rb index 37189ea..9e95274 100644 --- a/app/viewhints/question_content_email_hints.rb +++ b/app/viewhints/question_content_email_hints.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class QuestionContentEmailHints < Hobo::ViewHints field_help :req_text => "Enter one requirement per line. Each requirement should be 'Field : regexp to match' (including spaces around colon). diff --git a/app/viewhints/user_hints.rb b/app/viewhints/user_hints.rb index eb6c2a3..91e3516 100644 --- a/app/viewhints/user_hints.rb +++ b/app/viewhints/user_hints.rb @@ -1,3 +1,17 @@ +# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better +# Copyright (C) 2010 Joachim Filip Bartosik +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 of the License +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . class UserHints < Hobo::ViewHints children :answers, :question_categories, :project_acceptances end -- cgit v1.2.3-65-gdbad