backlog 0.3.5 → 0.3.6

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.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.3.6 2007-08-03
2
+
3
+ * Added configuration to allow running on other port number than 3000
4
+ This port number is stored in /etc/backup.conf and survives updates
5
+
1
6
  == 0.3.5 2007-08-03
2
7
 
3
8
  * Fixed bugs around task positioning and validation
data/Manifest.txt CHANGED
@@ -1,216 +0,0 @@
1
- .loadpath
2
- History.txt
3
- LICENSE_LOCALIZATION
4
- README
5
- README_LOCALIZATION
6
- README_LOGIN_SUGAR
7
- Rakefile
8
- app/controllers/application.rb
9
- app/controllers/backlogs_controller.rb
10
- app/controllers/estimates_controller.rb
11
- app/controllers/periods_controller.rb
12
- app/controllers/tasks_controller.rb
13
- app/controllers/user_controller.rb
14
- app/controllers/works_controller.rb
15
- app/helpers/application_helper.rb
16
- app/helpers/backlogs_helper.rb
17
- app/helpers/estimates_helper.rb
18
- app/helpers/periods_helper.rb
19
- app/helpers/tasks_helper.rb
20
- app/helpers/user_helper.rb
21
- app/helpers/works_helper.rb
22
- app/models/backlog.rb
23
- app/models/estimate.rb
24
- app/models/period.rb
25
- app/models/task.rb
26
- app/models/user.rb
27
- app/models/user_notify.rb
28
- app/models/work.rb
29
- app/views/backlogs/_form.rhtml
30
- app/views/backlogs/edit.rhtml
31
- app/views/backlogs/new.rhtml
32
- app/views/backlogs/show.rhtml
33
- app/views/layouts/_headers.rhtml
34
- app/views/layouts/mwrt002.rhtml
35
- app/views/layouts/wide.rhtml
36
- app/views/periods/_burn_down_chart.rhtml
37
- app/views/periods/_form.rhtml
38
- app/views/periods/_show_active.rhtml
39
- app/views/periods/_title.rhtml
40
- app/views/periods/edit.rhtml
41
- app/views/periods/new.rhtml
42
- app/views/periods/show.rhtml
43
- app/views/tasks/_form.rhtml
44
- app/views/tasks/_task.rhtml
45
- app/views/tasks/edit.rhtml
46
- app/views/tasks/list.rhtml
47
- app/views/tasks/list_started.rhtml
48
- app/views/tasks/new.rhtml
49
- app/views/user/_edit.rhtml
50
- app/views/user/_password.rhtml
51
- app/views/user/change_password.rhtml
52
- app/views/user/edit.rhtml
53
- app/views/user/forgot_password.rhtml
54
- app/views/user/login.rhtml
55
- app/views/user/logout.rhtml
56
- app/views/user/signup.rhtml
57
- app/views/user/welcome.rhtml
58
- app/views/user_notify/change_password.rhtml
59
- app/views/user_notify/forgot_password.rhtml
60
- app/views/user_notify/signup.rhtml
61
- app/views/user_notify/signup_no.rhtml
62
- app/views/works/_form.rhtml
63
- app/views/works/edit.rhtml
64
- app/views/works/list.rhtml
65
- app/views/works/new.rhtml
66
- app/views/works/show.rhtml
67
- app/views/works/timeliste.rhtml
68
- app/views/works/weekly_work_sheet.rhtml
69
- app/views/works/weekly_work_sheet2.rhtml
70
- backlog.gemspec
71
- bin/backlog
72
- bin/backlog_init.d
73
- config/boot.rb
74
- config/database.yml
75
- config/deploy.rb
76
- config/deploy_kubosch.rb
77
- config/environment.rb
78
- config/environments/datek_production.rb
79
- config/environments/development.rb
80
- config/environments/kubosch_production.rb
81
- config/environments/localization_environment.rb
82
- config/environments/production.rb
83
- config/environments/test.rb
84
- config/environments/user_environment.rb
85
- config/mime_types.yaml
86
- config/routes.rb
87
- db/migrate/001_tasks.rb
88
- db/migrate/002_backlogs.rb
89
- db/migrate/003_add_estimation_points.rb
90
- db/migrate/004_add_period.rb
91
- db/migrate/005_add_field_work_started_at.rb
92
- db/migrate/006_works_data_fix.rb
93
- db/migrate/007_add_task_created_at.rb
94
- db/migrate/008_add_backlog_options.rb
95
- db/migrate/009_add_subtasks.rb
96
- db/migrate/010_add_work_start.rb
97
- db/migrate/011_login_sugar.rb
98
- db/migrate/012_add_resolution.rb
99
- db/migrate/013_create_estimates.rb
100
- db/migrate/014_add_customer_option.rb
101
- db/migrate/015_add_user_option.rb
102
- db/migrate/016_add_invoicable_flag.rb
103
- db/migrate/017_insert_datek_projects.rb
104
- db/schema.rb
105
- lang/en.yaml
106
- lang/localizations.yaml
107
- lang/no.yaml
108
- lib/array_helper.rb
109
- lib/clock.rb
110
- lib/localization.rb
111
- lib/tasks/capistrano.rake
112
- lib/user_system.rb
113
- public/.htaccess
114
- public/404.html
115
- public/500.html
116
- public/dispatch.cgi
117
- public/dispatch.fcgi
118
- public/dispatch.rb
119
- public/favicon.ico
120
- public/images/add.png
121
- public/images/add.svg
122
- public/images/appunti_architetto_franc_01.svg
123
- public/images/arrow07_2.png
124
- public/images/arrow07_4.png
125
- public/images/arrow_down.png
126
- public/images/arrow_down.svg
127
- public/images/arrow_left.png
128
- public/images/arrow_left.svg
129
- public/images/arrow_right.png
130
- public/images/arrow_right.svg
131
- public/images/arrow_up.png
132
- public/images/arrow_up.svg
133
- public/images/blank.jpg
134
- public/images/cestino_pieno_architetto_01.svg
135
- public/images/checkmark.png
136
- public/images/checkmark_org.png
137
- public/images/clipboard.png
138
- public/images/clipboard.svg
139
- public/images/construction_hammer_jon__01.svg
140
- public/images/eraser.png
141
- public/images/eraser_org.png
142
- public/images/ernes_stop.png
143
- public/images/ernes_stop_org.png
144
- public/images/hammer.png
145
- public/images/header.jpg
146
- public/images/pagebak.jpg
147
- public/images/paper3.svg
148
- public/images/period.png
149
- public/images/period_org.png
150
- public/images/question.svg
151
- public/images/rails.png
152
- public/images/tabella_architetto_franc_01.svg
153
- public/javascripts/application.js
154
- public/javascripts/controls.js
155
- public/javascripts/dragdrop.js
156
- public/javascripts/effects.js
157
- public/javascripts/prototype.js
158
- public/javascripts/zapatec/utils/transport.js
159
- public/javascripts/zapatec/utils/utils.js
160
- public/javascripts/zapatec/utils/zapatec.js
161
- public/javascripts/zapatec/utils/zpeventdriven.js
162
- public/javascripts/zapatec/utils/zpwidget.js
163
- public/javascripts/zapatec/zpcal/lang/calendar-no.js
164
- public/javascripts/zapatec/zpcal/src/calendar-core.js
165
- public/javascripts/zapatec/zpcal/src/calendar-date-core.js
166
- public/javascripts/zapatec/zpcal/src/calendar-setup.js
167
- public/javascripts/zapatec/zpcal/src/calendar.js
168
- public/robots.txt
169
- public/stylesheets/backlog.css
170
- public/stylesheets/mwrt002.css
171
- public/stylesheets/mwrt002MAC.css
172
- public/stylesheets/mwrt002NN.css
173
- public/stylesheets/scaffold.css
174
- public/stylesheets/user.css
175
- public/stylesheets/zpcal/themes/green.css
176
- public/stylesheets/zpcal/themes/layouts/layout-2d.css
177
- public/stylesheets/zpcal/themes/layouts/layout-common.css
178
- public/stylesheets/zpcal/themes/menuarrow.gif
179
- public/stylesheets/zpcal/themes/scroller-down.gif
180
- public/stylesheets/zpcal/themes/scroller-up.gif
181
- script/about
182
- script/breakpointer
183
- script/console
184
- script/destroy
185
- script/generate
186
- script/performance/benchmarker
187
- script/performance/profiler
188
- script/plugin
189
- script/process/inspector
190
- script/process/reaper
191
- script/process/spawner
192
- script/runner
193
- script/server
194
- test/fixtures/backlogs.yml
195
- test/fixtures/estimates.yml
196
- test/fixtures/periods.yml
197
- test/fixtures/tasks.yml
198
- test/fixtures/users.yml
199
- test/fixtures/works.yml
200
- test/functional/backlogs_controller_test.rb
201
- test/functional/estimates_controller_test.rb
202
- test/functional/periods_controller_test.rb
203
- test/functional/tasks_controller_test.rb
204
- test/functional/user_controller_test.rb
205
- test/functional/works_controller_test.rb
206
- test/integration/user_system_test.rb
207
- test/mocks/test/clock.rb
208
- test/mocks/test/user_notify.rb
209
- test/test_helper.rb
210
- test/unit/backlog_item_test.rb
211
- test/unit/estimate_test.rb
212
- test/unit/localization_test.rb
213
- test/unit/period_test.rb
214
- test/unit/task_test.rb
215
- test/unit/user_test.rb
216
- test/unit/work_test.rb
data/README.txt CHANGED
@@ -25,3 +25,11 @@ A timekeeping module is also included to track time spent on the different tasks
25
25
  * run <tt>sudo backlog stop</tt>
