diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index c927eff035428c1a93aebb034307eccb187163bc..ba815bce7ee23efea8755fbd5148f0022dae0843 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AccountController < ApplicationController include CustomFieldsHelper diff --git a/app/controllers/activities_controller.rb b/app/controllers/activities_controller.rb index d6292ea9a62ae6aad822373283cd7b29b558e0ba..a7cc8976e8dcba4199bd4460bfb1ae7687b9e51e 100644 --- a/app/controllers/activities_controller.rb +++ b/app/controllers/activities_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ActivitiesController < ApplicationController menu_item :activity before_filter :find_optional_project diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 55c68d425d26a3583aa013ab19f3989cd19ff620..868a92b782fd0fb0f3dc6befedc9a66def6a4dc0 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AdminController < ApplicationController layout 'admin' diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 0e7531e5de01fb6051afa84ef0cea6a830d06041..a5470b80bc404208c98762ee96d280a74ad07247 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'uri' require 'cgi' diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index 98dceca618ce0ad4cd1c821b818852a7a2e6fdbb..32f37459b2ccac012e65c0947df01299ca05cdc9 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AttachmentsController < ApplicationController before_filter :find_project before_filter :file_readable, :read_authorize, :except => :destroy diff --git a/app/controllers/auth_sources_controller.rb b/app/controllers/auth_sources_controller.rb index ab6738ae285a639793214d9083da78426673252f..bf90ed01f20ac3c9e3c90e5f04f150d9e2ab81a5 100644 --- a/app/controllers/auth_sources_controller.rb +++ b/app/controllers/auth_sources_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AuthSourcesController < ApplicationController layout 'admin' diff --git a/app/controllers/auto_completes_controller.rb b/app/controllers/auto_completes_controller.rb index 17d86f3469924c337590c7ece8d69353e5fdd08c..a03e2c5f6d857db107b6a804aa74a6270885db53 100644 --- a/app/controllers/auto_completes_controller.rb +++ b/app/controllers/auto_completes_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AutoCompletesController < ApplicationController before_filter :find_project diff --git a/app/controllers/boards_controller.rb b/app/controllers/boards_controller.rb index 015d265fc96b40b8ab647a2c6cb251f9513b5624..7b4483ad2f51fd15df8fc2b0341a843cc907da8f 100644 --- a/app/controllers/boards_controller.rb +++ b/app/controllers/boards_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class BoardsController < ApplicationController default_search_scope :messages before_filter :find_project, :find_board_if_available, :authorize diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index c228099cd7e2f6afdd65dfca77657764f7842100..31c574a87c3674bde4433a4bec2eebec646a9393 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CalendarsController < ApplicationController menu_item :calendar before_filter :find_optional_project diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 7432f831f363b39ae1012dc852e411612a892f23..8500dabb9a1a1c522803689c8a1869aba08d5a6f 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CommentsController < ApplicationController default_search_scope :news model_object News diff --git a/app/controllers/context_menus_controller.rb b/app/controllers/context_menus_controller.rb index 5cdf2b0a1480337bc01343192f51b62101a9cd92..6fbc45c302acfa55db4622f77110794cbd8f4fdd 100644 --- a/app/controllers/context_menus_controller.rb +++ b/app/controllers/context_menus_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ContextMenusController < ApplicationController def issues diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb index 2b7684d96e8695e87b6f0aa8fa044e67d2a0986a..00adc1f9f8c2b1e8af64a6b4e80bf4358a330538 100644 --- a/app/controllers/custom_fields_controller.rb +++ b/app/controllers/custom_fields_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CustomFieldsController < ApplicationController layout 'admin' diff --git a/app/controllers/documents_controller.rb b/app/controllers/documents_controller.rb index aafb2060de90de2a95da887e8829a2aea3a76fca..f9e0d0d55a9cafe360254984b3eab13b4d6ba66c 100644 --- a/app/controllers/documents_controller.rb +++ b/app/controllers/documents_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class DocumentsController < ApplicationController default_search_scope :documents model_object Document diff --git a/app/controllers/enumerations_controller.rb b/app/controllers/enumerations_controller.rb index 19b6ae4b602f2f45ec8210b56f8fe6a1d49fce2e..cee57f059148e4cce39d904df3532e6e0ae0e5a0 100644 --- a/app/controllers/enumerations_controller.rb +++ b/app/controllers/enumerations_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class EnumerationsController < ApplicationController layout 'admin' diff --git a/app/controllers/files_controller.rb b/app/controllers/files_controller.rb index 39bc9be5e985cdb55f282524a582ec613de3645f..afe35be68e5090508f693ba5ccb6363188de9994 100644 --- a/app/controllers/files_controller.rb +++ b/app/controllers/files_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class FilesController < ApplicationController menu_item :files diff --git a/app/controllers/gantts_controller.rb b/app/controllers/gantts_controller.rb index c33f89f74e0ab39fa49676b27804ca2dde5e4699..b76504606b058da71e1b5e65f2e93f11039d6922 100644 --- a/app/controllers/gantts_controller.rb +++ b/app/controllers/gantts_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class GanttsController < ApplicationController menu_item :gantt before_filter :find_optional_project diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index f6afbd6834f58eb0ee5687c01a4b7703105254e7..e33b201ed0e2519ab81e20a345b1c11a99417489 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class GroupsController < ApplicationController layout 'admin' diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index c0e92159f7eefad11ef4fccb18f12f2f148c1cd8..afc13abdf55a43d53bb675479db2040f1c27bf09 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class HelpController < ApplicationController def wiki_syntax end diff --git a/app/controllers/issue_categories_controller.rb b/app/controllers/issue_categories_controller.rb index cea8db5deb1a273cde53dbaaf19aa5563dfb9b82..835abe8de4ba16b665a81a0756a2483a9ce11e25 100644 --- a/app/controllers/issue_categories_controller.rb +++ b/app/controllers/issue_categories_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueCategoriesController < ApplicationController menu_item :settings model_object IssueCategory diff --git a/app/controllers/issue_moves_controller.rb b/app/controllers/issue_moves_controller.rb index f1087172f740d007c2d5b421422eba3c92e0afd0..1eada442334bd2db817ce1fcc9d0178bf8899d3d 100644 --- a/app/controllers/issue_moves_controller.rb +++ b/app/controllers/issue_moves_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueMovesController < ApplicationController default_search_scope :issues before_filter :find_issues, :check_project_uniqueness diff --git a/app/controllers/issue_relations_controller.rb b/app/controllers/issue_relations_controller.rb index 8cfac047ce5d3453a88c67fb364c4c4ec0d2fa3e..b5448adb0882dd429277133b82ca765aca1b0b92 100644 --- a/app/controllers/issue_relations_controller.rb +++ b/app/controllers/issue_relations_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueRelationsController < ApplicationController before_filter :find_issue, :find_project_from_association, :authorize diff --git a/app/controllers/issue_statuses_controller.rb b/app/controllers/issue_statuses_controller.rb index 03f782423254c2c1e529e03517a4f9f1ee336ecc..7537c8dd1b5f493040b47b8510d82a770bc4833f 100644 --- a/app/controllers/issue_statuses_controller.rb +++ b/app/controllers/issue_statuses_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueStatusesController < ApplicationController layout 'admin' diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 5143e3c10afd859e152f103415dad3e54b672ee2..b8cc8117aad81f987a8c2f4f2e0aee382883d92b 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssuesController < ApplicationController menu_item :new_issue, :only => [:new, :create] default_search_scope :issues diff --git a/app/controllers/journals_controller.rb b/app/controllers/journals_controller.rb index 6157b96f0fec736f1b456bb091b4a908197b1b34..ccdda4e2a76220f9ec5fbd25a3faa5a160b6bcae 100644 --- a/app/controllers/journals_controller.rb +++ b/app/controllers/journals_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class JournalsController < ApplicationController before_filter :find_journal, :only => [:edit, :diff] before_filter :find_issue, :only => [:new] diff --git a/app/controllers/ldap_auth_sources_controller.rb b/app/controllers/ldap_auth_sources_controller.rb index 95ef10a9c1597b89dee80b83a1877e773d9ad5d2..8e0b11488bb003d74f87b6c7ae32183ce46902a5 100644 --- a/app/controllers/ldap_auth_sources_controller.rb +++ b/app/controllers/ldap_auth_sources_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class LdapAuthSourcesController < AuthSourcesController protected diff --git a/app/controllers/mail_handler_controller.rb b/app/controllers/mail_handler_controller.rb index ac87af173f59f9713ee2d24a19cdd52afd8040b1..71d424efe6b41b0b13f55332071f92b152f597b3 100644 --- a/app/controllers/mail_handler_controller.rb +++ b/app/controllers/mail_handler_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class MailHandlerController < ActionController::Base before_filter :check_credential diff --git a/app/controllers/members_controller.rb b/app/controllers/members_controller.rb index bb1f02d6ff33f9263078ec51fed899a2a3885346..f2a73c19e3e641ce8cc0ba3358c7d27bbac77034 100644 --- a/app/controllers/members_controller.rb +++ b/app/controllers/members_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class MembersController < ApplicationController model_object Member before_filter :find_model_object, :except => [:new, :autocomplete_for_member] diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index 4fffdd935a33a666fd41373fd1ea25e1f074b2a3..cd8ccce0a336ab49f4786bf3276edc203279b22d 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class MessagesController < ApplicationController menu_item :boards default_search_scope :messages diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb index 1f079560ee692194c73bc6f766ef7a2ac32b8854..d15fbdfd015079cb63905a63ea449a2d0e657396 100644 --- a/app/controllers/my_controller.rb +++ b/app/controllers/my_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class MyController < ApplicationController before_filter :require_login diff --git a/app/controllers/news_controller.rb b/app/controllers/news_controller.rb index afdc9efdd48a1ee76b22bd41b89b8ee25c558b28..4a84ee94e59332152d81998fdc4bc72c1e7004c7 100644 --- a/app/controllers/news_controller.rb +++ b/app/controllers/news_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class NewsController < ApplicationController default_search_scope :news model_object News diff --git a/app/controllers/previews_controller.rb b/app/controllers/previews_controller.rb index 612025cb81442e0aa1960d8a52b39b2cbded7882..52ae698346d04d01a105856622f9090d59373773 100644 --- a/app/controllers/previews_controller.rb +++ b/app/controllers/previews_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class PreviewsController < ApplicationController before_filter :find_project diff --git a/app/controllers/project_enumerations_controller.rb b/app/controllers/project_enumerations_controller.rb index 0b15887fa391cb05cc085128136bb2057b470b41..49a134edf4d30f057856c1e44c213d873e87509d 100644 --- a/app/controllers/project_enumerations_controller.rb +++ b/app/controllers/project_enumerations_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ProjectEnumerationsController < ApplicationController before_filter :find_project_by_project_id before_filter :authorize diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 4e850198494e44b47c7efa9da7748c981783aa1b..b11e617beec21ef54ff36a13400d884921505009 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ProjectsController < ApplicationController menu_item :overview menu_item :roadmap, :only => :roadmap diff --git a/app/controllers/queries_controller.rb b/app/controllers/queries_controller.rb index e710c4979919251da5cc512589566f7a0ac8476d..cbdfd1f5f54413d40d76ec91f05e559221813dde 100644 --- a/app/controllers/queries_controller.rb +++ b/app/controllers/queries_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class QueriesController < ApplicationController menu_item :issues before_filter :find_query, :except => :new diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index e05d7178375f756b9df35fd1af030f443d9d06b7..eb07751570f074d477d29a86b1f677989291119e 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ReportsController < ApplicationController menu_item :issues before_filter :find_project, :authorize, :find_issue_statuses diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 622c9ea531544a17fbd2486e270de24e296406d5..dd752700de90d8e94d05e43b306b8887071306ea 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'SVG/Graph/Bar' require 'SVG/Graph/BarHorizontal' require 'digest/sha1' diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb index eef1d8753750414a590718128d8064f3ee60e699..17c4d3766f3d2423275219055fc60cf4bd5a75a1 100644 --- a/app/controllers/roles_controller.rb +++ b/app/controllers/roles_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class RolesController < ApplicationController layout 'admin' diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index cccc4ce2e83a408533417c8c2bd5510b27f7694e..a5208ac4600f7fc12d6193f9c8427ac7800a5132 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class SearchController < ApplicationController before_filter :find_optional_project diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index fdca93ebca1e78b3ab20d5606e011f51267232e1..f7e8729e9ba39ab3fd8c815f92e10e598d4f471a 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class SettingsController < ApplicationController layout 'admin' diff --git a/app/controllers/sys_controller.rb b/app/controllers/sys_controller.rb index c3ade0ff50e3f95ee0e7a34378e53ce80590e08d..15e89003da5125dd1fadd0c1e552f1bcbba63a1a 100644 --- a/app/controllers/sys_controller.rb +++ b/app/controllers/sys_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class SysController < ActionController::Base before_filter :check_enabled diff --git a/app/controllers/time_entry_reports_controller.rb b/app/controllers/time_entry_reports_controller.rb index a44254bdcac5f97395ac8393cd7aeb3fcf11af92..7274b781b7de5a3e0aa43f97a8aa458c24156467 100644 --- a/app/controllers/time_entry_reports_controller.rb +++ b/app/controllers/time_entry_reports_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class TimeEntryReportsController < ApplicationController menu_item :issues before_filter :find_optional_project diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index 7bff7462fe392d9fd79d687ca4f66737601800dc..d17afad110cb0e8a97ce6cf33ec2a5dbf3a82062 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class TimelogController < ApplicationController menu_item :issues before_filter :find_project, :only => [:new, :create] diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb index 520dc0395fc479e0213caf08d83d1c1edf547568..f314b27fce93331870ff34d4ba858cd985296876 100644 --- a/app/controllers/trackers_controller.rb +++ b/app/controllers/trackers_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class TrackersController < ApplicationController layout 'admin' diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index ea79020c66ced7e3d1293be82707a95ba61bf418..15fc6dc9d9d9f06a07c2932d178723ea5cd296d4 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class UsersController < ApplicationController layout 'admin' diff --git a/app/controllers/versions_controller.rb b/app/controllers/versions_controller.rb index 8754706d9930ca44f2fe4b3ea513a6510bc7b03f..e4a7f961702d3fb4df337b23939cfa2ef09ee745 100644 --- a/app/controllers/versions_controller.rb +++ b/app/controllers/versions_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class VersionsController < ApplicationController menu_item :roadmap model_object Version diff --git a/app/controllers/watchers_controller.rb b/app/controllers/watchers_controller.rb index 93500c52221b9e88aff7f8d4a3c6cb0943e6d492..1a3aeb804f266bd4b04fc718b4dcb4bb39fdf488 100644 --- a/app/controllers/watchers_controller.rb +++ b/app/controllers/watchers_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class WatchersController < ApplicationController before_filter :find_project before_filter :require_login, :check_project_privacy, :only => [:watch, :unwatch] diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index 571dd1a65e008f493b2b2944b2fd386bb1be56ba..393b344c9fcc2d87790ebd4f373a1351b6cc4572 100644 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class WelcomeController < ApplicationController caches_action :robots diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb index 08b7abeee4ae48fae4063d76d792d555f27c1cf8..f00464e302c76f19080eaf0f4725751e5b378beb 100644 --- a/app/controllers/wiki_controller.rb +++ b/app/controllers/wiki_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'diff' # The WikiController follows the Rails REST controller pattern but with diff --git a/app/controllers/wikis_controller.rb b/app/controllers/wikis_controller.rb index 4f328d3786af64c30176635b2991d2b97fd5074b..e0d8eadd913f209517bbe6cb6589650f0e4beeb5 100644 --- a/app/controllers/wikis_controller.rb +++ b/app/controllers/wikis_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class WikisController < ApplicationController menu_item :settings before_filter :find_project, :authorize diff --git a/app/controllers/workflows_controller.rb b/app/controllers/workflows_controller.rb index 1d74d5e1cdde49bfdc92ca53ba505b422dac19c8..12d0b5fceee04ec9907e4770c51f27ce57f94e99 100644 --- a/app/controllers/workflows_controller.rb +++ b/app/controllers/workflows_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class WorkflowsController < ApplicationController layout 'admin' diff --git a/app/helpers/account_helper.rb b/app/helpers/account_helper.rb index 6d3694a49a3a1dfee71b7654060ac2fe7e2ee56f..50c0c3eebad60fb0e4334a2802fd9a2c89379c91 100644 --- a/app/helpers/account_helper.rb +++ b/app/helpers/account_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module AccountHelper end diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb index 6f0f86bcb05d0bcce1d73b47a2f7442b699a59b4..19164ff02305182e51a37bb91f93734d6768e0bd 100644 --- a/app/helpers/admin_helper.rb +++ b/app/helpers/admin_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module AdminHelper def project_status_options_for_select(selected) options_for_select([[l(:label_all), ''], diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 210924e4ebd98e20eb80ba31b415ed32c455df23..9004b9bfa7bdfe6e52c8b423abbcefef4368e7aa 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'forwardable' require 'cgi' diff --git a/app/helpers/attachments_helper.rb b/app/helpers/attachments_helper.rb index c92fdb43c202593ab26275407f3198da52d89d80..7a03044b5a810cf06797259c5b8c369019a0f0c5 100644 --- a/app/helpers/attachments_helper.rb +++ b/app/helpers/attachments_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module AttachmentsHelper # Displays view/delete links to the attachments of the given object # Options: diff --git a/app/helpers/auth_sources_helper.rb b/app/helpers/auth_sources_helper.rb index af76d21e8684cde25ea91b95a55936620b795371..74b4d281c7da6a7c8a87d08061122e8b0d4406dd 100644 --- a/app/helpers/auth_sources_helper.rb +++ b/app/helpers/auth_sources_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module AuthSourcesHelper end diff --git a/app/helpers/boards_helper.rb b/app/helpers/boards_helper.rb index 8b8af150d795fe5cbb40ded74ac6665e30ca2afd..0558ab6a8c9fa8b6543823a4dd0ecfe09610d557 100644 --- a/app/helpers/boards_helper.rb +++ b/app/helpers/boards_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module BoardsHelper end diff --git a/app/helpers/calendars_helper.rb b/app/helpers/calendars_helper.rb index 82f3905e7cf2492e2d31761ef77c88d59b16000f..51f66cdeffaae0714694f3224697b5ead9ecad93 100644 --- a/app/helpers/calendars_helper.rb +++ b/app/helpers/calendars_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module CalendarsHelper def link_to_previous_month(year, month, options={}) target_year, target_month = if month == 1 diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index 581b539f425676dd6cb795cdf78a3fddc6b6cefa..1b6cea22b9a8497e90c4573a40371a678eb84201 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module CustomFieldsHelper def custom_fields_tabs diff --git a/app/helpers/documents_helper.rb b/app/helpers/documents_helper.rb index 242b4fce0a7298ddfb1cfcc414afcc570427a41d..8891bce6a9de11e14ce1f5543e6fe185e657ae79 100644 --- a/app/helpers/documents_helper.rb +++ b/app/helpers/documents_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module DocumentsHelper end diff --git a/app/helpers/enumerations_helper.rb b/app/helpers/enumerations_helper.rb index 8e0755054a0f4d416bf9d584d16582200eb298ad..cae110d38fd0c9774a0a0740f61149289efa76fb 100644 --- a/app/helpers/enumerations_helper.rb +++ b/app/helpers/enumerations_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module EnumerationsHelper end diff --git a/app/helpers/gantt_helper.rb b/app/helpers/gantt_helper.rb index 3a635f437ade927b4e67d3eaf7c9f01c63ade562..52352b8a23ba51ec8eedb69660f12e9fb419b06b 100644 --- a/app/helpers/gantt_helper.rb +++ b/app/helpers/gantt_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module GanttHelper def gantt_zoom_link(gantt, in_or_out) diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index 1da7ad776e114c47f4d6051dbfbdfa3d4b240c7e..1223805cd33ca382848c9f4971a503b633660b0d 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module GroupsHelper # Options for the new membership projects combo-box def options_for_membership_project_select(user, projects) diff --git a/app/helpers/issue_categories_helper.rb b/app/helpers/issue_categories_helper.rb index 2af6b3e7ea99d0e3f5222604e1cef5049db42192..452d251af454c167156669b75222d8b1328ede2a 100644 --- a/app/helpers/issue_categories_helper.rb +++ b/app/helpers/issue_categories_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module IssueCategoriesHelper end diff --git a/app/helpers/issue_moves_helper.rb b/app/helpers/issue_moves_helper.rb index b58b4ce5a8bf596351f7476e4e295eb714bb105b..32b575498b3662251a7385230b4edb0dbf7444b2 100644 --- a/app/helpers/issue_moves_helper.rb +++ b/app/helpers/issue_moves_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module IssueMovesHelper end diff --git a/app/helpers/issue_relations_helper.rb b/app/helpers/issue_relations_helper.rb index a7c5dae362412be11bfb22293abebc8a7a39a5a9..64cb2ac76c11eb69a532f9a303a085739468108b 100644 --- a/app/helpers/issue_relations_helper.rb +++ b/app/helpers/issue_relations_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module IssueRelationsHelper def collection_for_relation_type_select values = IssueRelation::TYPES diff --git a/app/helpers/issue_statuses_helper.rb b/app/helpers/issue_statuses_helper.rb index 986138358a4125d47a9f8278268fc414048d30fa..783617740a405d8e7a2fae8b033654ac6474b863 100644 --- a/app/helpers/issue_statuses_helper.rb +++ b/app/helpers/issue_statuses_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module IssueStatusesHelper end diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index e6a9f6e57e47926a226f2fb6fdbc5cc5dbef1785..fc3289ae2915b38e5eeca8c0d70ca7c1f1eb4517 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module IssuesHelper include ApplicationHelper diff --git a/app/helpers/journals_helper.rb b/app/helpers/journals_helper.rb index 502627209f3ba2a6569a09f9cf299ddb4b5604ae..627d60d06685baebf5d06f9e1c975c4a9c0dd681 100644 --- a/app/helpers/journals_helper.rb +++ b/app/helpers/journals_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module JournalsHelper unloadable include ApplicationHelper diff --git a/app/helpers/mail_handler_helper.rb b/app/helpers/mail_handler_helper.rb index 84a83870ceb1ce20c391991f4d58b5d48244bca2..e6c45d6b7e9e193ca46104af819b2391ba2c03f0 100644 --- a/app/helpers/mail_handler_helper.rb +++ b/app/helpers/mail_handler_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module MailHandlerHelper end diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb index e3fa623c718192ae09bd3e5c2925a084d929e955..2142e3f78d94cf53859f60462493945789c675fb 100644 --- a/app/helpers/members_helper.rb +++ b/app/helpers/members_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module MembersHelper end diff --git a/app/helpers/messages_helper.rb b/app/helpers/messages_helper.rb index f1bca9f6ca004ecd32392a14f90fba46328fde20..e11b25cf9bfede98ac45a8368fe7f300cdc8ed35 100644 --- a/app/helpers/messages_helper.rb +++ b/app/helpers/messages_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module MessagesHelper end diff --git a/app/helpers/my_helper.rb b/app/helpers/my_helper.rb index c8365c82dd582b1c39f06a0e6b86c113c807c0ba..fda495dbec50956371e500e17ff847fed0f6e75e 100644 --- a/app/helpers/my_helper.rb +++ b/app/helpers/my_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module MyHelper end diff --git a/app/helpers/news_helper.rb b/app/helpers/news_helper.rb index 9877c335148a07be63a811d7420eb39bb89d84be..05d9d714413156011684544e6925f5ded896d68c 100644 --- a/app/helpers/news_helper.rb +++ b/app/helpers/news_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module NewsHelper end diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index b3f4e35572f3679e1d4f22e51ed70d2e67ae76e7..cab4546e579c7b0434a9b0e14f858abb54eef31d 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module ProjectsHelper def link_to_version(version, options = {}) return '' unless version && version.is_a?(Version) diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index cbd97c5edd490a8640aece32d8b80bc156474b2d..dd4c371794d837de16efe6baac9597963bcf142f 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module QueriesHelper def operators_for_select(filter_type) diff --git a/app/helpers/reports_helper.rb b/app/helpers/reports_helper.rb index 89fc5118ded01b9fcec263f07652e7dbdf00b808..5daf0f4f4de0d06fc9079357f00a54dea23ef5ca 100644 --- a/app/helpers/reports_helper.rb +++ b/app/helpers/reports_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module ReportsHelper def aggregate(data, criteria) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index 1cd17429eb6bb08b1443caded9212adc9b5b45e4..1b27aa8168034d3b6a4293b045eba318d7083839 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'iconv' module RepositoriesHelper diff --git a/app/helpers/roles_helper.rb b/app/helpers/roles_helper.rb index 6b6b6cc226b0879378869e6ec373690942c6900e..38f6598a204f14a293ae52710df3099307ef786e 100644 --- a/app/helpers/roles_helper.rb +++ b/app/helpers/roles_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module RolesHelper end diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index 10062f0d0524750124c40b028b8ae636d805a751..dff46b89ebb86ce7d0f167e2fff11ca0ecbcefca 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module SearchHelper def highlight_tokens(text, tokens) return text unless text && tokens && !tokens.empty? diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb index 31be215239f0b7ea523cb18acd7d4d6eabd48354..f04c18dc2b144ff1ccadb13130440435fc84fc46 100644 --- a/app/helpers/settings_helper.rb +++ b/app/helpers/settings_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module SettingsHelper def administration_settings_tabs tabs = [{:name => 'general', :partial => 'settings/general', :label => :label_general}, diff --git a/app/helpers/sort_helper.rb b/app/helpers/sort_helper.rb index a1808a0566a0841e6bf612bc0e7750970e5a6d9c..6d325381d1520a0c4956e7134e336eaab7717006 100644 --- a/app/helpers/sort_helper.rb +++ b/app/helpers/sort_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Helpers to sort tables using clickable column headers. # # Author: Stuart Rackham , March 2005. diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb index 6464a00a286c2c3037e9f82abc69c9e19bdd56fd..790dabe131019498b51bee3f27244d34b1bdca03 100644 --- a/app/helpers/timelog_helper.rb +++ b/app/helpers/timelog_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module TimelogHelper include ApplicationHelper diff --git a/app/helpers/trackers_helper.rb b/app/helpers/trackers_helper.rb index 2cd38844827b536b7d1a184ad8db076c0eb9732e..199cf676b386df13d7de737a16761aa90a3ab8a9 100644 --- a/app/helpers/trackers_helper.rb +++ b/app/helpers/trackers_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module TrackersHelper end diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb index 8220c418660ff7965638ab4d4e1d601b6bcddabf..ba835da9d5546370f32a4fcb9d9620182dc46cac 100644 --- a/app/helpers/users_helper.rb +++ b/app/helpers/users_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module UsersHelper def users_status_options_for_select(selected) user_count_by_status = User.count(:group => 'status').to_hash diff --git a/app/helpers/versions_helper.rb b/app/helpers/versions_helper.rb index 3fba87a4bcd59bd58cb4724e7d9cd66465eebcc0..2e5ae802aae91f89d14ff3e768a47b54015310ad 100644 --- a/app/helpers/versions_helper.rb +++ b/app/helpers/versions_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module VersionsHelper STATUS_BY_CRITERIAS = %w(category tracker status priority author assigned_to) diff --git a/app/helpers/watchers_helper.rb b/app/helpers/watchers_helper.rb index e5385c889718801a9498127f6fe4430737bd3a2d..6a751f2d76162656c5241a3c04d258406a152116 100644 --- a/app/helpers/watchers_helper.rb +++ b/app/helpers/watchers_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module WatchersHelper # Deprecated method. Use watcher_link instead diff --git a/app/helpers/welcome_helper.rb b/app/helpers/welcome_helper.rb index eeead45fc970798f3afe44dff807a602654f7529..9b037ed33826ccfb786a1caf771a02f91accff8b 100644 --- a/app/helpers/welcome_helper.rb +++ b/app/helpers/welcome_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module WelcomeHelper end diff --git a/app/helpers/wiki_helper.rb b/app/helpers/wiki_helper.rb index af442b29e116da4171e5636837bbdfadc6042fc4..ea286c8c9a70771da2ef00d64252a4a9c8b5cdd9 100644 --- a/app/helpers/wiki_helper.rb +++ b/app/helpers/wiki_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module WikiHelper def wiki_page_options_for_select(pages, selected = nil, parent = nil, level = 0) diff --git a/app/helpers/workflows_helper.rb b/app/helpers/workflows_helper.rb index 73c339893fced8dcb8b3f3e3c7b3d0707bb3050a..6f7c933b06c65b174f3a94a82cabb37a85f6f604 100644 --- a/app/helpers/workflows_helper.rb +++ b/app/helpers/workflows_helper.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module WorkflowsHelper end diff --git a/app/models/attachment.rb b/app/models/attachment.rb index 30393ef65d2854a5ba8070bbc481af90703bed84..29aa76f12b6e5ec77d0b6a5cb06ea907e94bbdfb 100644 --- a/app/models/attachment.rb +++ b/app/models/attachment.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require "digest/md5" class Attachment < ActiveRecord::Base diff --git a/app/models/auth_source.rb b/app/models/auth_source.rb index b9b06c29d86a9ee6496c82ce24c3b475213a6d6f..7af8ea05f8ab40b487d32ba0d8fcc2e889245ea4 100644 --- a/app/models/auth_source.rb +++ b/app/models/auth_source.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AuthSource < ActiveRecord::Base include Redmine::Ciphering diff --git a/app/models/auth_source_ldap.rb b/app/models/auth_source_ldap.rb index 013feacc3bc55c495c5643c3b248ffd6217417f9..b348f38544f913e31cc702ceb42245da247f33ed 100644 --- a/app/models/auth_source_ldap.rb +++ b/app/models/auth_source_ldap.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'net/ldap' require 'iconv' diff --git a/app/models/board.rb b/app/models/board.rb index 7863efceb091564a9ff4bed9e8fa70b8c3a9f24b..9c0165d4fa909d854ed221d8de6ae01f8428f3cb 100644 --- a/app/models/board.rb +++ b/app/models/board.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Board < ActiveRecord::Base belongs_to :project has_many :topics, :class_name => 'Message', :conditions => "#{Message.table_name}.parent_id IS NULL", :order => "#{Message.table_name}.created_on DESC" diff --git a/app/models/change.rb b/app/models/change.rb index f33e19f1eeae860ea80f2486a52dfeb6175c7ca2..940329ff3c5be8da992d5d64597f6787d9769161 100644 --- a/app/models/change.rb +++ b/app/models/change.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Change < ActiveRecord::Base belongs_to :changeset diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 1294b9e45d1f1268ecce7e1920fa9621fd2fa4c1..85b86f8ad1acad18835f02a7cdb4127ad4efce8b 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'iconv' class Changeset < ActiveRecord::Base diff --git a/app/models/comment.rb b/app/models/comment.rb index 7fd6851a6b7c49d421d8416433d50175884faaef..7576ef9a6a453117f576a1d56c681e84b9fa6fba 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Comment < ActiveRecord::Base belongs_to :commented, :polymorphic => true, :counter_cache => true belongs_to :author, :class_name => 'User', :foreign_key => 'author_id' diff --git a/app/models/comment_observer.rb b/app/models/comment_observer.rb index a4b4a55c9df14e8a68b40f0f7782b742138b34ad..1b911ed04b8c98dd204c272033404c4ef222e2a9 100644 --- a/app/models/comment_observer.rb +++ b/app/models/comment_observer.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CommentObserver < ActiveRecord::Observer def after_create(comment) if comment.commented.is_a?(News) && Setting.notified_events.include?('news_comment_added') diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb index fc39f2e4e3f2d6cedecc52d0f36de1085fa2a20b..3fb754a2cd250666557d7001d62a6b487b91dff8 100644 --- a/app/models/custom_field.rb +++ b/app/models/custom_field.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CustomField < ActiveRecord::Base has_many :custom_values, :dependent => :delete_all acts_as_list :scope => 'type = \'#{self.class}\'' diff --git a/app/models/custom_value.rb b/app/models/custom_value.rb index 937c5749b3ac7af11d4a4c775849bbea03c45b90..c387b8c02cabb3ee67ace287d92e8caea889d092 100644 --- a/app/models/custom_value.rb +++ b/app/models/custom_value.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CustomValue < ActiveRecord::Base belongs_to :custom_field belongs_to :customized, :polymorphic => true diff --git a/app/models/document.rb b/app/models/document.rb index 111dbace5f5c6d94a9f2eb1caa24198374232166..3a2c589d414315cfa876bb87afe0821619103a8b 100644 --- a/app/models/document.rb +++ b/app/models/document.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Document < ActiveRecord::Base belongs_to :project belongs_to :category, :class_name => "DocumentCategory", :foreign_key => "category_id" diff --git a/app/models/document_category.rb b/app/models/document_category.rb index d06083fae8e31858770451671c6c1f243efa3dfa..9776572f2c436544939541ea778cd489cfb33bb7 100644 --- a/app/models/document_category.rb +++ b/app/models/document_category.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class DocumentCategory < Enumeration has_many :documents, :foreign_key => 'category_id' diff --git a/app/models/document_category_custom_field.rb b/app/models/document_category_custom_field.rb index 2519d20c69ef9ecbaa816fe9340477b38fdda7b3..d295d1ef7e88793195d4aba3fd97952cedf488a3 100644 --- a/app/models/document_category_custom_field.rb +++ b/app/models/document_category_custom_field.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class DocumentCategoryCustomField < CustomField def type_name :enumeration_doc_categories diff --git a/app/models/document_observer.rb b/app/models/document_observer.rb index 2ec0fa7228dda201df07e444ccc7528946c84d12..208016a50524ecccc78679a76713fabff6c287f2 100644 --- a/app/models/document_observer.rb +++ b/app/models/document_observer.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class DocumentObserver < ActiveRecord::Observer def after_create(document) Mailer.deliver_document_added(document) if Setting.notified_events.include?('document_added') diff --git a/app/models/enabled_module.rb b/app/models/enabled_module.rb index fd58c82562cc436c0b9f8b92da0b270e27f1e6cc..772e82d96ac724937ce164b644220470d3aa560d 100644 --- a/app/models/enabled_module.rb +++ b/app/models/enabled_module.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class EnabledModule < ActiveRecord::Base belongs_to :project diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb index c1cb863120c42bbad204b30c60c10a7a933fedf2..c2c723cfd1e2c5af77ee07d9ba1d43826e033228 100644 --- a/app/models/enumeration.rb +++ b/app/models/enumeration.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Enumeration < ActiveRecord::Base default_scope :order => "#{Enumeration.table_name}.position ASC" diff --git a/app/models/group.rb b/app/models/group.rb index 08be363a1e271992b63d38df15502ad31d5b7e16..c30338905a8c73128075e30333aab07817f6722b 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Group < Principal has_and_belongs_to_many :users, :after_add => :user_added, :after_remove => :user_removed diff --git a/app/models/group_custom_field.rb b/app/models/group_custom_field.rb index aa3df9c048900a67cab5234775a21bc108455434..aac56c529dc5389a2f822ab02d46931942ae5cdc 100644 --- a/app/models/group_custom_field.rb +++ b/app/models/group_custom_field.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class GroupCustomField < CustomField def type_name :label_group_plural diff --git a/app/models/issue.rb b/app/models/issue.rb index d4f63e0e6ce4dd6e07ebab0e49ba820365f3167b..d366ad43f28c039bd6554539b5e0bd8efa11f9cb 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Issue < ActiveRecord::Base include Redmine::SafeAttributes diff --git a/app/models/issue_category.rb b/app/models/issue_category.rb index 1754288c9224a233c1bfe7e7a1409ed9a6134c4f..c6bb3a397dd2b4d529a141eb6455a908e605f540 100644 --- a/app/models/issue_category.rb +++ b/app/models/issue_category.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueCategory < ActiveRecord::Base belongs_to :project belongs_to :assigned_to, :class_name => 'User', :foreign_key => 'assigned_to_id' diff --git a/app/models/issue_custom_field.rb b/app/models/issue_custom_field.rb index 71ba2621a8b3733e034ce86272b72a89f08be0f3..51e171eb7182cfe4f6167ff4917d28c1b027448c 100644 --- a/app/models/issue_custom_field.rb +++ b/app/models/issue_custom_field.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueCustomField < CustomField has_and_belongs_to_many :projects, :join_table => "#{table_name_prefix}custom_fields_projects#{table_name_suffix}", :foreign_key => "custom_field_id" has_and_belongs_to_many :trackers, :join_table => "#{table_name_prefix}custom_fields_trackers#{table_name_suffix}", :foreign_key => "custom_field_id" diff --git a/app/models/issue_observer.rb b/app/models/issue_observer.rb index 4d0824973e13f1bb6e3e5ff97440f2258f784a6d..4ce291647e4d63ea7cf37628724fdb6dcb9f7f08 100644 --- a/app/models/issue_observer.rb +++ b/app/models/issue_observer.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueObserver < ActiveRecord::Observer attr_accessor :send_notification diff --git a/app/models/issue_priority.rb b/app/models/issue_priority.rb index 0d1d7873409f49420ae1902f72a9343783a2b6c4..173830ead2150922c2d05687fc013c1de2377bbe 100644 --- a/app/models/issue_priority.rb +++ b/app/models/issue_priority.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssuePriority < Enumeration has_many :issues, :foreign_key => 'priority_id' diff --git a/app/models/issue_priority_custom_field.rb b/app/models/issue_priority_custom_field.rb index 09e7416302d9834f10f49c8f38317e7f5894c111..b4c2e49421e17d1d742521631e4fd69ce6c9c6f4 100644 --- a/app/models/issue_priority_custom_field.rb +++ b/app/models/issue_priority_custom_field.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssuePriorityCustomField < CustomField def type_name :enumeration_issue_priorities diff --git a/app/models/issue_relation.rb b/app/models/issue_relation.rb index a19ccf512e7cab00ac4a9b6cc3726483dafe43ef..708023146b685759fd9bc97567fde08b48d7def6 100644 --- a/app/models/issue_relation.rb +++ b/app/models/issue_relation.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueRelation < ActiveRecord::Base belongs_to :issue_from, :class_name => 'Issue', :foreign_key => 'issue_from_id' belongs_to :issue_to, :class_name => 'Issue', :foreign_key => 'issue_to_id' diff --git a/app/models/issue_status.rb b/app/models/issue_status.rb index 024e1363443920eaed72141ea7c7186c7826fca5..78ad7b7e3f32be5b878f21b18fe1f141c3d29c82 100644 --- a/app/models/issue_status.rb +++ b/app/models/issue_status.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueStatus < ActiveRecord::Base before_destroy :check_integrity has_many :workflows, :foreign_key => "old_status_id" diff --git a/app/models/journal.rb b/app/models/journal.rb index 39649f8542f66bca1b0b248bcb7242646c2e95d3..37372b32ea455399b2aa3d3d9193fa4cdb78fc49 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require_dependency 'journal_formatter' # The ActiveRecord model representing journals. diff --git a/app/models/journal_observer.rb b/app/models/journal_observer.rb index f1db16582f99884625618ceb4f455b38a4da0c67..443e5fc8fe1733f86b9c027d2d2502a80e1e1c9e 100644 --- a/app/models/journal_observer.rb +++ b/app/models/journal_observer.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class JournalObserver < ActiveRecord::Observer attr_accessor :send_notification diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index bc42c82f9fcd279226588618aa4aaffc75bc2b86..f5999611dc0be18653f3c0e24a58b08bf065491a 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class MailHandler < ActionMailer::Base include ActionView::Helpers::SanitizeHelper include Redmine::I18n diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 87ce2d2036332e9ecd7e2fc23e43dfb7f01b79ea..ee8c5a9d66637d9aca8c3f4a1832f70c7ac90ac5 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'ar_condition' class Mailer < ActionMailer::Base diff --git a/app/models/member.rb b/app/models/member.rb index b0e2df0a612a13e0514eab853bae835089cc0dfd..bbfae6cde018da1c23a019847ccff572ee13932f 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Member < ActiveRecord::Base belongs_to :user belongs_to :principal, :foreign_key => 'user_id' diff --git a/app/models/member_role.rb b/app/models/member_role.rb index 3f885e47660f1197604611ae1430a659c610b36b..c3718acb50d25caca7c133b6280d53e9b12c9b8d 100644 --- a/app/models/member_role.rb +++ b/app/models/member_role.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class MemberRole < ActiveRecord::Base belongs_to :member belongs_to :role diff --git a/app/models/message.rb b/app/models/message.rb index 950d699292f7e37980fc58d0e3da991ef01654e1..1ceb1b23de02563be14971f6656d09a118ad748a 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Message < ActiveRecord::Base belongs_to :board belongs_to :author, :class_name => 'User', :foreign_key => 'author_id' diff --git a/app/models/message_observer.rb b/app/models/message_observer.rb index 553f5b1f8212242dfb6256c7e800aa256f7e8028..70f161f9b285c92fd88449e7cd3d5967c9bc8e80 100644 --- a/app/models/message_observer.rb +++ b/app/models/message_observer.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class MessageObserver < ActiveRecord::Observer def after_save(message) if message.last_journal.version == 1 diff --git a/app/models/news.rb b/app/models/news.rb index 91ccddf32bfb8c454b32c086a79d01b57f814840..0c2a5c9b336b663364f804a6f5bf081b052cdbba 100644 --- a/app/models/news.rb +++ b/app/models/news.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class News < ActiveRecord::Base belongs_to :project belongs_to :author, :class_name => 'User', :foreign_key => 'author_id' diff --git a/app/models/news_observer.rb b/app/models/news_observer.rb index 573306c3f4250d87ba678a62ce1fd19e16df1486..159983535efa9280dfe8d42420134e5f4ef2723b 100644 --- a/app/models/news_observer.rb +++ b/app/models/news_observer.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class NewsObserver < ActiveRecord::Observer def after_create(news) Mailer.deliver_news_added(news) if Setting.notified_events.include?('news_added') diff --git a/app/models/principal.rb b/app/models/principal.rb index f9ebe152be7ee317e86d9101e9d27f296ac036c6..8c75ea7e6fe18eeaaf88bc347a9ef4f9bf800b99 100644 --- a/app/models/principal.rb +++ b/app/models/principal.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Principal < ActiveRecord::Base set_table_name "#{table_name_prefix}users#{table_name_suffix}" diff --git a/app/models/project.rb b/app/models/project.rb index 052b173ee83c6efbeb03fb4796c589e38552909d..5f5bca005f61b410f9a71cac21e661ec1eb7771d 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Project < ActiveRecord::Base include Redmine::SafeAttributes diff --git a/app/models/project_custom_field.rb b/app/models/project_custom_field.rb index 0f7ce5f37f6ce7a07f45eb68956b9b0983fe6abb..dba042e33b0336870df3fb4086afc52b4a4ba082 100644 --- a/app/models/project_custom_field.rb +++ b/app/models/project_custom_field.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ProjectCustomField < CustomField def type_name :label_project_plural diff --git a/app/models/query.rb b/app/models/query.rb index 8eaf4f0b0692e091c476f688079cbd368959fb69..c1e8bc6745779caffeaab455e9ae0534812880b1 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class QueryColumn attr_accessor :name, :sortable, :groupable, :default_order include Redmine::I18n diff --git a/app/models/repository.rb b/app/models/repository.rb index 73ab6a168aac9ce6d0c80b7663d937a65fb8106b..ebf434bd84dcd10cb9e881577dcbb2f9a4d0a4b5 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Repository < ActiveRecord::Base include Redmine::Ciphering diff --git a/app/models/repository/bazaar.rb b/app/models/repository/bazaar.rb index 14bf92a2a91f2cf5db10f46f8b2fa4bb38e9e2d9..94378e8a7e7468ebcc1e89900b0bacd38635bce6 100644 --- a/app/models/repository/bazaar.rb +++ b/app/models/repository/bazaar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/bazaar_adapter' class Repository::Bazaar < Repository diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb index 5c7762ab7ee66d2f098a67c9dbdd1d974f3a6f2b..d343389c4f28331b34fc0b2d840909d797e4676e 100644 --- a/app/models/repository/cvs.rb +++ b/app/models/repository/cvs.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/cvs_adapter' require 'digest/sha1' diff --git a/app/models/repository/darcs.rb b/app/models/repository/darcs.rb index 57780decd57fcabc183365b06d528941f20eeeff..34d5b629ae0c7992972599f5cac670eecaa94b96 100644 --- a/app/models/repository/darcs.rb +++ b/app/models/repository/darcs.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/darcs_adapter' class Repository::Darcs < Repository diff --git a/app/models/repository/filesystem.rb b/app/models/repository/filesystem.rb index c2312fa1f35f8e45e5d3df1e026100aa625e75d0..f1e269bbc59eff3e12ac7def58dfb7e48a778482 100644 --- a/app/models/repository/filesystem.rb +++ b/app/models/repository/filesystem.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/filesystem_adapter' class Repository::Filesystem < Repository diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb index cdfa2bbd2deb94d6abf28d55dd20ba7b8f63145b..bc9dee616da54b3aa95e85b12eaf218d48bc4772 100644 --- a/app/models/repository/git.rb +++ b/app/models/repository/git.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/git_adapter' class Repository::Git < Repository diff --git a/app/models/repository/mercurial.rb b/app/models/repository/mercurial.rb index 9b02e4f418545861e648420eafdd5baa9a25bf3f..fcfef55d136c27e267244172449bbf86b4231f99 100644 --- a/app/models/repository/mercurial.rb +++ b/app/models/repository/mercurial.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/mercurial_adapter' class Repository::Mercurial < Repository diff --git a/app/models/repository/subversion.rb b/app/models/repository/subversion.rb index 2c95d9e6071748e46e1ecb52933ba13255a8fd58..9ab6b9d281d4c0c137eec08358fec34ddf09e2a5 100644 --- a/app/models/repository/subversion.rb +++ b/app/models/repository/subversion.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/subversion_adapter' class Repository::Subversion < Repository diff --git a/app/models/role.rb b/app/models/role.rb index b5434698711f6839375bf739a6d165151c53273d..d49c8fb8d50c76194ffc462fc235b587032cd7a3 100644 --- a/app/models/role.rb +++ b/app/models/role.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Role < ActiveRecord::Base # Built-in roles BUILTIN_NON_MEMBER = 1 diff --git a/app/models/setting.rb b/app/models/setting.rb index 3408d1b8f8fffb9e0868eb67ad5fed68e938180a..2b96ca87b6d5093924c13dc74c86254160b3391a 100644 --- a/app/models/setting.rb +++ b/app/models/setting.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Setting < ActiveRecord::Base DATE_FORMATS = [ diff --git a/app/models/time_entry.rb b/app/models/time_entry.rb index dee319b4b212adc7aaaa4ee4088e17c149c2721f..9bc4e2b50e5b47ae261f06df5c2bea2bc33aa52f 100644 --- a/app/models/time_entry.rb +++ b/app/models/time_entry.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class TimeEntry < ActiveRecord::Base # could have used polymorphic association # project association here allows easy loading of time entries at project level with one database trip diff --git a/app/models/time_entry_activity.rb b/app/models/time_entry_activity.rb index a5b68556ac8bf3f84867ad0db9459a035a0426a5..980de09759c347c386b28903a090d64758ad7a17 100644 --- a/app/models/time_entry_activity.rb +++ b/app/models/time_entry_activity.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class TimeEntryActivity < Enumeration has_many :time_entries, :foreign_key => 'activity_id' diff --git a/app/models/time_entry_activity_custom_field.rb b/app/models/time_entry_activity_custom_field.rb index 4bfb71d2f87819777b58232c6ffb5dbaf329387a..ee453633a7ad80bda27bfef9a333d839d7d030a6 100644 --- a/app/models/time_entry_activity_custom_field.rb +++ b/app/models/time_entry_activity_custom_field.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class TimeEntryActivityCustomField < CustomField def type_name :enumeration_activities diff --git a/app/models/time_entry_custom_field.rb b/app/models/time_entry_custom_field.rb index 4838a1dc47af55ff9b01b001d6982e471141b037..d602db1fc50417288fd70117b980bf53a6f79807 100644 --- a/app/models/time_entry_custom_field.rb +++ b/app/models/time_entry_custom_field.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class TimeEntryCustomField < CustomField def type_name :label_spent_time diff --git a/app/models/token.rb b/app/models/token.rb index f031cc7e5cf98d08003a05643d1d5fe8abe1598f..a3c65a5e0c710fe6fb9067c5fa9cb114234daabf 100644 --- a/app/models/token.rb +++ b/app/models/token.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Token < ActiveRecord::Base belongs_to :user validates_uniqueness_of :value diff --git a/app/models/tracker.rb b/app/models/tracker.rb index 2f839ce982364ce1dca6f45c9566a3cc368d70a6..e08b2a3e537ec0049ec62bfb3ced718d72a8ce79 100644 --- a/app/models/tracker.rb +++ b/app/models/tracker.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Tracker < ActiveRecord::Base before_destroy :check_integrity has_many :issues diff --git a/app/models/user.rb b/app/models/user.rb index b753fb40c3e07072749eb21e16ded89abfc46467..ce352d0b910a2f1f7f0fb8425e9906eb36cabf63 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require "digest/sha1" class User < Principal diff --git a/app/models/user_custom_field.rb b/app/models/user_custom_field.rb index 0350d17d9b60b44ba67d84374b91149d0a7e0a0e..eacb241c43981c06736a4102a04431b14a8cb3a6 100644 --- a/app/models/user_custom_field.rb +++ b/app/models/user_custom_field.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class UserCustomField < CustomField def type_name :label_user_plural diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb index cd8ba9c30c8c1df7bfbc4b2e896d4c296670d6b7..06f5f55c1ad6a2bdcc70f404adf8e8c4fd1505e0 100644 --- a/app/models/user_preference.rb +++ b/app/models/user_preference.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class UserPreference < ActiveRecord::Base belongs_to :user serialize :others diff --git a/app/models/version.rb b/app/models/version.rb index 3521b4ab14a4c65044bb9236500f6b962e324aaf..d1b3f7e33cce5d5fcd1b26b456802e557ee4c3fb 100644 --- a/app/models/version.rb +++ b/app/models/version.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Version < ActiveRecord::Base after_update :update_issues_from_sharing_change belongs_to :project diff --git a/app/models/version_custom_field.rb b/app/models/version_custom_field.rb index 6d611a9df7cfc4c86eea98a32baf34bbafe993f0..81a74980e5cf68bd587111c5289a36ab828dbc0b 100644 --- a/app/models/version_custom_field.rb +++ b/app/models/version_custom_field.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class VersionCustomField < CustomField def type_name :label_version_plural diff --git a/app/models/watcher.rb b/app/models/watcher.rb index 759721cefb44c1eb0fa551e3a761373e6a6f2d43..5ee9b2166a5d4a1c7eb3a85c9145fab01581035e 100644 --- a/app/models/watcher.rb +++ b/app/models/watcher.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Watcher < ActiveRecord::Base belongs_to :watchable, :polymorphic => true belongs_to :user diff --git a/app/models/wiki.rb b/app/models/wiki.rb index 399adddc0fbba7cd7e981ae9a23f01f94ab808f1..2f8e0eb3c157da7a2a781a0991b76fb0f252f8fe 100644 --- a/app/models/wiki.rb +++ b/app/models/wiki.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Wiki < ActiveRecord::Base belongs_to :project has_many :pages, :class_name => 'WikiPage', :dependent => :destroy, :order => 'title' diff --git a/app/models/wiki_content.rb b/app/models/wiki_content.rb index f7b93f76cb8d803a3faba7fd6d2e2707a56a5579..3f956006f35ce3bc8366c7e3176a842334167a9b 100644 --- a/app/models/wiki_content.rb +++ b/app/models/wiki_content.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'zlib' class WikiContent < ActiveRecord::Base diff --git a/app/models/wiki_content_observer.rb b/app/models/wiki_content_observer.rb index 1cb96ea65874c03636e6341f34f7ed7da52fd315..13d1a933b5c4deedcde5e961fa3532578c96ace7 100644 --- a/app/models/wiki_content_observer.rb +++ b/app/models/wiki_content_observer.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class WikiContentObserver < ActiveRecord::Observer def after_create(wiki_content) Mailer.deliver_wiki_content_added(wiki_content) if Setting.notified_events.include?('wiki_content_added') diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index 6132f9395a859b5f1877f7d25d342f025b3f1374..b9b30d61f5dfb7743522c81294023f83abf17c94 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'diff' require 'enumerator' diff --git a/app/models/wiki_redirect.rb b/app/models/wiki_redirect.rb index 943adecf09f353319f8d2487babbdd3193e446cf..b78319b5a30fa3dbf07aa76fb3653492959f4ea0 100644 --- a/app/models/wiki_redirect.rb +++ b/app/models/wiki_redirect.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class WikiRedirect < ActiveRecord::Base belongs_to :wiki diff --git a/app/models/workflow.rb b/app/models/workflow.rb index b051299ed2aad778ae3e50112256740f1219a5b0..6ff86a927be2546bf405c2ade92e63e2748b278a 100644 --- a/app/models/workflow.rb +++ b/app/models/workflow.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Workflow < ActiveRecord::Base belongs_to :role belongs_to :old_status, :class_name => 'IssueStatus', :foreign_key => 'old_status_id' diff --git a/config/boot.rb b/config/boot.rb index b5869a8cef0c15fb078a4f6d07d4d7cb540b6af6..11bee3b2cbc3db4c1fd994a12fce7cc038335bf5 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Don't change this file! # Configure your app in config/environment.rb and config/environments/*.rb diff --git a/config/environment.rb b/config/environment.rb index 0b42af335a51fc3f5062265579dca35e4d6bd56b..a08c69b777eb363722d0e3ac83a8d8395448225c 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Be sure to restart your web server when you modify this file. # Uncomment below to force Rails into production mode when diff --git a/config/environments/demo.rb b/config/environments/demo.rb index c7e997e8d041a72e07b6235c9715926e6e6b9a42..3d977fba1efb1420518b067f1d1e901f039cacff 100644 --- a/config/environments/demo.rb +++ b/config/environments/demo.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Settings specified here will take precedence over those in config/environment.rb # The production environment is meant for finished, "live" apps. diff --git a/config/environments/development.rb b/config/environments/development.rb index 85c9a6080ea865b51fee9a43e23a6969d709ffb4..49d58561b86fde2e800a75e6232e392ecb6bef48 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Settings specified here will take precedence over those in config/environment.rb # In the development environment your application's code is reloaded on diff --git a/config/environments/production.rb b/config/environments/production.rb index 91af89ce24f42af3d22e8aeac13ff7d8ac92fd30..abb83923b5f12149199239b0ea012255bf208a98 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Settings specified here will take precedence over those in config/environment.rb # The production environment is meant for finished, "live" apps. diff --git a/config/environments/test.rb b/config/environments/test.rb index 4ce45527adae573dbbf7eeb3bd47fd929b7ddaa0..8aa6e96446a81f4869e7a3baccbcda4e8750adab 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Settings specified here will take precedence over those in config/environment.rb # The test environment is used exclusively to run your application's diff --git a/config/environments/test_pgsql.rb b/config/environments/test_pgsql.rb index 45cb09bdd41fa07cfd25ec8ad3986aeb8cba345d..a4ad500df7b5a5a0602b5b2b2ac524aa81bdf106 100644 --- a/config/environments/test_pgsql.rb +++ b/config/environments/test_pgsql.rb @@ -1 +1,14 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + instance_eval File.read(File.join(File.dirname(__FILE__), 'test.rb')) diff --git a/config/environments/test_sqlite3.rb b/config/environments/test_sqlite3.rb index 45cb09bdd41fa07cfd25ec8ad3986aeb8cba345d..a4ad500df7b5a5a0602b5b2b2ac524aa81bdf106 100644 --- a/config/environments/test_sqlite3.rb +++ b/config/environments/test_sqlite3.rb @@ -1 +1,14 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + instance_eval File.read(File.join(File.dirname(__FILE__), 'test.rb')) diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index 0e23a3d4318e130f03894b2f15da04340674d47b..e52d40445d85984461194679fd93525c55327d8a 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'active_record' diff --git a/config/initializers/20-mime_types.rb b/config/initializers/20-mime_types.rb index dabac346303a70e52b0fbe95f848f2d67d5183fc..619f3090f952dc43d2216af1c18df51a8ae1ebbd 100644 --- a/config/initializers/20-mime_types.rb +++ b/config/initializers/20-mime_types.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Add new mime types for use in respond_to blocks: Mime::SET << Mime::CSV unless Mime::SET.include?(Mime::CSV) diff --git a/config/initializers/30-redmine.rb b/config/initializers/30-redmine.rb index 23989ed28df446808246f37ccf1f1db7bf401150..cf761f4f33c9da8ab69d768bc15cdcaca8b344f6 100644 --- a/config/initializers/30-redmine.rb +++ b/config/initializers/30-redmine.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + I18n.default_locale = 'en' # Adds fallback to default locale for untranslated strings I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks) diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb index c2169ed01c5f8d961afbd99583a34b800a1b0767..540c30a1f8cbe33df57c2721a18cac2553d9d6b1 100644 --- a/config/initializers/backtrace_silencers.rb +++ b/config/initializers/backtrace_silencers.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # 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/inflections.rb b/config/initializers/inflections.rb index d531b8bb8258b0f75e5b7c367b1988233e28c724..c0fa9da4914c677d10ebefbfaa8b0748b1a79df4 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Be sure to restart your server when you modify this file. # Add new inflection rules using the following format diff --git a/config/initializers/new_rails_defaults.rb b/config/initializers/new_rails_defaults.rb index 0039a3b29fc61a760761f8c98814038875f75ebd..fd36ce9defa6161dc039ac3cba9f6951350fd14c 100644 --- a/config/initializers/new_rails_defaults.rb +++ b/config/initializers/new_rails_defaults.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Be sure to restart your server when you modify this file. # These settings change the behavior of Rails 2 apps and will be defaults diff --git a/config/preinitializer.rb b/config/preinitializer.rb index 3ad02415d53c4acca21c19bbbdaec6fe8b8d47dc..3d90b7014c5be3e1a50c725b7afdb78cb1dc837b 100644 --- a/config/preinitializer.rb +++ b/config/preinitializer.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + begin require "rubygems" require "bundler" diff --git a/config/routes.rb b/config/routes.rb index 378fdb0b91efecba00830f4c59f0d9528ae31c98..97feddde438beb09ef0a5781e5ad88983461b338 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + ActionController::Routing::Routes.draw do |map| # Add your own custom routes here. # The priority is based upon order of creation: first created -> highest priority. diff --git a/db/migrate/001_setup.rb b/db/migrate/001_setup.rb index 5b83e63e78953d03659af2f7938190ed37ea91c6..404578277a5d8d670623c74d7c3cdf4b134b5c0c 100644 --- a/db/migrate/001_setup.rb +++ b/db/migrate/001_setup.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # redMine - project management software # Copyright (C) 2006 Jean-Philippe Lang # diff --git a/db/migrate/002_issue_move.rb b/db/migrate/002_issue_move.rb index 085593e08ae641d466c56738c9722f0641dd54e3..4746959a4b0d29218319b8c6fdaf18bd73e1cab8 100644 --- a/db/migrate/002_issue_move.rb +++ b/db/migrate/002_issue_move.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueMove < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/003_issue_add_note.rb b/db/migrate/003_issue_add_note.rb index a2ab756ee78729f5a1ce3ebb164e361cbaa65fdb..8ef591e401a9379f707f37b9f0f385ebfb3f1179 100644 --- a/db/migrate/003_issue_add_note.rb +++ b/db/migrate/003_issue_add_note.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueAddNote < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/004_export_pdf.rb b/db/migrate/004_export_pdf.rb index 6ccd67eae9d999359554fd606af7f955dd392c65..7765d0ce0a35b1129e8616115a588ea0e14b9d77 100644 --- a/db/migrate/004_export_pdf.rb +++ b/db/migrate/004_export_pdf.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ExportPdf < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/005_issue_start_date.rb b/db/migrate/005_issue_start_date.rb index 3d1693fc6d01dd69f2f8a0e02490420601505de7..32ffef902868a37541147bf47803b0b6050503b7 100644 --- a/db/migrate/005_issue_start_date.rb +++ b/db/migrate/005_issue_start_date.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueStartDate < ActiveRecord::Migration def self.up add_column :issues, :start_date, :date diff --git a/db/migrate/006_calendar_and_activity.rb b/db/migrate/006_calendar_and_activity.rb index 1cdc91d8e73c317371d1d7197f50354aa1249fc9..7ace3f9857af26d2028a0893b8cc49c3d8d4c50d 100644 --- a/db/migrate/006_calendar_and_activity.rb +++ b/db/migrate/006_calendar_and_activity.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CalendarAndActivity < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/007_create_journals.rb b/db/migrate/007_create_journals.rb index b00347839abec55ffe6b1dcbb5d6dde3dfa70a40..7a021fa659e258f420cff6188ac9e4db04c811c8 100644 --- a/db/migrate/007_create_journals.rb +++ b/db/migrate/007_create_journals.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateJournals < ActiveRecord::Migration # model removed, but needed for data migration diff --git a/db/migrate/008_create_user_preferences.rb b/db/migrate/008_create_user_preferences.rb index 80ae1cdf97962e650e04a72d47fb058495274bb3..d7aed8558a332723b8c369b176323dd2d8aec39f 100644 --- a/db/migrate/008_create_user_preferences.rb +++ b/db/migrate/008_create_user_preferences.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateUserPreferences < ActiveRecord::Migration def self.up create_table :user_preferences do |t| diff --git a/db/migrate/009_add_hide_mail_pref.rb b/db/migrate/009_add_hide_mail_pref.rb index a22eafd93be93d69b2b740dc47b82ad12fc168e2..a9bc2106b9fa4141c23a6bd6c06856c78766b279 100644 --- a/db/migrate/009_add_hide_mail_pref.rb +++ b/db/migrate/009_add_hide_mail_pref.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddHideMailPref < ActiveRecord::Migration def self.up add_column :user_preferences, :hide_mail, :boolean, :default => false diff --git a/db/migrate/010_create_comments.rb b/db/migrate/010_create_comments.rb index 29e1116afdc022fe79c503921c316b2ee15b7f13..b393ef337a7455a48ec2bc30f37205aa6b90acaf 100644 --- a/db/migrate/010_create_comments.rb +++ b/db/migrate/010_create_comments.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateComments < ActiveRecord::Migration def self.up create_table :comments do |t| diff --git a/db/migrate/011_add_news_comments_count.rb b/db/migrate/011_add_news_comments_count.rb index a24743999fe0facb7ce4cb7690d35829f0afa7a1..efefacaf76d8d3349c4f318d702c8d866a147e23 100644 --- a/db/migrate/011_add_news_comments_count.rb +++ b/db/migrate/011_add_news_comments_count.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddNewsCommentsCount < ActiveRecord::Migration def self.up add_column :news, :comments_count, :integer, :default => 0, :null => false diff --git a/db/migrate/012_add_comments_permissions.rb b/db/migrate/012_add_comments_permissions.rb index 2bbf87b02744d33f20b15600d02332dd542d2069..049be0a7d889dc4486f7c3c0cf0bfcb3674ca48b 100644 --- a/db/migrate/012_add_comments_permissions.rb +++ b/db/migrate/012_add_comments_permissions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddCommentsPermissions < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/013_create_queries.rb b/db/migrate/013_create_queries.rb index e0e8c90c04f963e86497a19f09b01b6d1c6126ab..6c5f452c2289d14df49eb2aa5bf488a19848c746 100644 --- a/db/migrate/013_create_queries.rb +++ b/db/migrate/013_create_queries.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateQueries < ActiveRecord::Migration def self.up create_table :queries, :force => true do |t| diff --git a/db/migrate/014_add_queries_permissions.rb b/db/migrate/014_add_queries_permissions.rb index 34eba1e26665e97353eb719036ba6478b8672d31..2669c2dba522bdfa287f78c5e9abe282fad8cd25 100644 --- a/db/migrate/014_add_queries_permissions.rb +++ b/db/migrate/014_add_queries_permissions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddQueriesPermissions < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/015_create_repositories.rb b/db/migrate/015_create_repositories.rb index d8c0524b3eb00f5ab8bd0994ac0957b9a5f82078..cf27052a874518d93340304f4a88af24bc7ee7a7 100644 --- a/db/migrate/015_create_repositories.rb +++ b/db/migrate/015_create_repositories.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateRepositories < ActiveRecord::Migration def self.up create_table :repositories, :force => true do |t| diff --git a/db/migrate/016_add_repositories_permissions.rb b/db/migrate/016_add_repositories_permissions.rb index 341707639beeaf6929f4070684e9828a907b66a1..1dcf5fba853d69efee5c12d37e92c378a7a27c40 100644 --- a/db/migrate/016_add_repositories_permissions.rb +++ b/db/migrate/016_add_repositories_permissions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRepositoriesPermissions < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/017_create_settings.rb b/db/migrate/017_create_settings.rb index 99f96adf842a9e68427857d07e9c91e7f8d75553..5a645dd3671fa0cc638245e96f8546720a13e06b 100644 --- a/db/migrate/017_create_settings.rb +++ b/db/migrate/017_create_settings.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateSettings < ActiveRecord::Migration def self.up create_table :settings, :force => true do |t| diff --git a/db/migrate/018_set_doc_and_files_notifications.rb b/db/migrate/018_set_doc_and_files_notifications.rb index 8c1d054c1adbdc28b8daab729ce43e4e1462a862..0993f4a890ea4487b3c11e20001149a93d42e18d 100644 --- a/db/migrate/018_set_doc_and_files_notifications.rb +++ b/db/migrate/018_set_doc_and_files_notifications.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class SetDocAndFilesNotifications < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/019_add_issue_status_position.rb b/db/migrate/019_add_issue_status_position.rb index ed24d27c1a6b4ceb9940b5951833f8bf06b59fe4..16f9b28e97532eea1974542a4611d5236f552b26 100644 --- a/db/migrate/019_add_issue_status_position.rb +++ b/db/migrate/019_add_issue_status_position.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddIssueStatusPosition < ActiveRecord::Migration def self.up add_column :issue_statuses, :position, :integer, :default => 1 diff --git a/db/migrate/020_add_role_position.rb b/db/migrate/020_add_role_position.rb index e220bd9fdab64989738fedcef9891bd1cebda778..272c3e4a04842086dbc4f58db0f5f2e6af99f419 100644 --- a/db/migrate/020_add_role_position.rb +++ b/db/migrate/020_add_role_position.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRolePosition < ActiveRecord::Migration def self.up add_column :roles, :position, :integer, :default => 1 diff --git a/db/migrate/021_add_tracker_position.rb b/db/migrate/021_add_tracker_position.rb index ef9775620e675ac8a809072a30aca816fe66e0d0..601b05ed17f1fe7bdb59926333960de6200b2761 100644 --- a/db/migrate/021_add_tracker_position.rb +++ b/db/migrate/021_add_tracker_position.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddTrackerPosition < ActiveRecord::Migration def self.up add_column :trackers, :position, :integer, :default => 1 diff --git a/db/migrate/022_serialize_possibles_values.rb b/db/migrate/022_serialize_possibles_values.rb index 5158f37fd3d7ddf193e0426e57cb9d9931863844..5af8c050f485c1f8ac731ab2c352e48b3df7043e 100644 --- a/db/migrate/022_serialize_possibles_values.rb +++ b/db/migrate/022_serialize_possibles_values.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class SerializePossiblesValues < ActiveRecord::Migration def self.up CustomField.find(:all).each do |field| diff --git a/db/migrate/023_add_tracker_is_in_roadmap.rb b/db/migrate/023_add_tracker_is_in_roadmap.rb index 82ef87bba8e57f5192bbf07131c766e4cdbc7b6b..a0a7cdc43ed35428a155ea46b99876ca397074e1 100644 --- a/db/migrate/023_add_tracker_is_in_roadmap.rb +++ b/db/migrate/023_add_tracker_is_in_roadmap.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddTrackerIsInRoadmap < ActiveRecord::Migration def self.up add_column :trackers, :is_in_roadmap, :boolean, :default => true, :null => false diff --git a/db/migrate/024_add_roadmap_permission.rb b/db/migrate/024_add_roadmap_permission.rb index 5c37beac15c288fbf242404c2df00c6ce343cd60..2880fe6045ef40875237a52231799a8a402952f9 100644 --- a/db/migrate/024_add_roadmap_permission.rb +++ b/db/migrate/024_add_roadmap_permission.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRoadmapPermission < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/025_add_search_permission.rb b/db/migrate/025_add_search_permission.rb index a942b01b35d44b52fc37c61ce61871f574a72f46..6210b438439c53e9673af084c16acfe225e1fbc4 100644 --- a/db/migrate/025_add_search_permission.rb +++ b/db/migrate/025_add_search_permission.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddSearchPermission < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/026_add_repository_login_and_password.rb b/db/migrate/026_add_repository_login_and_password.rb index 5fc9197255f60424a1106837807f80aaeae5a9e3..91fee350d58699285fd50ec29cf6dd15baa2cfe5 100644 --- a/db/migrate/026_add_repository_login_and_password.rb +++ b/db/migrate/026_add_repository_login_and_password.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRepositoryLoginAndPassword < ActiveRecord::Migration def self.up add_column :repositories, :login, :string, :limit => 60, :default => "" diff --git a/db/migrate/027_create_wikis.rb b/db/migrate/027_create_wikis.rb index ed6784296bbe8f4e9f86a5c1ee745337fa8ed0b2..bb820c433ff072911e1c47ee1fa4c7a5c25857b0 100644 --- a/db/migrate/027_create_wikis.rb +++ b/db/migrate/027_create_wikis.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateWikis < ActiveRecord::Migration def self.up create_table :wikis do |t| diff --git a/db/migrate/028_create_wiki_pages.rb b/db/migrate/028_create_wiki_pages.rb index 535cbfb0a998faf90fef4d43f4b3e75ff95b44c3..ec62e4b518245bb659cb2bb2135701ac274b49ac 100644 --- a/db/migrate/028_create_wiki_pages.rb +++ b/db/migrate/028_create_wiki_pages.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateWikiPages < ActiveRecord::Migration def self.up create_table :wiki_pages do |t| diff --git a/db/migrate/029_create_wiki_contents.rb b/db/migrate/029_create_wiki_contents.rb index c5c9f2a45a7a6f5d0d0a424f5788f0f04eea2a7d..b1f1a7cabe1bb1c7fd79a80623dd83ad76f35c7b 100644 --- a/db/migrate/029_create_wiki_contents.rb +++ b/db/migrate/029_create_wiki_contents.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateWikiContents < ActiveRecord::Migration def self.up create_table :wiki_contents do |t| diff --git a/db/migrate/030_add_projects_feeds_permissions.rb b/db/migrate/030_add_projects_feeds_permissions.rb index 7f97035bf198340829ec459b9cde0f470e60bbe2..e18c73458ad3a2ddbc836ae3a7136c8e68dddd6b 100644 --- a/db/migrate/030_add_projects_feeds_permissions.rb +++ b/db/migrate/030_add_projects_feeds_permissions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddProjectsFeedsPermissions < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/031_add_repository_root_url.rb b/db/migrate/031_add_repository_root_url.rb index df57809c7d712a5f36f7129b832d23697dc3eb45..641fa28dcaba78a38bceb6ff5396bc7971f7a963 100644 --- a/db/migrate/031_add_repository_root_url.rb +++ b/db/migrate/031_add_repository_root_url.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRepositoryRootUrl < ActiveRecord::Migration def self.up add_column :repositories, :root_url, :string, :limit => 255, :default => "" diff --git a/db/migrate/032_create_time_entries.rb b/db/migrate/032_create_time_entries.rb index 9b9a54eb1cdfd1a63a2243bad3e441b636006f0b..1313c63be47b74a2278267d3cfa48eb394a1ac63 100644 --- a/db/migrate/032_create_time_entries.rb +++ b/db/migrate/032_create_time_entries.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateTimeEntries < ActiveRecord::Migration def self.up create_table :time_entries do |t| diff --git a/db/migrate/033_add_timelog_permissions.rb b/db/migrate/033_add_timelog_permissions.rb index ab9c809e647653ee524d93f85dbb9540d993398b..680c3fb7388bf5f7e3e017d0fad1376c54cba479 100644 --- a/db/migrate/033_add_timelog_permissions.rb +++ b/db/migrate/033_add_timelog_permissions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddTimelogPermissions < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/034_create_changesets.rb b/db/migrate/034_create_changesets.rb index 612fd46bb961e54666e61e95979e9d147f26e886..8b8e1d718d9db96d07f65690e835960e5523cb32 100644 --- a/db/migrate/034_create_changesets.rb +++ b/db/migrate/034_create_changesets.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateChangesets < ActiveRecord::Migration def self.up create_table :changesets do |t| diff --git a/db/migrate/035_create_changes.rb b/db/migrate/035_create_changes.rb index fa0cfac3f759bf846b90bbea32e1b4a7ea315900..c4e655d53a6fd1f08fabd695d0cfef5687280b5b 100644 --- a/db/migrate/035_create_changes.rb +++ b/db/migrate/035_create_changes.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateChanges < ActiveRecord::Migration def self.up create_table :changes do |t| diff --git a/db/migrate/036_add_changeset_commit_date.rb b/db/migrate/036_add_changeset_commit_date.rb index b9cc49b84319c998c9e301bf0897bc925bdd820a..c6e9745f38b488d2eb3440237d19ac49de364768 100644 --- a/db/migrate/036_add_changeset_commit_date.rb +++ b/db/migrate/036_add_changeset_commit_date.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddChangesetCommitDate < ActiveRecord::Migration def self.up add_column :changesets, :commit_date, :date diff --git a/db/migrate/037_add_project_identifier.rb b/db/migrate/037_add_project_identifier.rb index 0fd8c7513b34ae02b3e59853bc665868cdaf9173..34b7f0ccfb6afde3b86a193b64cb7a14ce0775d3 100644 --- a/db/migrate/037_add_project_identifier.rb +++ b/db/migrate/037_add_project_identifier.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddProjectIdentifier < ActiveRecord::Migration def self.up add_column :projects, :identifier, :string, :limit => 20 diff --git a/db/migrate/038_add_custom_field_is_filter.rb b/db/migrate/038_add_custom_field_is_filter.rb index 519ee0bd55b7041e3831465399101d5668a670b2..36c423f03e15b5f027297606aded8dee3e499214 100644 --- a/db/migrate/038_add_custom_field_is_filter.rb +++ b/db/migrate/038_add_custom_field_is_filter.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddCustomFieldIsFilter < ActiveRecord::Migration def self.up add_column :custom_fields, :is_filter, :boolean, :null => false, :default => false diff --git a/db/migrate/039_create_watchers.rb b/db/migrate/039_create_watchers.rb index 9579e19a4ef9d088a024415fbef05a0497514aad..96679afdb928590493e0491ffa3e6ed418727b26 100644 --- a/db/migrate/039_create_watchers.rb +++ b/db/migrate/039_create_watchers.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateWatchers < ActiveRecord::Migration def self.up create_table :watchers do |t| diff --git a/db/migrate/040_create_changesets_issues.rb b/db/migrate/040_create_changesets_issues.rb index 494d3cc46017c70c095554505474011e1526390d..7e10be148c2e92c705a35f2a2a22772e42a55de8 100644 --- a/db/migrate/040_create_changesets_issues.rb +++ b/db/migrate/040_create_changesets_issues.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateChangesetsIssues < ActiveRecord::Migration def self.up create_table :changesets_issues, :id => false do |t| diff --git a/db/migrate/041_rename_comment_to_comments.rb b/db/migrate/041_rename_comment_to_comments.rb index fdacff930529758494d8a4faf5c0686c66d96fe1..8568daf2951c1abe986dde89ac6d223fa06dbb2a 100644 --- a/db/migrate/041_rename_comment_to_comments.rb +++ b/db/migrate/041_rename_comment_to_comments.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class RenameCommentToComments < ActiveRecord::Migration def self.up rename_column(:comments, :comment, :comments) if ActiveRecord::Base.connection.columns(Comment.table_name).detect{|c| c.name == "comment"} diff --git a/db/migrate/042_create_issue_relations.rb b/db/migrate/042_create_issue_relations.rb index 802c12437639c6d8b178987e35ddb359edd67d22..84e44280e1f7b4baadf21ae9256286579607cd95 100644 --- a/db/migrate/042_create_issue_relations.rb +++ b/db/migrate/042_create_issue_relations.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateIssueRelations < ActiveRecord::Migration def self.up create_table :issue_relations do |t| diff --git a/db/migrate/043_add_relations_permissions.rb b/db/migrate/043_add_relations_permissions.rb index 32d464a585ea4d507a34307e35ade33e5cb0f221..3beb1ab6cc7befe6c501250815b35472d723a2ff 100644 --- a/db/migrate/043_add_relations_permissions.rb +++ b/db/migrate/043_add_relations_permissions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRelationsPermissions < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/044_set_language_length_to_five.rb b/db/migrate/044_set_language_length_to_five.rb index a417f7d7018a0c9d9affb18c805ee7cfc13555ff..c63829aac8903d45f46ff377a05a269c562e94d4 100644 --- a/db/migrate/044_set_language_length_to_five.rb +++ b/db/migrate/044_set_language_length_to_five.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class SetLanguageLengthToFive < ActiveRecord::Migration def self.up change_column :users, :language, :string, :limit => 5, :default => "" diff --git a/db/migrate/045_create_boards.rb b/db/migrate/045_create_boards.rb index 17f2bbbe22a52d534fc317f8d3bb0586f4a16b47..a6b871e0c0bfc8c05d79e769266c94b4666a5b64 100644 --- a/db/migrate/045_create_boards.rb +++ b/db/migrate/045_create_boards.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateBoards < ActiveRecord::Migration def self.up create_table :boards do |t| diff --git a/db/migrate/046_create_messages.rb b/db/migrate/046_create_messages.rb index d99aaf842ffef86004a2fe3c9ea3f6f9c265ed6f..d82e5aa35a1b3ee9fb34438fdae4820d325aa916 100644 --- a/db/migrate/046_create_messages.rb +++ b/db/migrate/046_create_messages.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateMessages < ActiveRecord::Migration def self.up create_table :messages do |t| diff --git a/db/migrate/047_add_boards_permissions.rb b/db/migrate/047_add_boards_permissions.rb index 5b1f6f779ce9e186bf17cb964def06f007c7f80b..d276a3ada6c0545a0081c8307f738cdc26e53af8 100644 --- a/db/migrate/047_add_boards_permissions.rb +++ b/db/migrate/047_add_boards_permissions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddBoardsPermissions < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/048_allow_null_version_effective_date.rb b/db/migrate/048_allow_null_version_effective_date.rb index 82d2a33eccc5d6fe31b73f796c704100dd75755e..2cf5f0171564fb317bac8f0755b6ed29d811bb68 100644 --- a/db/migrate/048_allow_null_version_effective_date.rb +++ b/db/migrate/048_allow_null_version_effective_date.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AllowNullVersionEffectiveDate < ActiveRecord::Migration def self.up change_column :versions, :effective_date, :date, :default => nil, :null => true diff --git a/db/migrate/049_add_wiki_destroy_page_permission.rb b/db/migrate/049_add_wiki_destroy_page_permission.rb index c82152388352b0761dd6022565fe8947499419b1..5b806cce2e92b6c095501a98a50bb31939235e87 100644 --- a/db/migrate/049_add_wiki_destroy_page_permission.rb +++ b/db/migrate/049_add_wiki_destroy_page_permission.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddWikiDestroyPagePermission < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/050_add_wiki_attachments_permissions.rb b/db/migrate/050_add_wiki_attachments_permissions.rb index c0697be9c9b026652f4143f3866a136b8b173b57..d215b70f4242292ee263013523e1353166411f63 100644 --- a/db/migrate/050_add_wiki_attachments_permissions.rb +++ b/db/migrate/050_add_wiki_attachments_permissions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddWikiAttachmentsPermissions < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/051_add_project_status.rb b/db/migrate/051_add_project_status.rb index fba36d237497b7392fb4cc271df11679d21198e9..5af944132f4da5497c3513c98adef60d4e5b10f7 100644 --- a/db/migrate/051_add_project_status.rb +++ b/db/migrate/051_add_project_status.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddProjectStatus < ActiveRecord::Migration def self.up add_column :projects, :status, :integer, :default => 1, :null => false diff --git a/db/migrate/052_add_changes_revision.rb b/db/migrate/052_add_changes_revision.rb index 6f58c1a70585be1ec5e60b794574a49d7b3b9ea1..cfeee7988ec36fd416ca5a3050ff76c19334c15d 100644 --- a/db/migrate/052_add_changes_revision.rb +++ b/db/migrate/052_add_changes_revision.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddChangesRevision < ActiveRecord::Migration def self.up add_column :changes, :revision, :string diff --git a/db/migrate/053_add_changes_branch.rb b/db/migrate/053_add_changes_branch.rb index 998ce2ba5bf36db9e009cd288821ef698c69d479..4c559aa1a049ad5322dfc50936f55d0d0c9f52ac 100644 --- a/db/migrate/053_add_changes_branch.rb +++ b/db/migrate/053_add_changes_branch.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddChangesBranch < ActiveRecord::Migration def self.up add_column :changes, :branch, :string diff --git a/db/migrate/054_add_changesets_scmid.rb b/db/migrate/054_add_changesets_scmid.rb index 188fa6ef694cc0a7c7adafcdcb620b5560df37c7..634238b4c778aaf9c2c8b027a457e2aad29646f7 100644 --- a/db/migrate/054_add_changesets_scmid.rb +++ b/db/migrate/054_add_changesets_scmid.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddChangesetsScmid < ActiveRecord::Migration def self.up add_column :changesets, :scmid, :string diff --git a/db/migrate/055_add_repositories_type.rb b/db/migrate/055_add_repositories_type.rb index 599f70aacc92b95bbe7236f71191494c3baa7a5b..0a2bbf63692da56a897e86871894e63369ab5494 100644 --- a/db/migrate/055_add_repositories_type.rb +++ b/db/migrate/055_add_repositories_type.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRepositoriesType < ActiveRecord::Migration def self.up add_column :repositories, :type, :string diff --git a/db/migrate/056_add_repositories_changes_permission.rb b/db/migrate/056_add_repositories_changes_permission.rb index 0d9b13b59dddc3cead7b143b85abaea93f46b166..99fa82ff2d4eac2b44b4b187d89c24d9e5c7e95e 100644 --- a/db/migrate/056_add_repositories_changes_permission.rb +++ b/db/migrate/056_add_repositories_changes_permission.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRepositoriesChangesPermission < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end diff --git a/db/migrate/057_add_versions_wiki_page_title.rb b/db/migrate/057_add_versions_wiki_page_title.rb index 58b8fd9a8c0e1b0c7404c9417ec6d61c6e26a119..6b48d7364f9d8042895dcd608d542f74270c7f36 100644 --- a/db/migrate/057_add_versions_wiki_page_title.rb +++ b/db/migrate/057_add_versions_wiki_page_title.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddVersionsWikiPageTitle < ActiveRecord::Migration def self.up add_column :versions, :wiki_page_title, :string diff --git a/db/migrate/058_add_issue_categories_assigned_to_id.rb b/db/migrate/058_add_issue_categories_assigned_to_id.rb index 8653532e070d3991c2b7f44d3ff2aeb403822f34..58b34cc4f500cde89a6bc367786149ec5a93f52f 100644 --- a/db/migrate/058_add_issue_categories_assigned_to_id.rb +++ b/db/migrate/058_add_issue_categories_assigned_to_id.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddIssueCategoriesAssignedToId < ActiveRecord::Migration def self.up add_column :issue_categories, :assigned_to_id, :integer diff --git a/db/migrate/059_add_roles_assignable.rb b/db/migrate/059_add_roles_assignable.rb index a1ba7963433151164d1145d5d4bb17952f67f474..10b82c3ecff351854154832d6c65ed84520d8f83 100644 --- a/db/migrate/059_add_roles_assignable.rb +++ b/db/migrate/059_add_roles_assignable.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRolesAssignable < ActiveRecord::Migration def self.up add_column :roles, :assignable, :boolean, :default => true diff --git a/db/migrate/060_change_changesets_committer_limit.rb b/db/migrate/060_change_changesets_committer_limit.rb index b050963798cc10b48b0b336de78e449422bf2460..0d2e86f40f688e1b6ecff62baab7c4c2d42c6cd5 100644 --- a/db/migrate/060_change_changesets_committer_limit.rb +++ b/db/migrate/060_change_changesets_committer_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeChangesetsCommitterLimit < ActiveRecord::Migration def self.up change_column :changesets, :committer, :string, :limit => nil diff --git a/db/migrate/061_add_roles_builtin.rb b/db/migrate/061_add_roles_builtin.rb index a8d6fe9e6a7ff243658ca31d773b1ea476ea8823..7d4d1831cac186da4923e0dc9321699ae848a104 100644 --- a/db/migrate/061_add_roles_builtin.rb +++ b/db/migrate/061_add_roles_builtin.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRolesBuiltin < ActiveRecord::Migration def self.up add_column :roles, :builtin, :integer, :default => 0, :null => false diff --git a/db/migrate/062_insert_builtin_roles.rb b/db/migrate/062_insert_builtin_roles.rb index 27c7475c3219d4121ef1917ce203d8913c5a0169..ad7330ee0440d5736466f9296600b45e6cf6bd53 100644 --- a/db/migrate/062_insert_builtin_roles.rb +++ b/db/migrate/062_insert_builtin_roles.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class InsertBuiltinRoles < ActiveRecord::Migration def self.up nonmember = Role.new(:name => 'Non member', :position => 0) diff --git a/db/migrate/063_add_roles_permissions.rb b/db/migrate/063_add_roles_permissions.rb index 107a3af0a1d3d92a8d5cfcc830555ec0ce1ae104..6b9bfcd2729b460eeba66c983b8c64f405e5797d 100644 --- a/db/migrate/063_add_roles_permissions.rb +++ b/db/migrate/063_add_roles_permissions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRolesPermissions < ActiveRecord::Migration def self.up add_column :roles, :permissions, :text diff --git a/db/migrate/064_drop_permissions.rb b/db/migrate/064_drop_permissions.rb index f4ca470bfcf0d2df34a74b147be4cf549870179e..784889cf29a493c2375c63466059444ea73c81a1 100644 --- a/db/migrate/064_drop_permissions.rb +++ b/db/migrate/064_drop_permissions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class DropPermissions < ActiveRecord::Migration def self.up drop_table :permissions diff --git a/db/migrate/065_add_settings_updated_on.rb b/db/migrate/065_add_settings_updated_on.rb index 8c5fde33bb7166f8c8954691eb3c0cb0aa3940cf..d47ef193ea9a8ec0ce8b96b0a5ed00433a5d9545 100644 --- a/db/migrate/065_add_settings_updated_on.rb +++ b/db/migrate/065_add_settings_updated_on.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddSettingsUpdatedOn < ActiveRecord::Migration def self.up add_column :settings, :updated_on, :timestamp diff --git a/db/migrate/066_add_custom_value_customized_index.rb b/db/migrate/066_add_custom_value_customized_index.rb index 1f4c40da2dc70345631ff254ca28284ac63d50af..3802e7193b9f72f414605f939c839e47faf1ac0c 100644 --- a/db/migrate/066_add_custom_value_customized_index.rb +++ b/db/migrate/066_add_custom_value_customized_index.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddCustomValueCustomizedIndex < ActiveRecord::Migration def self.up add_index :custom_values, [:customized_type, :customized_id], :name => :custom_values_customized diff --git a/db/migrate/067_create_wiki_redirects.rb b/db/migrate/067_create_wiki_redirects.rb index dda6ba6d5806dd38434eb2bfa1f8aab610100ec5..f743e5c0ce9c95f6a909dee2b969be029e470c2c 100644 --- a/db/migrate/067_create_wiki_redirects.rb +++ b/db/migrate/067_create_wiki_redirects.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateWikiRedirects < ActiveRecord::Migration def self.up create_table :wiki_redirects do |t| diff --git a/db/migrate/068_create_enabled_modules.rb b/db/migrate/068_create_enabled_modules.rb index fd848ef96c265e24fa155f108340b7cf692852b1..dc6ceba79b98fa9dc0819b10dc133a435b0f1723 100644 --- a/db/migrate/068_create_enabled_modules.rb +++ b/db/migrate/068_create_enabled_modules.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateEnabledModules < ActiveRecord::Migration def self.up create_table :enabled_modules do |t| diff --git a/db/migrate/069_add_issues_estimated_hours.rb b/db/migrate/069_add_issues_estimated_hours.rb index 90b86e24370677a54d31f5a8e7a577e0d9bd5df2..f72e8c97108869c5b758960ef6112a9a8704edbd 100644 --- a/db/migrate/069_add_issues_estimated_hours.rb +++ b/db/migrate/069_add_issues_estimated_hours.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddIssuesEstimatedHours < ActiveRecord::Migration def self.up add_column :issues, :estimated_hours, :float diff --git a/db/migrate/070_change_attachments_content_type_limit.rb b/db/migrate/070_change_attachments_content_type_limit.rb index ebf6d08c3787327af0abd87711c8eb135f3219d9..7b409994dab268864e5debc99d856155a1f2504e 100644 --- a/db/migrate/070_change_attachments_content_type_limit.rb +++ b/db/migrate/070_change_attachments_content_type_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration def self.up change_column :attachments, :content_type, :string, :limit => nil diff --git a/db/migrate/071_add_queries_column_names.rb b/db/migrate/071_add_queries_column_names.rb index acaf4dab03f42096d592a26d840fe6d99d5025c6..95cc3f3239031c9ee6834b70ce0fb544a840ba57 100644 --- a/db/migrate/071_add_queries_column_names.rb +++ b/db/migrate/071_add_queries_column_names.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddQueriesColumnNames < ActiveRecord::Migration def self.up add_column :queries, :column_names, :text diff --git a/db/migrate/072_add_enumerations_position.rb b/db/migrate/072_add_enumerations_position.rb index 22558a6e9f535ba9b669ce934d9a6559847b7353..2a054e8ecc7416995e3c237efd72e98192ab0411 100644 --- a/db/migrate/072_add_enumerations_position.rb +++ b/db/migrate/072_add_enumerations_position.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddEnumerationsPosition < ActiveRecord::Migration def self.up add_column(:enumerations, :position, :integer, :default => 1) unless Enumeration.column_names.include?('position') diff --git a/db/migrate/073_add_enumerations_is_default.rb b/db/migrate/073_add_enumerations_is_default.rb index 7365a1411c5fda41026faca14a3c3598072d796f..a11df89bedb3e817aaa76bd368536c3231f9c1e4 100644 --- a/db/migrate/073_add_enumerations_is_default.rb +++ b/db/migrate/073_add_enumerations_is_default.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddEnumerationsIsDefault < ActiveRecord::Migration def self.up add_column :enumerations, :is_default, :boolean, :default => false, :null => false diff --git a/db/migrate/074_add_auth_sources_tls.rb b/db/migrate/074_add_auth_sources_tls.rb index 3987f7036c772822bdc55088913a9b3c40edcdc9..8b229cfd37949986edfe97beba27c35fc2a07d54 100644 --- a/db/migrate/074_add_auth_sources_tls.rb +++ b/db/migrate/074_add_auth_sources_tls.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddAuthSourcesTls < ActiveRecord::Migration def self.up add_column :auth_sources, :tls, :boolean, :default => false, :null => false diff --git a/db/migrate/075_add_members_mail_notification.rb b/db/migrate/075_add_members_mail_notification.rb index d83ba8dd0096a5425d73a5172e691d3feb403613..24920fa6e3151f3c5488bdfa81577b17edbb42b2 100644 --- a/db/migrate/075_add_members_mail_notification.rb +++ b/db/migrate/075_add_members_mail_notification.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMembersMailNotification < ActiveRecord::Migration def self.up add_column :members, :mail_notification, :boolean, :default => false, :null => false diff --git a/db/migrate/076_allow_null_position.rb b/db/migrate/076_allow_null_position.rb index ece0370dbe691b4a461f189be26fda8d8467f0c5..d9e7bae10ee02c9a6dc220664ab9a94b905a7ebe 100644 --- a/db/migrate/076_allow_null_position.rb +++ b/db/migrate/076_allow_null_position.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AllowNullPosition < ActiveRecord::Migration def self.up # removes the 'not null' constraint on position fields diff --git a/db/migrate/077_remove_issue_statuses_html_color.rb b/db/migrate/077_remove_issue_statuses_html_color.rb index a3e2c3f8f2667489acbc10d8aaee542e955bed68..50b82bf8414a927b6412e543f70eb3005e38841d 100644 --- a/db/migrate/077_remove_issue_statuses_html_color.rb +++ b/db/migrate/077_remove_issue_statuses_html_color.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class RemoveIssueStatusesHtmlColor < ActiveRecord::Migration def self.up remove_column :issue_statuses, :html_color diff --git a/db/migrate/078_add_custom_fields_position.rb b/db/migrate/078_add_custom_fields_position.rb index 1c42ae7323b548feb67648703558d77fb2aeb240..66ab36454f821d9cecdcec191163d3947b124ae2 100644 --- a/db/migrate/078_add_custom_fields_position.rb +++ b/db/migrate/078_add_custom_fields_position.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddCustomFieldsPosition < ActiveRecord::Migration def self.up add_column(:custom_fields, :position, :integer, :default => 1) diff --git a/db/migrate/079_add_user_preferences_time_zone.rb b/db/migrate/079_add_user_preferences_time_zone.rb index 9e36790a9ddbe1941947a781452de29e9326b58e..8ed6f5b055605589555a627a7f43575303ec9292 100644 --- a/db/migrate/079_add_user_preferences_time_zone.rb +++ b/db/migrate/079_add_user_preferences_time_zone.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddUserPreferencesTimeZone < ActiveRecord::Migration def self.up add_column :user_preferences, :time_zone, :string diff --git a/db/migrate/080_add_users_type.rb b/db/migrate/080_add_users_type.rb index c907b472e2765b8e01de663080dc77091f20fc24..664771b38ac20aa43a6ab4a04ad07fdd979fe423 100644 --- a/db/migrate/080_add_users_type.rb +++ b/db/migrate/080_add_users_type.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddUsersType < ActiveRecord::Migration def self.up add_column :users, :type, :string diff --git a/db/migrate/081_create_projects_trackers.rb b/db/migrate/081_create_projects_trackers.rb index 70fea188e0d6d7a56fa120c699f58b6bc9d532d3..0aa6626c2de3bb4cd607447083099506d96ffe98 100644 --- a/db/migrate/081_create_projects_trackers.rb +++ b/db/migrate/081_create_projects_trackers.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateProjectsTrackers < ActiveRecord::Migration def self.up create_table :projects_trackers, :id => false do |t| diff --git a/db/migrate/082_add_messages_locked.rb b/db/migrate/082_add_messages_locked.rb index 20a172565fc33b6ed2416f38d18b2a9046630776..2e52a28e197f369a529e8e74c59bf4d871cb81b9 100644 --- a/db/migrate/082_add_messages_locked.rb +++ b/db/migrate/082_add_messages_locked.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMessagesLocked < ActiveRecord::Migration def self.up add_column :messages, :locked, :boolean, :default => false diff --git a/db/migrate/083_add_messages_sticky.rb b/db/migrate/083_add_messages_sticky.rb index 8fd5d2ce33a2d5d252366896b17518b4a152fbcb..9b5512aa84b9907eebceb41ff7d4aa486a651f7e 100644 --- a/db/migrate/083_add_messages_sticky.rb +++ b/db/migrate/083_add_messages_sticky.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMessagesSticky < ActiveRecord::Migration def self.up add_column :messages, :sticky, :integer, :default => 0 diff --git a/db/migrate/084_change_auth_sources_account_limit.rb b/db/migrate/084_change_auth_sources_account_limit.rb index cc127b4392aa23c53b0b99a662b290721f105026..607d74d955788b622feeaa5c97f23ec46911ad06 100644 --- a/db/migrate/084_change_auth_sources_account_limit.rb +++ b/db/migrate/084_change_auth_sources_account_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration def self.up change_column :auth_sources, :account, :string, :limit => nil diff --git a/db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb b/db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb index a59135be0123102a1f9090968a9763e2c6430a49..b95f97a7269e8f1156401dbe2249f341291da964 100644 --- a/db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb +++ b/db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRoleTrackerOldStatusIndexToWorkflows < ActiveRecord::Migration def self.up add_index :workflows, [:role_id, :tracker_id, :old_status_id], :name => :wkfs_role_tracker_old_status diff --git a/db/migrate/086_add_custom_fields_searchable.rb b/db/migrate/086_add_custom_fields_searchable.rb index 53158d14e1f804d86847f3c72fbd436663e87686..bd8f8be723da8d622107755544b5b673aa7ac5a8 100644 --- a/db/migrate/086_add_custom_fields_searchable.rb +++ b/db/migrate/086_add_custom_fields_searchable.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddCustomFieldsSearchable < ActiveRecord::Migration def self.up add_column :custom_fields, :searchable, :boolean, :default => false diff --git a/db/migrate/087_change_projects_description_to_text.rb b/db/migrate/087_change_projects_description_to_text.rb index 132e921b348e22358989d82b5bcf40c1851db761..12fbb2223cc0a0a1ba0a000c93a80de0b8174a7b 100644 --- a/db/migrate/087_change_projects_description_to_text.rb +++ b/db/migrate/087_change_projects_description_to_text.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeProjectsDescriptionToText < ActiveRecord::Migration def self.up change_column :projects, :description, :text, :null => true, :default => nil diff --git a/db/migrate/088_add_custom_fields_default_value.rb b/db/migrate/088_add_custom_fields_default_value.rb index 33a39ec6eade09cf1aada84a9ae29f02ea82f799..0f186148032af89ddada7acec6b1605de72fa374 100644 --- a/db/migrate/088_add_custom_fields_default_value.rb +++ b/db/migrate/088_add_custom_fields_default_value.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddCustomFieldsDefaultValue < ActiveRecord::Migration def self.up add_column :custom_fields, :default_value, :text diff --git a/db/migrate/089_add_attachments_description.rb b/db/migrate/089_add_attachments_description.rb index 411dfe4d6a2856b9061b85b619b4f330f2051530..fd66c1e4182a356d556166ae75f29d51c6163ea6 100644 --- a/db/migrate/089_add_attachments_description.rb +++ b/db/migrate/089_add_attachments_description.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddAttachmentsDescription < ActiveRecord::Migration def self.up add_column :attachments, :description, :string diff --git a/db/migrate/090_change_versions_name_limit.rb b/db/migrate/090_change_versions_name_limit.rb index 2764297278a951d729c49c636416d33af6456434..ca4ab56c321ff6433287656b06b795a6f37fbc3d 100644 --- a/db/migrate/090_change_versions_name_limit.rb +++ b/db/migrate/090_change_versions_name_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeVersionsNameLimit < ActiveRecord::Migration def self.up change_column :versions, :name, :string, :limit => nil diff --git a/db/migrate/091_change_changesets_revision_to_string.rb b/db/migrate/091_change_changesets_revision_to_string.rb index e621a390924027a2b447aebec2760a83405e8ef5..376a15f669cc182c14f3b9521904be1465d05dea 100644 --- a/db/migrate/091_change_changesets_revision_to_string.rb +++ b/db/migrate/091_change_changesets_revision_to_string.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeChangesetsRevisionToString < ActiveRecord::Migration def self.up change_column :changesets, :revision, :string, :null => false diff --git a/db/migrate/092_change_changes_from_revision_to_string.rb b/db/migrate/092_change_changes_from_revision_to_string.rb index b298a3f45abe8d41a99e6bbc998f470b450cd941..bc2ea7375daef81b1cf3a3a9a710e516809cd55b 100644 --- a/db/migrate/092_change_changes_from_revision_to_string.rb +++ b/db/migrate/092_change_changes_from_revision_to_string.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeChangesFromRevisionToString < ActiveRecord::Migration def self.up change_column :changes, :from_revision, :string diff --git a/db/migrate/093_add_wiki_pages_protected.rb b/db/migrate/093_add_wiki_pages_protected.rb index 49720fbb732e9e0898ec6f2b9a33cd00bdee2f15..7600706806309054a9a1fdc4c217ba7122c27e6f 100644 --- a/db/migrate/093_add_wiki_pages_protected.rb +++ b/db/migrate/093_add_wiki_pages_protected.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddWikiPagesProtected < ActiveRecord::Migration def self.up add_column :wiki_pages, :protected, :boolean, :default => false, :null => false diff --git a/db/migrate/094_change_projects_homepage_limit.rb b/db/migrate/094_change_projects_homepage_limit.rb index 98374aa4e61929d8b09bea5416a080ec6855fb3c..df233f1a8f36ffd1c3d47f178f29beda83e50faf 100644 --- a/db/migrate/094_change_projects_homepage_limit.rb +++ b/db/migrate/094_change_projects_homepage_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeProjectsHomepageLimit < ActiveRecord::Migration def self.up change_column :projects, :homepage, :string, :limit => nil, :default => '' diff --git a/db/migrate/095_add_wiki_pages_parent_id.rb b/db/migrate/095_add_wiki_pages_parent_id.rb index 36b922ec14c9e78853460868139aad9e1b785077..258d57a28987c5ba5d62c4b730cb400ab63c2087 100644 --- a/db/migrate/095_add_wiki_pages_parent_id.rb +++ b/db/migrate/095_add_wiki_pages_parent_id.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddWikiPagesParentId < ActiveRecord::Migration def self.up add_column :wiki_pages, :parent_id, :integer, :default => nil diff --git a/db/migrate/096_add_commit_access_permission.rb b/db/migrate/096_add_commit_access_permission.rb index f73af2c0c99181ad8d1b5728a7b99b5191308853..f724899becb109d0d161076d89ed11a0bd0ae794 100644 --- a/db/migrate/096_add_commit_access_permission.rb +++ b/db/migrate/096_add_commit_access_permission.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddCommitAccessPermission < ActiveRecord::Migration def self.up diff --git a/db/migrate/097_add_view_wiki_edits_permission.rb b/db/migrate/097_add_view_wiki_edits_permission.rb index 3e4b26b8ae3bc94150653fa9437aa0d34e92ae51..1cd47452250e86d437e673ab2a91bca820a47802 100644 --- a/db/migrate/097_add_view_wiki_edits_permission.rb +++ b/db/migrate/097_add_view_wiki_edits_permission.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddViewWikiEditsPermission < ActiveRecord::Migration def self.up Role.find(:all).each do |r| diff --git a/db/migrate/098_set_topic_authors_as_watchers.rb b/db/migrate/098_set_topic_authors_as_watchers.rb index 92a53f4a1f130175db405972e9af80c9b0213556..f26a97445ce331827ec4eb838cf19863d94b8943 100644 --- a/db/migrate/098_set_topic_authors_as_watchers.rb +++ b/db/migrate/098_set_topic_authors_as_watchers.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class SetTopicAuthorsAsWatchers < ActiveRecord::Migration def self.up # Sets active users who created/replied a topic as watchers of the topic diff --git a/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb b/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb index 1ff888f3ce54b290707966f06773cccb567d7a67..f18fd8e70260b1293c0a9aeac689a64290b5972b 100644 --- a/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb +++ b/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddDeleteWikiPagesAttachmentsPermission < ActiveRecord::Migration def self.up Role.find(:all).each do |r| diff --git a/db/migrate/100_add_changesets_user_id.rb b/db/migrate/100_add_changesets_user_id.rb index 9b25fd7bc867d211142bf87230b815c614c20b4e..5c1ad5938adf09059ed84caca8827862c57d3a17 100644 --- a/db/migrate/100_add_changesets_user_id.rb +++ b/db/migrate/100_add_changesets_user_id.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddChangesetsUserId < ActiveRecord::Migration def self.up add_column :changesets, :user_id, :integer, :default => nil diff --git a/db/migrate/101_populate_changesets_user_id.rb b/db/migrate/101_populate_changesets_user_id.rb index dd493d17d09df1c8ea89d3c181713ebad6432bac..f2e9638ac790ee2ef59c4907222de490d408e965 100644 --- a/db/migrate/101_populate_changesets_user_id.rb +++ b/db/migrate/101_populate_changesets_user_id.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class PopulateChangesetsUserId < ActiveRecord::Migration def self.up committers = Changeset.connection.select_values("SELECT DISTINCT committer FROM #{Changeset.table_name}") diff --git a/db/migrate/102_add_custom_fields_editable.rb b/db/migrate/102_add_custom_fields_editable.rb index 949f9db9d48b983993ef44c4a50241e66e888792..691a32cceebd222c3478a92a11839d5a52c32301 100644 --- a/db/migrate/102_add_custom_fields_editable.rb +++ b/db/migrate/102_add_custom_fields_editable.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddCustomFieldsEditable < ActiveRecord::Migration def self.up add_column :custom_fields, :editable, :boolean, :default => true diff --git a/db/migrate/103_set_custom_fields_editable.rb b/db/migrate/103_set_custom_fields_editable.rb index 937649e61d63225396cb358eee5904ea62943db7..8ec0c1bef40d8f742148af54eae115e7b6ca55de 100644 --- a/db/migrate/103_set_custom_fields_editable.rb +++ b/db/migrate/103_set_custom_fields_editable.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class SetCustomFieldsEditable < ActiveRecord::Migration def self.up UserCustomField.update_all("editable = #{CustomField.connection.quoted_false}") diff --git a/db/migrate/104_add_projects_lft_and_rgt.rb b/db/migrate/104_add_projects_lft_and_rgt.rb index 8952c16e101a8550c56ff4b59a8118891b674628..4d9de933821e766c102863fc4bd7a8b2a0b0220a 100644 --- a/db/migrate/104_add_projects_lft_and_rgt.rb +++ b/db/migrate/104_add_projects_lft_and_rgt.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddProjectsLftAndRgt < ActiveRecord::Migration def self.up add_column :projects, :lft, :integer diff --git a/db/migrate/105_build_projects_tree.rb b/db/migrate/105_build_projects_tree.rb index 92799f97d3c231c0e92a3d17464b1ced02feaa53..f2f5f1570c88486cd509ec3ff1572367d40bee1c 100644 --- a/db/migrate/105_build_projects_tree.rb +++ b/db/migrate/105_build_projects_tree.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class BuildProjectsTree < ActiveRecord::Migration def self.up Project.rebuild! diff --git a/db/migrate/106_remove_projects_projects_count.rb b/db/migrate/106_remove_projects_projects_count.rb index 68bb3d1153d0fb31fc7458db1114926a6d8028ea..7bff6cb052ba778985094a85c67437b59accbda9 100644 --- a/db/migrate/106_remove_projects_projects_count.rb +++ b/db/migrate/106_remove_projects_projects_count.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class RemoveProjectsProjectsCount < ActiveRecord::Migration def self.up remove_column :projects, :projects_count diff --git a/db/migrate/107_add_open_id_authentication_tables.rb b/db/migrate/107_add_open_id_authentication_tables.rb index caae0d8c78185c4a6d57c00f675375720d6d6699..94dc876e17b505be28a286c0356c386ac1db5afc 100644 --- a/db/migrate/107_add_open_id_authentication_tables.rb +++ b/db/migrate/107_add_open_id_authentication_tables.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddOpenIdAuthenticationTables < ActiveRecord::Migration def self.up create_table :open_id_authentication_associations, :force => true do |t| diff --git a/db/migrate/108_add_identity_url_to_users.rb b/db/migrate/108_add_identity_url_to_users.rb index f5af77b24a3d6389c36cffdd49b7de139bbd8232..9bfeba7440761e03a29a3a5fe0eeb29994e7efd3 100644 --- a/db/migrate/108_add_identity_url_to_users.rb +++ b/db/migrate/108_add_identity_url_to_users.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddIdentityUrlToUsers < ActiveRecord::Migration def self.up add_column :users, :identity_url, :string diff --git a/db/migrate/20090214190337_add_watchers_user_id_type_index.rb b/db/migrate/20090214190337_add_watchers_user_id_type_index.rb index 7ff4e542cb8fc5ee6dd949dc9d602bc60d0d6427..833f69f42767d06f14ed123e2314dff58ad633c5 100644 --- a/db/migrate/20090214190337_add_watchers_user_id_type_index.rb +++ b/db/migrate/20090214190337_add_watchers_user_id_type_index.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddWatchersUserIdTypeIndex < ActiveRecord::Migration def self.up add_index :watchers, [:user_id, :watchable_type], :name => :watchers_user_id_type diff --git a/db/migrate/20090312172426_add_queries_sort_criteria.rb b/db/migrate/20090312172426_add_queries_sort_criteria.rb index 743ed42ff77bdecc0b83059aced16f8ba290b6f0..1358780dfc3d7e021ea0e19794024e2d879373c8 100644 --- a/db/migrate/20090312172426_add_queries_sort_criteria.rb +++ b/db/migrate/20090312172426_add_queries_sort_criteria.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddQueriesSortCriteria < ActiveRecord::Migration def self.up add_column :queries, :sort_criteria, :text diff --git a/db/migrate/20090312194159_add_projects_trackers_unique_index.rb b/db/migrate/20090312194159_add_projects_trackers_unique_index.rb index 02a8fa68eb3f76ba8f4c0c8679eb9419f27331ab..f6510ea777ff81a8b82cc5e8daf5eaabe68581ea 100644 --- a/db/migrate/20090312194159_add_projects_trackers_unique_index.rb +++ b/db/migrate/20090312194159_add_projects_trackers_unique_index.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddProjectsTrackersUniqueIndex < ActiveRecord::Migration def self.up remove_duplicates diff --git a/db/migrate/20090318181151_extend_settings_name.rb b/db/migrate/20090318181151_extend_settings_name.rb index eca03d555e5b300242e98c87e7a1ca0974de6db0..151fb08e78ccc95272bd60482c991fbbd6d8a075 100644 --- a/db/migrate/20090318181151_extend_settings_name.rb +++ b/db/migrate/20090318181151_extend_settings_name.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ExtendSettingsName < ActiveRecord::Migration def self.up change_column :settings, :name, :string, :limit => 255, :default => '', :null => false diff --git a/db/migrate/20090323224724_add_type_to_enumerations.rb b/db/migrate/20090323224724_add_type_to_enumerations.rb index c2aef5e4abad305956cc6f8a38c0daca84837193..2839b18031901f027d1f8fe58729c46ea461e8c0 100644 --- a/db/migrate/20090323224724_add_type_to_enumerations.rb +++ b/db/migrate/20090323224724_add_type_to_enumerations.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddTypeToEnumerations < ActiveRecord::Migration def self.up add_column :enumerations, :type, :string diff --git a/db/migrate/20090401221305_update_enumerations_to_sti.rb b/db/migrate/20090401221305_update_enumerations_to_sti.rb index 50bd52010520dd481e9c746b16ff8066c27a737d..3c6c8bb5a7e3acd67cf34a8c39ad849ed53d6abc 100644 --- a/db/migrate/20090401221305_update_enumerations_to_sti.rb +++ b/db/migrate/20090401221305_update_enumerations_to_sti.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class UpdateEnumerationsToSti < ActiveRecord::Migration def self.up Enumeration.update_all("type = 'IssuePriority'", "opt = 'IPRI'") diff --git a/db/migrate/20090401231134_add_active_field_to_enumerations.rb b/db/migrate/20090401231134_add_active_field_to_enumerations.rb index 55824fa6573ffaadc2f4f931f0129f3dc728a0c9..a0b4efc177d06a2558ff95d64c47813aefe4237d 100644 --- a/db/migrate/20090401231134_add_active_field_to_enumerations.rb +++ b/db/migrate/20090401231134_add_active_field_to_enumerations.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddActiveFieldToEnumerations < ActiveRecord::Migration def self.up add_column :enumerations, :active, :boolean, :default => true, :null => false diff --git a/db/migrate/20090403001910_add_project_to_enumerations.rb b/db/migrate/20090403001910_add_project_to_enumerations.rb index a3db6d51e075f06dd7ede16e76ce79a086ce5e35..e0f37195b34e425480c03c2225fe571f1bed8ae4 100644 --- a/db/migrate/20090403001910_add_project_to_enumerations.rb +++ b/db/migrate/20090403001910_add_project_to_enumerations.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddProjectToEnumerations < ActiveRecord::Migration def self.up add_column :enumerations, :project_id, :integer, :null => true, :default => nil diff --git a/db/migrate/20090406161854_add_parent_id_to_enumerations.rb b/db/migrate/20090406161854_add_parent_id_to_enumerations.rb index 2c1b1780d1085f57514ad56dd33498da8e806429..566c57560cfd555826c7302f9ebdd490222e4265 100644 --- a/db/migrate/20090406161854_add_parent_id_to_enumerations.rb +++ b/db/migrate/20090406161854_add_parent_id_to_enumerations.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddParentIdToEnumerations < ActiveRecord::Migration def self.up add_column :enumerations, :parent_id, :integer, :null => true, :default => nil diff --git a/db/migrate/20090425161243_add_queries_group_by.rb b/db/migrate/20090425161243_add_queries_group_by.rb index 1405f3d0b1110f43ccb88e0e08745cf28f8f11be..f01ac3fa1a83a736fd67a292bf950a0b3aca8b08 100644 --- a/db/migrate/20090425161243_add_queries_group_by.rb +++ b/db/migrate/20090425161243_add_queries_group_by.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddQueriesGroupBy < ActiveRecord::Migration def self.up add_column :queries, :group_by, :string diff --git a/db/migrate/20090503121501_create_member_roles.rb b/db/migrate/20090503121501_create_member_roles.rb index 38519ea7cdf8ec3059c704f3d5bfaea508736769..e12b5222abfd9f70fcb8cff172f0827ed4cb2ffc 100644 --- a/db/migrate/20090503121501_create_member_roles.rb +++ b/db/migrate/20090503121501_create_member_roles.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateMemberRoles < ActiveRecord::Migration def self.up create_table :member_roles do |t| diff --git a/db/migrate/20090503121505_populate_member_roles.rb b/db/migrate/20090503121505_populate_member_roles.rb index aae9fc611e7b05ee7b33d1fcc3d567252724e15f..04f9844fe332d9741ccd6ce69e956c3ae08f6f45 100644 --- a/db/migrate/20090503121505_populate_member_roles.rb +++ b/db/migrate/20090503121505_populate_member_roles.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class PopulateMemberRoles < ActiveRecord::Migration def self.up MemberRole.delete_all diff --git a/db/migrate/20090503121510_drop_members_role_id.rb b/db/migrate/20090503121510_drop_members_role_id.rb index c28119910d56ae5b8eafd200e162545433da77ba..4f643b9346e819ce1a84af2441ca800e1185793d 100644 --- a/db/migrate/20090503121510_drop_members_role_id.rb +++ b/db/migrate/20090503121510_drop_members_role_id.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class DropMembersRoleId < ActiveRecord::Migration def self.up remove_column :members, :role_id diff --git a/db/migrate/20090614091200_fix_messages_sticky_null.rb b/db/migrate/20090614091200_fix_messages_sticky_null.rb index cbe741732ec23089a0303dd6e2d58070e124fbfa..92106ed9cc3c05383fab0772bed977180eece1e7 100644 --- a/db/migrate/20090614091200_fix_messages_sticky_null.rb +++ b/db/migrate/20090614091200_fix_messages_sticky_null.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class FixMessagesStickyNull < ActiveRecord::Migration def self.up Message.update_all('sticky = 0', 'sticky IS NULL') diff --git a/db/migrate/20090704172350_populate_users_type.rb b/db/migrate/20090704172350_populate_users_type.rb index 1c31feced04f0531722ed178f560419f9e60734c..30348e8627aa834732d1d2d06cb4930774fa769f 100644 --- a/db/migrate/20090704172350_populate_users_type.rb +++ b/db/migrate/20090704172350_populate_users_type.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class PopulateUsersType < ActiveRecord::Migration def self.up Principal.update_all("type = 'User'", "type IS NULL") diff --git a/db/migrate/20090704172355_create_groups_users.rb b/db/migrate/20090704172355_create_groups_users.rb index 9ce03b95ba8a1c819933a73a465fb45ab83882b8..d3701edfc04a0772b9316f818bb4c17411ff583b 100644 --- a/db/migrate/20090704172355_create_groups_users.rb +++ b/db/migrate/20090704172355_create_groups_users.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CreateGroupsUsers < ActiveRecord::Migration def self.up create_table :groups_users, :id => false do |t| diff --git a/db/migrate/20090704172358_add_member_roles_inherited_from.rb b/db/migrate/20090704172358_add_member_roles_inherited_from.rb index 4ffa52389cde810ac36b75c63ff459a18d760e1b..7445b4487fe3f5c8794b5095b2d6c9005f5284ec 100644 --- a/db/migrate/20090704172358_add_member_roles_inherited_from.rb +++ b/db/migrate/20090704172358_add_member_roles_inherited_from.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMemberRolesInheritedFrom < ActiveRecord::Migration def self.up add_column :member_roles, :inherited_from, :integer diff --git a/db/migrate/20091010093521_fix_users_custom_values.rb b/db/migrate/20091010093521_fix_users_custom_values.rb index 923c78fc0f316a4f2933fba300bc7d443722d5dc..88cd149be3b23d22e6366d9b4be031af6d3ef1fe 100644 --- a/db/migrate/20091010093521_fix_users_custom_values.rb +++ b/db/migrate/20091010093521_fix_users_custom_values.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class FixUsersCustomValues < ActiveRecord::Migration def self.up CustomValue.update_all("customized_type = 'Principal'", "customized_type = 'User'") diff --git a/db/migrate/20091017212227_add_missing_indexes_to_workflows.rb b/db/migrate/20091017212227_add_missing_indexes_to_workflows.rb index 13fa0137e21968c7ccbe35e8e1c3e73f436ba44c..a2d323135763e29e5b19b2509e2c3daf22d633bf 100644 --- a/db/migrate/20091017212227_add_missing_indexes_to_workflows.rb +++ b/db/migrate/20091017212227_add_missing_indexes_to_workflows.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToWorkflows < ActiveRecord::Migration def self.up add_index :workflows, :old_status_id diff --git a/db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb b/db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb index b95f54327fa5266fb451237db8c5a9c220001272..cd9f6d0430a6fff14ef85f70577118d5d5dfb383 100644 --- a/db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb +++ b/db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToCustomFieldsProjects < ActiveRecord::Migration def self.up add_index :custom_fields_projects, [:custom_field_id, :project_id] diff --git a/db/migrate/20091017212644_add_missing_indexes_to_messages.rb b/db/migrate/20091017212644_add_missing_indexes_to_messages.rb index 23c27299511b026fc5270529fcef66ff714d2aac..b8a94ae70f3a0dbb23bec1f93cb78f26fb328ce7 100644 --- a/db/migrate/20091017212644_add_missing_indexes_to_messages.rb +++ b/db/migrate/20091017212644_add_missing_indexes_to_messages.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToMessages < ActiveRecord::Migration def self.up add_index :messages, :last_reply_id diff --git a/db/migrate/20091017212938_add_missing_indexes_to_repositories.rb b/db/migrate/20091017212938_add_missing_indexes_to_repositories.rb index b9f43b6df9aafa5b2232e7e95595056d51785dda..ff8994eb1e9973189c4be8cf41f71534aee2f202 100644 --- a/db/migrate/20091017212938_add_missing_indexes_to_repositories.rb +++ b/db/migrate/20091017212938_add_missing_indexes_to_repositories.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToRepositories < ActiveRecord::Migration def self.up add_index :repositories, :project_id diff --git a/db/migrate/20091017213027_add_missing_indexes_to_comments.rb b/db/migrate/20091017213027_add_missing_indexes_to_comments.rb index 2a1ed27c091f75b4ccdae7fbde10cc8603a819d2..a689b74f6044e405fd1b7dff8b00b42839630b93 100644 --- a/db/migrate/20091017213027_add_missing_indexes_to_comments.rb +++ b/db/migrate/20091017213027_add_missing_indexes_to_comments.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToComments < ActiveRecord::Migration def self.up add_index :comments, [:commented_id, :commented_type] diff --git a/db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb b/db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb index 85dedf816bedbc9fbbc4e7ba1edaf7167ad1779f..05865510f262311405a80499fd03b027198d380f 100644 --- a/db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb +++ b/db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToEnumerations < ActiveRecord::Migration def self.up add_index :enumerations, [:id, :type] diff --git a/db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb b/db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb index 7fab09e38df3dcb76bf4b7447c7f6237af7ce686..a58abc44cb8482e1f1a2b660c8c7565b06bf7c44 100644 --- a/db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb +++ b/db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToWikiPages < ActiveRecord::Migration def self.up add_index :wiki_pages, :wiki_id diff --git a/db/migrate/20091017213228_add_missing_indexes_to_watchers.rb b/db/migrate/20091017213228_add_missing_indexes_to_watchers.rb index 618e1cd94a5d721257bf9a57d25f9d3c011e341c..f596c652b1dd5bebca7eeddb82c4b2a1a99fd69b 100644 --- a/db/migrate/20091017213228_add_missing_indexes_to_watchers.rb +++ b/db/migrate/20091017213228_add_missing_indexes_to_watchers.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToWatchers < ActiveRecord::Migration def self.up add_index :watchers, :user_id diff --git a/db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb b/db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb index ccd4f0440662658aecb8aa7d58f63d407c8c768b..06f94ebe9db77a3f8d93e7f5c9a3211d69a0fd67 100644 --- a/db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb +++ b/db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToAuthSources < ActiveRecord::Migration def self.up add_index :auth_sources, [:id, :type] diff --git a/db/migrate/20091017213332_add_missing_indexes_to_documents.rb b/db/migrate/20091017213332_add_missing_indexes_to_documents.rb index f5190181e3772a40a526cc256e710659388e36b5..97d9f090cbcbb7eafb67bc6bff696be78d6f5228 100644 --- a/db/migrate/20091017213332_add_missing_indexes_to_documents.rb +++ b/db/migrate/20091017213332_add_missing_indexes_to_documents.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToDocuments < ActiveRecord::Migration def self.up add_index :documents, :category_id diff --git a/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb b/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb index f0979f21cbed1d6f629d947a05ff84ba7effd71d..3f9a607e71daf45028811add342453f76cb7c409 100644 --- a/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb +++ b/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToTokens < ActiveRecord::Migration def self.up add_index :tokens, :user_id diff --git a/db/migrate/20091017213536_add_missing_indexes_to_changesets.rb b/db/migrate/20091017213536_add_missing_indexes_to_changesets.rb index 303be838de561eb75229e6237b3629c2ebe64f35..74852c0d71c94328c8edbf1a69fd58f3166e818a 100644 --- a/db/migrate/20091017213536_add_missing_indexes_to_changesets.rb +++ b/db/migrate/20091017213536_add_missing_indexes_to_changesets.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToChangesets < ActiveRecord::Migration def self.up add_index :changesets, :user_id diff --git a/db/migrate/20091017213642_add_missing_indexes_to_issue_categories.rb b/db/migrate/20091017213642_add_missing_indexes_to_issue_categories.rb index 3f5b2b18541f656801cd8ce8374146e7f1c3fb55..8773fb2be063016051eb484d2cbd543c9766f2ca 100644 --- a/db/migrate/20091017213642_add_missing_indexes_to_issue_categories.rb +++ b/db/migrate/20091017213642_add_missing_indexes_to_issue_categories.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToIssueCategories < ActiveRecord::Migration def self.up add_index :issue_categories, :assigned_to_id diff --git a/db/migrate/20091017213716_add_missing_indexes_to_member_roles.rb b/db/migrate/20091017213716_add_missing_indexes_to_member_roles.rb index e9ff62db9d8a5e5e0808f8d1d7fb4304ae8fa2a5..e8f68f69331f585eda25cd4dc32767dad473232b 100644 --- a/db/migrate/20091017213716_add_missing_indexes_to_member_roles.rb +++ b/db/migrate/20091017213716_add_missing_indexes_to_member_roles.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToMemberRoles < ActiveRecord::Migration def self.up add_index :member_roles, :member_id diff --git a/db/migrate/20091017213757_add_missing_indexes_to_boards.rb b/db/migrate/20091017213757_add_missing_indexes_to_boards.rb index d3e94226ac9c16aa430d2502a654f7275fb856d8..6b60648224de4dd057f2ff11c9f9a41193882885 100644 --- a/db/migrate/20091017213757_add_missing_indexes_to_boards.rb +++ b/db/migrate/20091017213757_add_missing_indexes_to_boards.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToBoards < ActiveRecord::Migration def self.up add_index :boards, :last_message_id diff --git a/db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb b/db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb index f3a8ccbcb36c3b06b8676b8b3b1d9cadb9472e84..ffe682a16634082fabf46e0df4ff747fc3b5cfc2 100644 --- a/db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb +++ b/db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToUserPreferences < ActiveRecord::Migration def self.up add_index :user_preferences, :user_id diff --git a/db/migrate/20091017213910_add_missing_indexes_to_issues.rb b/db/migrate/20091017213910_add_missing_indexes_to_issues.rb index d651a54639d3dbe11feb069f450b08e0b85ae06c..665b6a5064cd6218a0dec2a16401965b53aed4fe 100644 --- a/db/migrate/20091017213910_add_missing_indexes_to_issues.rb +++ b/db/migrate/20091017213910_add_missing_indexes_to_issues.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToIssues < ActiveRecord::Migration def self.up add_index :issues, :status_id diff --git a/db/migrate/20091017214015_add_missing_indexes_to_members.rb b/db/migrate/20091017214015_add_missing_indexes_to_members.rb index 5fdf560fa3158444d9595ddbf3ab6a1c38629603..4a631ad83d57b2e3fcd78294f9436a66705c393a 100644 --- a/db/migrate/20091017214015_add_missing_indexes_to_members.rb +++ b/db/migrate/20091017214015_add_missing_indexes_to_members.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToMembers < ActiveRecord::Migration def self.up add_index :members, :user_id diff --git a/db/migrate/20091017214107_add_missing_indexes_to_custom_fields.rb b/db/migrate/20091017214107_add_missing_indexes_to_custom_fields.rb index 18be0b44be42a2a50c972dc1dc37ac674e387466..9b520ee23897a14e10e3df039bcef6a6366b8aa0 100644 --- a/db/migrate/20091017214107_add_missing_indexes_to_custom_fields.rb +++ b/db/migrate/20091017214107_add_missing_indexes_to_custom_fields.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToCustomFields < ActiveRecord::Migration def self.up add_index :custom_fields, [:id, :type] diff --git a/db/migrate/20091017214136_add_missing_indexes_to_queries.rb b/db/migrate/20091017214136_add_missing_indexes_to_queries.rb index 414b1ad6b63c96bbd3dd3e8625dc08728312d7ba..b5813b37e6eaa3dd3886c90dcd65eb90cef829f2 100644 --- a/db/migrate/20091017214136_add_missing_indexes_to_queries.rb +++ b/db/migrate/20091017214136_add_missing_indexes_to_queries.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToQueries < ActiveRecord::Migration def self.up add_index :queries, :project_id diff --git a/db/migrate/20091017214236_add_missing_indexes_to_time_entries.rb b/db/migrate/20091017214236_add_missing_indexes_to_time_entries.rb index cffc528ea57cc448f98b7730a243b1bba3b8f299..e6a1f8641411c1ecaa08bd541f123d018717e8e5 100644 --- a/db/migrate/20091017214236_add_missing_indexes_to_time_entries.rb +++ b/db/migrate/20091017214236_add_missing_indexes_to_time_entries.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToTimeEntries < ActiveRecord::Migration def self.up add_index :time_entries, :activity_id diff --git a/db/migrate/20091017214308_add_missing_indexes_to_news.rb b/db/migrate/20091017214308_add_missing_indexes_to_news.rb index 808eb629473d5311073382e16800f829bbf42c62..ba2fb304dd0e1432c0d1dfda92e446a6f7572729 100644 --- a/db/migrate/20091017214308_add_missing_indexes_to_news.rb +++ b/db/migrate/20091017214308_add_missing_indexes_to_news.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToNews < ActiveRecord::Migration def self.up add_index :news, :author_id diff --git a/db/migrate/20091017214336_add_missing_indexes_to_users.rb b/db/migrate/20091017214336_add_missing_indexes_to_users.rb index c5a5095875eeae617d0639234656bef5ec296ce1..c38bf1519b7e2b082334d09cc22d2b560d7246c9 100644 --- a/db/migrate/20091017214336_add_missing_indexes_to_users.rb +++ b/db/migrate/20091017214336_add_missing_indexes_to_users.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToUsers < ActiveRecord::Migration def self.up add_index :users, [:id, :type] diff --git a/db/migrate/20091017214406_add_missing_indexes_to_attachments.rb b/db/migrate/20091017214406_add_missing_indexes_to_attachments.rb index d22fc98ed81cda7b241c1d3cf24baf2d7c9e3bd1..d1c80dbe8fedfc647cf004d7af0ded3029333482 100644 --- a/db/migrate/20091017214406_add_missing_indexes_to_attachments.rb +++ b/db/migrate/20091017214406_add_missing_indexes_to_attachments.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToAttachments < ActiveRecord::Migration def self.up add_index :attachments, [:container_id, :container_type] diff --git a/db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb b/db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb index 454e4c5d0e4c97bb344ea7d24f43c19bad36ae7a..bc6c4ddfba0747863f2d9f08ad4b16329dda9853 100644 --- a/db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb +++ b/db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToWikiContents < ActiveRecord::Migration def self.up add_index :wiki_contents, :author_id diff --git a/db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb b/db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb index b192a7e2a6c46d77864886ec230e300655eb654c..6427d071d7b3b013d19fc88dbb1b6e0ad774be48 100644 --- a/db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb +++ b/db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToCustomValues < ActiveRecord::Migration def self.up add_index :custom_values, :custom_field_id diff --git a/db/migrate/20091017214611_add_missing_indexes_to_journals.rb b/db/migrate/20091017214611_add_missing_indexes_to_journals.rb index 2667f4034ab7d5c0a35d11d4f21dcdf4cac2b088..3d6f2d6c5bf778b8e5066c072263de4c54bfe5de 100644 --- a/db/migrate/20091017214611_add_missing_indexes_to_journals.rb +++ b/db/migrate/20091017214611_add_missing_indexes_to_journals.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToJournals < ActiveRecord::Migration def self.up add_index :journals, :user_id diff --git a/db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb b/db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb index fc57f18bfcb3b0d61897b873776dd46871494549..e0c57684e62b87f6832871861d8d6427cd69c235 100644 --- a/db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb +++ b/db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToIssueRelations < ActiveRecord::Migration def self.up add_index :issue_relations, :issue_from_id diff --git a/db/migrate/20091017214720_add_missing_indexes_to_wiki_redirects.rb b/db/migrate/20091017214720_add_missing_indexes_to_wiki_redirects.rb index 7442a544f6d0c45bcbdbad82f7ea31709903e518..0037b4d14fc7e811e8d92861b98f84355caa6cd8 100644 --- a/db/migrate/20091017214720_add_missing_indexes_to_wiki_redirects.rb +++ b/db/migrate/20091017214720_add_missing_indexes_to_wiki_redirects.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToWikiRedirects < ActiveRecord::Migration def self.up add_index :wiki_redirects, :wiki_id diff --git a/db/migrate/20091017214750_add_missing_indexes_to_custom_fields_trackers.rb b/db/migrate/20091017214750_add_missing_indexes_to_custom_fields_trackers.rb index c398b7931f7e7ee56f82e96b8953f8ee16005b71..5d8d18943e73996acba4ef33805b713bf7359be9 100644 --- a/db/migrate/20091017214750_add_missing_indexes_to_custom_fields_trackers.rb +++ b/db/migrate/20091017214750_add_missing_indexes_to_custom_fields_trackers.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddMissingIndexesToCustomFieldsTrackers < ActiveRecord::Migration def self.up add_index :custom_fields_trackers, [:custom_field_id, :tracker_id] diff --git a/db/migrate/20091025163651_add_activity_indexes.rb b/db/migrate/20091025163651_add_activity_indexes.rb index f18059316256d1e5db1f08f9a63247e6411b5302..becc1c1f65338a6741ebe0e0f847835a31aaa345 100644 --- a/db/migrate/20091025163651_add_activity_indexes.rb +++ b/db/migrate/20091025163651_add_activity_indexes.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddActivityIndexes < ActiveRecord::Migration def self.up add_index :journals, :created_on diff --git a/db/migrate/20091108092559_add_versions_status.rb b/db/migrate/20091108092559_add_versions_status.rb index 99f5f5a0e42aa665d417c896e7b4d1de562ea90e..6a60183f9338cb148cac596c6c77579c8a645a86 100644 --- a/db/migrate/20091108092559_add_versions_status.rb +++ b/db/migrate/20091108092559_add_versions_status.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddVersionsStatus < ActiveRecord::Migration def self.up add_column :versions, :status, :string, :default => 'open' diff --git a/db/migrate/20091114105931_add_view_issues_permission.rb b/db/migrate/20091114105931_add_view_issues_permission.rb index 5092a8c9dcf6794c9563928926af213b11e4760d..1f0b11d28db55e45b7eb7a8814b477269907de0d 100644 --- a/db/migrate/20091114105931_add_view_issues_permission.rb +++ b/db/migrate/20091114105931_add_view_issues_permission.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddViewIssuesPermission < ActiveRecord::Migration def self.up Role.find(:all).each do |r| diff --git a/db/migrate/20091123212029_add_default_done_ratio_to_issue_status.rb b/db/migrate/20091123212029_add_default_done_ratio_to_issue_status.rb index 0ce67210070ebb88e2d643c70afcc6b20e312de4..1dbebd08ba3f647a523cb7de35242aaa01ea1309 100644 --- a/db/migrate/20091123212029_add_default_done_ratio_to_issue_status.rb +++ b/db/migrate/20091123212029_add_default_done_ratio_to_issue_status.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddDefaultDoneRatioToIssueStatus < ActiveRecord::Migration def self.up add_column :issue_statuses, :default_done_ratio, :integer diff --git a/db/migrate/20091205124427_add_versions_sharing.rb b/db/migrate/20091205124427_add_versions_sharing.rb index 3c28e115891b701efeae31e9eeb72c58d5252fe6..1f5bdd0fa451b59df42f892ea909cda8cf40c737 100644 --- a/db/migrate/20091205124427_add_versions_sharing.rb +++ b/db/migrate/20091205124427_add_versions_sharing.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddVersionsSharing < ActiveRecord::Migration def self.up add_column :versions, :sharing, :string, :default => 'none', :null => false diff --git a/db/migrate/20091220183509_add_lft_and_rgt_indexes_to_projects.rb b/db/migrate/20091220183509_add_lft_and_rgt_indexes_to_projects.rb index 1c0b4b3138499642f6a400f991aed187f595772f..39e80e210eabb598c9424d884d5bfbff4c4ad614 100644 --- a/db/migrate/20091220183509_add_lft_and_rgt_indexes_to_projects.rb +++ b/db/migrate/20091220183509_add_lft_and_rgt_indexes_to_projects.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddLftAndRgtIndexesToProjects < ActiveRecord::Migration def self.up add_index :projects, :lft diff --git a/db/migrate/20091220183727_add_index_to_settings_name.rb b/db/migrate/20091220183727_add_index_to_settings_name.rb index e6c96ec3f1ecc0c3af906f1e27cc504c41af1f1f..47c0f0f2bfd649210ef2c8f919ec98f6020f63a1 100644 --- a/db/migrate/20091220183727_add_index_to_settings_name.rb +++ b/db/migrate/20091220183727_add_index_to_settings_name.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddIndexToSettingsName < ActiveRecord::Migration def self.up add_index :settings, :name diff --git a/db/migrate/20091220184736_add_indexes_to_issue_status.rb b/db/migrate/20091220184736_add_indexes_to_issue_status.rb index 2497a1e6a2666f19e0a4389cb625b81006fc9f60..5603d6544f9dc8270a430bd737153f655ff58d75 100644 --- a/db/migrate/20091220184736_add_indexes_to_issue_status.rb +++ b/db/migrate/20091220184736_add_indexes_to_issue_status.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddIndexesToIssueStatus < ActiveRecord::Migration def self.up add_index :issue_statuses, :position diff --git a/db/migrate/20091225164732_remove_enumerations_opt.rb b/db/migrate/20091225164732_remove_enumerations_opt.rb index 72c39e05b5f95e343146a71680981fa3016c3cad..abd310c21aa040274ceb55308b18e5a74d1c3a26 100644 --- a/db/migrate/20091225164732_remove_enumerations_opt.rb +++ b/db/migrate/20091225164732_remove_enumerations_opt.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class RemoveEnumerationsOpt < ActiveRecord::Migration def self.up remove_column :enumerations, :opt diff --git a/db/migrate/20091227112908_change_wiki_contents_text_limit.rb b/db/migrate/20091227112908_change_wiki_contents_text_limit.rb index 5e92cf01bc8169ee447ae502f42c9d5d71d6c6b5..408a98c3a8312445bcf5081daa51f3e550b55eea 100644 --- a/db/migrate/20091227112908_change_wiki_contents_text_limit.rb +++ b/db/migrate/20091227112908_change_wiki_contents_text_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeWikiContentsTextLimit < ActiveRecord::Migration def self.up # Migrates MySQL databases only diff --git a/db/migrate/20100129193402_change_users_mail_notification_to_string.rb b/db/migrate/20100129193402_change_users_mail_notification_to_string.rb index 401f634079c9d10c505117fdff2b79761ec4d324..930c8a47ded90e868bdb1acaebeaab3628f1c861 100644 --- a/db/migrate/20100129193402_change_users_mail_notification_to_string.rb +++ b/db/migrate/20100129193402_change_users_mail_notification_to_string.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeUsersMailNotificationToString < ActiveRecord::Migration def self.up rename_column :users, :mail_notification, :mail_notification_bool diff --git a/db/migrate/20100129193813_update_mail_notification_values.rb b/db/migrate/20100129193813_update_mail_notification_values.rb index a8a45ade3d99459c878fe883f4a0302d0cd0c7a0..a2d2d90f6d841f1c8a4919ab4c96e985b773a675 100644 --- a/db/migrate/20100129193813_update_mail_notification_values.rb +++ b/db/migrate/20100129193813_update_mail_notification_values.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Patch the data from a boolean change. class UpdateMailNotificationValues < ActiveRecord::Migration def self.up diff --git a/db/migrate/20100221100219_add_index_on_changesets_scmid.rb b/db/migrate/20100221100219_add_index_on_changesets_scmid.rb index 96d85a3a74018776fab75541b87269a6dfebb364..392afe8a8f7fd64021ce4017167ffb3c67150493 100644 --- a/db/migrate/20100221100219_add_index_on_changesets_scmid.rb +++ b/db/migrate/20100221100219_add_index_on_changesets_scmid.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddIndexOnChangesetsScmid < ActiveRecord::Migration def self.up add_index :changesets, [:repository_id, :scmid], :name => :changesets_repos_scmid diff --git a/db/migrate/20100313132032_add_issues_nested_sets_columns.rb b/db/migrate/20100313132032_add_issues_nested_sets_columns.rb index e7d03e980f119f3ae66bc7b5b439635404624890..55362618b72c070c7e1fc067dc8f1e5f1ee34dfb 100644 --- a/db/migrate/20100313132032_add_issues_nested_sets_columns.rb +++ b/db/migrate/20100313132032_add_issues_nested_sets_columns.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddIssuesNestedSetsColumns < ActiveRecord::Migration def self.up add_column :issues, :parent_id, :integer, :default => nil diff --git a/db/migrate/20100313171051_add_index_on_issues_nested_set.rb b/db/migrate/20100313171051_add_index_on_issues_nested_set.rb index 4dc9480004bc1f8b29709b239b15facf8d835b1e..0929fa2d602f041e2667e7dac1214f317ea6c123 100644 --- a/db/migrate/20100313171051_add_index_on_issues_nested_set.rb +++ b/db/migrate/20100313171051_add_index_on_issues_nested_set.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddIndexOnIssuesNestedSet < ActiveRecord::Migration def self.up add_index :issues, [:root_id, :lft, :rgt] diff --git a/db/migrate/20100705164950_change_changes_path_length_limit.rb b/db/migrate/20100705164950_change_changes_path_length_limit.rb index 62b8644a4eb9bb6fe892aea84c5937a09edd5262..fad4de7a99e661eedae14a6ad54fd5baf10696b8 100644 --- a/db/migrate/20100705164950_change_changes_path_length_limit.rb +++ b/db/migrate/20100705164950_change_changes_path_length_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeChangesPathLengthLimit < ActiveRecord::Migration def self.up # these are two steps to please MySQL 5 on Win32 diff --git a/db/migrate/20100714111651_generalize_journals.rb b/db/migrate/20100714111651_generalize_journals.rb index 2595175c165fd6aa7516a7fe7a4142b17ac94491..3eff0ecbea58002a7a3e4a10f664c9b32c9e0487 100644 --- a/db/migrate/20100714111651_generalize_journals.rb +++ b/db/migrate/20100714111651_generalize_journals.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class GeneralizeJournals < ActiveRecord::Migration def self.up # This is provided here for migrating up after the JournalDetails has been removed diff --git a/db/migrate/20100804112053_merge_wiki_versions_with_journals.rb b/db/migrate/20100804112053_merge_wiki_versions_with_journals.rb index b2b707f16b57fb212d881cf66494504f5470b612..a5c16608ebc8a78bbd60ed74aa436af6bc90846d 100644 --- a/db/migrate/20100804112053_merge_wiki_versions_with_journals.rb +++ b/db/migrate/20100804112053_merge_wiki_versions_with_journals.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class MergeWikiVersionsWithJournals < ActiveRecord::Migration def self.up # This is provided here for migrating up after the WikiContent::Version class has been removed diff --git a/db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb b/db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb index 416607b43dada8f3eb1c1c1c0a7357da186e0115..d47776fc68fde519b7ffe8cbe59bdc84e35deed1 100644 --- a/db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb +++ b/db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class EnableCalendarAndGanttModulesWhereAppropriate < ActiveRecord::Migration def self.up EnabledModule.find(:all, :conditions => ["name = ?", 'issue_tracking']).each do |e| diff --git a/db/migrate/20101104182107_add_unique_index_on_members.rb b/db/migrate/20101104182107_add_unique_index_on_members.rb index ac51313b138e3a129a0835fa12f6923f1b84f94d..d9b047d1e81c3a65bf69f1d2a5ef3739cdfd613c 100644 --- a/db/migrate/20101104182107_add_unique_index_on_members.rb +++ b/db/migrate/20101104182107_add_unique_index_on_members.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddUniqueIndexOnMembers < ActiveRecord::Migration def self.up # Clean and reassign MemberRole rows if needed diff --git a/db/migrate/20101107130441_add_custom_fields_visible.rb b/db/migrate/20101107130441_add_custom_fields_visible.rb index 9d59faee5a1ece4fa4ab3756aee845b56798b82b..30bc647be336f4bdc63f79536672681cb5709a2c 100644 --- a/db/migrate/20101107130441_add_custom_fields_visible.rb +++ b/db/migrate/20101107130441_add_custom_fields_visible.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddCustomFieldsVisible < ActiveRecord::Migration def self.up add_column :custom_fields, :visible, :boolean, :null => false, :default => true diff --git a/db/migrate/20101114115114_change_projects_name_limit.rb b/db/migrate/20101114115114_change_projects_name_limit.rb index fabc3c9d831a79cd93c1011036f208babf690c42..126d88188c4dcf3028e070a2a1ac7cf2eb6bf5cc 100644 --- a/db/migrate/20101114115114_change_projects_name_limit.rb +++ b/db/migrate/20101114115114_change_projects_name_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeProjectsNameLimit < ActiveRecord::Migration def self.up change_column :projects, :name, :string, :limit => nil, :default => '', :null => false diff --git a/db/migrate/20101114115359_change_projects_identifier_limit.rb b/db/migrate/20101114115359_change_projects_identifier_limit.rb index 79426fadfa4b9881f4d883f744c9da2a94bf2dda..d72be54bd4f1abed2e7870edd9d5e46553a0cec1 100644 --- a/db/migrate/20101114115359_change_projects_identifier_limit.rb +++ b/db/migrate/20101114115359_change_projects_identifier_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeProjectsIdentifierLimit < ActiveRecord::Migration def self.up change_column :projects, :identifier, :string, :limit => nil diff --git a/db/migrate/20110220160626_add_workflows_assignee_and_author.rb b/db/migrate/20110220160626_add_workflows_assignee_and_author.rb index 73ccb4e0a07320cabb5ffb2fc8ac9b8d83c7f7ea..1585eb6424dfa74e3d6e77366e9642ca9dde98cf 100644 --- a/db/migrate/20110220160626_add_workflows_assignee_and_author.rb +++ b/db/migrate/20110220160626_add_workflows_assignee_and_author.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddWorkflowsAssigneeAndAuthor < ActiveRecord::Migration def self.up add_column :workflows, :assignee, :boolean, :null => false, :default => false diff --git a/db/migrate/20110223180944_add_users_salt.rb b/db/migrate/20110223180944_add_users_salt.rb index f1cf6483f09859a7e7a21fdaf5823a2daacfdbcc..7e31332c03e3d10e197d7f2447521eafea656979 100644 --- a/db/migrate/20110223180944_add_users_salt.rb +++ b/db/migrate/20110223180944_add_users_salt.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddUsersSalt < ActiveRecord::Migration def self.up add_column :users, :salt, :string, :limit => 64 diff --git a/db/migrate/20110223180953_salt_user_passwords.rb b/db/migrate/20110223180953_salt_user_passwords.rb index 9f017db9c4cc1957a89c22872627d0ecee5f6d4f..4bd232d4e3558fa53274ad61ac367c21dd391b76 100644 --- a/db/migrate/20110223180953_salt_user_passwords.rb +++ b/db/migrate/20110223180953_salt_user_passwords.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class SaltUserPasswords < ActiveRecord::Migration def self.up diff --git a/db/migrate/20110224000000_add_repositories_path_encoding.rb b/db/migrate/20110224000000_add_repositories_path_encoding.rb index 253d7a66e90fb61d87804cd9a1e136f8e5dbd556..95df6e5c2d71078814e10032df301805287302b6 100644 --- a/db/migrate/20110224000000_add_repositories_path_encoding.rb +++ b/db/migrate/20110224000000_add_repositories_path_encoding.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRepositoriesPathEncoding < ActiveRecord::Migration def self.up add_column :repositories, :path_encoding, :string, :limit => 64, :default => nil diff --git a/db/migrate/20110226120112_change_repositories_password_limit.rb b/db/migrate/20110226120112_change_repositories_password_limit.rb index 1ad937c7d1683b98bd565aee97df1060673ae4f7..44a5cc69a2705d9b245d0a7a6d071a5280bb0906 100644 --- a/db/migrate/20110226120112_change_repositories_password_limit.rb +++ b/db/migrate/20110226120112_change_repositories_password_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeRepositoriesPasswordLimit < ActiveRecord::Migration def self.up change_column :repositories, :password, :string, :limit => nil, :default => '' diff --git a/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb b/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb index b1cd80aa56d9daa4ad14cea5f6517d38c2bc635a..8ab41db0634f8687da93b434a4a35591faca9bd9 100644 --- a/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb +++ b/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeAuthSourcesAccountPasswordLimit < ActiveRecord::Migration def self.up change_column :auth_sources, :account_password, :string, :limit => nil, :default => '' diff --git a/db/migrate/20110227125750_change_journal_details_values_to_text.rb b/db/migrate/20110227125750_change_journal_details_values_to_text.rb index 25886575c3434523cdb01d29ac6292d15aa57c64..578e181b7e6880d37b3642b3161f93d6ce99f46e 100644 --- a/db/migrate/20110227125750_change_journal_details_values_to_text.rb +++ b/db/migrate/20110227125750_change_journal_details_values_to_text.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChangeJournalDetailsValuesToText < ActiveRecord::Migration def self.up change_column :journal_details, :old_value, :text diff --git a/db/migrate/20110228000000_add_repositories_log_encoding.rb b/db/migrate/20110228000000_add_repositories_log_encoding.rb index 85cadafce97711d9aeddb454925b0cb52b9a0517..07af360ae9a5ea8e74d287e3b9fb2f951368c6e6 100644 --- a/db/migrate/20110228000000_add_repositories_log_encoding.rb +++ b/db/migrate/20110228000000_add_repositories_log_encoding.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddRepositoriesLogEncoding < ActiveRecord::Migration def self.up add_column :repositories, :log_encoding, :string, :limit => 64, :default => nil diff --git a/db/migrate/20110228000100_copy_repositories_log_encoding.rb b/db/migrate/20110228000100_copy_repositories_log_encoding.rb index 4d975f80ea0cd2164184672f0ce2403f48483c4f..6400fc6dfa480b845ccb3c3798057b6cb37077f4 100644 --- a/db/migrate/20110228000100_copy_repositories_log_encoding.rb +++ b/db/migrate/20110228000100_copy_repositories_log_encoding.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CopyRepositoriesLogEncoding < ActiveRecord::Migration def self.up encoding = Setting.commit_logs_encoding.to_s.strip diff --git a/db/migrate/20110314014400_add_start_date_to_versions.rb b/db/migrate/20110314014400_add_start_date_to_versions.rb index c865126884ee1cd19e8cd6b958202e6cd3ca3862..3d585b7cc18b964e351d0daf2a6d893c371e43b9 100644 --- a/db/migrate/20110314014400_add_start_date_to_versions.rb +++ b/db/migrate/20110314014400_add_start_date_to_versions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddStartDateToVersions < ActiveRecord::Migration def self.up add_column :versions, :start_date, :date diff --git a/db/migrate/20110401192910_add_index_to_users_type.rb b/db/migrate/20110401192910_add_index_to_users_type.rb index b9f50112011c465d80b5d252f1cd0978e4a30822..665d258794dc9e50ec07342732846421f2f588ba 100644 --- a/db/migrate/20110401192910_add_index_to_users_type.rb +++ b/db/migrate/20110401192910_add_index_to_users_type.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AddIndexToUsersType < ActiveRecord::Migration def self.up add_index :users, :type diff --git a/db/migrate/20110519194936_remove_comments_from_wiki_content.rb b/db/migrate/20110519194936_remove_comments_from_wiki_content.rb index 461cc701e73a8ef12260eff388ae66da3bde88aa..5e30b52bd8b524aa76e609b3e59a1ebfff44df4d 100644 --- a/db/migrate/20110519194936_remove_comments_from_wiki_content.rb +++ b/db/migrate/20110519194936_remove_comments_from_wiki_content.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class RemoveCommentsFromWikiContent < ActiveRecord::Migration def self.up remove_column :wiki_contents, :comments diff --git a/db/seeds.rb b/db/seeds.rb index 3174d0cb8a87fe3e552de8dc8ba1b934c5a38b41..485a540f5d36b942dc2347caa3b27172cafae70f 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # 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/extra/mail_handler/rdm-mailhandler.rb b/extra/mail_handler/rdm-mailhandler.rb index c1b5c287d0ddf6418bf5e119210bf1b9bc83330a..457b31e200992ef4341a0d22e3d11061e00f4592 100644 --- a/extra/mail_handler/rdm-mailhandler.rb +++ b/extra/mail_handler/rdm-mailhandler.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + #!/usr/bin/env ruby # == Synopsis diff --git a/extra/sample_plugin/app/controllers/example_controller.rb b/extra/sample_plugin/app/controllers/example_controller.rb index 8d63206af91ceaeb7ef50efb0d3bdae27c1b76d7..2eebde87d59e1e15fa7d92150e52ebb6219ba39b 100644 --- a/extra/sample_plugin/app/controllers/example_controller.rb +++ b/extra/sample_plugin/app/controllers/example_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Sample plugin controller class ExampleController < ApplicationController unloadable diff --git a/extra/sample_plugin/app/models/meeting.rb b/extra/sample_plugin/app/models/meeting.rb index 5adb621a7ee9f90f1531b3c6e32b9c58e8b562a1..9bd92fbbd86965d821f60d692ea74541f70424c8 100644 --- a/extra/sample_plugin/app/models/meeting.rb +++ b/extra/sample_plugin/app/models/meeting.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Meeting < ActiveRecord::Base belongs_to :project diff --git a/extra/sample_plugin/db/migrate/001_create_meetings.rb b/extra/sample_plugin/db/migrate/001_create_meetings.rb index fec9c8bd1dcba14d07c40fc16f4f2873a421d4e9..0b126dcf684e4802e9df70abb1b9033587f56845 100644 --- a/extra/sample_plugin/db/migrate/001_create_meetings.rb +++ b/extra/sample_plugin/db/migrate/001_create_meetings.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Sample plugin migration # Use rake db:migrate_plugins to migrate installed plugins class CreateMeetings < ActiveRecord::Migration diff --git a/extra/sample_plugin/init.rb b/extra/sample_plugin/init.rb index ec5818215790559ed6204fa8d56a8548221082f4..dd5025d9d7d63cdc7556c8975327e0dd7848f190 100644 --- a/extra/sample_plugin/init.rb +++ b/extra/sample_plugin/init.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Redmine sample plugin require 'redmine' diff --git a/extra/svn/reposman.rb b/extra/svn/reposman.rb index edff0b7a2945cab8c74b160335a6e57fb1d8055d..72cd647b6fdbeb0f87ff1e39cf17a7cbb77afacb 100755 --- a/extra/svn/reposman.rb +++ b/extra/svn/reposman.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + #!/usr/bin/env ruby # == Synopsis diff --git a/lib/ar_condition.rb b/lib/ar_condition.rb index 1305f5c2bb554aa7850f3542521811f0506b764b..44ec16cb38cb56269898d9d160357dfa8ed3165a 100644 --- a/lib/ar_condition.rb +++ b/lib/ar_condition.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ARCondition attr_reader :conditions diff --git a/lib/chili_project.rb b/lib/chili_project.rb index e27cbf8633d15fda71a5086ed3e1b3943a3b9e22..b3e839f1799eede270d1f29318b959d8edb9023d 100644 --- a/lib/chili_project.rb +++ b/lib/chili_project.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module ChiliProject end diff --git a/lib/chili_project/database.rb b/lib/chili_project/database.rb index 7d140640ddcba177aaff71ab837e6be86d12f4ea..fe96176d56032c3b9acc0046e10631ec0c0bbe1b 100644 --- a/lib/chili_project/database.rb +++ b/lib/chili_project/database.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module ChiliProject # This module provides some information about the currently used database diff --git a/lib/generators/chiliproject_plugin/chiliproject_plugin_generator.rb b/lib/generators/chiliproject_plugin/chiliproject_plugin_generator.rb index 02619c5083d7093829f1e5f435521f1f65d97ded..a48e2566c445d240759dd03ce89b6ca27c2f6bd5 100644 --- a/lib/generators/chiliproject_plugin/chiliproject_plugin_generator.rb +++ b/lib/generators/chiliproject_plugin/chiliproject_plugin_generator.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class ChiliprojectPluginGenerator < Rails::Generator::NamedBase attr_reader :plugin_path, :plugin_name, :plugin_pretty_name diff --git a/lib/generators/chiliproject_plugin_controller/chiliproject_plugin_controller_generator.rb b/lib/generators/chiliproject_plugin_controller/chiliproject_plugin_controller_generator.rb index 2cdbd2ca52930f4ec2d053fff2ac4883efd27cc7..352e16631eeab199d9a1660bc72fadecb1e9969f 100644 --- a/lib/generators/chiliproject_plugin_controller/chiliproject_plugin_controller_generator.rb +++ b/lib/generators/chiliproject_plugin_controller/chiliproject_plugin_controller_generator.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'rails_generator/base' require 'rails_generator/generators/components/controller/controller_generator' diff --git a/lib/generators/chiliproject_plugin_model/chiliproject_plugin_model_generator.rb b/lib/generators/chiliproject_plugin_model/chiliproject_plugin_model_generator.rb index 54f26b5b0bf72cb1f4e112ee5172505e98e4f484..7fa2134ceb7e163a0d7aa421bd54d5f075d2d2f5 100644 --- a/lib/generators/chiliproject_plugin_model/chiliproject_plugin_model_generator.rb +++ b/lib/generators/chiliproject_plugin_model/chiliproject_plugin_model_generator.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'rails_generator/base' require 'rails_generator/generators/components/model/model_generator' diff --git a/lib/redmine.rb b/lib/redmine.rb index 74703cef567b98c25c44d4bd919a90ea8f126314..a38d98033461664c3293b9331e0a9926e86b7bc0 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/access_control' require 'redmine/menu_manager' require 'redmine/activity' diff --git a/lib/redmine/about.rb b/lib/redmine/about.rb index 0fcc29a97525cf360c1b87f6ce4556fb97946606..526619cf32827467962a1899eaa0d915bf2f1932 100644 --- a/lib/redmine/about.rb +++ b/lib/redmine/about.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine class About def self.print_plugin_info diff --git a/lib/redmine/access_control.rb b/lib/redmine/access_control.rb index d63b490e450600ea34b376438f5f0aaa61f4e72b..7eba40e03d804d60ba92c79b91291543a4de4a14 100644 --- a/lib/redmine/access_control.rb +++ b/lib/redmine/access_control.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module AccessControl diff --git a/lib/redmine/access_keys.rb b/lib/redmine/access_keys.rb index e4f8a65b05d25532bc9f9fb83ed654f542b030b1..d352ccd3af14f3a38d6b3d50d3d9a63d4b320eee 100644 --- a/lib/redmine/access_keys.rb +++ b/lib/redmine/access_keys.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module AccessKeys ACCESSKEYS = {:edit => 'e', diff --git a/lib/redmine/activity.rb b/lib/redmine/activity.rb index a8172f7d2ee1d7ffd72f8c80ba3d24819ad377b6..b78eb02b482bf03ade9ac8536b2640866087a009 100644 --- a/lib/redmine/activity.rb +++ b/lib/redmine/activity.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Activity diff --git a/lib/redmine/activity/fetcher.rb b/lib/redmine/activity/fetcher.rb index 0c39df24383586e3c1ae1eceedd63de5f9bc61bb..0d820b31607ef5b6b70383529644b0b6858826e0 100644 --- a/lib/redmine/activity/fetcher.rb +++ b/lib/redmine/activity/fetcher.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Activity # Class used to retrieve activity events diff --git a/lib/redmine/ciphering.rb b/lib/redmine/ciphering.rb index f6294c0cd93362a6133d822eaeed536e48f8db76..76219231700b15edaf9c1719d7953a269f989b82 100644 --- a/lib/redmine/ciphering.rb +++ b/lib/redmine/ciphering.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Ciphering def self.included(base) diff --git a/lib/redmine/configuration.rb b/lib/redmine/configuration.rb index 0391da0756ead6684baeb7c6bfc97a1b55fadbed..563167b8f1c2037fe7d2d1a6302acfec6c21a0ac 100644 --- a/lib/redmine/configuration.rb +++ b/lib/redmine/configuration.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Configuration diff --git a/lib/redmine/core_ext.rb b/lib/redmine/core_ext.rb index 573313e74132f17455d890c39e6dd227e4f383dd..81dcc33aad56319eca6ba192536cf6e8d018c041 100644 --- a/lib/redmine/core_ext.rb +++ b/lib/redmine/core_ext.rb @@ -1 +1,14 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + Dir[File.dirname(__FILE__) + "/core_ext/*.rb"].each { |file| require(file) } diff --git a/lib/redmine/core_ext/string.rb b/lib/redmine/core_ext/string.rb index 2da5ffef99a08f2d8a46c6acb5d81a6b9af5f442..3e9429c64b73ee1d0be3e9cd3d9d662e035b6fe4 100644 --- a/lib/redmine/core_ext/string.rb +++ b/lib/redmine/core_ext/string.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.dirname(__FILE__) + '/string/conversions' require File.dirname(__FILE__) + '/string/inflections' diff --git a/lib/redmine/core_ext/string/conversions.rb b/lib/redmine/core_ext/string/conversions.rb index d818bebcd92c04517dfd89c89d94da74792e1622..a6b16049fcfb1cb9dd8ced1b70b8049912779597 100644 --- a/lib/redmine/core_ext/string/conversions.rb +++ b/lib/redmine/core_ext/string/conversions.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine #:nodoc: module CoreExtensions #:nodoc: module String #:nodoc: diff --git a/lib/redmine/core_ext/string/inflections.rb b/lib/redmine/core_ext/string/inflections.rb index 52cd0888eb60f0ebcad5767fe6d2cdc1bbc6f6e5..4b24da913d37f2cb274b71312926252f098cfc8b 100644 --- a/lib/redmine/core_ext/string/inflections.rb +++ b/lib/redmine/core_ext/string/inflections.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine #:nodoc: module CoreExtensions #:nodoc: module String #:nodoc: diff --git a/lib/redmine/custom_field_format.rb b/lib/redmine/custom_field_format.rb index 09fb0babbe7db7ad9bc39a5dfd295d166dea0f63..6880b193246ea86573a042d17cebc43e77354748 100644 --- a/lib/redmine/custom_field_format.rb +++ b/lib/redmine/custom_field_format.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine class CustomFieldFormat include Redmine::I18n diff --git a/lib/redmine/default_data/loader.rb b/lib/redmine/default_data/loader.rb index c3dd6d19460709e5e8977fde5d3cedbbbdcd58e4..e84191547a4e9bb79a65002b914a291fbfa15577 100644 --- a/lib/redmine/default_data/loader.rb +++ b/lib/redmine/default_data/loader.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module DefaultData class DataAlreadyLoaded < Exception; end diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index ba5071824b3a8c7ec928f4c6cb0fcf789b722f74..a5f298368dca90ec9ccf863c41b7d1fbd4d35694 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # encoding: utf-8 require 'iconv' diff --git a/lib/redmine/helpers/calendar.rb b/lib/redmine/helpers/calendar.rb index 5842ee25ae1b4eda4b25a3c4be8c1b6401ba47f4..d22e4be97a5f7c6d7713f406a10688576ab75aa1 100644 --- a/lib/redmine/helpers/calendar.rb +++ b/lib/redmine/helpers/calendar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Helpers diff --git a/lib/redmine/helpers/diff.rb b/lib/redmine/helpers/diff.rb index ce63d9478c2e3c3bf0009de8c850c4fdca604522..b49c279a5390836311b3ad1c297e487cfab73ddd 100644 --- a/lib/redmine/helpers/diff.rb +++ b/lib/redmine/helpers/diff.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Helpers class Diff diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 9862b8e8cd558318e5a67b45afcfb08e49f1f4e2..1cd8c9cf1e668865fba7271a5805d788239ad752 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Helpers # Simple class to handle gantt chart data diff --git a/lib/redmine/hook.rb b/lib/redmine/hook.rb index be6260461699f4bc9ed8fa241ac83904a21ab3f4..42a42fdf15cdcf6defae4d9287c0e41bd5631e85 100644 --- a/lib/redmine/hook.rb +++ b/lib/redmine/hook.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Hook include ActionController::UrlWriter diff --git a/lib/redmine/i18n.rb b/lib/redmine/i18n.rb index f0cc529b04c7e785bead0778a49a3603172be92b..8b4a36c949802915849375124d5fe5b3a13949de 100644 --- a/lib/redmine/i18n.rb +++ b/lib/redmine/i18n.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module I18n def self.included(base) diff --git a/lib/redmine/imap.rb b/lib/redmine/imap.rb index 0c8bbad8396f27e115f67fbfd20977728b85f174..9756191eab29c7a69136a1a6e3c782f76af93a61 100644 --- a/lib/redmine/imap.rb +++ b/lib/redmine/imap.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'net/imap' module Redmine diff --git a/lib/redmine/info.rb b/lib/redmine/info.rb index d992bb13e47dde4f15a3583c56a5e44afc35142d..3ed0067e2c22b548a9ee4c65a87e48bf2a3279f9 100644 --- a/lib/redmine/info.rb +++ b/lib/redmine/info.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Info class << self diff --git a/lib/redmine/menu_manager.rb b/lib/redmine/menu_manager.rb index 4d9196947eebeb5123bb30d8e5a730688134f317..17c11e1887a05ceda210fbe2c26586a26a109ce4 100644 --- a/lib/redmine/menu_manager.rb +++ b/lib/redmine/menu_manager.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine::MenuManager def self.map(menu_name) @items ||= {} diff --git a/lib/redmine/menu_manager/mapper.rb b/lib/redmine/menu_manager/mapper.rb index f643194b938938c02cae376a10f27ec1cd9e3cf5..172f7d8d74ac3642f1141371f94eb9b99649b4f8 100644 --- a/lib/redmine/menu_manager/mapper.rb +++ b/lib/redmine/menu_manager/mapper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Redmine::MenuManager::Mapper def initialize(menu, items) items[menu] ||= Redmine::MenuManager::TreeNode.new(:root, {}) diff --git a/lib/redmine/menu_manager/menu_controller.rb b/lib/redmine/menu_manager/menu_controller.rb index 7d5923bc72a4bf791ac8e4159d5c1e157747509f..e3acb50b82a5ce487b3abc399b8a88056e513c76 100644 --- a/lib/redmine/menu_manager/menu_controller.rb +++ b/lib/redmine/menu_manager/menu_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine::MenuManager::MenuController def self.included(base) base.extend(ClassMethods) diff --git a/lib/redmine/menu_manager/menu_error.rb b/lib/redmine/menu_manager/menu_error.rb index e5301c678c1fa9f39477af9f30e9c819db7cab9c..d33e0e3260e50a48355cb60e116781372e9f67f9 100644 --- a/lib/redmine/menu_manager/menu_error.rb +++ b/lib/redmine/menu_manager/menu_error.rb @@ -1,2 +1,15 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Redmine::MenuManager::MenuError < StandardError #:nodoc: end diff --git a/lib/redmine/menu_manager/menu_helper.rb b/lib/redmine/menu_manager/menu_helper.rb index 186b1335dfb861fdabaf7177285a058336cbb861..e77e8513b35bd8c9571c11d2aed12b24aaf52995 100644 --- a/lib/redmine/menu_manager/menu_helper.rb +++ b/lib/redmine/menu_manager/menu_helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine::MenuManager::MenuHelper # Returns the current menu item name def current_menu_item diff --git a/lib/redmine/menu_manager/menu_item.rb b/lib/redmine/menu_manager/menu_item.rb index 5b7be3ad18b5da1dac29fedaf62c368f485c5801..680d6edf4a0b835562f87c3a25f18dda7bb75cfd 100644 --- a/lib/redmine/menu_manager/menu_item.rb +++ b/lib/redmine/menu_manager/menu_item.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Redmine::MenuManager::MenuItem < Redmine::MenuManager::TreeNode include Redmine::I18n attr_reader :name, :url, :param, :condition, :parent, :child_menus, :last diff --git a/lib/redmine/menu_manager/tree_node.rb b/lib/redmine/menu_manager/tree_node.rb index 9891d8959f468f85c963f97836d56144f7afaed3..a6a149bb15e018e2aa6c4ad1c304b78efbe89cb2 100644 --- a/lib/redmine/menu_manager/tree_node.rb +++ b/lib/redmine/menu_manager/tree_node.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'tree' # gem install rubytree class Redmine::MenuManager::TreeNode < Tree::TreeNode diff --git a/lib/redmine/mime_type.rb b/lib/redmine/mime_type.rb index 8b80c017b07119daddbf93dfe777d942eb3a21e3..2eb09b0801899d9c4e68120bdf8a2460365879dd 100644 --- a/lib/redmine/mime_type.rb +++ b/lib/redmine/mime_type.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module MimeType diff --git a/lib/redmine/notifiable.rb b/lib/redmine/notifiable.rb index 37d4a4072529e973262669e9160f08d5dfb364ad..4ca9c09d1b88cb9542bff2eca582a12a687bc641 100644 --- a/lib/redmine/notifiable.rb +++ b/lib/redmine/notifiable.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine class Notifiable < Struct.new(:name, :parent) diff --git a/lib/redmine/platform.rb b/lib/redmine/platform.rb index f0f02d3882307a9426ea2132706d36321ed28764..51b18920894bcd0c6d4909e03186ab190b9f941c 100644 --- a/lib/redmine/platform.rb +++ b/lib/redmine/platform.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Platform class << self diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb index 7e0b89edfc92d6d717760a641d1f8da102215ea5..5f0860cc8b8ca1eae00cfeb1ebbc904da6b69176 100644 --- a/lib/redmine/plugin.rb +++ b/lib/redmine/plugin.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine #:nodoc: class PluginNotFound < StandardError; end diff --git a/lib/redmine/pop3.rb b/lib/redmine/pop3.rb index c7f50dbfb8d56a3761e64fdd67aeffe247087053..3e2d5c665974c675e1ec189c9e1844b8ca8a500a 100644 --- a/lib/redmine/pop3.rb +++ b/lib/redmine/pop3.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'net/pop' module Redmine diff --git a/lib/redmine/safe_attributes.rb b/lib/redmine/safe_attributes.rb index d742bbd17ad54890084ecc11142c8214c725752e..0bdfbd865cd5430461778fa109d287903d7ae23d 100644 --- a/lib/redmine/safe_attributes.rb +++ b/lib/redmine/safe_attributes.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module SafeAttributes def self.included(base) diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index 80556d8457e092b9062aa6d31c54fed175f42529..b720d910938b062c24c6abf86710b89e1631a042 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'cgi' module Redmine diff --git a/lib/redmine/scm/adapters/bazaar_adapter.rb b/lib/redmine/scm/adapters/bazaar_adapter.rb index b484ee27d5054dcb6a80e7fe61e16d3d232201e4..4525f422d392eb04140d2259fab03cebb8f4d816 100644 --- a/lib/redmine/scm/adapters/bazaar_adapter.rb +++ b/lib/redmine/scm/adapters/bazaar_adapter.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/abstract_adapter' module Redmine diff --git a/lib/redmine/scm/adapters/cvs_adapter.rb b/lib/redmine/scm/adapters/cvs_adapter.rb index 502a8173491027705f2be6646bde2c5ba746cb35..cfc72b3cd9a92c295978fb72f8817832dca1a12d 100644 --- a/lib/redmine/scm/adapters/cvs_adapter.rb +++ b/lib/redmine/scm/adapters/cvs_adapter.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/abstract_adapter' module Redmine diff --git a/lib/redmine/scm/adapters/darcs_adapter.rb b/lib/redmine/scm/adapters/darcs_adapter.rb index 97dff06a187a29e20a891d67ed3ec69df6251e43..6a20337b0e79de19014ec75d533672e0d6c5e35f 100644 --- a/lib/redmine/scm/adapters/darcs_adapter.rb +++ b/lib/redmine/scm/adapters/darcs_adapter.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/abstract_adapter' require 'rexml/document' diff --git a/lib/redmine/scm/adapters/filesystem_adapter.rb b/lib/redmine/scm/adapters/filesystem_adapter.rb index 60959c3a0af1f6b59de47ef57245e0c448a24d03..9717889f8c7940e875f75cbd4c9acff0a4e669b6 100644 --- a/lib/redmine/scm/adapters/filesystem_adapter.rb +++ b/lib/redmine/scm/adapters/filesystem_adapter.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/abstract_adapter' require 'find' diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index 2599a5e62c95da696d2ebe1f3386d713cad04fc3..149a65423a9c5d64a419c2b5d9de76dedddd6cde 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/abstract_adapter' module Redmine diff --git a/lib/redmine/scm/adapters/mercurial_adapter.rb b/lib/redmine/scm/adapters/mercurial_adapter.rb index f1dc522fe38440cab528459dd64e11d6261caec9..5c29075620710511f421cd79fd1decebd9b075ef 100644 --- a/lib/redmine/scm/adapters/mercurial_adapter.rb +++ b/lib/redmine/scm/adapters/mercurial_adapter.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/abstract_adapter' require 'cgi' diff --git a/lib/redmine/scm/adapters/subversion_adapter.rb b/lib/redmine/scm/adapters/subversion_adapter.rb index 586aefb51548ba7acdef46d30604d71901b868c6..5106370a805a372fe5841d1ef219d512487d35a5 100644 --- a/lib/redmine/scm/adapters/subversion_adapter.rb +++ b/lib/redmine/scm/adapters/subversion_adapter.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redmine/scm/adapters/abstract_adapter' require 'uri' diff --git a/lib/redmine/scm/base.rb b/lib/redmine/scm/base.rb index 43e8a187725b8216a0fb55edb8eff878d19bfa50..4ae88ec81432e103be4123ee9279b1d3f6855175 100644 --- a/lib/redmine/scm/base.rb +++ b/lib/redmine/scm/base.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Scm class Base diff --git a/lib/redmine/search.rb b/lib/redmine/search.rb index 4a54e106239c4e1a458297feb2a82864f6d104a2..91ff892a3b5bd57a834640829ccb1579e9b33af4 100644 --- a/lib/redmine/search.rb +++ b/lib/redmine/search.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Search diff --git a/lib/redmine/syntax_highlighting.rb b/lib/redmine/syntax_highlighting.rb index 6d5bd9b8df9ea3519b8fa268d4976ebeda447a48..793569399965056cb7a3240ce3ca4e7815f67c94 100644 --- a/lib/redmine/syntax_highlighting.rb +++ b/lib/redmine/syntax_highlighting.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module SyntaxHighlighting diff --git a/lib/redmine/themes.rb b/lib/redmine/themes.rb index d6de20a8cfe60538d2b05fea10de695ceb57076f..2844be978ef6a474b2a31bfb2fcf75ff63d626e7 100644 --- a/lib/redmine/themes.rb +++ b/lib/redmine/themes.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Themes diff --git a/lib/redmine/unified_diff.rb b/lib/redmine/unified_diff.rb index b2e9e60270676d245af0aaa9ceb263697de3df97..7ef948b711e392add57b66b52abe45c5004c19d6 100644 --- a/lib/redmine/unified_diff.rb +++ b/lib/redmine/unified_diff.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine # Class used to parse unified diffs class UnifiedDiff < Array diff --git a/lib/redmine/utils.rb b/lib/redmine/utils.rb index 2022f937fc87727e9c7baa6b926cc5f0a0b9835f..fd494a809da012559c862f9619d6bc5752583829 100644 --- a/lib/redmine/utils.rb +++ b/lib/redmine/utils.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Utils class << self diff --git a/lib/redmine/version.rb b/lib/redmine/version.rb index fb27b6917e87363ee7443f5e1d4e7fc9eddd5188..28cc71d505fdedd42f9d1b1a3ecc01198d9a312b 100644 --- a/lib/redmine/version.rb +++ b/lib/redmine/version.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'rexml/document' module Redmine diff --git a/lib/redmine/views/api_template_handler.rb b/lib/redmine/views/api_template_handler.rb index 0755e9f5ccc1f4926d8d475f73cb89fd3a5a90e7..8e3da64ffbb492a81fb4669e08414de50f157b96 100644 --- a/lib/redmine/views/api_template_handler.rb +++ b/lib/redmine/views/api_template_handler.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Views class ApiTemplateHandler < ActionView::TemplateHandler diff --git a/lib/redmine/views/builders.rb b/lib/redmine/views/builders.rb index 1081a4cb9654db98a94c0434796c8cb34b666954..65b59b3ee8a683f51f6444cc9d086e8af5e934f3 100644 --- a/lib/redmine/views/builders.rb +++ b/lib/redmine/views/builders.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Views module Builders diff --git a/lib/redmine/views/builders/json.rb b/lib/redmine/views/builders/json.rb index b1e256f840d444bd63c73ef2e12f0144e483752a..03a7a063bb02a8e36af2be08d6114ee1164b6781 100644 --- a/lib/redmine/views/builders/json.rb +++ b/lib/redmine/views/builders/json.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'blankslate' module Redmine diff --git a/lib/redmine/views/builders/structure.rb b/lib/redmine/views/builders/structure.rb index d6029c8891c05d042c2dc7485a68399ad9a2da8b..2810f0557129d02ed25e3d6202c38a3231816d15 100644 --- a/lib/redmine/views/builders/structure.rb +++ b/lib/redmine/views/builders/structure.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'blankslate' module Redmine diff --git a/lib/redmine/views/builders/xml.rb b/lib/redmine/views/builders/xml.rb index 9209fa821425d4dea8796bf0463caef2a81aeefa..6be1e6a668b2b9ef562be9c06190a524a7943b36 100644 --- a/lib/redmine/views/builders/xml.rb +++ b/lib/redmine/views/builders/xml.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Views module Builders diff --git a/lib/redmine/views/my_page/block.rb b/lib/redmine/views/my_page/block.rb index 19cae92af16fc8ddcad284b72a939bccbda370e1..e42b08881dbfade0f8e0fd38d5f59881ea0fa684 100644 --- a/lib/redmine/views/my_page/block.rb +++ b/lib/redmine/views/my_page/block.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Views module MyPage diff --git a/lib/redmine/views/other_formats_builder.rb b/lib/redmine/views/other_formats_builder.rb index efa306c5c4327cd9f3ba0ced1a31360bf06ca76d..21421c53058453fa33caeda49815245067f0b87e 100644 --- a/lib/redmine/views/other_formats_builder.rb +++ b/lib/redmine/views/other_formats_builder.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module Views class OtherFormatsBuilder diff --git a/lib/redmine/wiki_formatting.rb b/lib/redmine/wiki_formatting.rb index 2b10845dbc8a8362826c2545d4cfa324fdd04341..e6b4c20638512c3963829cb50adea781bf305d9f 100644 --- a/lib/redmine/wiki_formatting.rb +++ b/lib/redmine/wiki_formatting.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module WikiFormatting @@formatters = {} diff --git a/lib/redmine/wiki_formatting/macros.rb b/lib/redmine/wiki_formatting/macros.rb index b4f258319a4479ac4c43229b36dc529d813709c4..ba8573bc8fd05249f64837afb750954fe240c6de 100644 --- a/lib/redmine/wiki_formatting/macros.rb +++ b/lib/redmine/wiki_formatting/macros.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module WikiFormatting module Macros diff --git a/lib/redmine/wiki_formatting/textile/formatter.rb b/lib/redmine/wiki_formatting/textile/formatter.rb index 021909da5bb9dd23f5c899d42da64ff1057d6847..69aeab95843c7c983a6f51a636dc1ba008022a43 100644 --- a/lib/redmine/wiki_formatting/textile/formatter.rb +++ b/lib/redmine/wiki_formatting/textile/formatter.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'redcloth3' module Redmine diff --git a/lib/redmine/wiki_formatting/textile/helper.rb b/lib/redmine/wiki_formatting/textile/helper.rb index 0943f91a5a531320e8fd43e3cb812c559bd08303..f9c193824e3f0ff354bdcb14d02a895cd4a7f272 100644 --- a/lib/redmine/wiki_formatting/textile/helper.rb +++ b/lib/redmine/wiki_formatting/textile/helper.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module Redmine module WikiFormatting module Textile diff --git a/lib/tabular_form_builder.rb b/lib/tabular_form_builder.rb index e4caf7dfa4275ae99f94103a963bb27cf0b8820a..9c6fb15c8936f6ae577159e6be6cbf15bdd73ab7 100644 --- a/lib/tabular_form_builder.rb +++ b/lib/tabular_form_builder.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'action_view/helpers/form_helper' class TabularFormBuilder < ActionView::Helpers::FormBuilder diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 70c1ecabaf76ff29e1718bc5befffc6eaa2c3543..f554b68dd6d2e6d9e7fb75a4bbf5d118e5af5481 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + desc "Run the Continous Integration tests for Redmine" task :ci do # RAILS_ENV and ENV[] can diverge so force them both to test diff --git a/lib/tasks/ciphering.rake b/lib/tasks/ciphering.rake index 521f74018fec3bb37c5322ccf44e3e8eccdb779e..6cea550860e5c60db7bc92628f8dfce4a4cb9126 100644 --- a/lib/tasks/ciphering.rake +++ b/lib/tasks/ciphering.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + namespace :db do desc 'Encrypts SCM and LDAP passwords in the database.' diff --git a/lib/tasks/code.rake b/lib/tasks/code.rake index 6094daf562c7fc1fe69d93d4d175b5fd90277403..b4e2eb1de9599d7deacc42254f89f12adcb13e66 100644 --- a/lib/tasks/code.rake +++ b/lib/tasks/code.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + namespace :code do desc "Fix line endings of all source files" task :fix_line_endings do diff --git a/lib/tasks/deprecated.rake b/lib/tasks/deprecated.rake index dca43ddc7d5e323cc635e46fc3da9d2991aa6752..3b58406b7ff7a148afc71c304f467b399ad8bf03 100644 --- a/lib/tasks/deprecated.rake +++ b/lib/tasks/deprecated.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + def deprecated_task(name, new_name) task name=>new_name do $stderr.puts "\nNote: The rake task #{name} has been deprecated, please use the replacement version #{new_name}" diff --git a/lib/tasks/documentation.rake b/lib/tasks/documentation.rake index 9271023aee2fc701334d80a096b939f2943a7211..08554c6ec1beb4aeb5ab050857c1c162e9cac002 100644 --- a/lib/tasks/documentation.rake +++ b/lib/tasks/documentation.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + #clear the doc:app task et al Rake::Task["doc:app"].clear Rake::Task["doc/app"].clear diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake index 2f5980c69b941f6df638cebbf6411ceb24e03f70..080b36093d30cb6c20728a917a2ace0df24c8f5f 100644 --- a/lib/tasks/email.rake +++ b/lib/tasks/email.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + namespace :redmine do namespace :email do diff --git a/lib/tasks/extract_fixtures.rake b/lib/tasks/extract_fixtures.rake index d11fa7ef80e84587c207ae833ad276e028d0812c..19a1672a21300d0eb1191ba333791ca6581c30df 100644 --- a/lib/tasks/extract_fixtures.rake +++ b/lib/tasks/extract_fixtures.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + desc 'Create YAML test fixtures from data in an existing database. Defaults to development database. Set RAILS_ENV to override.' diff --git a/lib/tasks/fetch_changesets.rake b/lib/tasks/fetch_changesets.rake index ebaf014276b83468255019a13e7649cc2f70c5f7..18855c0d38cd34681cf963864e8ae53454692c69 100644 --- a/lib/tasks/fetch_changesets.rake +++ b/lib/tasks/fetch_changesets.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + desc 'Fetch changesets from the repositories' diff --git a/lib/tasks/initializers.rake b/lib/tasks/initializers.rake index 1b198dc4d39867158d2beac0f248fa272adc3a0a..5e2556b69d0767717d124a556256bfe2b74b3c16 100644 --- a/lib/tasks/initializers.rake +++ b/lib/tasks/initializers.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + desc 'Generates a configuration file for cookie store sessions.' file 'config/initializers/session_store.rb' do diff --git a/lib/tasks/jdbc.rake b/lib/tasks/jdbc.rake index 289b3d94c4522b4b2122be774d272be4d40f2967..bc1cdbfa10100b0d388cbdc9b47c8ab999522b2f 100644 --- a/lib/tasks/jdbc.rake +++ b/lib/tasks/jdbc.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # This file was generated by the "jdbc" generator, which is provided # by the activerecord-jdbc-adapter gem. # diff --git a/lib/tasks/load_default_data.rake b/lib/tasks/load_default_data.rake index 7c10f4246f93d8d513b1427e4d7a1409ae97a1b3..c5b71f3c6a65a0866d106a7a2593e32d8fa312fa 100644 --- a/lib/tasks/load_default_data.rake +++ b/lib/tasks/load_default_data.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + desc 'Load Redmine default configuration data. Language is chosen interactively or by setting REDMINE_LANG environment variable.' namespace :redmine do diff --git a/lib/tasks/locales.rake b/lib/tasks/locales.rake index 7b8efd47057fc2c655c633ee6b9aaa1102dc6221..f6a35c2fa730d1f6a5cc1ddedbe7fe939d93849a 100644 --- a/lib/tasks/locales.rake +++ b/lib/tasks/locales.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + desc 'Updates and checks locales against en.yml' task :locales do %w(locales:update locales:check_interpolation).collect do |task| diff --git a/lib/tasks/metrics.rake b/lib/tasks/metrics.rake index 214cc996e950a4e3558f3922c1b66304f3aba657..cae7d0cdb4ab188fd44ce5e18d1558bab3675c06 100644 --- a/lib/tasks/metrics.rake +++ b/lib/tasks/metrics.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + begin require 'metric_fu' rescue LoadError diff --git a/lib/tasks/migrate_from_mantis.rake b/lib/tasks/migrate_from_mantis.rake index 5090fb1671571b9eb39ec90db8cdd1094eaf6446..f1188188dd4d765737beda31285743a5795234a8 100644 --- a/lib/tasks/migrate_from_mantis.rake +++ b/lib/tasks/migrate_from_mantis.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + desc 'Mantis migration script' diff --git a/lib/tasks/migrate_from_trac.rake b/lib/tasks/migrate_from_trac.rake index 3092037b0b2a01b1ab3fbda10b89bcfacbf4785e..63e035fe4a7eb4027319a8bda3919d34c1d36688 100644 --- a/lib/tasks/migrate_from_trac.rake +++ b/lib/tasks/migrate_from_trac.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'active_record' require 'iconv' diff --git a/lib/tasks/migrate_plugins.rake b/lib/tasks/migrate_plugins.rake index 0516d8306f93f09cd41d1a859826183240991a64..14577c7e88d0707eb2a3996c598dd4dc339e8b1c 100644 --- a/lib/tasks/migrate_plugins.rake +++ b/lib/tasks/migrate_plugins.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + namespace :db do desc 'Migrates installed plugins.' task :migrate_plugins => :environment do diff --git a/lib/tasks/permissions.rake b/lib/tasks/permissions.rake index 02ce1b2a8dd402e65160999c5a2f0f6826cdee04..a36bb229d2e5129f83f1735aef92d759bf96066f 100644 --- a/lib/tasks/permissions.rake +++ b/lib/tasks/permissions.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + namespace :redmine do desc "List all permissions and the actions registered with them" task :permissions => :environment do diff --git a/lib/tasks/plugins.rake b/lib/tasks/plugins.rake index 1368771641570cc59e22669d52e5f2122837771b..862a07cd0f9a9e239c8efda593d8c4ec60173875 100644 --- a/lib/tasks/plugins.rake +++ b/lib/tasks/plugins.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'source_annotation_extractor' # Modified version of the SourceAnnotationExtractor in railties diff --git a/lib/tasks/reminder.rake b/lib/tasks/reminder.rake index 256e2cc4b4ccb22d200263bec3dff176b1844172..46db106e4fcdff717c98cc2970dc2783768a8194 100644 --- a/lib/tasks/reminder.rake +++ b/lib/tasks/reminder.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + desc <<-END_DESC Send reminders about issues due in the next days. diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index fe6bf00747d2dbf9510a29a0f01484375a43330c..7a67441b8068a92a078f7d6e1bcc78a40cb7cead 100644 --- a/lib/tasks/testing.rake +++ b/lib/tasks/testing.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + ### From http://svn.geekdaily.org/public/rails/plugins/generally_useful/tasks/coverage_via_rcov.rake namespace :test do diff --git a/lib/tasks/watchers.rake b/lib/tasks/watchers.rake index caa9e05f656bc7838e3cbadce2953470c0d12ff9..7dc07f46a92852f84207fce78a55dd576faffe7b 100644 --- a/lib/tasks/watchers.rake +++ b/lib/tasks/watchers.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + desc 'Removes watchers from what they can no longer view.' namespace :redmine do diff --git a/lib/tasks/yardoc.rake b/lib/tasks/yardoc.rake index aa6c5eeb02dd3b67bb75f7a45ce9cf61678e2937..bcfd9a4f2e0c3310a5d49306c897c424b992a2de 100644 --- a/lib/tasks/yardoc.rake +++ b/lib/tasks/yardoc.rake @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + begin require 'yard' diff --git a/test/exemplars/attachment_exemplar.rb b/test/exemplars/attachment_exemplar.rb index 4baaf530fa8c48291afe655b00592fe48adde238..6101d5d71fa1e14fe9ad0e3f9f15edc3ace99f66 100644 --- a/test/exemplars/attachment_exemplar.rb +++ b/test/exemplars/attachment_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Attachment < ActiveRecord::Base generator_for :container, :method => :generate_project generator_for :file, :method => :generate_file diff --git a/test/exemplars/auth_source_exemplar.rb b/test/exemplars/auth_source_exemplar.rb index da277e2adfe77ef7babc1da37ef85090680af2ae..115183a84ef1a6407fa254b2701a72494b5c15eb 100644 --- a/test/exemplars/auth_source_exemplar.rb +++ b/test/exemplars/auth_source_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class AuthSource < ActiveRecord::Base generator_for :name, :method => :next_name diff --git a/test/exemplars/board_exemplar.rb b/test/exemplars/board_exemplar.rb index 264ea8107260010eebb4659cf81c6b02935f3e17..776ba8515d2e5ebdb8686ce3e6ffcf7ca2882a66 100644 --- a/test/exemplars/board_exemplar.rb +++ b/test/exemplars/board_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Board < ActiveRecord::Base generator_for :name, :method => :next_name generator_for :description, :method => :next_description diff --git a/test/exemplars/change_exemplar.rb b/test/exemplars/change_exemplar.rb index 97985fbf5dd94f4d8c7d5167975a55d18cd6b320..0272bcd02a9fa3d93e677db0c684a3da56994086 100644 --- a/test/exemplars/change_exemplar.rb +++ b/test/exemplars/change_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Change < ActiveRecord::Base generator_for :action => 'A' generator_for :path, :method => :next_path diff --git a/test/exemplars/changeset_exemplar.rb b/test/exemplars/changeset_exemplar.rb index a14997759aa5b46422203cb253eb332722969ff0..b2bceb16ca4dd19ef98f83793532df854c02623f 100644 --- a/test/exemplars/changeset_exemplar.rb +++ b/test/exemplars/changeset_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Changeset < ActiveRecord::Base generator_for :revision, :method => :next_revision generator_for :committed_on => Date.today diff --git a/test/exemplars/comment_exemplar.rb b/test/exemplars/comment_exemplar.rb index 036e82756122d8cbd60e363fa67cceb0c64ffcf3..f1d800773bc0b9525ec88d88032d28db46d07b6f 100644 --- a/test/exemplars/comment_exemplar.rb +++ b/test/exemplars/comment_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Comment < ActiveRecord::Base generator_for :commented, :method => :generate_news generator_for :author, :method => :generate_author diff --git a/test/exemplars/custom_field_exemplar.rb b/test/exemplars/custom_field_exemplar.rb index b9577bb9318939e9187ccf32bf903ee55e15a873..e9302feaaf61b98809c07b5fea1397506830fce5 100644 --- a/test/exemplars/custom_field_exemplar.rb +++ b/test/exemplars/custom_field_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CustomField < ActiveRecord::Base generator_for :name, :method => :next_name generator_for :field_format => 'string' diff --git a/test/exemplars/custom_value_exemplar.rb b/test/exemplars/custom_value_exemplar.rb index aeb5412e15e3a54c8bb3f3736bbbd8051d92b48b..93f26b04e7388eb9c84e9499ac8aab02c606d941 100644 --- a/test/exemplars/custom_value_exemplar.rb +++ b/test/exemplars/custom_value_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class CustomValue < ActiveRecord::Base generator_for :custom_field, :method => :generate_custom_field diff --git a/test/exemplars/document_category_exemplar.rb b/test/exemplars/document_category_exemplar.rb index 5ffe9a94ab2aa639ef94fb0b287a52e50a6f56db..b9872dbd97e7ab40d2a6d5585c9e7acf60e977c5 100644 --- a/test/exemplars/document_category_exemplar.rb +++ b/test/exemplars/document_category_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class DocumentCategory < Enumeration generator_for :name, :method => :next_name generator_for :type => 'DocumentCategory' diff --git a/test/exemplars/document_exemplar.rb b/test/exemplars/document_exemplar.rb index ae9a4a25a2e1c22364dd411f6d76c91fcde654da..7c9b357c8b312f217763bde9bcbb3a5e2a00b4fa 100644 --- a/test/exemplars/document_exemplar.rb +++ b/test/exemplars/document_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Document < ActiveRecord::Base generator_for :title, :method => :next_title diff --git a/test/exemplars/enabled_module_exemplar.rb b/test/exemplars/enabled_module_exemplar.rb index 85a38b509debbae24ec828fe87e3c0ea6420f6c1..60b65e35452e6b579338218369075366d3d5e851 100644 --- a/test/exemplars/enabled_module_exemplar.rb +++ b/test/exemplars/enabled_module_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class EnabledModule < ActiveRecord::Base generator_for :name, :method => :next_name diff --git a/test/exemplars/enumeration_exemplar.rb b/test/exemplars/enumeration_exemplar.rb index 6665a6d5df6182d5ca39561eacedb08a60a7c48e..a2862907a1f6737750e210d94f599bfc2ede8658 100644 --- a/test/exemplars/enumeration_exemplar.rb +++ b/test/exemplars/enumeration_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Enumeration < ActiveRecord::Base generator_for :name, :method => :next_name generator_for :type => 'TimeEntryActivity' diff --git a/test/exemplars/group_exemplar.rb b/test/exemplars/group_exemplar.rb index 5d2cd747b179a32ffea27c593e1d38dadfa85239..100c411789b760c5968abf96052a1312c84d5d58 100644 --- a/test/exemplars/group_exemplar.rb +++ b/test/exemplars/group_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Group < Principal generator_for :lastname, :method => :next_lastname diff --git a/test/exemplars/issue_category_exemplar.rb b/test/exemplars/issue_category_exemplar.rb index 318947c29aa12482d0ce2c97afd6ed897ffee38c..d0e4c11aecf265fb9fb500b826ec2b8923666893 100644 --- a/test/exemplars/issue_category_exemplar.rb +++ b/test/exemplars/issue_category_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueCategory < ActiveRecord::Base generator_for :name, :method => :next_name diff --git a/test/exemplars/issue_exemplar.rb b/test/exemplars/issue_exemplar.rb index 568f054ce03f371429dedcb6bd76d8f99140657b..f11be1666d972100974433de1abc651531d8b2cc 100644 --- a/test/exemplars/issue_exemplar.rb +++ b/test/exemplars/issue_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Issue < ActiveRecord::Base generator_for :subject, :method => :next_subject generator_for :author, :method => :next_author diff --git a/test/exemplars/issue_priority_exemplar.rb b/test/exemplars/issue_priority_exemplar.rb index 0819a8dc250cfe63b501561cb7cca2223ff7ab4e..5e98ba663530667b9a308b0077589a328e3e2def 100644 --- a/test/exemplars/issue_priority_exemplar.rb +++ b/test/exemplars/issue_priority_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssuePriority < Enumeration generator_for :name, :method => :next_name generator_for :type => 'IssuePriority' diff --git a/test/exemplars/issue_status_exemplar.rb b/test/exemplars/issue_status_exemplar.rb index 9d3ccdc1b377a08d6ebaec7f8408698b2588843f..791f4d6d962b5fb3eccdd8acffc7267a531de55e 100644 --- a/test/exemplars/issue_status_exemplar.rb +++ b/test/exemplars/issue_status_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class IssueStatus < ActiveRecord::Base generator_for :name, :method => :next_name diff --git a/test/exemplars/journal_exemplar.rb b/test/exemplars/journal_exemplar.rb index dbb66f20324560afcba2a09c1f11f79b1316f82e..935dd707baee0dff263b58a455f11408b5134403 100644 --- a/test/exemplars/journal_exemplar.rb +++ b/test/exemplars/journal_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Journal < ActiveRecord::Base generator_for :journalized, :method => :generate_issue generator_for :user, :method => :generate_user diff --git a/test/exemplars/member_exemplar.rb b/test/exemplars/member_exemplar.rb index ecb09bb91925c221c933b24f211bf8669d02e510..2a54294f77186cde35289daf29e6489d244d8573 100644 --- a/test/exemplars/member_exemplar.rb +++ b/test/exemplars/member_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Member < ActiveRecord::Base generator_for :roles, :method => :generate_roles generator_for :principal, :method => :generate_user diff --git a/test/exemplars/member_role_exemplar.rb b/test/exemplars/member_role_exemplar.rb index 0e1e6e70c6c1873c9be55627c3da51539b67983b..e9c7878cc692407a6ee7cf8e7e8eb3e69b2c7c00 100644 --- a/test/exemplars/member_role_exemplar.rb +++ b/test/exemplars/member_role_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class MemberRole < ActiveRecord::Base generator_for :member, :method => :generate_member generator_for :role, :method => :generate_role diff --git a/test/exemplars/message_exemplar.rb b/test/exemplars/message_exemplar.rb index 0a310fc9d3b8a59a6dc52f8a7e78ecd01c1b2084..341fabf61283535beada7d9d99ae95b331c9db4a 100644 --- a/test/exemplars/message_exemplar.rb +++ b/test/exemplars/message_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Message < ActiveRecord::Base generator_for :subject, :method => :next_subject generator_for :content, :method => :next_content diff --git a/test/exemplars/news_exemplar.rb b/test/exemplars/news_exemplar.rb index c7e22c5a7115e09980b459dbafc5be41bb58413c..4861abce497826477a2117f534a3b3f0f1e9bb83 100644 --- a/test/exemplars/news_exemplar.rb +++ b/test/exemplars/news_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class News < ActiveRecord::Base generator_for :title, :method => :next_title generator_for :description, :method => :next_description diff --git a/test/exemplars/project_exemplar.rb b/test/exemplars/project_exemplar.rb index a28c3331226a7dce6f00c0be402c58f93ed93cb4..6aefaf7a54ed350ffe0dfcf5cb445379bf345529 100644 --- a/test/exemplars/project_exemplar.rb +++ b/test/exemplars/project_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Project < ActiveRecord::Base generator_for :name, :method => :next_name generator_for :identifier, :method => :next_identifier_from_object_daddy diff --git a/test/exemplars/query_exemplar.rb b/test/exemplars/query_exemplar.rb index db32e938afa5f0f47a0b9121a0853e85b73d76e1..f61ec171f1acefc48a9606ac0c3bdf02b24203a7 100644 --- a/test/exemplars/query_exemplar.rb +++ b/test/exemplars/query_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Query < ActiveRecord::Base generator_for :name, :method => :next_name diff --git a/test/exemplars/repository_exemplar.rb b/test/exemplars/repository_exemplar.rb index 42d11fca9417f03e22b03748b4523aa1748766df..6899ac0664feef26c6a3352ec6612b82a23f6f38 100644 --- a/test/exemplars/repository_exemplar.rb +++ b/test/exemplars/repository_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Repository < ActiveRecord::Base generator_for :type => 'Subversion' generator_for :url, :method => :next_url diff --git a/test/exemplars/role_exemplar.rb b/test/exemplars/role_exemplar.rb index 9f17e13823bfa59528ad04754417058c120bd19c..a1e95932bd68a983a2068e793bddb00fc8e57c1b 100644 --- a/test/exemplars/role_exemplar.rb +++ b/test/exemplars/role_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Role < ActiveRecord::Base generator_for :name, :method => :next_name diff --git a/test/exemplars/subversion_repository_exemplar.rb b/test/exemplars/subversion_repository_exemplar.rb index 2d48cb2f333b699223ca040a349b58c219388efb..2d4063081e13597e3832034902a7128aa5fcea79 100644 --- a/test/exemplars/subversion_repository_exemplar.rb +++ b/test/exemplars/subversion_repository_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Repository::Subversion < Repository generator_for :type, :method => 'Subversion' generator_for :url, :method => :next_url diff --git a/test/exemplars/time_entry_activity.rb b/test/exemplars/time_entry_activity.rb index 8473c2f8135e673b186a4816335c91ceaa953fa0..97a77f93d8d9f7bd9f79b03376f694eeb67c61c5 100644 --- a/test/exemplars/time_entry_activity.rb +++ b/test/exemplars/time_entry_activity.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class TimeEntryActivity < Enumeration generator_for :name, :method => :next_name generator_for :type => 'TimeEntryActivity' diff --git a/test/exemplars/time_entry_exemplar.rb b/test/exemplars/time_entry_exemplar.rb index b15b9562ded07e95f895d6cc4314dbc17cff8668..2bec3cc93439fc8651501430ecc1140ea67e064c 100644 --- a/test/exemplars/time_entry_exemplar.rb +++ b/test/exemplars/time_entry_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class TimeEntry < ActiveRecord::Base generator_for(:spent_on) { Date.today } generator_for(:hours) { (rand * 10).round(2) } # 0.01 to 9.99 diff --git a/test/exemplars/tracker_exemplar.rb b/test/exemplars/tracker_exemplar.rb index 94523f79b17d4d292385cc10f3a156fd9344b326..31c52c4192cbaa5446aa078eda6ab9551022dd8c 100644 --- a/test/exemplars/tracker_exemplar.rb +++ b/test/exemplars/tracker_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Tracker < ActiveRecord::Base generator_for :name, :method => :next_name diff --git a/test/exemplars/user_exemplar.rb b/test/exemplars/user_exemplar.rb index def8dc423d517ebd668ac94d56b97dbbc9f49d6c..af4867d96c87f42a24fc2acc154d515eb18e25a0 100644 --- a/test/exemplars/user_exemplar.rb +++ b/test/exemplars/user_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class User < Principal generator_for :login, :method => :next_login generator_for :mail, :method => :next_email diff --git a/test/exemplars/version_exemplar.rb b/test/exemplars/version_exemplar.rb index 33e7c3a75412b0b481c7e89834edbe8a4761dae1..6d4bc89b3081e389cd94c9391337be47f69df4a8 100644 --- a/test/exemplars/version_exemplar.rb +++ b/test/exemplars/version_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Version < ActiveRecord::Base generator_for :name, :method => :next_name generator_for :status => 'open' diff --git a/test/exemplars/watcher_exemplar.rb b/test/exemplars/watcher_exemplar.rb index 4d6c26651611e9aff443bbb7ef8e4599be38df53..1b30c3f08cc3237a2482b435555ce7da25b7b397 100644 --- a/test/exemplars/watcher_exemplar.rb +++ b/test/exemplars/watcher_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Watcher < ActiveRecord::Base generator_for :user, :method => :generate_user diff --git a/test/exemplars/wiki_content_exemplar.rb b/test/exemplars/wiki_content_exemplar.rb index 79465b0eaf42265efca5c63e1d9e6d647162dcbe..d13a162571789616b92192e1f9ffa1fce1f2773c 100644 --- a/test/exemplars/wiki_content_exemplar.rb +++ b/test/exemplars/wiki_content_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class WikiContent < ActiveRecord::Base generator_for :text => 'Some content' generator_for :page, :method => :generate_page diff --git a/test/exemplars/wiki_exemplar.rb b/test/exemplars/wiki_exemplar.rb index 65b93a233f3761b4eced52f4eef88600a7df4e5a..23d12085cd8cc2b28bd863f3e17f41296faff411 100644 --- a/test/exemplars/wiki_exemplar.rb +++ b/test/exemplars/wiki_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class Wiki < ActiveRecord::Base generator_for :start_page => 'Start' generator_for :project, :method => :generate_project diff --git a/test/exemplars/wiki_page_exemplar.rb b/test/exemplars/wiki_page_exemplar.rb index d70cc22785f192aae5db66ccfcda17e32ed2d497..f94f93bcb298001a201b219063d5b4004987e052 100644 --- a/test/exemplars/wiki_page_exemplar.rb +++ b/test/exemplars/wiki_page_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class WikiPage < ActiveRecord::Base generator_for :title, :method => :next_title generator_for :wiki, :method => :generate_wiki diff --git a/test/exemplars/wiki_redirect_exemplar.rb b/test/exemplars/wiki_redirect_exemplar.rb index 0b380acc55325bf42fc53114ac76cb668900e63c..ea5b31124aa51579c679fad91587b6dcfc97655e 100644 --- a/test/exemplars/wiki_redirect_exemplar.rb +++ b/test/exemplars/wiki_redirect_exemplar.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + class WikiRedirect < ActiveRecord::Base generator_for :title, :method => :next_title generator_for :redirects_to, :method => :next_redirects_to diff --git a/test/fixtures/files/060719210727_source.rb b/test/fixtures/files/060719210727_source.rb index dccb5916596a4857f6ec32f602dad546e427be3a..507ce25f8d89ca5d6b403e96b9d07803e47c854b 100644 --- a/test/fixtures/files/060719210727_source.rb +++ b/test/fixtures/files/060719210727_source.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # The Greeter class class Greeter def initialize(name) diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb index 2abc2fc3aa0b7945d699c0231ba9f886c1ff1ede..43320bc739e9a54de4872049efe935711ccf855b 100644 --- a/test/functional/account_controller_test.rb +++ b/test/functional/account_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'account_controller' diff --git a/test/functional/activities_controller_test.rb b/test/functional/activities_controller_test.rb index aab1d8c571df642d69234d3b6970581a3e861ee5..574ed68cdc94087a31fcb905910bc17c5e47e27e 100644 --- a/test/functional/activities_controller_test.rb +++ b/test/functional/activities_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class ActivitiesControllerTest < ActionController::TestCase diff --git a/test/functional/admin_controller_test.rb b/test/functional/admin_controller_test.rb index 06a41032f27799bf59dc7b1d0664a6b118dd4a2e..da5fdba835a5521d0c382b11575d205ee207721d 100644 --- a/test/functional/admin_controller_test.rb +++ b/test/functional/admin_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'admin_controller' diff --git a/test/functional/application_controller_test.rb b/test/functional/application_controller_test.rb index 5f94a96e649ff3dffd2d7b31416cbba6e266bb3c..17b64f9c27e46ef7fa9b4221d17874f00951d98c 100644 --- a/test/functional/application_controller_test.rb +++ b/test/functional/application_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'application_controller' diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb index 2a482464ce3180528ecff4dbb0fb5c88209b470f..e6f44b77bff04714646e43eb37422873045ce466 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -1,21 +1,16 @@ -# encoding: utf-8 -# -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +# -*- coding: utf-8 -*- +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'attachments_controller' diff --git a/test/functional/auth_sources_controller_test.rb b/test/functional/auth_sources_controller_test.rb index 5f65f419be32c2d596caa880b2c6a1fa2caf66e5..dfda4da6362a65c7ff37b20b746543a0c5cecee9 100644 --- a/test/functional/auth_sources_controller_test.rb +++ b/test/functional/auth_sources_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class AuthSourcesControllerTest < ActionController::TestCase diff --git a/test/functional/auto_completes_controller_test.rb b/test/functional/auto_completes_controller_test.rb index 0cea1112d1e1f961c20b9eef0c6c1bea525580f2..4f3fd8ac722c4b642e72cdb534cd38723650a574 100644 --- a/test/functional/auto_completes_controller_test.rb +++ b/test/functional/auto_completes_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class AutoCompletesControllerTest < ActionController::TestCase diff --git a/test/functional/boards_controller_test.rb b/test/functional/boards_controller_test.rb index 420cf0c160c8ad7633d3a4a86bba096d9e6fcb0c..165084560832231cd04a4194fecf26a9cf59159e 100644 --- a/test/functional/boards_controller_test.rb +++ b/test/functional/boards_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'boards_controller' diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb index a8c0e2af1a8c22e14d04077178a341c9e9dbe36b..31ffdb4cd63bee639a3f3982ad1b30565b56d656 100644 --- a/test/functional/calendars_controller_test.rb +++ b/test/functional/calendars_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class CalendarsControllerTest < ActionController::TestCase diff --git a/test/functional/comments_controller_test.rb b/test/functional/comments_controller_test.rb index ef4eb117850419b56256ba5c34c36e1c5d0a5a89..64f9b7bf0cc45fb01a19367595c8cbb514db8744 100644 --- a/test/functional/comments_controller_test.rb +++ b/test/functional/comments_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class CommentsControllerTest < ActionController::TestCase diff --git a/test/functional/context_menus_controller_test.rb b/test/functional/context_menus_controller_test.rb index 67e919a9c2d6605411c753a9d4a208f1f8c67267..5fb94f0ce902645feb799f8a84ffcb8bf2768c9e 100644 --- a/test/functional/context_menus_controller_test.rb +++ b/test/functional/context_menus_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class ContextMenusControllerTest < ActionController::TestCase diff --git a/test/functional/custom_fields_controller_test.rb b/test/functional/custom_fields_controller_test.rb index 5e665ec136f94e0eb4e973b71faf84fe0a61ae63..a490be3b2ea0204953cf2d4a9343ab6b844a1ea2 100644 --- a/test/functional/custom_fields_controller_test.rb +++ b/test/functional/custom_fields_controller_test.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'custom_fields_controller' diff --git a/test/functional/documents_controller_test.rb b/test/functional/documents_controller_test.rb index fc7af9effe3778632e0637caeb9a854779c285c3..486e66f3068e0a83fb56495330527b16eba284ab 100644 --- a/test/functional/documents_controller_test.rb +++ b/test/functional/documents_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'documents_controller' diff --git a/test/functional/enumerations_controller_test.rb b/test/functional/enumerations_controller_test.rb index dcec63e9976db608ef77ec818dc51329f504f5d0..bec49b34367cc0bd28a7e20a37732a4ada434625 100644 --- a/test/functional/enumerations_controller_test.rb +++ b/test/functional/enumerations_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'enumerations_controller' diff --git a/test/functional/files_controller_test.rb b/test/functional/files_controller_test.rb index 7e18056974091eb355b4d72143819c4b0bb164cd..84b2477758a69a95228a7a2d3ea87486a97d9c30 100644 --- a/test/functional/files_controller_test.rb +++ b/test/functional/files_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class FilesControllerTest < ActionController::TestCase diff --git a/test/functional/gantts_controller_test.rb b/test/functional/gantts_controller_test.rb index 25113b06379f2f7e32ff7dc90b1d1794a8eb6908..0742fa62f8f0ea1510d63d7d07d8ed129333c2bc 100644 --- a/test/functional/gantts_controller_test.rb +++ b/test/functional/gantts_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class GanttsControllerTest < ActionController::TestCase diff --git a/test/functional/groups_controller_test.rb b/test/functional/groups_controller_test.rb index f45dfc456d4739c6a03edff9666a0fe4b1f66117..2c8fc34c96b89a17589b4824d3eb2c61e239432a 100644 --- a/test/functional/groups_controller_test.rb +++ b/test/functional/groups_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'groups_controller' diff --git a/test/functional/help_controller_test.rb b/test/functional/help_controller_test.rb index f37c7ab693583b66f5e08d27eb5c5e37918023a4..99b99417daab5aa65ec6959573d0ede627910d00 100644 --- a/test/functional/help_controller_test.rb +++ b/test/functional/help_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'test_helper' class HelpControllerTest < ActionController::TestCase diff --git a/test/functional/issue_categories_controller_test.rb b/test/functional/issue_categories_controller_test.rb index 7418ca28d44d49b34a496ae438f69eb550ead98b..2eebd87dffdfefca7793bc85fa4819177cd528b3 100644 --- a/test/functional/issue_categories_controller_test.rb +++ b/test/functional/issue_categories_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'issue_categories_controller' diff --git a/test/functional/issue_moves_controller_test.rb b/test/functional/issue_moves_controller_test.rb index 5c3b8165bedff2c9c76c492c6a760830ca9396f2..1e289659c058d3f0508f70ec8edf6524eae7dfd1 100644 --- a/test/functional/issue_moves_controller_test.rb +++ b/test/functional/issue_moves_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class IssueMovesControllerTest < ActionController::TestCase diff --git a/test/functional/issue_relations_controller_test.rb b/test/functional/issue_relations_controller_test.rb index ff3bb8d0d8f13184e4b5fc02c9befdb50b8a2199..3bd7ba848efbe45b393c706fb89985b040c3c3a0 100644 --- a/test/functional/issue_relations_controller_test.rb +++ b/test/functional/issue_relations_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) require 'issue_relations_controller' diff --git a/test/functional/issue_statuses_controller_test.rb b/test/functional/issue_statuses_controller_test.rb index e2deed45ef4ebc9c9915f53f61a45813344b2032..636b107272f01dcef36601b7cd92fcf3d82e2943 100644 --- a/test/functional/issue_statuses_controller_test.rb +++ b/test/functional/issue_statuses_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) require 'issue_statuses_controller' diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 40d774208066f2c92f66c037780b240a01ba0bc3..2a3a769a80032908273473ea83856e877c5d1861 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'issues_controller' diff --git a/test/functional/issues_controller_transaction_test.rb b/test/functional/issues_controller_transaction_test.rb index 74bfcb41b4bc34046a86c97d686e74f3eb3853fe..a966de1f3e7a30d179d9f4459ee2b62c0340fcf0 100644 --- a/test/functional/issues_controller_transaction_test.rb +++ b/test/functional/issues_controller_transaction_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'issues_controller' diff --git a/test/functional/journals_controller_test.rb b/test/functional/journals_controller_test.rb index e40947a8a06427c1d82a56f8bf868d3ea7037014..07ded863b4a6768ed7afaba00f5fd83e18f28d22 100644 --- a/test/functional/journals_controller_test.rb +++ b/test/functional/journals_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'journals_controller' diff --git a/test/functional/ldap_auth_sources_controller.rb b/test/functional/ldap_auth_sources_controller.rb index f0ae17a9eadc8c44d7ff356bc0915f5a23f48c0b..d52dd2d68af9002e80f567a0908d6629886e0cf8 100644 --- a/test/functional/ldap_auth_sources_controller.rb +++ b/test/functional/ldap_auth_sources_controller.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'test_helper' class LdapAuthSourcesControllerTest < ActionController::TestCase diff --git a/test/functional/mail_handler_controller_test.rb b/test/functional/mail_handler_controller_test.rb index f8b1efea050a1dad71d14eed051ac2d35c74fcfb..68d4b982067889971d6ef83224e47c1a518e2a85 100644 --- a/test/functional/mail_handler_controller_test.rb +++ b/test/functional/mail_handler_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'mail_handler_controller' diff --git a/test/functional/members_controller_test.rb b/test/functional/members_controller_test.rb index 4138217f6f0ec3d4a70871411828cb1448886ea1..93ebe33ebb71fd08cf226bd65e76a1b60c5d4c91 100644 --- a/test/functional/members_controller_test.rb +++ b/test/functional/members_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'members_controller' diff --git a/test/functional/messages_controller_test.rb b/test/functional/messages_controller_test.rb index 8c4fc86285b4954f505a9803cf9388989a37bd45..fc6710f0b9ef6f9c493c92938740b7286b5e7429 100644 --- a/test/functional/messages_controller_test.rb +++ b/test/functional/messages_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'messages_controller' diff --git a/test/functional/my_controller_test.rb b/test/functional/my_controller_test.rb index 2e969760f0e5724b57902471d73ff4ff373abffc..4cb6dcda2a6c73bdfc2ff3e4e2ed01caac98fd9a 100644 --- a/test/functional/my_controller_test.rb +++ b/test/functional/my_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'my_controller' diff --git a/test/functional/news_controller_test.rb b/test/functional/news_controller_test.rb index 16ec2282764f5a20fbf26dceb395cf0849532397..8dc71758d74576bbcfa811c475ad3df77536ca77 100644 --- a/test/functional/news_controller_test.rb +++ b/test/functional/news_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'news_controller' diff --git a/test/functional/previews_controller_test.rb b/test/functional/previews_controller_test.rb index c5261d549206f0c9178ff0a03caf1aadd9d3a2c0..09362243248e2ccc046de38e057ff6f05bbe3a70 100644 --- a/test/functional/previews_controller_test.rb +++ b/test/functional/previews_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class PreviewsControllerTest < ActionController::TestCase diff --git a/test/functional/project_enumerations_controller_test.rb b/test/functional/project_enumerations_controller_test.rb index 3a10a3baf15863c5728090da658066c971c734ca..a013f2cd267c7ec27c0b0969b813ef55d1ec0c41 100644 --- a/test/functional/project_enumerations_controller_test.rb +++ b/test/functional/project_enumerations_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class ProjectEnumerationsControllerTest < ActionController::TestCase diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index 414652555b892ef88487b00051fce38c27e396ed..ff81fba51ce396c17fdc1771d7aa8f01dfa56a26 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'projects_controller' diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb index ea3a7ada50f53d03c0100efbccb04dc65c02144d..24125b5ef3422b940bfa5e66989451178a4cb770 100644 --- a/test/functional/queries_controller_test.rb +++ b/test/functional/queries_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'queries_controller' diff --git a/test/functional/reports_controller_test.rb b/test/functional/reports_controller_test.rb index 183f5c5831d71ddbfe1a852ce918e3c5d4a763d1..19e333b7d4081b9494669c2e648d229f2c3ba7cf 100644 --- a/test/functional/reports_controller_test.rb +++ b/test/functional/reports_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'reports_controller' diff --git a/test/functional/repositories_bazaar_controller_test.rb b/test/functional/repositories_bazaar_controller_test.rb index d014c753a9626682f6b565a48ca41e0092975764..1a01ead71ea2cd84476dabfa1d23480183379565 100644 --- a/test/functional/repositories_bazaar_controller_test.rb +++ b/test/functional/repositories_bazaar_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'repositories_controller' diff --git a/test/functional/repositories_controller_test.rb b/test/functional/repositories_controller_test.rb index 984da66f4a9058a7f91abd7ffb6cc8b1a3be076e..fc7c57f7c2408b9e5fca96aaa1dfa08c12cc4b48 100644 --- a/test/functional/repositories_controller_test.rb +++ b/test/functional/repositories_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'repositories_controller' diff --git a/test/functional/repositories_cvs_controller_test.rb b/test/functional/repositories_cvs_controller_test.rb index 8da64eda6e76357a6f90da7df34d87d26de02654..191485519ddd8f7bd826c19d7c6b37fbd66bbef7 100644 --- a/test/functional/repositories_cvs_controller_test.rb +++ b/test/functional/repositories_cvs_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'repositories_controller' diff --git a/test/functional/repositories_darcs_controller_test.rb b/test/functional/repositories_darcs_controller_test.rb index 12a5053eb2190ceb41e8c91b88580a79e16e756b..70529ae64fa2c0377c98b0d850424b2167c854ca 100644 --- a/test/functional/repositories_darcs_controller_test.rb +++ b/test/functional/repositories_darcs_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'repositories_controller' diff --git a/test/functional/repositories_filesystem_controller_test.rb b/test/functional/repositories_filesystem_controller_test.rb index 5ce85653b7d1fab23da1c72533cadf98823f72c4..4c8f9c4f4db57173748fb8ff69f4d4c8c26b0b98 100644 --- a/test/functional/repositories_filesystem_controller_test.rb +++ b/test/functional/repositories_filesystem_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'repositories_controller' diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index 469d9b66b2ede5578ba5fb348774276c7d59636d..c4916b5a8ae7c34a73499d2439eb4c4fbeccf743 100644 --- a/test/functional/repositories_git_controller_test.rb +++ b/test/functional/repositories_git_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'repositories_controller' diff --git a/test/functional/repositories_mercurial_controller_test.rb b/test/functional/repositories_mercurial_controller_test.rb index 0c638df12a1d2a70bdb3c2d173af3a643710a5b3..d57e2e4ea8d2c13b14618b0040e218088c251af4 100644 --- a/test/functional/repositories_mercurial_controller_test.rb +++ b/test/functional/repositories_mercurial_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'repositories_controller' diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb index 26d15cd55fc2276c1e16f77a47a7572f9297d295..e89e3d44e790ca6fb4fc388fb37d4000d07462ac 100644 --- a/test/functional/repositories_subversion_controller_test.rb +++ b/test/functional/repositories_subversion_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'repositories_controller' diff --git a/test/functional/roles_controller_test.rb b/test/functional/roles_controller_test.rb index 1e250cc9d0a6b46b9b531fa3fbe7bf5564e53b7b..d0c7136eff4824462e4eac1f56e29ee409856423 100644 --- a/test/functional/roles_controller_test.rb +++ b/test/functional/roles_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'roles_controller' diff --git a/test/functional/search_controller_test.rb b/test/functional/search_controller_test.rb index ffc8c585ac567a8fd32ad30c0570eb832def4c12..f1e83bcca4b6c44a6bc274f5683ef86c065078fa 100644 --- a/test/functional/search_controller_test.rb +++ b/test/functional/search_controller_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) require 'search_controller' diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb index 5e37ed538c879b1a7070a330effb677950476cd4..2aa5242300a514669ed7632c881038d06d894348 100644 --- a/test/functional/settings_controller_test.rb +++ b/test/functional/settings_controller_test.rb @@ -1,19 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'settings_controller' diff --git a/test/functional/sys_controller_test.rb b/test/functional/sys_controller_test.rb index 5eda732c0335f8f5cf13db89708cebcecd849f98..dd5b9c1f330d7c09733445385d83b31fb3112d3e 100644 --- a/test/functional/sys_controller_test.rb +++ b/test/functional/sys_controller_test.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'sys_controller' diff --git a/test/functional/time_entry_reports_controller_test.rb b/test/functional/time_entry_reports_controller_test.rb index b53eebd7eb389adf67ebbee73d1ac69427f39d9d..6f337b0cdcaa7de6b5fa0a179b5a73e87c9b31f5 100644 --- a/test/functional/time_entry_reports_controller_test.rb +++ b/test/functional/time_entry_reports_controller_test.rb @@ -1,4 +1,17 @@ # -*- coding: utf-8 -*- +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class TimeEntryReportsControllerTest < ActionController::TestCase diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb index 669014d8abf7b66923a662889433bb0ad24e9ba0..00a11c33be589f09efc4aa40446dc2957a1d2205 100644 --- a/test/functional/timelog_controller_test.rb +++ b/test/functional/timelog_controller_test.rb @@ -1,20 +1,16 @@ # -*- coding: utf-8 -*- -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'timelog_controller' diff --git a/test/functional/trackers_controller_test.rb b/test/functional/trackers_controller_test.rb index bbae0337022a2e04cd103e6b261529b18fa956f0..8aec6f2ee7a8734fa6172a598b55397860171e0f 100644 --- a/test/functional/trackers_controller_test.rb +++ b/test/functional/trackers_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'trackers_controller' diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index 107ce106e64ec948d7c8aa06b311bff5fe0c7d10..6e1c4a232f71431737093fdfd61a18e4af4f1a96 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'users_controller' diff --git a/test/functional/versions_controller_test.rb b/test/functional/versions_controller_test.rb index de0e3062cb536fbde7f84d3f67c8a3b1eb5f76e1..7df48f637cb78306902e44015a64e50ba3c9d2e8 100644 --- a/test/functional/versions_controller_test.rb +++ b/test/functional/versions_controller_test.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'versions_controller' diff --git a/test/functional/watchers_controller_test.rb b/test/functional/watchers_controller_test.rb index abc92b6488606542c79683056b33e5a0a524c379..5ce878c005d40db5a7ad387d4752b694d595a8b0 100644 --- a/test/functional/watchers_controller_test.rb +++ b/test/functional/watchers_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'watchers_controller' diff --git a/test/functional/welcome_controller_test.rb b/test/functional/welcome_controller_test.rb index 86542829b1ce7fe494c01d1abce9665dd192c957..6d59ccddfc1c9ce9bf60cf5cf2f090024db406ed 100644 --- a/test/functional/welcome_controller_test.rb +++ b/test/functional/welcome_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'welcome_controller' diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb index 2a5f9802517dc99da0c409230649071c0d052fef..a6a63fd30cb2489f8f39f70427be50d9be4d6671 100644 --- a/test/functional/wiki_controller_test.rb +++ b/test/functional/wiki_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'wiki_controller' diff --git a/test/functional/wikis_controller_test.rb b/test/functional/wikis_controller_test.rb index e3e0dfea12664343568e1ef9ab26f5ec895d002c..06198b3e3a5769478f2496213420a1e542b8e99f 100644 --- a/test/functional/wikis_controller_test.rb +++ b/test/functional/wikis_controller_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'wikis_controller' diff --git a/test/functional/workflows_controller_test.rb b/test/functional/workflows_controller_test.rb index c868e019e7718d90f2c1d1f7d7ad663fd054fb21..e7213c7ba28feca409dd9f73e5b43a0f0d462363 100644 --- a/test/functional/workflows_controller_test.rb +++ b/test/functional/workflows_controller_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'workflows_controller' diff --git a/test/helper_testcase.rb b/test/helper_testcase.rb index 1ce9d8661b66c6a16550ebfc0e608ce22e17a7a0..cba49b51e250e7c711400bac29dfd7a2530a9ab4 100644 --- a/test/helper_testcase.rb +++ b/test/helper_testcase.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Re-raise errors caught by the controller. class StubController < ApplicationController def rescue_action(e) raise e end; diff --git a/test/integration/account_test.rb b/test/integration/account_test.rb index 94405788a137abbf78490a844cd355586206d6a3..11b5bb3c69670bdf3b8d43cb259b97465fb59117 100644 --- a/test/integration/account_test.rb +++ b/test/integration/account_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) begin diff --git a/test/integration/admin_test.rb b/test/integration/admin_test.rb index b2664af023489a441fff233e3fe6b456650f82ad..eb89536e169d117a3c36c5bd3d18cc14f33527b3 100644 --- a/test/integration/admin_test.rb +++ b/test/integration/admin_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class AdminTest < ActionController::IntegrationTest diff --git a/test/integration/api_test/disabled_rest_api_test.rb b/test/integration/api_test/disabled_rest_api_test.rb index 13ad4a00d20215b8b401e5e4ebde1094fc3e606a..a75d5f4a47388f8605924456d0c49ae3574ab756 100644 --- a/test/integration/api_test/disabled_rest_api_test.rb +++ b/test/integration/api_test/disabled_rest_api_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../../test_helper', __FILE__) class ApiTest::DisabledRestApiTest < ActionController::IntegrationTest diff --git a/test/integration/api_test/http_basic_login_test.rb b/test/integration/api_test/http_basic_login_test.rb index a27331da4869cbc07f91527a13e2be6d1f92e089..4f591d7a1a66d0ad8795f19abb820ff0f5af84a4 100644 --- a/test/integration/api_test/http_basic_login_test.rb +++ b/test/integration/api_test/http_basic_login_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../../test_helper', __FILE__) class ApiTest::HttpBasicLoginTest < ActionController::IntegrationTest diff --git a/test/integration/api_test/http_basic_login_with_api_token_test.rb b/test/integration/api_test/http_basic_login_with_api_token_test.rb index e47f7365a945f79fb67fce3ca9421e9dc5074052..f78ff859d5ec0f4a3369538ded1d00b01a0880a2 100644 --- a/test/integration/api_test/http_basic_login_with_api_token_test.rb +++ b/test/integration/api_test/http_basic_login_with_api_token_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../../test_helper', __FILE__) class ApiTest::HttpBasicLoginWithApiTokenTest < ActionController::IntegrationTest diff --git a/test/integration/api_test/issues_test.rb b/test/integration/api_test/issues_test.rb index c1a9ee1a376bddb1d70e2359a499384108446342..393d63a0dad26561e44d6ef32180b365224de6f2 100644 --- a/test/integration/api_test/issues_test.rb +++ b/test/integration/api_test/issues_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class ApiTest::IssuesTest < ActionController::IntegrationTest diff --git a/test/integration/api_test/news_test.rb b/test/integration/api_test/news_test.rb index 646c06fbecffe821dd7fbb87773ee25c7fc41e22..29eae33bd98e60d9f0ff66e2480f112e3da51860 100644 --- a/test/integration/api_test/news_test.rb +++ b/test/integration/api_test/news_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) require 'pp' class ApiTest::NewsTest < ActionController::IntegrationTest diff --git a/test/integration/api_test/projects_test.rb b/test/integration/api_test/projects_test.rb index 9429b94846729131c262279d44e5f18c9bf0cf25..1afd410c5aa355272a6a054facd04d07fa82dc17 100644 --- a/test/integration/api_test/projects_test.rb +++ b/test/integration/api_test/projects_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class ApiTest::ProjectsTest < ActionController::IntegrationTest diff --git a/test/integration/api_test/time_entries_test.rb b/test/integration/api_test/time_entries_test.rb index 60a9dba6211d30f49e47d41db4f9d8e907986e5a..516b8dd365d9fe1efe481a8642b0add32dc2b689 100644 --- a/test/integration/api_test/time_entries_test.rb +++ b/test/integration/api_test/time_entries_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class ApiTest::TimeEntriesTest < ActionController::IntegrationTest diff --git a/test/integration/api_test/token_authentication_test.rb b/test/integration/api_test/token_authentication_test.rb index dbd8c8e361d6a2ded4502fc304022f9a95caa699..22f15fb16145bfdaea5b2cfb0ce7a0b8ac9438cc 100644 --- a/test/integration/api_test/token_authentication_test.rb +++ b/test/integration/api_test/token_authentication_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../../test_helper', __FILE__) class ApiTest::TokenAuthenticationTest < ActionController::IntegrationTest diff --git a/test/integration/api_test/users_test.rb b/test/integration/api_test/users_test.rb index c460b260fd84b8a726bb3a741463f6f17453c2f6..003977e844084b1127c1e0b12c79e6b549566dfd 100644 --- a/test/integration/api_test/users_test.rb +++ b/test/integration/api_test/users_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) require 'pp' class ApiTest::UsersTest < ActionController::IntegrationTest diff --git a/test/integration/application_test.rb b/test/integration/application_test.rb index f6bb2f24e7bd3914fca4c35c4eae970e0b456dae..5b226f5606d62358859adf404f750f11a9303148 100644 --- a/test/integration/application_test.rb +++ b/test/integration/application_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class ApplicationTest < ActionController::IntegrationTest diff --git a/test/integration/issues_test.rb b/test/integration/issues_test.rb index 56f84716f12d1a71752225ac303a8de182701eb4..e7cb6b183431943581b83c3e21151587f58eb2bd 100644 --- a/test/integration/issues_test.rb +++ b/test/integration/issues_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class IssuesTest < ActionController::IntegrationTest diff --git a/test/integration/layout_test.rb b/test/integration/layout_test.rb index dc406871e383d59acdcfc70af68edff84079a2f7..5be3034d5df22b1c079df81c9fd9d17a9cd05517 100644 --- a/test/integration/layout_test.rb +++ b/test/integration/layout_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class LayoutTest < ActionController::IntegrationTest diff --git a/test/integration/lib/redmine/menu_manager_test.rb b/test/integration/lib/redmine/menu_manager_test.rb index ae814caf581d0ed36b364319080170f496af5aa0..bd9a61ffaec6762fd01b88c1e71ce01686648083 100644 --- a/test/integration/lib/redmine/menu_manager_test.rb +++ b/test/integration/lib/redmine/menu_manager_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class MenuManagerTest < ActionController::IntegrationTest diff --git a/test/integration/lib/redmine/themes_test.rb b/test/integration/lib/redmine/themes_test.rb index ad63d97bbccada0224d607ebf9d5582b5d4db16c..204224d728c19722f061370c87b3ae5e5fbf97cf 100644 --- a/test/integration/lib/redmine/themes_test.rb +++ b/test/integration/lib/redmine/themes_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class ThemesTest < ActionController::IntegrationTest diff --git a/test/integration/projects_test.rb b/test/integration/projects_test.rb index 5c4602a5fb8cc090152570fcc0c20ad51409827a..e318dc7b7831367fdf98dcb1e01615de9eaa5786 100644 --- a/test/integration/projects_test.rb +++ b/test/integration/projects_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class ProjectsTest < ActionController::IntegrationTest diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 4b18e317afde7d9de910ec1ef5e04f3454d8ef38..596ac2dce1a27a7d26388effdf9150a39bc2ee4b 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class RoutingTest < ActionController::IntegrationTest diff --git a/test/mocks/open_id_authentication_mock.rb b/test/mocks/open_id_authentication_mock.rb index cca1e9edb29777f82f8cbc6dee9910ab1572bbb8..69f24d54cb16c6820ef7a4cc1ace1ad0d25f178e 100644 --- a/test/mocks/open_id_authentication_mock.rb +++ b/test/mocks/open_id_authentication_mock.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + # Mocks out OpenID # # http://www.northpub.com/articles/2007/04/02/testing-openid-support diff --git a/test/object_daddy_helpers.rb b/test/object_daddy_helpers.rb index c94ada2295ed8aabda420125d8a22aedca63cc27..7180c8bc94661e82055f8427bee8a2c730fdc91b 100644 --- a/test/object_daddy_helpers.rb +++ b/test/object_daddy_helpers.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + module ObjectDaddyHelpers # TODO: Remove these three once everyone has ported their code to use the # new object_daddy version with protected attribute support diff --git a/test/test_helper.rb b/test/test_helper.rb index 19342d152b9276f2ba2d2b5b47a9c2babd8bcf7c..187832ca70200b6d2f1f57e8c42c44adcec12d77 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") diff --git a/test/unit/activity_test.rb b/test/unit/activity_test.rb index 8faf758e6a72cd0d2c25b804fdd8038d001408ca..df48185e43903e3679df1bd2e766ca79967e311f 100644 --- a/test/unit/activity_test.rb +++ b/test/unit/activity_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class ActivityTest < ActiveSupport::TestCase diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb index ad88735089256f9288970b92d4566e576b7cbcf0..9160d2066cea7410d87ba62a1175e8460f5f0618 100644 --- a/test/unit/attachment_test.rb +++ b/test/unit/attachment_test.rb @@ -1,22 +1,16 @@ -# encoding: utf-8 -# -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +# -*- coding: utf-8 -*- +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class AttachmentTest < ActiveSupport::TestCase diff --git a/test/unit/auth_source_ldap_test.rb b/test/unit/auth_source_ldap_test.rb index 79fc0e8ace26e059e56ce87fda3e184b1c1479cc..769e6312362bb44bbf24eb34be014d9682c148b5 100644 --- a/test/unit/auth_source_ldap_test.rb +++ b/test/unit/auth_source_ldap_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class AuthSourceLdapTest < ActiveSupport::TestCase diff --git a/test/unit/board_test.rb b/test/unit/board_test.rb index 4ad0c2ba220d1eb787642dedb89b51d48fe34f67..998501983e834074dde2dcb2feeb84eab8b38c97 100644 --- a/test/unit/board_test.rb +++ b/test/unit/board_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../test_helper', __FILE__) class BoardTest < ActiveSupport::TestCase diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb index 80fb429a0ef240ad7e56b8a83fe3bafbc80cc30d..95abd8501402f09d40057dd688ef30040d9839c5 100644 --- a/test/unit/changeset_test.rb +++ b/test/unit/changeset_test.rb @@ -1,22 +1,16 @@ -# encoding: utf-8 -# -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +# -*- coding: utf-8 -*- +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class ChangesetTest < ActiveSupport::TestCase diff --git a/test/unit/comment_test.rb b/test/unit/comment_test.rb index cc24d97658cd0574b52bae96b3df5180df02f331..9532d6fd50dbd9668e266e355d8ed9a104520a81 100644 --- a/test/unit/comment_test.rb +++ b/test/unit/comment_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class CommentTest < ActiveSupport::TestCase diff --git a/test/unit/custom_field_test.rb b/test/unit/custom_field_test.rb index 4d80f5f3ad819c4166f8c930ad72f75bcb65338b..8369716bf0480be89abc192426baf291003f7500 100644 --- a/test/unit/custom_field_test.rb +++ b/test/unit/custom_field_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class CustomFieldTest < ActiveSupport::TestCase diff --git a/test/unit/custom_field_user_format_test.rb b/test/unit/custom_field_user_format_test.rb index 5cc4ea5c16e23da6db4e573273dfa1c736e74fa9..e18c3d048f00443a67bbc5c139fcc53792c2f0af 100644 --- a/test/unit/custom_field_user_format_test.rb +++ b/test/unit/custom_field_user_format_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class CustomFieldUserFormatTest < ActiveSupport::TestCase diff --git a/test/unit/custom_value_test.rb b/test/unit/custom_value_test.rb index 49ae28cec79664860d5cec0efd2bf0dd72eebad2..96fd4ead68700f00d469fe73357df0d3cab13c7e 100644 --- a/test/unit/custom_value_test.rb +++ b/test/unit/custom_value_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class CustomValueTest < ActiveSupport::TestCase diff --git a/test/unit/default_data_test.rb b/test/unit/default_data_test.rb index bd10ebf97329f007fc65d05c92b402e1818a861c..d0c46bebae0f9a1865e74d724772409a196344a6 100644 --- a/test/unit/default_data_test.rb +++ b/test/unit/default_data_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class DefaultDataTest < ActiveSupport::TestCase diff --git a/test/unit/document_category_test.rb b/test/unit/document_category_test.rb index 537c64273a44dc645c0bc827fe0e04a2ec2b79b9..4638721f339060b5fa2a899369a55fc19585da30 100644 --- a/test/unit/document_category_test.rb +++ b/test/unit/document_category_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class DocumentCategoryTest < ActiveSupport::TestCase diff --git a/test/unit/document_test.rb b/test/unit/document_test.rb index 82e5ef8740daae183d6006868248a12f24c30545..cf9abd01c487da3db82b1f0155541d63cdc4c1ef 100644 --- a/test/unit/document_test.rb +++ b/test/unit/document_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class DocumentTest < ActiveSupport::TestCase diff --git a/test/unit/enabled_module_test.rb b/test/unit/enabled_module_test.rb index ccf6566d8ffaf6784ee6b4315527fd71260a2ba7..174fa2ca210c62efa837b4107a050bf39970dc28 100644 --- a/test/unit/enabled_module_test.rb +++ b/test/unit/enabled_module_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class EnabledModuleTest < ActiveSupport::TestCase diff --git a/test/unit/enumeration_test.rb b/test/unit/enumeration_test.rb index db7e2b04ddc8f9439166b21096abb45d5e34f5c6..692077704dbf87bc62dc1c0ff82f020ab8fee279 100644 --- a/test/unit/enumeration_test.rb +++ b/test/unit/enumeration_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class EnumerationTest < ActiveSupport::TestCase diff --git a/test/unit/group_test.rb b/test/unit/group_test.rb index a7670aab029b102fd0e443f7afe8703aeb35b4db..ddebf361ed6a8e63c4e02067bfd55beb38a87701 100644 --- a/test/unit/group_test.rb +++ b/test/unit/group_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class GroupTest < ActiveSupport::TestCase diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 5cb2c4cc12709bd1a27cb9fdc4acc0de3eebfc2e..2fb91a1e9457adfd3969d214e2b809569aa73423 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class ApplicationHelperTest < ActionView::TestCase diff --git a/test/unit/helpers/custom_fields_helper_test.rb b/test/unit/helpers/custom_fields_helper_test.rb index 587002962ec55c4cdbb25b8ddcbe127cac9e45f2..8777c14e27757cc69e35515b1974aded0a972f81 100644 --- a/test/unit/helpers/custom_fields_helper_test.rb +++ b/test/unit/helpers/custom_fields_helper_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class CustomFieldsHelperTest < HelperTestCase diff --git a/test/unit/helpers/issue_moves_helper_test.rb b/test/unit/helpers/issue_moves_helper_test.rb index b2ffb60421bb835db7825a1e3c780713a1bf8eec..befa418c2f33dc956d57a0d1897b3bb6a95d23a1 100644 --- a/test/unit/helpers/issue_moves_helper_test.rb +++ b/test/unit/helpers/issue_moves_helper_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require 'test_helper' class IssueMovesHelperTest < ActionView::TestCase diff --git a/test/unit/helpers/issues_helper_test.rb b/test/unit/helpers/issues_helper_test.rb index caf17431d570fc3b3e136e4e009622a423122d3f..5190e04f08c1f7f5638d100411b17d651e413f7f 100644 --- a/test/unit/helpers/issues_helper_test.rb +++ b/test/unit/helpers/issues_helper_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class IssuesHelperTest < HelperTestCase diff --git a/test/unit/helpers/projects_helper_test.rb b/test/unit/helpers/projects_helper_test.rb index e1d6bc1aae5d9c15bdd0c22dd71080c91687ed66..fb08b99989ac9f21ffb83fba28b95e3588469cb6 100644 --- a/test/unit/helpers/projects_helper_test.rb +++ b/test/unit/helpers/projects_helper_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class ProjectsHelperTest < HelperTestCase diff --git a/test/unit/helpers/repository_helper_test.rb b/test/unit/helpers/repository_helper_test.rb index ad8c4706a5ff28c15662f0df817589130789332e..ce5cd23948e493ed5d895382a51be81b528f6841 100644 --- a/test/unit/helpers/repository_helper_test.rb +++ b/test/unit/helpers/repository_helper_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class RepositoryHelperTest < HelperTestCase diff --git a/test/unit/helpers/search_helper_test.rb b/test/unit/helpers/search_helper_test.rb index fa7a685eab636015fef821c76db2993a481f1218..d2dd6ce1525613304c8c457b3dad3f097fce6bcc 100644 --- a/test/unit/helpers/search_helper_test.rb +++ b/test/unit/helpers/search_helper_test.rb @@ -1,22 +1,16 @@ -# encoding: utf-8 -# -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +# -*- coding: utf-8 -*- +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class SearchHelperTest < HelperTestCase diff --git a/test/unit/helpers/sort_helper_test.rb b/test/unit/helpers/sort_helper_test.rb index f9ff7f1cea188e4edcd11dc81743a335e8442fce..77c4f72ff51517ba339aae5bce52b2a7758ab5e1 100644 --- a/test/unit/helpers/sort_helper_test.rb +++ b/test/unit/helpers/sort_helper_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class SortHelperTest < HelperTestCase diff --git a/test/unit/helpers/timelog_helper_test.rb b/test/unit/helpers/timelog_helper_test.rb index 6f4a0823f0f845502e920bef6ffa0f3ccab4f205..05bf74388379de3a349390c96349c3f266e01570 100644 --- a/test/unit/helpers/timelog_helper_test.rb +++ b/test/unit/helpers/timelog_helper_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) class TimelogHelperTest < HelperTestCase diff --git a/test/unit/helpers/watchers_helpers_test.rb b/test/unit/helpers/watchers_helpers_test.rb index 2ba21cbfb95fee02789e096fb15438f1b0e39834..591b4743b657af89d423d5fe67b9b80840d12bed 100644 --- a/test/unit/helpers/watchers_helpers_test.rb +++ b/test/unit/helpers/watchers_helpers_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../../test_helper', __FILE__) class WatchersHelperTest < HelperTestCase diff --git a/test/unit/issue_category_test.rb b/test/unit/issue_category_test.rb index 947f15f0ddad6f308810d19298de4455a82349e4..8b78eca7ddca0de2d0f3658ed4d715872cd6cb67 100644 --- a/test/unit/issue_category_test.rb +++ b/test/unit/issue_category_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class IssueCategoryTest < ActiveSupport::TestCase diff --git a/test/unit/issue_nested_set_test.rb b/test/unit/issue_nested_set_test.rb index 99e3a90cdb6eff37c6be1f262f4992022bcdc2ad..713300cb1a6b12d2008d634b0b1234650b24506a 100644 --- a/test/unit/issue_nested_set_test.rb +++ b/test/unit/issue_nested_set_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class IssueNestedSetTest < ActiveSupport::TestCase diff --git a/test/unit/issue_priority_test.rb b/test/unit/issue_priority_test.rb index 7667a4ce6848fbeaeacc6245aeaf8dfb30fcd0e5..f6c99eebdd1bebb642a4414363e90cabb245c41a 100644 --- a/test/unit/issue_priority_test.rb +++ b/test/unit/issue_priority_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class IssuePriorityTest < ActiveSupport::TestCase diff --git a/test/unit/issue_relation_test.rb b/test/unit/issue_relation_test.rb index f0b8fd66604285769d7885890bb1a673f9111fe7..a12911167397f4a8e9f89c428c6f99e9c53253dd 100644 --- a/test/unit/issue_relation_test.rb +++ b/test/unit/issue_relation_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class IssueRelationTest < ActiveSupport::TestCase diff --git a/test/unit/issue_status_test.rb b/test/unit/issue_status_test.rb index bc6535edc20c1c907a869bf7550792edee69cfd0..d1adb86d919b2a8d5ba72d3232a9481d79b5b5b6 100644 --- a/test/unit/issue_status_test.rb +++ b/test/unit/issue_status_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class IssueStatusTest < ActiveSupport::TestCase diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 5f9d580b20073e76a23b7529da8b3c3a4ae3faf6..930f2c3ea02170439e0122e9a49d27ca555689f6 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class IssueTest < ActiveSupport::TestCase diff --git a/test/unit/journal_observer_test.rb b/test/unit/journal_observer_test.rb index 5324fe38bc1a944626304e310287b8edcf17ca16..79b4b25045a888beca5752cd3b38b320aa463022 100644 --- a/test/unit/journal_observer_test.rb +++ b/test/unit/journal_observer_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class JournalObserverTest < ActiveSupport::TestCase diff --git a/test/unit/journal_test.rb b/test/unit/journal_test.rb index da20ea4ce3978f679adcca43c1d2ffd9797e2fd0..ac141721ddf110c15fd2918e4b8098e39512db95 100644 --- a/test/unit/journal_test.rb +++ b/test/unit/journal_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class JournalTest < ActiveSupport::TestCase diff --git a/test/unit/lib/chili_project/database_test.rb b/test/unit/lib/chili_project/database_test.rb index 9908737ee207391f06729a046b6e57a43e537681..e2e3010dc16ca2352fce82e04f1aca5ce4d6dec5 100644 --- a/test/unit/lib/chili_project/database_test.rb +++ b/test/unit/lib/chili_project/database_test.rb @@ -1,20 +1,15 @@ +#-- copyright # ChiliProject is a project management system. -# Copyright (C) 2010-2011 The ChiliProject Team -# +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. -# -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class ChiliProject::DatabaseTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/access_control_test.rb b/test/unit/lib/redmine/access_control_test.rb index 51891c0f84b90c86ae5fa58b94ea0dce55574afe..020b182ae5767161a3c36aaec86e32bd2a5cb3d6 100644 --- a/test/unit/lib/redmine/access_control_test.rb +++ b/test/unit/lib/redmine/access_control_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::AccessControlTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/ciphering_test.rb b/test/unit/lib/redmine/ciphering_test.rb index 5af5f71148aa032fc41549a4cd74ac91e722b7aa..4c3237efed4207e15761889d0befbe1d223815af 100644 --- a/test/unit/lib/redmine/ciphering_test.rb +++ b/test/unit/lib/redmine/ciphering_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::CipheringTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/configuration_test.rb b/test/unit/lib/redmine/configuration_test.rb index d172c95f5872a5802ada091cb02549fdfb054ae2..e732f983a44e05adb47bc62500782d5141594a2c 100644 --- a/test/unit/lib/redmine/configuration_test.rb +++ b/test/unit/lib/redmine/configuration_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::ConfigurationTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/helpers/calendar_test.rb b/test/unit/lib/redmine/helpers/calendar_test.rb index 54de986abe88b5e226c3d2cb752ff48362161efa..c9b2af3f7e980d2468e8c06006a6da52238027d7 100644 --- a/test/unit/lib/redmine/helpers/calendar_test.rb +++ b/test/unit/lib/redmine/helpers/calendar_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../../test_helper', __FILE__) class CalendarTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/helpers/gantt_test.rb b/test/unit/lib/redmine/helpers/gantt_test.rb index a32b41d27a55fcb7cb549b629d5d83f143ab1702..5da61b33cd8fe398d19d213e685f8a4aa23f15c3 100644 --- a/test/unit/lib/redmine/helpers/gantt_test.rb +++ b/test/unit/lib/redmine/helpers/gantt_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../../test_helper', __FILE__) class Redmine::Helpers::GanttTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/hook_test.rb b/test/unit/lib/redmine/hook_test.rb index 82f507f23a2d1a542d41af55c7327636e431fd9f..0a54073f93efb6602b297c947559eb0aa1001b1f 100644 --- a/test/unit/lib/redmine/hook_test.rb +++ b/test/unit/lib/redmine/hook_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::Hook::ManagerTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/i18n_test.rb b/test/unit/lib/redmine/i18n_test.rb index 7ef5feb39165eadf19a3de20202f2ad517a4c193..d78835c376236fa8005a4bc5617a93f516625e51 100644 --- a/test/unit/lib/redmine/i18n_test.rb +++ b/test/unit/lib/redmine/i18n_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::I18nTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/menu_manager/mapper_test.rb b/test/unit/lib/redmine/menu_manager/mapper_test.rb index 0691b014f8a4ffcaa35ecfd2992569cb2acf0088..93d5d71f03a2ad50d26bc970c60d934e8765625b 100644 --- a/test/unit/lib/redmine/menu_manager/mapper_test.rb +++ b/test/unit/lib/redmine/menu_manager/mapper_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../../test_helper', __FILE__) class Redmine::MenuManager::MapperTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/menu_manager/menu_helper_test.rb b/test/unit/lib/redmine/menu_manager/menu_helper_test.rb index 6eda978e086f098cc1c82378bd412db0b6fd4520..5b386779bbf5700ea2f7434ab2b61b6f03d8850c 100644 --- a/test/unit/lib/redmine/menu_manager/menu_helper_test.rb +++ b/test/unit/lib/redmine/menu_manager/menu_helper_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../../test_helper', __FILE__) diff --git a/test/unit/lib/redmine/menu_manager/menu_item_test.rb b/test/unit/lib/redmine/menu_manager/menu_item_test.rb index 4458a3df87fac3310642ccfcb1531def036edc3c..c529bf95d4d9d8f1510524acaa823b0ba8de00e7 100644 --- a/test/unit/lib/redmine/menu_manager/menu_item_test.rb +++ b/test/unit/lib/redmine/menu_manager/menu_item_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../../test_helper', __FILE__) module RedmineMenuTestHelper diff --git a/test/unit/lib/redmine/menu_manager_test.rb b/test/unit/lib/redmine/menu_manager_test.rb index 9d732951a0907b3e3a089f8af5b06d9cff27ca2a..d4ab903afd727bb90fd06eb408b1de8d7063d2fc 100644 --- a/test/unit/lib/redmine/menu_manager_test.rb +++ b/test/unit/lib/redmine/menu_manager_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::MenuManagerTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/mime_type_test.rb b/test/unit/lib/redmine/mime_type_test.rb index fe81f65d479708e21d463c9c67b89a511eb448b6..9f07fc9cc7a51a91d738daef2b99702b8d6efab7 100644 --- a/test/unit/lib/redmine/mime_type_test.rb +++ b/test/unit/lib/redmine/mime_type_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::MimeTypeTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/notifiable_test.rb b/test/unit/lib/redmine/notifiable_test.rb index 7ca4492090e7b04c4d5237edf80d62691c44e002..ae35f54369aea41077c1d517d43db504abc571ef 100644 --- a/test/unit/lib/redmine/notifiable_test.rb +++ b/test/unit/lib/redmine/notifiable_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::NotifiableTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/plugin_test.rb b/test/unit/lib/redmine/plugin_test.rb index 07986e490fe2c84e7b9b0d7c16c2958e682fb530..6121e1e2bc3ced806813ae2ff1d35ce2680b4316 100644 --- a/test/unit/lib/redmine/plugin_test.rb +++ b/test/unit/lib/redmine/plugin_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::PluginTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/safe_attributes_test.rb b/test/unit/lib/redmine/safe_attributes_test.rb index 195b4446290e96ce14ba6ef7cf62788063b8b81b..49750343304c196d21a66fa36b6c82eaa055d6cc 100644 --- a/test/unit/lib/redmine/safe_attributes_test.rb +++ b/test/unit/lib/redmine/safe_attributes_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::SafeAttributesTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb index 7945e9bc2e288737c2f3ee004e9c5b179b09a481..a0e4352691320373b7695f701159160ddb3b5187 100644 --- a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../../../../../test_helper', __FILE__) begin require 'mocha' diff --git a/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb index 197d7df127cdce3ddf5a880934bbfcf3c4bdc019..c520d49e9c8f9bb61926c8474460a60c50f52039 100644 --- a/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../../../../../test_helper', __FILE__) begin require 'mocha' diff --git a/test/unit/lib/redmine/scm/adapters/darcs_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/darcs_adapter_test.rb index 993b42ca7b9602278e20fd36b9221777e65522b4..2063f27f0cdc957e46ddc5cfe94067245a4d050c 100644 --- a/test/unit/lib/redmine/scm/adapters/darcs_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/darcs_adapter_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../../../../../test_helper', __FILE__) begin require 'mocha' diff --git a/test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb index 74502cf5458ba9a3ee3d3ea11ac6520654707f54..5a9c6e1e35a28718e70dbd5d14f80e52aff50429 100644 --- a/test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../../../../../test_helper', __FILE__) diff --git a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb index a1e7f680c29e8990c35a0c97b82d286bb3cd9a13..db0953eba670fae799f4905e6e2fe9935582b5ab 100644 --- a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb @@ -1,4 +1,16 @@ -# encoding: utf-8 +# -*- coding: utf-8 -*- +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ # This file includes UTF-8 "Felix Schäfer". # We need to consider Ruby 1.9 compatibility. diff --git a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb index 2d6812ad386c0c313656a5669406439389eb1452..6a8725dadcad1e6a2d079a59bcc790c2e2be1f3f 100644 --- a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb @@ -1,3 +1,16 @@ +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# See doc/COPYRIGHT.rdoc for more details. +#++ + require File.expand_path('../../../../../../test_helper', __FILE__) begin require 'mocha' diff --git a/test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb index bc769562cf7b2c58275ee018ccdbce4d23cccfcb..b0e631cf3adc619f37f0fd652cbf161ffe3832b0 100644 --- a/test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../../../test_helper', __FILE__) diff --git a/test/unit/lib/redmine/themes_test.rb b/test/unit/lib/redmine/themes_test.rb index ab482277a4a9bcdd8477ef637dd9e2354c88ac97..2358c9427ca0f5f7099d25a156a2ea568316a608 100644 --- a/test/unit/lib/redmine/themes_test.rb +++ b/test/unit/lib/redmine/themes_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::ThemesTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/unified_diff_test.rb b/test/unit/lib/redmine/unified_diff_test.rb index 13653e3a9b4b5e978a4ec0095e312a9d1a9fda7a..859f013b7f7166cf1219b3f6ae0e7bbcfd37738d 100644 --- a/test/unit/lib/redmine/unified_diff_test.rb +++ b/test/unit/lib/redmine/unified_diff_test.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) diff --git a/test/unit/lib/redmine/views/builders/json_test.rb b/test/unit/lib/redmine/views/builders/json_test.rb index 1be392d6361830a08f472094872b87e85e376ad7..b3ab24757a768bd50616b85a80ed9ec7f8bc1b15 100644 --- a/test/unit/lib/redmine/views/builders/json_test.rb +++ b/test/unit/lib/redmine/views/builders/json_test.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../../../test_helper', __FILE__) diff --git a/test/unit/lib/redmine/views/builders/xml_test.rb b/test/unit/lib/redmine/views/builders/xml_test.rb index 6d69a6db30f11d23f879edd752bd5efca7ff0007..b216faca69f69cf10325f2828ab647c10175fb08 100644 --- a/test/unit/lib/redmine/views/builders/xml_test.rb +++ b/test/unit/lib/redmine/views/builders/xml_test.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../../../test_helper', __FILE__) diff --git a/test/unit/lib/redmine/wiki_formatting.rb b/test/unit/lib/redmine/wiki_formatting.rb index 76a8f16ee67784d506bceb5308d013bfb3ed6dee..0a20fe772e90b00ef5c10b255f715841f965eb89 100644 --- a/test/unit/lib/redmine/wiki_formatting.rb +++ b/test/unit/lib/redmine/wiki_formatting.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../test_helper', __FILE__) class Redmine::WikiFormattingTest < ActiveSupport::TestCase diff --git a/test/unit/lib/redmine/wiki_formatting/macros_test.rb b/test/unit/lib/redmine/wiki_formatting/macros_test.rb index 238e5a7ae446fff568fdc192bd6c57d4eedd487e..286a5d2961943378904a69f0bb402eadaa270201 100644 --- a/test/unit/lib/redmine/wiki_formatting/macros_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/macros_test.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../../test_helper', __FILE__) diff --git a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb index fa5f8adb4ae0635c30cda15530db1de09b7f0537..2446701e00801c11aa07f99d41f53d3ce7a4e729 100644 --- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb @@ -1,19 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../../../test_helper', __FILE__) diff --git a/test/unit/lib/redmine_test.rb b/test/unit/lib/redmine_test.rb index 073fd819c296925c31809f60271cac5d36a17980..6a5c28b729b65c7fd87836fb753639c9530489b6 100644 --- a/test/unit/lib/redmine_test.rb +++ b/test/unit/lib/redmine_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../../test_helper', __FILE__) module RedmineMenuTestHelper diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb index 837013ce4e9c234c575538f49f8d720a27311b2e..43a26107cd38b84e4486b8d206042078410b8132 100644 --- a/test/unit/mail_handler_test.rb +++ b/test/unit/mail_handler_test.rb @@ -1,22 +1,16 @@ -# encoding: utf-8 -# -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +# -*- coding: utf-8 -*- +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class MailHandlerTest < ActiveSupport::TestCase diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb index 7eb61ad89b6e54eed49fdb562792ab7d19734743..fd9741788b7437cf7a1576fa6e2b8afd85e4f7e4 100644 --- a/test/unit/mailer_test.rb +++ b/test/unit/mailer_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class MailerTest < ActiveSupport::TestCase diff --git a/test/unit/member_test.rb b/test/unit/member_test.rb index 45f157487290d75b592a138fcaf31c94973b4387..877ff558d2864d164f4e0cd8d5bc0a359c98bcd3 100644 --- a/test/unit/member_test.rb +++ b/test/unit/member_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class MemberTest < ActiveSupport::TestCase diff --git a/test/unit/message_test.rb b/test/unit/message_test.rb index 3bab21a3d8e627ac2a120c2b03f8dd03d3b81bbf..87bbf1214540e775abb7166a3523a89ed7064cda 100644 --- a/test/unit/message_test.rb +++ b/test/unit/message_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class MessageTest < ActiveSupport::TestCase diff --git a/test/unit/news_test.rb b/test/unit/news_test.rb index c9fef6b271c8c782ea9768d94137aec9c33d42be..82421bb0df9d87825ec8fee832c207912aab936b 100644 --- a/test/unit/news_test.rb +++ b/test/unit/news_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class NewsTest < ActiveSupport::TestCase diff --git a/test/unit/principal_test.rb b/test/unit/principal_test.rb index 8a7e3644ccdd5a7c592df5f91894ec62bfce33bb..e4217a01f529fd486640baef1f1888f22ddb4125 100644 --- a/test/unit/principal_test.rb +++ b/test/unit/principal_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class PrincipalTest < ActiveSupport::TestCase diff --git a/test/unit/project_nested_set_test.rb b/test/unit/project_nested_set_test.rb index 9e9666529947e9639c43bf3ebef19e2edc58591e..b9cb6d21dd4be3fca458508349623fecffb32f39 100644 --- a/test/unit/project_nested_set_test.rb +++ b/test/unit/project_nested_set_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2010 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class ProjectNestedSetTest < ActiveSupport::TestCase diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index e0c329737dba9939715948009a319ed39a7e4bc6..fde5e2e3be4dab32f67e92ed10af09e13fceaff3 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class ProjectTest < ActiveSupport::TestCase diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index a20c14e9a7bccc928f4e16c9d5389aee575f1f55..3d80b474e435a0bd0519fc86c9aa97f0801db08a 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class QueryTest < ActiveSupport::TestCase diff --git a/test/unit/repository_bazaar_test.rb b/test/unit/repository_bazaar_test.rb index 038db8f23526dff599650287621d9d0b9dd14280..ef44ec6661e3940abdb408115245ce80d55108a6 100644 --- a/test/unit/repository_bazaar_test.rb +++ b/test/unit/repository_bazaar_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class RepositoryBazaarTest < ActiveSupport::TestCase diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb index 2d5db034d8e025596845c6172b585b92bdd6dbe5..3a597d4a4f069503733085d4f06b301510360c16 100644 --- a/test/unit/repository_cvs_test.rb +++ b/test/unit/repository_cvs_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) require 'pp' class RepositoryCvsTest < ActiveSupport::TestCase diff --git a/test/unit/repository_darcs_test.rb b/test/unit/repository_darcs_test.rb index 2e16973c54926f89972c8fbb3c7fa46669b327d9..34640688e0db11af3a69d837d6928bc696e20a9c 100644 --- a/test/unit/repository_darcs_test.rb +++ b/test/unit/repository_darcs_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class RepositoryDarcsTest < ActiveSupport::TestCase diff --git a/test/unit/repository_filesystem_test.rb b/test/unit/repository_filesystem_test.rb index ce28a1eb7e43c958d8d3d7965f99c072ff2c3f02..92891212911edfa2c2cd19ac15e2081cc7094e85 100644 --- a/test/unit/repository_filesystem_test.rb +++ b/test/unit/repository_filesystem_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class RepositoryFilesystemTest < ActiveSupport::TestCase diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index d6bcc07138e7810e2d013dafdc6702e2f9a8ce38..b499876c73e3ae22898911f756fa764685727eef 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class RepositoryGitTest < ActiveSupport::TestCase diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb index 54b58946540eb92513f81ccee91d4cd821e2c3fa..926130e6e8c76bcf565ffc15246ecd21ed18c49e 100644 --- a/test/unit/repository_mercurial_test.rb +++ b/test/unit/repository_mercurial_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class RepositoryMercurialTest < ActiveSupport::TestCase diff --git a/test/unit/repository_subversion_test.rb b/test/unit/repository_subversion_test.rb index a7844c5aecfb27fa143e87a1e1f9b375e331386c..90a764cbeaf6030cea9b76a8decccdc6b1b8dead 100644 --- a/test/unit/repository_subversion_test.rb +++ b/test/unit/repository_subversion_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class RepositorySubversionTest < ActiveSupport::TestCase diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb index 02931caf0f5b3feb2b0ee5fa1db161e7a9cd5ff2..d7c834869954ce2819904ff801e37be9dcdbdae9 100644 --- a/test/unit/repository_test.rb +++ b/test/unit/repository_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class RepositoryTest < ActiveSupport::TestCase diff --git a/test/unit/role_test.rb b/test/unit/role_test.rb index 41ad7e8831112bddb437052c1bddf01f5b727f4f..31afd82399838cd6d3a8335b5c9e369836978751 100644 --- a/test/unit/role_test.rb +++ b/test/unit/role_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class RoleTest < ActiveSupport::TestCase diff --git a/test/unit/search_test.rb b/test/unit/search_test.rb index 81d4668650fa83d3d778e942350c2ea80b8cccb1..410143e86e02f2430b2fca1faccc1a1d21447964 100644 --- a/test/unit/search_test.rb +++ b/test/unit/search_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class SearchTest < ActiveSupport::TestCase diff --git a/test/unit/setting_test.rb b/test/unit/setting_test.rb index b63e7deab385905ae504bd7d2fa3fd5e2668d0f3..1f0afc10bbfc99c93e33de4dc6ec61821bf92bf3 100644 --- a/test/unit/setting_test.rb +++ b/test/unit/setting_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class SettingTest < ActiveSupport::TestCase diff --git a/test/unit/testing_test.rb b/test/unit/testing_test.rb index ed3b71a3ec82c76dd8d945a70951ca109d7b06e7..dd00ae25346b26bc96cd1a2714e4c38ed6e5ccd5 100644 --- a/test/unit/testing_test.rb +++ b/test/unit/testing_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) # Test case that checks that the testing infrastructure is setup correctly. diff --git a/test/unit/time_entry_activity_test.rb b/test/unit/time_entry_activity_test.rb index 4d343bcb9ee2db3f95e0b2d823758dc5a7a485a0..78e0b179e16171560b6ad77429b852eb75198ff8 100644 --- a/test/unit/time_entry_activity_test.rb +++ b/test/unit/time_entry_activity_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class TimeEntryActivityTest < ActiveSupport::TestCase diff --git a/test/unit/time_entry_test.rb b/test/unit/time_entry_test.rb index bd49494c62bdffe386e47e51bd9d43e247981861..dab9b5e4e2bcee9f2a37d7b484bf05de5ad84a04 100644 --- a/test/unit/time_entry_test.rb +++ b/test/unit/time_entry_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class TimeEntryTest < ActiveSupport::TestCase diff --git a/test/unit/token_test.rb b/test/unit/token_test.rb index 370c5d72570cc06ae3ccbb166c47e0bf6da4872c..6802634b5f1e0823772e76e4279705d73c824776 100644 --- a/test/unit/token_test.rb +++ b/test/unit/token_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class TokenTest < ActiveSupport::TestCase diff --git a/test/unit/tracker_test.rb b/test/unit/tracker_test.rb index a5da0cdfb315faf6843cba93f75a8e9e7207bf55..ee8c832dda8dd6235b3258d53a255cc2056e3ccb 100644 --- a/test/unit/tracker_test.rb +++ b/test/unit/tracker_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class TrackerTest < ActiveSupport::TestCase diff --git a/test/unit/user_preference_test.rb b/test/unit/user_preference_test.rb index 371eb025bdec8238b04c3fdeb813edf28ebead8b..bfd301bb3fa765504e9c63870f7ee1b84eb2d3a4 100644 --- a/test/unit/user_preference_test.rb +++ b/test/unit/user_preference_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class UserPreferenceTest < ActiveSupport::TestCase diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index f5a2908b4de07473df7aa6e133e3419911eb3013..233efbfce41da170ea9c670bde0ab5fbb528da68 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class UserTest < ActiveSupport::TestCase diff --git a/test/unit/version_test.rb b/test/unit/version_test.rb index 20541468f6a533c03051e92ff910d50e248485e9..88f47cb137feb5472b24fd8d9925d6094e15868c 100644 --- a/test/unit/version_test.rb +++ b/test/unit/version_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2008 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class VersionTest < ActiveSupport::TestCase diff --git a/test/unit/watcher_test.rb b/test/unit/watcher_test.rb index 86d96b2cb108fcbe474f779f02e81bda48da8602..835dc3b34d69f1e5967cb970ecd2546904420695 100644 --- a/test/unit/watcher_test.rb +++ b/test/unit/watcher_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2009 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class WatcherTest < ActiveSupport::TestCase diff --git a/test/unit/wiki_content_test.rb b/test/unit/wiki_content_test.rb index c379278bac564d95ba5549d2dc12e11662e148a3..e0f06fdf96858d6fe9eb4131d78f76b4c04c3994 100644 --- a/test/unit/wiki_content_test.rb +++ b/test/unit/wiki_content_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class WikiContentTest < ActiveSupport::TestCase diff --git a/test/unit/wiki_page_test.rb b/test/unit/wiki_page_test.rb index 927765d6c588b2d903fffd0545ed0cee0a2ab410..b84bf1ce8873e6c88b28ad16ae4b7fcb5f3f7294 100644 --- a/test/unit/wiki_page_test.rb +++ b/test/unit/wiki_page_test.rb @@ -1,20 +1,15 @@ -# Redmine - project management software -# Copyright (C) 2006-2011 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class WikiPageTest < ActiveSupport::TestCase diff --git a/test/unit/wiki_redirect_test.rb b/test/unit/wiki_redirect_test.rb index 387de9bbf939201f7988cefadb45ebc5ee3674e1..7aae7a3f5f376fcbde4db63fa021b7cb7f05b898 100644 --- a/test/unit/wiki_redirect_test.rb +++ b/test/unit/wiki_redirect_test.rb @@ -1,20 +1,15 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class WikiRedirectTest < ActiveSupport::TestCase diff --git a/test/unit/wiki_test.rb b/test/unit/wiki_test.rb index 61a0886b95407d40fbb44d233740446ba9249c34..d2420fd1684df49ef575b9b272cc18a4a5ca0dc5 100644 --- a/test/unit/wiki_test.rb +++ b/test/unit/wiki_test.rb @@ -1,22 +1,16 @@ -# encoding: utf-8 -# -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang -# +# -*- coding: utf-8 -*- +#-- copyright +# ChiliProject is a project management system. +# +# Copyright (C) 2010-2011 the ChiliProject Team +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - +# See doc/COPYRIGHT.rdoc for more details. +#++ require File.expand_path('../../test_helper', __FILE__) class WikiTest < ActiveSupport::TestCase