Koha/debian
Nick Clemens edc5caf976
Bug 37056: Mount a new intranet_svc api to avoid redirects
When an unauthorized call to svc is made, we use the ErrorDocument middleware to respond with an HTML
page. The API doens't do this, it simply returns its status. We should mount the svc as its own app to avoid
the redirect to HTML for unauthorized responses

To test:
1 - Create a report
2 - Add to IntranetUserJs:
    $(document).ready(function() {
      // Your report ID
      var reportId = '492';

      // Fetch the report
      $.get('/cgi-bin/koha/svc/report?id=' + reportId, function(data) {
        console.log('Kaboom');
      });
    });
3 - Log out
4 - Attempt to login
5 - KO
6 - Apply patch
7 - Reset all (or copy the necessary changes to your plack/apache files)
8 - Generate report and update user js again
8 - Logout, login
9 - Success!

Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-07-02 17:20:37 +02:00
..
docs Bug 35954: Add --status to koha-plack 2024-05-03 19:31:56 +02:00
scripts Bug 37038: (QA follow-up) Replace \> by -gt 2024-06-28 13:49:23 +02:00
source
templates Bug 37056: Mount a new intranet_svc api to avoid redirects 2024-07-02 17:20:37 +02:00
bd-to-depends
build-git-snapshot
changelog
clean
compat
control Bug 36788: Update debian/control file 2024-05-06 15:04:29 +02:00
control.in Bug 25691: Replace link to non-existing README with wiki link 2024-01-16 12:06:08 +01:00
copyright
koha-common.bash-completion
koha-common.config
koha-common.cron.d
koha-common.cron.daily
koha-common.cron.hourly
koha-common.cron.monthly
koha-common.default
koha-common.dirs
koha-common.docs
koha-common.init
koha-common.install
koha-common.links
koha-common.logrotate
koha-common.postinst
koha-common.preinst
koha-common.README.Debian
koha-common.service
koha-common.templates
koha-core.bash-completion
koha-core.config
koha-core.default
koha-core.dirs
koha-core.docs
koha-core.init
koha-core.install
koha-core.links
koha-core.logrotate
koha-core.postinst
koha-core.preinst
koha-core.templates
koha-full.postinst
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install
koha.postinst Bug 25691: Replace link to non-existing README with wiki link 2024-01-16 12:06:08 +01:00
koha.postrm
koha.prerm
koha.README.Debian
list-deps
README.build
rules
unavailable.html
update-control

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.