From 99507a0391e6919ce1b001736cf33582e2d64203 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Sun, 29 May 2011 13:11:52 -0700 Subject: [PATCH] [#197] Upgrade the copyright in the code files --- app/controllers/account_controller.rb | 13 +++++++++++ app/controllers/activities_controller.rb | 13 +++++++++++ app/controllers/admin_controller.rb | 13 +++++++++++ app/controllers/application_controller.rb | 13 +++++++++++ app/controllers/attachments_controller.rb | 13 +++++++++++ app/controllers/auth_sources_controller.rb | 13 +++++++++++ app/controllers/auto_completes_controller.rb | 13 +++++++++++ app/controllers/boards_controller.rb | 13 +++++++++++ app/controllers/calendars_controller.rb | 13 +++++++++++ app/controllers/comments_controller.rb | 13 +++++++++++ app/controllers/context_menus_controller.rb | 13 +++++++++++ app/controllers/custom_fields_controller.rb | 13 +++++++++++ app/controllers/documents_controller.rb | 13 +++++++++++ app/controllers/enumerations_controller.rb | 13 +++++++++++ app/controllers/files_controller.rb | 13 +++++++++++ app/controllers/gantts_controller.rb | 13 +++++++++++ app/controllers/groups_controller.rb | 13 +++++++++++ app/controllers/help_controller.rb | 13 +++++++++++ .../issue_categories_controller.rb | 13 +++++++++++ app/controllers/issue_moves_controller.rb | 13 +++++++++++ app/controllers/issue_relations_controller.rb | 13 +++++++++++ app/controllers/issue_statuses_controller.rb | 13 +++++++++++ app/controllers/issues_controller.rb | 13 +++++++++++ app/controllers/journals_controller.rb | 13 +++++++++++ .../ldap_auth_sources_controller.rb | 13 +++++++++++ app/controllers/mail_handler_controller.rb | 13 +++++++++++ app/controllers/members_controller.rb | 13 +++++++++++ app/controllers/messages_controller.rb | 13 +++++++++++ app/controllers/my_controller.rb | 13 +++++++++++ app/controllers/news_controller.rb | 13 +++++++++++ app/controllers/previews_controller.rb | 13 +++++++++++ .../project_enumerations_controller.rb | 13 +++++++++++ app/controllers/projects_controller.rb | 13 +++++++++++ app/controllers/queries_controller.rb | 13 +++++++++++ app/controllers/reports_controller.rb | 13 +++++++++++ app/controllers/repositories_controller.rb | 13 +++++++++++ app/controllers/roles_controller.rb | 13 +++++++++++ app/controllers/search_controller.rb | 13 +++++++++++ app/controllers/settings_controller.rb | 13 +++++++++++ app/controllers/sys_controller.rb | 13 +++++++++++ .../time_entry_reports_controller.rb | 13 +++++++++++ app/controllers/timelog_controller.rb | 13 +++++++++++ app/controllers/trackers_controller.rb | 13 +++++++++++ app/controllers/users_controller.rb | 13 +++++++++++ app/controllers/versions_controller.rb | 13 +++++++++++ app/controllers/watchers_controller.rb | 13 +++++++++++ app/controllers/welcome_controller.rb | 13 +++++++++++ app/controllers/wiki_controller.rb | 13 +++++++++++ app/controllers/wikis_controller.rb | 13 +++++++++++ app/controllers/workflows_controller.rb | 13 +++++++++++ app/helpers/account_helper.rb | 13 +++++++++++ app/helpers/admin_helper.rb | 13 +++++++++++ app/helpers/application_helper.rb | 13 +++++++++++ app/helpers/attachments_helper.rb | 13 +++++++++++ app/helpers/auth_sources_helper.rb | 13 +++++++++++ app/helpers/boards_helper.rb | 13 +++++++++++ app/helpers/calendars_helper.rb | 13 +++++++++++ app/helpers/custom_fields_helper.rb | 13 +++++++++++ app/helpers/documents_helper.rb | 13 +++++++++++ app/helpers/enumerations_helper.rb | 13 +++++++++++ app/helpers/gantt_helper.rb | 13 +++++++++++ app/helpers/groups_helper.rb | 13 +++++++++++ app/helpers/issue_categories_helper.rb | 13 +++++++++++ app/helpers/issue_moves_helper.rb | 13 +++++++++++ app/helpers/issue_relations_helper.rb | 13 +++++++++++ app/helpers/issue_statuses_helper.rb | 13 +++++++++++ app/helpers/issues_helper.rb | 13 +++++++++++ app/helpers/journals_helper.rb | 13 +++++++++++ app/helpers/mail_handler_helper.rb | 13 +++++++++++ app/helpers/members_helper.rb | 13 +++++++++++ app/helpers/messages_helper.rb | 13 +++++++++++ app/helpers/my_helper.rb | 13 +++++++++++ app/helpers/news_helper.rb | 13 +++++++++++ app/helpers/projects_helper.rb | 13 +++++++++++ app/helpers/queries_helper.rb | 13 +++++++++++ app/helpers/reports_helper.rb | 13 +++++++++++ app/helpers/repositories_helper.rb | 13 +++++++++++ app/helpers/roles_helper.rb | 13 +++++++++++ app/helpers/search_helper.rb | 13 +++++++++++ app/helpers/settings_helper.rb | 13 +++++++++++ app/helpers/sort_helper.rb | 13 +++++++++++ app/helpers/timelog_helper.rb | 13 +++++++++++ app/helpers/trackers_helper.rb | 13 +++++++++++ app/helpers/users_helper.rb | 13 +++++++++++ app/helpers/versions_helper.rb | 13 +++++++++++ app/helpers/watchers_helper.rb | 13 +++++++++++ app/helpers/welcome_helper.rb | 13 +++++++++++ app/helpers/wiki_helper.rb | 13 +++++++++++ app/helpers/workflows_helper.rb | 13 +++++++++++ app/models/attachment.rb | 13 +++++++++++ app/models/auth_source.rb | 13 +++++++++++ app/models/auth_source_ldap.rb | 13 +++++++++++ app/models/board.rb | 13 +++++++++++ app/models/change.rb | 13 +++++++++++ app/models/changeset.rb | 13 +++++++++++ app/models/comment.rb | 13 +++++++++++ app/models/comment_observer.rb | 13 +++++++++++ app/models/custom_field.rb | 13 +++++++++++ app/models/custom_value.rb | 13 +++++++++++ app/models/document.rb | 13 +++++++++++ app/models/document_category.rb | 13 +++++++++++ app/models/document_category_custom_field.rb | 13 +++++++++++ app/models/document_observer.rb | 13 +++++++++++ app/models/enabled_module.rb | 13 +++++++++++ app/models/enumeration.rb | 13 +++++++++++ app/models/group.rb | 13 +++++++++++ app/models/group_custom_field.rb | 13 +++++++++++ app/models/issue.rb | 13 +++++++++++ app/models/issue_category.rb | 13 +++++++++++ app/models/issue_custom_field.rb | 13 +++++++++++ app/models/issue_observer.rb | 13 +++++++++++ app/models/issue_priority.rb | 13 +++++++++++ app/models/issue_priority_custom_field.rb | 13 +++++++++++ app/models/issue_relation.rb | 13 +++++++++++ app/models/issue_status.rb | 13 +++++++++++ app/models/journal.rb | 13 +++++++++++ app/models/journal_observer.rb | 13 +++++++++++ app/models/mail_handler.rb | 13 +++++++++++ app/models/mailer.rb | 13 +++++++++++ app/models/member.rb | 13 +++++++++++ app/models/member_role.rb | 13 +++++++++++ app/models/message.rb | 13 +++++++++++ app/models/message_observer.rb | 13 +++++++++++ app/models/news.rb | 13 +++++++++++ app/models/news_observer.rb | 13 +++++++++++ app/models/principal.rb | 13 +++++++++++ app/models/project.rb | 13 +++++++++++ app/models/project_custom_field.rb | 13 +++++++++++ app/models/query.rb | 13 +++++++++++ app/models/repository.rb | 13 +++++++++++ app/models/repository/bazaar.rb | 13 +++++++++++ app/models/repository/cvs.rb | 13 +++++++++++ app/models/repository/darcs.rb | 13 +++++++++++ app/models/repository/filesystem.rb | 13 +++++++++++ app/models/repository/git.rb | 13 +++++++++++ app/models/repository/mercurial.rb | 13 +++++++++++ app/models/repository/subversion.rb | 13 +++++++++++ app/models/role.rb | 13 +++++++++++ app/models/setting.rb | 13 +++++++++++ app/models/time_entry.rb | 13 +++++++++++ app/models/time_entry_activity.rb | 13 +++++++++++ .../time_entry_activity_custom_field.rb | 13 +++++++++++ app/models/time_entry_custom_field.rb | 13 +++++++++++ app/models/token.rb | 13 +++++++++++ app/models/tracker.rb | 13 +++++++++++ app/models/user.rb | 13 +++++++++++ app/models/user_custom_field.rb | 13 +++++++++++ app/models/user_preference.rb | 13 +++++++++++ app/models/version.rb | 13 +++++++++++ app/models/version_custom_field.rb | 13 +++++++++++ app/models/watcher.rb | 13 +++++++++++ app/models/wiki.rb | 13 +++++++++++ app/models/wiki_content.rb | 13 +++++++++++ app/models/wiki_content_observer.rb | 13 +++++++++++ app/models/wiki_page.rb | 13 +++++++++++ app/models/wiki_redirect.rb | 13 +++++++++++ app/models/workflow.rb | 13 +++++++++++ config/boot.rb | 13 +++++++++++ config/environment.rb | 13 +++++++++++ config/environments/demo.rb | 13 +++++++++++ config/environments/development.rb | 13 +++++++++++ config/environments/production.rb | 13 +++++++++++ config/environments/test.rb | 13 +++++++++++ config/environments/test_pgsql.rb | 13 +++++++++++ config/environments/test_sqlite3.rb | 13 +++++++++++ config/initializers/10-patches.rb | 13 +++++++++++ config/initializers/20-mime_types.rb | 13 +++++++++++ config/initializers/30-redmine.rb | 13 +++++++++++ config/initializers/backtrace_silencers.rb | 13 +++++++++++ config/initializers/inflections.rb | 13 +++++++++++ config/initializers/new_rails_defaults.rb | 13 +++++++++++ config/preinitializer.rb | 13 +++++++++++ config/routes.rb | 13 +++++++++++ db/migrate/001_setup.rb | 13 +++++++++++ db/migrate/002_issue_move.rb | 13 +++++++++++ db/migrate/003_issue_add_note.rb | 13 +++++++++++ db/migrate/004_export_pdf.rb | 13 +++++++++++ db/migrate/005_issue_start_date.rb | 13 +++++++++++ db/migrate/006_calendar_and_activity.rb | 13 +++++++++++ db/migrate/007_create_journals.rb | 13 +++++++++++ db/migrate/008_create_user_preferences.rb | 13 +++++++++++ db/migrate/009_add_hide_mail_pref.rb | 13 +++++++++++ db/migrate/010_create_comments.rb | 13 +++++++++++ db/migrate/011_add_news_comments_count.rb | 13 +++++++++++ db/migrate/012_add_comments_permissions.rb | 13 +++++++++++ db/migrate/013_create_queries.rb | 13 +++++++++++ db/migrate/014_add_queries_permissions.rb | 13 +++++++++++ db/migrate/015_create_repositories.rb | 13 +++++++++++ .../016_add_repositories_permissions.rb | 13 +++++++++++ db/migrate/017_create_settings.rb | 13 +++++++++++ .../018_set_doc_and_files_notifications.rb | 13 +++++++++++ db/migrate/019_add_issue_status_position.rb | 13 +++++++++++ db/migrate/020_add_role_position.rb | 13 +++++++++++ db/migrate/021_add_tracker_position.rb | 13 +++++++++++ db/migrate/022_serialize_possibles_values.rb | 13 +++++++++++ db/migrate/023_add_tracker_is_in_roadmap.rb | 13 +++++++++++ db/migrate/024_add_roadmap_permission.rb | 13 +++++++++++ db/migrate/025_add_search_permission.rb | 13 +++++++++++ .../026_add_repository_login_and_password.rb | 13 +++++++++++ db/migrate/027_create_wikis.rb | 13 +++++++++++ db/migrate/028_create_wiki_pages.rb | 13 +++++++++++ db/migrate/029_create_wiki_contents.rb | 13 +++++++++++ .../030_add_projects_feeds_permissions.rb | 13 +++++++++++ db/migrate/031_add_repository_root_url.rb | 13 +++++++++++ db/migrate/032_create_time_entries.rb | 13 +++++++++++ db/migrate/033_add_timelog_permissions.rb | 13 +++++++++++ db/migrate/034_create_changesets.rb | 13 +++++++++++ db/migrate/035_create_changes.rb | 13 +++++++++++ db/migrate/036_add_changeset_commit_date.rb | 13 +++++++++++ db/migrate/037_add_project_identifier.rb | 13 +++++++++++ db/migrate/038_add_custom_field_is_filter.rb | 13 +++++++++++ db/migrate/039_create_watchers.rb | 13 +++++++++++ db/migrate/040_create_changesets_issues.rb | 13 +++++++++++ db/migrate/041_rename_comment_to_comments.rb | 13 +++++++++++ db/migrate/042_create_issue_relations.rb | 13 +++++++++++ db/migrate/043_add_relations_permissions.rb | 13 +++++++++++ db/migrate/044_set_language_length_to_five.rb | 13 +++++++++++ db/migrate/045_create_boards.rb | 13 +++++++++++ db/migrate/046_create_messages.rb | 13 +++++++++++ db/migrate/047_add_boards_permissions.rb | 13 +++++++++++ .../048_allow_null_version_effective_date.rb | 13 +++++++++++ .../049_add_wiki_destroy_page_permission.rb | 13 +++++++++++ .../050_add_wiki_attachments_permissions.rb | 13 +++++++++++ db/migrate/051_add_project_status.rb | 13 +++++++++++ db/migrate/052_add_changes_revision.rb | 13 +++++++++++ db/migrate/053_add_changes_branch.rb | 13 +++++++++++ db/migrate/054_add_changesets_scmid.rb | 13 +++++++++++ db/migrate/055_add_repositories_type.rb | 13 +++++++++++ ...056_add_repositories_changes_permission.rb | 13 +++++++++++ .../057_add_versions_wiki_page_title.rb | 13 +++++++++++ ...058_add_issue_categories_assigned_to_id.rb | 13 +++++++++++ db/migrate/059_add_roles_assignable.rb | 13 +++++++++++ .../060_change_changesets_committer_limit.rb | 13 +++++++++++ db/migrate/061_add_roles_builtin.rb | 13 +++++++++++ db/migrate/062_insert_builtin_roles.rb | 13 +++++++++++ db/migrate/063_add_roles_permissions.rb | 13 +++++++++++ db/migrate/064_drop_permissions.rb | 13 +++++++++++ db/migrate/065_add_settings_updated_on.rb | 13 +++++++++++ .../066_add_custom_value_customized_index.rb | 13 +++++++++++ db/migrate/067_create_wiki_redirects.rb | 13 +++++++++++ db/migrate/068_create_enabled_modules.rb | 13 +++++++++++ db/migrate/069_add_issues_estimated_hours.rb | 13 +++++++++++ ...0_change_attachments_content_type_limit.rb | 13 +++++++++++ db/migrate/071_add_queries_column_names.rb | 13 +++++++++++ db/migrate/072_add_enumerations_position.rb | 13 +++++++++++ db/migrate/073_add_enumerations_is_default.rb | 13 +++++++++++ db/migrate/074_add_auth_sources_tls.rb | 13 +++++++++++ .../075_add_members_mail_notification.rb | 13 +++++++++++ db/migrate/076_allow_null_position.rb | 13 +++++++++++ .../077_remove_issue_statuses_html_color.rb | 13 +++++++++++ db/migrate/078_add_custom_fields_position.rb | 13 +++++++++++ .../079_add_user_preferences_time_zone.rb | 13 +++++++++++ db/migrate/080_add_users_type.rb | 13 +++++++++++ db/migrate/081_create_projects_trackers.rb | 13 +++++++++++ db/migrate/082_add_messages_locked.rb | 13 +++++++++++ db/migrate/083_add_messages_sticky.rb | 13 +++++++++++ .../084_change_auth_sources_account_limit.rb | 13 +++++++++++ ...e_tracker_old_status_index_to_workflows.rb | 13 +++++++++++ .../086_add_custom_fields_searchable.rb | 13 +++++++++++ ...087_change_projects_description_to_text.rb | 13 +++++++++++ .../088_add_custom_fields_default_value.rb | 13 +++++++++++ db/migrate/089_add_attachments_description.rb | 13 +++++++++++ db/migrate/090_change_versions_name_limit.rb | 13 +++++++++++ ...91_change_changesets_revision_to_string.rb | 13 +++++++++++ ..._change_changes_from_revision_to_string.rb | 13 +++++++++++ db/migrate/093_add_wiki_pages_protected.rb | 13 +++++++++++ .../094_change_projects_homepage_limit.rb | 13 +++++++++++ db/migrate/095_add_wiki_pages_parent_id.rb | 13 +++++++++++ .../096_add_commit_access_permission.rb | 13 +++++++++++ .../097_add_view_wiki_edits_permission.rb | 13 +++++++++++ .../098_set_topic_authors_as_watchers.rb | 13 +++++++++++ ...elete_wiki_pages_attachments_permission.rb | 13 +++++++++++ db/migrate/100_add_changesets_user_id.rb | 13 +++++++++++ db/migrate/101_populate_changesets_user_id.rb | 13 +++++++++++ db/migrate/102_add_custom_fields_editable.rb | 13 +++++++++++ db/migrate/103_set_custom_fields_editable.rb | 13 +++++++++++ db/migrate/104_add_projects_lft_and_rgt.rb | 13 +++++++++++ db/migrate/105_build_projects_tree.rb | 13 +++++++++++ .../106_remove_projects_projects_count.rb | 13 +++++++++++ .../107_add_open_id_authentication_tables.rb | 13 +++++++++++ db/migrate/108_add_identity_url_to_users.rb | 13 +++++++++++ ...4190337_add_watchers_user_id_type_index.rb | 13 +++++++++++ ...0090312172426_add_queries_sort_criteria.rb | 13 +++++++++++ ...4159_add_projects_trackers_unique_index.rb | 13 +++++++++++ .../20090318181151_extend_settings_name.rb | 13 +++++++++++ ...20090323224724_add_type_to_enumerations.rb | 13 +++++++++++ ...090401221305_update_enumerations_to_sti.rb | 13 +++++++++++ ...231134_add_active_field_to_enumerations.rb | 13 +++++++++++ ...90403001910_add_project_to_enumerations.rb | 13 +++++++++++ ...406161854_add_parent_id_to_enumerations.rb | 13 +++++++++++ .../20090425161243_add_queries_group_by.rb | 13 +++++++++++ .../20090503121501_create_member_roles.rb | 13 +++++++++++ .../20090503121505_populate_member_roles.rb | 13 +++++++++++ .../20090503121510_drop_members_role_id.rb | 13 +++++++++++ ...20090614091200_fix_messages_sticky_null.rb | 13 +++++++++++ .../20090704172350_populate_users_type.rb | 13 +++++++++++ .../20090704172355_create_groups_users.rb | 13 +++++++++++ ...4172358_add_member_roles_inherited_from.rb | 13 +++++++++++ .../20091010093521_fix_users_custom_values.rb | 13 +++++++++++ ...212227_add_missing_indexes_to_workflows.rb | 13 +++++++++++ ...ssing_indexes_to_custom_fields_projects.rb | 13 +++++++++++ ...7212644_add_missing_indexes_to_messages.rb | 13 +++++++++++ ...938_add_missing_indexes_to_repositories.rb | 13 +++++++++++ ...7213027_add_missing_indexes_to_comments.rb | 13 +++++++++++ ...113_add_missing_indexes_to_enumerations.rb | 13 +++++++++++ ...13151_add_missing_indexes_to_wiki_pages.rb | 13 +++++++++++ ...7213228_add_missing_indexes_to_watchers.rb | 13 +++++++++++ ...257_add_missing_indexes_to_auth_sources.rb | 13 +++++++++++ ...213332_add_missing_indexes_to_documents.rb | 13 +++++++++++ ...017213444_add_missing_indexes_to_tokens.rb | 13 +++++++++++ ...13536_add_missing_indexes_to_changesets.rb | 13 +++++++++++ ...add_missing_indexes_to_issue_categories.rb | 13 +++++++++++ ...716_add_missing_indexes_to_member_roles.rb | 13 +++++++++++ ...017213757_add_missing_indexes_to_boards.rb | 13 +++++++++++ ...add_missing_indexes_to_user_preferences.rb | 13 +++++++++++ ...017213910_add_missing_indexes_to_issues.rb | 13 +++++++++++ ...17214015_add_missing_indexes_to_members.rb | 13 +++++++++++ ...07_add_missing_indexes_to_custom_fields.rb | 13 +++++++++++ ...17214136_add_missing_indexes_to_queries.rb | 13 +++++++++++ ...236_add_missing_indexes_to_time_entries.rb | 13 +++++++++++ ...91017214308_add_missing_indexes_to_news.rb | 13 +++++++++++ ...1017214336_add_missing_indexes_to_users.rb | 13 +++++++++++ ...4406_add_missing_indexes_to_attachments.rb | 13 +++++++++++ ...40_add_missing_indexes_to_wiki_contents.rb | 13 +++++++++++ ...19_add_missing_indexes_to_custom_values.rb | 13 +++++++++++ ...7214611_add_missing_indexes_to_journals.rb | 13 +++++++++++ ..._add_missing_indexes_to_issue_relations.rb | 13 +++++++++++ ...0_add_missing_indexes_to_wiki_redirects.rb | 13 +++++++++++ ...ssing_indexes_to_custom_fields_trackers.rb | 13 +++++++++++ .../20091025163651_add_activity_indexes.rb | 13 +++++++++++ .../20091108092559_add_versions_status.rb | 13 +++++++++++ ...091114105931_add_view_issues_permission.rb | 13 +++++++++++ ..._add_default_done_ratio_to_issue_status.rb | 13 +++++++++++ .../20091205124427_add_versions_sharing.rb | 13 +++++++++++ ...509_add_lft_and_rgt_indexes_to_projects.rb | 13 +++++++++++ ...091220183727_add_index_to_settings_name.rb | 13 +++++++++++ ...91220184736_add_indexes_to_issue_status.rb | 13 +++++++++++ .../20091225164732_remove_enumerations_opt.rb | 13 +++++++++++ ...7112908_change_wiki_contents_text_limit.rb | 13 +++++++++++ ...hange_users_mail_notification_to_string.rb | 13 +++++++++++ ...9193813_update_mail_notification_values.rb | 13 +++++++++++ ...221100219_add_index_on_changesets_scmid.rb | 13 +++++++++++ ...13132032_add_issues_nested_sets_columns.rb | 13 +++++++++++ ...13171051_add_index_on_issues_nested_set.rb | 13 +++++++++++ ...164950_change_changes_path_length_limit.rb | 13 +++++++++++ .../20100714111651_generalize_journals.rb | 13 +++++++++++ ...12053_merge_wiki_versions_with_journals.rb | 13 +++++++++++ ...dar_and_gantt_modules_where_appropriate.rb | 13 +++++++++++ ...01104182107_add_unique_index_on_members.rb | 13 +++++++++++ ...0101107130441_add_custom_fields_visible.rb | 13 +++++++++++ ...101114115114_change_projects_name_limit.rb | 13 +++++++++++ ...115359_change_projects_identifier_limit.rb | 13 +++++++++++ ...60626_add_workflows_assignee_and_author.rb | 13 +++++++++++ db/migrate/20110223180944_add_users_salt.rb | 13 +++++++++++ .../20110223180953_salt_user_passwords.rb | 13 +++++++++++ ...24000000_add_repositories_path_encoding.rb | 13 +++++++++++ ...0112_change_repositories_password_limit.rb | 13 +++++++++++ ...nge_auth_sources_account_password_limit.rb | 13 +++++++++++ ...0_change_journal_details_values_to_text.rb | 13 +++++++++++ ...228000000_add_repositories_log_encoding.rb | 13 +++++++++++ ...28000100_copy_repositories_log_encoding.rb | 13 +++++++++++ ...110314014400_add_start_date_to_versions.rb | 13 +++++++++++ .../20110401192910_add_index_to_users_type.rb | 13 +++++++++++ ...94936_remove_comments_from_wiki_content.rb | 13 +++++++++++ db/seeds.rb | 13 +++++++++++ extra/mail_handler/rdm-mailhandler.rb | 13 +++++++++++ .../app/controllers/example_controller.rb | 13 +++++++++++ extra/sample_plugin/app/models/meeting.rb | 13 +++++++++++ .../db/migrate/001_create_meetings.rb | 13 +++++++++++ extra/sample_plugin/init.rb | 13 +++++++++++ extra/svn/reposman.rb | 13 +++++++++++ lib/ar_condition.rb | 13 +++++++++++ lib/chili_project.rb | 13 +++++++++++ lib/chili_project/database.rb | 13 +++++++++++ .../chiliproject_plugin_generator.rb | 13 +++++++++++ ...hiliproject_plugin_controller_generator.rb | 13 +++++++++++ .../chiliproject_plugin_model_generator.rb | 13 +++++++++++ lib/redmine.rb | 13 +++++++++++ lib/redmine/about.rb | 13 +++++++++++ lib/redmine/access_control.rb | 13 +++++++++++ lib/redmine/access_keys.rb | 13 +++++++++++ lib/redmine/activity.rb | 13 +++++++++++ lib/redmine/activity/fetcher.rb | 13 +++++++++++ lib/redmine/ciphering.rb | 13 +++++++++++ lib/redmine/configuration.rb | 13 +++++++++++ lib/redmine/core_ext.rb | 13 +++++++++++ lib/redmine/core_ext/string.rb | 13 +++++++++++ lib/redmine/core_ext/string/conversions.rb | 13 +++++++++++ lib/redmine/core_ext/string/inflections.rb | 13 +++++++++++ lib/redmine/custom_field_format.rb | 13 +++++++++++ lib/redmine/default_data/loader.rb | 13 +++++++++++ lib/redmine/export/pdf.rb | 13 +++++++++++ lib/redmine/helpers/calendar.rb | 13 +++++++++++ lib/redmine/helpers/diff.rb | 13 +++++++++++ lib/redmine/helpers/gantt.rb | 13 +++++++++++ lib/redmine/hook.rb | 13 +++++++++++ lib/redmine/i18n.rb | 13 +++++++++++ lib/redmine/imap.rb | 13 +++++++++++ lib/redmine/info.rb | 13 +++++++++++ lib/redmine/menu_manager.rb | 13 +++++++++++ lib/redmine/menu_manager/mapper.rb | 13 +++++++++++ lib/redmine/menu_manager/menu_controller.rb | 13 +++++++++++ lib/redmine/menu_manager/menu_error.rb | 13 +++++++++++ lib/redmine/menu_manager/menu_helper.rb | 13 +++++++++++ lib/redmine/menu_manager/menu_item.rb | 13 +++++++++++ lib/redmine/menu_manager/tree_node.rb | 13 +++++++++++ lib/redmine/mime_type.rb | 13 +++++++++++ lib/redmine/notifiable.rb | 13 +++++++++++ lib/redmine/platform.rb | 13 +++++++++++ lib/redmine/plugin.rb | 13 +++++++++++ lib/redmine/pop3.rb | 13 +++++++++++ lib/redmine/safe_attributes.rb | 13 +++++++++++ lib/redmine/scm/adapters/abstract_adapter.rb | 13 +++++++++++ lib/redmine/scm/adapters/bazaar_adapter.rb | 13 +++++++++++ lib/redmine/scm/adapters/cvs_adapter.rb | 13 +++++++++++ lib/redmine/scm/adapters/darcs_adapter.rb | 13 +++++++++++ .../scm/adapters/filesystem_adapter.rb | 13 +++++++++++ lib/redmine/scm/adapters/git_adapter.rb | 13 +++++++++++ lib/redmine/scm/adapters/mercurial_adapter.rb | 13 +++++++++++ .../scm/adapters/subversion_adapter.rb | 13 +++++++++++ lib/redmine/scm/base.rb | 13 +++++++++++ lib/redmine/search.rb | 13 +++++++++++ lib/redmine/syntax_highlighting.rb | 13 +++++++++++ lib/redmine/themes.rb | 13 +++++++++++ lib/redmine/unified_diff.rb | 13 +++++++++++ lib/redmine/utils.rb | 13 +++++++++++ lib/redmine/version.rb | 13 +++++++++++ lib/redmine/views/api_template_handler.rb | 13 +++++++++++ lib/redmine/views/builders.rb | 13 +++++++++++ lib/redmine/views/builders/json.rb | 13 +++++++++++ lib/redmine/views/builders/structure.rb | 13 +++++++++++ lib/redmine/views/builders/xml.rb | 13 +++++++++++ lib/redmine/views/my_page/block.rb | 13 +++++++++++ lib/redmine/views/other_formats_builder.rb | 13 +++++++++++ lib/redmine/wiki_formatting.rb | 13 +++++++++++ lib/redmine/wiki_formatting/macros.rb | 13 +++++++++++ .../wiki_formatting/textile/formatter.rb | 13 +++++++++++ lib/redmine/wiki_formatting/textile/helper.rb | 13 +++++++++++ lib/tabular_form_builder.rb | 13 +++++++++++ lib/tasks/ci.rake | 13 +++++++++++ lib/tasks/ciphering.rake | 13 +++++++++++ lib/tasks/code.rake | 13 +++++++++++ lib/tasks/deprecated.rake | 13 +++++++++++ lib/tasks/documentation.rake | 13 +++++++++++ lib/tasks/email.rake | 13 +++++++++++ lib/tasks/extract_fixtures.rake | 13 +++++++++++ lib/tasks/fetch_changesets.rake | 13 +++++++++++ lib/tasks/initializers.rake | 13 +++++++++++ lib/tasks/jdbc.rake | 13 +++++++++++ lib/tasks/load_default_data.rake | 13 +++++++++++ lib/tasks/locales.rake | 13 +++++++++++ lib/tasks/metrics.rake | 13 +++++++++++ lib/tasks/migrate_from_mantis.rake | 13 +++++++++++ lib/tasks/migrate_from_trac.rake | 13 +++++++++++ lib/tasks/migrate_plugins.rake | 13 +++++++++++ lib/tasks/permissions.rake | 13 +++++++++++ lib/tasks/plugins.rake | 13 +++++++++++ lib/tasks/reminder.rake | 13 +++++++++++ lib/tasks/testing.rake | 13 +++++++++++ lib/tasks/watchers.rake | 13 +++++++++++ lib/tasks/yardoc.rake | 13 +++++++++++ test/exemplars/attachment_exemplar.rb | 13 +++++++++++ test/exemplars/auth_source_exemplar.rb | 13 +++++++++++ test/exemplars/board_exemplar.rb | 13 +++++++++++ test/exemplars/change_exemplar.rb | 13 +++++++++++ test/exemplars/changeset_exemplar.rb | 13 +++++++++++ test/exemplars/comment_exemplar.rb | 13 +++++++++++ test/exemplars/custom_field_exemplar.rb | 13 +++++++++++ test/exemplars/custom_value_exemplar.rb | 13 +++++++++++ test/exemplars/document_category_exemplar.rb | 13 +++++++++++ test/exemplars/document_exemplar.rb | 13 +++++++++++ test/exemplars/enabled_module_exemplar.rb | 13 +++++++++++ test/exemplars/enumeration_exemplar.rb | 13 +++++++++++ test/exemplars/group_exemplar.rb | 13 +++++++++++ test/exemplars/issue_category_exemplar.rb | 13 +++++++++++ test/exemplars/issue_exemplar.rb | 13 +++++++++++ test/exemplars/issue_priority_exemplar.rb | 13 +++++++++++ test/exemplars/issue_status_exemplar.rb | 13 +++++++++++ test/exemplars/journal_exemplar.rb | 13 +++++++++++ test/exemplars/member_exemplar.rb | 13 +++++++++++ test/exemplars/member_role_exemplar.rb | 13 +++++++++++ test/exemplars/message_exemplar.rb | 13 +++++++++++ test/exemplars/news_exemplar.rb | 13 +++++++++++ test/exemplars/project_exemplar.rb | 13 +++++++++++ test/exemplars/query_exemplar.rb | 13 +++++++++++ test/exemplars/repository_exemplar.rb | 13 +++++++++++ test/exemplars/role_exemplar.rb | 13 +++++++++++ .../subversion_repository_exemplar.rb | 13 +++++++++++ test/exemplars/time_entry_activity.rb | 13 +++++++++++ test/exemplars/time_entry_exemplar.rb | 13 +++++++++++ test/exemplars/tracker_exemplar.rb | 13 +++++++++++ test/exemplars/user_exemplar.rb | 13 +++++++++++ test/exemplars/version_exemplar.rb | 13 +++++++++++ test/exemplars/watcher_exemplar.rb | 13 +++++++++++ test/exemplars/wiki_content_exemplar.rb | 13 +++++++++++ test/exemplars/wiki_exemplar.rb | 13 +++++++++++ test/exemplars/wiki_page_exemplar.rb | 13 +++++++++++ test/exemplars/wiki_redirect_exemplar.rb | 13 +++++++++++ test/fixtures/files/060719210727_source.rb | 13 +++++++++++ test/functional/account_controller_test.rb | 19 ++++++---------- test/functional/activities_controller_test.rb | 13 +++++++++++ test/functional/admin_controller_test.rb | 19 ++++++---------- .../functional/application_controller_test.rb | 19 ++++++---------- .../functional/attachments_controller_test.rb | 21 +++++++----------- .../auth_sources_controller_test.rb | 13 +++++++++++ .../auto_completes_controller_test.rb | 13 +++++++++++ test/functional/boards_controller_test.rb | 19 ++++++---------- test/functional/calendars_controller_test.rb | 13 +++++++++++ test/functional/comments_controller_test.rb | 19 ++++++---------- .../context_menus_controller_test.rb | 13 +++++++++++ .../custom_fields_controller_test.rb | 18 ++++++--------- test/functional/documents_controller_test.rb | 19 ++++++---------- .../enumerations_controller_test.rb | 19 ++++++---------- test/functional/files_controller_test.rb | 13 +++++++++++ test/functional/gantts_controller_test.rb | 13 +++++++++++ test/functional/groups_controller_test.rb | 19 ++++++---------- test/functional/help_controller_test.rb | 13 +++++++++++ .../issue_categories_controller_test.rb | 19 ++++++---------- .../functional/issue_moves_controller_test.rb | 13 +++++++++++ .../issue_relations_controller_test.rb | 13 +++++++++++ .../issue_statuses_controller_test.rb | 13 +++++++++++ test/functional/issues_controller_test.rb | 19 ++++++---------- .../issues_controller_transaction_test.rb | 19 ++++++---------- test/functional/journals_controller_test.rb | 19 ++++++---------- .../ldap_auth_sources_controller.rb | 13 +++++++++++ .../mail_handler_controller_test.rb | 19 ++++++---------- test/functional/members_controller_test.rb | 19 ++++++---------- test/functional/messages_controller_test.rb | 19 ++++++---------- test/functional/my_controller_test.rb | 19 ++++++---------- test/functional/news_controller_test.rb | 19 ++++++---------- test/functional/previews_controller_test.rb | 19 ++++++---------- .../project_enumerations_controller_test.rb | 13 +++++++++++ test/functional/projects_controller_test.rb | 19 ++++++---------- test/functional/queries_controller_test.rb | 19 ++++++---------- test/functional/reports_controller_test.rb | 19 ++++++---------- .../repositories_bazaar_controller_test.rb | 19 ++++++---------- .../repositories_controller_test.rb | 19 ++++++---------- .../repositories_cvs_controller_test.rb | 19 ++++++---------- .../repositories_darcs_controller_test.rb | 19 ++++++---------- ...repositories_filesystem_controller_test.rb | 19 ++++++---------- .../repositories_git_controller_test.rb | 19 ++++++---------- .../repositories_mercurial_controller_test.rb | 19 ++++++---------- ...repositories_subversion_controller_test.rb | 19 ++++++---------- test/functional/roles_controller_test.rb | 19 ++++++---------- test/functional/search_controller_test.rb | 13 +++++++++++ test/functional/settings_controller_test.rb | 18 ++++++--------- test/functional/sys_controller_test.rb | 18 ++++++--------- .../time_entry_reports_controller_test.rb | 13 +++++++++++ test/functional/timelog_controller_test.rb | 18 ++++++--------- test/functional/trackers_controller_test.rb | 19 ++++++---------- test/functional/users_controller_test.rb | 18 ++++++--------- test/functional/versions_controller_test.rb | 18 ++++++--------- test/functional/watchers_controller_test.rb | 19 ++++++---------- test/functional/welcome_controller_test.rb | 19 ++++++---------- test/functional/wiki_controller_test.rb | 19 ++++++---------- test/functional/wikis_controller_test.rb | 19 ++++++---------- test/functional/workflows_controller_test.rb | 19 ++++++---------- test/helper_testcase.rb | 13 +++++++++++ test/integration/account_test.rb | 19 ++++++---------- test/integration/admin_test.rb | 19 ++++++---------- .../api_test/disabled_rest_api_test.rb | 13 +++++++++++ .../api_test/http_basic_login_test.rb | 13 +++++++++++ .../http_basic_login_with_api_token_test.rb | 13 +++++++++++ test/integration/api_test/issues_test.rb | 19 ++++++---------- test/integration/api_test/news_test.rb | 19 ++++++---------- test/integration/api_test/projects_test.rb | 19 ++++++---------- .../integration/api_test/time_entries_test.rb | 19 ++++++---------- .../api_test/token_authentication_test.rb | 13 +++++++++++ test/integration/api_test/users_test.rb | 19 ++++++---------- test/integration/application_test.rb | 19 ++++++---------- test/integration/issues_test.rb | 19 ++++++---------- test/integration/layout_test.rb | 13 +++++++++++ .../lib/redmine/menu_manager_test.rb | 19 ++++++---------- test/integration/lib/redmine/themes_test.rb | 19 ++++++---------- test/integration/projects_test.rb | 19 ++++++---------- test/integration/routing_test.rb | 19 ++++++---------- test/mocks/open_id_authentication_mock.rb | 13 +++++++++++ test/object_daddy_helpers.rb | 13 +++++++++++ test/test_helper.rb | 18 ++++++--------- test/unit/activity_test.rb | 19 ++++++---------- test/unit/attachment_test.rb | 22 +++++++------------ test/unit/auth_source_ldap_test.rb | 19 ++++++---------- test/unit/board_test.rb | 13 +++++++++++ test/unit/changeset_test.rb | 22 +++++++------------ test/unit/comment_test.rb | 19 ++++++---------- test/unit/custom_field_test.rb | 19 ++++++---------- test/unit/custom_field_user_format_test.rb | 19 ++++++---------- test/unit/custom_value_test.rb | 19 ++++++---------- test/unit/default_data_test.rb | 19 ++++++---------- test/unit/document_category_test.rb | 19 ++++++---------- test/unit/document_test.rb | 19 ++++++---------- test/unit/enabled_module_test.rb | 19 ++++++---------- test/unit/enumeration_test.rb | 19 ++++++---------- test/unit/group_test.rb | 19 ++++++---------- test/unit/helpers/application_helper_test.rb | 19 ++++++---------- .../unit/helpers/custom_fields_helper_test.rb | 19 ++++++---------- test/unit/helpers/issue_moves_helper_test.rb | 13 +++++++++++ test/unit/helpers/issues_helper_test.rb | 19 ++++++---------- test/unit/helpers/projects_helper_test.rb | 19 ++++++---------- test/unit/helpers/repository_helper_test.rb | 19 ++++++---------- test/unit/helpers/search_helper_test.rb | 22 +++++++------------ test/unit/helpers/sort_helper_test.rb | 19 ++++++---------- test/unit/helpers/timelog_helper_test.rb | 19 ++++++---------- test/unit/helpers/watchers_helpers_test.rb | 13 +++++++++++ test/unit/issue_category_test.rb | 19 ++++++---------- test/unit/issue_nested_set_test.rb | 19 ++++++---------- test/unit/issue_priority_test.rb | 19 ++++++---------- test/unit/issue_relation_test.rb | 19 ++++++---------- test/unit/issue_status_test.rb | 19 ++++++---------- test/unit/issue_test.rb | 19 ++++++---------- test/unit/journal_observer_test.rb | 19 ++++++---------- test/unit/journal_test.rb | 19 ++++++---------- test/unit/lib/chili_project/database_test.rb | 19 ++++++---------- test/unit/lib/redmine/access_control_test.rb | 19 ++++++---------- test/unit/lib/redmine/ciphering_test.rb | 19 ++++++---------- test/unit/lib/redmine/configuration_test.rb | 19 ++++++---------- .../unit/lib/redmine/helpers/calendar_test.rb | 19 ++++++---------- test/unit/lib/redmine/helpers/gantt_test.rb | 19 ++++++---------- test/unit/lib/redmine/hook_test.rb | 19 ++++++---------- test/unit/lib/redmine/i18n_test.rb | 19 ++++++---------- .../lib/redmine/menu_manager/mapper_test.rb | 19 ++++++---------- .../redmine/menu_manager/menu_helper_test.rb | 19 ++++++---------- .../redmine/menu_manager/menu_item_test.rb | 19 ++++++---------- test/unit/lib/redmine/menu_manager_test.rb | 19 ++++++---------- test/unit/lib/redmine/mime_type_test.rb | 19 ++++++---------- test/unit/lib/redmine/notifiable_test.rb | 19 ++++++---------- test/unit/lib/redmine/plugin_test.rb | 19 ++++++---------- test/unit/lib/redmine/safe_attributes_test.rb | 19 ++++++---------- .../scm/adapters/bazaar_adapter_test.rb | 13 +++++++++++ .../redmine/scm/adapters/cvs_adapter_test.rb | 13 +++++++++++ .../scm/adapters/darcs_adapter_test.rb | 13 +++++++++++ .../scm/adapters/filesystem_adapter_test.rb | 13 +++++++++++ .../redmine/scm/adapters/git_adapter_test.rb | 14 +++++++++++- .../scm/adapters/mercurial_adapter_test.rb | 13 +++++++++++ .../scm/adapters/subversion_adapter_test.rb | 18 ++++++--------- test/unit/lib/redmine/themes_test.rb | 19 ++++++---------- test/unit/lib/redmine/unified_diff_test.rb | 18 ++++++--------- .../lib/redmine/views/builders/json_test.rb | 18 ++++++--------- .../lib/redmine/views/builders/xml_test.rb | 18 ++++++--------- test/unit/lib/redmine/wiki_formatting.rb | 19 ++++++---------- .../redmine/wiki_formatting/macros_test.rb | 18 ++++++--------- .../wiki_formatting/textile_formatter_test.rb | 18 ++++++--------- test/unit/lib/redmine_test.rb | 19 ++++++---------- test/unit/mail_handler_test.rb | 22 +++++++------------ test/unit/mailer_test.rb | 19 ++++++---------- test/unit/member_test.rb | 19 ++++++---------- test/unit/message_test.rb | 19 ++++++---------- test/unit/news_test.rb | 19 ++++++---------- test/unit/principal_test.rb | 19 ++++++---------- test/unit/project_nested_set_test.rb | 19 ++++++---------- test/unit/project_test.rb | 19 ++++++---------- test/unit/query_test.rb | 19 ++++++---------- test/unit/repository_bazaar_test.rb | 19 ++++++---------- test/unit/repository_cvs_test.rb | 19 ++++++---------- test/unit/repository_darcs_test.rb | 19 ++++++---------- test/unit/repository_filesystem_test.rb | 19 ++++++---------- test/unit/repository_git_test.rb | 19 ++++++---------- test/unit/repository_mercurial_test.rb | 19 ++++++---------- test/unit/repository_subversion_test.rb | 19 ++++++---------- test/unit/repository_test.rb | 19 ++++++---------- test/unit/role_test.rb | 19 ++++++---------- test/unit/search_test.rb | 19 ++++++---------- test/unit/setting_test.rb | 19 ++++++---------- test/unit/testing_test.rb | 19 ++++++---------- test/unit/time_entry_activity_test.rb | 19 ++++++---------- test/unit/time_entry_test.rb | 19 ++++++---------- test/unit/token_test.rb | 19 ++++++---------- test/unit/tracker_test.rb | 19 ++++++---------- test/unit/user_preference_test.rb | 19 ++++++---------- test/unit/user_test.rb | 19 ++++++---------- test/unit/version_test.rb | 19 ++++++---------- test/unit/watcher_test.rb | 19 ++++++---------- test/unit/wiki_content_test.rb | 19 ++++++---------- test/unit/wiki_page_test.rb | 19 ++++++---------- test/unit/wiki_redirect_test.rb | 19 ++++++---------- test/unit/wiki_test.rb | 22 +++++++------------ 676 files changed, 7924 insertions(+), 1739 deletions(-) diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index c927eff0..ba815bce 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 d6292ea9..a7cc8976 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 55c68d42..868a92b7 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 0e7531e5..a5470b80 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 98dceca6..32f37459 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 ab6738ae..bf90ed01 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 17d86f34..a03e2c5f 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 015d265f..7b4483ad 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 c228099c..31c574a8 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 7432f831..8500dabb 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 5cdf2b0a..6fbc45c3 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 2b7684d9..00adc1f9 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 aafb2060..f9e0d0d5 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 19b6ae4b..cee57f05 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 39bc9be5..afe35be6 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 c33f89f7..b7650460 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 f6afbd68..e33b201e 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 c0e92159..afc13abd 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 cea8db5d..835abe8d 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 f1087172..1eada442 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 8cfac047..b5448adb 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 03f78242..7537c8dd 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 5143e3c1..b8cc8117 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 6157b96f..ccdda4e2 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 95ef10a9..8e0b1148 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 ac87af17..71d424ef 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 bb1f02d6..f2a73c19 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 4fffdd93..cd8ccce0 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 1f079560..d15fbdfd 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 afdc9efd..4a84ee94 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 612025cb..52ae6983 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 0b15887f..49a134ed 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 4e850198..b11e617b 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 e710c497..cbdfd1f5 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 e05d7178..eb077515 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 622c9ea5..dd752700 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 eef1d875..17c4d376 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 cccc4ce2..a5208ac4 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 fdca93eb..f7e8729e 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 c3ade0ff..15e89003 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 a44254bd..7274b781 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 7bff7462..d17afad1 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 520dc039..f314b27f 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 ea79020c..15fc6dc9 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 8754706d..e4a7f961 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 93500c52..1a3aeb80 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 571dd1a6..393b344c 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 08b7abee..f00464e3 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 4f328d37..e0d8eadd 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 1d74d5e1..12d0b5fc 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 6d3694a4..50c0c3ee 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 6f0f86bc..19164ff0 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 210924e4..9004b9bf 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 c92fdb43..7a03044b 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 af76d21e..74b4d281 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 8b8af150..0558ab6a 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 82f3905e..51f66cde 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 581b539f..1b6cea22 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 242b4fce..8891bce6 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 8e075505..cae110d3 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 3a635f43..52352b8a 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 1da7ad77..1223805c 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 2af6b3e7..452d251a 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 b58b4ce5..32b57549 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 a7c5dae3..64cb2ac7 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 98613835..78361774 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 e6a9f6e5..fc3289ae 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 50262720..627d60d0 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 84a83870..e6c45d6b 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 e3fa623c..2142e3f7 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 f1bca9f6..e11b25cf 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 c8365c82..fda495db 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 9877c335..05d9d714 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 b3f4e355..cab4546e 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 cbd97c5e..dd4c3717 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 89fc5118..5daf0f4f 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 1cd17429..1b27aa81 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 6b6b6cc2..38f6598a 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 10062f0d..dff46b89 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 31be2152..f04c18dc 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 a1808a05..6d325381 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 6464a00a..790dabe1 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 2cd38844..199cf676 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 8220c418..ba835da9 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 3fba87a4..2e5ae802 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 e5385c88..6a751f2d 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 eeead45f..9b037ed3 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 af442b29..ea286c8c 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 73c33989..6f7c933b 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 30393ef6..29aa76f1 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 b9b06c29..7af8ea05 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 013feacc..b348f385 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 7863efce..9c0165d4 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 f33e19f1..940329ff 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 1294b9e4..85b86f8a 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 7fd6851a..7576ef9a 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 a4b4a55c..1b911ed0 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 fc39f2e4..3fb754a2 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 937c5749..c387b8c0 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 111dbace..3a2c589d 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 d06083fa..9776572f 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 2519d20c..d295d1ef 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 2ec0fa72..208016a5 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 fd58c825..772e82d9 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 c1cb8631..c2c723cf 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 08be363a..c3033890 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 aa3df9c0..aac56c52 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 d4f63e0e..d366ad43 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 1754288c..c6bb3a39 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 71ba2621..51e171eb 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 4d082497..4ce29164 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 0d1d7873..173830ea 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 09e74163..b4c2e494 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 a19ccf51..70802314 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 024e1363..78ad7b7e 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 39649f85..37372b32 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 f1db1658..443e5fc8 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 bc42c82f..f5999611 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 87ce2d20..ee8c5a9d 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 b0e2df0a..bbfae6cd 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 3f885e47..c3718acb 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 950d6992..1ceb1b23 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 553f5b1f..70f161f9 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 91ccddf3..0c2a5c9b 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 573306c3..15998353 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 f9ebe152..8c75ea7e 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 052b173e..5f5bca00 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 0f7ce5f3..dba042e3 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 8eaf4f0b..c1e8bc67 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 73ab6a16..ebf434bd 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 14bf92a2..94378e8a 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 5c7762ab..d343389c 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 57780dec..34d5b629 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 c2312fa1..f1e269bb 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 cdfa2bbd..bc9dee61 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 9b02e4f4..fcfef55d 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 2c95d9e6..9ab6b9d2 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 b5434698..d49c8fb8 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 3408d1b8..2b96ca87 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 dee319b4..9bc4e2b5 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 a5b68556..980de097 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 4bfb71d2..ee453633 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 4838a1dc..d602db1f 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 f031cc7e..a3c65a5e 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 2f839ce9..e08b2a3e 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 b753fb40..ce352d0b 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 0350d17d..eacb241c 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 cd8ba9c3..06f5f55c 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 3521b4ab..d1b3f7e3 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 6d611a9d..81a74980 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 759721ce..5ee9b216 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 399adddc..2f8e0eb3 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 f7b93f76..3f956006 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 1cb96ea6..13d1a933 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 6132f939..b9b30d61 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 943adecf..b78319b5 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 b051299e..6ff86a92 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 b5869a8c..11bee3b2 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 0b42af33..a08c69b7 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 c7e997e8..3d977fba 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 85c9a608..49d58561 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 91af89ce..abb83923 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 4ce45527..8aa6e964 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 45cb09bd..a4ad500d 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 45cb09bd..a4ad500d 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 0e23a3d4..e52d4044 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 dabac346..619f3090 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 23989ed2..cf761f4f 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 c2169ed0..540c30a1 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 d531b8bb..c0fa9da4 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 0039a3b2..fd36ce9d 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 3ad02415..3d90b701 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 378fdb0b..97feddde 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 5b83e63e..40457827 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 085593e0..4746959a 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 a2ab756e..8ef591e4 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 6ccd67ea..7765d0ce 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 3d1693fc..32ffef90 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 1cdc91d8..7ace3f98 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 b0034783..7a021fa6 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 80ae1cdf..d7aed855 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 a22eafd9..a9bc2106 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 29e1116a..b393ef33 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 a2474399..efefacaf 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 2bbf87b0..049be0a7 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 e0e8c90c..6c5f452c 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 34eba1e2..2669c2db 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 d8c0524b..cf27052a 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 34170763..1dcf5fba 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 99f96adf..5a645dd3 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 8c1d054c..0993f4a8 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 ed24d27c..16f9b28e 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 e220bd9f..272c3e4a 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 ef977562..601b05ed 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 5158f37f..5af8c050 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 82ef87bb..a0a7cdc4 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 5c37beac..2880fe60 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 a942b01b..6210b438 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 5fc91972..91fee350 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 ed678429..bb820c43 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 535cbfb0..ec62e4b5 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 c5c9f2a4..b1f1a7ca 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 7f97035b..e18c7345 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 df57809c..641fa28d 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 9b9a54eb..1313c63b 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 ab9c809e..680c3fb7 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 612fd46b..8b8e1d71 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 fa0cfac3..c4e655d5 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 b9cc49b8..c6e9745f 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 0fd8c751..34b7f0cc 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 519ee0bd..36c423f0 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 9579e19a..96679afd 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 494d3cc4..7e10be14 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 fdacff93..8568daf2 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 802c1243..84e44280 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 32d464a5..3beb1ab6 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 a417f7d7..c63829aa 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 17f2bbbe..a6b871e0 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 d99aaf84..d82e5aa3 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 5b1f6f77..d276a3ad 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 82d2a33e..2cf5f017 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 c8215238..5b806cce 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 c0697be9..d215b70f 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 fba36d23..5af94413 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 6f58c1a7..cfeee798 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 998ce2ba..4c559aa1 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 188fa6ef..634238b4 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 599f70aa..0a2bbf63 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 0d9b13b5..99fa82ff 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 58b8fd9a..6b48d736 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 8653532e..58b34cc4 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 a1ba7963..10b82c3e 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 b0509637..0d2e86f4 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 a8d6fe9e..7d4d1831 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 27c7475c..ad7330ee 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 107a3af0..6b9bfcd2 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 f4ca470b..784889cf 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 8c5fde33..d47ef193 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 1f4c40da..3802e719 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 dda6ba6d..f743e5c0 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 fd848ef9..dc6ceba7 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 90b86e24..f72e8c97 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 ebf6d08c..7b409994 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 acaf4dab..95cc3f32 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 22558a6e..2a054e8e 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 7365a141..a11df89b 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 3987f703..8b229cfd 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 d83ba8dd..24920fa6 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 ece0370d..d9e7bae1 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 a3e2c3f8..50b82bf8 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 1c42ae73..66ab3645 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 9e36790a..8ed6f5b0 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 c907b472..664771b3 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 70fea188..0aa6626c 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 20a17256..2e52a28e 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 8fd5d2ce..9b5512aa 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 cc127b43..607d74d9 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 a59135be..b95f97a7 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 53158d14..bd8f8be7 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 132e921b..12fbb222 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 33a39ec6..0f186148 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 411dfe4d..fd66c1e4 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 27642972..ca4ab56c 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 e621a390..376a15f6 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 b298a3f4..bc2ea737 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 49720fbb..76007068 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 98374aa4..df233f1a 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 36b922ec..258d57a2 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 f73af2c0..f724899b 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 3e4b26b8..1cd47452 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 92a53f4a..f26a9744 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 1ff888f3..f18fd8e7 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 9b25fd7b..5c1ad593 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 dd493d17..f2e9638a 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 949f9db9..691a32cc 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 937649e6..8ec0c1be 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 8952c16e..4d9de933 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 92799f97..f2f5f157 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 68bb3d11..7bff6cb0 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 caae0d8c..94dc876e 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 f5af77b2..9bfeba74 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 7ff4e542..833f69f4 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 743ed42f..1358780d 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 02a8fa68..f6510ea7 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 eca03d55..151fb08e 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 c2aef5e4..2839b180 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 50bd5201..3c6c8bb5 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 55824fa6..a0b4efc1 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 a3db6d51..e0f37195 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 2c1b1780..566c5756 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 1405f3d0..f01ac3fa 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 38519ea7..e12b5222 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 aae9fc61..04f9844f 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 c2811991..4f643b93 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 cbe74173..92106ed9 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 1c31fece..30348e86 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 9ce03b95..d3701edf 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 4ffa5238..7445b448 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 923c78fc..88cd149b 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 13fa0137..a2d32313 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 b95f5432..cd9f6d04 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 23c27299..b8a94ae7 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 b9f43b6d..ff8994eb 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 2a1ed27c..a689b74f 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 85dedf81..05865510 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 7fab09e3..a58abc44 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 618e1cd9..f596c652 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 ccd4f044..06f94ebe 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 f5190181..97d9f090 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 f0979f21..3f9a607e 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 303be838..74852c0d 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 3f5b2b18..8773fb2b 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 e9ff62db..e8f68f69 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 d3e94226..6b606482 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 f3a8ccbc..ffe682a1 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 d651a546..665b6a50 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 5fdf560f..4a631ad8 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 18be0b44..9b520ee2 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 414b1ad6..b5813b37 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 cffc528e..e6a1f864 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 808eb629..ba2fb304 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 c5a50958..c38bf151 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 d22fc98e..d1c80dbe 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 454e4c5d..bc6c4ddf 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 b192a7e2..6427d071 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 2667f403..3d6f2d6c 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 fc57f18b..e0c57684 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 7442a544..0037b4d1 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 c398b793..5d8d1894 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 f1805931..becc1c1f 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 99f5f5a0..6a60183f 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 5092a8c9..1f0b11d2 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 0ce67210..1dbebd08 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 3c28e115..1f5bdd0f 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 1c0b4b31..39e80e21 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 e6c96ec3..47c0f0f2 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 2497a1e6..5603d654 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 72c39e05..abd310c2 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 5e92cf01..408a98c3 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 401f6340..930c8a47 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 a8a45ade..a2d2d90f 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 96d85a3a..392afe8a 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 e7d03e98..55362618 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 4dc94800..0929fa2d 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 62b8644a..fad4de7a 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 2595175c..3eff0ecb 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 b2b707f1..a5c16608 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 416607b4..d47776fc 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 ac51313b..d9b047d1 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 9d59faee..30bc647b 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 fabc3c9d..126d8818 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 79426fad..d72be54b 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 73ccb4e0..1585eb64 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 f1cf6483..7e31332c 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 9f017db9..4bd232d4 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 253d7a66..95df6e5c 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 1ad937c7..44a5cc69 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 b1cd80aa..8ab41db0 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 25886575..578e181b 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 85cadafc..07af360a 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 4d975f80..6400fc6d 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 c8651268..3d585b7c 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 b9f50112..665d2587 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 461cc701..5e30b52b 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 3174d0cb..485a540f 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 c1b5c287..457b31e2 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 8d63206a..2eebde87 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 5adb621a..9bd92fbb 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 fec9c8bd..0b126dcf 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 ec581821..dd5025d9 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 edff0b7a..72cd647b 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 1305f5c2..44ec16cb 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 e27cbf86..b3e839f1 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 7d140640..fe96176d 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 02619c50..a48e2566 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 2cdbd2ca..352e1663 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 54f26b5b..7fa2134c 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 74703cef..a38d9803 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 0fcc29a9..526619cf 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 d63b490e..7eba40e0 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 e4f8a65b..d352ccd3 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 a8172f7d..b78eb02b 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 0c39df24..0d820b31 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 f6294c0c..76219231 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 0391da07..563167b8 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 573313e7..81dcc33a 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 2da5ffef..3e9429c6 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 d818bebc..a6b16049 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 52cd0888..4b24da91 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 09fb0bab..6880b193 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 c3dd6d19..e8419154 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 ba507182..a5f29836 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 5842ee25..d22e4be9 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 ce63d947..b49c279a 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 9862b8e8..1cd8c9cf 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 be626046..42a42fdf 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 f0cc529b..8b4a36c9 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 0c8bbad8..9756191e 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 d992bb13..3ed0067e 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 4d919694..17c11e18 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 f643194b..172f7d8d 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 7d5923bc..e3acb50b 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 e5301c67..d33e0e32 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 186b1335..e77e8513 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 5b7be3ad..680d6edf 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 9891d895..a6a149bb 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 8b80c017..2eb09b08 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 37d4a407..4ca9c09d 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 f0f02d38..51b18920 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 7e0b89ed..5f0860cc 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 c7f50dbf..3e2d5c66 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 d742bbd1..0bdfbd86 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 80556d84..b720d910 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 b484ee27..4525f422 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 502a8173..cfc72b3c 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 97dff06a..6a20337b 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 60959c3a..9717889f 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 2599a5e6..149a6542 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 f1dc522f..5c290756 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 586aefb5..5106370a 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 43e8a187..4ae88ec8 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 4a54e106..91ff892a 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 6d5bd9b8..79356939 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 d6de20a8..2844be97 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 b2e9e602..7ef948b7 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 2022f937..fd494a80 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 fb27b691..28cc71d5 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 0755e9f5..8e3da64f 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 1081a4cb..65b59b3e 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 b1e256f8..03a7a063 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 d6029c88..2810f055 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 9209fa82..6be1e6a6 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 19cae92a..e42b0888 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 efa306c5..21421c53 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 2b10845d..e6b4c206 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 b4f25831..ba8573bc 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 021909da..69aeab95 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 0943f91a..f9c19382 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 e4caf7df..9c6fb15c 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 70c1ecab..f554b68d 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 521f7401..6cea5508 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 6094daf5..b4e2eb1d 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 dca43ddc..3b58406b 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 9271023a..08554c6e 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 2f5980c6..080b3609 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 d11fa7ef..19a1672a 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 ebaf0142..18855c0d 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 1b198dc4..5e2556b6 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 289b3d94..bc1cdbfa 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 7c10f424..c5b71f3c 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 7b8efd47..f6a35c2f 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 214cc996..cae7d0cd 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 5090fb16..f1188188 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 3092037b..63e035fe 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 0516d830..14577c7e 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 02ce1b2a..a36bb229 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 13687716..862a07cd 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 256e2cc4..46db106e 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 fe6bf007..7a67441b 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 caa9e05f..7dc07f46 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 aa6c5eeb..bcfd9a4f 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 4baaf530..6101d5d7 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 da277e2a..115183a8 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 264ea810..776ba851 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 97985fbf..0272bcd0 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 a1499775..b2bceb16 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 036e8275..f1d80077 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 b9577bb9..e9302fea 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 aeb5412e..93f26b04 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 5ffe9a94..b9872dbd 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 ae9a4a25..7c9b357c 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 85a38b50..60b65e35 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 6665a6d5..a2862907 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 5d2cd747..100c4117 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 318947c2..d0e4c11a 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 568f054c..f11be166 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 0819a8dc..5e98ba66 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 9d3ccdc1..791f4d6d 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 dbb66f20..935dd707 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 ecb09bb9..2a54294f 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 0e1e6e70..e9c7878c 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 0a310fc9..341fabf6 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 c7e22c5a..4861abce 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 a28c3331..6aefaf7a 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 db32e938..f61ec171 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 42d11fca..6899ac06 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 9f17e138..a1e95932 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 2d48cb2f..2d406308 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 8473c2f8..97a77f93 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 b15b9562..2bec3cc9 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 94523f79..31c52c41 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 def8dc42..af4867d9 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 33e7c3a7..6d4bc89b 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 4d6c2665..1b30c3f0 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 79465b0e..d13a1625 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 65b93a23..23d12085 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 d70cc227..f94f93bc 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 0b380acc..ea5b3112 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 dccb5916..507ce25f 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 2abc2fc3..43320bc7 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 aab1d8c5..574ed68c 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 06a41032..da5fdba8 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 5f94a96e..17b64f9c 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 2a482464..e6f44b77 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 5f65f419..dfda4da6 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 0cea1112..4f3fd8ac 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 420cf0c1..16508456 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 a8c0e2af..31ffdb4c 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 ef4eb117..64f9b7bf 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 67e919a9..5fb94f0c 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 5e665ec1..a490be3b 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 fc7af9ef..486e66f3 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 dcec63e9..bec49b34 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 7e180569..84b24777 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 25113b06..0742fa62 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 f45dfc45..2c8fc34c 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 f37c7ab6..99b99417 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 7418ca28..2eebd87d 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 5c3b8165..1e289659 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 ff3bb8d0..3bd7ba84 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 e2deed45..636b1072 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 40d77420..2a3a769a 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 74bfcb41..a966de1f 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 e40947a8..07ded863 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 f0ae17a9..d52dd2d6 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 f8b1efea..68d4b982 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 4138217f..93ebe33e 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 8c4fc862..fc6710f0 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 2e969760..4cb6dcda 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 16ec2282..8dc71758 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 c5261d54..09362243 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 3a10a3ba..a013f2cd 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 41465255..ff81fba5 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 ea3a7ada..24125b5e 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 183f5c58..19e333b7 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 d014c753..1a01ead7 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 984da66f..fc7c57f7 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 8da64eda..19148551 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 12a5053e..70529ae6 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 5ce85653..4c8f9c4f 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 469d9b66..c4916b5a 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 0c638df1..d57e2e4e 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 26d15cd5..e89e3d44 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 1e250cc9..d0c7136e 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 ffc8c585..f1e83bcc 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 5e37ed53..2aa52423 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 5eda732c..dd5b9c1f 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 b53eebd7..6f337b0c 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 669014d8..00a11c33 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 bbae0337..8aec6f2e 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 107ce106..6e1c4a23 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 de0e3062..7df48f63 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 abc92b64..5ce878c0 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 86542829..6d59ccdd 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 2a5f9802..a6a63fd3 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 e3e0dfea..06198b3e 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 c868e019..e7213c7b 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 1ce9d866..cba49b51 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 94405788..11b5bb3c 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 b2664af0..eb89536e 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 13ad4a00..a75d5f4a 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 a27331da..4f591d7a 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 e47f7365..f78ff859 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 c1a9ee1a..393d63a0 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 646c06fb..29eae33b 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 9429b948..1afd410c 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 60a9dba6..516b8dd3 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 dbd8c8e3..22f15fb1 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 c460b260..003977e8 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 f6bb2f24..5b226f56 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 56f84716..e7cb6b18 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 dc406871..5be3034d 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 ae814caf..bd9a61ff 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 ad63d97b..204224d7 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 5c4602a5..e318dc7b 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 4b18e317..596ac2dc 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 cca1e9ed..69f24d54 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 c94ada22..7180c8bc 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 19342d15..187832ca 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 8faf758e..df48185e 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 ad887350..9160d206 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 79fc0e8a..769e6312 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 4ad0c2ba..99850198 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 80fb429a..95abd850 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 cc24d976..9532d6fd 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 4d80f5f3..8369716b 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 5cc4ea5c..e18c3d04 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 49ae28ce..96fd4ead 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 bd10ebf9..d0c46beb 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 537c6427..4638721f 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 82e5ef87..cf9abd01 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 ccf6566d..174fa2ca 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 db7e2b04..69207770 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 a7670aab..ddebf361 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 5cb2c4cc..2fb91a1e 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 58700296..8777c14e 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 b2ffb604..befa418c 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 caf17431..5190e04f 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 e1d6bc1a..fb08b999 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 ad8c4706..ce5cd239 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 fa7a685e..d2dd6ce1 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 f9ff7f1c..77c4f72f 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 6f4a0823..05bf7438 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 2ba21cbf..591b4743 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 947f15f0..8b78eca7 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 99e3a90c..713300cb 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 7667a4ce..f6c99eeb 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 f0b8fd66..a1291116 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 bc6535ed..d1adb86d 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 5f9d580b..930f2c3e 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 5324fe38..79b4b250 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 da20ea4c..ac141721 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 9908737e..e2e3010d 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 51891c0f..020b182a 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 5af5f711..4c3237ef 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 d172c95f..e732f983 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 54de986a..c9b2af3f 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 a32b41d2..5da61b33 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 82f507f2..0a54073f 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 7ef5feb3..d78835c3 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 0691b014..93d5d71f 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 6eda978e..5b386779 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 4458a3df..c529bf95 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 9d732951..d4ab903a 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 fe81f65d..9f07fc9c 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 7ca44920..ae35f543 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 07986e49..6121e1e2 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 195b4446..49750343 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 7945e9bc..a0e43526 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 197d7df1..c520d49e 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 993b42ca..2063f27f 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 74502cf5..5a9c6e1e 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 a1e7f680..db0953eb 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 2d6812ad..6a8725da 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 bc769562..b0e631cf 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 ab482277..2358c942 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 13653e3a..859f013b 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 1be392d6..b3ab2475 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 6d69a6db..b216faca 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 76a8f16e..0a20fe77 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 238e5a7a..286a5d29 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 fa5f8adb..2446701e 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 073fd819..6a5c28b7 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 837013ce..43a26107 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 7eb61ad8..fd974178 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 45f15748..877ff558 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 3bab21a3..87bbf121 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 c9fef6b2..82421bb0 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 8a7e3644..e4217a01 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 9e966652..b9cb6d21 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 e0c32973..fde5e2e3 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 a20c14e9..3d80b474 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 038db8f2..ef44ec66 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 2d5db034..3a597d4a 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 2e16973c..34640688 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 ce28a1eb..92891212 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 d6bcc071..b499876c 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 54b58946..926130e6 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 a7844c5a..90a764cb 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 02931caf..d7c83486 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 41ad7e88..31afd823 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 81d46686..410143e8 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 b63e7dea..1f0afc10 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 ed3b71a3..dd00ae25 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 4d343bcb..78e0b179 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 bd49494c..dab9b5e4 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 370c5d72..6802634b 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 a5da0cdf..ee8c832d 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 371eb025..bfd301bb 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 f5a2908b..233efbfc 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 20541468..88f47cb1 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 86d96b2c..835dc3b3 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 c379278b..e0f06fdf 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 927765d6..b84bf1ce 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 387de9bb..7aae7a3f 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 61a0886b..d2420fd1 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