[Bug 39190] New: Rework new (S)FTP classes to be polymorphic classes
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Bug ID: 39190 Summary: Rework new (S)FTP classes to be polymorphic classes Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@ptfs-europe.com QA Contact: testopia@bugs.koha-community.org We add a new UI for managing (S)FTP servers with bug 35761. We want to use these new configurations in other bugs, but the classes currently are just storage and don't offer the transport code. This patchset updates the classes to implement transport methods utilising polymorphism. We also clean up the API's a little to follow more RESTful best practices. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |martin.renvoize@ptfs-europe |ity.org |.com -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |35761 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35761 [Bug 35761] Add an administration editor for FTP and SFTP servers -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #1 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178555 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178555&action=edit Bug 39190: Add $result to Koha::Objects `object_class` calls This allows us to do dynamic polymorphic classing on calls to 'find', 'find_or_create', 'single', 'next', 'last' and 'as_list' etc. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #2 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178556 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178556&action=edit Bug 39190: Rework (S)FTP into File::Transport classes This patch adds polymorphic transport classes to Koha for FTP and SFTP file transport configurations. We introduce a base class for interacting with the base configuration storage and subclasses to impliment the protocol specific transport handling. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #3 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178557 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178557&action=edit Bug 39190: Add key handling to SFTP Transports We add triggers to store in the base class and then use them in the SFTP transport class to write out the key file to the filesystem for later use in connect. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #4 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178558 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178558&action=edit Bug 39190: Update API to use new Transport classes As the title says, use the new polymorphic classes in the API controllers -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #5 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178559 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178559&action=edit Bug 39190: Update sftp_servers page to use new objects Similar to the previous commit, this time we're updating the page controller to use the new polymorphic classes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #6 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178560 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178560&action=edit Bug 39190: Update status to longtext Update status field to store longtext so we can sore more details information about connection statuses from test connection -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #7 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178561 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178561&action=edit Bug 39190: DBIC Update -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #8 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178562 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178562&action=edit Bug 39190: Re-implement the connection testing We now use background jobs triggered by Transport->store to update the connection status. Status is now a json blob with more details, so we update the api definition to reflect that. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #9 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178563 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178563&action=edit Bug 39190: Update api tests for status format change -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #10 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178564 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178564&action=edit Bug 39190: Start of recording status updates from abort -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #11 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178565 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178565&action=edit Bug 39190: Remove old objects -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #12 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178566 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178566&action=edit Bug 39190: Remove test routine from API -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #13 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178567 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178567&action=edit Bug 39190: Remove replaced test_connection -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #14 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178568 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178568&action=edit Bug 39190: Redirect Schema to new classes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #15 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178569 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178569&action=edit Bug 39190: Update API's to reference new classes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #16 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178570 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178570&action=edit Bug 39190: Add transport to test -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #17 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178571 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178571&action=edit Bug 39190: Skip polymorphic classes in TestBuilder tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Jake Deery <jake.deery@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |38115 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38115 [Bug 38115] Add FTP support to export_records.pl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com, | |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178555|0 |1 is obsolete| | --- Comment #18 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179252 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179252&action=edit Bug 39190: Add $result to Koha::Objects `object_class` calls This allows us to do dynamic polymorphic classing on calls to 'find', 'find_or_create', 'single', 'next', 'last' and 'as_list' etc. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178556|0 |1 is obsolete| | --- Comment #19 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179253 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179253&action=edit Bug 39190: Rework (S)FTP into File::Transport classes This patch adds polymorphic transport classes to Koha for FTP and SFTP file transport configurations. We introduce a base class for interacting with the base configuration storage and subclasses to impliment the protocol specific transport handling. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178557|0 |1 is obsolete| | --- Comment #20 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179254 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179254&action=edit Bug 39190: Add key handling to SFTP Transports We add triggers to store in the base class and then use them in the SFTP transport class to write out the key file to the filesystem for later use in connect. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178558|0 |1 is obsolete| | --- Comment #21 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179255 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179255&action=edit Bug 39190: Update API to use new Transport classes As the title says, use the new polymorphic classes in the API controllers -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178559|0 |1 is obsolete| | --- Comment #22 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179256 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179256&action=edit Bug 39190: Update sftp_servers page to use new objects Similar to the previous commit, this time we're updating the page controller to use the new polymorphic classes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178560|0 |1 is obsolete| | --- Comment #23 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179257 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179257&action=edit Bug 39190: Update status to longtext Update status field to store longtext so we can sore more details information about connection statuses from test connection -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178561|0 |1 is obsolete| | --- Comment #24 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179258 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179258&action=edit Bug 39190: DBIC Update -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178562|0 |1 is obsolete| | --- Comment #25 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179259 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179259&action=edit Bug 39190: Re-implement the connection testing We now use background jobs triggered by Transport->store to update the connection status. Status is now a json blob with more details, so we update the api definition to reflect that. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178563|0 |1 is obsolete| | --- Comment #26 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179260 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179260&action=edit Bug 39190: Update api tests for status format change -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178564|0 |1 is obsolete| | --- Comment #27 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179261 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179261&action=edit Bug 39190: Start of recording status updates from abort -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178565|0 |1 is obsolete| | --- Comment #28 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179262 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179262&action=edit Bug 39190: Remove old objects -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178566|0 |1 is obsolete| | --- Comment #29 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179263 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179263&action=edit Bug 39190: Remove test routine from API -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178567|0 |1 is obsolete| | --- Comment #30 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179264 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179264&action=edit Bug 39190: Remove replaced test_connection -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178568|0 |1 is obsolete| | --- Comment #31 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179265 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179265&action=edit Bug 39190: Redirect Schema to new classes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178569|0 |1 is obsolete| | --- Comment #32 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179266 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179266&action=edit Bug 39190: Update API's to reference new classes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178570|0 |1 is obsolete| | --- Comment #33 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179267 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179267&action=edit Bug 39190: Add transport to test -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178571|0 |1 is obsolete| | --- Comment #34 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179268 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179268&action=edit Bug 39190: Skip polymorphic classes in TestBuilder tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #35 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Getting at least one unit test failure: kohadev-koha@kohadevbox:koha((63831c2dd5e...))$ prove t/db_dependent/TestBuilder.t t/db_dependent/TestBuilder.t .. 3/16 # Failed test 'Testing Koha::File::Transports' # at t/db_dependent/TestBuilder.t line 495. # got: 'Koha::File::Transport::FTP' # expected: 'Koha::File::Transport' # Looks like you failed 1 test of 1032. # Failed test 'Test all classes' # at t/db_dependent/TestBuilder.t line 515. # Looks like you failed 1 test of 5. t/db_dependent/TestBuilder.t .. 12/16 # Failed test 'build_object() tests' # at t/db_dependent/TestBuilder.t line 535. # Looks like you failed 1 test of 16. t/db_dependent/TestBuilder.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/16 subtests Test Summary Report ------------------- t/db_dependent/TestBuilder.t (Wstat: 256 (exited 1) Tests: 16 Failed: 1) Failed test: 12 Non-zero exit status: 1 Files=1, Tests=16, 26 wallclock secs ( 0.03 usr 0.01 sys + 20.08 cusr 4.58 csys = 24.70 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179252|0 |1 is obsolete| | --- Comment #36 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179396 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179396&action=edit Bug 39190: Add $result to Koha::Objects `object_class` calls This allows us to do dynamic polymorphic classing on calls to 'find', 'find_or_create', 'single', 'next', 'last' and 'as_list' etc. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179253|0 |1 is obsolete| | --- Comment #37 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179397 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179397&action=edit Bug 39190: Rework (S)FTP into File::Transport classes This patch adds polymorphic transport classes to Koha for FTP and SFTP file transport configurations. We introduce a base class for interacting with the base configuration storage and subclasses to impliment the protocol specific transport handling. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179254|0 |1 is obsolete| | --- Comment #38 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179398 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179398&action=edit Bug 39190: Add key handling to SFTP Transports We add triggers to store in the base class and then use them in the SFTP transport class to write out the key file to the filesystem for later use in connect. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179255|0 |1 is obsolete| | --- Comment #39 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179399 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179399&action=edit Bug 39190: Update API to use new Transport classes As the title says, use the new polymorphic classes in the API controllers -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179256|0 |1 is obsolete| | --- Comment #40 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179400 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179400&action=edit Bug 39190: Update sftp_servers page to use new objects Similar to the previous commit, this time we're updating the page controller to use the new polymorphic classes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179257|0 |1 is obsolete| | --- Comment #41 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179401 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179401&action=edit Bug 39190: Update status to longtext Update status field to store longtext so we can sore more details information about connection statuses from test connection -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179258|0 |1 is obsolete| | --- Comment #42 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179402 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179402&action=edit Bug 39190: DBIC Update -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179259|0 |1 is obsolete| | --- Comment #43 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179403 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179403&action=edit Bug 39190: Re-implement the connection testing We now use background jobs triggered by Transport->store to update the connection status. Status is now a json blob with more details, so we update the api definition to reflect that. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179260|0 |1 is obsolete| | --- Comment #44 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179404 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179404&action=edit Bug 39190: Update api tests for status format change -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179261|0 |1 is obsolete| | --- Comment #45 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179405 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179405&action=edit Bug 39190: Start of recording status updates from abort -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179262|0 |1 is obsolete| | --- Comment #46 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179406 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179406&action=edit Bug 39190: Remove old objects -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179263|0 |1 is obsolete| | --- Comment #47 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179407 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179407&action=edit Bug 39190: Remove test routine from API -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179264|0 |1 is obsolete| | --- Comment #48 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179408 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179408&action=edit Bug 39190: Remove replaced test_connection -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179265|0 |1 is obsolete| | --- Comment #49 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179409 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179409&action=edit Bug 39190: Redirect Schema to new classes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179266|0 |1 is obsolete| | --- Comment #50 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179410 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179410&action=edit Bug 39190: Update API's to reference new classes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179267|0 |1 is obsolete| | --- Comment #51 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179411 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179411&action=edit Bug 39190: Add transport to test -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #52 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179412 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179412&action=edit Bug 39190: Use introspection in TestBuilder tests We update the testbuilder tests here to look for signs of a polymorphic class map and use it to test the different class options for this base class -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #53 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179413 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179413&action=edit Bug 39190: Update polymorhpic base class to identify itself This patch adds _polymorphic_field and _polymorphic_map private methods to the Koha::File::Transports class to more clearly identify this as a polymorphic class base for TestBuilder. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179268|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179396|0 |1 is obsolete| | Attachment #179397|0 |1 is obsolete| | Attachment #179398|0 |1 is obsolete| | Attachment #179399|0 |1 is obsolete| | Attachment #179400|0 |1 is obsolete| | Attachment #179401|0 |1 is obsolete| | Attachment #179402|0 |1 is obsolete| | Attachment #179403|0 |1 is obsolete| | Attachment #179404|0 |1 is obsolete| | Attachment #179405|0 |1 is obsolete| | Attachment #179406|0 |1 is obsolete| | Attachment #179407|0 |1 is obsolete| | Attachment #179408|0 |1 is obsolete| | Attachment #179409|0 |1 is obsolete| | Attachment #179410|0 |1 is obsolete| | Attachment #179411|0 |1 is obsolete| | Attachment #179412|0 |1 is obsolete| | Attachment #179413|0 |1 is obsolete| | --- Comment #54 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179589 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179589&action=edit Bug 39190: Add $result to Koha::Objects `object_class` calls This allows us to do dynamic polymorphic classing on calls to 'find', 'find_or_create', 'single', 'next', 'last' and 'as_list' etc. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #55 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179590 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179590&action=edit Bug 39190: Rework (S)FTP into File::Transport classes This patch adds polymorphic transport classes to Koha for FTP and SFTP file transport configurations. We introduce a base class for interacting with the base configuration storage and subclasses to impliment the protocol specific transport handling. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #56 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179591 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179591&action=edit Bug 39190: Add key handling to SFTP Transports We add triggers to store in the base class and then use them in the SFTP transport class to write out the key file to the filesystem for later use in connect. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #57 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179592 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179592&action=edit Bug 39190: Update API to use new Transport classes As the title says, use the new polymorphic classes in the API controllers Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #58 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179593 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179593&action=edit Bug 39190: Update sftp_servers page to use new objects Similar to the previous commit, this time we're updating the page controller to use the new polymorphic classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #59 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179594 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179594&action=edit Bug 39190: Update status to longtext Update status field to store longtext so we can sore more details information about connection statuses from test connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #60 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179595 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179595&action=edit Bug 39190: DBIC Update Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #61 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179596 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179596&action=edit Bug 39190: Re-implement the connection testing We now use background jobs triggered by Transport->store to update the connection status. Status is now a json blob with more details, so we update the api definition to reflect that. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #62 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179597 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179597&action=edit Bug 39190: Update api tests for status format change Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #63 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179598 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179598&action=edit Bug 39190: Start of recording status updates from abort Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #64 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179599 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179599&action=edit Bug 39190: Remove old objects Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #65 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179600 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179600&action=edit Bug 39190: Remove test routine from API Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #66 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179601 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179601&action=edit Bug 39190: Remove replaced test_connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #67 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179602 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179602&action=edit Bug 39190: Redirect Schema to new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #68 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179603 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179603&action=edit Bug 39190: Update API's to reference new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #69 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179604 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179604&action=edit Bug 39190: Add transport to test Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #70 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179605 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179605&action=edit Bug 39190: Use introspection in TestBuilder tests We update the testbuilder tests here to look for signs of a polymorphic class map and use it to test the different class options for this base class Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #71 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 179606 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179606&action=edit Bug 39190: Update polymorhpic base class to identify itself This patch adds _polymorphic_field and _polymorphic_map private methods to the Koha::File::Transports class to more clearly identify this as a polymorphic class base for TestBuilder. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #72 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Transport is listed twice in the form for sftp_servers.pl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179589|0 |1 is obsolete| | --- Comment #73 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179646 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179646&action=edit Bug 39190: Add $result to Koha::Objects `object_class` calls This allows us to do dynamic polymorphic classing on calls to 'find', 'find_or_create', 'single', 'next', 'last' and 'as_list' etc. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179590|0 |1 is obsolete| | --- Comment #74 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179647 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179647&action=edit Bug 39190: Rework (S)FTP into File::Transport classes This patch adds polymorphic transport classes to Koha for FTP and SFTP file transport configurations. We introduce a base class for interacting with the base configuration storage and subclasses to impliment the protocol specific transport handling. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179591|0 |1 is obsolete| | --- Comment #75 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179648 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179648&action=edit Bug 39190: Add key handling to SFTP Transports We add triggers to store in the base class and then use them in the SFTP transport class to write out the key file to the filesystem for later use in connect. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179592|0 |1 is obsolete| | --- Comment #76 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179649 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179649&action=edit Bug 39190: Update API to use new Transport classes As the title says, use the new polymorphic classes in the API controllers Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179593|0 |1 is obsolete| | --- Comment #77 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179650 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179650&action=edit Bug 39190: Update sftp_servers page to use new objects Similar to the previous commit, this time we're updating the page controller to use the new polymorphic classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179594|0 |1 is obsolete| | --- Comment #78 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179651 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179651&action=edit Bug 39190: Update status to longtext Update status field to store longtext so we can sore more details information about connection statuses from test connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179595|0 |1 is obsolete| | --- Comment #79 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179652 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179652&action=edit Bug 39190: DBIC Update Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179596|0 |1 is obsolete| | --- Comment #80 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179653 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179653&action=edit Bug 39190: Re-implement the connection testing We now use background jobs triggered by Transport->store to update the connection status. Status is now a json blob with more details, so we update the api definition to reflect that. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179597|0 |1 is obsolete| | --- Comment #81 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179654 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179654&action=edit Bug 39190: Update api tests for status format change Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179598|0 |1 is obsolete| | --- Comment #82 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179655 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179655&action=edit Bug 39190: Start of recording status updates from abort Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179599|0 |1 is obsolete| | --- Comment #83 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179656 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179656&action=edit Bug 39190: Remove old objects Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179600|0 |1 is obsolete| | --- Comment #84 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179657 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179657&action=edit Bug 39190: Remove test routine from API Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179601|0 |1 is obsolete| | --- Comment #85 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179658 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179658&action=edit Bug 39190: Remove replaced test_connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179602|0 |1 is obsolete| | --- Comment #86 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179659 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179659&action=edit Bug 39190: Redirect Schema to new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179603|0 |1 is obsolete| | --- Comment #87 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179660 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179660&action=edit Bug 39190: Update API's to reference new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179604|0 |1 is obsolete| | --- Comment #88 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179661 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179661&action=edit Bug 39190: Add transport to test Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179605|0 |1 is obsolete| | --- Comment #89 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179662 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179662&action=edit Bug 39190: Use introspection in TestBuilder tests We update the testbuilder tests here to look for signs of a polymorphic class map and use it to test the different class options for this base class Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179606|0 |1 is obsolete| | --- Comment #90 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 179663 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179663&action=edit Bug 39190: Update polymorhpic base class to identify itself This patch adds _polymorphic_field and _polymorphic_map private methods to the Koha::File::Transports class to more clearly identify this as a polymorphic class base for TestBuilder. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off --- Comment #91 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- (In reply to Kyle M Hall (khall) from comment #72)
Transport is listed twice in the form for sftp_servers.pl
Well spotted, fixed inline now :) Thanks for reviewing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |39488 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39488 [Bug 39488] Update Koha::Object(s) to allow for polymorphic classing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179647|0 |1 is obsolete| | --- Comment #92 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 179992 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179992&action=edit Bug 39190: Rework (S)FTP into File::Transport classes This patch adds polymorphic transport classes to Koha for FTP and SFTP file transport configurations. We introduce a base class for interacting with the base configuration storage and subclasses to impliment the protocol specific transport handling. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179648|0 |1 is obsolete| | --- Comment #93 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 179993 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179993&action=edit Bug 39190: Add key handling to SFTP Transports We add triggers to store in the base class and then use them in the SFTP transport class to write out the key file to the filesystem for later use in connect. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179649|0 |1 is obsolete| | --- Comment #94 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 179994 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179994&action=edit Bug 39190: Update API to use new Transport classes As the title says, use the new polymorphic classes in the API controllers Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179650|0 |1 is obsolete| | --- Comment #95 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 179995 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179995&action=edit Bug 39190: Update sftp_servers page to use new objects Similar to the previous commit, this time we're updating the page controller to use the new polymorphic classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179651|0 |1 is obsolete| | --- Comment #96 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 179996 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179996&action=edit Bug 39190: Update status to longtext Update status field to store longtext so we can sore more details information about connection statuses from test connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179652|0 |1 is obsolete| | --- Comment #97 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 179997 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179997&action=edit Bug 39190: DBIC Update Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179653|0 |1 is obsolete| | --- Comment #98 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 179998 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179998&action=edit Bug 39190: Re-implement the connection testing We now use background jobs triggered by Transport->store to update the connection status. Status is now a json blob with more details, so we update the api definition to reflect that. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179654|0 |1 is obsolete| | --- Comment #99 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 179999 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179999&action=edit Bug 39190: Update api tests for status format change Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179655|0 |1 is obsolete| | --- Comment #100 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180000 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180000&action=edit Bug 39190: Start of recording status updates from abort Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179656|0 |1 is obsolete| | --- Comment #101 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180001 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180001&action=edit Bug 39190: Remove old objects Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179657|0 |1 is obsolete| | --- Comment #102 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180002 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180002&action=edit Bug 39190: Remove test routine from API Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179658|0 |1 is obsolete| | --- Comment #103 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180003 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180003&action=edit Bug 39190: Remove replaced test_connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179659|0 |1 is obsolete| | --- Comment #104 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180004 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180004&action=edit Bug 39190: Redirect Schema to new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179660|0 |1 is obsolete| | --- Comment #105 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180005 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180005&action=edit Bug 39190: Update API's to reference new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179661|0 |1 is obsolete| | --- Comment #106 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180006 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180006&action=edit Bug 39190: Add transport to test Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179663|0 |1 is obsolete| | --- Comment #107 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180010 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180010&action=edit Bug 39190: Update polymorhpic base class to identify itself This patch adds _polymorphic_field and _polymorphic_map private methods to the Koha::File::Transports class to more clearly identify this as a polymorphic class base for TestBuilder. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179992|0 |1 is obsolete| | --- Comment #108 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180011 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180011&action=edit Bug 39190: Rework (S)FTP into File::Transport classes This patch adds polymorphic transport classes to Koha for FTP and SFTP file transport configurations. We introduce a base class for interacting with the base configuration storage and subclasses to impliment the protocol specific transport handling. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179993|0 |1 is obsolete| | --- Comment #109 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180012 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180012&action=edit Bug 39190: Add key handling to SFTP Transports We add triggers to store in the base class and then use them in the SFTP transport class to write out the key file to the filesystem for later use in connect. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179994|0 |1 is obsolete| | --- Comment #110 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180013 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180013&action=edit Bug 39190: Update API to use new Transport classes As the title says, use the new polymorphic classes in the API controllers Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179995|0 |1 is obsolete| | --- Comment #111 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180014 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180014&action=edit Bug 39190: Update sftp_servers page to use new objects Similar to the previous commit, this time we're updating the page controller to use the new polymorphic classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179996|0 |1 is obsolete| | --- Comment #112 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180015 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180015&action=edit Bug 39190: Update status to longtext Update status field to store longtext so we can sore more details information about connection statuses from test connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179997|0 |1 is obsolete| | --- Comment #113 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180016 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180016&action=edit Bug 39190: DBIC Update Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179998|0 |1 is obsolete| | --- Comment #114 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180017 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180017&action=edit Bug 39190: Re-implement the connection testing We now use background jobs triggered by Transport->store to update the connection status. Status is now a json blob with more details, so we update the api definition to reflect that. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179999|0 |1 is obsolete| | --- Comment #115 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180018 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180018&action=edit Bug 39190: Update api tests for status format change Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180000|0 |1 is obsolete| | --- Comment #116 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180019 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180019&action=edit Bug 39190: Start of recording status updates from abort Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180001|0 |1 is obsolete| | --- Comment #117 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180020 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180020&action=edit Bug 39190: Remove old objects Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180002|0 |1 is obsolete| | --- Comment #118 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180021 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180021&action=edit Bug 39190: Remove test routine from API Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180003|0 |1 is obsolete| | --- Comment #119 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180022 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180022&action=edit Bug 39190: Remove replaced test_connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180004|0 |1 is obsolete| | --- Comment #120 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180023 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180023&action=edit Bug 39190: Redirect Schema to new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180005|0 |1 is obsolete| | --- Comment #121 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180024 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180024&action=edit Bug 39190: Update API's to reference new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180006|0 |1 is obsolete| | --- Comment #122 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 180025 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180025&action=edit Bug 39190: Add transport to test Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179646|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179662|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com --- Comment #123 from Julian Maurice <julian.maurice@biblibre.com> --- I think that polymorphism (at the Koha::Object level) is not the best solution here. I think the problem is that Koha::File::Transport tries to be many things at once: it is a database entity and a file transporter. Those are two very different things. We could have Koha::File::Transport::FTP and Koha::File::Transport::SFTP as non-Koha::Object and have (for instance) a Koha::File::Transport::transporter method that returns the correct object depending on the value of transport column. Would that work ? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.derscheid@lmscloud.de -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180010|0 |1 is obsolete| | --- Comment #124 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185014 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185014&action=edit Bug 39190: Update polymorhpic base class to identify itself This patch adds _polymorphic_field and _polymorphic_map private methods to the Koha::File::Transports class to more clearly identify this as a polymorphic class base for TestBuilder. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180011|0 |1 is obsolete| | --- Comment #125 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185015 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185015&action=edit Bug 39190: Rework (S)FTP into File::Transport classes This patch adds polymorphic transport classes to Koha for FTP and SFTP file transport configurations. We introduce a base class for interacting with the base configuration storage and subclasses to impliment the protocol specific transport handling. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180012|0 |1 is obsolete| | --- Comment #126 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185016 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185016&action=edit Bug 39190: Add key handling to SFTP Transports We add triggers to store in the base class and then use them in the SFTP transport class to write out the key file to the filesystem for later use in connect. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180013|0 |1 is obsolete| | --- Comment #127 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185017 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185017&action=edit Bug 39190: Update API to use new Transport classes As the title says, use the new polymorphic classes in the API controllers Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180014|0 |1 is obsolete| | --- Comment #128 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185018 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185018&action=edit Bug 39190: Update sftp_servers page to use new objects Similar to the previous commit, this time we're updating the page controller to use the new polymorphic classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180015|0 |1 is obsolete| | --- Comment #129 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185019 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185019&action=edit Bug 39190: Update status to longtext Update status field to store longtext so we can sore more details information about connection statuses from test connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180016|0 |1 is obsolete| | --- Comment #130 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185020 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185020&action=edit Bug 39190: DBIC Update Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180017|0 |1 is obsolete| | --- Comment #131 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185021 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185021&action=edit Bug 39190: Re-implement the connection testing We now use background jobs triggered by Transport->store to update the connection status. Status is now a json blob with more details, so we update the api definition to reflect that. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180018|0 |1 is obsolete| | --- Comment #132 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185022 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185022&action=edit Bug 39190: Update api tests for status format change Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180019|0 |1 is obsolete| | --- Comment #133 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185023 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185023&action=edit Bug 39190: Start of recording status updates from abort Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180020|0 |1 is obsolete| | --- Comment #134 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185024 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185024&action=edit Bug 39190: Remove old objects Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180021|0 |1 is obsolete| | --- Comment #135 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185025 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185025&action=edit Bug 39190: Remove test routine from API Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180022|0 |1 is obsolete| | --- Comment #136 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185026 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185026&action=edit Bug 39190: Remove replaced test_connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180023|0 |1 is obsolete| | --- Comment #137 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185027 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185027&action=edit Bug 39190: Redirect Schema to new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180024|0 |1 is obsolete| | --- Comment #138 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185028 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185028&action=edit Bug 39190: Update API's to reference new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180025|0 |1 is obsolete| | --- Comment #139 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 185029 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185029&action=edit Bug 39190: Add transport to test Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #140 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- (In reply to Julian Maurice from comment #123)
I think that polymorphism (at the Koha::Object level) is not the best solution here. I think the problem is that Koha::File::Transport tries to be many things at once: it is a database entity and a file transporter. Those are two very different things.
We already have (to some extent) some other classes that could be considered polymorphic: * Background jobs: implement the `_derived_class` method i.e. we search for Koha::BackgroundJob objects then call `->derived_class()` in the caller. This happens in the 'workers' * IdP classes: implement the `upgrade_class` method. Only used for OAuth at the moment but other cases coming (I submitted CAS and Shibboleth classes) * Koha::Account::Line: doesn't implement an upgrade method, Koha::Account can be used with `credits()` and `debits()` to retrieve certain type with the appropriate object type. We might need to revisit them. Will keep thinking about it over the weekend. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #185014|0 |1 is obsolete| | Attachment #185015|0 |1 is obsolete| | Attachment #185016|0 |1 is obsolete| | Attachment #185017|0 |1 is obsolete| | Attachment #185018|0 |1 is obsolete| | Attachment #185019|0 |1 is obsolete| | Attachment #185020|0 |1 is obsolete| | Attachment #185021|0 |1 is obsolete| | Attachment #185022|0 |1 is obsolete| | Attachment #185023|0 |1 is obsolete| | Attachment #185024|0 |1 is obsolete| | Attachment #185025|0 |1 is obsolete| | Attachment #185026|0 |1 is obsolete| | Attachment #185027|0 |1 is obsolete| | Attachment #185028|0 |1 is obsolete| | Attachment #185029|0 |1 is obsolete| | --- Comment #141 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185972 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185972&action=edit Bug 39190: Update polymorhpic base class to identify itself This patch adds _polymorphic_field and _polymorphic_map private methods to the Koha::File::Transports class to more clearly identify this as a polymorphic class base for TestBuilder. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #142 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185973 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185973&action=edit Bug 39190: Rework (S)FTP into File::Transport classes This patch adds polymorphic transport classes to Koha for FTP and SFTP file transport configurations. We introduce a base class for interacting with the base configuration storage and subclasses to impliment the protocol specific transport handling. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #143 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185974 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185974&action=edit Bug 39190: Add key handling to SFTP Transports We add triggers to store in the base class and then use them in the SFTP transport class to write out the key file to the filesystem for later use in connect. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #144 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185975 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185975&action=edit Bug 39190: Update API to use new Transport classes As the title says, use the new polymorphic classes in the API controllers Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #145 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185976 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185976&action=edit Bug 39190: Update sftp_servers page to use new objects Similar to the previous commit, this time we're updating the page controller to use the new polymorphic classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #146 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185977 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185977&action=edit Bug 39190: Update status to longtext Update status field to store longtext so we can sore more details information about connection statuses from test connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #147 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185978 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185978&action=edit Bug 39190: Re-implement the connection testing We now use background jobs triggered by Transport->store to update the connection status. Status is now a json blob with more details, so we update the api definition to reflect that. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #148 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185979 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185979&action=edit Bug 39190: Update api tests for status format change Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #149 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185980 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185980&action=edit Bug 39190: Start of recording status updates from abort Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #150 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185981 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185981&action=edit Bug 39190: Remove old objects Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #151 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185982 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185982&action=edit Bug 39190: Remove test routine from API Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #152 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185983 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185983&action=edit Bug 39190: Remove replaced test_connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #153 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185984 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185984&action=edit Bug 39190: Redirect Schema to new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #154 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185985 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185985&action=edit Bug 39190: Update API's to reference new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #155 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185986 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185986&action=edit Bug 39190: Add transport to test Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #156 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185987 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185987&action=edit Bug 39190: Rename 'sftp_servers' to 'file_transports' Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #157 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185988 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185988&action=edit Bug 39190: Adjust schema to new structure Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #158 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185989 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185989&action=edit Bug 39190: Adjust permission across the board Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #159 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185990 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185990&action=edit Bug 39190: Fix circular dependency causing C3 MRO failures Resolved circular dependency chain: Transport.pm → TestTransport.pm → Transports.pm → SFTP.pm → Transport.pm Changed 'use Koha::BackgroundJob::TestTransport' to runtime 'require' in the _post_store_trigger method to break the dependency cycle. This fixes the C3 method resolution order failures in Koha::File::Transport::FTP and Koha::File::Transport::SFTP. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #160 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- I haven't finished here. The SFTP.t failure hints the class resolution mechanism is flawed. And I think we should rename all 'sftp*' scripts and templates right away too. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #161 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185994 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185994&action=edit Bug 39190: Regression tests for polymorphic object creation This patch adds comprehensive tests to verify that Koha::File::Transports correctly returns polymorphic objects based on the transport field value. The tests cover: - build_object() polymorphic creation - search() with polymorphic resultset iteration - find() with polymorphic object return To test: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/db_dependent/Koha/File/Transports.t => FAIL: Tests fail - objects return base Koha::File::Transport instead of polymorphic Koha::File::Transport::SFTP/FTP classes Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #162 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185995 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185995&action=edit Bug 39190: Fix polymorphic object creation in Koha::Objects This patch fixes polymorphic object creation by ensuring all methods in Koha::Objects that instantiate objects pass the DBIC result to the object_class() method for proper polymorphic resolution. Fixed methods: - find(): Now passes $result to object_class($result) - next(): Now passes $result to object_class($result) - _wrap(): Now passes $_ to object_class($_) in map This enables polymorphic classes like Koha::File::Transports to return the correct subclass (Koha::File::Transport::SFTP, Koha::File::Transport::FTP) based on the transport field value, instead of always returning the base Koha::File::Transport class. To test: 1. Apply the regression tests patch 2. Run: $ ktd --shell k$ prove t/db_dependent/Koha/File/Transports.t \ t/db_dependent/Koha/File/Transport/SFTP.t => FAIL: Tests fail! 3. Apply this patch 4. Repeat 2 => SUCCESS: Tests pass! 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #163 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185996 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185996&action=edit Bug 39190: Rename admin interface from sftp_servers to file_transports Renamed admin interface files and URLs to reflect the evolution from 'SFTP servers' to 'File transports' functionality: - admin/sftp_servers.pl -> admin/file_transports.pl - sftp_servers.tt -> file_transports.tt - Updated all URL references in templates and admin menu - Updated body id from admin_sftp_servers to admin_file_transports The functionality is now future-proof for the addition of new file transports, so the naming should reflect his broader scope. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #164 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185997 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185997&action=edit Bug 39190: Rename API from sftp_servers to file_transports This patch renames the entire API structure from SFTP-specific to generic file transport terminology to reflect the polymorphic nature of the system. API Changes: - Endpoints: /config/sftp_servers -> /config/file_transports - Parameters: sftp_server_id -> file_transport_id - Definitions: sftp_server -> file_transport - Controller: Config::SFTP::Servers -> Config::File::Transports File Changes: - api/v1/swagger/definitions/sftp_server.yaml -> file_transport.yaml - api/v1/swagger/paths/config_sftp_servers.yaml -> config_file_transports.yaml - Koha/REST/V1/Config/SFTP/Servers.pm -> Koha/REST/V1/Config/File/Transports.pm - t/db_dependent/api/v1/sftp_servers.t -> file_transports.t Updated References: - swagger.yaml: paths, definitions, parameters, tags - Template JavaScript: API URLs and variable names - Controller: package name, variable names, error messages - Tests: endpoints, parameters, descriptions - API mapping: to_api_mapping field name correction To test: 1. Apply this patch 2. Run: yarn api:bundle (to regenerate swagger bundle) 3. Run: prove t/db_dependent/api/v1/file_transports.t 4. All API tests should pass 5. Verify admin interface uses new API endpoints 6. Test CRUD operations work correctly The API now consistently uses 'file_transports' terminology matching the polymorphic file transport system that supports FTP, SFTP, and future transport types. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #165 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 185998 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185998&action=edit Bug 39190: Rename id => file_transport_id and remove mapping Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #166 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- (In reply to Tomás Cohen Arazi (tcohen) from comment #160)
I haven't finished here. The SFTP.t failure hints the class resolution mechanism is flawed. And I think we should rename all 'sftp*' scripts and templates right away too.
I now finished what I believe this patchset should be like. It is all designed to be pushed in one shot along with bug 35761. RM: please don't push until Martin has given his blessing to the followups. I'm happy to roll back and start over if there's no agreement on some of it. Happy weekend! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |tomascohen@gmail.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |BLOCKED --- Comment #167 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Setting to BLOCKED until Bug 35761 is out of FQA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|BLOCKED |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #168 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Looking good.. It has my blessing. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #185972|0 |1 is obsolete| | --- Comment #169 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186408 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186408&action=edit Bug 39190: Update polymorhpic base class to identify itself This patch adds _polymorphic_field and _polymorphic_map private methods to the Koha::File::Transports class to more clearly identify this as a polymorphic class base for TestBuilder. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #185973|0 |1 is obsolete| | Attachment #185974|0 |1 is obsolete| | Attachment #185975|0 |1 is obsolete| | Attachment #185976|0 |1 is obsolete| | Attachment #185977|0 |1 is obsolete| | Attachment #185978|0 |1 is obsolete| | Attachment #185979|0 |1 is obsolete| | Attachment #185980|0 |1 is obsolete| | Attachment #185981|0 |1 is obsolete| | Attachment #185982|0 |1 is obsolete| | Attachment #185983|0 |1 is obsolete| | Attachment #185984|0 |1 is obsolete| | Attachment #185985|0 |1 is obsolete| | Attachment #185986|0 |1 is obsolete| | Attachment #185987|0 |1 is obsolete| | Attachment #185988|0 |1 is obsolete| | Attachment #185989|0 |1 is obsolete| | Attachment #185990|0 |1 is obsolete| | Attachment #185994|0 |1 is obsolete| | Attachment #185995|0 |1 is obsolete| | Attachment #185996|0 |1 is obsolete| | Attachment #185997|0 |1 is obsolete| | Attachment #185998|0 |1 is obsolete| | Attachment #186408|0 |1 is obsolete| | --- Comment #170 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186409 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186409&action=edit Bug 39190: Update polymorhpic base class to identify itself This patch adds _polymorphic_field and _polymorphic_map private methods to the Koha::File::Transports class to more clearly identify this as a polymorphic class base for TestBuilder. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #171 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186410 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186410&action=edit Bug 39190: Rework (S)FTP into File::Transport classes This patch adds polymorphic transport classes to Koha for FTP and SFTP file transport configurations. We introduce a base class for interacting with the base configuration storage and subclasses to impliment the protocol specific transport handling. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #172 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186411 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186411&action=edit Bug 39190: Add key handling to SFTP Transports We add triggers to store in the base class and then use them in the SFTP transport class to write out the key file to the filesystem for later use in connect. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #173 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186412 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186412&action=edit Bug 39190: Update API to use new Transport classes As the title says, use the new polymorphic classes in the API controllers Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #174 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186413 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186413&action=edit Bug 39190: Update sftp_servers page to use new objects Similar to the previous commit, this time we're updating the page controller to use the new polymorphic classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #175 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186414 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186414&action=edit Bug 39190: Update status to longtext Update status field to store longtext so we can sore more details information about connection statuses from test connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #176 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186415 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186415&action=edit Bug 39190: Re-implement the connection testing We now use background jobs triggered by Transport->store to update the connection status. Status is now a json blob with more details, so we update the api definition to reflect that. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #177 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186416 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186416&action=edit Bug 39190: Update api tests for status format change Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #178 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186417 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186417&action=edit Bug 39190: Start of recording status updates from abort Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #179 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186418 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186418&action=edit Bug 39190: Remove old objects Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #180 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186419 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186419&action=edit Bug 39190: Remove test routine from API Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #181 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186420 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186420&action=edit Bug 39190: Remove replaced test_connection Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #182 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186421 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186421&action=edit Bug 39190: Redirect Schema to new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #183 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186422 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186422&action=edit Bug 39190: Update API's to reference new classes Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #184 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186423 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186423&action=edit Bug 39190: Add transport to test Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #185 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186424 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186424&action=edit Bug 39190: Rename 'sftp_servers' to 'file_transports' Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #186 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186425 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186425&action=edit Bug 39190: Adjust schema to new structure Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #187 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186426 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186426&action=edit Bug 39190: Adjust permission across the board Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #188 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186427 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186427&action=edit Bug 39190: Fix circular dependency causing C3 MRO failures Resolved circular dependency chain: Transport.pm → TestTransport.pm → Transports.pm → SFTP.pm → Transport.pm Changed 'use Koha::BackgroundJob::TestTransport' to runtime 'require' in the _post_store_trigger method to break the dependency cycle. This fixes the C3 method resolution order failures in Koha::File::Transport::FTP and Koha::File::Transport::SFTP. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #189 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186428 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186428&action=edit Bug 39190: Regression tests for polymorphic object creation This patch adds comprehensive tests to verify that Koha::File::Transports correctly returns polymorphic objects based on the transport field value. The tests cover: - build_object() polymorphic creation - search() with polymorphic resultset iteration - find() with polymorphic object return To test: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/db_dependent/Koha/File/Transports.t => FAIL: Tests fail - objects return base Koha::File::Transport instead of polymorphic Koha::File::Transport::SFTP/FTP classes Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #190 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186429 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186429&action=edit Bug 39190: Rename admin interface from sftp_servers to file_transports Renamed admin interface files and URLs to reflect the evolution from 'SFTP servers' to 'File transports' functionality: - admin/sftp_servers.pl -> admin/file_transports.pl - sftp_servers.tt -> file_transports.tt - Updated all URL references in templates and admin menu - Updated body id from admin_sftp_servers to admin_file_transports The functionality is now future-proof for the addition of new file transports, so the naming should reflect his broader scope. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #191 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186430 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186430&action=edit Bug 39190: Rename API from sftp_servers to file_transports This patch renames the entire API structure from SFTP-specific to generic file transport terminology to reflect the polymorphic nature of the system. API Changes: - Endpoints: /config/sftp_servers -> /config/file_transports - Parameters: sftp_server_id -> file_transport_id - Definitions: sftp_server -> file_transport - Controller: Config::SFTP::Servers -> Config::File::Transports File Changes: - api/v1/swagger/definitions/sftp_server.yaml -> file_transport.yaml - api/v1/swagger/paths/config_sftp_servers.yaml -> config_file_transports.yaml - Koha/REST/V1/Config/SFTP/Servers.pm -> Koha/REST/V1/Config/File/Transports.pm - t/db_dependent/api/v1/sftp_servers.t -> file_transports.t Updated References: - swagger.yaml: paths, definitions, parameters, tags - Template JavaScript: API URLs and variable names - Controller: package name, variable names, error messages - Tests: endpoints, parameters, descriptions - API mapping: to_api_mapping field name correction To test: 1. Apply this patch 2. Run: yarn api:bundle (to regenerate swagger bundle) 3. Run: prove t/db_dependent/api/v1/file_transports.t 4. All API tests should pass 5. Verify admin interface uses new API endpoints 6. Test CRUD operations work correctly The API now consistently uses 'file_transports' terminology matching the polymorphic file transport system that supports FTP, SFTP, and future transport types. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #192 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186431 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186431&action=edit Bug 39190: Rename id => file_transport_id and remove mapping Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #193 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 186619 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186619&action=edit Bug 39190: (follow-up) Two QA fixes This patch: * Removes unused logger object instantiation * Adds missing Test::NoWarnings to the API tests Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Patch doesn't apply -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Passed QA --- Comment #194 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- OK, I skipped the schema update commit in 35761 and added my own commit for the DBIC update, that is what is making this not apply clean. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Large patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #195 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 186628 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186628&action=edit Bug 39190: Fix t/Koha/Auth/Permissions.t -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |25.11.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #196 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 25.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |release-notes-needed --- Comment #197 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Can you please add some release notes? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |38629 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38629 [Bug 38629] Update sftp_file.pl to support the new SFTP configurations page -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |38489 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38489 [Bug 38489] EDI should be updated to use the new FTP/SFTP Servers management page -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |37248 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37248 [Bug 37248] [Omnibus] Power to the user -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |33308 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33308 [Bug 33308] Add ability to to use SFTP with runreport.pl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|38115 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38115 [Bug 38115] Add FTP support to export_records.pl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|38629 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38629 [Bug 38629] Update sftp_file.pl to support the new SFTP configurations page -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|33308 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33308 [Bug 33308] Add ability to to use SFTP with runreport.pl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|release-notes-needed | Text to go in the| |The SFTP server release notes| |configuration (introduced | |in Bug 35761) has been | |significantly enhanced and | |renamed to 'File | |transports' to support | |multiple transport | |protocols through a | |polymorphic architecture. | | | |This enhancement adds full | |transport protocol handling | |for both FTP and SFTP | |connections, including | |connection testing and SSH | |key management for SFTP. | |The system now uses | |polymorphic classes that | |automatically instantiate | |the correct transport | |handler (FTP or SFTP) based | |on the configured protocol | |type. | | | |**Key features:** | | | |- **Automatic connection | |testing**: When saving a | |transport configuration, | |Koha now tests the | |connection in the | |background and stores | |detailed status information | |- **SFTP key handling**: | |SSH private keys for SFTP | |connections are securely | |stored and automatically | |written to the filesystem | |when needed | |- **Protocol-specific | |methods**: Each transport | |type (FTP/SFTP) has its own | |specialised connection | |handling whilst sharing | |common configuration | |storage | |- **Enhanced status | |reporting**: Connection | |status is now stored as | |detailed JSON data rather | |than simple text | |- **Renamed | |administration**: The admin | |interface and API have been | |renamed from 'sftp_servers' | |to 'file_transports' to | |reflect the multi-protocol | |nature | | | |**Technical changes:** | | | |- New base class | |`Koha::File::Transport` | |handles configuration | |storage | |- Protocol-specific | |subclasses | |`Koha::File::Transport::FTP | |` and | |`Koha::File::Transport::SFT | |P` implement transport | |methods | |- Background job | |`Koha::BackgroundJob::TestT | |ransport` handles | |connection testing | |- API endpoint renamed from | |`/config/sftp_servers` to | |`/config/file_transports` | |- Admin page renamed from | |`admin/sftp_servers.pl` to | |`admin/file_transports.pl` | | | |This architecture makes it | |straightforward to add | |additional transport | |protocols in the future | |(such as cloud storage | |services) whilst keeping | |protocol-specific logic | |cleanly separated. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@gmail.com --- Comment #198 from Jonathan Druart <jonathan.druart@gmail.com> --- + unless !$sftp_server_id; Why?? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #199 from Jonathan Druart <jonathan.druart@gmail.com> --- It's not possible to edit "An error occurred trying to open the server for editing. The passed ID is invalid." You passed file_transport_id and retrieve sftp_server_id -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |additional_work_needed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=38739 --- Comment #200 from Jonathan Druart <jonathan.druart@gmail.com> --- Please use main-container.inc, see bug 38739. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #201 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- (In reply to Jonathan Druart from comment #199)
It's not possible to edit
"An error occurred trying to open the server for editing. The passed ID is invalid."
You passed file_transport_id and retrieve sftp_server_id
This is already fixed inline in bug 38489. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #202 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- (In reply to Jonathan Druart from comment #200)
Please use main-container.inc, see bug 38739.
Pretty sure this wasn't introduced in this patchset but rather the one before it.. either way I'll fix it -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #203 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to Martin Renvoize (ashimema) from comment #202)
(In reply to Jonathan Druart from comment #200)
Please use main-container.inc, see bug 38739.
Pretty sure this wasn't introduced in this patchset but rather the one before it.. either way I'll fix it
It's fixed already on bug 38739 ;-) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #204 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 187671 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187671&action=edit Bug 39190: Fix DB struct diff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187671|0 |1 is obsolete| | --- Comment #205 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 187701 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187701&action=edit Bug 39190: Fix DB struct diff Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 --- Comment #206 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- follow-up pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|additional_work_needed | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |41020 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41020 [Bug 41020] Add ability to use file transports for marc ordering accounts -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|37248 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37248 [Bug 37248] [Omnibus] Power to the user -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Bug 39190 depends on bug 39488, which changed state. Bug 39488 Summary: Update Koha::Object(s) to allow for polymorphic classing https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39488 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Laura.escamilla@bywatersolu | |tions.com Status|Pushed to main |Needs documenting --- Comment #207 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- This is an enhancement and will not be backported to the 25.05.x branch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |41798 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41798 [Bug 41798] Cannot enable 'passive' mode in File Transports for FTP -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42992 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42992 [Bug 42992] FTP file transport list_files() corrupts filenames -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org