Журнал изменений

Официальный сайт SLAED CMS

Журнал изменений

Фильтр и поиск

Коммиты

1431 1431 1 из 96
Сегодня (22.11.2026)
Feature: The bounce list filters its addresses by whether an account holds them
Автор: Eduard Laas | Дата: 19:29 22.11.2026

Deleting an account leaves its address in the bounce list, where it no longer matters, since mailings take their addresses only from accounts. The filter of the list now has a User field, Yes or No, so such rows can be found and cleared at once with select-all and Restore.

Core changes:

  1. The registry of dead addresses (core/classes/mail.php):
  • Mail::getDeadForm() gives the SQL of an address column in the form the registry stores: the local part as it is, the domain lowered
  • getDeadScope() takes user = some or none and adds id IN or NOT IN a join of _users and _maildead on that form
  1. The bounce list (admin/modules/newsletter.php):
  • getDeadFilter() reads and keeps user; getDeadSearch() shows the select User with All, Yes and No
  • The reset link of the list counts the new field
  1. The users list (modules/account/admin/index.php):
  • The filter Undeliverable uses Mail::getDeadForm() in place of its own copy of the expression
  1. The help (admin/info/newsletter/ru.md):
  • The filter lists its three fields, and a paragraph says how to clear the rows of deleted accounts
  1. Tests (tests/Support/contract_probe.php, tests/Unit/ListPortionTest.php, tests/Unit/MailQueueTest.php):
  • The parity probe walks the list under user = none and user = some, and ListPortionTest requires both
  • MailQueueTest lists getDeadForm among the public methods of Mail

Benefits:

  • The rows left by deleted accounts are cleared in one pass
  • The address form that meets the unique key of the registry is written once

Technical notes:

  • No schema change; only the values some and none apply, and any other value leaves the list unfiltered
  • A Unicode domain stored in its ASCII form does not match, as the comment of getDeadForm() says
Feature: A filter of three fields stands beside the title of a panel list, a search box among them too
Автор: Eduard Laas | Дата: 19:29 22.11.2026

Beside the title stood a filter of up to two fields, or of three selects; three fields with a box to type in went to the bar under the tabs. Now any filter of up to three fields stands beside the title once the content column is 960px wide, and four or more go to the bar.

Core changes:

  1. The head of a module (public/templates/admin/assets/css/theme.css):
  • The selectors of the @container (width >= 960px) block drop the exception :not(:has(.sl-filter-field:nth-of-type(3)):has(.sl-filter-field input))
  1. The documentation (docs/TEMPLATES.md):
  • "The filter has one place" names the new bound: one to three fields beside the title, four or more in the bar

Benefits:

  • One rule by the number of fields, whatever kind they are

Technical notes:

  • A list whose three fields hold a search box moves its filter from the bar to the title line at 960px and wider; under that width nothing changes
Fix: The audience of a mailing says that its share of bounces is of the last mailing
Автор: Eduard Laas | Дата: 19:28 22.11.2026

An audience in the form of a mailing showed "(bounces 53.1%)", which read as the state of the addresses today. The number is the result of the last mailing to that audience and stays as it was after the addresses are cleaned. The label now says so.

