lp:~mkanat/loggerhead/raw-prefix

Created by Max Kanat-Alexander and last modified
Get this branch:
bzr branch lp:~mkanat/loggerhead/raw-prefix
Only Max Kanat-Alexander can upload to this branch. If you are Max Kanat-Alexander please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Max Kanat-Alexander
Project:
loggerhead
Status:
Merged

Recent revisions

442. By Max Kanat-Alexander

Setting --prefix was overriding --raw-prefix, due to a bug.
Also make it clear that --raw-prefix should not include --prefix at the end.

441. By Max Kanat-Alexander

Add the ability to use %branch% in --raw-prefix, to have per-branch URLs.

440. By Max Kanat-Alexander

Add --raw-prefix, for serving /raw/ files from a different domain, giving
XSS protection against unknown file content.

439. By Max Kanat-Alexander

Add a link to the raw view of a file on the inventory list.

438. By Max Kanat-Alexander

Add a link to the raw content on the file view.

437. By Max Kanat-Alexander

Make raw_ui send X-Content-Type-Options: nosniff so IE doesn't try to run
text/plain as HTML.

436. By Max Kanat-Alexander

Use bzrlib.textfile.check_file_lines as a poor man's mime detector when we
can't guess the mime-type from the file name.

435. By Max Kanat-Alexander

Add a basic "raw" controller, which displays the raw content of files.

434. By Max Kanat-Alexander

Refactor in preparation for adding the Raw controller. This simplifies getting
file information and sending output with no template.

433. By Max Kanat-Alexander

Create a new "view" controller, and have that be the default view of a file.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:loggerhead
This branch contains Public information 
Everyone can see this information.