Koha-clms/misc/cronjobs
Jonathan Druart 7f05cfc408
Bug 40407: Remove legacy "pre-wrap" versions
From https://css-tricks.com/snippets/css/make-pre-text-wrap/

/* Browser specific (not valid) styles to make preformatted text wrap */

pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

... I think it's now safe to remove the backward compatibility versions and simply keep pre-wrap.

Test plan (from bug 921)0:
  * place a hold on a title with a very very long title or author
  * mark it as "waiting for pickup" by doing a checkin
  * go to command line interface, and run
  * misc/cronjobs/gather_print_notices.pl /tmp
  * misc/cronjobs/printoverdues.sh /tmp
  * if your title/author is long enough, it's splitted on 2 lines
    with this patch (it is not before this patch)

It will also remove the warnings from t/db_dependent/Patron/Borrower_Discharge.t
WARNING: Ignored `white-space: -moz-pre-wrap` at 6:14, invalid value.
WARNING: Ignored `white-space: -o-pre-wrap` at 7:14, invalid value.
WARNING: Ignored `word-wrap: break-work` at 8:14, invalid value.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 03cf21fd92)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-07-24 21:04:38 +02:00
..
holds Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
recalls Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
rss Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
social_data Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
thirdparty Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
CONFIGURE.gmail
…
advance_notices.pl Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
archive_purchase_suggestions.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
automatic_checkin.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
automatic_item_modification_by_age.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
automatic_renewals.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
backup.sh
…
batch_anonymise.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
build_browser_and_cloud.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cart_to_shelf.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
check-url-quick.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cleanup_database.pl Bug 32440: Support purging statistics by type in cleanup_database.pl 2025-02-21 16:41:29 +01:00
cloud-kw.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
cloud-sample.conf
…
create_koc_db.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
crontab.example Bug 39250: Add archive_purchase_suggestions.pl to cron.daily commented 2025-03-07 15:41:17 +01:00
debar_patrons_with_fines.pl Revert "Bug 39532: Script debar_patrons_with_fines.pl creates repeat restrictions, uses wrong restriction type" 2025-05-13 18:50:47 +02:00
delete_items.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
delete_patrons.pl Bug 37418: delete_patrons.pl: Exclude patrons with restrictions 2025-04-25 08:46:53 +02:00
delete_records_via_leader.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
edi_cron.pl Bug 22415: (QA follow-up) Fix misc qa issues 2025-01-10 19:19:14 +01:00
erm_run_harvester.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
fines.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
gather_print_notices.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
harvest_oai.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
import_webservice_batch.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
longoverdue.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
marc_ordering_process.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
membership_expiry.pl Bug 30301: Allow for forcing of print notices 2025-05-19 18:54:32 +02:00
merge_authorities.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
notice_unprocessed_suggestions.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
overdue_notices.pl Bug 40407: Remove legacy "pre-wrap" versions 2025-07-24 21:04:38 +02:00
patron_emailer.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
plugins_nightly.pl Bug 37495: Add ability to use metadata to filter plugins to run for plugins_nightly.pl 2024-10-30 14:34:51 +01:00
printoverdues.sh
…
process_message_queue.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
purge_suggestions.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
reconcile_balances.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
remove_temporary_edifiles.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
restrict_patrons_with_failed_notices.pl Bug 38857: (QA follow-up) Fix perltidy errors 2025-01-10 19:19:23 +01:00
runreport.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
serialsUpdate.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
sftp_file.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
share_usage_with_koha_community.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
sitemap.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
staticfines.pl Bug 39733: Remove system preference delimiter mention in misc/cronjobs/staticfines.pl 2025-05-15 08:34:17 +02:00
stockrotation.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
update_patrons_category.pl Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
update_totalissues.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
writeoff_debts.pl Bug 37920: Add cronjob loggging to writeoff_debts.pl 2025-03-17 08:21:24 +01:00