redmine_extensions 0.0.34 → 0.0.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/redmine_extensions/redmine_extensions.js +46 -20
  3. data/{spec/redmine/public/javascripts/redmine_extensions/redmine_extensions.js → app/assets/javascripts/redmine_extensions/redmine_extensions.js.orig} +48 -15
  4. data/app/helpers/redmine_extensions/application_helper.rb +2 -2
  5. data/app/helpers/redmine_extensions/application_helper.rb.orig +66 -109
  6. data/lib/redmine_extensions/version.rb +1 -1
  7. data/spec/redmine/{db/test.sqlite3 → tmp/pdf/empty} +0 -0
  8. data/spec/redmine/tmp/test/empty +0 -0
  9. data/spec/redmine/tmp/thumbnails/empty +0 -0
  10. metadata +9 -52
  11. data/app/views/easy_entity_assignments/_assignments_container.html.erb.orig +0 -45
  12. data/app/views/easy_queries/_entities.html.erb.orig +0 -67
  13. data/lib/redmine_extensions/easy_query_adapter.rb.orig +0 -185
  14. data/lib/redmine_extensions/version.rb.orig +0 -7
  15. data/spec/redmine/Gemfile.lock +0 -191
  16. data/spec/redmine/config/secrets.yml +0 -3
  17. data/spec/redmine/db/development.sqlite3 +0 -0
  18. data/spec/redmine/db/schema.rb +0 -678
  19. data/spec/redmine/log/development.log +0 -22900
  20. data/spec/redmine/log/test.scm.stderr.log +0 -11
  21. data/spec/redmine/plugins/easy_test_plugin/Gemfile +0 -1
  22. data/spec/redmine/plugins/easy_test_plugin/app/controllers/easy_issue_tests_controller.rb +0 -9
  23. data/spec/redmine/plugins/easy_test_plugin/app/models/easy_testing_query.rb +0 -90
  24. data/spec/redmine/plugins/easy_test_plugin/app/views/easy_issue_tests/index.html.erb +0 -2
  25. data/spec/redmine/plugins/easy_test_plugin/config/locales/en.yml +0 -2
  26. data/spec/redmine/plugins/easy_test_plugin/config/routes.rb +0 -2
  27. data/spec/redmine/plugins/easy_test_plugin/init.rb +0 -34
  28. data/spec/redmine/plugins/easy_test_plugin/lib/easy_test_plugin/hooks.rb +0 -5
  29. data/spec/redmine/plugins/easy_test_plugin/lib/easy_test_plugin/internals.rb +0 -4
  30. data/spec/redmine/plugins/easy_test_plugin/lib/easy_test_plugin/redmine_patch/controllers/issues_controller_patch.example +0 -30
  31. data/spec/redmine/plugins/easy_test_plugin/lib/easy_test_plugin/redmine_patch/helpers/issues_helper_patch.example +0 -30
  32. data/spec/redmine/plugins/easy_test_plugin/lib/easy_test_plugin/redmine_patch/models/issue_patch.example +0 -30
  33. data/spec/redmine/public/javascripts/redmine_extensions/application.js +0 -13
  34. data/spec/redmine/public/javascripts/redmine_extensions/jquery.easy_query.js +0 -235
  35. data/spec/redmine/public/javascripts/redmine_extensions/jquery.entityarray.js +0 -130
