$30 off During Our Annual Pro Sale. View Details »

Redmine 340 new feature

NAITOH Jun
November 26, 2016

Redmine 340 new feature

3.4.0 (r15993) base

NAITOH Jun

November 26, 2016
Tweet

More Decks by NAITOH Jun

Other Decks in Technology

Transcript

  1. Redmine࠷৽ಈ޲
    ʙ3.4ͷมߋ఺ʹ͍ͭͯʙ
    ୈ11ճ redmine.tokyo ษڧձ
    2016/11/26 @naitoh
    16೥11݄26೔౔༵೔

    View Slide

  2. Redmine 3.4
    ͷมߋ఺
    Attachments, Issues
    Issues filter, Performance,
    REST API, Time tracking,
    UI
    (׬ྃ50/88݅ɺ·ͩ։ൃ
    ్தͰ͢ɻ)
    16೥11݄26೔౔༵೔

    View Slide

  3. Redmine 3.4ͷओͳมߋ఺
    ର৅όʔδϣϯͷϑΟϧλվળɻ(#23215,#10412,#22608)ɺ
    ࡞ۀ࣌ؒϑΟϧλؔ࿈ػೳ௥Ճ
    ʢ#14790,#13558,#16843,#23401,#23311,#23639,#8761ʣ
    දࣔվળ(#23653,#23146,#23996)
    ఴ෇ϑΝΠϧ(#13072,#22941,#6719,#12183)
    [ࢀߟ] 2016೥7݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/07/
    [ࢀߟ] 2016೥8݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/08/
    [ࢀߟ] 2016೥9݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/09/
    [ࢀߟ] 2016೥10݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/10/
    16೥11݄26೔౔༵೔

    View Slide

  4. มߋ఺ͷ঺հ಺༰
    Feature ͱ PatchΛத৺ʹ঺հ͠·͢ɻ
    Defect ͸͋·Γ঺հ͠·ͤΜɻ
    Closeͷνέοτ(গͳ͘ͱ΋ιʔείʔυ͕ίϛο
    τ͞Ε͍ͯΔ΋ͷ)Λத৺ʹ঺հ͠·͢ɻ
    16೥11݄26೔౔༵೔

    View Slide

  5. Attachments
    Patch #22941 Allow thumbnails
    on documents and wiki page
    จॻ΍WikiϖʔδͰఴ෇ϑΝ
    ΠϧͷαϜωΠϧදࣔΛ௥Ճ
    [ࢀߟ] 2016೥7݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/07/
    Feature #13072 Delete multiple attachments with one action
    νέοτฤूը໘͔Βఴ෇ϑΝΠϧͷҰׅ࡟আػೳ௥Ճɻ
    16೥11݄26೔౔༵೔

    View Slide

  6. Attachments
    Defect #24308 Allow Journal to return empty Array
    instead nil in Journal#attachments
    Journal#attachments Ͱ nil Ԡ౴ͷ୅ΘΓʹۭ഑ྻΛ
    ฦ͢Α͏ʹमਖ਼ɻ
    16೥11݄26೔౔༵೔

    View Slide

  7. Custom fields
    Feature #6719 File format for custom fields (specific file
    uploads)
    ϑΝΠϧॻࣜΧελϜϑΟʔϧυ௥Ճ (֦ுࢠ੍ݶ
    ෇͖Ͱఴ෇ϑΝΠϧඞਢͷτϥοΧʔΛఆٛՄೳ)
    [ࢀߟ] 2016೥10݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/10/
    16೥11݄26೔౔༵೔

    View Slide

  8. Database
    Defect #23347 MySQL: You can't specify target table
    for update in FROM clause
    MySQLͰFROM۟Ͱߋ৽ର৅ͷςʔϒϧΛࢦఆͰ
    ͖ͳ͍໰୊Λमਖ਼
    16೥11݄26೔౔༵೔

    View Slide

  9. Hook requests
    Patch #23545 Add before_render hook to
    WikiController#show
    WikiController#show ʹ “before_render” hookΛ௥
    Ճɻ(WikiͷදࣔɺΤΫεϙʔτલʹϓϥάΠϯ͔Β
    มߋ͕Մೳʹɻ)
    16೥11݄26೔౔༵೔

    View Slide

  10. Issues
    Feature #12706 Ability to change the private flag when
    editing a note (Patch #22575)
    νέοτͷཤྺͰ஫هͷมߋ࣌ɺϓϥΠϕʔτଐੑ
    ͷมߋ͕Մೳʹ
    [ࢀߟ] 2016೥7݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/07/
    16೥11݄26೔౔༵೔

    View Slide

  11. Issues
    Feature #21623 Journalize values that are cleared
    after project or tracker change
    νέοτͷϓϩδΣΫτҠಈɺ·ͨ͸τϥοΧʔ
    छผมߋʹΑΓແޮʹͳΔΧελϜϑΟʔϧυൃ
    ੜ࣌ɺνέοτཤྺʹແޮʹ൐͏࡟আ಺༰Λه࿥
    ͢ΔΑ͏ʹରԠɻ
    [ࢀߟ] 2016೥9݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/09/
    16೥11݄26೔౔༵೔

    View Slide

  12. Issues
    Feature #3425 View progress bar of related issues
    ؔ࿈͢ΔνέοτͷදࣔʹϓϩάϨεόʔΛ௥Ճ
    Feature #24015 Do not hide estimated_hours label
    when value is nil
    ஋͕ະઃఆͷ৔߹ɺ༧ఆ޻਺Λඇදࣔʹ͍ͯͨ͠
    ͷΛৗʹදࣔ͢ΔΑ͏ʹमਖ਼ɻ(༧ఆ޻਺Λ࢖༻͠
    ͳ͍৔߹͸ɺඪ४ϑΟʔϧυͷ༗ޮ/ແޮઃఆͰର
    Ԡɻ)
    16೥11݄26೔౔༵೔

    View Slide

  13. Issues filter
    Feature #10412 Target version filter shoud group
    versions by status
    νέοτϑΟϧλͷର৅όʔδϣϯͷϦετΛες
    ʔλε୯ҐͰදࣔ͢ΔΑ͏ʹมߋ
    [ࢀߟ] 2016೥7݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/07/
    16೥11݄26೔౔༵೔

    View Slide

  14. Issues filter
    Feature #23215 Add the possibility to filter issues after
    Target Version's Status and Due Date
    νέοτϑΟϧλʹʮର৅όʔδϣϯͷεςʔλ
    εʯͱʮର৅όʔδϣϯͷظ೔ʯΛ௥Ճ
    [ࢀߟ] 2016೥10݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/10/
    16೥11݄26೔౔༵೔

    View Slide

  15. Issues workflow
    Defect #14696 Limited status when copying an issue
    νέοτΛίϐʔͯ͠࡞੒࣌ɺνέοτͷॳظες
    ʔλε͕Ұ෦(ʮίϐʔݩͷνέοτͷεςʔλ
    εʯͱʮτϥοΧʔͷσϑΥϧτͷεςʔλεʯ)
    ͔͠બ΂ͳ͍໰୊Λमਖ਼ɻ
    [ࢀߟ] 2016೥9݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/09/
    16೥11݄26೔౔༵೔

    View Slide

  16. My page
    Feature #8761 My page - Spent time section only
    display 7 days, make it a parameter
    ϚΠϖʔδ - ࡞ۀ࣌ؒύʔπͷදࣔ೔਺ΛσϑΥϧ
    τ7೔͔ؒΒมߋՄೳʹɻ
    [ࢀߟ] 2016೥10݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/10/
    16೥11݄26೔౔༵೔

    View Slide

  17. Performance
    Feature #23743 Add index to workflows.tracker_id
    trackers#index ೖྗ࣌ʹTraker୯ҐʹQuery
    ͕ੜ੒͞ΕΔ͕ɺworkflows.tracker_idʹΠϯσοΫ
    ε͕ແ͍ͨΊ௥Ճɻ(֤Queryຖʹɺ88ms => 0.3ms
    ͷվળ)
    SELECT COUNT(*) FROM "workflows"
    WHERE "workflows"."tracker_id" = $1
    16೥11݄26೔౔༵೔

    View Slide

  18. Performance
    Patch #22850 Speedup remove_inherited_roles
    ϝϯόʔͷϩʔϧ਺͕ଟ͍৔߹ɺΞϓϦέʔγϣϯ
    Λ࣮֬ʹऴྃ(kill)ͤ͞͏ΔԼهΫΤϦΛආ͚ΔͨΊ
    ʹremove_inherited_roles ʹ͍ͭͯ࠷దԽΛ࣮ࢪɻ
    SELECT `member_roles`.* FROM `member_roles`
    WHERE `member_roles`.`inherited_from` = ?
    16೥11݄26೔౔༵೔

    View Slide

  19. Plugin API
    Patch #24007 Change plugins directory through the
    configuration.yml file
    configuration.yml Ͱ RedmineϓϥάΠϯύεΛՄม
    ʹɻ (RedmineͱPluginΛผύεͰ؅ཧՄೳ)
    # Absolute path to the directory where plugins are stored.
    # The default is the 'plugins' directory in your Redmine instance.
    # Your Redmine instance needs to have read permission on this
    # directory.
    # Examples:
    # plugins_path: /var/redmine/plugins
    # plugins_path: D:/redmine/plugins
    plugins_path:
    16೥11݄26೔౔༵೔

    View Slide

  20. Project settings
    Feature #22608 Enable filtering versions on Project ->
    Settings -> Versions
    ϓϩδΣΫτઃఆͷόʔδϣϯදࣔʹεςʔλε୯
    ҐͷϑΟϧλػೳ௥Ճ
    [ࢀߟ] 2016೥8݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/08/
    16೥11݄26೔౔༵೔

    View Slide

  21. Project settings
    Feature #24011 Add option to set a new version as
    default directly from New Version page
    ৽͍͠όʔδϣϯͷϖʔδʹ௚઀σϑΥϧτͱͯ͠
    ৽͍͠όʔδϣϯΛઃఆ͢ΔΦϓγϣϯΛ௥Ճ
    16೥11݄26೔౔༵೔

    View Slide

  22. Project settings
    Defect #23470 Disable "Select project modules"
    permission does not apply to the new project form
    ϩʔϧͷʮϞδϡʔϧͷબ୒ʯݖݶ͕৽ن࡞੒͢Δ
    ϓϩδΣΫτʹద༻͞Εͳ͍໰୊Λमਖ਼ɻ
    16೥11݄26೔౔༵೔

    View Slide

  23. REST API
    Feature #23566 REST API should return attachment's
    id in addition to token
    REST APIܦ༝Ͱͷఴ෇ϑΝΠϧΞοϓϩʔυ࣌ɺ
    Ϩεϙϯεʹఴ෇ϑΝΠϧIDΛؚΊΔΑ͏มߋɻ
    Patch #22356 Add support for updating attachments
    over REST API
    REST APIܦ༝Ͱνέοτͷఴ෇ϑΝΠϧߋ৽ػೳ
    Λ௥Ճɻ
    16೥11݄26೔౔༵೔

    View Slide

  24. REST API
    Patch #22795 render custom field values of
    enumerations in API requests
    APIϦΫΤετ಺ͷྻڍ߲໨ͷΧελϜϑΟʔϧυ஋
    ΛԠ౴͢ΔΑ͏ʹมߋɻ
    16೥11݄26೔౔༵೔

    View Slide

  25. Roadmap
    Defect #23377 Don't show "status" field when creating
    a new version
    ৽͍͠όʔδϣϯΛ࡞੒͢Δͱ͖ʹ(ϩοΫத΍ऴ
    ྃεςʔλε͸৽ن࡞੒࣌ʹ͸ෆཁͳͷͰ)ʮες
    ʔλεʯϑΟʔϧυΛදࣔ͠ͳ͍Α͏ʹमਖ਼
    16೥11݄26೔౔༵೔

    View Slide

  26. Time tracking (࡞ۀ࣌ؒ)
    Feature #13558 Add version filter in spent time report
    Feature #23401 Add tracker and status columns/filters
    to detailed timelog
    ࡞ۀ࣌ؒʹʮର৅όʔδϣϯʯϑΟϧλɺʮεςʔ
    λεʯʮτϥοΧʔʯϑΟϧλɾ߲໨Λ௥Ճ
    [ࢀߟ] 2016೥7݄ɺ8݄ͷRedmine։ൃঢ়گ
    16೥11݄26೔౔༵೔

    View Slide

  27. Time tracking (࡞ۀ࣌ؒ)
    Feature #16843 Enable grouping on time entries list
    [ࢀߟ] 2016೥7݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/07/
    ʮ࡞ۀ࣌ؒʯͷ
    ϑΟϧλΦϓγ
    ϣϯʹάϧʔϓ
    ৚݅ࢦఆ௥Ճ
    16೥11݄26೔౔༵೔

    View Slide

  28. Time tracking (࡞ۀ࣌ؒ)
    Feature #14790 Ability to save spent time query filters
    ʮ࡞ۀ࣌ؒʯʹΫΤϦʔอଘػೳ௥Ճ
    [ࢀߟ] 2016೥7݄ͷRedmine։ൃঢ়گ
    16೥11݄26೔౔༵೔

    View Slide

  29. UI
    Patch #23146 Show revision details
    using the same structure and look from
    the journals details
    ϦϏδϣϯৄࡉදࣔͷվળ
    Patch #23639 Add "Log time" to global
    button menu (+)
    ʴϝχϡʔʹʮ࣌ؒΛه࿥ʯΛ௥Ճ
    [ࢀߟ] 2016೥8݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/08/
    16೥11݄26೔౔༵೔

    View Slide

  30. Time tracking (࡞ۀ࣌ؒ)
    Patch #24189 time entry form - limit issue
    autocomplete to already selected project (ະΫϩʔζ)
    ϓϩδΣΫτείʔϓ֎ͷʮ࣌ؒΛه࿥ʯ࣌ʹνέο
    τͷݕࡧൣғΛબ୒ͨ͠ϓϩδΣΫτͷΈʹߜΔΑ
    ͏ʹվળ͢Δɻ
    16೥11݄26೔౔༵೔

    View Slide

  31. UI
    Feature #23311 New "Spent time" menu tab when
    spent time module is enabled on project
    ࣌ؒ؅ཧϞδϡʔϧ͕༗ޮͳ৔߹ɺϓϩδΣΫτϝ
    χϡʔʹʮ࡞ۀ࣌ؒʯλϒ௥Ճ
    [ࢀߟ] 2016೥8݄ͷRedmine։ൃঢ়گ
    http://blog.redmine.jp/articles/updates/2016/08/
    16೥11݄26೔౔༵೔

    View Slide

  32. UI
    Feature #23653 User preference for monospaced /
    variable-width font in textareas
    ݸਓઃఆ͔ΒςΩετΤϦΞͷϑΥϯτΛ౳෯/ϓ
    ϩϙʔγϣφϧϑΥϯτʹมߋՄೳʹ
    [ࢀߟ] 2016೥8݄ͷRedmine։ൃঢ়گ
    16೥11݄26೔౔༵೔

    View Slide

  33. UI
    Feature #23996 Introduce a setting to change the
    display format of timespans to HH:MM
    ࣌ؒΛHHɿMMͷදࣔܗࣜʹઃఆՄೳʹɻ
    16೥11݄26೔౔༵೔

    View Slide

  34. UI
    Patch #23998 Added link to author in Repository
    ϦϙδτϦදࣔͷʮ࡞੒ऀʯཝ͔Β֤Ϣʔβ৘ใ
    ΁ͷϦϯΫΛ௥Ճ
    Patch #23192 Add the new pagination style in the
    activity page
    ʮ׆ಈʯϖʔδʲલʳʲ࣍ʳʹ͍ͭͯ৽نελΠϧ
    Λ௥Ճ
    16೥11݄26೔౔༵೔

    View Slide

  35. Wiki
    Feature #23179 Add heading to table
    of contents macro
    {{toc}}ϚΫϩʹݟग़͠௥Ճ
    Feature #6239 Separate attachments
    visually from main wiki content
    Wikiຊจͱఴ෇ϑΝΠϧؒʹηύ
    Ϩʔλ௥Ճ
    Feature #12183 Hide attachments by
    default
    ఴ෇ϑΝΠϧදࣔΛॳظঢ়ଶ͸Ӆ
    ͢Α͏ରԠɻ(wikiͷΈ)
    16೥11݄26೔౔༵೔

    View Slide

  36. ཉ͍͠ػೳ͕͋Δਓ͸
    RedmineຊՈʹ࣍ظରԠީิνέοτΛ·ͱΊͨόʔ
    δϣϯ͕͋ΔͷͰɺ+1͠·͠ΐ͏ʂ
    [Candidate for next major release]
    http://www.redmine.org/versions/32
    [Candidate for next minor release]
    http://www.redmine.org/versions/33
    [Unplanned]
    http://www.redmine.org/versions/23
    16೥11݄26೔౔༵೔

    View Slide