There are No Perfect Redmine

10,919 views
10,787 views

Published on

2009年6月12日 Redmine勉強会での発表資料。

Published in: Technology
0 Comments
9 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
10,919
On SlideShare
0
From Embeds
0
Number of Embeds
584
Actions
Shares
0
Downloads
107
Comments
0
Likes
9
Embeds 0
No embeds

No notes for slide

There are No Perfect Redmine

  1. 1. Redmine Junya Ogura <juno@sooey.com> Jun 12, 2009 Saturday, June 13, 2009
  2. 2. Redmine 18 projects 1,696 tickets 22 users 2008.10 Saturday, June 13, 2009
  3. 3. • Junya Ogura ( ) • • PHP, Ruby, Java id:juno sooey.com twitter.com/junya github.com/juno Saturday, June 13, 2009
  4. 4. • Trac • • Textile • CSV • • Saturday, June 13, 2009
  5. 5. Trac Saturday, June 13, 2009
  6. 6. Saturday, June 13, 2009
  7. 7. Trac • • (Python...) • Saturday, June 13, 2009
  8. 8. Saturday, June 13, 2009
  9. 9. • • • • Saturday, June 13, 2009
  10. 10. PDF 34 pages Saturday, June 13, 2009
  11. 11. • Trac • Redmine • Trac • Redmine • Trac Read Only ( ) Saturday, June 13, 2009
  12. 12. • Trac • • Rails • CSS Saturday, June 13, 2009
  13. 13. • Redmine Wiki • Redmine • Saturday, June 13, 2009
  14. 14. Textile Saturday, June 13, 2009
  15. 15. Saturday, June 13, 2009
  16. 16. Textile h1.
 *
 **
 h2.
 <pre> Code
here... </pre> quot; quot;:http://example.com/ • HTML • plain text • Wiki Saturday, June 13, 2009
  17. 17. Markdown ==== *

 


*

 ‐‐‐‐ 



Code
here... [ ](http://example.com/) • Plain Text Saturday, June 13, 2009
  18. 18. redmine_markdown_formatter http://github.com/bitherder/redmine_markdown_formatter/tree/master Saturday, June 13, 2009
  19. 19. Markdown Extra |Fruit
|Price
| |‐‐‐‐‐‐|‐‐‐‐‐‐| |Apple
|


100| |Orange|



95| [^1] [^1]:
Markdown
Extra 1
{#header1} ==== [ 1 ](#header1) http://michelf.com/projects/php‐markdown/extra/ Saturday, June 13, 2009
  20. 20. redmine_markdown_extra_formatter http://github.com/juno/redmine_markdown_extra_formatter/tree/master Saturday, June 13, 2009
  21. 21. CSV Saturday, June 13, 2009
  22. 22. CSV • PM (Excel ) • • ( ) Saturday, June 13, 2009
  23. 23. CSV redmine_importer ( ) http://www.skyarc.co.jp/engineerblog/entry/post_12.html post_issue_vbs ( ) http://code.google.com/p/farend‐redmine‐tools/wiki/post_issue_vbs ExcelRedmineAddIn (id: kaorun55 ) http://d.hatena.ne.jp/kaorun55/20090524/1243177625 Saturday, June 13, 2009
  24. 24. redmine_importer (Martin Liu’s) http://www.martinliu.info/2009/04/redmine_importer‐redmine‐csv‐import‐plugin/ Saturday, June 13, 2009
  25. 25. redmine_importer (Martin Liu’s) http://github.com/juno/redmine_importer/tree/master Saturday, June 13, 2009
  26. 26. redmine_importer (Martin Liu’s) CSV id,title,body 1,quot; quot;,quot; quot; 2,quot; quot;,quot; quot; 3,quot; quot;,quot; quot; Saturday, June 13, 2009
  27. 27. redmine_importer (Martin Liu’s) CSV Saturday, June 13, 2009
  28. 28. redmine_importer (Martin Liu’s) Saturday, June 13, 2009
  29. 29. Saturday, June 13, 2009
  30. 30. Saturday, June 13, 2009
  31. 31. Saturday, June 13, 2009
  32. 32. Gravatar (Redmine 0.8.0-) • • • Gravatar Saturday, June 13, 2009
  33. 33. Local avatars Plugin http://www.redmine.org/boards/3/topics/5365 • Redmine • Saturday, June 13, 2009
  34. 34. • favicon.ico • (Gompertan ) • (redmine_codebook) redmine_codebook http://github.com/sroegner/redmine_codebook/tree/master Saturday, June 13, 2009
  35. 35. Saturday, June 13, 2009
  36. 36. • Subject • UTF-8 Subject • Outlook iPhone • Changeset • LDAP Changeset author FOO@DOMAIN.LOCAL • Saturday, June 13, 2009
  37. 37. ‐‐‐
app/models/changeset.rb.orig +++
app/models/changeset.rb @@
‐59,7
+59,7
@@ 


end 


 


def
author ‐



user
||
committer.to_s.split('<').first +



(user
||
committer.to_s.split('<').first).gsub(/@.+/,
'') 


end 


 


def
before_create Saturday, June 13, 2009
  38. 38. Changeset author Saturday, June 13, 2009
  39. 39. Plugin Tutorial http://www.redmine.org/wiki/redmine/Plugin_Tutorial Plugin Internals http://www.redmine.org/wiki/redmine/Plugin_Internals Saturday, June 13, 2009
  40. 40. $
cd
redmine $
script/generate
redmine_plugin
simplify_changeset_author Saturday, June 13, 2009
  41. 41. init.rb require
'redmine' require
'dispatcher' require
'changeset_patch' Dispatcher.to_prepare
do 

Changeset.send(:include,
ChangesetPatch) end Redmine::Plugin.register
:redmine_simplify_changeset_author
do 

name
'Simplify
Changeset
Author
plugin' 

author
'Author
name' 

description
'This
is
a
plugin
for
Redmine' 

version
'0.0.1' end vendor/plugins/redmine_simplify_changeset_author/init.rb Saturday, June 13, 2009
  42. 42. lib/changeset_patch.rb require_dependency
'changeset' 
 module
ChangesetPatch 

def
self.included(base)

#
:nodoc: 



base.send(:include,
InstanceMethods) 
 



base.class_eval
do 





alias_method_chain
:author,
:simplify 



end 

end 
 

module
InstanceMethods 



def
author_with_simplify 





author_without_simplify.gsub(/@.+/,
'') 



end 

end end redmine_simplify_changeset_author/lib/changeset_patch.rb Saturday, June 13, 2009
  43. 43. • • alias_method_chain • • Saturday, June 13, 2009
  44. 44. Fin. Saturday, June 13, 2009

×