Vote #74986
未完了File naming of exported custom queries
0%
説明
By now if you export a custom issue query for ex. as a PDF, its named "issues.pdf" which says nothing and is inconvenient to handle. It would be much better to use the custom query name as the filename (whereas spaces are written as underscores). See my attached image as an example we use it would be cool to directly save it as "incidents_of_last_month.pdf".
Just better: Optionally add a date to it "incidents_of_last_month_2014-02-03.pdf".
We use such exports for some partners so this would really make our lifes easier
journals
change including tests attached
--------------------------------------------------------------------------------
see attached file_naming.diff for the resolving code parts. please merge and close this.
--------------------------------------------------------------------------------
You need handle non ASCII filename.
See #16207.
--------------------------------------------------------------------------------
Toshi MARUYAMA wrote:
> You need handle non ASCII filename.
> See #16207.
Sorry, it is #16711.
--------------------------------------------------------------------------------
Added fix to handle non ASCII filenames. The new diff file contains the complete change.
--------------------------------------------------------------------------------
Toshi MARUYAMA wrote:
> Toshi MARUYAMA wrote:
> > You need handle non ASCII filename.
> > See #16207.
>
> Sorry, it is #16711.
Have you seen the fix?
--------------------------------------------------------------------------------
Mathias Nestler wrote:
> Toshi MARUYAMA wrote:
> > Toshi MARUYAMA wrote:
> > > You need handle non ASCII filename.
> > > See #16207.
> >
> > Sorry, it is #16711.
>
> Have you seen the fix?
--------------------------------------------------------------------------------
I modified patch attachment:file_naming2.diff to apply to the trunk.
This patch renames issues.csv, issues.pdf and timelog.csv to custom field name.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Update the patch for r19982.
--------------------------------------------------------------------------------
Admin Redmine さんが約2年前に更新
- カテゴリ を PDF export_39 にセット
- 対象バージョン を Candidate for next major release_32 にセット