• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

taigaio / taiga-back / 892
77%
master: 81%

Build:
Build:
LAST BUILD BRANCH: weblate-taiga-taiga-back
DEFAULT BRANCH: master
Ran 04 Jul 2014 10:30AM UTC
Jobs 1
Files 166
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
892

push

travis-ci

ikame
Check permissions when accessing attachments

Attachment files dispatching is now done through `RawAttachmentView`
view that checks for appropiate permissions.

When using the development server this view just redirects to the real
media path of the file.

When using the production server the special redirection header
`X-Accel-Redirect` is used instead to improve efficiency by instructing
the server to dispatch the file instead of django, but you also need the
following configuration (Nginx):

location /attachment-files {
    internal;
    alias /path/to/taiga/media/attachment-files;
}

It's recommended to also restrict the direct access from outside to the
`attachment-files` directory by using some configuration like this:

location /media/attachment-files {
    deny all;
}

3784 of 4883 relevant lines covered (77.49%)

0.77 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
taiga/projects/attachments/models.py
Jobs
ID Job ID Ran Files Coverage
1 892.1 04 Jul 2014 10:30AM UTC 0
77.49
Travis Job 892.1
Source Files on build 892
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #892
  • 52f476fb on github
  • Prev Build on attachments (#891)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc