redmine_extensions 0.1.11 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -6
- data/app/assets/javascripts/redmine_extensions/jquery.entityarray.js +1 -1
- data/app/assets/javascripts/redmine_extensions/redmine_extensions.js +6 -2
- data/app/views/common/_closing_modal.html.erb +2 -2
- data/app/views/common/close_modal.js.erb +4 -4
- data/lib/generators/redmine_extensions/entity/templates/_sidebar.html.erb.erb +8 -8
- data/lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb +7 -7
- data/lib/generators/redmine_extensions/entity/templates/custom_field.rb.erb +7 -7
- data/lib/generators/redmine_extensions/entity/templates/edit.html.erb.erb +18 -18
- data/lib/generators/redmine_extensions/entity/templates/edit.js.erb.erb +16 -16
- data/lib/generators/redmine_extensions/entity/templates/index.api.rsb.erb +5 -5
- data/lib/generators/redmine_extensions/entity/templates/index.html.erb.erb +4 -4
- data/lib/generators/redmine_extensions/entity/templates/index.js.erb.erb +10 -10
- data/lib/generators/redmine_extensions/entity/templates/mail_added.html.erb.erb +1 -1
- data/lib/generators/redmine_extensions/entity/templates/mail_added.text.erb.erb +2 -2
- data/lib/generators/redmine_extensions/entity/templates/mail_updated.text.erb.erb +2 -2
- data/lib/generators/redmine_extensions/entity/templates/migration.rb.erb +9 -9
- data/lib/generators/redmine_extensions/entity/templates/new.html.erb.erb +18 -18
- data/lib/generators/redmine_extensions/entity/templates/new.js.erb.erb +16 -16
- data/lib/generators/redmine_extensions/entity/templates/routes.rb.erb +12 -12
- data/lib/generators/redmine_extensions/entity/templates/show.html.erb.erb +37 -37
- data/lib/generators/redmine_extensions/entity/templates/show.js.erb.erb +10 -10
- data/lib/redmine_extensions/engine.rb +1 -0
- data/lib/redmine_extensions/redmine_patches/patches.rb +1 -1
- data/lib/redmine_extensions/version.rb +1 -1
- metadata +23 -3997
- data/app/assets/javascripts/redmine_extensions/redmine_extensions.js.orig +0 -648
- data/app/helpers/redmine_extensions/application_helper.rb.orig +0 -189
- data/app/views/easy_entity_assignments/_query_index.html.erb.orig +0 -16
- data/config/database.yml +0 -15
- data/lib/redmine_extensions/redmine_patches/controllers/issues_controller_patch.rb +0 -9
- data/lib/redmine_extensions/version.rb.orig +0 -7
- data/spec/redmine/CONTRIBUTING.md +0 -8
- data/spec/redmine/Gemfile +0 -109
- data/spec/redmine/README.rdoc +0 -5
- data/spec/redmine/Rakefile +0 -7
- data/spec/redmine/app/controllers/account_controller.rb +0 -354
- data/spec/redmine/app/controllers/activities_controller.rb +0 -77
- data/spec/redmine/app/controllers/admin_controller.rb +0 -84
- data/spec/redmine/app/controllers/application_controller.rb +0 -662
- data/spec/redmine/app/controllers/attachments_controller.rb +0 -191
- data/spec/redmine/app/controllers/auth_sources_controller.rb +0 -97
- data/spec/redmine/app/controllers/auto_completes_controller.rb +0 -44
- data/spec/redmine/app/controllers/boards_controller.rb +0 -111
- data/spec/redmine/app/controllers/calendars_controller.rb +0 -56
- data/spec/redmine/app/controllers/comments_controller.rb +0 -53
- data/spec/redmine/app/controllers/context_menus_controller.rb +0 -97
- data/spec/redmine/app/controllers/custom_fields_controller.rb +0 -88
- data/spec/redmine/app/controllers/documents_controller.rb +0 -95
- data/spec/redmine/app/controllers/email_addresses_controller.rb +0 -106
- data/spec/redmine/app/controllers/enumerations_controller.rb +0 -96
- data/spec/redmine/app/controllers/files_controller.rb +0 -62
- data/spec/redmine/app/controllers/gantts_controller.rb +0 -48
- data/spec/redmine/app/controllers/groups_controller.rb +0 -149
- data/spec/redmine/app/controllers/issue_categories_controller.rb +0 -122
- data/spec/redmine/app/controllers/issue_relations_controller.rb +0 -92
- data/spec/redmine/app/controllers/issue_statuses_controller.rb +0 -81
- data/spec/redmine/app/controllers/issues_controller.rb +0 -517
- data/spec/redmine/app/controllers/journals_controller.rb +0 -109
- data/spec/redmine/app/controllers/mail_handler_controller.rb +0 -44
- data/spec/redmine/app/controllers/members_controller.rb +0 -129
- data/spec/redmine/app/controllers/messages_controller.rb +0 -142
- data/spec/redmine/app/controllers/my_controller.rb +0 -211
- data/spec/redmine/app/controllers/news_controller.rb +0 -111
- data/spec/redmine/app/controllers/previews_controller.rb +0 -53
- data/spec/redmine/app/controllers/principal_memberships_controller.rb +0 -80
- data/spec/redmine/app/controllers/project_enumerations_controller.rb +0 -42
- data/spec/redmine/app/controllers/projects_controller.rb +0 -234
- data/spec/redmine/app/controllers/queries_controller.rb +0 -128
- data/spec/redmine/app/controllers/reports_controller.rb +0 -95
- data/spec/redmine/app/controllers/repositories_controller.rb +0 -439
- data/spec/redmine/app/controllers/roles_controller.rb +0 -110
- data/spec/redmine/app/controllers/search_controller.rb +0 -87
- data/spec/redmine/app/controllers/settings_controller.rb +0 -76
- data/spec/redmine/app/controllers/sys_controller.rb +0 -81
- data/spec/redmine/app/controllers/timelog_controller.rb +0 -281
- data/spec/redmine/app/controllers/trackers_controller.rb +0 -101
- data/spec/redmine/app/controllers/users_controller.rb +0 -190
- data/spec/redmine/app/controllers/versions_controller.rb +0 -182
- data/spec/redmine/app/controllers/watchers_controller.rb +0 -131
- data/spec/redmine/app/controllers/welcome_controller.rb +0 -30
- data/spec/redmine/app/controllers/wiki_controller.rb +0 -367
- data/spec/redmine/app/controllers/wikis_controller.rb +0 -36
- data/spec/redmine/app/controllers/workflows_controller.rb +0 -142
- data/spec/redmine/app/helpers/account_helper.rb +0 -21
- data/spec/redmine/app/helpers/activities_helper.rb +0 -33
- data/spec/redmine/app/helpers/admin_helper.rb +0 -35
- data/spec/redmine/app/helpers/application_helper.rb +0 -1335
- data/spec/redmine/app/helpers/attachments_helper.rb +0 -69
- data/spec/redmine/app/helpers/auth_sources_helper.rb +0 -24
- data/spec/redmine/app/helpers/boards_helper.rb +0 -41
- data/spec/redmine/app/helpers/calendars_helper.rb +0 -58
- data/spec/redmine/app/helpers/context_menus_helper.rb +0 -50
- data/spec/redmine/app/helpers/custom_fields_helper.rb +0 -166
- data/spec/redmine/app/helpers/documents_helper.rb +0 -21
- data/spec/redmine/app/helpers/email_addresses_helper.rb +0 -38
- data/spec/redmine/app/helpers/enumerations_helper.rb +0 -21
- data/spec/redmine/app/helpers/gantt_helper.rb +0 -43
- data/spec/redmine/app/helpers/groups_helper.rb +0 -46
- data/spec/redmine/app/helpers/issue_categories_helper.rb +0 -21
- data/spec/redmine/app/helpers/issue_relations_helper.rb +0 -25
- data/spec/redmine/app/helpers/issue_statuses_helper.rb +0 -21
- data/spec/redmine/app/helpers/issues_helper.rb +0 -516
- data/spec/redmine/app/helpers/journals_helper.rb +0 -46
- data/spec/redmine/app/helpers/mail_handler_helper.rb +0 -21
- data/spec/redmine/app/helpers/members_helper.rb +0 -38
- data/spec/redmine/app/helpers/messages_helper.rb +0 -21
- data/spec/redmine/app/helpers/my_helper.rb +0 -77
- data/spec/redmine/app/helpers/news_helper.rb +0 -21
- data/spec/redmine/app/helpers/principal_memberships_helper.rb +0 -56
- data/spec/redmine/app/helpers/projects_helper.rb +0 -115
- data/spec/redmine/app/helpers/queries_helper.rb +0 -223
- data/spec/redmine/app/helpers/reports_helper.rb +0 -43
- data/spec/redmine/app/helpers/repositories_helper.rb +0 -310
- data/spec/redmine/app/helpers/roles_helper.rb +0 -21
- data/spec/redmine/app/helpers/routes_helper.rb +0 -69
- data/spec/redmine/app/helpers/search_helper.rb +0 -69
- data/spec/redmine/app/helpers/settings_helper.rb +0 -171
- data/spec/redmine/app/helpers/sort_helper.rb +0 -261
- data/spec/redmine/app/helpers/timelog_helper.rb +0 -135
- data/spec/redmine/app/helpers/trackers_helper.rb +0 -21
- data/spec/redmine/app/helpers/users_helper.rb +0 -60
- data/spec/redmine/app/helpers/versions_helper.rb +0 -76
- data/spec/redmine/app/helpers/watchers_helper.rb +0 -78
- data/spec/redmine/app/helpers/welcome_helper.rb +0 -21
- data/spec/redmine/app/helpers/wiki_helper.rb +0 -54
- data/spec/redmine/app/helpers/workflows_helper.rb +0 -95
- data/spec/redmine/app/models/attachment.rb +0 -376
- data/spec/redmine/app/models/auth_source.rb +0 -93
- data/spec/redmine/app/models/auth_source_ldap.rb +0 -196
- data/spec/redmine/app/models/board.rb +0 -96
- data/spec/redmine/app/models/change.rb +0 -34
- data/spec/redmine/app/models/changeset.rb +0 -294
- data/spec/redmine/app/models/comment.rb +0 -38
- data/spec/redmine/app/models/custom_field.rb +0 -283
- data/spec/redmine/app/models/custom_field_value.rb +0 -56
- data/spec/redmine/app/models/custom_value.rb +0 -50
- data/spec/redmine/app/models/document.rb +0 -75
- data/spec/redmine/app/models/document_category.rb +0 -40
- data/spec/redmine/app/models/document_category_custom_field.rb +0 -22
- data/spec/redmine/app/models/document_custom_field.rb +0 -22
- data/spec/redmine/app/models/email_address.rb +0 -54
- data/spec/redmine/app/models/enabled_module.rb +0 -40
- data/spec/redmine/app/models/enumeration.rb +0 -142
- data/spec/redmine/app/models/group.rb +0 -117
- data/spec/redmine/app/models/group_anonymous.rb +0 -26
- data/spec/redmine/app/models/group_builtin.rb +0 -56
- data/spec/redmine/app/models/group_custom_field.rb +0 -22
- data/spec/redmine/app/models/group_non_member.rb +0 -26
- data/spec/redmine/app/models/issue.rb +0 -1650
- data/spec/redmine/app/models/issue_category.rb +0 -49
- data/spec/redmine/app/models/issue_custom_field.rb +0 -45
- data/spec/redmine/app/models/issue_priority.rb +0 -68
- data/spec/redmine/app/models/issue_priority_custom_field.rb +0 -23
- data/spec/redmine/app/models/issue_query.rb +0 -540
- data/spec/redmine/app/models/issue_relation.rb +0 -215
- data/spec/redmine/app/models/issue_status.rb +0 -123
- data/spec/redmine/app/models/journal.rb +0 -305
- data/spec/redmine/app/models/journal_detail.rb +0 -50
- data/spec/redmine/app/models/mail_handler.rb +0 -565
- data/spec/redmine/app/models/mailer.rb +0 -538
- data/spec/redmine/app/models/member.rb +0 -198
- data/spec/redmine/app/models/member_role.rb +0 -80
- data/spec/redmine/app/models/message.rb +0 -121
- data/spec/redmine/app/models/news.rb +0 -98
- data/spec/redmine/app/models/principal.rb +0 -162
- data/spec/redmine/app/models/project.rb +0 -1007
- data/spec/redmine/app/models/project_custom_field.rb +0 -22
- data/spec/redmine/app/models/query.rb +0 -904
- data/spec/redmine/app/models/repository.rb +0 -510
- data/spec/redmine/app/models/repository/bazaar.rb +0 -124
- data/spec/redmine/app/models/repository/cvs.rb +0 -213
- data/spec/redmine/app/models/repository/darcs.rb +0 -114
- data/spec/redmine/app/models/repository/filesystem.rb +0 -50
- data/spec/redmine/app/models/repository/git.rb +0 -263
- data/spec/redmine/app/models/repository/mercurial.rb +0 -211
- data/spec/redmine/app/models/repository/subversion.rb +0 -117
- data/spec/redmine/app/models/role.rb +0 -233
- data/spec/redmine/app/models/setting.rb +0 -276
- data/spec/redmine/app/models/time_entry.rb +0 -160
- data/spec/redmine/app/models/time_entry_activity.rb +0 -38
- data/spec/redmine/app/models/time_entry_activity_custom_field.rb +0 -22
- data/spec/redmine/app/models/time_entry_custom_field.rb +0 -23
- data/spec/redmine/app/models/time_entry_query.rb +0 -140
- data/spec/redmine/app/models/token.rb +0 -85
- data/spec/redmine/app/models/tracker.rb +0 -114
- data/spec/redmine/app/models/user.rb +0 -862
- data/spec/redmine/app/models/user_custom_field.rb +0 -23
- data/spec/redmine/app/models/user_preference.rb +0 -62
- data/spec/redmine/app/models/version.rb +0 -300
- data/spec/redmine/app/models/version_custom_field.rb +0 -22
- data/spec/redmine/app/models/watcher.rb +0 -81
- data/spec/redmine/app/models/wiki.rb +0 -106
- data/spec/redmine/app/models/wiki_content.rb +0 -168
- data/spec/redmine/app/models/wiki_page.rb +0 -299
- data/spec/redmine/app/models/wiki_redirect.rb +0 -39
- data/spec/redmine/app/models/workflow_permission.rb +0 -68
- data/spec/redmine/app/models/workflow_rule.rb +0 -74
- data/spec/redmine/app/models/workflow_transition.rb +0 -85
- data/spec/redmine/app/views/account/login.html.erb +0 -47
- data/spec/redmine/app/views/account/logout.html.erb +0 -3
- data/spec/redmine/app/views/account/lost_password.html.erb +0 -11
- data/spec/redmine/app/views/account/password_recovery.html.erb +0 -20
- data/spec/redmine/app/views/account/register.html.erb +0 -34
- data/spec/redmine/app/views/activities/index.html.erb +0 -68
- data/spec/redmine/app/views/admin/_menu.html.erb +0 -3
- data/spec/redmine/app/views/admin/_no_data.html.erb +0 -8
- data/spec/redmine/app/views/admin/index.html.erb +0 -8
- data/spec/redmine/app/views/admin/info.html.erb +0 -19
- data/spec/redmine/app/views/admin/plugins.html.erb +0 -63
- data/spec/redmine/app/views/admin/projects.html.erb +0 -43
- data/spec/redmine/app/views/attachments/_form.html.erb +0 -31
- data/spec/redmine/app/views/attachments/_links.html.erb +0 -38
- data/spec/redmine/app/views/attachments/destroy.js.erb +0 -1
- data/spec/redmine/app/views/attachments/diff.html.erb +0 -22
- data/spec/redmine/app/views/attachments/edit.html.erb +0 -30
- data/spec/redmine/app/views/attachments/file.html.erb +0 -17
- data/spec/redmine/app/views/attachments/show.api.rsb +0 -1
- data/spec/redmine/app/views/attachments/upload.api.rsb +0 -3
- data/spec/redmine/app/views/attachments/upload.js.erb +0 -14
- data/spec/redmine/app/views/auth_sources/_form.html.erb +0 -6
- data/spec/redmine/app/views/auth_sources/_form_auth_source_ldap.html.erb +0 -24
- data/spec/redmine/app/views/auth_sources/edit.html.erb +0 -6
- data/spec/redmine/app/views/auth_sources/index.html.erb +0 -31
- data/spec/redmine/app/views/auth_sources/new.html.erb +0 -7
- data/spec/redmine/app/views/auto_completes/issues.html.erb +0 -7
- data/spec/redmine/app/views/boards/_form.html.erb +0 -9
- data/spec/redmine/app/views/boards/edit.html.erb +0 -6
- data/spec/redmine/app/views/boards/index.html.erb +0 -38
- data/spec/redmine/app/views/boards/new.html.erb +0 -6
- data/spec/redmine/app/views/boards/show.html.erb +0 -66
- data/spec/redmine/app/views/calendars/show.html.erb +0 -45
- data/spec/redmine/app/views/common/_calendar.html.erb +0 -32
- data/spec/redmine/app/views/common/_diff.html.erb +0 -68
- data/spec/redmine/app/views/common/_file.html.erb +0 -18
- data/spec/redmine/app/views/common/_preview.html.erb +0 -3
- data/spec/redmine/app/views/common/_tabs.html.erb +0 -26
- data/spec/redmine/app/views/common/error.html.erb +0 -8
- data/spec/redmine/app/views/common/error_messages.api.rsb +0 -5
- data/spec/redmine/app/views/common/feed.atom.builder +0 -32
- data/spec/redmine/app/views/context_menus/issues.html.erb +0 -139
- data/spec/redmine/app/views/context_menus/time_entries.html.erb +0 -47
- data/spec/redmine/app/views/custom_fields/_form.html.erb +0 -114
- data/spec/redmine/app/views/custom_fields/_index.html.erb +0 -30
- data/spec/redmine/app/views/custom_fields/edit.html.erb +0 -7
- data/spec/redmine/app/views/custom_fields/formats/_bool.html.erb +0 -3
- data/spec/redmine/app/views/custom_fields/formats/_date.html.erb +0 -3
- data/spec/redmine/app/views/custom_fields/formats/_link.html.erb +0 -3
- data/spec/redmine/app/views/custom_fields/formats/_list.html.erb +0 -7
- data/spec/redmine/app/views/custom_fields/formats/_numeric.html.erb +0 -3
- data/spec/redmine/app/views/custom_fields/formats/_regexp.html.erb +0 -9
- data/spec/redmine/app/views/custom_fields/formats/_string.html.erb +0 -4
- data/spec/redmine/app/views/custom_fields/formats/_text.html.erb +0 -3
- data/spec/redmine/app/views/custom_fields/formats/_user.html.erb +0 -24
- data/spec/redmine/app/views/custom_fields/formats/_version.html.erb +0 -24
- data/spec/redmine/app/views/custom_fields/index.api.rsb +0 -43
- data/spec/redmine/app/views/custom_fields/index.html.erb +0 -11
- data/spec/redmine/app/views/custom_fields/new.html.erb +0 -19
- data/spec/redmine/app/views/custom_fields/new.js.erb +0 -1
- data/spec/redmine/app/views/custom_fields/select_type.html.erb +0 -15
- data/spec/redmine/app/views/documents/_document.html.erb +0 -6
- data/spec/redmine/app/views/documents/_form.html.erb +0 -19
- data/spec/redmine/app/views/documents/edit.html.erb +0 -8
- data/spec/redmine/app/views/documents/index.html.erb +0 -40
- data/spec/redmine/app/views/documents/new.html.erb +0 -6
- data/spec/redmine/app/views/documents/show.html.erb +0 -41
- data/spec/redmine/app/views/email_addresses/_index.html.erb +0 -26
- data/spec/redmine/app/views/email_addresses/index.html.erb +0 -2
- data/spec/redmine/app/views/email_addresses/index.js.erb +0 -3
- data/spec/redmine/app/views/enumerations/_form.html.erb +0 -11
- data/spec/redmine/app/views/enumerations/destroy.html.erb +0 -12
- data/spec/redmine/app/views/enumerations/edit.html.erb +0 -6
- data/spec/redmine/app/views/enumerations/index.api.rsb +0 -9
- data/spec/redmine/app/views/enumerations/index.html.erb +0 -32
- data/spec/redmine/app/views/enumerations/new.html.erb +0 -7
- data/spec/redmine/app/views/files/index.html.erb +0 -46
- data/spec/redmine/app/views/files/new.html.erb +0 -16
- data/spec/redmine/app/views/gantts/show.html.erb +0 -334
- data/spec/redmine/app/views/groups/_form.html.erb +0 -10
- data/spec/redmine/app/views/groups/_general.html.erb +0 -4
- data/spec/redmine/app/views/groups/_memberships.html.erb +0 -1
- data/spec/redmine/app/views/groups/_new_users_form.html.erb +0 -9
- data/spec/redmine/app/views/groups/_new_users_modal.html.erb +0 -9
- data/spec/redmine/app/views/groups/_users.html.erb +0 -22
- data/spec/redmine/app/views/groups/add_users.js.erb +0 -5
- data/spec/redmine/app/views/groups/autocomplete_for_user.js.erb +0 -1
- data/spec/redmine/app/views/groups/destroy_membership.js.erb +0 -1
- data/spec/redmine/app/views/groups/edit.html.erb +0 -3
- data/spec/redmine/app/views/groups/edit_membership.js.erb +0 -6
- data/spec/redmine/app/views/groups/index.api.rsb +0 -11
- data/spec/redmine/app/views/groups/index.html.erb +0 -25
- data/spec/redmine/app/views/groups/new.html.erb +0 -9
- data/spec/redmine/app/views/groups/new_users.html.erb +0 -6
- data/spec/redmine/app/views/groups/new_users.js.erb +0 -2
- data/spec/redmine/app/views/groups/remove_user.js.erb +0 -1
- data/spec/redmine/app/views/groups/show.api.rsb +0 -31
- data/spec/redmine/app/views/groups/show.html.erb +0 -7
- data/spec/redmine/app/views/issue_categories/_form.html.erb +0 -6
- data/spec/redmine/app/views/issue_categories/_new_modal.html.erb +0 -9
- data/spec/redmine/app/views/issue_categories/create.js.erb +0 -3
- data/spec/redmine/app/views/issue_categories/destroy.html.erb +0 -16
- data/spec/redmine/app/views/issue_categories/edit.html.erb +0 -7
- data/spec/redmine/app/views/issue_categories/index.api.rsb +0 -10
- data/spec/redmine/app/views/issue_categories/new.html.erb +0 -7
- data/spec/redmine/app/views/issue_categories/new.js.erb +0 -2
- data/spec/redmine/app/views/issue_categories/show.api.rsb +0 -6
- data/spec/redmine/app/views/issue_relations/_form.html.erb +0 -14
- data/spec/redmine/app/views/issue_relations/create.js.erb +0 -7
- data/spec/redmine/app/views/issue_relations/destroy.js.erb +0 -1
- data/spec/redmine/app/views/issue_relations/index.api.rsb +0 -11
- data/spec/redmine/app/views/issue_relations/show.api.rsb +0 -7
- data/spec/redmine/app/views/issue_statuses/_form.html.erb +0 -11
- data/spec/redmine/app/views/issue_statuses/edit.html.erb +0 -6
- data/spec/redmine/app/views/issue_statuses/index.api.rsb +0 -9
- data/spec/redmine/app/views/issue_statuses/index.html.erb +0 -37
- data/spec/redmine/app/views/issue_statuses/new.html.erb +0 -6
- data/spec/redmine/app/views/issues/_action_menu.html.erb +0 -7
- data/spec/redmine/app/views/issues/_attributes.html.erb +0 -79
- data/spec/redmine/app/views/issues/_changesets.html.erb +0 -10
- data/spec/redmine/app/views/issues/_conflict.html.erb +0 -26
- data/spec/redmine/app/views/issues/_edit.html.erb +0 -52
- data/spec/redmine/app/views/issues/_form.html.erb +0 -55
- data/spec/redmine/app/views/issues/_form_custom_fields.html.erb +0 -14
- data/spec/redmine/app/views/issues/_history.html.erb +0 -23
- data/spec/redmine/app/views/issues/_list.html.erb +0 -45
- data/spec/redmine/app/views/issues/_list_simple.html.erb +0 -29
- data/spec/redmine/app/views/issues/_relations.html.erb +0 -41
- data/spec/redmine/app/views/issues/_sidebar.html.erb +0 -21
- data/spec/redmine/app/views/issues/bulk_edit.html.erb +0 -207
- data/spec/redmine/app/views/issues/bulk_edit.js.erb +0 -1
- data/spec/redmine/app/views/issues/destroy.html.erb +0 -15
- data/spec/redmine/app/views/issues/edit.html.erb +0 -6
- data/spec/redmine/app/views/issues/edit.js.erb +0 -7
- data/spec/redmine/app/views/issues/index.api.rsb +0 -36
- data/spec/redmine/app/views/issues/index.html.erb +0 -114
- data/spec/redmine/app/views/issues/index.pdf.erb +0 -1
- data/spec/redmine/app/views/issues/new.html.erb +0 -59
- data/spec/redmine/app/views/issues/new.js.erb +0 -1
- data/spec/redmine/app/views/issues/show.api.rsb +0 -75
- data/spec/redmine/app/views/issues/show.html.erb +0 -162
- data/spec/redmine/app/views/issues/show.pdf.erb +0 -1
- data/spec/redmine/app/views/journals/_notes_form.html.erb +0 -18
- data/spec/redmine/app/views/journals/diff.html.erb +0 -13
- data/spec/redmine/app/views/journals/edit.js.erb +0 -8
- data/spec/redmine/app/views/journals/index.builder +0 -31
- data/spec/redmine/app/views/journals/new.js.erb +0 -10
- data/spec/redmine/app/views/journals/update.js.erb +0 -9
- data/spec/redmine/app/views/layouts/admin.html.erb +0 -8
- data/spec/redmine/app/views/layouts/base.html.erb +0 -80
- data/spec/redmine/app/views/layouts/mailer.html.erb +0 -61
- data/spec/redmine/app/views/layouts/mailer.text.erb +0 -8
- data/spec/redmine/app/views/mail_handler/new.html.erb +0 -43
- data/spec/redmine/app/views/mailer/_issue.html.erb +0 -14
- data/spec/redmine/app/views/mailer/_issue.text.erb +0 -13
- data/spec/redmine/app/views/mailer/account_activated.html.erb +0 -2
- data/spec/redmine/app/views/mailer/account_activated.text.erb +0 -2
- data/spec/redmine/app/views/mailer/account_activation_request.html.erb +0 -2
- data/spec/redmine/app/views/mailer/account_activation_request.text.erb +0 -2
- data/spec/redmine/app/views/mailer/account_information.html.erb +0 -11
- data/spec/redmine/app/views/mailer/account_information.text.erb +0 -6
- data/spec/redmine/app/views/mailer/attachments_added.html.erb +0 -5
- data/spec/redmine/app/views/mailer/attachments_added.text.erb +0 -4
- data/spec/redmine/app/views/mailer/document_added.html.erb +0 -3
- data/spec/redmine/app/views/mailer/document_added.text.erb +0 -4
- data/spec/redmine/app/views/mailer/issue_add.html.erb +0 -3
- data/spec/redmine/app/views/mailer/issue_add.text.erb +0 -4
- data/spec/redmine/app/views/mailer/issue_edit.html.erb +0 -14
- data/spec/redmine/app/views/mailer/issue_edit.text.erb +0 -12
- data/spec/redmine/app/views/mailer/lost_password.html.erb +0 -4
- data/spec/redmine/app/views/mailer/lost_password.text.erb +0 -4
- data/spec/redmine/app/views/mailer/message_posted.html.erb +0 -4
- data/spec/redmine/app/views/mailer/message_posted.text.erb +0 -4
- data/spec/redmine/app/views/mailer/news_added.html.erb +0 -4
- data/spec/redmine/app/views/mailer/news_added.text.erb +0 -5
- data/spec/redmine/app/views/mailer/news_comment_added.html.erb +0 -5
- data/spec/redmine/app/views/mailer/news_comment_added.text.erb +0 -6
- data/spec/redmine/app/views/mailer/register.html.erb +0 -2
- data/spec/redmine/app/views/mailer/register.text.erb +0 -2
- data/spec/redmine/app/views/mailer/reminder.html.erb +0 -9
- data/spec/redmine/app/views/mailer/reminder.text.erb +0 -7
- data/spec/redmine/app/views/mailer/test_email.html.erb +0 -2
- data/spec/redmine/app/views/mailer/test_email.text.erb +0 -2
- data/spec/redmine/app/views/mailer/wiki_content_added.html.erb +0 -3
- data/spec/redmine/app/views/mailer/wiki_content_added.text.erb +0 -5
- data/spec/redmine/app/views/mailer/wiki_content_updated.html.erb +0 -6
- data/spec/redmine/app/views/mailer/wiki_content_updated.text.erb +0 -8
- data/spec/redmine/app/views/members/_new_form.html.erb +0 -16
- data/spec/redmine/app/views/members/_new_modal.html.erb +0 -9
- data/spec/redmine/app/views/members/autocomplete.js.erb +0 -1
- data/spec/redmine/app/views/members/create.js.erb +0 -12
- data/spec/redmine/app/views/members/destroy.js.erb +0 -2
- data/spec/redmine/app/views/members/index.api.rsb +0 -18
- data/spec/redmine/app/views/members/new.html.erb +0 -6
- data/spec/redmine/app/views/members/new.js.erb +0 -2
- data/spec/redmine/app/views/members/show.api.rsb +0 -14
- data/spec/redmine/app/views/members/update.js.erb +0 -3
- data/spec/redmine/app/views/messages/_form.html.erb +0 -32
- data/spec/redmine/app/views/messages/edit.html.erb +0 -17
- data/spec/redmine/app/views/messages/new.html.erb +0 -9
- data/spec/redmine/app/views/messages/quote.js.erb +0 -4
- data/spec/redmine/app/views/messages/show.html.erb +0 -85
- data/spec/redmine/app/views/my/_block.html.erb +0 -10
- data/spec/redmine/app/views/my/_sidebar.html.erb +0 -36
- data/spec/redmine/app/views/my/account.html.erb +0 -59
- data/spec/redmine/app/views/my/blocks/_calendar.html.erb +0 -6
- data/spec/redmine/app/views/my/blocks/_documents.html.erb +0 -3
- data/spec/redmine/app/views/my/blocks/_issuesassignedtome.html.erb +0 -15
- data/spec/redmine/app/views/my/blocks/_issuesreportedbyme.html.erb +0 -15
- data/spec/redmine/app/views/my/blocks/_issueswatched.html.erb +0 -8
- data/spec/redmine/app/views/my/blocks/_news.html.erb +0 -3
- data/spec/redmine/app/views/my/blocks/_timelog.html.erb +0 -58
- data/spec/redmine/app/views/my/destroy.html.erb +0 -11
- data/spec/redmine/app/views/my/page.html.erb +0 -36
- data/spec/redmine/app/views/my/page_layout.html.erb +0 -41
- data/spec/redmine/app/views/my/password.html.erb +0 -24
- data/spec/redmine/app/views/my/show_api_key.html.erb +0 -7
- data/spec/redmine/app/views/my/show_api_key.js.erb +0 -1
- data/spec/redmine/app/views/news/_form.html.erb +0 -10
- data/spec/redmine/app/views/news/_news.html.erb +0 -6
- data/spec/redmine/app/views/news/edit.html.erb +0 -12
- data/spec/redmine/app/views/news/index.api.rsb +0 -14
- data/spec/redmine/app/views/news/index.html.erb +0 -51
- data/spec/redmine/app/views/news/new.html.erb +0 -9
- data/spec/redmine/app/views/news/show.html.erb +0 -62
- data/spec/redmine/app/views/previews/issue.html.erb +0 -11
- data/spec/redmine/app/views/principal_memberships/_index.html.erb +0 -52
- data/spec/redmine/app/views/principal_memberships/_new_form.html.erb +0 -24
- data/spec/redmine/app/views/principal_memberships/_new_modal.html.erb +0 -9
- data/spec/redmine/app/views/principal_memberships/create.js.erb +0 -12
- data/spec/redmine/app/views/principal_memberships/destroy.js.erb +0 -1
- data/spec/redmine/app/views/principal_memberships/new.html.erb +0 -6
- data/spec/redmine/app/views/principal_memberships/new.js.erb +0 -13
- data/spec/redmine/app/views/principal_memberships/update.js.erb +0 -6
- data/spec/redmine/app/views/projects/_edit.html.erb +0 -4
- data/spec/redmine/app/views/projects/_form.html.erb +0 -102
- data/spec/redmine/app/views/projects/_members_box.html.erb +0 -8
- data/spec/redmine/app/views/projects/_sidebar.html.erb +0 -14
- data/spec/redmine/app/views/projects/copy.html.erb +0 -20
- data/spec/redmine/app/views/projects/destroy.html.erb +0 -19
- data/spec/redmine/app/views/projects/index.api.rsb +0 -19
- data/spec/redmine/app/views/projects/index.html.erb +0 -33
- data/spec/redmine/app/views/projects/new.html.erb +0 -7
- data/spec/redmine/app/views/projects/settings.html.erb +0 -5
- data/spec/redmine/app/views/projects/settings/_activities.html.erb +0 -42
- data/spec/redmine/app/views/projects/settings/_boards.html.erb +0 -36
- data/spec/redmine/app/views/projects/settings/_issue_categories.html.erb +0 -29
- data/spec/redmine/app/views/projects/settings/_members.html.erb +0 -62
- data/spec/redmine/app/views/projects/settings/_modules.html.erb +0 -18
- data/spec/redmine/app/views/projects/settings/_repositories.html.erb +0 -41
- data/spec/redmine/app/views/projects/settings/_versions.html.erb +0 -41
- data/spec/redmine/app/views/projects/settings/_wiki.html.erb +0 -19
- data/spec/redmine/app/views/projects/show.api.rsb +0 -16
- data/spec/redmine/app/views/projects/show.html.erb +0 -85
- data/spec/redmine/app/views/queries/_columns.html.erb +0 -40
- data/spec/redmine/app/views/queries/_filters.html.erb +0 -28
- data/spec/redmine/app/views/queries/_form.html.erb +0 -89
- data/spec/redmine/app/views/queries/edit.html.erb +0 -6
- data/spec/redmine/app/views/queries/index.api.rsb +0 -10
- data/spec/redmine/app/views/queries/index.html.erb +0 -25
- data/spec/redmine/app/views/queries/new.html.erb +0 -6
- data/spec/redmine/app/views/reports/_details.html.erb +0 -29
- data/spec/redmine/app/views/reports/_simple.html.erb +0 -23
- data/spec/redmine/app/views/reports/issue_report.html.erb +0 -33
- data/spec/redmine/app/views/reports/issue_report_details.html.erb +0 -7
- data/spec/redmine/app/views/repositories/_breadcrumbs.html.erb +0 -31
- data/spec/redmine/app/views/repositories/_dir_list.html.erb +0 -19
- data/spec/redmine/app/views/repositories/_dir_list_content.html.erb +0 -31
- data/spec/redmine/app/views/repositories/_form.html.erb +0 -31
- data/spec/redmine/app/views/repositories/_link_to_functions.html.erb +0 -19
- data/spec/redmine/app/views/repositories/_navigation.html.erb +0 -34
- data/spec/redmine/app/views/repositories/_related_issues.html.erb +0 -40
- data/spec/redmine/app/views/repositories/_revision_graph.html.erb +0 -18
- data/spec/redmine/app/views/repositories/_revisions.html.erb +0 -51
- data/spec/redmine/app/views/repositories/add_related_issue.js.erb +0 -7
- data/spec/redmine/app/views/repositories/annotate.html.erb +0 -46
- data/spec/redmine/app/views/repositories/changes.html.erb +0 -20
- data/spec/redmine/app/views/repositories/committers.html.erb +0 -42
- data/spec/redmine/app/views/repositories/diff.html.erb +0 -27
- data/spec/redmine/app/views/repositories/edit.html.erb +0 -5
- data/spec/redmine/app/views/repositories/entry.html.erb +0 -15
- data/spec/redmine/app/views/repositories/new.html.erb +0 -5
- data/spec/redmine/app/views/repositories/new.js.erb +0 -1
- data/spec/redmine/app/views/repositories/remove_related_issue.js.erb +0 -1
- data/spec/redmine/app/views/repositories/revision.html.erb +0 -103
- data/spec/redmine/app/views/repositories/revisions.html.erb +0 -34
- data/spec/redmine/app/views/repositories/show.html.erb +0 -77
- data/spec/redmine/app/views/repositories/stats.html.erb +0 -20
- data/spec/redmine/app/views/roles/_form.html.erb +0 -71
- data/spec/redmine/app/views/roles/edit.html.erb +0 -6
- data/spec/redmine/app/views/roles/index.api.rsb +0 -8
- data/spec/redmine/app/views/roles/index.html.erb +0 -34
- data/spec/redmine/app/views/roles/new.html.erb +0 -6
- data/spec/redmine/app/views/roles/permissions.html.erb +0 -55
- data/spec/redmine/app/views/roles/show.api.rsb +0 -9
- data/spec/redmine/app/views/search/index.html.erb +0 -77
- data/spec/redmine/app/views/settings/_authentication.html.erb +0 -44
- data/spec/redmine/app/views/settings/_display.html.erb +0 -30
- data/spec/redmine/app/views/settings/_general.html.erb +0 -42
- data/spec/redmine/app/views/settings/_issues.html.erb +0 -44
- data/spec/redmine/app/views/settings/_mail_handler.html.erb +0 -28
- data/spec/redmine/app/views/settings/_notifications.html.erb +0 -42
- data/spec/redmine/app/views/settings/_projects.html.erb +0 -20
- data/spec/redmine/app/views/settings/_repositories.html.erb +0 -158
- data/spec/redmine/app/views/settings/edit.html.erb +0 -5
- data/spec/redmine/app/views/settings/plugin.html.erb +0 -10
- data/spec/redmine/app/views/sudo_mode/_new_modal.html.erb +0 -18
- data/spec/redmine/app/views/sudo_mode/new.html.erb +0 -15
- data/spec/redmine/app/views/sudo_mode/new.js.erb +0 -4
- data/spec/redmine/app/views/timelog/_date_range.html.erb +0 -36
- data/spec/redmine/app/views/timelog/_form.html.erb +0 -47
- data/spec/redmine/app/views/timelog/_list.html.erb +0 -41
- data/spec/redmine/app/views/timelog/_report_criteria.html.erb +0 -19
- data/spec/redmine/app/views/timelog/bulk_edit.html.erb +0 -50
- data/spec/redmine/app/views/timelog/edit.html.erb +0 -6
- data/spec/redmine/app/views/timelog/index.api.rsb +0 -18
- data/spec/redmine/app/views/timelog/index.html.erb +0 -48
- data/spec/redmine/app/views/timelog/new.html.erb +0 -7
- data/spec/redmine/app/views/timelog/new.js.erb +0 -1
- data/spec/redmine/app/views/timelog/report.html.erb +0 -74
- data/spec/redmine/app/views/timelog/show.api.rsb +0 -14
- data/spec/redmine/app/views/trackers/_form.html.erb +0 -56
- data/spec/redmine/app/views/trackers/edit.html.erb +0 -5
- data/spec/redmine/app/views/trackers/fields.html.erb +0 -75
- data/spec/redmine/app/views/trackers/index.api.rsb +0 -9
- data/spec/redmine/app/views/trackers/index.html.erb +0 -39
- data/spec/redmine/app/views/trackers/new.html.erb +0 -5
- data/spec/redmine/app/views/users/_form.html.erb +0 -69
- data/spec/redmine/app/views/users/_general.html.erb +0 -7
- data/spec/redmine/app/views/users/_groups.html.erb +0 -9
- data/spec/redmine/app/views/users/_mail_notifications.html.erb +0 -30
- data/spec/redmine/app/views/users/_memberships.html.erb +0 -1
- data/spec/redmine/app/views/users/_preferences.html.erb +0 -6
- data/spec/redmine/app/views/users/destroy_membership.js.erb +0 -1
- data/spec/redmine/app/views/users/edit.html.erb +0 -10
- data/spec/redmine/app/views/users/edit_membership.js.erb +0 -6
- data/spec/redmine/app/views/users/index.api.rsb +0 -15
- data/spec/redmine/app/views/users/index.html.erb +0 -58
- data/spec/redmine/app/views/users/new.html.erb +0 -30
- data/spec/redmine/app/views/users/show.api.rsb +0 -37
- data/spec/redmine/app/views/users/show.html.erb +0 -75
- data/spec/redmine/app/views/versions/_form.html.erb +0 -16
- data/spec/redmine/app/views/versions/_issue_counts.html.erb +0 -33
- data/spec/redmine/app/views/versions/_new_modal.html.erb +0 -9
- data/spec/redmine/app/views/versions/_overview.html.erb +0 -33
- data/spec/redmine/app/views/versions/create.js.erb +0 -3
- data/spec/redmine/app/views/versions/edit.html.erb +0 -7
- data/spec/redmine/app/views/versions/index.api.rsb +0 -19
- data/spec/redmine/app/views/versions/index.html.erb +0 -97
- data/spec/redmine/app/views/versions/new.html.erb +0 -6
- data/spec/redmine/app/views/versions/new.js.erb +0 -2
- data/spec/redmine/app/views/versions/show.api.rsb +0 -15
- data/spec/redmine/app/views/versions/show.html.erb +0 -55
- data/spec/redmine/app/views/versions/status_by.js.erb +0 -1
- data/spec/redmine/app/views/watchers/_new.html.erb +0 -27
- data/spec/redmine/app/views/watchers/_set_watcher.js.erb +0 -3
- data/spec/redmine/app/views/watchers/_watchers.html.erb +0 -12
- data/spec/redmine/app/views/watchers/append.js.erb +0 -4
- data/spec/redmine/app/views/watchers/autocomplete_for_user.html.erb +0 -1
- data/spec/redmine/app/views/watchers/create.js.erb +0 -2
- data/spec/redmine/app/views/watchers/destroy.js.erb +0 -1
- data/spec/redmine/app/views/watchers/new.js.erb +0 -3
- data/spec/redmine/app/views/welcome/index.html.erb +0 -41
- data/spec/redmine/app/views/welcome/robots.html.erb +0 -10
- data/spec/redmine/app/views/wiki/_content.html.erb +0 -4
- data/spec/redmine/app/views/wiki/_sidebar.html.erb +0 -12
- data/spec/redmine/app/views/wiki/annotate.html.erb +0 -40
- data/spec/redmine/app/views/wiki/date_index.html.erb +0 -36
- data/spec/redmine/app/views/wiki/destroy.html.erb +0 -22
- data/spec/redmine/app/views/wiki/diff.html.erb +0 -29
- data/spec/redmine/app/views/wiki/edit.html.erb +0 -47
- data/spec/redmine/app/views/wiki/export.html.erb +0 -21
- data/spec/redmine/app/views/wiki/export.pdf.erb +0 -1
- data/spec/redmine/app/views/wiki/export_multiple.html.erb +0 -34
- data/spec/redmine/app/views/wiki/history.html.erb +0 -40
- data/spec/redmine/app/views/wiki/index.api.rsb +0 -13
- data/spec/redmine/app/views/wiki/index.html.erb +0 -35
- data/spec/redmine/app/views/wiki/rename.html.erb +0 -26
- data/spec/redmine/app/views/wiki/show.api.rsb +0 -18
- data/spec/redmine/app/views/wiki/show.html.erb +0 -75
- data/spec/redmine/app/views/wiki/show.pdf.erb +0 -1
- data/spec/redmine/app/views/wikis/destroy.html.erb +0 -10
- data/spec/redmine/app/views/wikis/edit.js.erb +0 -1
- data/spec/redmine/app/views/workflows/_action_menu.html.erb +0 -4
- data/spec/redmine/app/views/workflows/_form.html.erb +0 -40
- data/spec/redmine/app/views/workflows/copy.html.erb +0 -38
- data/spec/redmine/app/views/workflows/edit.html.erb +0 -75
- data/spec/redmine/app/views/workflows/index.html.erb +0 -33
- data/spec/redmine/app/views/workflows/permissions.html.erb +0 -123
- data/spec/redmine/bin/about +0 -6
- data/spec/redmine/bin/bundle +0 -3
- data/spec/redmine/bin/rails +0 -4
- data/spec/redmine/bin/rake +0 -5
- data/spec/redmine/config.ru +0 -4
- data/spec/redmine/config/additional_environment.rb.example +0 -10
- data/spec/redmine/config/application.rb +0 -73
- data/spec/redmine/config/boot.rb +0 -5
- data/spec/redmine/config/configuration.yml.example +0 -221
- data/spec/redmine/config/database.yml +0 -25
- data/spec/redmine/config/database.yml.example +0 -51
- data/spec/redmine/config/environment.rb +0 -14
- data/spec/redmine/config/environments/development.rb +0 -21
- data/spec/redmine/config/environments/production.rb +0 -25
- data/spec/redmine/config/environments/test.rb +0 -35
- data/spec/redmine/config/environments/test_pgsql.rb +0 -2
- data/spec/redmine/config/environments/test_sqlite3.rb +0 -2
- data/spec/redmine/config/initializers/00-core_plugins.rb +0 -15
- data/spec/redmine/config/initializers/10-patches.rb +0 -180
- data/spec/redmine/config/initializers/20-mime_types.rb +0 -4
- data/spec/redmine/config/initializers/30-redmine.rb +0 -30
- data/spec/redmine/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/redmine/config/initializers/inflections.rb +0 -10
- data/spec/redmine/config/locales/ar.yml +0 -1157
- data/spec/redmine/config/locales/az.yml +0 -1254
- data/spec/redmine/config/locales/bg.yml +0 -1150
- data/spec/redmine/config/locales/bs.yml +0 -1170
- data/spec/redmine/config/locales/ca.yml +0 -1159
- data/spec/redmine/config/locales/cs.yml +0 -1159
- data/spec/redmine/config/locales/da.yml +0 -1174
- data/spec/redmine/config/locales/de.yml +0 -1166
- data/spec/redmine/config/locales/el.yml +0 -1157
- data/spec/redmine/config/locales/en-GB.yml +0 -1159
- data/spec/redmine/config/locales/en.yml +0 -1146
- data/spec/redmine/config/locales/es-PA.yml +0 -1191
- data/spec/redmine/config/locales/es.yml +0 -1189
- data/spec/redmine/config/locales/et.yml +0 -1170
- data/spec/redmine/config/locales/eu.yml +0 -1158
- data/spec/redmine/config/locales/fa.yml +0 -1158
- data/spec/redmine/config/locales/fi.yml +0 -1178
- data/spec/redmine/config/locales/fr.yml +0 -1166
- data/spec/redmine/config/locales/gl.yml +0 -1165
- data/spec/redmine/config/locales/he.yml +0 -1162
- data/spec/redmine/config/locales/hr.yml +0 -1158
- data/spec/redmine/config/locales/hu.yml +0 -1176
- data/spec/redmine/config/locales/id.yml +0 -1161
- data/spec/redmine/config/locales/it.yml +0 -1152
- data/spec/redmine/config/locales/ja.yml +0 -1172
- data/spec/redmine/config/locales/ko.yml +0 -1201
- data/spec/redmine/config/locales/lt.yml +0 -1216
- data/spec/redmine/config/locales/lv.yml +0 -1151
- data/spec/redmine/config/locales/mk.yml +0 -1157
- data/spec/redmine/config/locales/mn.yml +0 -1158
- data/spec/redmine/config/locales/nl.yml +0 -1136
- data/spec/redmine/config/locales/no.yml +0 -1147
- data/spec/redmine/config/locales/pl.yml +0 -1177
- data/spec/redmine/config/locales/pt-BR.yml +0 -1176
- data/spec/redmine/config/locales/pt.yml +0 -1162
- data/spec/redmine/config/locales/ro.yml +0 -1152
- data/spec/redmine/config/locales/ru.yml +0 -1262
- data/spec/redmine/config/locales/sk.yml +0 -1147
- data/spec/redmine/config/locales/sl.yml +0 -1157
- data/spec/redmine/config/locales/sq.yml +0 -1153
- data/spec/redmine/config/locales/sr-YU.yml +0 -1159
- data/spec/redmine/config/locales/sr.yml +0 -1158
- data/spec/redmine/config/locales/sv.yml +0 -1190
- data/spec/redmine/config/locales/th.yml +0 -1154
- data/spec/redmine/config/locales/tr.yml +0 -1166
- data/spec/redmine/config/locales/uk.yml +0 -1152
- data/spec/redmine/config/locales/vi.yml +0 -1210
- data/spec/redmine/config/locales/zh-TW.yml +0 -1233
- data/spec/redmine/config/locales/zh.yml +0 -1158
- data/spec/redmine/config/routes.rb +0 -366
- data/spec/redmine/config/settings.yml +0 -252
- data/spec/redmine/db/migrate/001_setup.rb +0 -329
- data/spec/redmine/db/migrate/002_issue_move.rb +0 -12
- data/spec/redmine/db/migrate/003_issue_add_note.rb +0 -12
- data/spec/redmine/db/migrate/004_export_pdf.rb +0 -14
- data/spec/redmine/db/migrate/005_issue_start_date.rb +0 -11
- data/spec/redmine/db/migrate/006_calendar_and_activity.rb +0 -16
- data/spec/redmine/db/migrate/007_create_journals.rb +0 -56
- data/spec/redmine/db/migrate/008_create_user_preferences.rb +0 -12
- data/spec/redmine/db/migrate/009_add_hide_mail_pref.rb +0 -9
- data/spec/redmine/db/migrate/010_create_comments.rb +0 -16
- data/spec/redmine/db/migrate/011_add_news_comments_count.rb +0 -9
- data/spec/redmine/db/migrate/012_add_comments_permissions.rb +0 -14
- data/spec/redmine/db/migrate/013_create_queries.rb +0 -15
- data/spec/redmine/db/migrate/014_add_queries_permissions.rb +0 -12
- data/spec/redmine/db/migrate/015_create_repositories.rb +0 -12
- data/spec/redmine/db/migrate/016_add_repositories_permissions.rb +0 -22
- data/spec/redmine/db/migrate/017_create_settings.rb +0 -12
- data/spec/redmine/db/migrate/018_set_doc_and_files_notifications.rb +0 -18
- data/spec/redmine/db/migrate/019_add_issue_status_position.rb +0 -10
- data/spec/redmine/db/migrate/020_add_role_position.rb +0 -10
- data/spec/redmine/db/migrate/021_add_tracker_position.rb +0 -10
- data/spec/redmine/db/migrate/022_serialize_possibles_values.rb +0 -13
- data/spec/redmine/db/migrate/023_add_tracker_is_in_roadmap.rb +0 -9
- data/spec/redmine/db/migrate/024_add_roadmap_permission.rb +0 -12
- data/spec/redmine/db/migrate/025_add_search_permission.rb +0 -12
- data/spec/redmine/db/migrate/026_add_repository_login_and_password.rb +0 -11
- data/spec/redmine/db/migrate/027_create_wikis.rb +0 -14
- data/spec/redmine/db/migrate/028_create_wiki_pages.rb +0 -14
- data/spec/redmine/db/migrate/029_create_wiki_contents.rb +0 -30
- data/spec/redmine/db/migrate/030_add_projects_feeds_permissions.rb +0 -12
- data/spec/redmine/db/migrate/031_add_repository_root_url.rb +0 -9
- data/spec/redmine/db/migrate/032_create_time_entries.rb +0 -24
- data/spec/redmine/db/migrate/033_add_timelog_permissions.rb +0 -12
- data/spec/redmine/db/migrate/034_create_changesets.rb +0 -16
- data/spec/redmine/db/migrate/035_create_changes.rb +0 -16
- data/spec/redmine/db/migrate/036_add_changeset_commit_date.rb +0 -10
- data/spec/redmine/db/migrate/037_add_project_identifier.rb +0 -9
- data/spec/redmine/db/migrate/038_add_custom_field_is_filter.rb +0 -9
- data/spec/redmine/db/migrate/039_create_watchers.rb +0 -13
- data/spec/redmine/db/migrate/040_create_changesets_issues.rb +0 -13
- data/spec/redmine/db/migrate/041_rename_comment_to_comments.rb +0 -13
- data/spec/redmine/db/migrate/042_create_issue_relations.rb +0 -14
- data/spec/redmine/db/migrate/043_add_relations_permissions.rb +0 -14
- data/spec/redmine/db/migrate/044_set_language_length_to_five.rb +0 -9
- data/spec/redmine/db/migrate/045_create_boards.rb +0 -18
- data/spec/redmine/db/migrate/046_create_messages.rb +0 -21
- data/spec/redmine/db/migrate/047_add_boards_permissions.rb +0 -16
- data/spec/redmine/db/migrate/048_allow_null_version_effective_date.rb +0 -9
- data/spec/redmine/db/migrate/049_add_wiki_destroy_page_permission.rb +0 -12
- data/spec/redmine/db/migrate/050_add_wiki_attachments_permissions.rb +0 -14
- data/spec/redmine/db/migrate/051_add_project_status.rb +0 -9
- data/spec/redmine/db/migrate/052_add_changes_revision.rb +0 -9
- data/spec/redmine/db/migrate/053_add_changes_branch.rb +0 -9
- data/spec/redmine/db/migrate/054_add_changesets_scmid.rb +0 -9
- data/spec/redmine/db/migrate/055_add_repositories_type.rb +0 -11
- data/spec/redmine/db/migrate/056_add_repositories_changes_permission.rb +0 -12
- data/spec/redmine/db/migrate/057_add_versions_wiki_page_title.rb +0 -9
- data/spec/redmine/db/migrate/058_add_issue_categories_assigned_to_id.rb +0 -9
- data/spec/redmine/db/migrate/059_add_roles_assignable.rb +0 -9
- data/spec/redmine/db/migrate/060_change_changesets_committer_limit.rb +0 -9
- data/spec/redmine/db/migrate/061_add_roles_builtin.rb +0 -9
- data/spec/redmine/db/migrate/062_insert_builtin_roles.rb +0 -16
- data/spec/redmine/db/migrate/063_add_roles_permissions.rb +0 -9
- data/spec/redmine/db/migrate/064_drop_permissions.rb +0 -10
- data/spec/redmine/db/migrate/065_add_settings_updated_on.rb +0 -11
- data/spec/redmine/db/migrate/066_add_custom_value_customized_index.rb +0 -9
- data/spec/redmine/db/migrate/067_create_wiki_redirects.rb +0 -15
- data/spec/redmine/db/migrate/068_create_enabled_modules.rb +0 -18
- data/spec/redmine/db/migrate/069_add_issues_estimated_hours.rb +0 -9
- data/spec/redmine/db/migrate/070_change_attachments_content_type_limit.rb +0 -9
- data/spec/redmine/db/migrate/071_add_queries_column_names.rb +0 -9
- data/spec/redmine/db/migrate/072_add_enumerations_position.rb +0 -15
- data/spec/redmine/db/migrate/073_add_enumerations_is_default.rb +0 -9
- data/spec/redmine/db/migrate/074_add_auth_sources_tls.rb +0 -9
- data/spec/redmine/db/migrate/075_add_members_mail_notification.rb +0 -9
- data/spec/redmine/db/migrate/076_allow_null_position.rb +0 -16
- data/spec/redmine/db/migrate/077_remove_issue_statuses_html_color.rb +0 -9
- data/spec/redmine/db/migrate/078_add_custom_fields_position.rb +0 -15
- data/spec/redmine/db/migrate/079_add_user_preferences_time_zone.rb +0 -9
- data/spec/redmine/db/migrate/080_add_users_type.rb +0 -10
- data/spec/redmine/db/migrate/081_create_projects_trackers.rb +0 -19
- data/spec/redmine/db/migrate/082_add_messages_locked.rb +0 -9
- data/spec/redmine/db/migrate/083_add_messages_sticky.rb +0 -9
- data/spec/redmine/db/migrate/084_change_auth_sources_account_limit.rb +0 -9
- data/spec/redmine/db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb +0 -9
- data/spec/redmine/db/migrate/086_add_custom_fields_searchable.rb +0 -9
- data/spec/redmine/db/migrate/087_change_projects_description_to_text.rb +0 -8
- data/spec/redmine/db/migrate/088_add_custom_fields_default_value.rb +0 -9
- data/spec/redmine/db/migrate/089_add_attachments_description.rb +0 -9
- data/spec/redmine/db/migrate/090_change_versions_name_limit.rb +0 -9
- data/spec/redmine/db/migrate/091_change_changesets_revision_to_string.rb +0 -32
- data/spec/redmine/db/migrate/092_change_changes_from_revision_to_string.rb +0 -9
- data/spec/redmine/db/migrate/093_add_wiki_pages_protected.rb +0 -9
- data/spec/redmine/db/migrate/094_change_projects_homepage_limit.rb +0 -9
- data/spec/redmine/db/migrate/095_add_wiki_pages_parent_id.rb +0 -9
- data/spec/redmine/db/migrate/096_add_commit_access_permission.rb +0 -13
- data/spec/redmine/db/migrate/097_add_view_wiki_edits_permission.rb +0 -13
- data/spec/redmine/db/migrate/098_set_topic_authors_as_watchers.rb +0 -15
- data/spec/redmine/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb +0 -13
- data/spec/redmine/db/migrate/100_add_changesets_user_id.rb +0 -9
- data/spec/redmine/db/migrate/101_populate_changesets_user_id.rb +0 -18
- data/spec/redmine/db/migrate/102_add_custom_fields_editable.rb +0 -9
- data/spec/redmine/db/migrate/103_set_custom_fields_editable.rb +0 -9
- data/spec/redmine/db/migrate/104_add_projects_lft_and_rgt.rb +0 -11
- data/spec/redmine/db/migrate/105_build_projects_tree.rb +0 -8
- data/spec/redmine/db/migrate/106_remove_projects_projects_count.rb +0 -9
- data/spec/redmine/db/migrate/107_add_open_id_authentication_tables.rb +0 -20
- data/spec/redmine/db/migrate/108_add_identity_url_to_users.rb +0 -9
- data/spec/redmine/db/migrate/20090214190337_add_watchers_user_id_type_index.rb +0 -9
- data/spec/redmine/db/migrate/20090312172426_add_queries_sort_criteria.rb +0 -9
- data/spec/redmine/db/migrate/20090312194159_add_projects_trackers_unique_index.rb +0 -21
- data/spec/redmine/db/migrate/20090318181151_extend_settings_name.rb +0 -9
- data/spec/redmine/db/migrate/20090323224724_add_type_to_enumerations.rb +0 -9
- data/spec/redmine/db/migrate/20090401221305_update_enumerations_to_sti.rb +0 -11
- data/spec/redmine/db/migrate/20090401231134_add_active_field_to_enumerations.rb +0 -9
- data/spec/redmine/db/migrate/20090403001910_add_project_to_enumerations.rb +0 -11
- data/spec/redmine/db/migrate/20090406161854_add_parent_id_to_enumerations.rb +0 -9
- data/spec/redmine/db/migrate/20090425161243_add_queries_group_by.rb +0 -9
- data/spec/redmine/db/migrate/20090503121501_create_member_roles.rb +0 -12
- data/spec/redmine/db/migrate/20090503121505_populate_member_roles.rb +0 -12
- data/spec/redmine/db/migrate/20090503121510_drop_members_role_id.rb +0 -9
- data/spec/redmine/db/migrate/20090614091200_fix_messages_sticky_null.rb +0 -9
- data/spec/redmine/db/migrate/20090704172350_populate_users_type.rb +0 -8
- data/spec/redmine/db/migrate/20090704172355_create_groups_users.rb +0 -13
- data/spec/redmine/db/migrate/20090704172358_add_member_roles_inherited_from.rb +0 -9
- data/spec/redmine/db/migrate/20091010093521_fix_users_custom_values.rb +0 -11
- data/spec/redmine/db/migrate/20091017212227_add_missing_indexes_to_workflows.rb +0 -13
- data/spec/redmine/db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb +0 -9
- data/spec/redmine/db/migrate/20091017212644_add_missing_indexes_to_messages.rb +0 -11
- data/spec/redmine/db/migrate/20091017212938_add_missing_indexes_to_repositories.rb +0 -9
- data/spec/redmine/db/migrate/20091017213027_add_missing_indexes_to_comments.rb +0 -11
- data/spec/redmine/db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb +0 -9
- data/spec/redmine/db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb +0 -11
- data/spec/redmine/db/migrate/20091017213228_add_missing_indexes_to_watchers.rb +0 -11
- data/spec/redmine/db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb +0 -9
- data/spec/redmine/db/migrate/20091017213332_add_missing_indexes_to_documents.rb +0 -9
- data/spec/redmine/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb +0 -9
- data/spec/redmine/db/migrate/20091017213536_add_missing_indexes_to_changesets.rb +0 -11
- data/spec/redmine/db/migrate/20091017213642_add_missing_indexes_to_issue_categories.rb +0 -9
- data/spec/redmine/db/migrate/20091017213716_add_missing_indexes_to_member_roles.rb +0 -11
- data/spec/redmine/db/migrate/20091017213757_add_missing_indexes_to_boards.rb +0 -9
- data/spec/redmine/db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb +0 -9
- data/spec/redmine/db/migrate/20091017213910_add_missing_indexes_to_issues.rb +0 -21
- data/spec/redmine/db/migrate/20091017214015_add_missing_indexes_to_members.rb +0 -11
- data/spec/redmine/db/migrate/20091017214107_add_missing_indexes_to_custom_fields.rb +0 -9
- data/spec/redmine/db/migrate/20091017214136_add_missing_indexes_to_queries.rb +0 -11
- data/spec/redmine/db/migrate/20091017214236_add_missing_indexes_to_time_entries.rb +0 -11
- data/spec/redmine/db/migrate/20091017214308_add_missing_indexes_to_news.rb +0 -9
- data/spec/redmine/db/migrate/20091017214336_add_missing_indexes_to_users.rb +0 -11
- data/spec/redmine/db/migrate/20091017214406_add_missing_indexes_to_attachments.rb +0 -11
- data/spec/redmine/db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb +0 -9
- data/spec/redmine/db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb +0 -9
- data/spec/redmine/db/migrate/20091017214611_add_missing_indexes_to_journals.rb +0 -11
- data/spec/redmine/db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb +0 -11
- data/spec/redmine/db/migrate/20091017214720_add_missing_indexes_to_wiki_redirects.rb +0 -9
- data/spec/redmine/db/migrate/20091017214750_add_missing_indexes_to_custom_fields_trackers.rb +0 -9
- data/spec/redmine/db/migrate/20091025163651_add_activity_indexes.rb +0 -25
- data/spec/redmine/db/migrate/20091108092559_add_versions_status.rb +0 -10
- data/spec/redmine/db/migrate/20091114105931_add_view_issues_permission.rb +0 -15
- data/spec/redmine/db/migrate/20091123212029_add_default_done_ratio_to_issue_status.rb +0 -9
- data/spec/redmine/db/migrate/20091205124427_add_versions_sharing.rb +0 -10
- data/spec/redmine/db/migrate/20091220183509_add_lft_and_rgt_indexes_to_projects.rb +0 -11
- data/spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb +0 -9
- data/spec/redmine/db/migrate/20091220184736_add_indexes_to_issue_status.rb +0 -13
- data/spec/redmine/db/migrate/20091225164732_remove_enumerations_opt.rb +0 -12
- data/spec/redmine/db/migrate/20091227112908_change_wiki_contents_text_limit.rb +0 -16
- data/spec/redmine/db/migrate/20100129193402_change_users_mail_notification_to_string.rb +0 -21
- data/spec/redmine/db/migrate/20100129193813_update_mail_notification_values.rb +0 -11
- data/spec/redmine/db/migrate/20100221100219_add_index_on_changesets_scmid.rb +0 -9
- data/spec/redmine/db/migrate/20100313132032_add_issues_nested_sets_columns.rb +0 -17
- data/spec/redmine/db/migrate/20100313171051_add_index_on_issues_nested_set.rb +0 -9
- data/spec/redmine/db/migrate/20100705164950_change_changes_path_length_limit.rb +0 -14
- data/spec/redmine/db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb +0 -12
- data/spec/redmine/db/migrate/20101104182107_add_unique_index_on_members.rb +0 -22
- data/spec/redmine/db/migrate/20101107130441_add_custom_fields_visible.rb +0 -10
- data/spec/redmine/db/migrate/20101114115114_change_projects_name_limit.rb +0 -9
- data/spec/redmine/db/migrate/20101114115359_change_projects_identifier_limit.rb +0 -9
- data/spec/redmine/db/migrate/20110220160626_add_workflows_assignee_and_author.rb +0 -14
- data/spec/redmine/db/migrate/20110223180944_add_users_salt.rb +0 -9
- data/spec/redmine/db/migrate/20110223180953_salt_user_passwords.rb +0 -13
- data/spec/redmine/db/migrate/20110224000000_add_repositories_path_encoding.rb +0 -9
- data/spec/redmine/db/migrate/20110226120112_change_repositories_password_limit.rb +0 -9
- data/spec/redmine/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb +0 -9
- data/spec/redmine/db/migrate/20110227125750_change_journal_details_values_to_text.rb +0 -11
- data/spec/redmine/db/migrate/20110228000000_add_repositories_log_encoding.rb +0 -9
- data/spec/redmine/db/migrate/20110228000100_copy_repositories_log_encoding.rb +0 -12
- data/spec/redmine/db/migrate/20110401192910_add_index_to_users_type.rb +0 -9
- data/spec/redmine/db/migrate/20110408103312_add_roles_issues_visibility.rb +0 -9
- data/spec/redmine/db/migrate/20110412065600_add_issues_is_private.rb +0 -9
- data/spec/redmine/db/migrate/20110511000000_add_repositories_extra_info.rb +0 -9
- data/spec/redmine/db/migrate/20110902000000_create_changeset_parents.rb +0 -14
- data/spec/redmine/db/migrate/20111201201315_add_unique_index_to_issue_relations.rb +0 -16
- data/spec/redmine/db/migrate/20120115143024_add_repositories_identifier.rb +0 -9
- data/spec/redmine/db/migrate/20120115143100_add_repositories_is_default.rb +0 -9
- data/spec/redmine/db/migrate/20120115143126_set_default_repositories.rb +0 -14
- data/spec/redmine/db/migrate/20120127174243_add_custom_fields_multiple.rb +0 -9
- data/spec/redmine/db/migrate/20120205111326_change_users_login_limit.rb +0 -9
- data/spec/redmine/db/migrate/20120223110929_change_attachments_container_defaults.rb +0 -25
- data/spec/redmine/db/migrate/20120301153455_add_auth_sources_filter.rb +0 -9
- data/spec/redmine/db/migrate/20120422150750_change_repositories_to_full_sti.rb +0 -22
- data/spec/redmine/db/migrate/20120705074331_add_trackers_fields_bits.rb +0 -9
- data/spec/redmine/db/migrate/20120707064544_add_auth_sources_timeout.rb +0 -9
- data/spec/redmine/db/migrate/20120714122000_add_workflows_type.rb +0 -9
- data/spec/redmine/db/migrate/20120714122100_update_workflows_to_sti.rb +0 -9
- data/spec/redmine/db/migrate/20120714122200_add_workflows_rule_fields.rb +0 -11
- data/spec/redmine/db/migrate/20120731164049_add_boards_parent_id.rb +0 -9
- data/spec/redmine/db/migrate/20120930112914_add_journals_private_notes.rb +0 -9
- data/spec/redmine/db/migrate/20121026002032_add_enumerations_position_name.rb +0 -9
- data/spec/redmine/db/migrate/20121026003537_populate_enumerations_position_name.rb +0 -9
- data/spec/redmine/db/migrate/20121209123234_add_queries_type.rb +0 -9
- data/spec/redmine/db/migrate/20121209123358_update_queries_to_sti.rb +0 -9
- data/spec/redmine/db/migrate/20121213084931_add_attachments_disk_directory.rb +0 -9
- data/spec/redmine/db/migrate/20130110122628_split_documents_permissions.rb +0 -23
- data/spec/redmine/db/migrate/20130201184705_add_unique_index_on_tokens_value.rb +0 -15
- data/spec/redmine/db/migrate/20130202090625_add_projects_inherit_members.rb +0 -9
- data/spec/redmine/db/migrate/20130207175206_add_unique_index_on_custom_fields_trackers.rb +0 -24
- data/spec/redmine/db/migrate/20130207181455_add_unique_index_on_custom_fields_projects.rb +0 -24
- data/spec/redmine/db/migrate/20130215073721_change_users_lastname_length_to_255.rb +0 -9
- data/spec/redmine/db/migrate/20130215111127_add_issues_closed_on.rb +0 -9
- data/spec/redmine/db/migrate/20130215111141_populate_issues_closed_on.rb +0 -26
- data/spec/redmine/db/migrate/20130217094251_remove_issues_default_fk_values.rb +0 -19
- data/spec/redmine/db/migrate/20130602092539_create_queries_roles.rb +0 -13
- data/spec/redmine/db/migrate/20130710182539_add_queries_visibility.rb +0 -13
- data/spec/redmine/db/migrate/20130713104233_create_custom_fields_roles.rb +0 -14
- data/spec/redmine/db/migrate/20130713111657_add_queries_options.rb +0 -9
- data/spec/redmine/db/migrate/20130729070143_add_users_must_change_passwd.rb +0 -9
- data/spec/redmine/db/migrate/20130911193200_remove_eols_from_attachments_filename.rb +0 -12
- data/spec/redmine/db/migrate/20131004113137_support_for_multiple_commit_keywords.rb +0 -17
- data/spec/redmine/db/migrate/20131005100610_add_repositories_created_on.rb +0 -9
- data/spec/redmine/db/migrate/20131124175346_add_custom_fields_format_store.rb +0 -9
- data/spec/redmine/db/migrate/20131210180802_add_custom_fields_description.rb +0 -9
- data/spec/redmine/db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb +0 -15
- data/spec/redmine/db/migrate/20131215104612_store_relation_type_in_journal_details.rb +0 -26
- data/spec/redmine/db/migrate/20131218183023_delete_orphan_time_entries_custom_values.rb +0 -9
- data/spec/redmine/db/migrate/20140228130325_change_changesets_comments_limit.rb +0 -12
- data/spec/redmine/db/migrate/20140903143914_add_password_changed_at_to_user.rb +0 -5
- data/spec/redmine/db/migrate/20140920094058_insert_builtin_groups.rb +0 -21
- data/spec/redmine/db/migrate/20141029181752_add_trackers_default_status_id.rb +0 -15
- data/spec/redmine/db/migrate/20141029181824_remove_issue_statuses_is_default.rb +0 -12
- data/spec/redmine/db/migrate/20141109112308_add_roles_users_visibility.rb +0 -9
- data/spec/redmine/db/migrate/20141122124142_add_wiki_redirects_redirects_to_wiki_id.rb +0 -11
- data/spec/redmine/db/migrate/20150113194759_create_email_addresses.rb +0 -12
- data/spec/redmine/db/migrate/20150113211532_populate_email_addresses.rb +0 -14
- data/spec/redmine/db/migrate/20150113213922_remove_users_mail.rb +0 -13
- data/spec/redmine/db/migrate/20150113213955_add_email_addresses_user_id_index.rb +0 -9
- data/spec/redmine/db/migrate/20150208105930_replace_move_issues_permission.rb +0 -19
- data/spec/redmine/db/migrate/20150510083747_change_documents_title_limit.rb +0 -9
- data/spec/redmine/db/migrate/20150525103953_clear_estimated_hours_on_parent_issues.rb +0 -15
- data/spec/redmine/db/migrate/20150526183158_add_roles_time_entries_visibility.rb +0 -9
- data/spec/redmine/db/migrate/20150528084820_add_roles_all_roles_managed.rb +0 -5
- data/spec/redmine/db/migrate/20150528092912_create_roles_managed_roles.rb +0 -8
- data/spec/redmine/db/migrate/20150528093249_add_unique_index_on_roles_managed_roles.rb +0 -5
- data/spec/redmine/doc/CHANGELOG +0 -3019
- data/spec/redmine/doc/COPYING +0 -339
- data/spec/redmine/doc/INSTALL +0 -106
- data/spec/redmine/doc/README_FOR_APP +0 -28
- data/spec/redmine/doc/RUNNING_TESTS +0 -70
- data/spec/redmine/doc/UPGRADING +0 -84
- data/spec/redmine/extra/mail_handler/rdm-mailhandler.rb +0 -183
- data/spec/redmine/extra/sample_plugin/README +0 -15
- data/spec/redmine/extra/sample_plugin/app/controllers/example_controller.rb +0 -20
- data/spec/redmine/extra/sample_plugin/app/models/meeting.rb +0 -12
- data/spec/redmine/extra/sample_plugin/app/views/example/say_goodbye.html.erb +0 -7
- data/spec/redmine/extra/sample_plugin/app/views/example/say_hello.html.erb +0 -15
- data/spec/redmine/extra/sample_plugin/app/views/my/blocks/_sample_block.html.erb +0 -3
- data/spec/redmine/extra/sample_plugin/app/views/settings/_sample_plugin_settings.html.erb +0 -3
- data/spec/redmine/extra/sample_plugin/assets/images/it_works.png +0 -0
- data/spec/redmine/extra/sample_plugin/assets/stylesheets/example.css +0 -1
- data/spec/redmine/extra/sample_plugin/config/locales/en.yml +0 -6
- data/spec/redmine/extra/sample_plugin/config/locales/fr.yml +0 -6
- data/spec/redmine/extra/sample_plugin/config/routes.rb +0 -7
- data/spec/redmine/extra/sample_plugin/db/migrate/001_create_meetings.rb +0 -15
- data/spec/redmine/extra/sample_plugin/init.rb +0 -27
- data/spec/redmine/extra/sample_plugin/test/integration/routing_test.rb +0 -12
- data/spec/redmine/extra/svn/Redmine.pm +0 -554
- data/spec/redmine/extra/svn/reposman.rb +0 -289
- data/spec/redmine/files/delete.me +0 -1
- data/spec/redmine/lib/SVG/GPL.txt +0 -340
- data/spec/redmine/lib/SVG/Graph/Bar.rb +0 -148
- data/spec/redmine/lib/SVG/Graph/BarBase.rb +0 -139
- data/spec/redmine/lib/SVG/Graph/BarHorizontal.rb +0 -149
- data/spec/redmine/lib/SVG/Graph/Graph.rb +0 -977
- data/spec/redmine/lib/SVG/Graph/Line.rb +0 -444
- data/spec/redmine/lib/SVG/Graph/Pie.rb +0 -395
- data/spec/redmine/lib/SVG/Graph/Plot.rb +0 -500
- data/spec/redmine/lib/SVG/Graph/Schedule.rb +0 -373
- data/spec/redmine/lib/SVG/Graph/TimeSeries.rb +0 -238
- data/spec/redmine/lib/SVG/LICENSE.txt +0 -57
- data/spec/redmine/lib/diff.rb +0 -282
- data/spec/redmine/lib/generators/redmine_plugin/USAGE +0 -26
- data/spec/redmine/lib/generators/redmine_plugin/redmine_plugin_generator.rb +0 -37
- data/spec/redmine/lib/generators/redmine_plugin/templates/README.rdoc +0 -3
- data/spec/redmine/lib/generators/redmine_plugin/templates/en_rails_i18n.yml +0 -3
- data/spec/redmine/lib/generators/redmine_plugin/templates/init.rb.erb +0 -8
- data/spec/redmine/lib/generators/redmine_plugin/templates/routes.rb +0 -2
- data/spec/redmine/lib/generators/redmine_plugin/templates/test_helper.rb.erb +0 -2
- data/spec/redmine/lib/generators/redmine_plugin_controller/USAGE +0 -5
- data/spec/redmine/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb +0 -27
- data/spec/redmine/lib/generators/redmine_plugin_controller/templates/controller.rb.erb +0 -9
- data/spec/redmine/lib/generators/redmine_plugin_controller/templates/functional_test.rb.erb +0 -8
- data/spec/redmine/lib/generators/redmine_plugin_controller/templates/helper.rb.erb +0 -2
- data/spec/redmine/lib/generators/redmine_plugin_controller/templates/view.html.erb +0 -1
- data/spec/redmine/lib/generators/redmine_plugin_model/USAGE +0 -5
- data/spec/redmine/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb +0 -41
- data/spec/redmine/lib/generators/redmine_plugin_model/templates/migration.rb +0 -15
- data/spec/redmine/lib/generators/redmine_plugin_model/templates/model.rb.erb +0 -3
- data/spec/redmine/lib/generators/redmine_plugin_model/templates/unit_test.rb.erb +0 -9
- data/spec/redmine/lib/plugins/acts_as_activity_provider/init.rb +0 -2
- data/spec/redmine/lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb +0 -87
- data/spec/redmine/lib/plugins/acts_as_attachable/init.rb +0 -2
- data/spec/redmine/lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb +0 -120
- data/spec/redmine/lib/plugins/acts_as_customizable/init.rb +0 -2
- data/spec/redmine/lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb +0 -170
- data/spec/redmine/lib/plugins/acts_as_event/init.rb +0 -2
- data/spec/redmine/lib/plugins/acts_as_event/lib/acts_as_event.rb +0 -96
- data/spec/redmine/lib/plugins/acts_as_list/README +0 -23
- data/spec/redmine/lib/plugins/acts_as_list/init.rb +0 -3
- data/spec/redmine/lib/plugins/acts_as_list/lib/active_record/acts/list.rb +0 -280
- data/spec/redmine/lib/plugins/acts_as_list/test/list_test.rb +0 -332
- data/spec/redmine/lib/plugins/acts_as_searchable/init.rb +0 -2
- data/spec/redmine/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb +0 -225
- data/spec/redmine/lib/plugins/acts_as_tree/README +0 -26
- data/spec/redmine/lib/plugins/acts_as_tree/Rakefile +0 -22
- data/spec/redmine/lib/plugins/acts_as_tree/init.rb +0 -1
- data/spec/redmine/lib/plugins/acts_as_tree/lib/active_record/acts/tree.rb +0 -109
- data/spec/redmine/lib/plugins/acts_as_tree/test/abstract_unit.rb +0 -0
- data/spec/redmine/lib/plugins/acts_as_tree/test/acts_as_tree_test.rb +0 -219
- data/spec/redmine/lib/plugins/acts_as_tree/test/database.yml +0 -0
- data/spec/redmine/lib/plugins/acts_as_tree/test/fixtures/mixin.rb +0 -0
- data/spec/redmine/lib/plugins/acts_as_tree/test/fixtures/mixins.yml +0 -0
- data/spec/redmine/lib/plugins/acts_as_tree/test/schema.rb +0 -0
- data/spec/redmine/lib/plugins/acts_as_versioned/CHANGELOG +0 -74
- data/spec/redmine/lib/plugins/acts_as_versioned/MIT-LICENSE +0 -20
- data/spec/redmine/lib/plugins/acts_as_versioned/README +0 -28
- data/spec/redmine/lib/plugins/acts_as_versioned/RUNNING_UNIT_TESTS +0 -41
- data/spec/redmine/lib/plugins/acts_as_versioned/Rakefile +0 -182
- data/spec/redmine/lib/plugins/acts_as_versioned/init.rb +0 -1
- data/spec/redmine/lib/plugins/acts_as_versioned/lib/acts_as_versioned.rb +0 -568
- data/spec/redmine/lib/plugins/acts_as_versioned/test/abstract_unit.rb +0 -41
- data/spec/redmine/lib/plugins/acts_as_versioned/test/database.yml +0 -18
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/authors.yml +0 -6
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/landmark.rb +0 -3
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/landmark_versions.yml +0 -7
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/landmarks.yml +0 -6
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/locked_pages.yml +0 -10
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/locked_pages_revisions.yml +0 -27
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/migrations/1_add_versioned_tables.rb +0 -13
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/page.rb +0 -43
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/page_versions.yml +0 -16
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/pages.yml +0 -7
- data/spec/redmine/lib/plugins/acts_as_versioned/test/fixtures/widget.rb +0 -6
- data/spec/redmine/lib/plugins/acts_as_versioned/test/migration_test.rb +0 -46
- data/spec/redmine/lib/plugins/acts_as_versioned/test/schema.rb +0 -68
- data/spec/redmine/lib/plugins/acts_as_versioned/test/versioned_test.rb +0 -347
- data/spec/redmine/lib/plugins/acts_as_watchable/init.rb +0 -3
- data/spec/redmine/lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb +0 -88
- data/spec/redmine/lib/plugins/gravatar/MIT-LICENSE +0 -20
- data/spec/redmine/lib/plugins/gravatar/README.rdoc +0 -55
- data/spec/redmine/lib/plugins/gravatar/Rakefile +0 -32
- data/spec/redmine/lib/plugins/gravatar/about.yml +0 -7
- data/spec/redmine/lib/plugins/gravatar/init.rb +0 -2
- data/spec/redmine/lib/plugins/gravatar/lib/gravatar.rb +0 -88
- data/spec/redmine/lib/plugins/gravatar/spec/gravatar_spec.rb +0 -43
- data/spec/redmine/lib/plugins/open_id_authentication/CHANGELOG +0 -37
- data/spec/redmine/lib/plugins/open_id_authentication/README +0 -223
- data/spec/redmine/lib/plugins/open_id_authentication/Rakefile +0 -22
- data/spec/redmine/lib/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb +0 -11
- data/spec/redmine/lib/plugins/open_id_authentication/generators/open_id_authentication_tables/templates/migration.rb +0 -20
- data/spec/redmine/lib/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/templates/migration.rb +0 -26
- data/spec/redmine/lib/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/upgrade_open_id_authentication_tables_generator.rb +0 -11
- data/spec/redmine/lib/plugins/open_id_authentication/init.rb +0 -12
- data/spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication.rb +0 -159
- data/spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/association.rb +0 -9
- data/spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/db_store.rb +0 -55
- data/spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/mem_cache_store.rb +0 -73
- data/spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/nonce.rb +0 -5
- data/spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/request.rb +0 -23
- data/spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb +0 -20
- data/spec/redmine/lib/plugins/open_id_authentication/lib/tasks/open_id_authentication_tasks.rake +0 -30
- data/spec/redmine/lib/plugins/open_id_authentication/test/mem_cache_store_test.rb +0 -151
- data/spec/redmine/lib/plugins/open_id_authentication/test/normalize_test.rb +0 -32
- data/spec/redmine/lib/plugins/open_id_authentication/test/open_id_authentication_test.rb +0 -46
- data/spec/redmine/lib/plugins/open_id_authentication/test/status_test.rb +0 -14
- data/spec/redmine/lib/plugins/open_id_authentication/test/test_helper.rb +0 -17
- data/spec/redmine/lib/redcloth3.rb +0 -1208
- data/spec/redmine/lib/redmine.rb +0 -274
- data/spec/redmine/lib/redmine/access_control.rb +0 -137
- data/spec/redmine/lib/redmine/access_keys.rb +0 -33
- data/spec/redmine/lib/redmine/activity.rb +0 -52
- data/spec/redmine/lib/redmine/activity/fetcher.rb +0 -110
- data/spec/redmine/lib/redmine/ciphering.rb +0 -103
- data/spec/redmine/lib/redmine/codeset_util.rb +0 -72
- data/spec/redmine/lib/redmine/configuration.rb +0 -128
- data/spec/redmine/lib/redmine/core_ext.rb +0 -1
- data/spec/redmine/lib/redmine/core_ext/active_record.rb +0 -27
- data/spec/redmine/lib/redmine/core_ext/date.rb +0 -5
- data/spec/redmine/lib/redmine/core_ext/date/calculations.rb +0 -35
- data/spec/redmine/lib/redmine/core_ext/string.rb +0 -11
- data/spec/redmine/lib/redmine/core_ext/string/conversions.rb +0 -42
- data/spec/redmine/lib/redmine/core_ext/string/inflections.rb +0 -29
- data/spec/redmine/lib/redmine/database.rb +0 -53
- data/spec/redmine/lib/redmine/default_data/loader.rb +0 -186
- data/spec/redmine/lib/redmine/export/csv.rb +0 -65
- data/spec/redmine/lib/redmine/export/pdf.rb +0 -153
- data/spec/redmine/lib/redmine/export/pdf/issues_pdf_helper.rb +0 -518
- data/spec/redmine/lib/redmine/export/pdf/wiki_pdf_helper.rb +0 -98
- data/spec/redmine/lib/redmine/field_format.rb +0 -718
- data/spec/redmine/lib/redmine/helpers/calendar.rb +0 -85
- data/spec/redmine/lib/redmine/helpers/diff.rb +0 -75
- data/spec/redmine/lib/redmine/helpers/gantt.rb +0 -929
- data/spec/redmine/lib/redmine/helpers/time_report.rb +0 -152
- data/spec/redmine/lib/redmine/hook.rb +0 -175
- data/spec/redmine/lib/redmine/i18n.rb +0 -195
- data/spec/redmine/lib/redmine/imap.rb +0 -66
- data/spec/redmine/lib/redmine/info.rb +0 -37
- data/spec/redmine/lib/redmine/menu_manager.rb +0 -454
- data/spec/redmine/lib/redmine/mime_type.rb +0 -89
- data/spec/redmine/lib/redmine/nested_set/issue_nested_set.rb +0 -200
- data/spec/redmine/lib/redmine/nested_set/project_nested_set.rb +0 -159
- data/spec/redmine/lib/redmine/nested_set/traversing.rb +0 -124
- data/spec/redmine/lib/redmine/notifiable.rb +0 -27
- data/spec/redmine/lib/redmine/pagination.rb +0 -246
- data/spec/redmine/lib/redmine/platform.rb +0 -27
- data/spec/redmine/lib/redmine/plugin.rb +0 -504
- data/spec/redmine/lib/redmine/pop3.rb +0 -74
- data/spec/redmine/lib/redmine/safe_attributes.rb +0 -87
- data/spec/redmine/lib/redmine/scm/adapters.rb +0 -25
- data/spec/redmine/lib/redmine/scm/adapters/abstract_adapter.rb +0 -435
- data/spec/redmine/lib/redmine/scm/adapters/bazaar_adapter.rb +0 -338
- data/spec/redmine/lib/redmine/scm/adapters/cvs_adapter.rb +0 -459
- data/spec/redmine/lib/redmine/scm/adapters/darcs_adapter.rb +0 -239
- data/spec/redmine/lib/redmine/scm/adapters/filesystem_adapter.rb +0 -118
- data/spec/redmine/lib/redmine/scm/adapters/git_adapter.rb +0 -408
- data/spec/redmine/lib/redmine/scm/adapters/mercurial/hg-template-1.0.tmpl +0 -12
- data/spec/redmine/lib/redmine/scm/adapters/mercurial/redminehelper.py +0 -225
- data/spec/redmine/lib/redmine/scm/adapters/mercurial_adapter.rb +0 -329
- data/spec/redmine/lib/redmine/scm/adapters/subversion_adapter.rb +0 -276
- data/spec/redmine/lib/redmine/scm/base.rb +0 -23
- data/spec/redmine/lib/redmine/search.rb +0 -173
- data/spec/redmine/lib/redmine/subclass_factory.rb +0 -47
- data/spec/redmine/lib/redmine/sudo_mode.rb +0 -224
- data/spec/redmine/lib/redmine/syntax_highlighting.rb +0 -66
- data/spec/redmine/lib/redmine/themes.rb +0 -143
- data/spec/redmine/lib/redmine/thumbnail.rb +0 -55
- data/spec/redmine/lib/redmine/unified_diff.rb +0 -284
- data/spec/redmine/lib/redmine/utils.rb +0 -118
- data/spec/redmine/lib/redmine/version.rb +0 -37
- data/spec/redmine/lib/redmine/views/api_template_handler.rb +0 -26
- data/spec/redmine/lib/redmine/views/builders.rb +0 -38
- data/spec/redmine/lib/redmine/views/builders/json.rb +0 -45
- data/spec/redmine/lib/redmine/views/builders/structure.rb +0 -94
- data/spec/redmine/lib/redmine/views/builders/xml.rb +0 -48
- data/spec/redmine/lib/redmine/views/labelled_form_builder.rb +0 -55
- data/spec/redmine/lib/redmine/views/my_page/block.rb +0 -32
- data/spec/redmine/lib/redmine/views/other_formats_builder.rb +0 -33
- data/spec/redmine/lib/redmine/wiki_formatting.rb +0 -200
- data/spec/redmine/lib/redmine/wiki_formatting/html_parser.rb +0 -62
- data/spec/redmine/lib/redmine/wiki_formatting/macros.rb +0 -256
- data/spec/redmine/lib/redmine/wiki_formatting/markdown/formatter.rb +0 -137
- data/spec/redmine/lib/redmine/wiki_formatting/markdown/helper.rb +0 -46
- data/spec/redmine/lib/redmine/wiki_formatting/markdown/html_parser.rb +0 -39
- data/spec/redmine/lib/redmine/wiki_formatting/textile/formatter.rb +0 -134
- data/spec/redmine/lib/redmine/wiki_formatting/textile/helper.rb +0 -46
- data/spec/redmine/lib/redmine/wiki_formatting/textile/html_parser.rb +0 -40
- data/spec/redmine/lib/tasks/ci.rake +0 -97
- data/spec/redmine/lib/tasks/ciphering.rake +0 -35
- data/spec/redmine/lib/tasks/deprecated.rake +0 -13
- data/spec/redmine/lib/tasks/email.rake +0 -185
- data/spec/redmine/lib/tasks/extract_fixtures.rake +0 -22
- data/spec/redmine/lib/tasks/initializers.rake +0 -24
- data/spec/redmine/lib/tasks/load_default_data.rake +0 -36
- data/spec/redmine/lib/tasks/locales.rake +0 -180
- data/spec/redmine/lib/tasks/metrics.rake +0 -6
- data/spec/redmine/lib/tasks/migrate_from_mantis.rake +0 -516
- data/spec/redmine/lib/tasks/migrate_from_trac.rake +0 -777
- data/spec/redmine/lib/tasks/permissions.rake +0 -9
- data/spec/redmine/lib/tasks/redmine.rake +0 -179
- data/spec/redmine/lib/tasks/reminder.rake +0 -45
- data/spec/redmine/lib/tasks/testing.rake +0 -110
- data/spec/redmine/lib/tasks/yardoc.rake +0 -21
- data/spec/redmine/log/delete.me +0 -1
- data/spec/redmine/plugins/README +0 -1
- data/spec/redmine/public/404.html +0 -17
- data/spec/redmine/public/500.html +0 -19
- data/spec/redmine/public/dispatch.fcgi.example +0 -20
- data/spec/redmine/public/favicon.ico +0 -0
- data/spec/redmine/public/help/ar/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/ar/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/ar/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/ar/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/az/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/az/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/az/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/az/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/bg/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/bg/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/bg/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/bg/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/bs/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/bs/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/bs/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/bs/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/ca/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/ca/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/ca/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/ca/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/cs/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/cs/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/cs/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/cs/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/da/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/da/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/da/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/da/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/de/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/de/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/de/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/de/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/el/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/el/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/el/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/el/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/en-gb/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/en-gb/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/en-gb/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/en-gb/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/en/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/en/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/en/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/en/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/es-pa/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/es-pa/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/es-pa/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/es-pa/wiki_syntax_textile.html +0 -86
- data/spec/redmine/public/help/es/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/es/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/es/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/es/wiki_syntax_textile.html +0 -86
- data/spec/redmine/public/help/et/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/et/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/et/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/et/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/eu/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/eu/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/eu/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/eu/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/fa/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/fa/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/fa/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/fa/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/fi/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/fi/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/fi/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/fi/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/fr/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/fr/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/fr/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/fr/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/gl/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/gl/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/gl/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/gl/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/he/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/he/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/he/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/he/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/hr/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/hr/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/hr/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/hr/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/hu/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/hu/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/hu/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/hu/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/id/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/id/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/id/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/id/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/it/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/it/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/it/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/it/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/ja/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/ja/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/ja/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/ja/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/ko/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/ko/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/ko/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/ko/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/lt/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/lt/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/lt/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/lt/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/lv/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/lv/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/lv/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/lv/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/mk/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/mk/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/mk/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/mk/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/mn/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/mn/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/mn/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/mn/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/nl/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/nl/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/nl/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/nl/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/no/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/no/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/no/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/no/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/pl/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/pl/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/pl/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/pl/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/pt-br/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/pt-br/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/pt-br/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/pt-br/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/pt/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/pt/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/pt/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/pt/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/ro/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/ro/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/ro/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/ro/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/ru/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/ru/wiki_syntax_detailed_textile.html +0 -366
- data/spec/redmine/public/help/ru/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/ru/wiki_syntax_textile.html +0 -170
- data/spec/redmine/public/help/sk/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/sk/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/sk/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/sk/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/sl/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/sl/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/sl/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/sl/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/sq/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/sq/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/sq/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/sq/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/sr-yu/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/sr-yu/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/sr-yu/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/sr-yu/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/sr/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/sr/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/sr/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/sr/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/sv/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/sv/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/sv/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/sv/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/th/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/th/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/th/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/th/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/tr/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/tr/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/tr/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/tr/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/uk/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/uk/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/uk/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/uk/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/vi/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/vi/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/vi/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/vi/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/zh-tw/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/zh-tw/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/zh-tw/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/zh-tw/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/help/zh/wiki_syntax_detailed_markdown.html +0 -329
- data/spec/redmine/public/help/zh/wiki_syntax_detailed_textile.html +0 -333
- data/spec/redmine/public/help/zh/wiki_syntax_markdown.html +0 -82
- data/spec/redmine/public/help/zh/wiki_syntax_textile.html +0 -85
- data/spec/redmine/public/htaccess.fcgi.example +0 -49
- data/spec/redmine/public/images/1downarrow.png +0 -0
- data/spec/redmine/public/images/1uparrow.png +0 -0
- data/spec/redmine/public/images/2downarrow.png +0 -0
- data/spec/redmine/public/images/2uparrow.png +0 -0
- data/spec/redmine/public/images/add.png +0 -0
- data/spec/redmine/public/images/arrow_collapsed.png +0 -0
- data/spec/redmine/public/images/arrow_down.png +0 -0
- data/spec/redmine/public/images/arrow_expanded.png +0 -0
- data/spec/redmine/public/images/attachment.png +0 -0
- data/spec/redmine/public/images/bullet_add.png +0 -0
- data/spec/redmine/public/images/bullet_arrow_left.png +0 -0
- data/spec/redmine/public/images/bullet_arrow_right.png +0 -0
- data/spec/redmine/public/images/bullet_black.png +0 -0
- data/spec/redmine/public/images/bullet_blue.png +0 -0
- data/spec/redmine/public/images/bullet_delete.png +0 -0
- data/spec/redmine/public/images/bullet_diamond.png +0 -0
- data/spec/redmine/public/images/bullet_end.png +0 -0
- data/spec/redmine/public/images/bullet_go.png +0 -0
- data/spec/redmine/public/images/bullet_orange.png +0 -0
- data/spec/redmine/public/images/bullet_purple.png +0 -0
- data/spec/redmine/public/images/bullet_toggle_minus.png +0 -0
- data/spec/redmine/public/images/bullet_toggle_plus.png +0 -0
- data/spec/redmine/public/images/calendar.png +0 -0
- data/spec/redmine/public/images/cancel.png +0 -0
- data/spec/redmine/public/images/changeset.png +0 -0
- data/spec/redmine/public/images/close.png +0 -0
- data/spec/redmine/public/images/close_hl.png +0 -0
- data/spec/redmine/public/images/comment.png +0 -0
- data/spec/redmine/public/images/comments.png +0 -0
- data/spec/redmine/public/images/copy.png +0 -0
- data/spec/redmine/public/images/database_key.png +0 -0
- data/spec/redmine/public/images/delete.png +0 -0
- data/spec/redmine/public/images/document.png +0 -0
- data/spec/redmine/public/images/draft.png +0 -0
- data/spec/redmine/public/images/duplicate.png +0 -0
- data/spec/redmine/public/images/edit.png +0 -0
- data/spec/redmine/public/images/email.png +0 -0
- data/spec/redmine/public/images/email_add.png +0 -0
- data/spec/redmine/public/images/email_disabled.png +0 -0
- data/spec/redmine/public/images/exclamation.png +0 -0
- data/spec/redmine/public/images/external.png +0 -0
- data/spec/redmine/public/images/false.png +0 -0
- data/spec/redmine/public/images/fav.png +0 -0
- data/spec/redmine/public/images/fav_off.png +0 -0
- data/spec/redmine/public/images/feed.png +0 -0
- data/spec/redmine/public/images/files/c.png +0 -0
- data/spec/redmine/public/images/files/csharp.png +0 -0
- data/spec/redmine/public/images/files/css.png +0 -0
- data/spec/redmine/public/images/files/default.png +0 -0
- data/spec/redmine/public/images/files/html.png +0 -0
- data/spec/redmine/public/images/files/image.png +0 -0
- data/spec/redmine/public/images/files/java.png +0 -0
- data/spec/redmine/public/images/files/js.png +0 -0
- data/spec/redmine/public/images/files/pdf.png +0 -0
- data/spec/redmine/public/images/files/php.png +0 -0
- data/spec/redmine/public/images/files/ruby.png +0 -0
- data/spec/redmine/public/images/files/text.png +0 -0
- data/spec/redmine/public/images/files/xml.png +0 -0
- data/spec/redmine/public/images/files/zip.png +0 -0
- data/spec/redmine/public/images/folder.png +0 -0
- data/spec/redmine/public/images/folder_open.png +0 -0
- data/spec/redmine/public/images/folder_open_add.png +0 -0
- data/spec/redmine/public/images/folder_open_orange.png +0 -0
- data/spec/redmine/public/images/group.png +0 -0
- data/spec/redmine/public/images/help.png +0 -0
- data/spec/redmine/public/images/history.png +0 -0
- data/spec/redmine/public/images/hourglass.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_bq.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_bq_remove.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_code.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_del.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_em.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_h1.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_h2.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_h3.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_img.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_ins.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_link.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_ol.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_pre.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_strong.png +0 -0
- data/spec/redmine/public/images/jstoolbar/bt_ul.png +0 -0
- data/spec/redmine/public/images/lightning.png +0 -0
- data/spec/redmine/public/images/link.png +0 -0
- data/spec/redmine/public/images/link_break.png +0 -0
- data/spec/redmine/public/images/loading.gif +0 -0
- data/spec/redmine/public/images/locked.png +0 -0
- data/spec/redmine/public/images/magnifier.png +0 -0
- data/spec/redmine/public/images/message.png +0 -0
- data/spec/redmine/public/images/milestone_done.png +0 -0
- data/spec/redmine/public/images/milestone_late.png +0 -0
- data/spec/redmine/public/images/milestone_todo.png +0 -0
- data/spec/redmine/public/images/move.png +0 -0
- data/spec/redmine/public/images/news.png +0 -0
- data/spec/redmine/public/images/openid-bg.gif +0 -0
- data/spec/redmine/public/images/package.png +0 -0
- data/spec/redmine/public/images/plugin.png +0 -0
- data/spec/redmine/public/images/project_marker.png +0 -0
- data/spec/redmine/public/images/projects.png +0 -0
- data/spec/redmine/public/images/reload.png +0 -0
- data/spec/redmine/public/images/report.png +0 -0
- data/spec/redmine/public/images/save.png +0 -0
- data/spec/redmine/public/images/server_key.png +0 -0
- data/spec/redmine/public/images/sort_asc.png +0 -0
- data/spec/redmine/public/images/sort_desc.png +0 -0
- data/spec/redmine/public/images/stats.png +0 -0
- data/spec/redmine/public/images/table_multiple.png +0 -0
- data/spec/redmine/public/images/task_done.png +0 -0
- data/spec/redmine/public/images/task_late.png +0 -0
- data/spec/redmine/public/images/task_parent_end.png +0 -0
- data/spec/redmine/public/images/task_todo.png +0 -0
- data/spec/redmine/public/images/text_list_bullets.png +0 -0
- data/spec/redmine/public/images/textfield.png +0 -0
- data/spec/redmine/public/images/textfield_key.png +0 -0
- data/spec/redmine/public/images/ticket.png +0 -0
- data/spec/redmine/public/images/ticket_checked.png +0 -0
- data/spec/redmine/public/images/ticket_edit.png +0 -0
- data/spec/redmine/public/images/ticket_go.png +0 -0
- data/spec/redmine/public/images/ticket_note.png +0 -0
- data/spec/redmine/public/images/time.png +0 -0
- data/spec/redmine/public/images/time_add.png +0 -0
- data/spec/redmine/public/images/toggle_check.png +0 -0
- data/spec/redmine/public/images/true.png +0 -0
- data/spec/redmine/public/images/unlock.png +0 -0
- data/spec/redmine/public/images/user.png +0 -0
- data/spec/redmine/public/images/version_marker.png +0 -0
- data/spec/redmine/public/images/warning.png +0 -0
- data/spec/redmine/public/images/wiki_edit.png +0 -0
- data/spec/redmine/public/images/zoom_in.png +0 -0
- data/spec/redmine/public/images/zoom_out.png +0 -0
- data/spec/redmine/public/javascripts/application.js +0 -656
- data/spec/redmine/public/javascripts/attachments.js +0 -191
- data/spec/redmine/public/javascripts/context_menu.js +0 -239
- data/spec/redmine/public/javascripts/gantt.js +0 -175
- data/spec/redmine/public/javascripts/i18n/datepicker-ar.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-az.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-bg.js +0 -38
- data/spec/redmine/public/javascripts/i18n/datepicker-bs.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-ca.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-cs.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-da.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-de.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-el.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-en-GB.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-es.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-et.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-eu.js +0 -36
- data/spec/redmine/public/javascripts/i18n/datepicker-fa.js +0 -73
- data/spec/redmine/public/javascripts/i18n/datepicker-fi.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-fr.js +0 -39
- data/spec/redmine/public/javascripts/i18n/datepicker-gl.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-he.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-hr.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-hu.js +0 -36
- data/spec/redmine/public/javascripts/i18n/datepicker-id.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-it.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-ja.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-ko.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-lt.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-lv.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-mk.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-nl.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-no.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-pl.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-pt-BR.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-pt.js +0 -36
- data/spec/redmine/public/javascripts/i18n/datepicker-ro.js +0 -40
- data/spec/redmine/public/javascripts/i18n/datepicker-ru.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-sk.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-sl.js +0 -38
- data/spec/redmine/public/javascripts/i18n/datepicker-sq.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-sr.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-sv.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-th.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-tr.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-uk.js +0 -38
- data/spec/redmine/public/javascripts/i18n/datepicker-vi.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-zh-CN.js +0 -37
- data/spec/redmine/public/javascripts/i18n/datepicker-zh-TW.js +0 -37
- data/spec/redmine/public/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js +0 -21
- data/spec/redmine/public/javascripts/jstoolbar/jstoolbar-textile.min.js +0 -2
- data/spec/redmine/public/javascripts/jstoolbar/jstoolbar.js +0 -374
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-ar.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-az.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-bg.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-bs.js +0 -14
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-ca.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-cs.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-da.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-de.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-en-gb.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-en.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-es-pa.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-es.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-et.js +0 -33
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-eu.js +0 -20
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-fa.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-fi.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-fr.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-gl.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-he.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-hr.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-hu.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-id.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-it.js +0 -19
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-ja.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-ko.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-lt.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-lv.js +0 -17
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-mk.js +0 -17
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-mn.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-nl.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-no.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-pl.js +0 -17
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-pt-br.js +0 -18
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-pt.js +0 -17
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-ro.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-ru.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-sk.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-sl.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-sq.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-sr-yu.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-sr.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-sv.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-th.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-tr.js +0 -14
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-uk.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-vi.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-zh-tw.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/lang/jstoolbar-zh.js +0 -16
- data/spec/redmine/public/javascripts/jstoolbar/markdown.js +0 -202
- data/spec/redmine/public/javascripts/jstoolbar/textile.js +0 -211
- data/spec/redmine/public/javascripts/project_identifier.js +0 -81
- data/spec/redmine/public/javascripts/raphael.js +0 -10
- data/spec/redmine/public/javascripts/repository_navigation.js +0 -36
- data/spec/redmine/public/javascripts/revision_graph.js +0 -97
- data/spec/redmine/public/plugin_assets/empty +0 -0
- data/spec/redmine/public/stylesheets/application.css +0 -1225
- data/spec/redmine/public/stylesheets/context_menu.css +0 -52
- data/spec/redmine/public/stylesheets/context_menu_rtl.css +0 -9
- data/spec/redmine/public/stylesheets/jquery/images/animated-overlay.gif +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-bg_glass_100_eef5fd_1x400.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-bg_gloss-wave_35_759fcf_500x100.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-bg_highlight-soft_75_759fcf_1x100.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-icons_222222_256x240.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-icons_759fcf_256x240.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-icons_ffd27a_256x240.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/images/ui-icons_ffffff_256x240.png +0 -0
- data/spec/redmine/public/stylesheets/jquery/jquery-ui-1.11.0.css +0 -7
- data/spec/redmine/public/stylesheets/jstoolbar.css +0 -100
- data/spec/redmine/public/stylesheets/rtl.css +0 -385
- data/spec/redmine/public/stylesheets/scm.css +0 -107
- data/spec/redmine/public/themes/README +0 -1
- data/spec/redmine/public/themes/alternate/stylesheets/application.css +0 -70
- data/spec/redmine/public/themes/classic/images/home.png +0 -0
- data/spec/redmine/public/themes/classic/images/wrench.png +0 -0
- data/spec/redmine/public/themes/classic/stylesheets/application.css +0 -41
- data/spec/redmine/script/about +0 -2
- data/spec/redmine/script/rails +0 -2
- data/spec/redmine/test/coverage/html_formatter.rb +0 -70
- data/spec/redmine/test/coverage/views/index.erb +0 -60
- data/spec/redmine/test/coverage/views/source.erb +0 -41
- data/spec/redmine/test/extra/redmine_pm/repository_git_test_pm.rb +0 -97
- data/spec/redmine/test/extra/redmine_pm/repository_subversion_test_pm.rb +0 -309
- data/spec/redmine/test/extra/redmine_pm/test_case.rb +0 -82
- data/spec/redmine/test/fixtures/attachments.yml +0 -269
- data/spec/redmine/test/fixtures/auth_sources.yml +0 -13
- data/spec/redmine/test/fixtures/boards.yml +0 -28
- data/spec/redmine/test/fixtures/changes.yml +0 -22
- data/spec/redmine/test/fixtures/changesets.yml +0 -104
- data/spec/redmine/test/fixtures/comments.yml +0 -17
- data/spec/redmine/test/fixtures/configuration/default.yml +0 -8
- data/spec/redmine/test/fixtures/configuration/empty.yml +0 -7
- data/spec/redmine/test/fixtures/configuration/no_default.yml +0 -8
- data/spec/redmine/test/fixtures/configuration/overrides.yml +0 -9
- data/spec/redmine/test/fixtures/custom_fields.yml +0 -147
- data/spec/redmine/test/fixtures/custom_fields_projects.yml +0 -4
- data/spec/redmine/test/fixtures/custom_fields_trackers.yml +0 -31
- data/spec/redmine/test/fixtures/custom_values.yml +0 -103
- data/spec/redmine/test/fixtures/diffs/issue-12641-ja.diff +0 -25
- data/spec/redmine/test/fixtures/diffs/issue-12641-ru.diff +0 -19
- data/spec/redmine/test/fixtures/diffs/issue-13644-1.diff +0 -7
- data/spec/redmine/test/fixtures/diffs/issue-13644-2.diff +0 -7
- data/spec/redmine/test/fixtures/diffs/issue-13644-3.diff +0 -7
- data/spec/redmine/test/fixtures/diffs/issue-13644-4.diff +0 -7
- data/spec/redmine/test/fixtures/diffs/issue-13644-5.diff +0 -7
- data/spec/redmine/test/fixtures/diffs/partials.diff +0 -46
- data/spec/redmine/test/fixtures/diffs/subversion.diff +0 -79
- data/spec/redmine/test/fixtures/documents.yml +0 -14
- data/spec/redmine/test/fixtures/email_addresses.yml +0 -57
- data/spec/redmine/test/fixtures/enabled_modules.yml +0 -105
- data/spec/redmine/test/fixtures/encoding/iso-8859-1.txt +0 -1
- data/spec/redmine/test/fixtures/enumerations.yml +0 -103
- data/spec/redmine/test/fixtures/files/2006/07/060719210727_archive.zip +0 -0
- data/spec/redmine/test/fixtures/files/2006/07/060719210727_changeset_iso8859-1.diff +0 -13
- data/spec/redmine/test/fixtures/files/2006/07/060719210727_changeset_utf8.diff +0 -13
- data/spec/redmine/test/fixtures/files/2006/07/060719210727_source.rb +0 -10
- data/spec/redmine/test/fixtures/files/2010/11/101123161450_testfile_1.png +0 -0
- data/spec/redmine/test/fixtures/files/2010/12/101223161450_testfile_2.png +0 -0
- data/spec/redmine/test/fixtures/files/hg-export.diff +0 -13
- data/spec/redmine/test/fixtures/files/iso8859-1.txt +0 -13
- data/spec/redmine/test/fixtures/files/japanese-utf-8.txt +0 -1
- data/spec/redmine/test/fixtures/files/testfile.txt +0 -2
- data/spec/redmine/test/fixtures/groups_users.yml +0 -7
- data/spec/redmine/test/fixtures/issue_categories.yml +0 -21
- data/spec/redmine/test/fixtures/issue_relations.yml +0 -12
- data/spec/redmine/test/fixtures/issue_statuses.yml +0 -31
- data/spec/redmine/test/fixtures/issues.yml +0 -268
- data/spec/redmine/test/fixtures/journal_details.yml +0 -43
- data/spec/redmine/test/fixtures/journals.yml +0 -36
- data/spec/redmine/test/fixtures/ldap/slapd.conf +0 -19
- data/spec/redmine/test/fixtures/ldap/test-ldap.ldif +0 -82
- data/spec/redmine/test/fixtures/mail_handler/apple_mail_with_attachment.eml +0 -240
- data/spec/redmine/test/fixtures/mail_handler/body_ks_c_5601-1987.eml +0 -14
- data/spec/redmine/test/fixtures/mail_handler/fullname_of_sender_as_utf8_encoded.eml +0 -5
- data/spec/redmine/test/fixtures/mail_handler/gmail-iso8859-2.eml +0 -11
- data/spec/redmine/test/fixtures/mail_handler/gmail_with_attachment_iso-8859-1.eml +0 -26
- data/spec/redmine/test/fixtures/mail_handler/gmail_with_attachment_ja.eml +0 -20
- data/spec/redmine/test/fixtures/mail_handler/issue_update_with_multiple_quoted_reply_above.eml +0 -48
- data/spec/redmine/test/fixtures/mail_handler/issue_update_with_quoted_reply_above.eml +0 -48
- data/spec/redmine/test/fixtures/mail_handler/japanese_keywords_iso_2022_jp.eml +0 -60
- data/spec/redmine/test/fixtures/mail_handler/message_reply.eml +0 -15
- data/spec/redmine/test/fixtures/mail_handler/message_reply_by_subject.eml +0 -13
- data/spec/redmine/test/fixtures/mail_handler/multiple_text_parts.eml +0 -62
- data/spec/redmine/test/fixtures/mail_handler/no_subject_header.eml +0 -10
- data/spec/redmine/test/fixtures/mail_handler/outlook_2010_html_only.eml +0 -966
- data/spec/redmine/test/fixtures/mail_handler/outlook_web_access_2010_html_only.eml +0 -65
- data/spec/redmine/test/fixtures/mail_handler/quoted_printable_utf8.eml +0 -19
- data/spec/redmine/test/fixtures/mail_handler/subject_as_iso-8859-1.eml +0 -11
- data/spec/redmine/test/fixtures/mail_handler/subject_japanese_1.eml +0 -7
- data/spec/redmine/test/fixtures/mail_handler/subject_japanese_2.eml +0 -7
- data/spec/redmine/test/fixtures/mail_handler/thunderbird_with_attachment_iso-8859-1.eml +0 -34
- data/spec/redmine/test/fixtures/mail_handler/thunderbird_with_attachment_ja.eml +0 -26
- data/spec/redmine/test/fixtures/mail_handler/ticket_by_empty_user.eml +0 -17
- data/spec/redmine/test/fixtures/mail_handler/ticket_by_unknown_user.eml +0 -18
- data/spec/redmine/test/fixtures/mail_handler/ticket_from_emission_address.eml +0 -19
- data/spec/redmine/test/fixtures/mail_handler/ticket_html_only.eml +0 -23
- data/spec/redmine/test/fixtures/mail_handler/ticket_on_given_project.eml +0 -60
- data/spec/redmine/test/fixtures/mail_handler/ticket_reply.eml +0 -74
- data/spec/redmine/test/fixtures/mail_handler/ticket_reply_with_status.eml +0 -80
- data/spec/redmine/test/fixtures/mail_handler/ticket_with_attachment.eml +0 -248
- data/spec/redmine/test/fixtures/mail_handler/ticket_with_attributes.eml +0 -43
- data/spec/redmine/test/fixtures/mail_handler/ticket_with_cc.eml +0 -40
- data/spec/redmine/test/fixtures/mail_handler/ticket_with_custom_fields.eml +0 -42
- data/spec/redmine/test/fixtures/mail_handler/ticket_with_duplicate_keyword.eml +0 -25
- data/spec/redmine/test/fixtures/mail_handler/ticket_with_invalid_attributes.eml +0 -47
- data/spec/redmine/test/fixtures/mail_handler/ticket_with_keyword_after_delimiter.eml +0 -27
- data/spec/redmine/test/fixtures/mail_handler/ticket_with_localized_attributes.eml +0 -43
- data/spec/redmine/test/fixtures/mail_handler/ticket_with_long_subject.eml +0 -57
- data/spec/redmine/test/fixtures/mail_handler/ticket_with_spaces_between_attribute_and_separator.eml +0 -43
- data/spec/redmine/test/fixtures/mail_handler/ticket_without_from_header.eml +0 -40
- data/spec/redmine/test/fixtures/member_roles.yml +0 -53
- data/spec/redmine/test/fixtures/members.yml +0 -62
- data/spec/redmine/test/fixtures/messages.yml +0 -79
- data/spec/redmine/test/fixtures/news.yml +0 -31
- data/spec/redmine/test/fixtures/plugins/foo_plugin/_foo_plugin_settings.html.erb +0 -1
- data/spec/redmine/test/fixtures/projects.yml +0 -73
- data/spec/redmine/test/fixtures/projects_trackers.yml +0 -46
- data/spec/redmine/test/fixtures/queries.yml +0 -165
- data/spec/redmine/test/fixtures/repositories.yml +0 -21
- data/spec/redmine/test/fixtures/repositories/bazaar_repository.tar.gz +0 -0
- data/spec/redmine/test/fixtures/repositories/cvs_repository.tar.gz +0 -0
- data/spec/redmine/test/fixtures/repositories/darcs_repository.tar.gz +0 -0
- data/spec/redmine/test/fixtures/repositories/filesystem_repository.tar.gz +0 -0
- data/spec/redmine/test/fixtures/repositories/git_repository.tar.gz +0 -0
- data/spec/redmine/test/fixtures/repositories/mercurial_repository.hg +0 -0
- data/spec/redmine/test/fixtures/repositories/subversion_repository.dump.gz +0 -0
- data/spec/redmine/test/fixtures/roles.yml +0 -206
- data/spec/redmine/test/fixtures/time_entries.yml +0 -72
- data/spec/redmine/test/fixtures/tokens.yml +0 -13
- data/spec/redmine/test/fixtures/trackers.yml +0 -19
- data/spec/redmine/test/fixtures/user_preferences.yml +0 -31
- data/spec/redmine/test/fixtures/users.yml +0 -171
- data/spec/redmine/test/fixtures/versions.yml +0 -71
- data/spec/redmine/test/fixtures/watchers.yml +0 -13
- data/spec/redmine/test/fixtures/wiki_content_versions.yml +0 -116
- data/spec/redmine/test/fixtures/wiki_contents.yml +0 -136
- data/spec/redmine/test/fixtures/wiki_pages.yml +0 -85
- data/spec/redmine/test/fixtures/wikis.yml +0 -11
- data/spec/redmine/test/fixtures/workflows.yml +0 -1884
- data/spec/redmine/test/functional/account_controller_openid_test.rb +0 -175
- data/spec/redmine/test/functional/account_controller_test.rb +0 -424
- data/spec/redmine/test/functional/activities_controller_test.rb +0 -160
- data/spec/redmine/test/functional/admin_controller_test.rb +0 -168
- data/spec/redmine/test/functional/attachments_controller_test.rb +0 -467
- data/spec/redmine/test/functional/auth_sources_controller_test.rb +0 -173
- data/spec/redmine/test/functional/auto_completes_controller_test.rb +0 -90
- data/spec/redmine/test/functional/boards_controller_test.rb +0 -221
- data/spec/redmine/test/functional/calendars_controller_test.rb +0 -90
- data/spec/redmine/test/functional/comments_controller_test.rb +0 -64
- data/spec/redmine/test/functional/context_menus_controller_test.rb +0 -300
- data/spec/redmine/test/functional/custom_fields_controller_test.rb +0 -238
- data/spec/redmine/test/functional/documents_controller_test.rb +0 -185
- data/spec/redmine/test/functional/email_addresses_controller_test.rb +0 -144
- data/spec/redmine/test/functional/enumerations_controller_test.rb +0 -136
- data/spec/redmine/test/functional/files_controller_test.rb +0 -120
- data/spec/redmine/test/functional/gantts_controller_test.rb +0 -134
- data/spec/redmine/test/functional/groups_controller_test.rb +0 -164
- data/spec/redmine/test/functional/issue_categories_controller_test.rb +0 -145
- data/spec/redmine/test/functional/issue_relations_controller_test.rb +0 -160
- data/spec/redmine/test/functional/issue_statuses_controller_test.rb +0 -136
- data/spec/redmine/test/functional/issues_controller_test.rb +0 -4273
- data/spec/redmine/test/functional/issues_controller_transaction_test.rb +0 -261
- data/spec/redmine/test/functional/issues_custom_fields_visibility_test.rb +0 -322
- data/spec/redmine/test/functional/journals_controller_test.rb +0 -181
- data/spec/redmine/test/functional/mail_handler_controller_test.rb +0 -96
- data/spec/redmine/test/functional/members_controller_test.rb +0 -201
- data/spec/redmine/test/functional/messages_controller_test.rb +0 -219
- data/spec/redmine/test/functional/my_controller_test.rb +0 -280
- data/spec/redmine/test/functional/news_controller_test.rb +0 -178
- data/spec/redmine/test/functional/previews_controller_test.rb +0 -95
- data/spec/redmine/test/functional/principal_memberships_controller_test.rb +0 -209
- data/spec/redmine/test/functional/project_enumerations_controller_test.rb +0 -235
- data/spec/redmine/test/functional/projects_controller_test.rb +0 -684
- data/spec/redmine/test/functional/queries_controller_test.rb +0 -358
- data/spec/redmine/test/functional/reports_controller_test.rb +0 -85
- data/spec/redmine/test/functional/repositories_bazaar_controller_test.rb +0 -233
- data/spec/redmine/test/functional/repositories_controller_test.rb +0 -307
- data/spec/redmine/test/functional/repositories_cvs_controller_test.rb +0 -261
- data/spec/redmine/test/functional/repositories_darcs_controller_test.rb +0 -161
- data/spec/redmine/test/functional/repositories_filesystem_controller_test.rb +0 -150
- data/spec/redmine/test/functional/repositories_git_controller_test.rb +0 -606
- data/spec/redmine/test/functional/repositories_mercurial_controller_test.rb +0 -490
- data/spec/redmine/test/functional/repositories_subversion_controller_test.rb +0 -421
- data/spec/redmine/test/functional/roles_controller_test.rb +0 -208
- data/spec/redmine/test/functional/search_controller_test.rb +0 -332
- data/spec/redmine/test/functional/search_custom_fields_visibility_test.rb +0 -78
- data/spec/redmine/test/functional/sessions_test.rb +0 -132
- data/spec/redmine/test/functional/settings_controller_test.rb +0 -192
- data/spec/redmine/test/functional/sys_controller_test.rb +0 -128
- data/spec/redmine/test/functional/time_entry_reports_controller_test.rb +0 -354
- data/spec/redmine/test/functional/timelog_controller_test.rb +0 -809
- data/spec/redmine/test/functional/timelog_custom_fields_visibility_test.rb +0 -118
- data/spec/redmine/test/functional/trackers_controller_test.rb +0 -205
- data/spec/redmine/test/functional/users_controller_test.rb +0 -452
- data/spec/redmine/test/functional/versions_controller_test.rb +0 -238
- data/spec/redmine/test/functional/watchers_controller_test.rb +0 -271
- data/spec/redmine/test/functional/welcome_controller_test.rb +0 -177
- data/spec/redmine/test/functional/wiki_controller_test.rb +0 -961
- data/spec/redmine/test/functional/wikis_controller_test.rb +0 -84
- data/spec/redmine/test/functional/workflows_controller_test.rb +0 -369
- data/spec/redmine/test/integration/account_test.rb +0 -326
- data/spec/redmine/test/integration/admin_test.rb +0 -61
- data/spec/redmine/test/integration/api_test/api_routing_test.rb +0 -158
- data/spec/redmine/test/integration/api_test/api_test.rb +0 -47
- data/spec/redmine/test/integration/api_test/attachments_test.rb +0 -156
- data/spec/redmine/test/integration/api_test/authentication_test.rb +0 -158
- data/spec/redmine/test/integration/api_test/custom_fields_attribute_test.rb +0 -63
- data/spec/redmine/test/integration/api_test/custom_fields_test.rb +0 -41
- data/spec/redmine/test/integration/api_test/disabled_rest_api_test.rb +0 -78
- data/spec/redmine/test/integration/api_test/enumerations_test.rb +0 -40
- data/spec/redmine/test/integration/api_test/groups_test.rb +0 -209
- data/spec/redmine/test/integration/api_test/issue_categories_test.rb +0 -104
- data/spec/redmine/test/integration/api_test/issue_relations_test.rb +0 -80
- data/spec/redmine/test/integration/api_test/issue_statuses_test.rb +0 -32
- data/spec/redmine/test/integration/api_test/issues_test.rb +0 -704
- data/spec/redmine/test/integration/api_test/jsonp_test.rb +0 -72
- data/spec/redmine/test/integration/api_test/memberships_test.rb +0 -158
- data/spec/redmine/test/integration/api_test/news_test.rb +0 -61
- data/spec/redmine/test/integration/api_test/projects_test.rb +0 -234
- data/spec/redmine/test/integration/api_test/queries_test.rb +0 -39
- data/spec/redmine/test/integration/api_test/roles_test.rb +0 -62
- data/spec/redmine/test/integration/api_test/time_entries_test.rb +0 -135
- data/spec/redmine/test/integration/api_test/trackers_test.rb +0 -33
- data/spec/redmine/test/integration/api_test/users_test.rb +0 -294
- data/spec/redmine/test/integration/api_test/versions_test.rb +0 -129
- data/spec/redmine/test/integration/api_test/wiki_pages_test.rb +0 -190
- data/spec/redmine/test/integration/application_test.rb +0 -97
- data/spec/redmine/test/integration/attachments_test.rb +0 -152
- data/spec/redmine/test/integration/feeds_test.rb +0 -31
- data/spec/redmine/test/integration/issues_test.rb +0 -216
- data/spec/redmine/test/integration/layout_test.rb +0 -127
- data/spec/redmine/test/integration/lib/redmine/hook_test.rb +0 -124
- data/spec/redmine/test/integration/lib/redmine/menu_manager_test.rb +0 -66
- data/spec/redmine/test/integration/lib/redmine/themes_test.rb +0 -100
- data/spec/redmine/test/integration/projects_test.rb +0 -51
- data/spec/redmine/test/integration/repositories_git_test.rb +0 -50
- data/spec/redmine/test/integration/routing/account_test.rb +0 -36
- data/spec/redmine/test/integration/routing/activities_test.rb +0 -31
- data/spec/redmine/test/integration/routing/admin_test.rb +0 -29
- data/spec/redmine/test/integration/routing/attachments_test.rb +0 -36
- data/spec/redmine/test/integration/routing/auth_sources_test.rb +0 -32
- data/spec/redmine/test/integration/routing/auto_completes_test.rb +0 -24
- data/spec/redmine/test/integration/routing/boards_test.rb +0 -32
- data/spec/redmine/test/integration/routing/calendars_test.rb +0 -25
- data/spec/redmine/test/integration/routing/comments_test.rb +0 -25
- data/spec/redmine/test/integration/routing/context_menus_test.rb +0 -30
- data/spec/redmine/test/integration/routing/custom_fields_test.rb +0 -30
- data/spec/redmine/test/integration/routing/documents_test.rb +0 -37
- data/spec/redmine/test/integration/routing/enumerations_test.rb +0 -30
- data/spec/redmine/test/integration/routing/files_test.rb +0 -26
- data/spec/redmine/test/integration/routing/gantts_test.rb +0 -28
- data/spec/redmine/test/integration/routing/groups_test.rb +0 -40
- data/spec/redmine/test/integration/routing/issue_categories_test.rb +0 -32
- data/spec/redmine/test/integration/routing/issue_relations_test.rb +0 -27
- data/spec/redmine/test/integration/routing/issue_statuses_test.rb +0 -32
- data/spec/redmine/test/integration/routing/issues_test.rb +0 -60
- data/spec/redmine/test/integration/routing/journals_test.rb +0 -29
- data/spec/redmine/test/integration/routing/mail_handler_test.rb +0 -25
- data/spec/redmine/test/integration/routing/members_test.rb +0 -31
- data/spec/redmine/test/integration/routing/messages_test.rb +0 -33
- data/spec/redmine/test/integration/routing/my_test.rb +0 -43
- data/spec/redmine/test/integration/routing/news_test.rb +0 -36
- data/spec/redmine/test/integration/routing/previews_test.rb +0 -32
- data/spec/redmine/test/integration/routing/principal_memberships_test.rb +0 -34
- data/spec/redmine/test/integration/routing/project_enumerations_test.rb +0 -25
- data/spec/redmine/test/integration/routing/projects_test.rb +0 -39
- data/spec/redmine/test/integration/routing/queries_test.rb +0 -34
- data/spec/redmine/test/integration/routing/reports_test.rb +0 -25
- data/spec/redmine/test/integration/routing/repositories_test.rb +0 -139
- data/spec/redmine/test/integration/routing/roles_test.rb +0 -33
- data/spec/redmine/test/integration/routing/search_test.rb +0 -25
- data/spec/redmine/test/integration/routing/settings_test.rb +0 -29
- data/spec/redmine/test/integration/routing/sys_test.rb +0 -27
- data/spec/redmine/test/integration/routing/timelog_test.rb +0 -66
- data/spec/redmine/test/integration/routing/trackers_test.rb +0 -33
- data/spec/redmine/test/integration/routing/users_test.rb +0 -32
- data/spec/redmine/test/integration/routing/versions_test.rb +0 -36
- data/spec/redmine/test/integration/routing/watchers_test.rb +0 -31
- data/spec/redmine/test/integration/routing/welcome_test.rb +0 -25
- data/spec/redmine/test/integration/routing/wiki_test.rb +0 -59
- data/spec/redmine/test/integration/routing/wikis_test.rb +0 -27
- data/spec/redmine/test/integration/routing/workflows_test.rb +0 -32
- data/spec/redmine/test/integration/sudo_mode_test.rb +0 -164
- data/spec/redmine/test/integration/users_test.rb +0 -29
- data/spec/redmine/test/mocks/open_id_authentication_mock.rb +0 -46
- data/spec/redmine/test/object_helpers.rb +0 -242
- data/spec/redmine/test/test_helper.rb +0 -355
- data/spec/redmine/test/travis/mariadb.pref +0 -6
- data/spec/redmine/test/ui/base.rb +0 -69
- data/spec/redmine/test/ui/issues_test_ui.rb +0 -278
- data/spec/redmine/test/ui/sudo_mode_test_ui.rb +0 -53
- data/spec/redmine/test/ui/timelog_test_ui.rb +0 -44
- data/spec/redmine/test/unit/activity_test.rb +0 -197
- data/spec/redmine/test/unit/attachment_test.rb +0 -360
- data/spec/redmine/test/unit/auth_source_ldap_test.rb +0 -141
- data/spec/redmine/test/unit/board_test.rb +0 -125
- data/spec/redmine/test/unit/changeset_test.rb +0 -578
- data/spec/redmine/test/unit/comment_test.rb +0 -57
- data/spec/redmine/test/unit/custom_field_test.rb +0 -335
- data/spec/redmine/test/unit/custom_field_user_format_test.rb +0 -78
- data/spec/redmine/test/unit/custom_field_version_format_test.rb +0 -60
- data/spec/redmine/test/unit/custom_value_test.rb +0 -39
- data/spec/redmine/test/unit/default_data_test.rb +0 -49
- data/spec/redmine/test/unit/document_category_test.rb +0 -47
- data/spec/redmine/test/unit/document_test.rb +0 -69
- data/spec/redmine/test/unit/enabled_module_test.rb +0 -43
- data/spec/redmine/test/unit/enumeration_test.rb +0 -130
- data/spec/redmine/test/unit/group_test.rb +0 -169
- data/spec/redmine/test/unit/helpers/activities_helper_test.rb +0 -102
- data/spec/redmine/test/unit/helpers/application_helper_test.rb +0 -1528
- data/spec/redmine/test/unit/helpers/custom_fields_helper_test.rb +0 -60
- data/spec/redmine/test/unit/helpers/groups_helper_test.rb +0 -42
- data/spec/redmine/test/unit/helpers/issues_helper_test.rb +0 -339
- data/spec/redmine/test/unit/helpers/members_helper_test.rb +0 -43
- data/spec/redmine/test/unit/helpers/my_helper_test.rb +0 -50
- data/spec/redmine/test/unit/helpers/projects_helper_test.rb +0 -85
- data/spec/redmine/test/unit/helpers/queries_helper_test.rb +0 -97
- data/spec/redmine/test/unit/helpers/routes_helper_test.rb +0 -47
- data/spec/redmine/test/unit/helpers/search_helper_test.rb +0 -49
- data/spec/redmine/test/unit/helpers/settings_helper_test.rb +0 -31
- data/spec/redmine/test/unit/helpers/sort_helper_test.rb +0 -109
- data/spec/redmine/test/unit/helpers/timelog_helper_test.rb +0 -58
- data/spec/redmine/test/unit/helpers/version_helper_test.rb +0 -53
- data/spec/redmine/test/unit/helpers/watchers_helper_test.rb +0 -74
- data/spec/redmine/test/unit/initializers/patches_test.rb +0 -95
- data/spec/redmine/test/unit/issue_category_test.rb +0 -54
- data/spec/redmine/test/unit/issue_custom_field_test.rb +0 -42
- data/spec/redmine/test/unit/issue_nested_set_concurrency_test.rb +0 -96
- data/spec/redmine/test/unit/issue_nested_set_test.rb +0 -309
- data/spec/redmine/test/unit/issue_priority_test.rb +0 -106
- data/spec/redmine/test/unit/issue_relation_test.rb +0 -236
- data/spec/redmine/test/unit/issue_scopes_test.rb +0 -69
- data/spec/redmine/test/unit/issue_status_test.rb +0 -141
- data/spec/redmine/test/unit/issue_subtasking_test.rb +0 -260
- data/spec/redmine/test/unit/issue_test.rb +0 -2704
- data/spec/redmine/test/unit/issue_transaction_test.rb +0 -52
- data/spec/redmine/test/unit/journal_observer_test.rb +0 -174
- data/spec/redmine/test/unit/journal_test.rb +0 -223
- data/spec/redmine/test/unit/lib/redmine/access_control_test.rb +0 -59
- data/spec/redmine/test/unit/lib/redmine/ciphering_test.rb +0 -106
- data/spec/redmine/test/unit/lib/redmine/codeset_util_test.rb +0 -88
- data/spec/redmine/test/unit/lib/redmine/configuration_test.rb +0 -61
- data/spec/redmine/test/unit/lib/redmine/export/csv_test.rb +0 -31
- data/spec/redmine/test/unit/lib/redmine/export/pdf_test.rb +0 -104
- data/spec/redmine/test/unit/lib/redmine/field_format/bool_format_test.rb +0 -63
- data/spec/redmine/test/unit/lib/redmine/field_format/field_format_test.rb +0 -62
- data/spec/redmine/test/unit/lib/redmine/field_format/link_format_test.rb +0 -90
- data/spec/redmine/test/unit/lib/redmine/field_format/list_format_test.rb +0 -168
- data/spec/redmine/test/unit/lib/redmine/field_format/numeric_format_test.rb +0 -31
- data/spec/redmine/test/unit/lib/redmine/field_format/user_field_format_test.rb +0 -61
- data/spec/redmine/test/unit/lib/redmine/field_format/version_field_format_test.rb +0 -69
- data/spec/redmine/test/unit/lib/redmine/helpers/calendar_test.rb +0 -63
- data/spec/redmine/test/unit/lib/redmine/helpers/diff_test.rb +0 -25
- data/spec/redmine/test/unit/lib/redmine/helpers/gantt_test.rb +0 -498
- data/spec/redmine/test/unit/lib/redmine/hook_test.rb +0 -189
- data/spec/redmine/test/unit/lib/redmine/i18n_test.rb +0 -244
- data/spec/redmine/test/unit/lib/redmine/info_test.rb +0 -27
- data/spec/redmine/test/unit/lib/redmine/menu_manager/mapper_test.rb +0 -191
- data/spec/redmine/test/unit/lib/redmine/menu_manager/menu_helper_test.rb +0 -260
- data/spec/redmine/test/unit/lib/redmine/menu_manager/menu_item_test.rb +0 -108
- data/spec/redmine/test/unit/lib/redmine/menu_manager_test.rb +0 -34
- data/spec/redmine/test/unit/lib/redmine/mime_type_test.rb +0 -66
- data/spec/redmine/test/unit/lib/redmine/notifiable_test.rb +0 -29
- data/spec/redmine/test/unit/lib/redmine/pagination_helper_test.rb +0 -34
- data/spec/redmine/test/unit/lib/redmine/pagination_test.rb +0 -94
- data/spec/redmine/test/unit/lib/redmine/plugin_test.rb +0 -186
- data/spec/redmine/test/unit/lib/redmine/safe_attributes_test.rb +0 -102
- data/spec/redmine/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb +0 -218
- data/spec/redmine/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb +0 -106
- data/spec/redmine/test/unit/lib/redmine/scm/adapters/darcs_adapter_test.rb +0 -60
- data/spec/redmine/test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb +0 -68
- data/spec/redmine/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb +0 -597
- data/spec/redmine/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb +0 -462
- data/spec/redmine/test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb +0 -63
- data/spec/redmine/test/unit/lib/redmine/themes_test.rb +0 -61
- data/spec/redmine/test/unit/lib/redmine/unified_diff_test.rb +0 -352
- data/spec/redmine/test/unit/lib/redmine/utils/date_calculation.rb +0 -76
- data/spec/redmine/test/unit/lib/redmine/views/builders/json_test.rb +0 -94
- data/spec/redmine/test/unit/lib/redmine/views/builders/xml_test.rb +0 -67
- data/spec/redmine/test/unit/lib/redmine/views/labelled_form_builder_test.rb +0 -29
- data/spec/redmine/test/unit/lib/redmine/wiki_formatting/html_parser_test.rb +0 -35
- data/spec/redmine/test/unit/lib/redmine/wiki_formatting/macros_test.rb +0 -401
- data/spec/redmine/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb +0 -80
- data/spec/redmine/test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb +0 -30
- data/spec/redmine/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb +0 -512
- data/spec/redmine/test/unit/lib/redmine/wiki_formatting/textile_html_parser_test.rb +0 -30
- data/spec/redmine/test/unit/lib/redmine/wiki_formatting_test.rb +0 -83
- data/spec/redmine/test/unit/lib/redmine_test.rb +0 -86
- data/spec/redmine/test/unit/mail_handler_test.rb +0 -997
- data/spec/redmine/test/unit/mailer_test.rb +0 -853
- data/spec/redmine/test/unit/member_test.rb +0 -193
- data/spec/redmine/test/unit/message_test.rb +0 -184
- data/spec/redmine/test/unit/news_test.rb +0 -90
- data/spec/redmine/test/unit/principal_test.rb +0 -136
- data/spec/redmine/test/unit/project_copy_test.rb +0 -353
- data/spec/redmine/test/unit/project_members_inheritance_test.rb +0 -264
- data/spec/redmine/test/unit/project_nested_set_concurrency_test.rb +0 -76
- data/spec/redmine/test/unit/project_nested_set_test.rb +0 -187
- data/spec/redmine/test/unit/project_test.rb +0 -975
- data/spec/redmine/test/unit/query_test.rb +0 -1514
- data/spec/redmine/test/unit/repository_bazaar_test.rb +0 -297
- data/spec/redmine/test/unit/repository_cvs_test.rb +0 -271
- data/spec/redmine/test/unit/repository_darcs_test.rb +0 -129
- data/spec/redmine/test/unit/repository_filesystem_test.rb +0 -88
- data/spec/redmine/test/unit/repository_git_test.rb +0 -623
- data/spec/redmine/test/unit/repository_mercurial_test.rb +0 -644
- data/spec/redmine/test/unit/repository_subversion_test.rb +0 -285
- data/spec/redmine/test/unit/repository_test.rb +0 -499
- data/spec/redmine/test/unit/role_test.rb +0 -141
- data/spec/redmine/test/unit/search_test.rb +0 -199
- data/spec/redmine/test/unit/setting_test.rb +0 -127
- data/spec/redmine/test/unit/time_entry_activity_test.rb +0 -130
- data/spec/redmine/test/unit/time_entry_query_test.rb +0 -47
- data/spec/redmine/test/unit/time_entry_test.rb +0 -175
- data/spec/redmine/test/unit/token_test.rb +0 -108
- data/spec/redmine/test/unit/tracker_test.rb +0 -118
- data/spec/redmine/test/unit/user_preference_test.rb +0 -77
- data/spec/redmine/test/unit/user_test.rb +0 -1228
- data/spec/redmine/test/unit/version_test.rb +0 -272
- data/spec/redmine/test/unit/watcher_test.rb +0 -192
- data/spec/redmine/test/unit/wiki_content_test.rb +0 -166
- data/spec/redmine/test/unit/wiki_content_version_test.rb +0 -68
- data/spec/redmine/test/unit/wiki_page_test.rb +0 -183
- data/spec/redmine/test/unit/wiki_redirect_test.rb +0 -97
- data/spec/redmine/test/unit/wiki_test.rb +0 -114
- data/spec/redmine/test/unit/workflow_test.rb +0 -65
- data/spec/redmine/test/unit/workflow_transition_test.rb +0 -93
- data/spec/redmine/tmp/pdf/empty +0 -0
- data/spec/redmine/tmp/test/empty +0 -0
- data/spec/redmine/tmp/thumbnails/empty +0 -0
- data/spec/support/easy_queries_helpers.rb +0 -0
@@ -1,148 +0,0 @@
|
|
1
|
-
require 'rexml/document'
|
2
|
-
require 'SVG/Graph/Graph'
|
3
|
-
require 'SVG/Graph/BarBase'
|
4
|
-
|
5
|
-
module SVG
|
6
|
-
module Graph
|
7
|
-
# === Create presentation quality SVG bar graphs easily
|
8
|
-
#
|
9
|
-
# = Synopsis
|
10
|
-
#
|
11
|
-
# require 'SVG/Graph/Bar'
|
12
|
-
#
|
13
|
-
# fields = %w(Jan Feb Mar);
|
14
|
-
# data_sales_02 = [12, 45, 21]
|
15
|
-
#
|
16
|
-
# graph = SVG::Graph::Bar.new(
|
17
|
-
# :height => 500,
|
18
|
-
# :width => 300,
|
19
|
-
# :fields => fields
|
20
|
-
# )
|
21
|
-
#
|
22
|
-
# graph.add_data(
|
23
|
-
# :data => data_sales_02,
|
24
|
-
# :title => 'Sales 2002'
|
25
|
-
# )
|
26
|
-
#
|
27
|
-
# print "Content-type: image/svg+xml\r\n\r\n"
|
28
|
-
# print graph.burn
|
29
|
-
#
|
30
|
-
# = Description
|
31
|
-
#
|
32
|
-
# This object aims to allow you to easily create high quality
|
33
|
-
# SVG[http://www.w3c.org/tr/svg bar graphs. You can either use the default
|
34
|
-
# style sheet or supply your own. Either way there are many options which
|
35
|
-
# can be configured to give you control over how the graph is generated -
|
36
|
-
# with or without a key, data elements at each point, title, subtitle etc.
|
37
|
-
#
|
38
|
-
# = Notes
|
39
|
-
#
|
40
|
-
# The default stylesheet handles upto 12 data sets, if you
|
41
|
-
# use more you must create your own stylesheet and add the
|
42
|
-
# additional settings for the extra data sets. You will know
|
43
|
-
# if you go over 12 data sets as they will have no style and
|
44
|
-
# be in black.
|
45
|
-
#
|
46
|
-
# = Examples
|
47
|
-
#
|
48
|
-
# * http://germane-software.com/repositories/public/SVG/test/test.rb
|
49
|
-
#
|
50
|
-
# = See also
|
51
|
-
#
|
52
|
-
# * SVG::Graph::Graph
|
53
|
-
# * SVG::Graph::BarHorizontal
|
54
|
-
# * SVG::Graph::Line
|
55
|
-
# * SVG::Graph::Pie
|
56
|
-
# * SVG::Graph::Plot
|
57
|
-
# * SVG::Graph::TimeSeries
|
58
|
-
class Bar < BarBase
|
59
|
-
include REXML
|
60
|
-
|
61
|
-
# See Graph::initialize and BarBase::set_defaults
|
62
|
-
def set_defaults
|
63
|
-
super
|
64
|
-
self.top_align = self.top_font = 1
|
65
|
-
end
|
66
|
-
|
67
|
-
protected
|
68
|
-
|
69
|
-
def get_x_labels
|
70
|
-
@config[:fields]
|
71
|
-
end
|
72
|
-
|
73
|
-
def get_y_labels
|
74
|
-
maxvalue = max_value
|
75
|
-
minvalue = min_value
|
76
|
-
range = maxvalue - minvalue
|
77
|
-
|
78
|
-
top_pad = range == 0 ? 10 : range / 20.0
|
79
|
-
scale_range = (maxvalue + top_pad) - minvalue
|
80
|
-
|
81
|
-
scale_division = scale_divisions || (scale_range / 10.0)
|
82
|
-
|
83
|
-
if scale_integers
|
84
|
-
scale_division = scale_division < 1 ? 1 : scale_division.round
|
85
|
-
end
|
86
|
-
|
87
|
-
rv = []
|
88
|
-
maxvalue = maxvalue%scale_division == 0 ?
|
89
|
-
maxvalue : maxvalue + scale_division
|
90
|
-
minvalue.step( maxvalue, scale_division ) {|v| rv << v}
|
91
|
-
return rv
|
92
|
-
end
|
93
|
-
|
94
|
-
def x_label_offset( width )
|
95
|
-
width / 2.0
|
96
|
-
end
|
97
|
-
|
98
|
-
def draw_data
|
99
|
-
minvalue = min_value
|
100
|
-
fieldwidth = field_width
|
101
|
-
|
102
|
-
unit_size = (@graph_height.to_f - font_size*2*top_font) /
|
103
|
-
(get_y_labels.max - get_y_labels.min)
|
104
|
-
bargap = bar_gap ? (fieldwidth < 10 ? fieldwidth / 2 : 10) : 0
|
105
|
-
|
106
|
-
bar_width = fieldwidth - bargap
|
107
|
-
bar_width /= @data.length if stack == :side
|
108
|
-
x_mod = (@graph_width-bargap)/2 - (stack==:side ? bar_width/2 : 0)
|
109
|
-
|
110
|
-
bottom = @graph_height
|
111
|
-
|
112
|
-
field_count = 0
|
113
|
-
@config[:fields].each_index { |i|
|
114
|
-
dataset_count = 0
|
115
|
-
for dataset in @data
|
116
|
-
|
117
|
-
# cases (assume 0 = +ve):
|
118
|
-
# value min length
|
119
|
-
# +ve +ve value - min
|
120
|
-
# +ve -ve value - 0
|
121
|
-
# -ve -ve value.abs - 0
|
122
|
-
|
123
|
-
value = dataset[:data][i]
|
124
|
-
|
125
|
-
left = (fieldwidth * field_count)
|
126
|
-
|
127
|
-
length = (value.abs - (minvalue > 0 ? minvalue : 0)) * unit_size
|
128
|
-
# top is 0 if value is negative
|
129
|
-
top = bottom - (((value < 0 ? 0 : value) - minvalue) * unit_size)
|
130
|
-
left += bar_width * dataset_count if stack == :side
|
131
|
-
|
132
|
-
@graph.add_element( "rect", {
|
133
|
-
"x" => left.to_s,
|
134
|
-
"y" => top.to_s,
|
135
|
-
"width" => bar_width.to_s,
|
136
|
-
"height" => length.to_s,
|
137
|
-
"class" => "fill#{dataset_count+1}"
|
138
|
-
})
|
139
|
-
|
140
|
-
make_datapoint_text(left + bar_width/2.0, top - 6, value.to_s)
|
141
|
-
dataset_count += 1
|
142
|
-
end
|
143
|
-
field_count += 1
|
144
|
-
}
|
145
|
-
end
|
146
|
-
end
|
147
|
-
end
|
148
|
-
end
|
@@ -1,139 +0,0 @@
|
|
1
|
-
require 'rexml/document'
|
2
|
-
require 'SVG/Graph/Graph'
|
3
|
-
|
4
|
-
module SVG
|
5
|
-
module Graph
|
6
|
-
# = Synopsis
|
7
|
-
#
|
8
|
-
# A superclass for bar-style graphs. Do not attempt to instantiate
|
9
|
-
# directly; use one of the subclasses instead.
|
10
|
-
#
|
11
|
-
# = Author
|
12
|
-
#
|
13
|
-
# Sean E. Russell <serATgermaneHYPHENsoftwareDOTcom>
|
14
|
-
#
|
15
|
-
# Copyright 2004 Sean E. Russell
|
16
|
-
# This software is available under the Ruby license[LICENSE.txt]
|
17
|
-
#
|
18
|
-
class BarBase < SVG::Graph::Graph
|
19
|
-
# Ensures that :fields are provided in the configuration.
|
20
|
-
def initialize config
|
21
|
-
raise "fields was not supplied or is empty" unless config[:fields] &&
|
22
|
-
config[:fields].kind_of?(Array) &&
|
23
|
-
config[:fields].length > 0
|
24
|
-
super
|
25
|
-
end
|
26
|
-
|
27
|
-
# In addition to the defaults set in Graph::initialize, sets
|
28
|
-
# [bar_gap] true
|
29
|
-
# [stack] :overlap
|
30
|
-
def set_defaults
|
31
|
-
init_with( :bar_gap => true, :stack => :overlap )
|
32
|
-
end
|
33
|
-
|
34
|
-
# Whether to have a gap between the bars or not, default
|
35
|
-
# is true, set to false if you don't want gaps.
|
36
|
-
attr_accessor :bar_gap
|
37
|
-
# How to stack data sets. :overlap overlaps bars with
|
38
|
-
# transparent colors, :top stacks bars on top of one another,
|
39
|
-
# :side stacks the bars side-by-side. Defaults to :overlap.
|
40
|
-
attr_accessor :stack
|
41
|
-
|
42
|
-
|
43
|
-
protected
|
44
|
-
|
45
|
-
def max_value
|
46
|
-
@data.collect{|x| x[:data].max}.max
|
47
|
-
end
|
48
|
-
|
49
|
-
def min_value
|
50
|
-
min = 0
|
51
|
-
if min_scale_value.nil?
|
52
|
-
min = @data.collect{|x| x[:data].min}.min
|
53
|
-
min = min > 0 ? 0 : min
|
54
|
-
else
|
55
|
-
min = min_scale_value
|
56
|
-
end
|
57
|
-
return min
|
58
|
-
end
|
59
|
-
|
60
|
-
def get_css
|
61
|
-
return <<EOL
|
62
|
-
/* default fill styles for multiple datasets (probably only use a single dataset on this graph though) */
|
63
|
-
.key1,.fill1{
|
64
|
-
fill: #ff0000;
|
65
|
-
fill-opacity: 0.5;
|
66
|
-
stroke: none;
|
67
|
-
stroke-width: 0.5px;
|
68
|
-
}
|
69
|
-
.key2,.fill2{
|
70
|
-
fill: #0000ff;
|
71
|
-
fill-opacity: 0.5;
|
72
|
-
stroke: none;
|
73
|
-
stroke-width: 1px;
|
74
|
-
}
|
75
|
-
.key3,.fill3{
|
76
|
-
fill: #00ff00;
|
77
|
-
fill-opacity: 0.5;
|
78
|
-
stroke: none;
|
79
|
-
stroke-width: 1px;
|
80
|
-
}
|
81
|
-
.key4,.fill4{
|
82
|
-
fill: #ffcc00;
|
83
|
-
fill-opacity: 0.5;
|
84
|
-
stroke: none;
|
85
|
-
stroke-width: 1px;
|
86
|
-
}
|
87
|
-
.key5,.fill5{
|
88
|
-
fill: #00ccff;
|
89
|
-
fill-opacity: 0.5;
|
90
|
-
stroke: none;
|
91
|
-
stroke-width: 1px;
|
92
|
-
}
|
93
|
-
.key6,.fill6{
|
94
|
-
fill: #ff00ff;
|
95
|
-
fill-opacity: 0.5;
|
96
|
-
stroke: none;
|
97
|
-
stroke-width: 1px;
|
98
|
-
}
|
99
|
-
.key7,.fill7{
|
100
|
-
fill: #00ffff;
|
101
|
-
fill-opacity: 0.5;
|
102
|
-
stroke: none;
|
103
|
-
stroke-width: 1px;
|
104
|
-
}
|
105
|
-
.key8,.fill8{
|
106
|
-
fill: #ffff00;
|
107
|
-
fill-opacity: 0.5;
|
108
|
-
stroke: none;
|
109
|
-
stroke-width: 1px;
|
110
|
-
}
|
111
|
-
.key9,.fill9{
|
112
|
-
fill: #cc6666;
|
113
|
-
fill-opacity: 0.5;
|
114
|
-
stroke: none;
|
115
|
-
stroke-width: 1px;
|
116
|
-
}
|
117
|
-
.key10,.fill10{
|
118
|
-
fill: #663399;
|
119
|
-
fill-opacity: 0.5;
|
120
|
-
stroke: none;
|
121
|
-
stroke-width: 1px;
|
122
|
-
}
|
123
|
-
.key11,.fill11{
|
124
|
-
fill: #339900;
|
125
|
-
fill-opacity: 0.5;
|
126
|
-
stroke: none;
|
127
|
-
stroke-width: 1px;
|
128
|
-
}
|
129
|
-
.key12,.fill12{
|
130
|
-
fill: #9966FF;
|
131
|
-
fill-opacity: 0.5;
|
132
|
-
stroke: none;
|
133
|
-
stroke-width: 1px;
|
134
|
-
}
|
135
|
-
EOL
|
136
|
-
end
|
137
|
-
end
|
138
|
-
end
|
139
|
-
end
|
@@ -1,149 +0,0 @@
|
|
1
|
-
require 'rexml/document'
|
2
|
-
require 'SVG/Graph/BarBase'
|
3
|
-
|
4
|
-
module SVG
|
5
|
-
module Graph
|
6
|
-
# === Create presentation quality SVG horitonzal bar graphs easily
|
7
|
-
#
|
8
|
-
# = Synopsis
|
9
|
-
#
|
10
|
-
# require 'SVG/Graph/BarHorizontal'
|
11
|
-
#
|
12
|
-
# fields = %w(Jan Feb Mar)
|
13
|
-
# data_sales_02 = [12, 45, 21]
|
14
|
-
#
|
15
|
-
# graph = SVG::Graph::BarHorizontal.new({
|
16
|
-
# :height => 500,
|
17
|
-
# :width => 300,
|
18
|
-
# :fields => fields,
|
19
|
-
# })
|
20
|
-
#
|
21
|
-
# graph.add_data({
|
22
|
-
# :data => data_sales_02,
|
23
|
-
# :title => 'Sales 2002',
|
24
|
-
# })
|
25
|
-
#
|
26
|
-
# print "Content-type: image/svg+xml\r\n\r\n"
|
27
|
-
# print graph.burn
|
28
|
-
#
|
29
|
-
# = Description
|
30
|
-
#
|
31
|
-
# This object aims to allow you to easily create high quality
|
32
|
-
# SVG horitonzal bar graphs. You can either use the default style sheet
|
33
|
-
# or supply your own. Either way there are many options which can
|
34
|
-
# be configured to give you control over how the graph is
|
35
|
-
# generated - with or without a key, data elements at each point,
|
36
|
-
# title, subtitle etc.
|
37
|
-
#
|
38
|
-
# = Examples
|
39
|
-
#
|
40
|
-
# * http://germane-software.com/repositories/public/SVG/test/test.rb
|
41
|
-
#
|
42
|
-
# = See also
|
43
|
-
#
|
44
|
-
# * SVG::Graph::Graph
|
45
|
-
# * SVG::Graph::Bar
|
46
|
-
# * SVG::Graph::Line
|
47
|
-
# * SVG::Graph::Pie
|
48
|
-
# * SVG::Graph::Plot
|
49
|
-
# * SVG::Graph::TimeSeries
|
50
|
-
#
|
51
|
-
# == Author
|
52
|
-
#
|
53
|
-
# Sean E. Russell <serATgermaneHYPHENsoftwareDOTcom>
|
54
|
-
#
|
55
|
-
# Copyright 2004 Sean E. Russell
|
56
|
-
# This software is available under the Ruby license[LICENSE.txt]
|
57
|
-
#
|
58
|
-
class BarHorizontal < BarBase
|
59
|
-
# In addition to the defaults set in BarBase::set_defaults, sets
|
60
|
-
# [rotate_y_labels] true
|
61
|
-
# [show_x_guidelines] true
|
62
|
-
# [show_y_guidelines] false
|
63
|
-
def set_defaults
|
64
|
-
super
|
65
|
-
init_with(
|
66
|
-
:rotate_y_labels => true,
|
67
|
-
:show_x_guidelines => true,
|
68
|
-
:show_y_guidelines => false
|
69
|
-
)
|
70
|
-
self.right_align = self.right_font = 1
|
71
|
-
end
|
72
|
-
|
73
|
-
protected
|
74
|
-
|
75
|
-
def get_x_labels
|
76
|
-
maxvalue = max_value
|
77
|
-
minvalue = min_value
|
78
|
-
range = maxvalue - minvalue
|
79
|
-
top_pad = range == 0 ? 10 : range / 20.0
|
80
|
-
scale_range = (maxvalue + top_pad) - minvalue
|
81
|
-
|
82
|
-
scale_division = scale_divisions || (scale_range / 10.0)
|
83
|
-
|
84
|
-
if scale_integers
|
85
|
-
scale_division = scale_division < 1 ? 1 : scale_division.round
|
86
|
-
end
|
87
|
-
|
88
|
-
rv = []
|
89
|
-
maxvalue = maxvalue%scale_division == 0 ?
|
90
|
-
maxvalue : maxvalue + scale_division
|
91
|
-
minvalue.step( maxvalue, scale_division ) {|v| rv << v}
|
92
|
-
return rv
|
93
|
-
end
|
94
|
-
|
95
|
-
def get_y_labels
|
96
|
-
@config[:fields]
|
97
|
-
end
|
98
|
-
|
99
|
-
def y_label_offset( height )
|
100
|
-
height / -2.0
|
101
|
-
end
|
102
|
-
|
103
|
-
def draw_data
|
104
|
-
minvalue = min_value
|
105
|
-
fieldheight = field_height
|
106
|
-
|
107
|
-
unit_size = (@graph_width.to_f - font_size*2*right_font ) /
|
108
|
-
(get_x_labels.max - get_x_labels.min )
|
109
|
-
bargap = bar_gap ? (fieldheight < 10 ? fieldheight / 2 : 10) : 0
|
110
|
-
|
111
|
-
bar_height = fieldheight - bargap
|
112
|
-
bar_height /= @data.length if stack == :side
|
113
|
-
y_mod = (bar_height / 2) + (font_size / 2)
|
114
|
-
|
115
|
-
field_count = 1
|
116
|
-
@config[:fields].each_index { |i|
|
117
|
-
dataset_count = 0
|
118
|
-
for dataset in @data
|
119
|
-
value = dataset[:data][i]
|
120
|
-
|
121
|
-
top = @graph_height - (fieldheight * field_count)
|
122
|
-
top += (bar_height * dataset_count) if stack == :side
|
123
|
-
# cases (assume 0 = +ve):
|
124
|
-
# value min length left
|
125
|
-
# +ve +ve value.abs - min minvalue.abs
|
126
|
-
# +ve -ve value.abs - 0 minvalue.abs
|
127
|
-
# -ve -ve value.abs - 0 minvalue.abs + value
|
128
|
-
length = (value.abs - (minvalue > 0 ? minvalue : 0)) * unit_size
|
129
|
-
left = (minvalue.abs + (value < 0 ? value : 0)) * unit_size
|
130
|
-
|
131
|
-
@graph.add_element( "rect", {
|
132
|
-
"x" => left.to_s,
|
133
|
-
"y" => top.to_s,
|
134
|
-
"width" => length.to_s,
|
135
|
-
"height" => bar_height.to_s,
|
136
|
-
"class" => "fill#{dataset_count+1}"
|
137
|
-
})
|
138
|
-
|
139
|
-
make_datapoint_text(
|
140
|
-
left+length+5, top+y_mod, value, "text-anchor: start; "
|
141
|
-
)
|
142
|
-
dataset_count += 1
|
143
|
-
end
|
144
|
-
field_count += 1
|
145
|
-
}
|
146
|
-
end
|
147
|
-
end
|
148
|
-
end
|
149
|
-
end
|
@@ -1,977 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'zlib'
|
3
|
-
rescue
|
4
|
-
# Zlib not available
|
5
|
-
end
|
6
|
-
|
7
|
-
require 'rexml/document'
|
8
|
-
|
9
|
-
module SVG
|
10
|
-
module Graph
|
11
|
-
VERSION = '@ANT_VERSION@'
|
12
|
-
|
13
|
-
# === Base object for generating SVG Graphs
|
14
|
-
#
|
15
|
-
# == Synopsis
|
16
|
-
#
|
17
|
-
# This class is only used as a superclass of specialized charts. Do not
|
18
|
-
# attempt to use this class directly, unless creating a new chart type.
|
19
|
-
#
|
20
|
-
# For examples of how to subclass this class, see the existing specific
|
21
|
-
# subclasses, such as SVG::Graph::Pie.
|
22
|
-
#
|
23
|
-
# == Examples
|
24
|
-
#
|
25
|
-
# For examples of how to use this package, see either the test files, or
|
26
|
-
# the documentation for the specific class you want to use.
|
27
|
-
#
|
28
|
-
# * file:test/plot.rb
|
29
|
-
# * file:test/single.rb
|
30
|
-
# * file:test/test.rb
|
31
|
-
# * file:test/timeseries.rb
|
32
|
-
#
|
33
|
-
# == Description
|
34
|
-
#
|
35
|
-
# This package should be used as a base for creating SVG graphs.
|
36
|
-
#
|
37
|
-
# == Acknowledgements
|
38
|
-
#
|
39
|
-
# Leo Lapworth for creating the SVG::TT::Graph package which this Ruby
|
40
|
-
# port is based on.
|
41
|
-
#
|
42
|
-
# Stephen Morgan for creating the TT template and SVG.
|
43
|
-
#
|
44
|
-
# == See
|
45
|
-
#
|
46
|
-
# * SVG::Graph::BarHorizontal
|
47
|
-
# * SVG::Graph::Bar
|
48
|
-
# * SVG::Graph::Line
|
49
|
-
# * SVG::Graph::Pie
|
50
|
-
# * SVG::Graph::Plot
|
51
|
-
# * SVG::Graph::TimeSeries
|
52
|
-
#
|
53
|
-
# == Author
|
54
|
-
#
|
55
|
-
# Sean E. Russell <serATgermaneHYPHENsoftwareDOTcom>
|
56
|
-
#
|
57
|
-
# Copyright 2004 Sean E. Russell
|
58
|
-
# This software is available under the Ruby license[LICENSE.txt]
|
59
|
-
#
|
60
|
-
class Graph
|
61
|
-
include REXML
|
62
|
-
|
63
|
-
# Initialize the graph object with the graph settings. You won't
|
64
|
-
# instantiate this class directly; see the subclass for options.
|
65
|
-
# [width] 500
|
66
|
-
# [height] 300
|
67
|
-
# [show_x_guidelines] false
|
68
|
-
# [show_y_guidelines] true
|
69
|
-
# [show_data_values] true
|
70
|
-
# [min_scale_value] 0
|
71
|
-
# [show_x_labels] true
|
72
|
-
# [stagger_x_labels] false
|
73
|
-
# [rotate_x_labels] false
|
74
|
-
# [step_x_labels] 1
|
75
|
-
# [step_include_first_x_label] true
|
76
|
-
# [show_y_labels] true
|
77
|
-
# [rotate_y_labels] false
|
78
|
-
# [scale_integers] false
|
79
|
-
# [show_x_title] false
|
80
|
-
# [x_title] 'X Field names'
|
81
|
-
# [show_y_title] false
|
82
|
-
# [y_title_text_direction] :bt
|
83
|
-
# [y_title] 'Y Scale'
|
84
|
-
# [show_graph_title] false
|
85
|
-
# [graph_title] 'Graph Title'
|
86
|
-
# [show_graph_subtitle] false
|
87
|
-
# [graph_subtitle] 'Graph Sub Title'
|
88
|
-
# [key] true,
|
89
|
-
# [key_position] :right, # bottom or righ
|
90
|
-
# [font_size] 12
|
91
|
-
# [title_font_size] 16
|
92
|
-
# [subtitle_font_size] 14
|
93
|
-
# [x_label_font_size] 12
|
94
|
-
# [x_title_font_size] 14
|
95
|
-
# [y_label_font_size] 12
|
96
|
-
# [y_title_font_size] 14
|
97
|
-
# [key_font_size] 10
|
98
|
-
# [no_css] false
|
99
|
-
# [add_popups] false
|
100
|
-
def initialize( config )
|
101
|
-
@config = config
|
102
|
-
|
103
|
-
self.top_align = self.top_font = self.right_align = self.right_font = 0
|
104
|
-
|
105
|
-
init_with({
|
106
|
-
:width => 500,
|
107
|
-
:height => 300,
|
108
|
-
:show_x_guidelines => false,
|
109
|
-
:show_y_guidelines => true,
|
110
|
-
:show_data_values => true,
|
111
|
-
|
112
|
-
# :min_scale_value => 0,
|
113
|
-
|
114
|
-
:show_x_labels => true,
|
115
|
-
:stagger_x_labels => false,
|
116
|
-
:rotate_x_labels => false,
|
117
|
-
:step_x_labels => 1,
|
118
|
-
:step_include_first_x_label => true,
|
119
|
-
|
120
|
-
:show_y_labels => true,
|
121
|
-
:rotate_y_labels => false,
|
122
|
-
:stagger_y_labels => false,
|
123
|
-
:scale_integers => false,
|
124
|
-
|
125
|
-
:show_x_title => false,
|
126
|
-
:x_title => 'X Field names',
|
127
|
-
|
128
|
-
:show_y_title => false,
|
129
|
-
:y_title_text_direction => :bt,
|
130
|
-
:y_title => 'Y Scale',
|
131
|
-
|
132
|
-
:show_graph_title => false,
|
133
|
-
:graph_title => 'Graph Title',
|
134
|
-
:show_graph_subtitle => false,
|
135
|
-
:graph_subtitle => 'Graph Sub Title',
|
136
|
-
:key => true,
|
137
|
-
:key_position => :right, # bottom or right
|
138
|
-
|
139
|
-
:font_size =>12,
|
140
|
-
:title_font_size =>16,
|
141
|
-
:subtitle_font_size =>14,
|
142
|
-
:x_label_font_size =>12,
|
143
|
-
:x_title_font_size =>14,
|
144
|
-
:y_label_font_size =>12,
|
145
|
-
:y_title_font_size =>14,
|
146
|
-
:key_font_size =>10,
|
147
|
-
|
148
|
-
:no_css =>false,
|
149
|
-
:add_popups =>false,
|
150
|
-
})
|
151
|
-
|
152
|
-
set_defaults if respond_to? :set_defaults
|
153
|
-
|
154
|
-
init_with config
|
155
|
-
end
|
156
|
-
|
157
|
-
|
158
|
-
# This method allows you do add data to the graph object.
|
159
|
-
# It can be called several times to add more data sets in.
|
160
|
-
#
|
161
|
-
# data_sales_02 = [12, 45, 21];
|
162
|
-
#
|
163
|
-
# graph.add_data({
|
164
|
-
# :data => data_sales_02,
|
165
|
-
# :title => 'Sales 2002'
|
166
|
-
# })
|
167
|
-
def add_data conf
|
168
|
-
@data = [] unless defined? @data
|
169
|
-
|
170
|
-
if conf[:data] and conf[:data].kind_of? Array
|
171
|
-
@data << conf
|
172
|
-
else
|
173
|
-
raise "No data provided by #{conf.inspect}"
|
174
|
-
end
|
175
|
-
end
|
176
|
-
|
177
|
-
|
178
|
-
# This method removes all data from the object so that you can
|
179
|
-
# reuse it to create a new graph but with the same config options.
|
180
|
-
#
|
181
|
-
# graph.clear_data
|
182
|
-
def clear_data
|
183
|
-
@data = []
|
184
|
-
end
|
185
|
-
|
186
|
-
|
187
|
-
# This method processes the template with the data and
|
188
|
-
# config which has been set and returns the resulting SVG.
|
189
|
-
#
|
190
|
-
# This method will croak unless at least one data set has
|
191
|
-
# been added to the graph object.
|
192
|
-
#
|
193
|
-
# print graph.burn
|
194
|
-
def burn
|
195
|
-
raise "No data available" unless @data.size > 0
|
196
|
-
|
197
|
-
calculations if respond_to? :calculations
|
198
|
-
|
199
|
-
start_svg
|
200
|
-
calculate_graph_dimensions
|
201
|
-
@foreground = Element.new( "g" )
|
202
|
-
draw_graph
|
203
|
-
draw_titles
|
204
|
-
draw_legend
|
205
|
-
draw_data
|
206
|
-
@graph.add_element( @foreground )
|
207
|
-
style
|
208
|
-
|
209
|
-
data = ""
|
210
|
-
@doc.write( data, 0 )
|
211
|
-
|
212
|
-
if @config[:compress]
|
213
|
-
if Object.const_defined?(:Zlib)
|
214
|
-
inp, out = IO.pipe
|
215
|
-
gz = Zlib::GzipWriter.new( out )
|
216
|
-
gz.write data
|
217
|
-
gz.close
|
218
|
-
data = inp.read
|
219
|
-
else
|
220
|
-
data << "<!-- Ruby Zlib not available for SVGZ -->";
|
221
|
-
end
|
222
|
-
end
|
223
|
-
|
224
|
-
return data
|
225
|
-
end
|
226
|
-
|
227
|
-
|
228
|
-
# Set the height of the graph box, this is the total height
|
229
|
-
# of the SVG box created - not the graph it self which auto
|
230
|
-
# scales to fix the space.
|
231
|
-
attr_accessor :height
|
232
|
-
# Set the width of the graph box, this is the total width
|
233
|
-
# of the SVG box created - not the graph it self which auto
|
234
|
-
# scales to fix the space.
|
235
|
-
attr_accessor :width
|
236
|
-
# Set the path to an external stylesheet, set to '' if
|
237
|
-
# you want to revert back to using the defaut internal version.
|
238
|
-
#
|
239
|
-
# To create an external stylesheet create a graph using the
|
240
|
-
# default internal version and copy the stylesheet section to
|
241
|
-
# an external file and edit from there.
|
242
|
-
attr_accessor :style_sheet
|
243
|
-
# (Bool) Show the value of each element of data on the graph
|
244
|
-
attr_accessor :show_data_values
|
245
|
-
# The point at which the Y axis starts, defaults to '0',
|
246
|
-
# if set to nil it will default to the minimum data value.
|
247
|
-
attr_accessor :min_scale_value
|
248
|
-
# Whether to show labels on the X axis or not, defaults
|
249
|
-
# to true, set to false if you want to turn them off.
|
250
|
-
attr_accessor :show_x_labels
|
251
|
-
# This puts the X labels at alternative levels so if they
|
252
|
-
# are long field names they will not overlap so easily.
|
253
|
-
# Default it false, to turn on set to true.
|
254
|
-
attr_accessor :stagger_x_labels
|
255
|
-
# This puts the Y labels at alternative levels so if they
|
256
|
-
# are long field names they will not overlap so easily.
|
257
|
-
# Default it false, to turn on set to true.
|
258
|
-
attr_accessor :stagger_y_labels
|
259
|
-
# This turns the X axis labels by 90 degrees.
|
260
|
-
# Default it false, to turn on set to true.
|
261
|
-
attr_accessor :rotate_x_labels
|
262
|
-
# This turns the Y axis labels by 90 degrees.
|
263
|
-
# Default it false, to turn on set to true.
|
264
|
-
attr_accessor :rotate_y_labels
|
265
|
-
# How many "steps" to use between displayed X axis labels,
|
266
|
-
# a step of one means display every label, a step of two results
|
267
|
-
# in every other label being displayed (label <gap> label <gap> label),
|
268
|
-
# a step of three results in every third label being displayed
|
269
|
-
# (label <gap> <gap> label <gap> <gap> label) and so on.
|
270
|
-
attr_accessor :step_x_labels
|
271
|
-
# Whether to (when taking "steps" between X axis labels) step from
|
272
|
-
# the first label (i.e. always include the first label) or step from
|
273
|
-
# the X axis origin (i.e. start with a gap if step_x_labels is greater
|
274
|
-
# than one).
|
275
|
-
attr_accessor :step_include_first_x_label
|
276
|
-
# Whether to show labels on the Y axis or not, defaults
|
277
|
-
# to true, set to false if you want to turn them off.
|
278
|
-
attr_accessor :show_y_labels
|
279
|
-
# Ensures only whole numbers are used as the scale divisions.
|
280
|
-
# Default it false, to turn on set to true. This has no effect if
|
281
|
-
# scale divisions are less than 1.
|
282
|
-
attr_accessor :scale_integers
|
283
|
-
# This defines the gap between markers on the Y axis,
|
284
|
-
# default is a 10th of the max_value, e.g. you will have
|
285
|
-
# 10 markers on the Y axis. NOTE: do not set this too
|
286
|
-
# low - you are limited to 999 markers, after that the
|
287
|
-
# graph won't generate.
|
288
|
-
attr_accessor :scale_divisions
|
289
|
-
# Whether to show the title under the X axis labels,
|
290
|
-
# default is false, set to true to show.
|
291
|
-
attr_accessor :show_x_title
|
292
|
-
# What the title under X axis should be, e.g. 'Months'.
|
293
|
-
attr_accessor :x_title
|
294
|
-
# Whether to show the title under the Y axis labels,
|
295
|
-
# default is false, set to true to show.
|
296
|
-
attr_accessor :show_y_title
|
297
|
-
# Aligns writing mode for Y axis label.
|
298
|
-
# Defaults to :bt (Bottom to Top).
|
299
|
-
# Change to :tb (Top to Bottom) to reverse.
|
300
|
-
attr_accessor :y_title_text_direction
|
301
|
-
# What the title under Y axis should be, e.g. 'Sales in thousands'.
|
302
|
-
attr_accessor :y_title
|
303
|
-
# Whether to show a title on the graph, defaults
|
304
|
-
# to false, set to true to show.
|
305
|
-
attr_accessor :show_graph_title
|
306
|
-
# What the title on the graph should be.
|
307
|
-
attr_accessor :graph_title
|
308
|
-
# Whether to show a subtitle on the graph, defaults
|
309
|
-
# to false, set to true to show.
|
310
|
-
attr_accessor :show_graph_subtitle
|
311
|
-
# What the subtitle on the graph should be.
|
312
|
-
attr_accessor :graph_subtitle
|
313
|
-
# Whether to show a key, defaults to false, set to
|
314
|
-
# true if you want to show it.
|
315
|
-
attr_accessor :key
|
316
|
-
# Where the key should be positioned, defaults to
|
317
|
-
# :right, set to :bottom if you want to move it.
|
318
|
-
attr_accessor :key_position
|
319
|
-
# Set the font size (in points) of the data point labels
|
320
|
-
attr_accessor :font_size
|
321
|
-
# Set the font size of the X axis labels
|
322
|
-
attr_accessor :x_label_font_size
|
323
|
-
# Set the font size of the X axis title
|
324
|
-
attr_accessor :x_title_font_size
|
325
|
-
# Set the font size of the Y axis labels
|
326
|
-
attr_accessor :y_label_font_size
|
327
|
-
# Set the font size of the Y axis title
|
328
|
-
attr_accessor :y_title_font_size
|
329
|
-
# Set the title font size
|
330
|
-
attr_accessor :title_font_size
|
331
|
-
# Set the subtitle font size
|
332
|
-
attr_accessor :subtitle_font_size
|
333
|
-
# Set the key font size
|
334
|
-
attr_accessor :key_font_size
|
335
|
-
# Show guidelines for the X axis
|
336
|
-
attr_accessor :show_x_guidelines
|
337
|
-
# Show guidelines for the Y axis
|
338
|
-
attr_accessor :show_y_guidelines
|
339
|
-
# Do not use CSS if set to true. Many SVG viewers do not support CSS, but
|
340
|
-
# not using CSS can result in larger SVGs as well as making it impossible to
|
341
|
-
# change colors after the chart is generated. Defaults to false.
|
342
|
-
attr_accessor :no_css
|
343
|
-
# Add popups for the data points on some graphs
|
344
|
-
attr_accessor :add_popups
|
345
|
-
|
346
|
-
|
347
|
-
protected
|
348
|
-
|
349
|
-
def sort( *arrys )
|
350
|
-
sort_multiple( arrys )
|
351
|
-
end
|
352
|
-
|
353
|
-
# Overwrite configuration options with supplied options. Used
|
354
|
-
# by subclasses.
|
355
|
-
def init_with config
|
356
|
-
config.each { |key, value|
|
357
|
-
self.send((key.to_s+"=").to_sym, value ) if respond_to? key.to_sym
|
358
|
-
}
|
359
|
-
end
|
360
|
-
|
361
|
-
attr_accessor :top_align, :top_font, :right_align, :right_font
|
362
|
-
|
363
|
-
KEY_BOX_SIZE = 12
|
364
|
-
|
365
|
-
# Override this (and call super) to change the margin to the left
|
366
|
-
# of the plot area. Results in @border_left being set.
|
367
|
-
def calculate_left_margin
|
368
|
-
@border_left = 7
|
369
|
-
# Check for Y labels
|
370
|
-
max_y_label_height_px = rotate_y_labels ?
|
371
|
-
y_label_font_size :
|
372
|
-
get_y_labels.max{|a,b|
|
373
|
-
a.to_s.length<=>b.to_s.length
|
374
|
-
}.to_s.length * y_label_font_size * 0.6
|
375
|
-
@border_left += max_y_label_height_px if show_y_labels
|
376
|
-
@border_left += max_y_label_height_px + 10 if stagger_y_labels
|
377
|
-
@border_left += y_title_font_size + 5 if show_y_title
|
378
|
-
end
|
379
|
-
|
380
|
-
|
381
|
-
# Calculates the width of the widest Y label. This will be the
|
382
|
-
# character height if the Y labels are rotated
|
383
|
-
def max_y_label_width_px
|
384
|
-
return font_size if rotate_y_labels
|
385
|
-
end
|
386
|
-
|
387
|
-
|
388
|
-
# Override this (and call super) to change the margin to the right
|
389
|
-
# of the plot area. Results in @border_right being set.
|
390
|
-
def calculate_right_margin
|
391
|
-
@border_right = 7
|
392
|
-
if key and key_position == :right
|
393
|
-
val = keys.max { |a,b| a.length <=> b.length }
|
394
|
-
@border_right += val.length * key_font_size * 0.6
|
395
|
-
@border_right += KEY_BOX_SIZE
|
396
|
-
@border_right += 10 # Some padding around the box
|
397
|
-
end
|
398
|
-
end
|
399
|
-
|
400
|
-
|
401
|
-
# Override this (and call super) to change the margin to the top
|
402
|
-
# of the plot area. Results in @border_top being set.
|
403
|
-
def calculate_top_margin
|
404
|
-
@border_top = 5
|
405
|
-
@border_top += title_font_size if show_graph_title
|
406
|
-
@border_top += 5
|
407
|
-
@border_top += subtitle_font_size if show_graph_subtitle
|
408
|
-
end
|
409
|
-
|
410
|
-
|
411
|
-
# Adds pop-up point information to a graph.
|
412
|
-
def add_popup( x, y, label )
|
413
|
-
txt_width = label.length * font_size * 0.6 + 10
|
414
|
-
tx = (x+txt_width > width ? x-5 : x+5)
|
415
|
-
t = @foreground.add_element( "text", {
|
416
|
-
"x" => tx.to_s,
|
417
|
-
"y" => (y - font_size).to_s,
|
418
|
-
"visibility" => "hidden",
|
419
|
-
})
|
420
|
-
t.attributes["style"] = "fill: #000; "+
|
421
|
-
(x+txt_width > width ? "text-anchor: end;" : "text-anchor: start;")
|
422
|
-
t.text = label.to_s
|
423
|
-
t.attributes["id"] = t.object_id.to_s
|
424
|
-
|
425
|
-
@foreground.add_element( "circle", {
|
426
|
-
"cx" => x.to_s,
|
427
|
-
"cy" => y.to_s,
|
428
|
-
"r" => "10",
|
429
|
-
"style" => "opacity: 0",
|
430
|
-
"onmouseover" =>
|
431
|
-
"document.getElementById(#{t.object_id}).setAttribute('visibility', 'visible' )",
|
432
|
-
"onmouseout" =>
|
433
|
-
"document.getElementById(#{t.object_id}).setAttribute('visibility', 'hidden' )",
|
434
|
-
})
|
435
|
-
|
436
|
-
end
|
437
|
-
|
438
|
-
|
439
|
-
# Override this (and call super) to change the margin to the bottom
|
440
|
-
# of the plot area. Results in @border_bottom being set.
|
441
|
-
def calculate_bottom_margin
|
442
|
-
@border_bottom = 7
|
443
|
-
if key and key_position == :bottom
|
444
|
-
@border_bottom += @data.size * (font_size + 5)
|
445
|
-
@border_bottom += 10
|
446
|
-
end
|
447
|
-
if show_x_labels
|
448
|
-
max_x_label_height_px = (not rotate_x_labels) ?
|
449
|
-
x_label_font_size :
|
450
|
-
get_x_labels.max{|a,b|
|
451
|
-
a.to_s.length<=>b.to_s.length
|
452
|
-
}.to_s.length * x_label_font_size * 0.6
|
453
|
-
@border_bottom += max_x_label_height_px
|
454
|
-
@border_bottom += max_x_label_height_px + 10 if stagger_x_labels
|
455
|
-
end
|
456
|
-
@border_bottom += x_title_font_size + 5 if show_x_title
|
457
|
-
end
|
458
|
-
|
459
|
-
|
460
|
-
# Draws the background, axis, and labels.
|
461
|
-
def draw_graph
|
462
|
-
@graph = @root.add_element( "g", {
|
463
|
-
"transform" => "translate( #@border_left #@border_top )"
|
464
|
-
})
|
465
|
-
|
466
|
-
# Background
|
467
|
-
@graph.add_element( "rect", {
|
468
|
-
"x" => "0",
|
469
|
-
"y" => "0",
|
470
|
-
"width" => @graph_width.to_s,
|
471
|
-
"height" => @graph_height.to_s,
|
472
|
-
"class" => "graphBackground"
|
473
|
-
})
|
474
|
-
|
475
|
-
# Axis
|
476
|
-
@graph.add_element( "path", {
|
477
|
-
"d" => "M 0 0 v#@graph_height",
|
478
|
-
"class" => "axis",
|
479
|
-
"id" => "xAxis"
|
480
|
-
})
|
481
|
-
@graph.add_element( "path", {
|
482
|
-
"d" => "M 0 #@graph_height h#@graph_width",
|
483
|
-
"class" => "axis",
|
484
|
-
"id" => "yAxis"
|
485
|
-
})
|
486
|
-
|
487
|
-
draw_x_labels
|
488
|
-
draw_y_labels
|
489
|
-
end
|
490
|
-
|
491
|
-
|
492
|
-
# Where in the X area the label is drawn
|
493
|
-
# Centered in the field, should be width/2. Start, 0.
|
494
|
-
def x_label_offset( width )
|
495
|
-
0
|
496
|
-
end
|
497
|
-
|
498
|
-
def make_datapoint_text( x, y, value, style="" )
|
499
|
-
if show_data_values
|
500
|
-
@foreground.add_element( "text", {
|
501
|
-
"x" => x.to_s,
|
502
|
-
"y" => y.to_s,
|
503
|
-
"class" => "dataPointLabel",
|
504
|
-
"style" => "#{style} stroke: #fff; stroke-width: 2;"
|
505
|
-
}).text = value.to_s
|
506
|
-
text = @foreground.add_element( "text", {
|
507
|
-
"x" => x.to_s,
|
508
|
-
"y" => y.to_s,
|
509
|
-
"class" => "dataPointLabel"
|
510
|
-
})
|
511
|
-
text.text = value.to_s
|
512
|
-
text.attributes["style"] = style if style.length > 0
|
513
|
-
end
|
514
|
-
end
|
515
|
-
|
516
|
-
|
517
|
-
# Draws the X axis labels
|
518
|
-
def draw_x_labels
|
519
|
-
stagger = x_label_font_size + 5
|
520
|
-
if show_x_labels
|
521
|
-
label_width = field_width
|
522
|
-
|
523
|
-
count = 0
|
524
|
-
for label in get_x_labels
|
525
|
-
if step_include_first_x_label == true then
|
526
|
-
step = count % step_x_labels
|
527
|
-
else
|
528
|
-
step = (count + 1) % step_x_labels
|
529
|
-
end
|
530
|
-
|
531
|
-
if step == 0 then
|
532
|
-
text = @graph.add_element( "text" )
|
533
|
-
text.attributes["class"] = "xAxisLabels"
|
534
|
-
text.text = label.to_s
|
535
|
-
|
536
|
-
x = count * label_width + x_label_offset( label_width )
|
537
|
-
y = @graph_height + x_label_font_size + 3
|
538
|
-
t = 0 - (font_size / 2)
|
539
|
-
|
540
|
-
if stagger_x_labels and count % 2 == 1
|
541
|
-
y += stagger
|
542
|
-
@graph.add_element( "path", {
|
543
|
-
"d" => "M#{x} #@graph_height v#{stagger}",
|
544
|
-
"class" => "staggerGuideLine"
|
545
|
-
})
|
546
|
-
end
|
547
|
-
|
548
|
-
text.attributes["x"] = x.to_s
|
549
|
-
text.attributes["y"] = y.to_s
|
550
|
-
if rotate_x_labels
|
551
|
-
text.attributes["transform"] =
|
552
|
-
"rotate( 90 #{x} #{y-x_label_font_size} )"+
|
553
|
-
" translate( 0 -#{x_label_font_size/4} )"
|
554
|
-
text.attributes["style"] = "text-anchor: start"
|
555
|
-
else
|
556
|
-
text.attributes["style"] = "text-anchor: middle"
|
557
|
-
end
|
558
|
-
end
|
559
|
-
|
560
|
-
draw_x_guidelines( label_width, count ) if show_x_guidelines
|
561
|
-
count += 1
|
562
|
-
end
|
563
|
-
end
|
564
|
-
end
|
565
|
-
|
566
|
-
|
567
|
-
# Where in the Y area the label is drawn
|
568
|
-
# Centered in the field, should be width/2. Start, 0.
|
569
|
-
def y_label_offset( height )
|
570
|
-
0
|
571
|
-
end
|
572
|
-
|
573
|
-
|
574
|
-
def field_width
|
575
|
-
(@graph_width.to_f - font_size*2*right_font) /
|
576
|
-
(get_x_labels.length - right_align)
|
577
|
-
end
|
578
|
-
|
579
|
-
|
580
|
-
def field_height
|
581
|
-
(@graph_height.to_f - font_size*2*top_font) /
|
582
|
-
(get_y_labels.length - top_align)
|
583
|
-
end
|
584
|
-
|
585
|
-
|
586
|
-
# Draws the Y axis labels
|
587
|
-
def draw_y_labels
|
588
|
-
stagger = y_label_font_size + 5
|
589
|
-
if show_y_labels
|
590
|
-
label_height = field_height
|
591
|
-
|
592
|
-
count = 0
|
593
|
-
y_offset = @graph_height + y_label_offset( label_height )
|
594
|
-
y_offset += font_size/1.2 unless rotate_y_labels
|
595
|
-
for label in get_y_labels
|
596
|
-
y = y_offset - (label_height * count)
|
597
|
-
x = rotate_y_labels ? 0 : -3
|
598
|
-
|
599
|
-
if stagger_y_labels and count % 2 == 1
|
600
|
-
x -= stagger
|
601
|
-
@graph.add_element( "path", {
|
602
|
-
"d" => "M#{x} #{y} h#{stagger}",
|
603
|
-
"class" => "staggerGuideLine"
|
604
|
-
})
|
605
|
-
end
|
606
|
-
|
607
|
-
text = @graph.add_element( "text", {
|
608
|
-
"x" => x.to_s,
|
609
|
-
"y" => y.to_s,
|
610
|
-
"class" => "yAxisLabels"
|
611
|
-
})
|
612
|
-
text.text = label.to_s
|
613
|
-
if rotate_y_labels
|
614
|
-
text.attributes["transform"] = "translate( -#{font_size} 0 ) "+
|
615
|
-
"rotate( 90 #{x} #{y} ) "
|
616
|
-
text.attributes["style"] = "text-anchor: middle"
|
617
|
-
else
|
618
|
-
text.attributes["y"] = (y - (y_label_font_size/2)).to_s
|
619
|
-
text.attributes["style"] = "text-anchor: end"
|
620
|
-
end
|
621
|
-
draw_y_guidelines( label_height, count ) if show_y_guidelines
|
622
|
-
count += 1
|
623
|
-
end
|
624
|
-
end
|
625
|
-
end
|
626
|
-
|
627
|
-
|
628
|
-
# Draws the X axis guidelines
|
629
|
-
def draw_x_guidelines( label_height, count )
|
630
|
-
if count != 0
|
631
|
-
@graph.add_element( "path", {
|
632
|
-
"d" => "M#{label_height*count} 0 v#@graph_height",
|
633
|
-
"class" => "guideLines"
|
634
|
-
})
|
635
|
-
end
|
636
|
-
end
|
637
|
-
|
638
|
-
|
639
|
-
# Draws the Y axis guidelines
|
640
|
-
def draw_y_guidelines( label_height, count )
|
641
|
-
if count != 0
|
642
|
-
@graph.add_element( "path", {
|
643
|
-
"d" => "M0 #{@graph_height-(label_height*count)} h#@graph_width",
|
644
|
-
"class" => "guideLines"
|
645
|
-
})
|
646
|
-
end
|
647
|
-
end
|
648
|
-
|
649
|
-
|
650
|
-
# Draws the graph title and subtitle
|
651
|
-
def draw_titles
|
652
|
-
if show_graph_title
|
653
|
-
@root.add_element( "text", {
|
654
|
-
"x" => (width / 2).to_s,
|
655
|
-
"y" => (title_font_size).to_s,
|
656
|
-
"class" => "mainTitle"
|
657
|
-
}).text = graph_title.to_s
|
658
|
-
end
|
659
|
-
|
660
|
-
if show_graph_subtitle
|
661
|
-
y_subtitle = show_graph_title ?
|
662
|
-
title_font_size + 10 :
|
663
|
-
subtitle_font_size
|
664
|
-
@root.add_element("text", {
|
665
|
-
"x" => (width / 2).to_s,
|
666
|
-
"y" => (y_subtitle).to_s,
|
667
|
-
"class" => "subTitle"
|
668
|
-
}).text = graph_subtitle.to_s
|
669
|
-
end
|
670
|
-
|
671
|
-
if show_x_title
|
672
|
-
y = @graph_height + @border_top + x_title_font_size
|
673
|
-
if show_x_labels
|
674
|
-
y += x_label_font_size + 5 if stagger_x_labels
|
675
|
-
y += x_label_font_size + 5
|
676
|
-
end
|
677
|
-
x = width / 2
|
678
|
-
|
679
|
-
@root.add_element("text", {
|
680
|
-
"x" => x.to_s,
|
681
|
-
"y" => y.to_s,
|
682
|
-
"class" => "xAxisTitle",
|
683
|
-
}).text = x_title.to_s
|
684
|
-
end
|
685
|
-
|
686
|
-
if show_y_title
|
687
|
-
x = y_title_font_size + (y_title_text_direction==:bt ? 3 : -3)
|
688
|
-
y = height / 2
|
689
|
-
|
690
|
-
text = @root.add_element("text", {
|
691
|
-
"x" => x.to_s,
|
692
|
-
"y" => y.to_s,
|
693
|
-
"class" => "yAxisTitle",
|
694
|
-
})
|
695
|
-
text.text = y_title.to_s
|
696
|
-
if y_title_text_direction == :bt
|
697
|
-
text.attributes["transform"] = "rotate( -90, #{x}, #{y} )"
|
698
|
-
else
|
699
|
-
text.attributes["transform"] = "rotate( 90, #{x}, #{y} )"
|
700
|
-
end
|
701
|
-
end
|
702
|
-
end
|
703
|
-
|
704
|
-
def keys
|
705
|
-
return @data.collect{ |d| d[:title] }
|
706
|
-
end
|
707
|
-
|
708
|
-
# Draws the legend on the graph
|
709
|
-
def draw_legend
|
710
|
-
if key
|
711
|
-
group = @root.add_element( "g" )
|
712
|
-
|
713
|
-
key_count = 0
|
714
|
-
for key_name in keys
|
715
|
-
y_offset = (KEY_BOX_SIZE * key_count) + (key_count * 5)
|
716
|
-
group.add_element( "rect", {
|
717
|
-
"x" => 0.to_s,
|
718
|
-
"y" => y_offset.to_s,
|
719
|
-
"width" => KEY_BOX_SIZE.to_s,
|
720
|
-
"height" => KEY_BOX_SIZE.to_s,
|
721
|
-
"class" => "key#{key_count+1}"
|
722
|
-
})
|
723
|
-
group.add_element( "text", {
|
724
|
-
"x" => (KEY_BOX_SIZE + 5).to_s,
|
725
|
-
"y" => (y_offset + KEY_BOX_SIZE).to_s,
|
726
|
-
"class" => "keyText"
|
727
|
-
}).text = key_name.to_s
|
728
|
-
key_count += 1
|
729
|
-
end
|
730
|
-
|
731
|
-
case key_position
|
732
|
-
when :right
|
733
|
-
x_offset = @graph_width + @border_left + 10
|
734
|
-
y_offset = @border_top + 20
|
735
|
-
when :bottom
|
736
|
-
x_offset = @border_left + 20
|
737
|
-
y_offset = @border_top + @graph_height + 5
|
738
|
-
if show_x_labels
|
739
|
-
max_x_label_height_px = (not rotate_x_labels) ?
|
740
|
-
x_label_font_size :
|
741
|
-
get_x_labels.max{|a,b|
|
742
|
-
a.to_s.length<=>b.to_s.length
|
743
|
-
}.to_s.length * x_label_font_size * 0.6
|
744
|
-
x_label_font_size
|
745
|
-
y_offset += max_x_label_height_px
|
746
|
-
y_offset += max_x_label_height_px + 5 if stagger_x_labels
|
747
|
-
end
|
748
|
-
y_offset += x_title_font_size + 5 if show_x_title
|
749
|
-
end
|
750
|
-
group.attributes["transform"] = "translate(#{x_offset} #{y_offset})"
|
751
|
-
end
|
752
|
-
end
|
753
|
-
|
754
|
-
|
755
|
-
private
|
756
|
-
|
757
|
-
def sort_multiple( arrys, lo=0, hi=arrys[0].length-1 )
|
758
|
-
if lo < hi
|
759
|
-
p = partition(arrys,lo,hi)
|
760
|
-
sort_multiple(arrys, lo, p-1)
|
761
|
-
sort_multiple(arrys, p+1, hi)
|
762
|
-
end
|
763
|
-
arrys
|
764
|
-
end
|
765
|
-
|
766
|
-
def partition( arrys, lo, hi )
|
767
|
-
p = arrys[0][lo]
|
768
|
-
l = lo
|
769
|
-
z = lo+1
|
770
|
-
while z <= hi
|
771
|
-
if arrys[0][z] < p
|
772
|
-
l += 1
|
773
|
-
arrys.each { |arry| arry[z], arry[l] = arry[l], arry[z] }
|
774
|
-
end
|
775
|
-
z += 1
|
776
|
-
end
|
777
|
-
arrys.each { |arry| arry[lo], arry[l] = arry[l], arry[lo] }
|
778
|
-
l
|
779
|
-
end
|
780
|
-
|
781
|
-
def style
|
782
|
-
if no_css
|
783
|
-
styles = parse_css
|
784
|
-
@root.elements.each("//*[@class]") { |el|
|
785
|
-
cl = el.attributes["class"]
|
786
|
-
style = styles[cl]
|
787
|
-
style += el.attributes["style"] if el.attributes["style"]
|
788
|
-
el.attributes["style"] = style
|
789
|
-
}
|
790
|
-
end
|
791
|
-
end
|
792
|
-
|
793
|
-
def parse_css
|
794
|
-
css = get_style
|
795
|
-
rv = {}
|
796
|
-
while css =~ /^(\.(\w+)(?:\s*,\s*\.\w+)*)\s*\{/m
|
797
|
-
names_orig = names = $1
|
798
|
-
css = $'
|
799
|
-
css =~ /([^}]+)\}/m
|
800
|
-
content = $1
|
801
|
-
css = $'
|
802
|
-
|
803
|
-
nms = []
|
804
|
-
while names =~ /^\s*,?\s*\.(\w+)/
|
805
|
-
nms << $1
|
806
|
-
names = $'
|
807
|
-
end
|
808
|
-
|
809
|
-
content = content.tr( "\n\t", " ")
|
810
|
-
for name in nms
|
811
|
-
current = rv[name]
|
812
|
-
current = current ? current+"; "+content : content
|
813
|
-
rv[name] = current.strip.squeeze(" ")
|
814
|
-
end
|
815
|
-
end
|
816
|
-
return rv
|
817
|
-
end
|
818
|
-
|
819
|
-
|
820
|
-
# Override and place code to add defs here
|
821
|
-
def add_defs defs
|
822
|
-
end
|
823
|
-
|
824
|
-
|
825
|
-
def start_svg
|
826
|
-
# Base document
|
827
|
-
@doc = Document.new
|
828
|
-
@doc << XMLDecl.new
|
829
|
-
@doc << DocType.new( %q{svg PUBLIC "-//W3C//DTD SVG 1.0//EN" } +
|
830
|
-
%q{"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"} )
|
831
|
-
if style_sheet && style_sheet != ''
|
832
|
-
@doc << Instruction.new( "xml-stylesheet",
|
833
|
-
%Q{href="#{style_sheet}" type="text/css"} )
|
834
|
-
end
|
835
|
-
@root = @doc.add_element( "svg", {
|
836
|
-
"width" => width.to_s,
|
837
|
-
"height" => height.to_s,
|
838
|
-
"viewBox" => "0 0 #{width} #{height}",
|
839
|
-
"xmlns" => "http://www.w3.org/2000/svg",
|
840
|
-
"xmlns:xlink" => "http://www.w3.org/1999/xlink",
|
841
|
-
"xmlns:a3" => "http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/",
|
842
|
-
"a3:scriptImplementation" => "Adobe"
|
843
|
-
})
|
844
|
-
@root << Comment.new( " "+"\\"*66 )
|
845
|
-
@root << Comment.new( " Created with SVG::Graph " )
|
846
|
-
@root << Comment.new( " SVG::Graph by Sean E. Russell " )
|
847
|
-
@root << Comment.new( " Losely based on SVG::TT::Graph for Perl by"+
|
848
|
-
" Leo Lapworth & Stephan Morgan " )
|
849
|
-
@root << Comment.new( " "+"/"*66 )
|
850
|
-
|
851
|
-
defs = @root.add_element( "defs" )
|
852
|
-
add_defs defs
|
853
|
-
if not(style_sheet && style_sheet != '') and !no_css
|
854
|
-
@root << Comment.new(" include default stylesheet if none specified ")
|
855
|
-
style = defs.add_element( "style", {"type"=>"text/css"} )
|
856
|
-
style << CData.new( get_style )
|
857
|
-
end
|
858
|
-
|
859
|
-
@root << Comment.new( "SVG Background" )
|
860
|
-
@root.add_element( "rect", {
|
861
|
-
"width" => width.to_s,
|
862
|
-
"height" => height.to_s,
|
863
|
-
"x" => "0",
|
864
|
-
"y" => "0",
|
865
|
-
"class" => "svgBackground"
|
866
|
-
})
|
867
|
-
end
|
868
|
-
|
869
|
-
|
870
|
-
def calculate_graph_dimensions
|
871
|
-
calculate_left_margin
|
872
|
-
calculate_right_margin
|
873
|
-
calculate_bottom_margin
|
874
|
-
calculate_top_margin
|
875
|
-
@graph_width = width - @border_left - @border_right
|
876
|
-
@graph_height = height - @border_top - @border_bottom
|
877
|
-
end
|
878
|
-
|
879
|
-
def get_style
|
880
|
-
return <<EOL
|
881
|
-
/* Copy from here for external style sheet */
|
882
|
-
.svgBackground{
|
883
|
-
fill:#ffffff;
|
884
|
-
}
|
885
|
-
.graphBackground{
|
886
|
-
fill:#f0f0f0;
|
887
|
-
}
|
888
|
-
|
889
|
-
/* graphs titles */
|
890
|
-
.mainTitle{
|
891
|
-
text-anchor: middle;
|
892
|
-
fill: #000000;
|
893
|
-
font-size: #{title_font_size}px;
|
894
|
-
font-family: "Arial", sans-serif;
|
895
|
-
font-weight: normal;
|
896
|
-
}
|
897
|
-
.subTitle{
|
898
|
-
text-anchor: middle;
|
899
|
-
fill: #999999;
|
900
|
-
font-size: #{subtitle_font_size}px;
|
901
|
-
font-family: "Arial", sans-serif;
|
902
|
-
font-weight: normal;
|
903
|
-
}
|
904
|
-
|
905
|
-
.axis{
|
906
|
-
stroke: #000000;
|
907
|
-
stroke-width: 1px;
|
908
|
-
}
|
909
|
-
|
910
|
-
.guideLines{
|
911
|
-
stroke: #666666;
|
912
|
-
stroke-width: 1px;
|
913
|
-
stroke-dasharray: 5 5;
|
914
|
-
}
|
915
|
-
|
916
|
-
.xAxisLabels{
|
917
|
-
text-anchor: middle;
|
918
|
-
fill: #000000;
|
919
|
-
font-size: #{x_label_font_size}px;
|
920
|
-
font-family: "Arial", sans-serif;
|
921
|
-
font-weight: normal;
|
922
|
-
}
|
923
|
-
|
924
|
-
.yAxisLabels{
|
925
|
-
text-anchor: end;
|
926
|
-
fill: #000000;
|
927
|
-
font-size: #{y_label_font_size}px;
|
928
|
-
font-family: "Arial", sans-serif;
|
929
|
-
font-weight: normal;
|
930
|
-
}
|
931
|
-
|
932
|
-
.xAxisTitle{
|
933
|
-
text-anchor: middle;
|
934
|
-
fill: #ff0000;
|
935
|
-
font-size: #{x_title_font_size}px;
|
936
|
-
font-family: "Arial", sans-serif;
|
937
|
-
font-weight: normal;
|
938
|
-
}
|
939
|
-
|
940
|
-
.yAxisTitle{
|
941
|
-
fill: #ff0000;
|
942
|
-
text-anchor: middle;
|
943
|
-
font-size: #{y_title_font_size}px;
|
944
|
-
font-family: "Arial", sans-serif;
|
945
|
-
font-weight: normal;
|
946
|
-
}
|
947
|
-
|
948
|
-
.dataPointLabel{
|
949
|
-
fill: #000000;
|
950
|
-
text-anchor:middle;
|
951
|
-
font-size: 10px;
|
952
|
-
font-family: "Arial", sans-serif;
|
953
|
-
font-weight: normal;
|
954
|
-
}
|
955
|
-
|
956
|
-
.staggerGuideLine{
|
957
|
-
fill: none;
|
958
|
-
stroke: #000000;
|
959
|
-
stroke-width: 0.5px;
|
960
|
-
}
|
961
|
-
|
962
|
-
#{get_css}
|
963
|
-
|
964
|
-
.keyText{
|
965
|
-
fill: #000000;
|
966
|
-
text-anchor:start;
|
967
|
-
font-size: #{key_font_size}px;
|
968
|
-
font-family: "Arial", sans-serif;
|
969
|
-
font-weight: normal;
|
970
|
-
}
|
971
|
-
/* End copy for external style sheet */
|
972
|
-
EOL
|
973
|
-
end
|
974
|
-
|
975
|
-
end
|
976
|
-
end
|
977
|
-
end
|