Changes between Version 3 and Version 4 of ArchiveViewerPlugin
- Timestamp:
- Mar 7, 2015, 4:18:01 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ArchiveViewerPlugin
v3 v4 5 5 == Description 6 6 7 Render contents list in a deflated attachment or repository.7 Render a list of the contents of a zipped attachment or repository. 8 8 9 use hash-link to specified line of code in the archive.9 Use a hash-link to view a specified line of code in the archive: `/path/to/ticket/Archiveviewer.egg/archiveviewer/zipfile#LINENO`, see screenshot below. 10 10 11 you can see contents in zip in zip. cf. manifest in lib/jar in war in ear.11 You can see contents in zip in zip. cf. manifest in lib/jar in war in ear. 12 12 13 13 ---- … … 19 19 zipの中のzipの中身もみられるよ。ear内のwar内のlib/jar内のマニフェストの記載を見る、とかできます。 20 20 21 '''Screenshot''': Archive viewer: 21 22 22 23 [[Image(Archiveviewer.png)]] 23 24 25 '''Screenshot''': Archive viewer hashlink to view a specified line in the file: 26 24 27 [[Image(ArchiveViewer-Hashlink.png)]] 25 28 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. 29 When `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. 30 You can zip mocks of web-application and attach it to a ticket or wiki. 27 31 28 32 trac.ini で [attachment] render-unsafe-contents = true を指定していると、 htmをブラウザで開きます。このとき、html中の相対リンクをzipファイル内で解決できます。「Webアプリケーションの画面モックアップを HTML + CSS + JavaScript?とかで作って、zipパッケージにしてチケットに添付する」みたいな場面で便利なんじゃないかなー。 29 33 34 '''Screenshot''': Content: 35 30 36 [[Image(content.png)]] 37 38 '''Screenshot''': Raw zip file: 31 39 32 40 [[Image(raw-zip.png)]] … … 39 47 If you have any issues, create a 40 48 [http://trac-hacks.org/newticket?component=ArchiveViewerPlugin new ticket]. 49 50 [[TicketQuery(component=ArchiveViewerPlugin,group=type,format=progress)]] 41 51 42 52 == Download