[Koha-bugs] [Bug 11317] Add a way to access files from the intranet

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 6 08:13:51 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11317

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66094|0                           |1
        is obsolete|                            |
  Attachment #66095|0                           |1
        is obsolete|                            |
  Attachment #66096|0                           |1
        is obsolete|                            |
  Attachment #66097|0                           |1
        is obsolete|                            |
  Attachment #66098|0                           |1
        is obsolete|                            |
  Attachment #66099|0                           |1
        is obsolete|                            |
  Attachment #66100|0                           |1
        is obsolete|                            |
  Attachment #72309|0                           |1
        is obsolete|                            |

--- Comment #121 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 72456
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72456&action=edit
Bug 11317: Adds a page to access log files on the server from the intranet.

The directory used is defined by the "publiclogdir" preference in
koha-conf.xml.

Test case :

Preparation :
* Add the "publiclogdir" preference to your "koha-conf.xml" file. This
* preference should be in the "config" section. For this test cas, we
* will use the "/tmp/koha-public" directory :
<config>
 ...
  <publiclogdir>/tmp/koha-public</publiclogdir>
 ...
</config>
* Create the log directory on your server. Make sure this directory
* is readable by your web server :
$ mkdir /tmp/koha-public
* Add a test file in the log directory :
$ cd /tmp/koha-public
$ echo "Hello world!" > test.txt

Test :
* Go in the "Reports" section in the intranet and select "Report/log
* files"
* The "test.txt" should appear in the files list.
* Click on the "test.txt" file, a download dialog should appear.
* Download the file and verify its content. It should contain the
* text "Hello world!".

Sponsored by : CCSR

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list