backlog 0.12.3 → 0.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,13 @@
1
+ == 0.12.4 2007-11-11
2
+
3
+ === Fixes
4
+
5
+ * Fixed broken drag and drop of tasks.
6
+
7
+ === Known bugs
8
+
9
+ * Finishing or reopening tasks makes remaining tasks show wrong priority number.
10
+
1
11
  == 0.12.3 2007-11-10
2
12
 
3
13
  === Fixes
@@ -154,7 +154,6 @@ class ApplicationController < ActionController::Base
154
154
  end
155
155
  content << "</ul>\n"
156
156
  content << drop_receiving_element("sidebar_#{period.id}",
157
- :update => "spotlight",
158
157
  :url => with_detour({:controller => 'tasks', :action => "move_to_period", :period_id => period.id, :layout => false}),
159
158
  :accept => "tasks", :loading => "", :complete => "",
160
159
  :hoverclass => 'highlight')
@@ -1,5 +1,5 @@
1
1
  class TasksController < ApplicationController
2
- skip_before_filter :populate_layout, :only => [:create, :update, :destroy, :set_task_description, :move_to, :move_to_next_period, :move_to_period, :reopen, :start_work, :finish, :abort]
2
+ skip_before_filter :populate_layout, :except => [:edit, :list_started, :move_down, :move_to_bottom, :move_to_top, :move_up, :new, :specify]
3
3
 
4
4
  verify :method => :post, :except => [ :new, :show, :edit, :list_started, :move_to_next_period],
5
5
  :redirect_to => { :controller => 'backlogs' }
@@ -160,7 +160,7 @@ class TasksController < ApplicationController
160
160
 
161
161
  # Move the indicated task to the indicated position.
162
162
  def move_to
163
- params[:id] = $1 if params[:id] =~ /^task_(\d*)$/
163
+ params[:id] = $1 if params[:id] =~ /^task_(\d*)/
164
164
  if params[:id] && task = Task.find(params[:id])
165
165
  if params[:target_id]
166
166
  if target_task = Task.find_by_id(params[:target_id])
@@ -188,7 +188,7 @@ class TasksController < ApplicationController
188
188
  end
189
189
 
190
190
  def move_to_period
191
- params[:id] = $1 if params[:id] =~ /^task_(\d*)$/
191
+ params[:id] = $1 if params[:id] =~ /^task_(\d*)/
192
192
  @task = Task.find(params[:id])
193
193
  if request.post?
194
194
  period = params[:period_id] && Period.find(params[:period_id])
@@ -14,11 +14,11 @@
14
14
  <%= "-" if @task.children.size > 0 %>
15
15
  </td>
16
16
  <td>
17
- <div<%=' class="tasks" onmouseover="this.style.border=\'1px solid black\'" onmouseout="this.style.border=\'1px solid transparent\'"' if active && (@task.period.nil? || @task.period.active_or_future?) && (not @task.work_started?) %>>
17
+ <div id="task_<%=@task.id%>_description"<%=' class="tasks" onmouseover="this.style.border=\'1px solid black\'" onmouseout="this.style.border=\'1px solid transparent\'"' if active && (@task.period.nil? || @task.period.active_or_future?) && (not @task.work_started?) %>>
18
18
  <% if @task.active? -%>
19
- <%= in_place_editor_field(:task, :description, {:id => "#{@task.id}_description", :tabindex => i}, :url => url_for(:controller => 'tasks', :action => "set_task_description", :id => @task)) %>
19
+ <%=in_place_editor_field(:task, :description, {:id => "#{@task.id}_description", :tabindex => i}, :url => url_for(:controller => 'tasks', :action => "set_task_description", :id => @task)) %>
20
20
  <% else -%>
21
- <%= @task.description -%>
21
+ <%=@task.description -%>
22
22
  <% end -%>
23
23
  </div>
24
24
  </td>
@@ -91,9 +91,10 @@
91
91
  </tr>
92
92
 
93
93
  <% if active && (@task.period.nil? || @task.period.active_or_future?) %>
94
- <%=draggable_element "task_#{@task.id}" %>
95
- <%=drop_receiving_element "task_#{@task.id}",
96
- :update => update, :url => with_detour({:controller => 'tasks', :action => "move_to", :target_id => @task.id, :layout => false}),
94
+ <%=draggable_element "task_#{@task.id}_description" %>
95
+ <%=drop_receiving_element "task_#{@task.id}_description",
96
+ :update => update,
97
+ :url => with_detour({:controller => 'tasks', :action => "move_to", :target_id => @task.id, :layout => false}),
97
98
  :accept => "tasks",
98
99
  :loading => "",
99
100
  :complete => "",
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: backlog
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.12.3
7
- date: 2007-11-10 00:00:00 +01:00
6
+ version: 0.12.4
7
+ date: 2007-11-11 00:00:00 +01:00
8
8
  summary: Application to aid collecting, processing, organizing, reviewing and doing tasks.
9
9
  require_paths:
10
10
  - lib
@@ -156,7 +156,6 @@ files:
156
156
  - db/backup/estimates.yml
157
157
  - db/backup/tasks.yml
158
158
  - db/schema.rb
159
- - db/development.db
160
159
  - test
161
160
  - test/integration
162
161
  - test/integration/user_system_test.rb
@@ -256,7 +255,6 @@ files:
256
255
  - config/routes.rb
257
256
  - config/database.yml
258
257
  - config/deploy.rb
259
- - config/war.rb~
260
258
  - config/environment.rb
261
259
  - config/deploy_kubosch.rb
262
260
  - config/mime_types.yaml
@@ -512,7 +510,6 @@ files:
512
510
  - app/views/periods/_title.rhtml
513
511
  - app/views/periods/_link.rhtml
514
512
  - app/views/periods/_burn_down_chart.rhtml
515
- - app/views/redirect.rjs~
516
513
  test_files:
517
514
  - test/performance/test_threaded.rb
518
515
  - test/test_helper.rb
File without changes
@@ -1,11 +0,0 @@
1
- # Goldspike configuration
2
-
3
- # Set the version of JRuby and GoldSpike to use:
4
- #maven_library 'org.jruby', 'jruby-complete', '1.0'
5
- #maven_library 'org.jruby.extras', 'goldspike', '1.3-SNAPSHOT'
6
-
7
- # Add a Java library from the Maven repository:
8
- maven_library 'postgresql', 'postgresql', '8.2-504.jdbc4'
9
- add_gem('postgres-pr', '>=0.0.1')
10
- #configuration.jetty_java_opts = '-Xmx1024m -Djruby.jit.enabled=true -Dcom.sun.grizzly.rails.numberOfRuntime=32 -XX:-PrintGC -XX:+CITime -XX:+PrintCompilation'
11
- configuration.jetty_java_opts = '-Xmx1024m -Djruby.jit.logging=true -Dcom.sun.grizzly.rails.numberOfRuntime=32 -XX:+PrintCompilation'
Binary file