@@ -1,7 +0,0 @@
1
- module RedmineExtensions
2
- <<<<<<< HEAD
3
- VERSION = '0.1.0'
4
- =======
5
- VERSION = '0.0.30'
6
- >>>>>>> master
7
- end
@@ -1,191 +0,0 @@
1
- GEM
2
- specs:
3
- actionmailer (4.2.3)
4
- actionpack (= 4.2.3)
5
- actionview (= 4.2.3)
6
- activejob (= 4.2.3)
7
- mail (~> 2.5, >= 2.5.4)
8
- rails-dom-testing (~> 1.0, >= 1.0.5)
9
- actionpack (4.2.3)
10
- actionview (= 4.2.3)
11
- activesupport (= 4.2.3)
12
- rack (~> 1.6)
13
- rack-test (~> 0.6.2)
14
- rails-dom-testing (~> 1.0, >= 1.0.5)
15
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
16
- actionpack-action_caching (1.1.1)
17
- actionpack (>= 4.0.0, < 5.0)
18
- actionpack-xml_parser (1.0.2)
19
- actionpack (>= 4.0.0, < 5)
20
- actionview (4.2.3)
21
- activesupport (= 4.2.3)
22
- builder (~> 3.1)
23
- erubis (~> 2.7.0)
24
- rails-dom-testing (~> 1.0, >= 1.0.5)
25
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
- activejob (4.2.3)
27
- activesupport (= 4.2.3)
28
- globalid (>= 0.3.0)
29
- activemodel (4.2.3)
30
- activesupport (= 4.2.3)
31
- builder (~> 3.1)
32
- activerecord (4.2.3)
33
- activemodel (= 4.2.3)
34
- activesupport (= 4.2.3)
35
- arel (~> 6.0)
36
- activesupport (4.2.3)
37
- i18n (~> 0.7)
38
- json (~> 1.7, >= 1.7.7)
39
- minitest (~> 5.1)
40
- thread_safe (~> 0.3, >= 0.3.4)
41
- tzinfo (~> 1.1)
42
- addressable (2.4.0)
43
- arel (6.0.3)
44
- builder (3.2.2)
45
- capybara (2.7.1)
46
- addressable
47
- mime-types (>= 1.16)
48
- nokogiri (>= 1.3.3)
49
- rack (>= 1.0.0)
50
- rack-test (>= 0.5.4)
51
- xpath (~> 2.0)
52
- childprocess (0.5.9)
53
- ffi (~> 1.0, >= 1.0.11)
54
- coderay (1.1.1)
55
- concurrent-ruby (1.0.2)
56
- docile (1.1.5)
57
- erubis (2.7.0)
58
- ffi (1.9.10)
59
- globalid (0.3.6)
60
- activesupport (>= 4.1.0)
61
- htmlentities (4.3.1)
62
- i18n (0.7.0)
63
- jquery-rails (3.1.4)
64
- railties (>= 3.0, < 5.0)
65
- thor (>= 0.14, < 2.0)
66
- json (1.8.3)
67
- loofah (2.0.3)
68
- nokogiri (>= 1.5.9)
69
- mail (2.6.4)
70
- mime-types (>= 1.16, < 4)
71
- metaclass (0.0.4)
72
- mime-types (3.1)
73
- mime-types-data (~> 3.2015)
74
- mime-types-data (3.2016.0521)
75
- mini_portile2 (2.1.0)
76
- minitest (5.9.0)
77
- mocha (1.1.0)
78
- metaclass (~> 0.0.1)
79
- multi_json (1.12.1)
80
- net-ldap (0.3.1)
81
- nokogiri (1.6.8)
82
- mini_portile2 (~> 2.1.0)
83
- pkg-config (~> 1.1.7)
84
- pkg-config (1.1.7)
85
- protected_attributes (1.1.3)
86
- activemodel (>= 4.0.1, < 5.0)
87
- rack (1.6.4)
88
- rack-openid (1.4.2)
89
- rack (>= 1.1.0)
90
- ruby-openid (>= 2.1.8)
91
- rack-test (0.6.3)
92
- rack (>= 1.0)
93
- rails (4.2.3)
94
- actionmailer (= 4.2.3)
95
- actionpack (= 4.2.3)
96
- actionview (= 4.2.3)
97
- activejob (= 4.2.3)
98
- activemodel (= 4.2.3)
99
- activerecord (= 4.2.3)
100
- activesupport (= 4.2.3)
101
- bundler (>= 1.3.0, < 2.0)
102
- railties (= 4.2.3)
103
- sprockets-rails
104
- rails-deprecated_sanitizer (1.0.3)
105
- activesupport (>= 4.2.0.alpha)
106
- rails-dom-testing (1.0.7)
107
- activesupport (>= 4.2.0.beta, < 5.0)
108
- nokogiri (~> 1.6.0)
109
- rails-deprecated_sanitizer (>= 1.0.1)
110
- rails-html-sanitizer (1.0.3)
111
- loofah (~> 2.0)
112
- railties (4.2.3)
113
- actionpack (= 4.2.3)
114
- activesupport (= 4.2.3)
115
- rake (>= 0.8.7)
116
- thor (>= 0.18.1, < 2.0)
117
- rake (11.2.2)
118
- rbpdf (1.18.7)
119
- htmlentities (= 4.3.1)
120
- rdoc (4.2.2)
121
- json (~> 1.4)
122
- redcarpet (3.1.2)
123
- redmine_extensions (0.0.30)
124
- rails (~> 4.2)
125
- request_store (1.0.5)
126
- rmagick (2.15.4)
127
- ruby-openid (2.3.0)
128
- rubyzip (1.2.0)
129
- selenium-webdriver (2.53.3)
130
- childprocess (~> 0.5)
131
- rubyzip (~> 1.0)
132
- websocket (~> 1.0)
133
- simplecov (0.9.2)
134
- docile (~> 1.1.0)
135
- multi_json (~> 1.0)
136
- simplecov-html (~> 0.9.0)
137
- simplecov-html (0.9.0)
138
- sprockets (3.6.1)
139
- concurrent-ruby (~> 1.0)
140
- rack (> 1, < 3)
141
- sprockets-rails (3.0.4)
142
- actionpack (>= 4.0)
143
- activesupport (>= 4.0)
144
- sprockets (>= 3.0.0)
145
- sqlite3 (1.3.11)
146
- thor (0.19.1)
147
- thread_safe (0.3.5)
148
- tzinfo (1.2.2)
149
- thread_safe (~> 0.1)
150
- websocket (1.2.3)
151
- xpath (2.0.0)
152
- nokogiri (~> 1.3)
153
- yard (0.8.7.6)
154
-
155
- PLATFORMS
156
- ruby
157
-
158
- DEPENDENCIES
159
- actionpack-action_caching
160
- actionpack-xml_parser
161
- activerecord-jdbc-adapter (~> 1.3.2)
162
- activerecord-jdbcsqlite3-adapter
163
- builder (>= 3.0.4)
164
- capybara
165
- coderay (~> 1.1.0)
166
- jdbc-sqlite3 (>= 3.8.10.1)
167
- jquery-rails (~> 3.1.3)
168
- loofah (~> 2.0)
169
- mime-types
170
- minitest
171
- mocha
172
- net-ldap (~> 0.3.1)
173
- protected_attributes
174
- rack-openid
175
- rails (= 4.2.3)
176
- rails-dom-testing
177
- rbpdf (~> 1.18.6)
178
- rdoc (>= 2.4.2)
179
- redcarpet (~> 3.1.2)
180
- redmine_extensions
181
- request_store (= 1.0.5)
182
- rmagick (>= 2.14.0)
183
- ruby-openid (~> 2.3.0)
184
- selenium-webdriver
185
- simplecov (~> 0.9.1)
186
- sqlite3
187
- tzinfo-data
188
- yard
189
-
190
- BUNDLED WITH
191
- 1.11.2
@@ -1,3 +0,0 @@
1
- development:
2
- secret_key_base: 025605ee641c392aac2d5c90953454a16ddf857266b2f628fe0cf4413998c219a575902ca5b435d6693ee922635626bcfe72ccf4bda9c34a0ede2973f14787f5
3
- some_api_key: SOMEKEY
Binary file
@@ -1,678 +0,0 @@
1
- # encoding: UTF-8
2
- # This file is auto-generated from the current state of the database. Instead
3
- # of editing this file, please use the migrations feature of Active Record to
4
- # incrementally modify your database, and then regenerate this schema definition.
5
- #
6
- # Note that this schema.rb definition is the authoritative source for your
7
- # database schema. If you need to create the application database on another
8
- # system, you should be using db:schema:load, not running all the migrations
9
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
- # you'll amass, the slower it'll run and the greater likelihood for issues).
11
- #
12
- # It's strongly recommended that you check this file into your version control system.
13
-
14
- ActiveRecord::Schema.define(version: 20160519161300) do
15
-
16
- create_table "attachments", force: :cascade do |t|
17
- t.integer "container_id"
18
- t.string "container_type", limit: 30
19
- t.string "filename", default: "", null: false
20
- t.string "disk_filename", default: "", null: false
21
- t.integer "filesize", default: 0, null: false
22
- t.string "content_type", default: ""
23
- t.string "digest", limit: 40, default: "", null: false
24
- t.integer "downloads", default: 0, null: false
25
- t.integer "author_id", default: 0, null: false
26
- t.datetime "created_on"
27
- t.string "description"
28
- t.string "disk_directory"
29
- end
30
-
31
- add_index "attachments", ["author_id"], name: "index_attachments_on_author_id"
32
- add_index "attachments", ["container_id", "container_type"], name: "index_attachments_on_container_id_and_container_type"
33
- add_index "attachments", ["created_on"], name: "index_attachments_on_created_on"
34
-
35
- create_table "auth_sources", force: :cascade do |t|
36
- t.string "type", limit: 30, default: "", null: false
37
- t.string "name", limit: 60, default: "", null: false
38
- t.string "host", limit: 60
39
- t.integer "port"
40
- t.string "account"
41
- t.string "account_password", default: ""
42
- t.string "base_dn", limit: 255
43
- t.string "attr_login", limit: 30
44
- t.string "attr_firstname", limit: 30
45
- t.string "attr_lastname", limit: 30
46
- t.string "attr_mail", limit: 30
47
- t.boolean "onthefly_register", default: false, null: false
48
- t.boolean "tls", default: false, null: false
49
- t.string "filter"
50
- t.integer "timeout"
51
- end
52
-
53
- add_index "auth_sources", ["id", "type"], name: "index_auth_sources_on_id_and_type"
54
-
55
- create_table "boards", force: :cascade do |t|
56
- t.integer "project_id", null: false
57
- t.string "name", default: "", null: false
58
- t.string "description"
59
- t.integer "position", default: 1
60
- t.integer "topics_count", default: 0, null: false
61
- t.integer "messages_count", default: 0, null: false
62
- t.integer "last_message_id"
63
- t.integer "parent_id"
64
- end
65
-
66
- add_index "boards", ["last_message_id"], name: "index_boards_on_last_message_id"
67
- add_index "boards", ["project_id"], name: "boards_project_id"
68
-
69
- create_table "changes", force: :cascade do |t|
70
- t.integer "changeset_id", null: false
71
- t.string "action", limit: 1, default: "", null: false
72
- t.text "path", null: false
73
- t.text "from_path"
74
- t.string "from_revision"
75
- t.string "revision"
76
- t.string "branch"
77
- end
78
-
79
- add_index "changes", ["changeset_id"], name: "changesets_changeset_id"
80
-
81
- create_table "changeset_parents", id: false, force: :cascade do |t|
82
- t.integer "changeset_id", null: false
83
- t.integer "parent_id", null: false
84
- end
85
-
86
- add_index "changeset_parents", ["changeset_id"], name: "changeset_parents_changeset_ids"
87
- add_index "changeset_parents", ["parent_id"], name: "changeset_parents_parent_ids"
88
-
89
- create_table "changesets", force: :cascade do |t|
90
- t.integer "repository_id", null: false
91
- t.string "revision", null: false
92
- t.string "committer"
93
- t.datetime "committed_on", null: false
94
- t.text "comments"
95
- t.date "commit_date"
96
- t.string "scmid"
97
- t.integer "user_id"
98
- end
99
-
100
- add_index "changesets", ["committed_on"], name: "index_changesets_on_committed_on"
101
- add_index "changesets", ["repository_id", "revision"], name: "changesets_repos_rev", unique: true
102
- add_index "changesets", ["repository_id", "scmid"], name: "changesets_repos_scmid"
103
- add_index "changesets", ["repository_id"], name: "index_changesets_on_repository_id"
104
- add_index "changesets", ["user_id"], name: "index_changesets_on_user_id"
105
-
106
- create_table "changesets_issues", id: false, force: :cascade do |t|
107
- t.integer "changeset_id", null: false
108
- t.integer "issue_id", null: false
109
- end
110
-
111
- add_index "changesets_issues", ["changeset_id", "issue_id"], name: "changesets_issues_ids", unique: true
112
-
113
- create_table "comments", force: :cascade do |t|
114
- t.string "commented_type", limit: 30, default: "", null: false
115
- t.integer "commented_id", default: 0, null: false
116
- t.integer "author_id", default: 0, null: false
117
- t.text "comments"
118
- t.datetime "created_on", null: false
119
- t.datetime "updated_on", null: false
120
- end
121
-
122
- add_index "comments", ["author_id"], name: "index_comments_on_author_id"
123
- add_index "comments", ["commented_id", "commented_type"], name: "index_comments_on_commented_id_and_commented_type"
124
-
125
- create_table "custom_fields", force: :cascade do |t|
126
- t.string "type", limit: 30, default: "", null: false
127
- t.string "name", limit: 30, default: "", null: false
128
- t.string "field_format", limit: 30, default: "", null: false
129
- t.text "possible_values"
130
- t.string "regexp", default: ""
131
- t.integer "min_length"
132
- t.integer "max_length"
133
- t.boolean "is_required", default: false, null: false
134
- t.boolean "is_for_all", default: false, null: false
135
- t.boolean "is_filter", default: false, null: false
136
- t.integer "position", default: 1
137
- t.boolean "searchable", default: false
138
- t.text "default_value"
139
- t.boolean "editable", default: true
140
- t.boolean "visible", default: true, null: false
141
- t.boolean "multiple", default: false
142
- t.text "format_store"
143
- t.text "description"
144
- end
145
-
146
- add_index "custom_fields", ["id", "type"], name: "index_custom_fields_on_id_and_type"
147
-
148
- create_table "custom_fields_projects", id: false, force: :cascade do |t|
149
- t.integer "custom_field_id", default: 0, null: false
150
- t.integer "project_id", default: 0, null: false
151
- end
152
-
153
- add_index "custom_fields_projects", ["custom_field_id", "project_id"], name: "index_custom_fields_projects_on_custom_field_id_and_project_id", unique: true
154
-
155
- create_table "custom_fields_roles", id: false, force: :cascade do |t|
156
- t.integer "custom_field_id", null: false
157
- t.integer "role_id", null: false
158
- end
159
-
160
- add_index "custom_fields_roles", ["custom_field_id", "role_id"], name: "custom_fields_roles_ids", unique: true
161
-
162
- create_table "custom_fields_trackers", id: false, force: :cascade do |t|
163
- t.integer "custom_field_id", default: 0, null: false
164
- t.integer "tracker_id", default: 0, null: false
165
- end
166
-
167
- add_index "custom_fields_trackers", ["custom_field_id", "tracker_id"], name: "index_custom_fields_trackers_on_custom_field_id_and_tracker_id", unique: true
168
-
169
- create_table "custom_values", force: :cascade do |t|
170
- t.string "customized_type", limit: 30, default: "", null: false
171
- t.integer "customized_id", default: 0, null: false
172
- t.integer "custom_field_id", default: 0, null: false
173
- t.text "value"
174
- end
175
-
176
- add_index "custom_values", ["custom_field_id"], name: "index_custom_values_on_custom_field_id"
177
- add_index "custom_values", ["customized_type", "customized_id"], name: "custom_values_customized"
178
-
179
- create_table "documents", force: :cascade do |t|
180
- t.integer "project_id", default: 0, null: false
181
- t.integer "category_id", default: 0, null: false
182
- t.string "title", default: "", null: false
183
- t.text "description"
184
- t.datetime "created_on"
185
- end
186
-
187
- add_index "documents", ["category_id"], name: "index_documents_on_category_id"
188
- add_index "documents", ["created_on"], name: "index_documents_on_created_on"
189
- add_index "documents", ["project_id"], name: "documents_project_id"
190
-
191
- create_table "easy_entity_assignments", force: :cascade do |t|
192
- t.integer "entity_from_id"
193
- t.string "entity_from_type"
194
- t.integer "entity_to_id"
195
- t.string "entity_to_type"
196
- t.datetime "created_at"
197
- t.datetime "updated_at"
198
- end
199
-
200
- add_index "easy_entity_assignments", ["entity_from_id"], name: "entity_assignment_idx_from"
201
- add_index "easy_entity_assignments", ["entity_from_type", "entity_from_id", "entity_to_type", "entity_to_id"], name: "entity_assignment_idx", unique: true
202
- add_index "easy_entity_assignments", ["entity_to_id"], name: "entity_assignment_idx_to"
203
-
204
- create_table "easy_settings", force: :cascade do |t|
205
- t.string "type"
206
- t.string "name"
207
- t.text "value"
208
- t.integer "project_id"
209
- end
210
-
211
- add_index "easy_settings", ["name", "project_id"], name: "index_easy_settings_on_name_and_project_id", unique: true
212
- add_index "easy_settings", ["project_id"], name: "index_easy_settings_on_project_id"
213
-
214
- create_table "email_addresses", force: :cascade do |t|
215
- t.integer "user_id", null: false
216
- t.string "address", null: false
217
- t.boolean "is_default", default: false, null: false
218
- t.boolean "notify", default: true, null: false
219
- t.datetime "created_on", null: false
220
- t.datetime "updated_on", null: false
221
- end
222
-
223
- add_index "email_addresses", ["user_id"], name: "index_email_addresses_on_user_id"
224
-
225
- create_table "enabled_modules", force: :cascade do |t|
226
- t.integer "project_id"
227
- t.string "name", null: false
228
- end
229
-
230
- add_index "enabled_modules", ["project_id"], name: "enabled_modules_project_id"
231
-
232
- create_table "enumerations", force: :cascade do |t|
233
- t.string "name", limit: 30, default: "", null: false
234
- t.integer "position", default: 1
235
- t.boolean "is_default", default: false, null: false
236
- t.string "type"
237
- t.boolean "active", default: true, null: false
238
- t.integer "project_id"
239
- t.integer "parent_id"
240
- t.string "position_name", limit: 30
241
- end
242
-
243
- add_index "enumerations", ["id", "type"], name: "index_enumerations_on_id_and_type"
244
- add_index "enumerations", ["project_id"], name: "index_enumerations_on_project_id"
245
-
246
- create_table "groups_users", id: false, force: :cascade do |t|
247
- t.integer "group_id", null: false
248
- t.integer "user_id", null: false
249
- end
250
-
251
- add_index "groups_users", ["group_id", "user_id"], name: "groups_users_ids", unique: true
252
-
253
- create_table "issue_categories", force: :cascade do |t|
254
- t.integer "project_id", default: 0, null: false
255
- t.string "name", limit: 30, default: "", null: false
256
- t.integer "assigned_to_id"
257
- end
258
-
259
- add_index "issue_categories", ["assigned_to_id"], name: "index_issue_categories_on_assigned_to_id"
260
- add_index "issue_categories", ["project_id"], name: "issue_categories_project_id"
261
-
262
- create_table "issue_relations", force: :cascade do |t|
263
- t.integer "issue_from_id", null: false
264
- t.integer "issue_to_id", null: false
265
- t.string "relation_type", default: "", null: false
266
- t.integer "delay"
267
- end
268
-
269
- add_index "issue_relations", ["issue_from_id", "issue_to_id"], name: "index_issue_relations_on_issue_from_id_and_issue_to_id", unique: true
270
- add_index "issue_relations", ["issue_from_id"], name: "index_issue_relations_on_issue_from_id"
271
- add_index "issue_relations", ["issue_to_id"], name: "index_issue_relations_on_issue_to_id"
272
-
273
- create_table "issue_statuses", force: :cascade do |t|
274
- t.string "name", limit: 30, default: "", null: false
275
- t.boolean "is_closed", default: false, null: false
276
- t.integer "position", default: 1
277
- t.integer "default_done_ratio"
278
- end
279
-
280
- add_index "issue_statuses", ["is_closed"], name: "index_issue_statuses_on_is_closed"
281
- add_index "issue_statuses", ["position"], name: "index_issue_statuses_on_position"
282
-
283
- create_table "issues", force: :cascade do |t|
284
- t.integer "tracker_id", null: false
285
- t.integer "project_id", null: false
286
- t.string "subject", default: "", null: false
287
- t.text "description"
288
- t.date "due_date"
289
- t.integer "category_id"
290
- t.integer "status_id", null: false
291
- t.integer "assigned_to_id"
292
- t.integer "priority_id", null: false
293
- t.integer "fixed_version_id"
294
- t.integer "author_id", null: false
295
- t.integer "lock_version", default: 0, null: false
296
- t.datetime "created_on"
297
- t.datetime "updated_on"
298
- t.date "start_date"
299
- t.integer "done_ratio", default: 0, null: false
300
- t.float "estimated_hours"
301
- t.integer "parent_id"
302
- t.integer "root_id"
303
- t.integer "lft"
304
- t.integer "rgt"
305
- t.boolean "is_private", default: false, null: false
306
- t.datetime "closed_on"
307
- end
308
-
309
- add_index "issues", ["assigned_to_id"], name: "index_issues_on_assigned_to_id"
310
- add_index "issues", ["author_id"], name: "index_issues_on_author_id"
311
- add_index "issues", ["category_id"], name: "index_issues_on_category_id"
312
- add_index "issues", ["created_on"], name: "index_issues_on_created_on"
313
- add_index "issues", ["fixed_version_id"], name: "index_issues_on_fixed_version_id"
314
- add_index "issues", ["priority_id"], name: "index_issues_on_priority_id"
315
- add_index "issues", ["project_id"], name: "issues_project_id"
316
- add_index "issues", ["root_id", "lft", "rgt"], name: "index_issues_on_root_id_and_lft_and_rgt"
317
- add_index "issues", ["status_id"], name: "index_issues_on_status_id"
318
- add_index "issues", ["tracker_id"], name: "index_issues_on_tracker_id"
319
-
320
- create_table "journal_details", force: :cascade do |t|
321
- t.integer "journal_id", default: 0, null: false
322
- t.string "property", limit: 30, default: "", null: false
323
- t.string "prop_key", limit: 30, default: "", null: false
324
- t.text "old_value"
325
- t.text "value"
326
- end
327
-
328
- add_index "journal_details", ["journal_id"], name: "journal_details_journal_id"
329
-
330
- create_table "journals", force: :cascade do |t|
331
- t.integer "journalized_id", default: 0, null: false
332
- t.string "journalized_type", limit: 30, default: "", null: false
333
- t.integer "user_id", default: 0, null: false
334
- t.text "notes"
335
- t.datetime "created_on", null: false
336
- t.boolean "private_notes", default: false, null: false
337
- end
338
-
339
- add_index "journals", ["created_on"], name: "index_journals_on_created_on"
340
- add_index "journals", ["journalized_id", "journalized_type"], name: "journals_journalized_id"
341
- add_index "journals", ["journalized_id"], name: "index_journals_on_journalized_id"
342
- add_index "journals", ["user_id"], name: "index_journals_on_user_id"
343
-
344
- create_table "member_roles", force: :cascade do |t|
345
- t.integer "member_id", null: false
346
- t.integer "role_id", null: false
347
- t.integer "inherited_from"
348
- end
349
-
350
- add_index "member_roles", ["member_id"], name: "index_member_roles_on_member_id"
351
- add_index "member_roles", ["role_id"], name: "index_member_roles_on_role_id"
352
-
353
- create_table "members", force: :cascade do |t|
354
- t.integer "user_id", default: 0, null: false
355
- t.integer "project_id", default: 0, null: false
356
- t.datetime "created_on"
357
- t.boolean "mail_notification", default: false, null: false
358
- end
359
-
360
- add_index "members", ["project_id"], name: "index_members_on_project_id"
361
- add_index "members", ["user_id", "project_id"], name: "index_members_on_user_id_and_project_id", unique: true
362
- add_index "members", ["user_id"], name: "index_members_on_user_id"
363
-
364
- create_table "messages", force: :cascade do |t|
365
- t.integer "board_id", null: false
366
- t.integer "parent_id"
367
- t.string "subject", default: "", null: false
368
- t.text "content"
369
- t.integer "author_id"
370
- t.integer "replies_count", default: 0, null: false
371
- t.integer "last_reply_id"
372
- t.datetime "created_on", null: false
373
- t.datetime "updated_on", null: false
374
- t.boolean "locked", default: false
375
- t.integer "sticky", default: 0
376
- end
377
-
378
- add_index "messages", ["author_id"], name: "index_messages_on_author_id"
379
- add_index "messages", ["board_id"], name: "messages_board_id"
380
- add_index "messages", ["created_on"], name: "index_messages_on_created_on"
381
- add_index "messages", ["last_reply_id"], name: "index_messages_on_last_reply_id"
382
- add_index "messages", ["parent_id"], name: "messages_parent_id"
383
-
384
- create_table "news", force: :cascade do |t|
385
- t.integer "project_id"
386
- t.string "title", limit: 60, default: "", null: false
387
- t.string "summary", limit: 255, default: ""
388
- t.text "description"
389
- t.integer "author_id", default: 0, null: false
390
- t.datetime "created_on"
391
- t.integer "comments_count", default: 0, null: false
392
- end
393
-
394
- add_index "news", ["author_id"], name: "index_news_on_author_id"
395
- add_index "news", ["created_on"], name: "index_news_on_created_on"
396
- add_index "news", ["project_id"], name: "news_project_id"
397
-
398
- create_table "open_id_authentication_associations", force: :cascade do |t|
399
- t.integer "issued"
400
- t.integer "lifetime"
401
- t.string "handle"
402
- t.string "assoc_type"
403
- t.binary "server_url"
404
- t.binary "secret"
405
- end
406
-
407
- create_table "open_id_authentication_nonces", force: :cascade do |t|
408
- t.integer "timestamp", null: false
409
- t.string "server_url"
410
- t.string "salt", null: false
411
- end
412
-
413
- create_table "projects", force: :cascade do |t|
414
- t.string "name", default: "", null: false
415
- t.text "description"
416
- t.string "homepage", default: ""
417
- t.boolean "is_public", default: true, null: false
418
- t.integer "parent_id"
419
- t.datetime "created_on"
420
- t.datetime "updated_on"
421
- t.string "identifier"
422
- t.integer "status", default: 1, null: false
423
- t.integer "lft"
424
- t.integer "rgt"
425
- t.boolean "inherit_members", default: false, null: false
426
- end
427
-
428
- add_index "projects", ["lft"], name: "index_projects_on_lft"
429
- add_index "projects", ["rgt"], name: "index_projects_on_rgt"
430
-
431
- create_table "projects_trackers", id: false, force: :cascade do |t|
432
- t.integer "project_id", default: 0, null: false
433
- t.integer "tracker_id", default: 0, null: false
434
- end
435
-
436
- add_index "projects_trackers", ["project_id", "tracker_id"], name: "projects_trackers_unique", unique: true
437
- add_index "projects_trackers", ["project_id"], name: "projects_trackers_project_id"
438
-
439
- create_table "queries", force: :cascade do |t|
440
- t.integer "project_id"
441
- t.string "name", default: "", null: false
442
- t.text "filters"
443
- t.integer "user_id", default: 0, null: false
444
- t.text "column_names"
445
- t.text "sort_criteria"
446
- t.string "group_by"
447
- t.string "type"
448
- t.integer "visibility", default: 0
449
- t.text "options"
450
- end
451
-
452
- add_index "queries", ["project_id"], name: "index_queries_on_project_id"
453
- add_index "queries", ["user_id"], name: "index_queries_on_user_id"
454
-
455
- create_table "queries_roles", id: false, force: :cascade do |t|
456
- t.integer "query_id", null: false
457
- t.integer "role_id", null: false
458
- end
459
-
460
- add_index "queries_roles", ["query_id", "role_id"], name: "queries_roles_ids", unique: true
461
-
462
- create_table "repositories", force: :cascade do |t|
463
- t.integer "project_id", default: 0, null: false
464
- t.string "url", default: "", null: false
465
- t.string "login", limit: 60, default: ""
466
- t.string "password", default: ""
467
- t.string "root_url", limit: 255, default: ""
468
- t.string "type"
469
- t.string "path_encoding", limit: 64
470
- t.string "log_encoding", limit: 64
471
- t.text "extra_info"
472
- t.string "identifier"
473
- t.boolean "is_default", default: false
474
- t.datetime "created_on"
475
- end
476
-
477
- add_index "repositories", ["project_id"], name: "index_repositories_on_project_id"
478
-
479
- create_table "roles", force: :cascade do |t|
480
- t.string "name", limit: 30, default: "", null: false
481
- t.integer "position", default: 1
482
- t.boolean "assignable", default: true
483
- t.integer "builtin", default: 0, null: false
484
- t.text "permissions"
485
- t.string "issues_visibility", limit: 30, default: "default", null: false
486
- t.string "users_visibility", limit: 30, default: "all", null: false
487
- t.string "time_entries_visibility", limit: 30, default: "all", null: false
488
- t.boolean "all_roles_managed", default: true, null: false
489
- end
490
-
491
- create_table "roles_managed_roles", id: false, force: :cascade do |t|
492
- t.integer "role_id", null: false
493
- t.integer "managed_role_id", null: false
494
- end
495
-
496
- add_index "roles_managed_roles", ["role_id", "managed_role_id"], name: "index_roles_managed_roles_on_role_id_and_managed_role_id", unique: true
497
-
498
- create_table "settings", force: :cascade do |t|
499
- t.string "name", limit: 255, default: "", null: false
500
- t.text "value"
501
- t.datetime "updated_on"
502
- end
503
-
504
- add_index "settings", ["name"], name: "index_settings_on_name"
505
-
506
- create_table "time_entries", force: :cascade do |t|
507
- t.integer "project_id", null: false
508
- t.integer "user_id", null: false
509
- t.integer "issue_id"
510
- t.float "hours", null: false
511
- t.string "comments", limit: 255
512
- t.integer "activity_id", null: false
513
- t.date "spent_on", null: false
514
- t.integer "tyear", null: false
515
- t.integer "tmonth", null: false
516
- t.integer "tweek", null: false
517
- t.datetime "created_on", null: false
518
- t.datetime "updated_on", null: false
519
- end
520
-
521
- add_index "time_entries", ["activity_id"], name: "index_time_entries_on_activity_id"
522
- add_index "time_entries", ["created_on"], name: "index_time_entries_on_created_on"
523
- add_index "time_entries", ["issue_id"], name: "time_entries_issue_id"
524
- add_index "time_entries", ["project_id"], name: "time_entries_project_id"
525
- add_index "time_entries", ["user_id"], name: "index_time_entries_on_user_id"
526
-
527
- create_table "tokens", force: :cascade do |t|
528
- t.integer "user_id", default: 0, null: false
529
- t.string "action", limit: 30, default: "", null: false
530
- t.string "value", limit: 40, default: "", null: false
531
- t.datetime "created_on", null: false
532
- end
533
-
534
- add_index "tokens", ["user_id"], name: "index_tokens_on_user_id"
535
- add_index "tokens", ["value"], name: "tokens_value", unique: true
536
-
537
- create_table "trackers", force: :cascade do |t|
538
- t.string "name", limit: 30, default: "", null: false
539
- t.boolean "is_in_chlog", default: false, null: false
540
- t.integer "position", default: 1
541
- t.boolean "is_in_roadmap", default: true, null: false
542
- t.integer "fields_bits", default: 0
543
- t.integer "default_status_id"
544
- end
545
-
546
- create_table "user_preferences", force: :cascade do |t|
547
- t.integer "user_id", default: 0, null: false
548
- t.text "others"
549
- t.boolean "hide_mail", default: false
550
- t.string "time_zone"
551
- end
552
-
553
- add_index "user_preferences", ["user_id"], name: "index_user_preferences_on_user_id"
554
-
555
- create_table "users", force: :cascade do |t|
556
- t.string "login", default: "", null: false
557
- t.string "hashed_password", limit: 40, default: "", null: false
558
- t.string "firstname", limit: 30, default: "", null: false
559
- t.string "lastname", limit: 255, default: "", null: false
560
- t.boolean "admin", default: false, null: false
561
- t.integer "status", default: 1, null: false
562
- t.datetime "last_login_on"
563
- t.string "language", limit: 5, default: ""
564
- t.integer "auth_source_id"
565
- t.datetime "created_on"
566
- t.datetime "updated_on"
567
- t.string "type"
568
- t.string "identity_url"
569
- t.string "mail_notification", default: "", null: false
570
- t.string "salt", limit: 64
571
- t.boolean "must_change_passwd", default: false, null: false
572
- t.datetime "passwd_changed_on"
573
- end
574
-
575
- add_index "users", ["auth_source_id"], name: "index_users_on_auth_source_id"
576
- add_index "users", ["id", "type"], name: "index_users_on_id_and_type"
577
- add_index "users", ["type"], name: "index_users_on_type"
578
-
579
- create_table "versions", force: :cascade do |t|
580
- t.integer "project_id", default: 0, null: false
581
- t.string "name", default: "", null: false
582
- t.string "description", default: ""
583
- t.date "effective_date"
584
- t.datetime "created_on"
585
- t.datetime "updated_on"
586
- t.string "wiki_page_title"
587
- t.string "status", default: "open"
588
- t.string "sharing", default: "none", null: false
589
- end
590
-
591
- add_index "versions", ["project_id"], name: "versions_project_id"
592
- add_index "versions", ["sharing"], name: "index_versions_on_sharing"
593
-
594
- create_table "watchers", force: :cascade do |t|
595
- t.string "watchable_type", default: "", null: false
596
- t.integer "watchable_id", default: 0, null: false
597
- t.integer "user_id"
598
- end
599
-
600
- add_index "watchers", ["user_id", "watchable_type"], name: "watchers_user_id_type"
601
- add_index "watchers", ["user_id"], name: "index_watchers_on_user_id"
602
- add_index "watchers", ["watchable_id", "watchable_type"], name: "index_watchers_on_watchable_id_and_watchable_type"
603
-
604
- create_table "wiki_content_versions", force: :cascade do |t|
605
- t.integer "wiki_content_id", null: false
606
- t.integer "page_id", null: false
607
- t.integer "author_id"
608
- t.binary "data"
609
- t.string "compression", limit: 6, default: ""
610
- t.string "comments", limit: 255, default: ""
611
- t.datetime "updated_on", null: false
612
- t.integer "version", null: false
613
- end
614
-
615
- add_index "wiki_content_versions", ["updated_on"], name: "index_wiki_content_versions_on_updated_on"
616
- add_index "wiki_content_versions", ["wiki_content_id"], name: "wiki_content_versions_wcid"
617
-
618
- create_table "wiki_contents", force: :cascade do |t|
619
- t.integer "page_id", null: false
620
- t.integer "author_id"
621
- t.text "text"
622
- t.string "comments", limit: 255, default: ""
623
- t.datetime "updated_on", null: false
624
- t.integer "version", null: false
625
- end
626
-
627
- add_index "wiki_contents", ["author_id"], name: "index_wiki_contents_on_author_id"
628
- add_index "wiki_contents", ["page_id"], name: "wiki_contents_page_id"
629
-
630
- create_table "wiki_pages", force: :cascade do |t|
631
- t.integer "wiki_id", null: false
632
- t.string "title", limit: 255, null: false
633
- t.datetime "created_on", null: false
634
- t.boolean "protected", default: false, null: false
635
- t.integer "parent_id"
636
- end
637
-
638
- add_index "wiki_pages", ["parent_id"], name: "index_wiki_pages_on_parent_id"
639
- add_index "wiki_pages", ["wiki_id", "title"], name: "wiki_pages_wiki_id_title"
640
- add_index "wiki_pages", ["wiki_id"], name: "index_wiki_pages_on_wiki_id"
641
-
642
- create_table "wiki_redirects", force: :cascade do |t|
643
- t.integer "wiki_id", null: false
644
- t.string "title"
645
- t.string "redirects_to"
646
- t.datetime "created_on", null: false
647
- t.integer "redirects_to_wiki_id", null: false
648
- end
649
-
650
- add_index "wiki_redirects", ["wiki_id", "title"], name: "wiki_redirects_wiki_id_title"
651
- add_index "wiki_redirects", ["wiki_id"], name: "index_wiki_redirects_on_wiki_id"
652
-
653
- create_table "wikis", force: :cascade do |t|
654
- t.integer "project_id", null: false
655
- t.string "start_page", limit: 255, null: false
656
- t.integer "status", default: 1, null: false
657
- end
658
-
659
- add_index "wikis", ["project_id"], name: "wikis_project_id"
660
-
661
- create_table "workflows", force: :cascade do |t|
662
- t.integer "tracker_id", default: 0, null: false
663
- t.integer "old_status_id", default: 0, null: false
664
- t.integer "new_status_id", default: 0, null: false
665
- t.integer "role_id", default: 0, null: false
666
- t.boolean "assignee", default: false, null: false
667
- t.boolean "author", default: false, null: false
668
- t.string "type", limit: 30
669
- t.string "field_name", limit: 30
670
- t.string "rule", limit: 30
671
- end
672
-
673
- add_index "workflows", ["new_status_id"], name: "index_workflows_on_new_status_id"
674
- add_index "workflows", ["old_status_id"], name: "index_workflows_on_old_status_id"
675
- add_index "workflows", ["role_id", "tracker_id", "old_status_id"], name: "wkfs_role_tracker_old_status"
676
- add_index "workflows", ["role_id"], name: "index_workflows_on_role_id"
677
-
678
- end