backlog 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +19 -0
- data/app/controllers/periods_controller.rb +0 -14
- data/app/controllers/tasks_controller.rb +15 -4
- data/app/controllers/user_controller.rb +15 -1
- data/app/controllers/work_accounts_controller.rb +1 -1
- data/app/controllers/work_locks_controller.rb +88 -0
- data/app/controllers/works_controller.rb +29 -5
- data/app/helpers/work_locks_helper.rb +2 -0
- data/app/models/task.rb +1 -1
- data/app/models/user.rb +1 -0
- data/app/models/user_notify.rb +15 -0
- data/app/models/work.rb +28 -6
- data/app/models/work_account.rb +2 -0
- data/app/models/work_lock.rb +3 -0
- data/app/models/work_lock_notify.rb +27 -0
- data/app/models/work_lock_subscription.rb +3 -0
- data/app/views/display_notice.rjs +1 -0
- data/app/views/layouts/_left_top.rhtml +1 -0
- data/app/views/tasks/_task.rhtml +2 -2
- data/app/views/user/edit.rhtml +15 -2
- data/app/views/user/toggle_work_lock_monitoring.rjs +2 -0
- data/app/views/user_notify/monitoring_en.rhtml +3 -0
- data/app/views/user_notify/monitoring_no.rhtml +3 -0
- data/app/views/work_lock_notify/lock_en.rhtml +7 -0
- data/app/views/work_lock_notify/lock_no.rhtml +7 -0
- data/app/views/work_locks/_form.rhtml +10 -0
- data/app/views/work_locks/edit.rhtml +9 -0
- data/app/views/work_locks/list.rhtml +27 -0
- data/app/views/work_locks/new.rhtml +8 -0
- data/app/views/work_locks/show.rhtml +8 -0
- data/app/views/works/_buttons.rhtml +5 -0
- data/app/views/works/_form.rhtml +4 -1
- data/app/views/works/_row.rhtml +14 -17
- data/app/views/works/_row_field.rhtml +1 -1
- data/app/views/works/daily_work_sheet.rhtml +16 -25
- data/app/views/works/timeliste.rhtml +12 -12
- data/app/views/works/update_row.rjs +2 -4
- data/app/views/works/weekly_work_sheet.rhtml +17 -17
- data/app/views/works/weekly_work_sheet_by_work_account.rhtml +57 -0
- data/db/migrate/027_create_work_locks.rb +25 -0
- data/db/schema.rb +25 -1
- data/public/images/delete.png +0 -0
- data/public/images/email.png +0 -0
- data/public/images/email_grey.png +0 -0
- data/public/images/refresh.png +0 -0
- data/test/fixtures/work_lock_subscriptions.yml +7 -0
- data/test/fixtures/work_locks.yml +11 -0
- data/test/functional/estimates_controller_test.rb +1 -1
- data/test/functional/groups_controller_test.rb +1 -1
- data/test/functional/user_controller_test.rb +2 -2
- data/test/functional/work_locks_controller_test.rb +93 -0
- data/test/integration/user_system_test.rb +1 -1
- data/test/test_helper.rb +1 -1
- data/test/unit/estimate_test.rb +1 -1
- data/test/unit/group_test.rb +1 -1
- data/test/unit/period_test.rb +1 -1
- data/test/unit/task_test.rb +1 -1
- data/test/unit/user_test.rb +1 -1
- data/test/unit/work_account_test.rb +1 -1
- data/test/unit/work_lock_subscription_test.rb +10 -0
- data/test/unit/work_lock_test.rb +10 -0
- data/test/unit/work_test.rb +1 -1
- metadata +31 -2
data/test/unit/group_test.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/../test_helper'
|
2
2
|
|
3
3
|
class GroupTest < Test::Unit::TestCase
|
4
|
-
|
4
|
+
main_scenario
|
5
5
|
|
6
6
|
# Replace this with your real tests.
|
7
7
|
def test_truth
|
data/test/unit/period_test.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/../test_helper'
|
2
2
|
|
3
3
|
class PeriodTest < Test::Unit::TestCase
|
4
|
-
|
4
|
+
main_scenario
|
5
5
|
|
6
6
|
def test_burn_down_graph
|
7
7
|
image = periods(:past).burn_down_graph(Chart::THUMBNAIL)
|
data/test/unit/task_test.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/../test_helper'
|
2
2
|
|
3
3
|
class TaskTest < Test::Unit::TestCase
|
4
|
-
|
4
|
+
main_scenario
|
5
5
|
|
6
6
|
# Replace this with your real tests.
|
7
7
|
def test_truth
|
data/test/unit/user_test.rb
CHANGED
data/test/unit/work_test.rb
CHANGED
@@ -4,7 +4,7 @@ require 'user_system'
|
|
4
4
|
class WorkTest < Test::Unit::TestCase
|
5
5
|
include UserSystem
|
6
6
|
|
7
|
-
|
7
|
+
main_scenario
|
8
8
|
|
9
9
|
def test_work_totals_for_week
|
10
10
|
# Week 24 is from
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backlog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uwe Kubosch
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-01-
|
12
|
+
date: 2008-01-28 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -100,6 +100,12 @@ files:
|
|
100
100
|
- app/views/tasks/_form.rhtml
|
101
101
|
- app/views/tasks/update_estimate.rjs
|
102
102
|
- app/views/tasks/list_started.rhtml
|
103
|
+
- app/views/work_locks
|
104
|
+
- app/views/work_locks/new.rhtml
|
105
|
+
- app/views/work_locks/list.rhtml
|
106
|
+
- app/views/work_locks/edit.rhtml
|
107
|
+
- app/views/work_locks/_form.rhtml
|
108
|
+
- app/views/work_locks/show.rhtml
|
103
109
|
- app/views/work_accounts
|
104
110
|
- app/views/work_accounts/new.rhtml
|
105
111
|
- app/views/work_accounts/list.rhtml
|
@@ -115,6 +121,7 @@ files:
|
|
115
121
|
- app/views/groups/set_member.rjs
|
116
122
|
- app/views/groups/edit.rhtml
|
117
123
|
- app/views/groups/_form.rhtml
|
124
|
+
- app/views/display_notice.rjs
|
118
125
|
- app/views/backlogs
|
119
126
|
- app/views/backlogs/new.rhtml
|
120
127
|
- app/views/backlogs/list.rhtml
|
@@ -141,6 +148,7 @@ files:
|
|
141
148
|
- app/views/works/_form.rhtml
|
142
149
|
- app/views/works/weekly_work_sheet.rhtml
|
143
150
|
- app/views/works/show.rhtml
|
151
|
+
- app/views/works/weekly_work_sheet_by_work_account.rhtml
|
144
152
|
- app/views/layouts
|
145
153
|
- app/views/layouts/wide.rhtml
|
146
154
|
- app/views/layouts/mwrt002.rhtml
|
@@ -152,8 +160,10 @@ files:
|
|
152
160
|
- app/views/user_notify/signup_no.rhtml
|
153
161
|
- app/views/user_notify/change_password_no.rhtml
|
154
162
|
- app/views/user_notify/forgot_password_en.rhtml
|
163
|
+
- app/views/user_notify/monitoring_en.rhtml
|
155
164
|
- app/views/user_notify/change_password_en.rhtml
|
156
165
|
- app/views/user_notify/signup_en.rhtml
|
166
|
+
- app/views/user_notify/monitoring_no.rhtml
|
157
167
|
- app/views/customers
|
158
168
|
- app/views/customers/new.rhtml
|
159
169
|
- app/views/customers/list.rhtml
|
@@ -163,6 +173,7 @@ files:
|
|
163
173
|
- app/views/user
|
164
174
|
- app/views/user/logout.rhtml
|
165
175
|
- app/views/user/set_group.rjs
|
176
|
+
- app/views/user/toggle_work_lock_monitoring.rjs
|
166
177
|
- app/views/user/signup.rhtml
|
167
178
|
- app/views/user/welcome.rhtml
|
168
179
|
- app/views/user/_edit.rhtml
|
@@ -171,8 +182,12 @@ files:
|
|
171
182
|
- app/views/user/login.rhtml
|
172
183
|
- app/views/user/_password.rhtml
|
173
184
|
- app/views/user/forgot_password.rhtml
|
185
|
+
- app/views/work_lock_notify
|
186
|
+
- app/views/work_lock_notify/lock_en.rhtml
|
187
|
+
- app/views/work_lock_notify/lock_no.rhtml
|
174
188
|
- app/controllers
|
175
189
|
- app/controllers/groups_controller.rb
|
190
|
+
- app/controllers/work_locks_controller.rb
|
176
191
|
- app/controllers/works_controller.rb
|
177
192
|
- app/controllers/user_controller.rb
|
178
193
|
- app/controllers/customers_controller.rb
|
@@ -190,6 +205,7 @@ files:
|
|
190
205
|
- app/helpers/estimates_helper.rb
|
191
206
|
- app/helpers/application_helper.rb
|
192
207
|
- app/helpers/groups_helper.rb
|
208
|
+
- app/helpers/work_locks_helper.rb
|
193
209
|
- app/helpers/customers_helper.rb
|
194
210
|
- app/helpers/tasks_helper.rb
|
195
211
|
- app/helpers/task_files_helper.rb
|
@@ -202,6 +218,7 @@ files:
|
|
202
218
|
- app/helpers/periods_helper.rb
|
203
219
|
- app/helpers/search_helper.rb
|
204
220
|
- app/models
|
221
|
+
- app/models/work_lock_notify.rb
|
205
222
|
- app/models/work.rb
|
206
223
|
- app/models/customer.rb
|
207
224
|
- app/models/period.rb
|
@@ -213,9 +230,11 @@ files:
|
|
213
230
|
- app/models/configuration.rb
|
214
231
|
- app/models/chart.rb
|
215
232
|
- app/models/group.rb
|
233
|
+
- app/models/work_lock_subscription.rb
|
216
234
|
- app/models/backlog.rb
|
217
235
|
- app/models/party.rb
|
218
236
|
- app/models/task_file.rb
|
237
|
+
- app/models/work_lock.rb
|
219
238
|
- app/models/work_account.rb
|
220
239
|
- lang
|
221
240
|
- lang/no.yaml
|
@@ -239,11 +258,13 @@ files:
|
|
239
258
|
- test/unit/task_test.rb
|
240
259
|
- test/unit/configuration_test.rb
|
241
260
|
- test/unit/task_file_test.rb
|
261
|
+
- test/unit/work_lock_test.rb
|
242
262
|
- test/unit/work_test.rb
|
243
263
|
- test/unit/user_test.rb
|
244
264
|
- test/unit/group_test.rb
|
245
265
|
- test/unit/work_account_test.rb
|
246
266
|
- test/unit/localization_test.rb
|
267
|
+
- test/unit/work_lock_subscription_test.rb
|
247
268
|
- test/unit/period_test.rb
|
248
269
|
- test/unit/estimate_test.rb
|
249
270
|
- test/unit/big_decimal_yaml_fix_test.rb
|
@@ -259,6 +280,7 @@ files:
|
|
259
280
|
- test/functional/parties_controller_test.rb
|
260
281
|
- test/functional/user_controller_test.rb
|
261
282
|
- test/functional/backlogs_controller_test.rb
|
283
|
+
- test/functional/work_locks_controller_test.rb
|
262
284
|
- test/functional/customers_controller_test.rb
|
263
285
|
- test/functional/groups_controller_test.rb
|
264
286
|
- test/functional/search_controller_test.rb
|
@@ -277,7 +299,9 @@ files:
|
|
277
299
|
- test/fixtures/estimates.yml
|
278
300
|
- test/fixtures/backlogs.yml
|
279
301
|
- test/fixtures/work_accounts.yml
|
302
|
+
- test/fixtures/work_locks.yml
|
280
303
|
- test/fixtures/task_files.yml
|
304
|
+
- test/fixtures/work_lock_subscriptions.yml
|
281
305
|
- test/fixtures/periods.yml
|
282
306
|
- test/fixtures/parties.yml
|
283
307
|
- test/fixtures/works.yml
|
@@ -456,11 +480,13 @@ files:
|
|
456
480
|
- public/works
|
457
481
|
- public/images
|
458
482
|
- public/images/arrow07_2.png
|
483
|
+
- public/images/email_grey.png
|
459
484
|
- public/images/construction_hammer_jon__01.svg
|
460
485
|
- public/images/hammer.png
|
461
486
|
- public/images/add.svg
|
462
487
|
- public/images/eraser.png
|
463
488
|
- public/images/rails.png
|
489
|
+
- public/images/delete.png
|
464
490
|
- public/images/pagebak.jpg
|
465
491
|
- public/images/task.png
|
466
492
|
- public/images/period_org.png
|
@@ -482,6 +508,7 @@ files:
|
|
482
508
|
- public/images/text-x-generic.png
|
483
509
|
- public/images/view_fullscreen.png
|
484
510
|
- public/images/rmagick.gif
|
511
|
+
- public/images/refresh.png
|
485
512
|
- public/images/arrow_left.svg
|
486
513
|
- public/images/header.jpg
|
487
514
|
- public/images/blank.jpg
|
@@ -493,6 +520,7 @@ files:
|
|
493
520
|
- public/images/arrow_down.png
|
494
521
|
- public/images/tabella_architetto_franc_01.svg
|
495
522
|
- public/images/checkmark_org.png
|
523
|
+
- public/images/email.png
|
496
524
|
- public/images/arrow_up.svg
|
497
525
|
- public/images/work_account.png
|
498
526
|
- public/images/ernes_stop.png
|
@@ -594,6 +622,7 @@ files:
|
|
594
622
|
- db/migrate/008_add_backlog_options.rb
|
595
623
|
- db/migrate/026_add_users_to_tasks.rb
|
596
624
|
- db/migrate/020_create_task_files.rb
|
625
|
+
- db/migrate/027_create_work_locks.rb
|
597
626
|
- db/migrate/015_add_user_option.rb
|
598
627
|
- db/migrate/019_remove_unique_index_for_period_position.rb
|
599
628
|
- db/migrate/021_create_work_accounts.rb
|