26
26
  * run <tt>sudo gem update -y</tt>
27
27
  * run <tt>sudo backlog start</tt>
28
+
29
+ === Configuration
30
+
31
+ You can set configuration parameters for abcklog using the /etc/backlog.conf file.
32
+ The format is YAML.
33
+ Currently only port number is settable.
34
+
35
+ port: 3000
data/bin/backlog CHANGED
@@ -7,6 +7,7 @@
7
7
 
8
8
  require 'rubygems'
9
9
  require 'fileutils'
10
+ require 'yaml'
10
11
 
11
12
  APPLICATION = 'backlog'
12
13
 
@@ -16,13 +17,17 @@ else
16
17
  INSTALL_DIR = "/usr/local/backlog/current"
17
18
  end
18
19
 
20
+ config_file = '/etc/backlog.conf'
21
+ config = {}
22
+ config = File.open(config_file) {|f| YAML::load(f)} if File.exists? config_file
23
+
19
24
  LOG_DIR = "#{INSTALL_DIR}/log"
20
25
 
21
26
  # See how we were called.
22
27
  case ARGV[0]
23
28
  when 'start':
24
- Dir.mkdir LOG_DIR unless File.exists? LOG_DIR
25
- `mongrel_rails start -p 3000 -e production -c #{INSTALL_DIR} -d -m #{INSTALL_DIR}/config/mime_types.yaml 1>#{LOG_DIR}/stdout.log 2>#{LOG_DIR}/stderr.log`
29
+ Dir.mkdir LOG_DIR unless File.exists? LOG_DIR
30
+ `mongrel_rails start -p #{config['port'] || 3000} -e production -c #{INSTALL_DIR} -d -m #{INSTALL_DIR}/config/mime_types.yaml 1>#{LOG_DIR}/stdout.log 2>#{LOG_DIR}/stderr.log`
26
31
  when 'stop':