Core changes:

  1. The label (admin/lang/*.php):
  • _NLRATE reads "last time failed" in all six locales
  1. The help (admin/info/newsletter/ru.md):
  • The list of audiences explains the figure in brackets and when it changes

Benefits:

  • An operator does not take an old share of bounces for the current one

Technical notes:

  • Text only; the figure is computed as before
Test: AdminGuardTest lets a hidden field carry the name email
Автор: Eduard Laas | Дата: 19:27 22.11.2026

The form of a new password carries the address of the recovery link in a hidden field. AdminGuardTest read every ['name_attr' => 'email', as a credential field without a type and failed on it. A field of the fragment hidden is now left out of that check.

Core changes:

  1. The check of credential fields (tests/Unit/AdminGuardTest.php):
  • The pattern skips a name_attr that follows 'hidden', by a negative lookbehind

Benefits:

  • The guard stays on every visible credential field, and the suite is green again after the new recovery flow

Technical notes:

  • Tests only
Chore: Playwright and axe-core of the development tools move to their current releases
Автор: Eduard Laas | Дата: 17:04 22.11.2026

Core changes:

  1. Development dependencies (package.json):
  • playwright ^1.63.0 to ^1.65.1
  • axe-core ^4.14.0 to ^4.14.1

Benefits:

  • The screenshot rig, the browser audits and the accessibility checks run on current browsers

Technical notes:

  • Development tools only; the shipped CMS has no Node dependency
Feature: The users list finds abandoned accounts, and the bounce list names the owner of each address
Автор: Eduard Laas | Дата: 17:04 22.11.2026

Cleaning out dead accounts needed a way to find them: an address that bounces, no visit for years, nothing written on the site. The filter of the users list now has four more selects for that, and the bounce list of the newsletter says whose address each row is.

Core changes:

  1. The users list (modules/account/admin/index.php):
  • getAccountSearch() adds the selects E-Mail (Undeliverable), Last visit (over 1, 5 or 10 years ago, never), Contribution (none, up to 5, up to 20) and Points (up to 100, 500 or 1000)
  • getAccountScope() turns them into conditions: an EXISTS on _maildead with the domain of the address lowered, COALESCE(lastvis, regdate) for the visit, and the sum of comments, forum posts and nodes for the contribution
  • The list, its pages and the deletion keep the four values across a reload
  1. The count of comments (core/classes/comment.php):
  • Comment::getAuthorCount() gives the SQL subquery counting every comment of an account, hidden and removed included
  1. The bounce list (core/classes/mail.php, admin/modules/newsletter.php):
  • getDeadList() looks up the account of each address of the page in one query on _users, matching without case
  • The list has a User column with the profile link, or No for an address of nobody
  • _MAIL_REVIVE reads Restore in all six locales
  1. Texts (admin/lang/*.php, modules/account/admin/info/ru.md, admin/info/newsletter/ru.md):
  • _ACCOUNT_DEAD, _ACCOUNT_DEED, _ACCOUNT_UPTO, _ACCOUNT_VISYEAR and _ACCOUNT_VISYEARS in all six locales
  • The help of the users list describes the four selects, what a deletion removes and the steps to clear abandoned accounts; the help of the bounces describes the User column and Restore
  1. Tests (tests/Support/contract_probe.php, tests/Unit/ListPortionTest.php):
  • The parity probe walks the users list under all four filters, and ListPortionTest requires that case

Benefits:

  • Abandoned accounts are found and deleted from the panel, with the select-all and the portions the list already has
  • An operator sees at once which bounce belongs to a member

Technical notes:

  • No schema change; the filters are read with getVar() and bound as parameters, and only known values apply
  • The contribution is counted per row of the filtered list, which is fine for a cleaning pass, not for a hot page
Feature: Password recovery sends one link that opens a form for the new password
Автор: Eduard Laas | Дата: 17:03 22.11.2026

Recovery sent a confirmation code, and a second letter then carried a new password in plain text. Now one letter carries a link valid for an hour. The link opens a form where the user enters the new password twice, and no password travels by mail.

Core changes:

  1. The recovery flow (modules/account/index.php):
  • passlost() shows the e-mail field, or the two password fields when the link is valid, and the expired-link warning when it is not
  • getPassUser() finds the account a link names; its code is checked with hash_equals() against the code of this hour and of the last one, both derived from the stored hash
  • passmail() sends the link letter; with a code it checks the password rule, stores the new hash, clears the login failures of the name and mails a notice of the change
  • The answer to a request is the same whether the address is registered or not; the limits of three letters per address and ten per IP an hour stay
  1. Texts (modules/account/lang/*.php, admin/info/newsletter/ru.md):
  • Six constants _ACCOUNT_PASS* and _ACCOUNT_LINK* in all six locales
  • _CODEFOR, _CONFIRMATIONCODE, _MAILED, _NOUSERINFO, _PASSCSEND, _PASSLOSC, _PASSLOSP, _PASSSEND and _SENDPASSWORD are removed with their last use
  • The help of the mail template names the activation and password-change links in place of a code and a password
  1. The test (tests/Unit/EmailCheckTest.php):
  • passmail() builds two links with the encoded address, not five

Benefits:

  • No password, old or new, is sent by mail
  • The page does not say whether an address is registered

Technical notes:

  • A link stops working once the password changes, because its code is derived from the stored hash
  • A code from a letter of the previous flow opens the new form while it is still of this hour or the last one
  • No schema or setting changes
Feature: The head of a site page names SLAED CMS in a generator meta tag
Автор: Eduard Laas | Дата: 17:03 22.11.2026

The head of every site page now carries <meta name="generator" content="SLAED CMS">, so a crawler or a survey of technologies can tell which system built the site.

Core changes:

  1. The head (core/system.php):
  • setHead() adds the head-meta fragment with the name generator and the content SLAED CMS after robots
  1. The test (tests/SeoSemanticsValidationTest.php):
  • The check that no generator tag is written becomes a check that setHead() writes this one

Benefits:

  • The system is named on the sites built with it

Technical notes:

  • The tag carries no version number
Fix: The name of a guest and a name shown without a profile link are escaped on output
Автор: Eduard Laas | Дата: 17:02 22.11.2026

user_info() returned the bare name when the reader may not open profiles, and the lists of the forum, the search and the comments of the panel printed the name a guest typed as it stood. A name with markup in it reached the page as markup. Every such name is now escaped where it is printed.

Core changes:

  1. The name of a member (core/system.php):
  • user_info() returns the name through htmlspecialchars() when it gives no link
  1. The name of a guest (blocks/center_forum.php, modules/forum/index.php, modules/search/index.php, admin/modules/comments.php):
  • The author and the last poster of a forum topic, the poster of a search hit and the name of a guest comment are escaped before they go into the template
  • The comments list of the panel escapes the name first and highlights the search inside the escaped text

Benefits:

  • A name is text wherever it shows, whoever reads the page

Technical notes:

  • No schema, URL or setting changes; a name without special characters prints as before
Fix: The screensaver of the panel plays over the debug panel and the floating menu
Автор: Eduard Laas | Дата: 17:02 22.11.2026

The ground of the scene rose to the popover layer inside .sl-wrapmid, which isolates its children, so the layer counted only there. The debug windows and the floating menu come after that host in the page and painted over the scene. While the scene plays its host now rises over them, and it settles back when the scene does.

Core changes:

  1. The host of the scene (public/templates/admin/assets/css/phoenix.css):
  • .sl-phx-host:has(> .sl-phx-over) takes position: relative and z-index: var(--sl-z-popover)
    • The rule holds only from the code act to the calm, so the page lies as before the rest of the time
  1. The ground (public/templates/admin/assets/js/phoenix.js):
  • kit.ground() creates the ground without sl-phx-over; setFrame() alone sets the class for the time of the scene
    • The host is never raised at load, whatever time the logo takes to decode

Benefits:

  • The whole page goes under the scene and its dimming, the debug panel and the floating menu included

Technical notes:

  • The floating menu goes under the scene too, as the rest of the page does
  • A positioned host moved none of the absolute boxes of seven panel pages at 1440 and 560 px
  • frame-cost against HEAD is the same, and --phoenix finds 273 of 273 layers equal
  • Checked in Chromium only
Эта неделя (20.11.2026)
Test: OauthTest finds openssl.cnf beside the PHP that runs it, on any drive
Автор: Eduard Laas | Дата: 12:19 20.11.2026

The test looked for the openssl.cnf of OSPanel under a hardcoded C:/OSPanel, so on a machine with OSPanel on another drive it found none. It now reads the folder of the modules from PHP_BINARY.

Core changes:

  1. The key of the test (tests/Unit/OauthTest.php):
  • makeKey() globs dirname(PHP_BINARY, 3).'/PHP-*/Apache/conf/openssl.cnf' in place of the fixed C:/OSPanel path

Benefits:

  • OauthTest runs the same on both machines

Technical notes:

  • Tests only; a PHP outside OSPanel finds no file and keeps the fallback it had
Docs: The documents describe the code as it is, without history, measurement logs or private links
Автор: Eduard Laas | Дата: 12:17 20.11.2026

A pass over docs/ found a window described by a fragment removed in August, links to the private .rules/ folder that no reader of the public repository can open, the statistics of the user base of slaed.net and dated logs of measurements and decisions. The documents now say only what the code does today.

Core changes:

  1. The gallery window (docs/WINDOW.md, docs/TEMPLATES.md):
  • WINDOW.md names getWindowShot() of core/helpers.php with the fragments window-body-shot and window-foot-shot, and its callers getAdminFileShell(), getEditorFileKit() and getWindowSet(), in place of partials/window-gallery.html
  • The component example of TEMPLATES.md uses the existing partial file-manager
  1. Links to the private rules (docs/ARCHITECTURE.md, docs/EDITORS.md, docs/UPDATE.md, docs/WINDOW.md):
  • Nine references to .rules/ are gone; where a rule added substance, the text states it
  1. Outgoing mail (docs/PERFORMANCE.md):
  • The measurements of 2026-07-27 and the statistics of the user base of slaed.net are removed
  • Two paragraphs describe the guards of a mailing: canary, breakwin and abort, bouncemax, verify and dnsttl
  1. History (docs/PERFORMANCE.md, docs/TEMPLATES.md, docs/UPDATE.md, docs/EDITORS.md):
  • The dated table of frame measurements leaves PERFORMANCE.md; its lessons stay in "The Cost Of A Frame"
  • The general rehearsal of 2026-10-17, the marks "(owner, date)", "For the record" and "became" go
  • "The File Manager Left The Plugin" of EDITORS.md is "The File Manager"
  1. The plugin proposal (docs/PLUGINS.md, docs/ARCHITECTURE.md, README.md):
  • PLUGINS.md, a design note of a plugin registry that does not exist, is removed with its links
  • ARCHITECTURE.md says the other folders of public/plugins/ follow no shared plugin contract
  1. Paths (docs/ARCHITECTURE.md, docs/EDITORS.md, docs/PRINCIPLES.md, README.md):
  • A path read from the root of the project names public/plugins/ in place of plugins/

Benefits:

  • A reader of the public repository meets no dead file, function or link
  • No private figure of slaed.net stays in a public document

Technical notes:

  • Documents only; no code, schema, URL or setting changes
  • Paths written inside the document root, as templates/ and plugins/, stay as they are and resolve
Fix: A failed DNS lookup no longer marks the domain of a mailing dead for a week
Автор: Eduard Laas | Дата: 12:16 20.11.2026

checkdnsrr() answers a failed lookup as it answers a name without records, so with the domain check on, a resolver that dropped out for a minute cached every domain of a mailing as dead for the lifetime of the cache and the mailing skipped them. The check now reads dns_get_record(), which tells the two apart, and a failed lookup sends as the help of «Почта» and the comment of checkAddress() always said.

Core changes:

  1. The domain check (core/classes/mail.php):
  • checkMailDomain() asks getDnsRecords() for MX, then for A only when MX answered empty
    • A failed lookup accepts the address, stores nothing in the file cache and is not asked again in the run
    • A name the resolver answered without MX and A records is refused and cached for dnsttl, as before
  • getDnsRecords() is the new seam: dns_get_record() under set_error_handler, null when the lookup failed
  1. Tests (tests/Unit/MailCampaignTest.php):
  • aFailedLookupNeverMarksTheDomainDead stubs the resolver: a failed lookup, a name without records, A only, MX
    • It also holds the order of the lookups: A is asked only after an empty MX answer

Benefits:

  • An outage of the resolver can no longer silently cut a mailing short for days
  • The code does what its help and its comments promise

Technical notes:

  • No schema, URL or setting changes; the verify and dnsttl settings keep their meaning
  • dns_get_record() is already how feed.php and upload.php reach the resolver
  • A live resolver answers an unknown domain with an empty list, so dead domains are still refused
Chore: The documents start from 8.0 and say nothing more of 6.2 and 6.3
Автор: Eduard Laas | Дата: 11:36 20.11.2026

SLAED 8 starts from a clean slate: no site of 6.2 or of an early 6.3 build is updated by the release. The documents lose the chapters of that migration, the upgrade notes of a previous release and the diary of development, and describe the system as it ships.

Core changes:

  1. The upgrade notes (UPGRADING.md, README.md, docs/ARCHITECTURE.md, docs/UPDATE.md, .gitattributes, tests/TextFileEncodingTest.php, modules/master/admin/info/ru.md):
  • UPGRADING.md is removed with every link, its export-ignore line and its line in the encoding test
  • The release checklist of UPDATE.md and the help of the master no longer name it
  1. The history (docs/VERSIONS.md, docs/TEMPLATES.md):
  • VERSIONS.md holds one entry, 8.0.0, with what the release brings and where each part is described
  • TEMPLATES.md no longer sends the reader to a dated entry of VERSIONS.md
  1. The chapters of the migration (docs/NODE.md, docs/POINTS.md, docs/RATINGS.md, docs/PARSER.md, docs/UPDATE.md):
  • NODE.md loses "The 8.0 update" and "Migration of the removed modules"
  • POINTS.md and RATINGS.md lose "8.0 carry-over", PARSER.md "Texts of the BB era"
  • UPDATE.md loses "Moving slaed.net to 8.0" with its line in the contents
  1. The rest of the text (docs/ARCHITECTURE.md, docs/NODE.md, docs/POINTS.md, docs/RATINGS.md, docs/PERFORMANCE.md, docs/UPDATE.md, README.md, CONTRIBUTING.md):
  • Every mention of 6.2, 6.3, the 8.0 update, an early build and "from 8.0" goes; the facts of the live code stay
    • The table _node_legacy, the 301 of an old query address and the jobs of setUpdateRun() are described without a version
    • The profile table of NODE.md drops the column of the replaced modules, its section is "Type profiles"
  • README.md and CONTRIBUTING.md clone SLAED-CMS/SLAED, the repository Update::PAGE names
  1. Help (admin/info/config/ru.md, admin/info/logs/ru.md):
  • The addresses of the settings and the journal of the logs no longer name 6.2
  1. Comments (public/update.php, tests/Support/update_probe.php, tests/Unit/UpdateAttachTest.php, tests/Unit/UpdateFieldsTest.php, tests/Unit/UpdatePointsTest.php, tests/Unit/UpdateSiteTest.php, tests/Unit/UpdateTextTest.php):
  • The comments no longer point to the removed chapters

Benefits:

  • A reader of the release meets only the system it installs
  • No document or comment sends a reader to a chapter that is gone

Technical notes:

  • No code, schema, URL or setting changes; the internal tool public/update.php and its tests stay as they are
  • tools/release.php keeps linking docs/VERSIONS.md of the tag
Эта неделя (18.11.2026)
Fix: A mailing shows its whole letter before it goes, and the mail frame sets its parts apart as paragraphs
Автор: Eduard Laas | Дата: 23:20 18.11.2026

The preview of «Почта» showed the text of a mailing alone, its paragraphs 4 px apart, while the letter got the greeting and the signature of mtemp around it with two empty lines on each side, so a draft that carried its own greeting would have gone out with two. The preview now renders the letter as the queue builds it, a panel preview takes the paragraph rhythm of the help, and the frame turns the blocks of mtemp into paragraphs.

Core changes:

  1. The preview of a mailing (core/helpers.php, admin/modules/newsletter.php):
  • getTplPreviewContent() takes the key mail, which frames the first text through getMailFrame()
  • The form of «Почта» passes it, so the preview is the letter with greeting and signature
  1. Paragraphs of a panel preview (public/templates/admin/assets/css/theme.css):
  • .sl-preview-section p, ul, ol and pre join the rule of .sl-markdown: 16 px after the block
  • The last block of a preview joins the rule that ends a help text on the padding of its box
  1. The mail frame (core/system.php, public/templates/admin/partials/mail-frame.html, public/templates/aurora/partials/mail-frame.html):
  • getMailFrame() splits mtemp at blank lines; each block is a paragraph with <br> for its own lines
    • A block of [text] alone is the inserted text as it is, the markup it carries untouched
    • The partial mail-frame walks the parts, so no markup is built in PHP
  • Every letter of the site takes the frame, a mailing and a notice alike
  1. The text part of a letter (core/classes/mail.php):
  • getPlainText() ends a paragraph with a blank line, so the parts of the frame stay apart
  1. Help (admin/info/newsletter/ru.md):
  • The form says that the preview shows the letter as its recipient gets it
  • The template says that its blocks between blank lines become paragraphs
  1. Tests (tests/Unit/MailDrainTest.php, tests/Unit/MailHeaderTest.php, tests/Support/mail_probe.php):
  • theMailFrameKeepsItsLinesAndLeavesTheTextAlone expects the paragraphs of the frame
  • thePlainTextReadsLikeTheMessage holds the blank line after a paragraph of the text part
  1. Reference (docs/VERSIONS.md):
  • VERSIONS.md carries the entry of 2026-11-18

Benefits:

  • What the panel previews is what the recipient reads, so a doubled greeting or signature shows before the send
  • A letter keeps one paragraph of room between its parts instead of two empty lines and a margin

Technical notes:

  • No schema, URL or setting changes; mtemp stays plain text
  • A theme carries partials/mail-frame.html; both shipped themes have it
  • A block of mtemp that holds [text] beside other text wraps the inserted paragraphs in one more paragraph
Хотите опробовать SLAED CMS в действии?
Идеи и предложения
Обратная связь
Подтверждение

Поделиться
QR-код

Предпросмотр