Bug 35682

Summary: Provide ability to specify color in DB upgrades
Product: Koha Reporter: Pedro Amorim <pedro.amorim>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: martin.renvoize
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35539
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35681
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 35682: [TEST ONLY]: This is a dummy dbrev to force an update
Bug 35682: WIP Attemp to move colors from terminal into nice HTML
Bug 35682: WIP Attemp to move colors from terminal into nice HTML

Description Pedro Amorim 2024-01-02 15:55:28 UTC

    
Comment 1 Pedro Amorim 2024-01-02 16:01:44 UTC
Created attachment 160409 [details] [review]
Bug 35682: [TEST ONLY]: This is a dummy dbrev to force an update
Comment 2 Pedro Amorim 2024-01-02 16:01:47 UTC
Created attachment 160410 [details] [review]
Bug 35682: WIP Attemp to move colors from terminal into nice HTML

You need to manually set version in Koha.pm to something before the test dbrev here.
Version systempreference also needs to match the above (no action needed if testing for the first time)
Comment 3 Pedro Amorim 2024-01-02 16:04:11 UTC
Created attachment 160411 [details] [review]
Bug 35682: WIP Attemp to move colors from terminal into nice HTML

You need to manually set version in Koha.pm to something before the test dbrev here.
Version systempreference also needs to match the above (no action needed if testing for the first time)
Comment 4 Martin Renvoize 2024-01-03 09:41:06 UTC
I did my own version of this in bug 35681.. The main differences are: I use HTML::FromANSI::Tiny as I felt it more recently maintained and simpler (Neither module is packaged :( ) and I put the manipulations into the controller as aposed to the low level attempt here.. the reason for that is to prevent munging of the data for command line outputs.
Comment 5 Pedro Amorim 2024-01-03 10:31:48 UTC

*** This bug has been marked as a duplicate of bug 35681 ***