Changes between Version 3 and Version 4 of ArchiveViewerPlugin


Ignore:
Timestamp:
Mar 7, 2015, 4:18:01 PM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • ArchiveViewerPlugin

    v3 v4  
    55== Description
    66
    7 Render contents list in a deflated attachment or repository.
     7Render a list of the contents of a zipped attachment or repository.
    88
    9 use hash-link to specified line of code in the archive.
     9Use a hash-link to view a specified line of code in the archive: `/path/to/ticket/Archiveviewer.egg/archiveviewer/zipfile#LINENO`, see screenshot below.
    1010
    11 you can see contents in zip in zip. cf. manifest in lib/jar in war in ear.
     11You can see contents in zip in zip. cf. manifest in lib/jar in war in ear.
    1212
    1313----
     
    1919zipの中のzipの中身もみられるよ。ear内のwar内のlib/jar内のマニフェストの記載を見る、とかできます。
    2020
     21'''Screenshot''': Archive viewer:
    2122
    2223[[Image(Archiveviewer.png)]]
    2324
     25'''Screenshot''': Archive viewer hashlink to view a specified line in the file:
     26
    2427[[Image(ArchiveViewer-Hashlink.png)]]
    2528
    26 When render-unsafe-contents = true in attachment section of trac.ini, HTML in the archive will display in your web-browser; relative-link may resolved in the zip file ... you can zip mocks of web-application and attach it to a ticket or wiki.
     29When `render-unsafe-contents = true` in the attachment section of trac.ini, HTML in the archive will display in your web-browser; relative-link may resolved in the zip file.
     30You can zip mocks of web-application and attach it to a ticket or wiki.
    2731
    2832trac.ini で [attachment] render-unsafe-contents = true を指定していると、 htmをブラウザで開きます。このとき、html中の相対リンクをzipファイル内で解決できます。「Webアプリケーションの画面モックアップを HTML + CSS + JavaScript?とかで作って、zipパッケージにしてチケットに添付する」みたいな場面で便利なんじゃないかなー。
    2933
     34'''Screenshot''': Content:
     35
    3036[[Image(content.png)]]
     37
     38'''Screenshot''': Raw zip file:
    3139
    3240[[Image(raw-zip.png)]]
     
    3947If you have any issues, create a
    4048[http://trac-hacks.org/newticket?component=ArchiveViewerPlugin new ticket].
     49
     50[[TicketQuery(component=ArchiveViewerPlugin,group=type,format=progress)]]
    4151
    4252== Download