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

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

Всего: 964 Доступных коммитов | Отфильтровано: 964 Коммиты | Страница: 1 / 97
Сегодня (01.07.2026)
Docs: drop admin.php?name= path from help intros; rewrite ratings help
Автор: Eduard Laas | Дата: 16:09 01.07.2026

Remove the redundant control-panel path from the first line of every admin help page, and restructure the ratings help so a non-technical admin can grasp all the rules at a glance.

Core changes:

  1. All admin help (admin/info/, modules//admin/info/*):
  2. Strip the "(admin.php?name=xxx)" reference from the section intro (44 pages)
  3. Reword the search help sentence that spelled out the path
  4. Ratings help (admin/info/ratings/ru.md):
  5. Group the content into: where rating works, the three per-module settings, and anti-farm protection
  6. Document the built-in protections (self-vote block, existing/published target only, no points for profile rating, daily point cap, 1-5 clamp)
  7. Move callouts to top level so they render, and drop bold that collided with the smiley syntax
Fix: smiley parser maps *NN only to existing 01-18 icons
Автор: Eduard Laas | Дата: 16:08 01.07.2026

The BB smiley rule turned any asterisk followed by two digits into an <img smilies/NN.gif>, but only icons 01-18 exist. Codes like 19-99 (and the leading digits of bold such as 30) rendered as a broken image anywhere user text is parsed (forum, comments, help docs).

Core changes:

  1. BB block parser (core/classes/parser.php):
  2. Narrow the smiley match from \(\d{2}) to \(0[1-9]|1[0-8])
  3. Out-of-range *NN now stays as plain text instead of a broken image
Feature: points on approval, action-point dedup, rating anti-farm hardening
Автор: Eduard Laas | Дата: 15:51 01.07.2026

Overhaul how contribution points are earned and harden the rating endpoint against inflation, with a naming-compliance rename of the points primitives. No schema changes.

Core changes:

  1. Points primitives (core/system.php):
  2. Rename update_points -> updatePoints, addActionPoint -> addPointsAction (camelCase per .rules naming)
  3. addPointsAction: credit repeatable-action points once per (event, item, user/ip) within the retention window, reusing the _rating dedup table
  4. setContentActive: atomically promote pending content to active and credit submission points to the AUTHOR; replaces addPointsAuthor + a manual status flip
  5. Award timing moved submit -> approval (modules//index.php, modules//admin/index.php):
  6. Drop the immediate submit-time credit in news/pages/media/jokes/faq/links/files
  7. Credit the author via setContentActive on every promote-to-active path (full-edit save, single approve, batch activate)
  8. Repeatable-action dedup at call sites (modules/auto_links, files, links):
  9. auto_links view and file/link download now go through addPointsAction (no more unlimited farming by reloading the URL)
  10. Rating hardening (core/system.php getRatingView, core/helpers.php, index.php):
  11. Block rating your own account
  12. Accept votes only for an existing, visible target (status != 0) -> kills farming via non-existent ids
  13. Account rating awards no points; per-voter daily cap (<=30) on rating-earned points
  14. Keep the 0..5 rate clamp; wrap the vote in a transaction; number_format the average
  15. Narrow the go=1/2/5 CSRF-token exemption so only go=4 uploads may defer the token

Benefits:

  • Removes point-inflation and group-escalation vectors (URL farming, rating id enumeration, self-rating)
  • One forget-proof approval helper instead of 12 scattered award+flip sites
  • Consistent camelCase points API

Technical notes:

  • Reuses the existing _rating table for dedup and the per-voter cap; no schema change
  • Behavior change: contribution points now appear when a moderator approves the item, not on submission
Docs: groups help — approval-time crediting and anti-farm notes
Автор: Eduard Laas | Дата: 15:50 01.07.2026

Clarify how and when contribution points are credited in the points section of the groups admin help.

Core changes:

  1. Points section (admin/info/groups/ru.md):
  2. User content credits the author on moderation approval, not on submission
  3. Repeatable actions (download / outbound link / auto-link) count once per item within the window
  4. Soften the "real-time" wording to reflect approval-gated crediting
Вчера (30.06.2026)
Feature: voting list adopts the sortable standard list with meta chips
Автор: Eduard Laas | Дата: 15:42 30.06.2026

Bring the poll list in line with the shared sortable list (news liste): sortable columns, standard row hover, the info tip merged with the title, and the number anchor paired with the admin editor.

Core changes:

  1. voting() (modules/voting/index.php):
  2. table sortable; headers reordered to title / comments / votes / id
  3. Rows carry clean data-sort keys; admin editor via getTplEditMenu()
  4. voting-home partial (voting-home.html):
  5. sl-table-row (standard hover); info tip + title in one cell
  6. Comments and votes rendered as sl-chip-info / sl-chip-success chips with bi-chat-text / bi-hand-thumbs-up icons

  7. id anchor + editor menu in the trailing sl-table-col-num cell
  8. Lite theme (theme.css):
  9. Drop the .sl-table-list bottom margin for tighter list spacing

Benefits:

  • Voting list matches the project-wide sortable list look and behaviour
  • All columns sortable with correct numeric keys despite hidden panels
Feature: unified info-tip — bare green icon, direction-aware arrow, admin type
Автор: Eduard Laas | Дата: 15:42 30.06.2026

Rework the .sl-tip popover used by getTplTitleTip(): a chrome-free green "i" trigger, a position-aware arrow that flips with the panel, typography matching the admin tooltip, and no redundant default label.

Core changes:

  1. getTplTitleTip() (core/helpers.php):
  2. Single plain tip renders as content_html (no <dl> grid)
  3. Drop the default _INFO label so a bare tip shows no heading
  4. Popover fragments (lite + admin popover.html):
  5. Trigger .sl-but-mini -> .sl-tip-icon; render <dt> only when labelled
  6. Lite theme (theme.css):
  7. .sl-tip-icon: bare 16px (--sl-icon-size-xs) success-green glyph
  8. Shared .sl-float-panel arrow with .sl-float-up flip; colour per context; drop the old non-flipping .sl-menu arrow

  9. .sl-tip panel font 14px/16px and non-bold dt with a CSS ":" separator

Benefits:

  • One direction-aware arrow for tips and the editor menu, both themes
  • Tooltip reads like the admin tooltip; no duplicate/blurred glyphs
Fix: footer full-bleed no longer overflows past the scrollbar
Автор: Eduard Laas | Дата: 15:42 30.06.2026

The bottom footer menu used width:100vw with a negative-margin breakout. 100vw includes the scrollbar width while every other full-width section uses 100% (content width), so the menu was scrollbar-width wider than the viewport content area — producing horizontal overflow and an empty strip on the right edge in Chromium/Edge (which reserve scrollbar space) but not Firefox (overlay scrollbar).

Core changes:

  1. Footer menu (templates/lite/assets/css/theme.css):
  2. #footbox > .sl-wrp:last-child: width 100vw -> 100%, drop the calc(50% - 50vw) breakout; #footbox is already full content width

Benefits:

  • Removes the root cause (no scrollbar-gutter overflow), not a clip hack
  • Footer menu now matches every other full-width section, all browsers
Feature: author identity icon — person glyph inside the profile link
Автор: Eduard Laas | Дата: 15:41 30.06.2026

Render the author glyph as bi-person inside the user_info() link instead of a separate wrapper icon, so the icon and name form one clickable unit; switch the comment glyph to bi-chat-text.

Core changes:

  1. user_info() (core/system.php):
  2. Emit the semantic is_author flag instead of an icon name, keeping the glyph choice in the theme so admin/lite stay independent

  3. Lite link fragment (link.html):
  4. Render bi-person + .sl-author inside the <a> on is_author
  5. Comment glyph bi-chat -> bi-chat-text
  6. card/span/table-row/view/inline-badge fragments:
  7. Drop the now-duplicate author/comment wrapper icons
  8. Drop redundant icon=true call-site args (center_forum, lite index)
  9. Lite theme (theme.css):
  10. .sl-author aligns icon+name with the same gap/centering as chips

Benefits:

  • Single source for the author glyph; themes stay independent
  • Consistent, clickable author chips across cards, lists and the forum
Эта неделя (29.06.2026)
Feature: unified sortable list view, admin edit menu and meta chips
Автор: Eduard Laas | Дата: 23:43 29.06.2026

Rework the front-end content lists (op=liste) and shared table rendering into a consistent, sortable, chip-based design, add a per-row admin edit menu, and consolidate the admin edit/delete menu assembly into one helper used across all front-end modules.

Core changes:

  1. Table rendering (templates/lite/fragments/table.html, partials/content-list.html, fragments/table-row.html):
  2. Fix rows rendering outside the table: table.html now closes the table unless open is set, and content-list.html closes it inline after the row loop

    • previously every looped row landed after </table> and was dropped, so
sorting operated on an empty tbody
  • Render sortable lists as sl-table-list to match the home forum block and voting list header design (escapes the legacy .sl-table header override)

  • List row layout: Title, Category, Author, Date, admin menu, then the #id anchor as .sl-but-mini last; meta cells rendered as chips with icons

  • Truncate long titles via the existing sl-cell-ellipsis hook
  • Universal admin edit menu (core/helpers.php):
  • Add getTplEditMenu(edithref, delhref, title) returning the standard popover keys, replacing duplicated editor/edit/delete boilerplate

  • Migrate all front-end list/card/view sites (files, news, links, pages, media, jokes, faq, auto_links, content) to it; existing admin hrefs preserved

  • Meta chips (templates/lite/assets/css/theme.css, fragments/span.html, card.html):
  • Standardize chip icon size to --sl-icon-size-xs and switch the author/user chip icon to bi-person-circle (also legacy card-post chips)

  • Render home forum block and voting list poster/stat cells as chips
  • Voting widget (templates/lite/partials/voting-widget.html, core/system.php):
  • Add is_view flag: full view centers chips on top with the button below-left, blocks center both actions and links

  • Table shell scroll (templates/lite/assets/css/theme.css):
  • Use overflow-x:auto; overflow-y:clip to drop the phantom vertical scrollbar while keeping horizontal scrolling

Benefits:

  • Sorting, numbering and anchors now actually work on every module list
  • One admin edit menu definition instead of per-module duplication
  • Consistent chip-based meta styling across lists, cards and forum/voting blocks

Technical notes:

  • No admin URL/contract changes; only menu assembly is centralized
  • sl-table--sort class dropped from output; sorting relies on data-sl-table-sort
  • Backward compatible for non-list table.html callers (forum/center/admin tables)
Feature: render content meta fields as chips
Автор: Eduard Laas | Дата: 16:21 29.06.2026

Promote .sl-chip to a unified meta-label component with color-mix tones and group every content meta hook (date, category, views, comments, posts, votes, favorites, new, messages, etc.) onto it: non-link chips carry a semantic tone (date/comments=info, votes=success, favourites=danger, new=warn, rest neutral), link chips (a.*) use the system success tone, 26px tall with auto width.

Drop the old per-field icon list; keep cart/shop actions and forum/topic state glyphs as plain icons (chips there are overload). Show forum-post and comment meta (date/edit + flag+IP) as chips via one shared rule; combine flag and IP into a single sl-geo-ip chip built through the span fragment (is_geo_ip flag), keeping markup out of PHP.

Всего: 964 на 97 страницах по 10 на каждой странице

1 2 3 4 5 6 7 8 9 10 97

Хотите опробовать SLAED CMS в действии?

Идеи и предложения
Обратная связь