Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to cssHolmes

Submit focused pull requests to [mambax7/cssholmes](https://github.com/mambax7/cssholmes).
Submit focused pull requests to [XoopsModules27x/cssholmes](https://github.com/XoopsModules27x/cssholmes).
Use PSR-12, preserve public APIs and existing request/CSRF validation, and add a
regression test beside the affected behavior. Describe the problem, behavior
change, compatibility impact and commands actually run. Include screenshots for
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ Back up the site's files and database before an installed-module upgrade.

## Development checks

Use a complete source checkout, including the testing/tooling files supplied by
[the final QA change](https://github.com/XoopsModules25x/cssholmes/pull/9).
Documentation-only review branches are incomplete; release ZIPs intentionally
Use a complete source checkout from the repository. Release ZIPs intentionally
Comment thread
sourcery-ai[bot] marked this conversation as resolved.
Resolved
exclude `tests/`, PHPUnit configuration and other development files. If
`tests/run.php` is absent, obtain the complete source before running these commands.

Expand All @@ -34,7 +32,7 @@ regressions plus the analyzer, CLI and diagnostic PHPUnit tests using shared
to that shared vendor directory. `php tests/run.php --browser` also runs the
browser regressions with an existing Playwright/Chromium installation.

Source and issues: [XoopsModules25x/cssholmes](https://github.com/XoopsModules25x/cssholmes).
Source and issues: [XoopsModules27x/cssholmes](https://github.com/XoopsModules27x/cssholmes).
Comment thread
sourcery-ai[bot] marked this conversation as resolved.
Resolved
Comment thread
sourcery-ai[bot] marked this conversation as resolved.
Resolved
The repository's CI checks PHP 8.4/8.5; release tags run CI before creating a
clean module ZIP. Qodana is optional and explicitly skips its scan when
`QODANA_TOKEN` is unavailable. A skipped scan is not a quality result.
Expand Down
3 changes: 1 addition & 2 deletions class/Common/VersionChecks.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ public static function checkVerModule(\Xmf\Module\Helper $helper, ?string $sourc
$moduleDirName = \basename(\dirname(__DIR__, 2));
$moduleDirNameUpper = \mb_strtoupper($moduleDirName);
$update = '';
$repository = 'XoopsModules25x/' . $moduleDirName;
// $repository = 'XoopsModules25x/publisher'; //for testing only
$repository = 'XoopsModules27x/' . $moduleDirName;
$ret = null;
$infoReleasesUrl = "https://api.github.com/repos/$repository/releases";
if ('github' === $source) {
Expand Down
4 changes: 3 additions & 1 deletion docs/RELEASE-3.3.0-alpha.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ An alpha prerelease for testing theme inspection, visual editing and reusable st
2. Extract the release ZIP so its `cssholmes` directory is under `htdocs/modules/`.
3. Install or update cssHolmes through XOOPS module administration. Existing permissions are preserved on update; review legacy Registered Users overlay/diagnostics grants.
Workbench history migrates from `data/workbench/*.json` to `XOOPS_VAR_PATH/configs/cssholmes/workbench/`. Keep these private files in backups. If both locations contain different histories, the update stops for manual reconciliation rather than overwriting either copy. Legacy text patches without a saved revision must be restored manually.
4. For the new gallery controls, also deploy the xStyles `feat/cssholmes-integration` update and update that module. cssHolmes works independently without xStyles.
4. For the new gallery controls, also install or update [xStyles 1.5.0 Beta 3](https://github.com/XoopsModules27x/xstyles) or a later compatible version. cssHolmes works independently without xStyles.
5. Read `docs/TUTORIAL-xStyles.md` in the package for the illustrated workflow.

No module-local Composer or vendor installation is needed. Saving a named set does not publish changes; **Save to theme** does and may affect visitors.
Expand All @@ -26,3 +26,5 @@ No module-local Composer or vendor installation is needed. Saving a named set do
PHP 8.4/8.5 are the QA targets. Clean installation and upgrade from 3.0.0 passed on a disposable XOOPS 2.7.4-RC2 site with PHP 8.4.27, including authenticated save/reload, anonymous published styles, permission checks and restoration. See `docs/compatibility.md` for precise test evidence. The retained XOOPS 2.5.12 installer minimum is not a claim that all older core/PHP combinations were tested.

This alpha does not publish admin-theme changes or provide a native XOOPS 4 port. Contrast readings are conservative estimates, not an accessibility certificate. Legacy Common PHPUnit tests still need modernization; they are outside the documented standalone suite. Qodana is optional and requires a repository token.

Source, issues and future releases: [XoopsModules27x/cssholmes](https://github.com/XoopsModules27x/cssholmes).
1 change: 1 addition & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<h5>3.3.0 Alpha 1 [2026-10-26]</h5>
Requires PHP 8.4+. Alpha prerelease for testing; see docs/compatibility.md for tested environments and limitations.
<hr>
- Moved the official repository to XoopsModules27x/cssholmes and updated source, help and release links.
- Added a visual theme designer with scoped selectors, colors, typography, spacing, live preview, undo/redo and explicit Save to theme publication.
- Added private per-theme override storage, export, previous-save restoration and optimistic conflict checks without rewriting theme source files.
- Added a named style-set library with preview, categories, likes and validated portable import/export; saving a set does not publish it.
Expand Down
4 changes: 2 additions & 2 deletions docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ that every legacy core/PHP combination has been tested.
## Local tooling verification, 2026-10-26

The results below describe the complete candidate, including the test suite in
[QA PR #9](https://github.com/XoopsModules25x/cssholmes/pull/9), not a documentation-only
review branch. Release ZIPs omit development tests and configuration. Follow
[QA PR #9](https://github.com/XoopsModules27x/cssholmes/pull/9).
Release ZIPs omit development tests and configuration. Follow
[Development checks](../README.md#development-checks) to obtain the source needed
to reproduce these results.

Expand Down
3 changes: 1 addition & 2 deletions docs/visual-designer.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ the stored JSON by hand while editors are saving.
## Verification

Use the complete source checkout described in [Development checks](../README.md#development-checks).
These scripts arrive with the final QA change; documentation-only branches and
release ZIPs do not contain the test suite.
Release ZIPs do not contain the test suite.

Run `php tests/designer-access.php`, `php tests/designer-store.php`, and
`php tests/designer-http.php`. The HTTP check builds an isolated temporary test
Expand Down
5 changes: 2 additions & 3 deletions docs/xoops4-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ are not XTF token overrides and must remain separate.

## Evidence

The commands below require the complete source checkout, including the final QA
change. They are not available in documentation-only branches or release ZIPs;
see [Development checks](../README.md#development-checks).
The commands below require the complete source checkout described in
[Development checks](../README.md#development-checks). Release ZIPs omit these tests.

The separate xStyles module's `tests/fixtures.php` checks real core rendering
without site sessions or a database; cssHolmes does not ship that script.
Expand Down
4 changes: 2 additions & 2 deletions language/english/help/help.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@

<h4 class="odd">DEVELOPMENT</h4> <br>
<p class="even">
This module is Open Source and we would love your help in making it better. You can fork this module on <a href="https://github.com/XoopsModules25x/cssholmes" target="_blank">GitHub</a><br><br>
This module is Open Source and we would love your help in making it better. You can fork this module on <a href="https://github.com/XoopsModules27x/cssholmes" target="_blank">GitHub</a><br><br>
But there is more happening on GitHub:<br><br>
- <a href="https://github.com/xoops" target="_blank">XOOPS Core</a> <br>
- <a href="https://github.com/XoopsModules25x" target="_blank">XOOPS Modules</a><br>
- <a href="https://github.com/XoopsModules27x" target="_blank">XOOPS Modules</a><br>
- <a href="https://github.com/XoopsThemes" target="_blank">XOOPS Themes</a><br><br>
cssHolmes is particularly interested in contributions around XTF theme analysis, widget diagnostics, admin-theme coverage, documentation, and tests.<br><br>
Go check it out, and <strong>GET INVOLVED</strong>
Expand Down
4 changes: 2 additions & 2 deletions language/french/help/help.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@

<h4 class="odd">DEVELOPMENT</h4> <br>
<p class="even">
This module is Open Source and we would love your help in making it better! You can fork this module on <a href="https://github.com/XoopsModules25x/cssholmes" target="_blank">GitHub</a><br><br>
This module is Open Source and we would love your help in making it better! You can fork this module on <a href="https://github.com/XoopsModules27x/cssholmes" target="_blank">GitHub</a><br><br>
But there is more happening on GitHub:<br><br>
- <a href="https://github.com/xoops" target="_blank">XOOPS Core</a> <br>
- <a href="https://github.com/XoopsModules25x" target="_blank">XOOPS Modules</a><br>
- <a href="https://github.com/XoopsModules27x" target="_blank">XOOPS Modules</a><br>
- <a href="https://github.com/XoopsThemes" target="_blank">XOOPS Themes</a><br><br>
Go check it out, and <strong>GET INVOLVED</strong>

Expand Down
Loading