iT邦幫忙

2018 iT 邦幫忙鐵人賽
DAY 14
0
Modern Web

Confluence 線上協同作業之平台系列 第 14

Day14-Attachments的管理

先介紹一下在confluence下,他如何來定義所謂的attachments
An attachment is any file that is included with your page. Examples of attachments are screenshots, photographs, other images, Word documents, presentations, PDF documents, videos and sound files. Attachments are useful when you want to share information that exists in another file format. You can attach files to any page or blog post, provided you have permission to do so. (attachment包含在page下任何形式的檔案,像是screenshots截圖、照片或其他影像,word文件、簡報presentations,pdf文件,影片跟聲音格式的檔案,attachments是有用的當您要使用另外的檔案格式來分享資訊時。您可以加入檔案到任意page或blog下,當您有權限的時候)
顧名思義就是把所要分享的檔案來上傳到page頁面下,滿大多數的情況下,遇到滿多比例上都是跟attachments的問題居多,整理了比較會常被問到的幾個問題,
1.要怎麼避免使用者亂傳檔案呢?目前是透過限制使用者上傳檔案的大小來限制,目前的單一檔案大小上傳限制是設定在2GB,每次上傳最多可以到25個attachments
https://ithelp.ithome.com.tw/upload/images/20171218/200037050z1kBqwFuj.jpg
2.要如何避免使用者上傳同樣的attachment?減少SERVER空間的使用呢?目前是透過isos attachment dedup plugin (https://marketplace.atlassian.com/plugins/com.isostech.confluence.plugin.attachment.dedupifier/server/overview), 在使用者新增attachment到page內容的時候,主要會由演算法來判斷所上傳的attachment是否有跟之前的版本重複

3.如何減少attachments空間的使用?當有符合下列的幾種情況,可以透過Attachment Tools Plugin (https://marketplace.atlassian.com/plugins/com.drunkendev.confluence.plugins.attachment-tools-plugin/server/overview) 來達到節省SERVER空間的效果

  • 當attachments的版本大小到達某個限制的時候將自動清除舊的版本
    https://ithelp.ithome.com.tw/upload/images/20171218/20003705M46ZRQH8iE.jpg
  • 限制最多的版本數(當版本數超過指定的版本數後,清除之前舊的版本)
    https://ithelp.ithome.com.tw/upload/images/20171218/20003705j3yc6YNHya.jpg
  • 附件的版本最多可以保留幾天,超過指定天數的attachment將會被清掉
    https://ithelp.ithome.com.tw/upload/images/20171218/20003705U0hvnpwJQy.jpg
  • attachments做多可以保留幾個版本
    https://ithelp.ithome.com.tw/upload/images/20171218/20003705aat0L0vzjm.jpg
    4.如何一次下載在PAGE頁面下全部的attachments呢?通常會適用在您要下載單一page下很多照片的情況
    https://ithelp.ithome.com.tw/upload/images/20171218/20003705rcYbtwqrvt.jpg
    5.當附件檔案被刪除的時候,頁面將會顯示Unknown attachment的資訊
    https://ithelp.ithome.com.tw/upload/images/20171218/200037054C3LHnmeTD.png

上一篇
Day13-Page頁面瀏覽率統計
下一篇
Day15-page的評比
系列文
Confluence 線上協同作業之平台30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言