WorkTime » 履歴 » リビジョン 28
リビジョン 27 (Tomohisa Kusukawa, 2013/02/23 11:26) → リビジョン 28/51 (Tomohisa Kusukawa, 2013/03/03 11:25)
h1. Redmine pluginで工数管理:WorkTime
{{count}}
レッドマインで工数管理を行うためのプラグインを作りました。
チケットの「時間を記録」と連動していて、ユーザ毎に工数管理(日毎入力、月間集計)を行うことができます。
!eachMember_.jpg!
!allMember_.jpg!
Redmine Plug-in、Ruby on Railsの習作です。
(実は私の初めてのWEBアプリケーションになります[2008/12])
いろいろ変なことをやらかしていると思います。
気づいた点やアドバイスなどご連絡いただけると幸いです。
h2. 導入方法
Redmineをインストールして正常に動作することを確認して下さい。
(参考: http://redmine.jp/install/ )
h4. redmine2.0以降
https://bitbucket.org/kusu/redmine_work_time/downloads
から最新のzipファイルをダウンロードし
$REDMINE/plugins/
に展開します。
<pre>
$ cd $REDMINE/plugins
$ unzip redmine_work_time-~.zip
</pre>
Redmineのルートに戻ってDBの初期化を行います。
<pre>
$ cd $REDMINE
$ rake redmine:plugins:migrate RAILS_ENV=production
</pre>
これでRedmineを起動すると
各プロジェクトの「設定」タブ→「モジュール」にWorkTimeが出てきますので、
チェックして有効化ください。
「管理」「ロールと権限」で設定する権限についてもWorkTimeの設定をしてください。
h4. redmine1.*.*
https://bitbucket.org/kusu/redmine_work_time/downloads
からVer0.1.*のzipファイルをダウンロードし
$REDMINE/vendor/plugins/
に展開します。
<pre>
$ cd $REDMINE/vendor/plugins
$ unzip redmine_work_time-~.zip
</pre>
Redmineのルートに戻ってDBの初期化を行います。
<pre>
$ cd $REDMINE
$ rake db:migrate_plugins RAILS_ENV=production
</pre>
これでRedmineを起動すると
各プロジェクトの「設定」タブ→「モジュール」にWorkTimeが出てきますので、
チェックして有効化ください。
「管理」「ロールと権限」で設定する権限についてもWorkTimeの設定をしてください。
h2. 使い方
[[使い方(書き途中)|Wiki:使い方(書き途中)]] をご覧下さい。
h2. 動作環境
● redmine_work_time-0.2.7~
* redmine-2.*.*
● redmine_work_time-0.2.6
* redmine-2.1.*
● redmine_work_time-0.2.0~0.2.5
* redmine-2.0.*
● redmine_work_time-0.1.*
* redmine-0.9.*
* redmine-1.0.*
* redmine-1.1.*
* redmine-1.2.*
* redmine-1.3.*
* redmine-1.4.*
不具合があったらご連絡いただけると助かります。
h2. Repository
Mercurial: https://bitbucket.org/kusu/redmine_work_time
Subversion: http://kusu.googlecode.com/svn/trunk/RedminePlugin/redmine_work_time/
h2. リリースノート
h3(#Ver0.2.9). Ver0.2.9(commit:082ba065ebd9) "redmine_work_time-0.2.9.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.2.9.zip Date: 2013-03-03
Feature:remaining time and status can be changed on daily table (in with backlog plugin)
Feature #1042: Show assigned issues automatically on Daily Report
Feature #1192: bulkupdate relay by issue's (parent, child)relation (scrum support)
Feature #1195: cosmetic change. about (event)'a link' to 'buttons'
h3(#Ver0.2.8). Ver0.2.8(commit:1a77028ba0e0) "redmine_work_time-0.2.8.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.2.8.zip Date: 2013-02-23
fixed bugs in initialize new elements.
modify label 'Ticket Relayed Monthly Report' -> 'Monthly Report(relayed)'
modify label 'Select project' -> 'Restrict project'
h3(#Ver0.2.7). Ver0.2.7(commit:8b2f09e9afa6) "redmine_work_time-0.2.7.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.2.7.zip Date: 2013-02-16
erbに散らばっていたJSをwork_time.jsに収集
AタグのJS表記を統一
Redmine2.0と2.1の両方で使えるように修正
"data download"のラベルの追加忘れを修正
add data export function
チケットが無くなっていた時の例外処理を追加
init.rbにプロジェクトURLを記述
日毎メモの更新時間の表示がおかしかったので修正
集計表示の不具合修正と効率の改善
集計表示を小数点以下2桁で右寄せで表示するように変更
h3(#Ver0.2.6). Ver0.2.6(commit:67546d56100b) "redmine_work_time-0.2.6.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.2.6.zip Date: 2012-09-17
fixes #1109 jQuery(Redmine2.1)への対応
h3(#Ver0.2.5). Ver0.2.5(commit:a4599e9c898e) "redmine_work_time-0.2.5.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.2.5.zip Date: 2012-09-17
fixes #1108 ログアウト状態で直接WorkTimeの画面のURLにアクセスするとInternal Server Errorが発生する
h3(#Ver0.1.11). Ver0.1.11(commit:3b5198e46b8e) "redmine_work_time-0.1.11.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.1.11.zip Date: 2012-08-17
fixes #1100 edit relay shows 500 error.
Redmine1系にはCodesetUtil.from_utf8が無かったので削除
h3(#Ver0.2.4). Ver0.2.4(commit:6eb7b892c820) "redmine_work_time-0.2.4.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.2.4.zip Date: 2012-08-15
fixes #1100 edit relay shows 500 error.
h3(#Ver0.2.3). Ver0.2.3(commit:a8c19c183860) "redmine_work_time-0.2.3.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.2.3.zip Date: 2012-08-14
fixes #1096 データダウンロードをsjisにしたい
fixes #1095 #1099 view month report shows 500 error
h3(#Ver0.1.10). Ver0.1.10(commit:1b8e0605679e) "redmine_work_time-0.1.10.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.1.10.zip Date: 2012-08-14
fixes #1096 データダウンロードをsjisにしたい
h3(#Ver0.2.2). Ver0.2.2(commit:3b1d91ed6f78) "redmine_work_time-0.2.2.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.2.2.zip Date: 2012-07-15
fixes #1065 エラーメッセージの表示にタグが表示される
fixes #1068 クローズしたチケットの進捗を更新しようとすると500エラーのダイアログがポップアップする
fixes #1085 IEで「チケットの追加」が機能しない
h3(#Ver0.1.9). Ver0.1.9(commit:b32f1da4baa2) "redmine_work_time-0.1.9.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.1.9.zip Date: 2012-07-15
fixes #1051 データダウンロードの形式をTSVにする
fixes #1068 クローズしたチケットの進捗を更新しようとすると500エラーのダイアログがポップアップする
fixes #1085 IEで「チケットの追加」が機能しない
h3(#Ver0.2.1). Ver0.2.1(commit:85fdf76d776d) "redmine_work_time-0.2.1.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.2.1.zip Date: 2012-06-17
fixes #1051 データダウンロードの形式をTSVにする
fixes #1058 終了チケットの表示に”<del>”と表示される
h3(#Ver0.2.0). Ver0.2.0(commit:c41a2bda8279) "redmine_work_time-0.2.0.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.2.0.zip Date: 2012-06-10
fixes #1050 Redmine2.0への対応
h3(#Ver0.1.8). Ver0.1.8(commit:5db83e881c3a) "redmine_work_time-0.1.8.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.1.8.zip Date: 2012-06-10
fixes #1043 チケット付替月間集計の翌月リンク「>>」がエラーになる場合がある問題を修正
fixes #1018 「付替なし月間集計」のデータダウンロードとして付替え先チケットの情報を含めて出力する機能を追加
fixes #1016 公開されていないプロジェクトが日毎工数に表示されてしまう問題の修正
fixes #1017 工数集計の際に参照権限の無いチケットに工数があることに気付けない問題の修正
fixes #1049 typo: Tikect should be Ticket
h3(#Ver0.1.7). Ver0.1.7(commit:0ed369397666) "redmine_work_time-0.1.7.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.1.7.zip Date: 2012-05-05
fixed #998 チケット付替時のチケット選択ポップアップでのPJの順をチケット付替表示と同じにする
redmine1.4への対応(route.rb追加) [by bamchoh様]
チケットのステータスが終了状態であった場合に進捗%を更新するポップアップを表示するとエラーになっていた問題の修正 [by bamchoh様]
h3(#Ver0.1.6). Ver0.1.6(commit:e5cd8ecc7353) "redmine_work_time-0.1.6.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.1.6.zip Date: 2012-01-28
fixes #923 NoMethodError (undefined method `visible?' for nil:NilClass)
fixes #933 Korean translation updated by Ki Won Kim.
h3(#Ver0.1.5). Ver0.1.5(commit:8e4697f5cb06) "redmine_work_time-0.1.5.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.1.5.zip Date: 2012-01-08
fixed #856 日毎メモ編集中に日毎メモ表示を消す
fixed #872 権限設定の項目順序変更
fixes #886 Don't view entries that have not permission of projects/tickets
h3(#Ver0.1.4). Ver0.1.4(commit:aefb234a565a) "redmine_work_time-0.1.4.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.1.4.zip Date: 2011-10-22
fixes #827 付替チケットの表示のみをAjax更新する仕様とし、表全体の再計算は行わないように変更
fixes #844 プロジェクト選択リストの順序を集計表示の順序と同じになるように修正
fixed "Issue 47:":http://code.google.com/p/kusu/issues/detail?id=47 See worktime of disabled users
fixed "Issue 58:":http://code.google.com/p/kusu/issues/detail?id=58 Simplified Chinese translation
h3(#Ver0.1.3). Ver0.1.3(commit:6a9417ab12ec) "redmine_work_time-0.1.3.zip":https://bitbucket.org/kusu/redmine_work_time/downloads/redmine_work_time-0.1.3.zip Date: 2011-09-17
fixes #824 ユーザ切り替え時にユーザ名が見えるように変更
fixes #826 新規エントリの活動をデフォルト値が選択された状態で表示されるように修正
fixed "Issue 52:":http://code.google.com/p/kusu/issues/detail?id=52 RuntimeError in Work timeController#index if there is a time entry without ticket id
"Issue 48:":http://code.google.com/p/kusu/issues/detail?id=48 French translation
エラー表示の不具合を修正
fixed "Issue 45:":http://code.google.com/p/kusu/issues/detail?id=45 時間トラッキングがイネーブルでないPJのチケットが「日毎工数」に表示される
h3. もっと過去のバージョン
http://code.google.com/p/kusu/wiki/WorkTime
にあります。
h3. もっともっと過去のバージョン
http://kusu.way-nifty.com/blog/redmine_work_time.html
にあります。