Changes between Version 5 and Version 6 of ArchiveViewerPlugin


Ignore:
Timestamp:
Aug 23, 2016, 6:10:32 PM (8 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • ArchiveViewerPlugin

    v5 v6  
    55== Description
    66
    7 Render a list of the contents of a zipped attachment or repository.
     7This plugin renders a list of the contents of a zipped attachment or repository.
    88
    99Use a hash-link to view a specified line of code in the archive: `/path/to/ticket/Archiveviewer.egg/archiveviewer/zipfile#LINENO`, see screenshot below.
     
    1919zipの中のzipの中身もみられるよ。ear内のwar内のlib/jar内のマニフェストの記載を見る、とかできます。
    2020
     21アーカイブコンテナ名と中身の区切り文字に「!」を採用したのは、javaがjar内のリソースを指し示すときの表現にならった。ファイル名に使える文字だから衝突しちゃうかもしれないね。
     22
     23----
     24
    2125'''Screenshot''': Archive viewer:
    2226
     
    2731[[Image(ArchiveViewer-Hashlink.png)]]
    2832
    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.
     33When `render-unsafe-contents = true` in the `[attachment]` section of your `trac.ini` file, the HTML in the archive will display in your web-browser; relative-link may resolved in the zip file.
    3034You can zip mocks of web-application and attach it to a ticket or wiki.
    3135
    32 trac.ini で [attachment] render-unsafe-contents = true を指定していると、 htmをブラウザで開きます。このとき、html中の相対リンクをzipファイル内で解決できます。「Webアプリケーションの画面モックアップを HTML + CSS + JavaScript?とかで作って、zipパッケージにしてチケットに添付する」みたいな場面で便利なんじゃないかなー。
     36trac.ini で `[attachment] render-unsafe-contents = true` を指定していると、 htmをブラウザで開きます。このとき、html中の相対リンクをzipファイル内で解決できます。「Webアプリケーションの画面モックアップを HTML + CSS + JavaScript?とかで作って、zipパッケージにしてチケットに添付する」みたいな場面で便利なんじゃないかなー。
    3337
    3438'''Screenshot''': Content:
     
    7175**Maintainer:** [[Maintainer]] [[BR]]
    7276**Contributors:**
    73 
    74 アーカイブコンテナ名と中身の区切り文字に「!」を採用したのは、javaがjar内のリソースを指し示すときの表現にならった。ファイル名に使える文字だから衝突しちゃうかもしれないね。