Skip to content

History of commits

4473 commits

fix: bring the columns of upgraded sites to the baseline schema

Sites upgraded from older releases kept text columns that are NOT NULL without a default and strings shorter than the code writes, so inserts failed in strict mode. One migration per source changes them to what the baseline creates on a fresh site. cms_counters.require_cookie_consent is added where the separate 9.x update script never ran.
simba77 ২৭ অক্টো ২০২৬, রাত ১১:৫১ সময় Branch: 10.x 8b03719

fix(admin): clear the karma with a delete rather than a truncate

MySQL commits the open transaction before a truncate, so the clearing escaped the transaction around it: in the functional suite against MySQL the test of the clearing left its rows behind for the tests after it.
simba77 ২৫ অক্টো ২০২৬, রাত ১০:১৮ সময় Branch: 10.x efa7744

feat(news): rebuild the settings of the news on a use case

The block of the home page and the three sets of meta tags are cards of their own, the numbers carry their units and bounds, and each set of templates says what its placeholder stands for and when the template is used. UpdateNewsSettingsUseCase validates the settings — 1 to 50 articles, 0 to 3650 days, the lengths of the texts — and writes them through LocalConfigWriter over what news.local.php holds, rather than overwriting the file. The hints of the forms of an article and of a section say the empty title and keywords are made of these templates.
simba77 ২৫ অক্টো ২০২৬, রাত ১০:২ সময় Branch: 10.x 19548b9