[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2023-11-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added Resolution|--- |WISHLIST Status|NE

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2022-12-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 mathieu saby changed: What|Removed |Added CC||mathsaby...@gmail.com -- Yo

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2022-08-17 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added See Also|https://bugs.koha-community | |.org/bugzi

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2022-08-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added See Also||https://bugs.koha-community

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2022-05-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 Martin Renvoize changed: What|Removed |Added CC||martin.renvoize@ptfs-europ

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2021-05-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added See Also||https://bugs.koha-community

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2021-05-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #25 from David Cook --- Unfortunately, I haven't had any time/energy to work on this, although it's still something I want to do eventually. -- You are receiving this mail because: You are watching all bug changes.

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-12-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #24 from David Cook --- (In reply to David Cook from comment #23) > I'm hoping to look at this more over the holidays. Next steps: 1. Finish Perl coding a. Finish controller code b. Move code out of controller and in

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-12-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added Depends on|20582 |27031 Referenced Bugs: https

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-12-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #23 from David Cook --- I still have more work to do, but the core is there. It's really now just about building out the controller, hopefully moving code into modules, and adding unit tests for those modules. Actually,

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-12-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #22 from David Cook --- Created attachment 114587 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114587&action=edit Bug 26791: Use Mojolicious record exporter when using ExportCircHistory This patch us

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-12-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added See Also||https://bugs.koha-community

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-12-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #21 from David Cook --- *** Bug 26792 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs m

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-12-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #20 from David Cook --- Technically Bug 26791 doesn't depend on Bug 20582, but I will need to do something for app.psgi from Bug 20582 before this work is complete... -- You are receiving this mail because: You are watc

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-12-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added Depends on||20582 Referenced Bugs: https

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-12-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added Depends on|20582 | Referenced Bugs: https://bu

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 Josef Moravec changed: What|Removed |Added Depends on||20582 Referenced Bugs: ht

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #19 from David Cook --- I just did a test with a 41MB Koha database and it took 17ms to download from http://localhost:8081/cgi-bin/koha/staff/tools/export. I've verified the file and it's complete. Using http://localho

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added See Also||https://bugs.koha-community

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #18 from David Cook --- Another test plan: 0. Follow the first test plan 1. koha-plack --disable kohadev 2. service apache2 restart 3. Go to http://localhost:8081/cgi-bin/koha/staff/tools/export 4. Click "Export database"

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #17 from David Cook --- I am still working on this, but I'm sharing so that people can review, provide feedback, or whatever. Test plan: 1. cp debian/templates/plack.psgi /etc/koha/sites/kohadev/plack.psgi 2. koha-plack

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #16 from David Cook --- Created attachment 113660 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113660&action=edit Bug 26791: Replace export.pl with export Mojolicious controller WORK IN PROGRESS --

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #15 from David Cook --- Next steps: 1. The code for exporting records from export.pl needs a massive rewrite in order to work here, but I'm leaving that for last... 2. I also need to write unit tests, but at this point

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #14 from Victor Grousset/tuxayo --- Impressive :D -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-com

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #13 from David Cook --- Making significant progress. koha-run-backups --days 2 --output /var/spool/koha ls /var/spool/koha/kohadev/ kohadev-2020-11-16.sql.gz kohadev-2020-11-16.tar.gz I can't download kohadev-2020-11-1

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added Depends on|26792 | Referenced Bugs: https://bu

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added See Also||https://bugs.koha-community

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 Julian Maurice changed: What|Removed |Added CC||julian.maur...@biblibre.com

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 Victor Grousset/tuxayo changed: What|Removed |Added CC||vic...@tuxayo.net

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added See Also||https://bugs.koha-community

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #12 from David Cook --- Oh... I should be able to provide a "staff" script which can be used by CGI, but which is ignored when "intranet/staff" is mounted in plack.psgi! In that case, I should be able to totally replace

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added Depends on||26792 Referenced Bugs: https

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #11 from David Cook --- Sebastian Riedel, the founder of Mojolicious, mentioned that the drain callback is the only way to do streaming in Mojolicious, since it relies on an event loop and non-blocking I/O, which makes se

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #10 from David Cook --- So it seems that $c->write and $c->write_chunk just put the content in a buffer rather than actually writing to the socket. (It's too bad they're not called $c->buffer and $c->buffer_chunk >_>.)

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #9 from David Cook --- (In reply to David Cook from comment #8) > I've tried using the drain callback, and while I am getting a stream of data > in my web client... the results are strange. > > It's like it's pulling th

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #8 from David Cook --- I've tried using the drain callback, and while I am getting a stream of data in my web client... the results are strange. It's like it's pulling the same database record more than once but creatin

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #7 from David Cook --- Using a drain callback (like in https://gist.github.com/hiroaki/1893896 or https://docs.mojolicious.org/Mojolicious/Guides/Rendering#Streaming) works for a small amount of data, but I didn't have ti

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #6 from David Cook --- Alas, I was not able to get the $c->write or $c->write_chunk methods to work for streaming a large amount of data in a HTTP response. I could seemingly make it work for small amounts of data, but f

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #5 from David Cook --- (In reply to David Cook from comment #4) > Actually, I think it was a case of suffering from buffering, and I just > wasn't using a reasonable test load. It's look better now... Except now when I'm

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #4 from David Cook --- Actually, I think it was a case of suffering from buffering, and I just wasn't using a reasonable test load. It's look better now... -- You are receiving this mail because: You are watching all bu

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #3 from David Cook --- Running a simple Mojo app using morbo and still not getting the stream, so I must be doing something wrong in Mojolicious... -- You are receiving this mail because: You are watching all bug change

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added Assignee|koha-b...@lists.koha-commun |dc...@prosentient.com.au

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 --- Comment #1 from David Cook --- I think that C4::Auth and C4::Templates will need a bit of refactoring to get the AuthN/AuthZ and Template::Toolkit working 100% correctly, but this is very achievable. I have ideas about how to get

[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

2020-10-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 David Cook changed: What|Removed |Added See Also||https://bugs.koha-community