Changes between Version 14 and Version 15 of PdfRedirectorPlugin
- Timestamp:
- May 19, 2015, 6:37:23 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PdfRedirectorPlugin
v14 v15 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Redirect to raw format for PDF attachments =3 2 4 = = Description ==3 = Redirect to raw format for PDF attachments 5 4 6 Makes links to PDF attachments go directly to the raw file rather than the preview page (which doesn't actually preview the file). 5 == Description 6 7 This plugin produces links to PDF attachments to go directly to the raw file, rather than the preview page (which doesn't actually preview the file). 7 8 8 9 To delete attachments, you'll need to enter an explicit URL: `/attachment/realm/id/filename.pdf?action=delete`. 9 10 10 == Bugs/Feature Requests ==11 == Bugs/Feature Requests 11 12 12 13 Existing bugs and feature requests for PdfRedirectorPlugin are … … 16 17 [http://trac-hacks.org/newticket?component=PdfRedirectorPlugin&owner=nicholasbs new ticket]. 17 18 18 == Download == 19 [[TicketQuery(component=PdfRedirectorPlugin&group=type,format=progress)]] 20 21 == Download 19 22 20 23 Download the zipped source from [download:pdfredirectorplugin here]. 21 24 22 == Source ==25 == Source 23 26 24 27 You can check out PdfRedirectorPlugin from [http://trac-hacks.org/svn/pdfredirectorplugin here] using Subversion, or [source:pdfredirectorplugin browse the source] with Trac. 25 28 26 == Install ==29 == Installation 27 30 28 31 Installation directly from SVN (for more info see t:TracPlugins): 29 32 30 {{{ 31 #!sh 33 {{{#!sh 32 34 easy_install http://trac-hacks.org/svn/pdfredirectorplugin/trunk/ 33 35 }}} 34 36 35 If you want the PDF to render in the browser, you'll need to make the following configuration changes: 36 {{{ 37 #!ini 37 If you want the PDF to render in the browser, you'll need to make the following configuration changes in your `trac.ini` file: 38 {{{#!ini 38 39 [attachments] 39 40 render_unsafe_content = true … … 43 44 }}} 44 45 45 == Example ==46 == Example 46 47 47 Upload a PDF and click on it. You 'll be able to download it immediately instead of having to click through the preview page.48 Upload a PDF and click on it. You will be able to download it immediately instead of having to click through the preview page. 48 49 49 == Recent Changes ==50 == Recent Changes 50 51 51 52 [[ChangeLog(pdfredirectorplugin, 3)]] 52 53 53 == Author/Contributors ==54 == Author/Contributors 54 55 55 56 Developed at [http://openplans.org The Open Planning Project].