27
32
  `mongrel_rails stop -c #{INSTALL_DIR}`
28
33
  when 'restart':
@@ -42,8 +47,11 @@ case ARGV[0]
42
47
  puts `su - postgres -c "createdb #{APPLICATION}_production"`
43
48
  end
44
49
  Dir.chdir INSTALL_DIR
50
+ Dir.mkdir LOG_DIR unless File.exists? LOG_DIR
45
51
  puts `rake db:migrate RAILS_ENV=production`
46
- FileUtils.cp "#{INSTALL_DIR}/bin/#{APPLICATION}_init.d", "/etc/init.d/#{APPLICATION}"
52
+ startup_app = "/etc/init.d/#{APPLICATION}"
53
+ `ln -s /usr/bin/#{APPLICATION} #{startup_app}`
54
+ FileUtils.cp "#{INSTALL_DIR}/etc/#{APPLICATION}.conf", config_file unless File.exists? config_file
47
55
  else
48
56
  puts "Usage: #$0 {start|stop|restart|status|setup}"
49
57
  exit 1
File without changes
data/etc/backlog.conf ADDED
@@ -0,0 +1 @@
1
+ port: 3000
@@ -8,13 +8,13 @@
8
8
  # See how we were called.
9
9
  case "$1" in
10
10
  start)
