Официальный сайт SLAED CMS
Журнал изменений
The private message page no longer redraws a whole tab for every action. A reader opens a message beside its list instead of in place of it, narrows the mailbox from a toolbar above it, and reads the quota off a ring on each shelf rather than off an alert that fired from half capacity.
Core changes:
- Private message subsystem (core/classes/privat.php):
The list answers a selection instead of a whole mailbox
- getPickWhere() lays the state, period and search conditions over the box predicate
- one placeholder per column and a declared ESCAPE, because prepares are native here
- the period binds a number of days, so the boundary is drawn by the server that wrote the row
- getBoxFacets() answers every chip number in one aggregate row
- getSortOrder() picks from four fixed shapes, each closing on a unique tie-breaker on the id
- getUnreadBoxCount(), getBoxLimit() and getBoxFill() answer the shelves and their rings
- The list row carries a snippet the server cuts, and getMessageView() answers the same cut
- Routes and adapters (core/user.php, modules/account/index.php):
- privat() loses the four htmx tabs and reads id, typ and uname
- getPrivateMessageView() answers one column: a mailbox, a message or the empty pane
- setPrivateMessageRead() answers the reading pane, with the row and the counters out of band
- getPrivatPick() reads the selection under fixed names and reduces it to fixed values
- getPrivatRowData(), getPrivatShelves() and getPrivatBadges() own the row and the counters
- The page number leaves cid and travels as pnum, so cid keeps its two meanings and gains no third
- Templates (templates/lite):
- partials/privat-page.html, privat-list.html, privat-view.html and fragments/privat-row.html
- One swap boundary each: the shell, the left column, the reading pane and a single row
- The shelf strip, the toolbar, the filter chips and the shared sl-knob ring
- Client behaviour (plugins/system/slaed.js):
- The pane switch and the back button of the narrow layout
- The reply form filled through the editor API from a hidden carrier textarea
- The filter chips, each group holding its value in one hidden field
Benefits:
- Opening a message keeps the scroll position, the checkbox selection and the editor instance
- The list, the filtered count and the pager come out of one predicate set inside one answer
- The shelves and the chip facets answer the mailbox and stay independent of the toolbar
- One tone ladder serves the quota rings, the server gauges and the debug panel
Technical notes:
- No schema change and no new route; every state-changing route stays behind POST and the token
- Row and reading-pane actions send no body at all, so the selection form cannot override them
- Every new language constant is present in all six locales
- The search stays a scan of one mailbox: EXPLAIN answers ref on in_box and never a table scan
- docs/PRIVATE-MESSAGES-2026.md records which batches landed and what was measured
- docs/UPLOAD-FILEINFO-PLAN-2026.md is an unrelated plan document carried in the same tree
The two-column layout demo grows the two shelves it was missing and becomes a specification a fresh session can implement from: every decision it implies is written down next to the code that has to carry it. The counters and flags the layout reuses are fixed in the theme itself, so the fix reaches the cabinet and the mailbox that use them today.
Core changes:
- Missing shelves and their contract (demo/private-messages-final-2026.html):
Sections for the saved box and the compose form, both with their own states
- Saved: its own quota ring, bookmark flags, unsave in the row and in bulk
- Compose: recipient autocomplete, the card with the recipient quota ring,
the real Toast UI, and all five answers the send route can give
A saved message no longer appears in the inbox, because the box predicate excludes it, and the shelf badges split the unread between them
The backend contract records what the layout demands: one main swap with addressable out-of-band targets, a snapshot page, the editor filled through its own API, the two-step deep link, and the mobile pane switch
Counters and state flags (templates/lite/assets/css/theme.css, templates/lite/fragments/span.html):
sl-chip-icon turns a label-less state flag into a round badge, and the fragment emits it only when the flag carries no text, so the chips that do carry a label keep their pill
sl-cab-badge and sl-pm-new centre their digit and declare border-box: one digit was sitting against the left padding inside a 32px oval
- Unread badge (core/user.php):
getUserNavItems() caps the counter at 99+, because the badge is a circle on a tile and a four-digit number stretched it across the label
- Work plan (docs/PRIVATE-MESSAGES-2026.md):
Seven batches from the data contracts to the conditional search index, each with its own verification, plus the predicate table every list query must match and the four questions that must be answered before their batch
Benefits:
The redesign can start in a new session from one document instead of being re-derived from a demo
- Every counter in the theme is centred by the same method the chips use
Three audit rounds are answered in the plan: native prepares, the flat autocomplete contract, POST-only opening and snapshot parity
Technical notes:
- No schema change, no new SQL, no route touched
The plan defers the search index to its own approved batch, because a BTREE index cannot serve a leading wildcard and FULLTEXT changes search semantics
Adds design prototypes for the account private-message page: eight distinct approaches, the variant selected from them, and three labs that settle the quota indicator and the filter toolbar. No runtime code, template or stylesheet is touched; every page is a self-contained artefact under demo/.
Core changes:
- Eight approaches (private-messages-v1-mailbox.html ... v8-flow.html):
One page per approach: mailbox, split view, dense admin register, cards, messenger, minimal, high-volume and an experimental flow concept
Each page covers inbox, outbox, unread, selected message, sender, subject, date, status, open/reply/delete/mark actions, search, filtering, paging, empty state and a mobile rendering
- Mobile layouts run on @container, so the phone frames are the real narrow
rendering rather than a picture
- The message field mounts the actual Toast UI editor from
plugins/editors/toastui instead of a placeholder textarea
- Chosen layout (private-messages-final-2026.html):
- Two-pane base: the list keeps its place while a message opens beside it
Folder tiles carry an SVG quota ring in place of the text alert; the arc and the icon share one tone
- Folders without a quota, the outbox and compose, draw a solid ring instead
- pathLength="100" normalises the arc, so one percent is all a template needs
The filter strip became a control: chips toggle, so a cleared filter can be restored, and read/unread exclude each other
- Reading toolbar keeps message actions together and moves navigation aside
Decision labs (private-messages-quota-lab.html, quota-halo.html, toolbar-lab.html):
Thirteen quota indicators, each in three states, all built from mechanics the theme already owns
- The refined ring with its thickness, size and cap alternatives
- Six filter-toolbar layouts with their trade-offs
- Index (private-messages-index.html):
Description, benefits and drawbacks of every variant, a comparison table and links to all pages
- Records what the live page revealed and the contract each block would need
Benefits:
- The layout decision rests on the running site rather than on assumptions
Reuse over invention: tables, chips, dial, pager, bulk bar, alerts, progress lines and rings all come from templates/lite
Every page states what the backend must supply, so integration can start from a written contract instead of a redrawing round
Technical notes:
- Demo only: no PHP, template or theme file is modified
Extra CSS lives inside each page under its own prefix and never reaches the theme
- Pages load repository assets only; no CDN and no new dependency
The chip set carries no attachment filter: _privat has no such column and a LIKE over the message body would scan the whole table
sl-knob exists only in templates/admin; using it on the site would require moving that block into templates/lite first
- Backward compatible: nothing outside demo/ is affected
The page-cache generation counter lived inside storage/cache/pages, the directory the manual cache clear empties, so the clear reset the counter every stored page is keyed by. It now sits with the other persistent counters in storage/counter, and the clear advances it instead.
Core changes:
- Page-cache generation (core/classes/cache.php):
getEpoch() and addEpoch() read and write COUNTER_DIR/cache.log
- the counter is state, not a cache artifact: deleteAll() and the cache size report no longer reach it
- the exclusive lock, the single bump per request and the zero on a missing file are unchanged
deleteAll() ends on a bump of its own
- unlink() reports failure silently, so a page the sweep could not remove has to stay unreachable
- the directory guard moved into the body, so the bump runs even with no cache tree on disk
- Test bootstrap (tests/bootstrap.php):
- COUNTER_DIR is defined next to CACHE_DIR and LOGS_DIR, so the harness matches the constants core gives the class
- Documentation (docs/PAGE-CACHE-ROUTES-2026.md, admin/info/config/ru.md):
- the invalidation section names the counter file and the bump the clear performs
- the admin help gains the invalidation rule: admin writes, comment operations, post and vote from the front
- the cache structure list gains storage/cache/pages/locks, which appears only under cache_l
Benefits:
- a cache clear can no longer resurrect a page whose file survived the sweep
- the counter stops being counted and swept as if it were a cached file
- the admin panel now explains why the page cache retires itself after an edit
Technical notes:
- storage: the counter is storage/counter/cache.log; the documented cache clear on upgrade removes the obsolete storage/cache/pages/epoch
- interface unchanged: getEpoch() and addEpoch() keep their signatures and all twelve call sites
- backward compatible: an installation without the file reads zero, exactly as before
The JS minifier rewrote whole files with regular expressions, so it reached inside string literals and turned a subtraction into a decrement, and the bundler glued sources with a space, which let a file ending in a line comment swallow the next one. Both are gone. The RSS and OpenSearch documents carried raw ampersands and a wrong date format, so neither was well formed and every timestamp reported the month in place of the minutes.
Core changes:
- Script bundling keeps the sources intact (core/system.php, admin/modules/config.php, config/global.php, admin/lang/*.php):
script_c and getCompressCode() are removed, together with the field, its writer entry and the constant
- A regular expression cannot tell code from the inside of a string, so the pass rewrote both
- On top of the transport compression a server applies to scripts it saved six to eight per cent
Sources are concatenated with a semicolon and a line break instead of a space
- A file ending in a line comment without a trailing break swallowed the first line of the next one
- A statement left without its own semicolon joined the following file instead of ending
- ASSETS_VER becomes 3, because the key covers the sources and the settings but not the code that joins them
- Style bundling skips what is already minified (core/system.php):
A file whose name carries .min. is stored as it is
- The regex pass gains nothing there and costs build time on every rebuild
- It also stripped the /*! license banner of vendor files, which is not ours to remove
- The feeds become well-formed XML (core/user.php):
Every address is escaped before it enters the document, in the channel, the items and the search templates
- An ampersand of a query string is a character reference in XML, so a strict reader rejected the file
- The item address is built once per row instead of three times in three branches
- The date format is D, j M Y H:i:s O: the minute field held the month
- The image element of the OpenSearch document loses a literal backslash n from a single-quoted string
- Content-Encoding: none is dropped from both documents, so the server may compress them
- Compression covers the pages themselves (.htaccess):
The deflate filter is selected by response type rather than by file name
- A page is built by index.php, so no rule matching file names reaches the largest response of the site
- text/xsl is served with its own type, so a browser applies the sitemap stylesheet
- Cache housekeeping (core/system.php, core/classes/cache.php, admin/info/scheduler/ru.md):
The sweep collects asset bundles as well
- A bundle in use is rewritten on every rebuild, so only one no page points at reaches the retention window
A public response drops the Pragma that PHP emits for every session: a response cannot both invite caching and forbid it
- getOutputHtml() loses its unused full mode, which stripped comments and glued tags
- Documentation and help (docs/PERFORMANCE.md, docs/PARSER.md, admin/info/*, UPGRADING.md):
- The security help states which field names are masked in the request context of a log entry
- The upgrade notes list the four cache fields and the action they need, without the history behind them
- The scheduler and parser pages describe the current behaviour of the sweep and of the format argument
Benefits:
- A bundled script is byte for byte the sources it was built from, verified against a parser
- Feed readers, validators and browser search integration accept the documents
- Every page of the site is compressed on Apache as it already is on nginx
- Asset bundles no longer accumulate on disk once their sources change
Technical notes:
- Breaking: script_c disappears from config/global.php; an installation that had it set needs no action
- ASSETS_VER = 3 rebuilds every CSS and JS bundle on the first request after the upgrade
- The feeds keep their element order and their content; only escaping, the date field and the header change
The rendered-content cache kept every fragment, so short comments and teasers filled the directory while a daily rewrite cost more than the hits it saved. A size threshold now decides, the sweep that ages the leftovers out is enabled, and the settings screen loses the two fields that described the same decision twice or described nothing. On the way through, request logs stopped carrying the passwords a warning used to record.
Core changes:
- A size threshold for the rendered-content cache (core/classes/parser.php):
CACHEMIN is 2048 bytes of source and getCachePath() returns nothing below it
- The gate sits in the one function both the read and the write pass, so the two stay symmetric
- The unit is bytes because parsing cost scales with bytes, not with characters
- The empty-source case is covered by the threshold, so no separate check remains
Break-even is near 700 bytes, but only at some thirty hits a day per fragment; from 2 KB a write repays after three or four hits, which is almost any traffic level
- The sweep that removes what already accumulated (config/scheduler.php):
- The cachegc job is enabled; it removes files older than max(cache_t * 24, 86400), never below CACHETTL
- The threshold stops new sub-threshold files but never removes existing ones: nothing else ages them
- Secrets stop reaching the logs (core/classes/logger.php, core/security.php, admin/modules/config.php):
Logger masks request data by key name before it is bounded, in getContext() and only there
- Any key holding pass, pwd, secret, token, key or code keeps its name and loses its value
- The diagnostic context of a call is left alone, because it carries keys a name rule would destroy
The address is masked as well, in url and referer: an OAuth callback and a reset link carry their secret in the query string
The flood report names the posted fields instead of dumping them, so a password cannot arrive through the message text either
- The hand-written unset() in mailtest() is gone: one rule replaces one special case
- Four cache settings instead of six (admin/modules/config.php, config/global.php, core/system.php, index.php):
- cache_c and the second minify pass are gone; the stored page is now exactly the page that was served
- cache_d is merged into cache_b, which becomes a number of days with 0 for off
Browser caching no longer depends on db_t; the publicly cached response drops the generation-time marker instead, decided where the public headers are actually sent
OpenSearch, XSL and the asset route stop reading a setting: the first two take Cache::STATICDAYS, the third keeps its immutable year
The page identity becomes pc3 and cache_version becomes 4, so no entry written under the old rules can be served and every install rebuilds its merged configuration
- The configuration writer stops mangling what it stores (core/system.php, setup/index.php, config/filetype.php):
One value is one line however long it is; a configuration file is data, and the line limit governs code a person writes
- The line-splitting cut multibyte characters in half, so one save of a localized form produced a
file that was no longer valid UTF-8
- The installer carried a second copy of the same splitter and would have produced files the panel
does not
Line endings are normalized on the way in, because a textarea posts CRLF into a source file of this repository
- One blind spot of the cache gets a record (core/classes/cache.php):
A stored file that exists but cannot be read is written to the file channel once per process
- The page re-renders and the guard prevents the warning that would otherwise name it
- One record per process, because a locked append per read would cost more than the fact is worth
- Documentation and help (docs/PERFORMANCE.md, docs/PARSER.md, admin/info/config/ru.md, admin/info/scheduler/ru.md, UPGRADING.md):
- The performance guide gains the parser layer it never described, with the threshold and its reason
- The parser guide loses a cache guard that does not exist: the exclusion is $this->vary in the class
The configuration help describes what pages/data really stores, the new field set and the real scope of the caching options, which is the front page and the news list, not every section
The scheduler help had the cachegc job as disabled and as a full wipe; it is enabled and removes stale files only
- docs/PAGE-CACHE-ROUTES-2026.md is the plan for widening the page cache to the other modules
Benefits:
The rendered-content directory holds the few documents that are expensive to parse instead of thousands of fragments that never repaid their write
- A warning raised during a login, a registration or a profile save no longer records the password
- Two settings fewer to explain, and the stored page can no longer differ from the served one
- Saving the settings form on a localized installation no longer corrupts config/global.php
Technical notes:
Breaking: an installation running cache_b = '1' must set cache_b to its former cache_d, because a bare 1 now means one day. This install runs cache_b = '0' and carries nothing over
Breaking: cache_c and cache_d are removed from config/global.php; cache_version = 4 forces every install to rebuild config/local.php on the first request
- Every stored page becomes unreachable at once through the pc3 prefix; cachegc removes the files
The browser-cache branch for HTML stays unreachable in practice while any page carries a CSRF token marker, which makes its entry dynamic and therefore no-store
Every writer in the project emitted PHP_EOL, so the same code produced CRLF on a Windows host and LF on a Linux one - in JSON log records, in generated PHP files and in the configuration the installer writes. All of them now emit "\n", and CRLF is produced only where a protocol requires it. The two hand-repair SQL files are gone with everything that referenced them.
Core changes:
- Log writers emit LF (core/classes/logger.php, admin/modules/database.php, core/security.php, core/system.php):
The JSONL record terminator of all six channels, database.log, log.log and days.log
- A record separator that depends on the host makes one machine format two ways
- The reader was already tolerant, splitting on any break, so no stored log breaks
- Generated files emit LF (setup/index.php, admin/modules/lang.php, admin/modules/editor.php, admin/modules/blocks.php):
The installer carried its own copy of setConfigFile() and wrote the same config files with CRLF
- A configuration file therefore ended up mixed, depending on whether the installer or the panel touched it last
- Language files, block files, editor templates and robots.txt follow the same rule
- The block generator loses the hardcoded CRLF around its heredoc marker, which also removes a parser risk
- The admin IP filter stops missing a break (admin/modules/security.php):
- strtr() stripped PHP_EOL and therefore missed a lone LF on Linux and a lone CR on Windows
- It now strips CR, LF and space, so the stored list cannot carry a stray break on either host
- Mail bodies and assembled text emit LF (core/classes/mail.php, core/security.php, admin/modules/*, modules/help):
- The SMTP transport already normalises a body to CRLF before the dialogue, so that boundary is the only place CRLF belongs
- The retired repair files leave the tree (setup/sql/, docs/VERSIONS.md, tests/):
- update6_3_patch.sql and update6_3_text_once.sql are gone, and nothing references them any more
- The upgrade matrix drops to two rows, the hand-patch section and its recount route are removed
- The splitter scenario moves onto the shipped upgrade channel instead of the deleted file
- The privat probe drives one channel, and its expectation follows
Benefits:
- A log, a generated file and a configuration read the same on every host the project runs on
- One rule instead of a per-call-site choice: LF inside the application, CRLF only at the protocol boundary
- The suite covers seven scenarios that were silently skipping on the missing files
Technical notes:
- Existing logs stay mixed; old CRLF records are still read, because the reader splits on any break
- A raw editor file written by the previous code on Windows shows its guard prefix once, and the first save repairs it
- No schema change, no route contract change, and no compatibility layer for the removed files
The shipped configuration carried a live master secret, and the route walk still addressed the upload record by positions that moved a release ago. Both are corrected here, together with the leftovers the audit of the editor upload plan surfaced.
Core changes:
- The master secret becomes per installation (config/security.php):
The shipped secret is emptied, so getSecret() generates one on first use
- core/security.php already carries that branch; it never fired while a value shipped
- setup/index.php writes back the value it reads, so every installation ran on the same secret
- The secret feeds csrf, dynreg, captcha, field, stats and upload
- The route walk addresses fields by name (tools/upload-route-check.php):
setUploadSwitch() reads the key order out of setUploadRuleData() instead of naming positions
- The record lost adminlist and holds twelve fields; the walk still wrote to positions ten and eleven
- The access matrix and the guest isolation skipped silently, and the run still exited zero
A skipped row can be marked required, and a required skip now fails the run
- Skips shaped by the stand stay non fatal: no remote URL, captcha left on, no image on the page
- The configuration cache is dropped without suppression (core/system.php):
- The suppressed unlink becomes a guarded one, so a missing cache is no error and a real one is not hidden
- Documentation and the avatar library (UPGRADING.md, templates/lite/images/avatars):
- The runtime cache step deletes config/local.php, which no fingerprint ever invalidates
- The two closed plan documents leave the tree
- The 0-NEW staging tree is gone; presets holds the library and system holds user, guest and deleted
- Tests and one locale (tests/Unit, admin/lang/fr.php):
- CommentWriteTest passes over a module with no writable target, which carries no delta to compare
- Two file manager tests lose the double quoted string the formatter rejected
- _EDFILEG takes the single quoted form the constant rules require
Benefits:
- Two installations no longer share one secret, so a token forged against one does not travel
- The acceptance walk of the editor upload runs its access matrix and its guest isolation again
- A green suite: no formatter finding and no PHPUnit warning
Technical notes:
- The secret is regenerated per installation; the previous value remains in the history of this file
- Every session and CSRF token is invalidated once the configuration cache is rebuilt
- No schema change, no route contract change and no runtime compatibility layer added
The editor windows are moved by their whole head and show the handle where a hand looks for one, the upload preferences stop hiding half of themselves behind a sub-tab, and the documentation of the section is written against the screens as they are. The one writing route that reached the disk without a record now leaves one behind.
Core changes:
- Head of the editor windows (templates/{admin,lite}/partials/editor-toastui-*.html, plugins/editors/toastui/assets/editor-upload.js, templates/{admin,lite}/assets/editors/toastui/skin.css):
The whole plate of the head carries the window, under the left button alone
- A button of the head keeps its own press, so closing still closes and expanding expands
- An expanded window hides the handle and drops the cursor: it has nowhere left to move
The handle moved to the right beside the other two buttons and became a grip
- The computed styles of the three icons were compared first: no overlay and no filter
- arrows-move draws four arrows and a crossing at sixteen pixels and reads as a blot
- Hovering paints the button in a system tone by the chip formula: green, blue, red
- The caption carries the icon of the button that opens the window, in the folder family
- Upload preferences on one page (admin/modules/uploads.php):
The sub-tabs are gone: the general block and the module blocks stand in the one form they always shared, under the one save button they always had
The directory picker is drawn on the catalogue alone, which is the screen it navigates
- getUploadsSearch() loses the argument it never received and the dead branch behind it
- Captions that name what a field does (admin/lang/{locale}.php, lang/{locale}.php):
The general block speaks of attachments and their output template, not of applications
- The width and the height name the placeholder they are substituted into
- The note of the link section of the rail matches its neighbours in length and in ending
- Journal of the editor upload (core/system.php):
addEditorUpload() writes one record per submitted file, as the two other routes of the window already did for deletion and packing
- A refusal is recorded with the reason the upload service answered
- Until now this was the one route of the project that stored a file and left no trace
- Documentation of the section (admin/info/uploads/ru.md):
Rewritten against the screens: the system files tab it never described, the desk conveniences, the policy of closed paths, the source editor and the window of the editor
- The removed sub-tabs, the retired setting and the paginator leave the text with them
- The opening names the tabs in one sentence, the way the newest help documents do
Benefits:
A window says by its cursor and its handle exactly what it can do, and hides both where it cannot do it
- One page of preferences instead of two panels behind a switch nobody needed
- A caption that names its own effect instead of a word that means nothing here
- Every route that puts a file on the disk can be accounted for afterwards
Technical notes:
- No schema change, no configuration change and no route contract changed
- tests/Unit/FileManagerCatalogTest.php gains the journal of the editor upload
uploads/files/files-WGVl13gb5m-7885.png is a test image found in the working tree; it is committed with the set because the tree is committed whole and may be removed
Stages 8 and 9 of docs/FILE-MANAGER-CONCEPT-2026.md close the plan. Both screens answer the pointer and the keyboard the way a file manager on a desktop does, the last duplicate list and the last legacy download helper are gone, and the catalogue scrolls with the page while holding nothing back from an administrator.
Core changes:
- Desk conveniences on both screens (plugins/system/slaed.js, templates/admin/assets/js/admin-ui.js, plugins/editors/toastui/assets/editor-upload.js):
The right button opens the fan of the object under the pointer, where the pointer stands
- The owner is the box holding exactly one fan, so the empty ground of a tile grid keeps the browser menu
- The direction is read off the theme instead of being known by the client
A modifier marks instead of navigating: Ctrl one object, Shift the whole span
- The marking press is caught in the capture phase, so a row does not follow its own address
- The current object does not move, because the panel beside the list describes it
- Arrows walk what is visible, Space marks, Enter does what a press does
A file dropped anywhere reaches the shown directory, an object dropped on a directory is moved
- The move opens the same operation form with the target filled in, because a moved file loses its published address
- The window of the editor opens on the first available rail section and returns the focus that opened it
- Cleanup of the file layer (core/admin.php, admin/modules/uploads.php, index.php, core/system.php):
getAdminUploadFiles() and the two quick lists it fed are gone together with their go=5 route
- The catalogue is now the only list of the upload tree the administration has
- The directory selector stays, because it is what walks the browser to a module
stream() becomes getFileStream(), the single download path of the project
- The opaque type replaces application/force-download and the empty Content-Range
- The name reaches the header encoded and reduced to its own last segment
- A missing or unreadable file answers 404 instead of an empty attachment
- getAdminFileDownload() decides the right and hands the file over; four callers outside the file manager follow the same path
- modules/files takes a streaming branch only for a file that lies on this server
- The catalogue scrolls with the page (core/admin.php, templates/admin/partials/*, templates/admin/assets/css/theme.css):
- No pager and no box of its own: a directory stands at its full length
The tree, the properties, the column titles and the bulk bar hold themselves in the window
- The card and the admin wrapper clip with overflow: clip, because hidden makes a scroll container and kills every sticky inside it
- An administrator is answered the whole directory; what may not be seen is decided by the path policy and never by a number
- The retired list length leaves the project (core/system.php, admin/modules/uploads.php, config/uploads.php, admin/lang/*):
- adminlist was the page size of the removed quick list and had no reader left
- The module rule drops the field and carries twelve, config/uploads.php is migrated record by record
- The settings form loses the input, six locales lose _F_5, _UPLOADS_SEEN and _UPLOADS_CUT
- Visual corrections against the approved mockup (templates/admin/, demo/):
- The tile leaves room for its fan, marks on a plate under the name the editor window already uses, and names size and day
- The fan of a tile opens as one row, the shape it has in a list and in the editor window
- The tree step is 8px, both side columns are 250px, the filter group stands over the properties column
- The type column is gone: the extension is in the name and the kind is in the icon
- bi-folder replaces bi-folder2, and bi-folder-fill marks the open node
- Tests and plan (tests/Unit/, tools/upload-route-check.php, docs/):
- DeskKeysTest holds the context menu, the modifiers, the keys, the focus and the two kinds of dragging
- FileManagerCatalogTest holds the single list, the single download path and the scrolled directory
- The plan marks stages 8 and 9 closed and records every decision taken after them, with its price
Benefits:
- One download path writes the headers of every download in the project, so a stored file can no longer be answered with a type that executes
- One list of the upload tree instead of three, and one place where a directory turns into rows and tiles
- An administrator sees a directory whole, and the settings that count files stay where they belong: the editor window and the visitor
- The two screens carry the same components under the same names, so a component fixed once is fixed on both
Technical notes:
- Breaking change: the module upload rule loses adminlist and holds twelve pipe-separated fields; config/uploads.php is migrated in this commit and a rule written for the previous format would be read shifted
- A rule written short by hand still answers the guest limit with the user one, because zero in that position would mean no limit for the one role that never had one
- New helper getFileStream() replaces stream(); admin/modules/security.php, modules/clients, modules/files and modules/shop are migrated to it
- Removed route: index.php go=5 getAdminUploadFiles; no other route changed its contract
- No schema change; no stored file is touched or renamed