Swank Wiki
Recently Visited

Swank v0.04.04

Type: task
Description: Attachments as pages
Status: DONE
Priority: 1
Assigned:

Notes

Attachments are currently implemented as raw files, not swank pages.

Doing them as pages would help many things: history tracking, keywords, descriptions, notes, searching, etc.

Security concerns need to be addressed: no attachment should be evaluated for code.

Efficiency concerns: raw files are much faster to serve.  (We could keep a raw file copy for efficient service. hmm... on_write trigger?)

commit 0508883 is a major rewrite of attachments

Each attachment has a page, which is editable and indexed, with mime_type, tags, etc.

The actual media file is stored separately.

  • pro: it is in a separate directory tree which apache can serve directly. 
  • con: it is not in rcs history.