11
- mongrel_rails start -p 3000 -e production -c /u/apps/backlog/current -d -m /u/apps/backlog/current/config/mime_types.yaml 1>/u/apps/backlog/current/log/stdout.log 2>/u/apps/backlog/current/log/stderr.log
11
+ mongrel_rails start -p 3000 -e datek_production -c /usr/local/backlog/current -d -m /usr/local/backlog/current/config/mime_types.yaml 1>/usr/local/backlog/current/log/stdout.log 2>/usr/local/backlog/current/log/stderr.log
12
12
  ;;
13
13
  stop)
14
- mongrel_rails stop -c /u/apps/backlog/current
14
+ mongrel_rails stop -c /usr/local/backlog/current
15
15
  ;;
16
16
  restart)
17
- mongrel_rails restart -c /u/apps/backlog/current
17
+ mongrel_rails restart -c /usr/local/backlog/current
18
18
  ;;
19
19
  status)
20
20
  ps -ef | grep backlog
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: backlog
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.3.5
6
+ version: 0.3.6
7
7
  date: 2007-08-03 00:00:00 +02:00
8
8
  summary: Application to aid collecting, processing, organizing, reviewing and doing tasks.
9
9
  require_paths:
@@ -11,7 +11,7 @@ require_paths:
11
11
  email: ryand-ruby@zenspider.com
12
12
  homepage: http://www.zenspider.com/ZSS/Products/backlog/
13
13
  rubyforge_project: backlog
14
- description: == Backlog Welcome to Backlog! Backlog is a tool to help you collect and organize all your tasks, wether you are a single persion or a small or large group. A timekeeping module is also included to track time spent on the different tasks. === Backlog is not meant to be * an issue tracker with customer communication. === Installation * Install ruby * Install RubyGems * Install PostgreSQL * run <tt>sudo gem install backlog -y</tt> * run <tt>sudo backlog setup_linux</tt> * run <tt>sudo backlog start</tt> === Updates * run <tt>sudo backlog stop</tt> * run <tt>sudo gem update -y</tt> * run <tt>sudo backlog start</tt>
14
+ description: "== Backlog Welcome to Backlog! Backlog is a tool to help you collect and organize all your tasks, wether you are a single persion or a small or large group. A timekeeping module is also included to track time spent on the different tasks. === Backlog is not meant to be * an issue tracker with customer communication. === Installation * Install ruby * Install RubyGems * Install PostgreSQL * run <tt>sudo gem install backlog -y</tt> * run <tt>sudo backlog setup_linux</tt> * run <tt>sudo backlog start</tt> === Updates * run <tt>sudo backlog stop</tt> * run <tt>sudo gem update -y</tt> * run <tt>sudo backlog start</tt> === Configuration You can set configuration parameters for abcklog using the /etc/backlog.conf file. The format is YAML. Currently only port number is settable. port: 3000"
15
15
  autorequire:
16
16
  default_executable:
17
17
  bindir: bin
@@ -178,10 +178,8 @@ files:
178
178
  - lib/localization.rb
179
179
  - README_RAILS
180
180
  - bin
181
- - bin/backlog_init.d_kubosch_production
182
181
  - bin/copy_production2development.rb
183
182
  - bin/backlog
184
- - bin/backlog_init.d
185
183
  - script
186
184
  - script/destroy
187
185
  - script/performance
@@ -1656,6 +1654,10 @@ files:
1656
1654
  - vendor/rails/actionpack/install.rb
1657
1655
  - vendor/rails/actionpack/README
1658
1656
  - Rakefile
1657
+ - etc
1658
+ - etc/backlog_init.d_kubosch_production
1659
+ - etc/backlog
1660
+ - etc/backlog.conf
1659
1661
  - Capfile
1660
1662
  - README_LOCALIZATION
1661
1663
  - README_LOGIN_SUGAR
@@ -1754,12 +1756,10 @@ test_files:
1754
1756
  rdoc_options:
1755
1757
  - --main
1756
1758
  - README.txt
1757
- extra_rdoc_files:
1758
- - History.txt
1759
- - public/robots.txt
1760
- executables:
1761
- - backlog
1762
- - backlog_init.d
1759
+ extra_rdoc_files: []
1760
+
1761
+ executables: []
1762
+
1763
1763
  extensions: []
1764
1764
 
1765
1765
  requirements: []