Skip to content

Updates GUI installation and configuration documents#1442

Merged
matsduf merged 22 commits into
zonemaster:developfrom
matsduf:update-gui-installation
Dec 16, 2025
Merged

Updates GUI installation and configuration documents#1442
matsduf merged 22 commits into
zonemaster:developfrom
matsduf:update-gui-installation

Conversation

@matsduf

@matsduf matsduf commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

Purpose

This PR updates installation and configuration documents to adapt to the new GUI proposed in zonemaster/zonemaster-gui#511 (originally in zonemaster/zonemaster-gui#500).

The new documents are primarily modified versions of the documents provided in zonemaster/zonemaster-gui#511.

How to test this PR

All documents need to be reviewed and verified.

@matsduf matsduf added this to the v2025.2 milestone Nov 24, 2025
@matsduf matsduf added the A-Documentation Area: Documentation only. label Nov 24, 2025
@matsduf matsduf changed the title Update GUI installation and configuration documents Updates GUI installation and configuration documents Nov 24, 2025
@matsduf

matsduf commented Nov 24, 2025

Copy link
Copy Markdown
Contributor Author

@tbleckert and @rhedman, please take a look.

matsduf added a commit to matsduf/zonemaster-gui that referenced this pull request Nov 25, 2025
matsduf added a commit to matsduf/zonemaster-gui that referenced this pull request Nov 25, 2025
@matsduf matsduf added the RC-Fixes Release category: Fixes. label Nov 27, 2025

@mattias-p mattias-p left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Over all I think this looks great! I've reviewed it and made comments on various things. I've limited my review to things that ChatGPT did not pick up on. I believe you'd characterize all or most of my comments as editorial.

Comment thread docs/public/using/gui/api.md
Comment thread docs/public/using/gui/api.md Outdated
Comment thread docs/public/SUMMARY.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/public/configuration/gui/configuring-using-config-ts.md Outdated
Comment thread docs/public/configuration/gui/configuring-using-theming.md Outdated
Comment on lines +17 to +26
If this installation is an upgrade or reinstallation of Zonemaster-GUI and has
done some configuration or customization, make sure to save updated file, e.g.
`/var/www/html/zonemaster-web-gui/dist/config.json` and the `zonemaster.conf`
Apache configuration file, before removing the old version.

You should also consider saving the old version under a new path instead of
just removing it.

Else upgrading is as simple as removing the old version and installing the new
version in the same way as a new installation.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my point of view, the third paragraph is the part that really belongs here. While the two first paragraphs are important, I believe users would be better served if they were converted into instructions in the "Remove old Zonemaster-GUI" sections. As far as I understand.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot see how the text can be improved.

Comment thread docs/public/upgrading/gui.md Outdated
Comment thread docs/public/upgrading/gui.md Outdated
Comment thread docs/public/SUMMARY.md Outdated
Comment on lines +29 to +30
- [Environment Variables](configuration/backend-environment-variables.md)
- [GUI](configuration/gui.md)
- [Environment Variables](configuration/backend-environment-variables.md)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should be reverted. The document relates solely to Backend, so the indentation is needed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, possibly (it also refer to the ZONEMASTER_RECORD environment variabl), but it is not a sub-document to the backend_config.ini configuration. We should probably have a backend subdirectory with a README file and both documents.

Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
@mattias-p

Copy link
Copy Markdown
Member

The mdbook can't be built. Can you take a look at that?

@matsduf

matsduf commented Dec 3, 2025

Copy link
Copy Markdown
Contributor Author

The mdbook can't be built. Can you take a look at that?

What error did you get? Could that be due to the interaction between this PR and #1445?

@matsduf matsduf requested review from mattias-p and tgreenx December 3, 2025 13:18
@matsduf matsduf force-pushed the update-gui-installation branch from 0f96b40 to 73e88a8 Compare December 3, 2025 16:54
@matsduf

matsduf commented Dec 3, 2025

Copy link
Copy Markdown
Contributor Author

@mattias-p and @tgreenx, please re-review!

@mattias-p, can you check if the mdbook issue is still there?

Comment thread docs/public/configuration/gui/building-custom-gui.md Outdated
Comment thread docs/internal/maintenance/ReleaseProcess-create-test-distribution.md Outdated
Comment thread docs/public/configuration/gui/building-custom-gui.md
Comment thread docs/public/configuration/gui/building-custom-gui.md
Comment thread docs/public/configuration/gui/configuring-using-config-ts.md Outdated
Comment thread docs/public/configuration/gui/configuring-using-theming.md Outdated
Comment thread docs/public/configuration/gui/README.md Outdated
Comment thread docs/public/configuration/README.md Outdated
Comment thread docs/public/using/gui/api.md Outdated
Comment thread docs/public/SUMMARY.md
matsduf and others added 2 commits December 9, 2025 11:00
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
tgreenx
tgreenx previously approved these changes Dec 9, 2025
@matsduf matsduf force-pushed the update-gui-installation branch from 0d1bc05 to d9fb884 Compare December 12, 2025 13:56
Comment thread docs/public/configuration/gui/configuring-using-config-ts.md Outdated
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
@matsduf matsduf requested a review from tgreenx December 15, 2025 10:44
tgreenx
tgreenx previously approved these changes Dec 15, 2025
Comment thread docs/public/configuration/gui/configuring-using-config-json.md Outdated
* The default language must be one of the enabled languages.
* **enabledLanguages**: An array of language codes that are supported by the
application.
* The array should match the list of language codesin the [Locale setting] in

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* The array should match the list of language codesin the [Locale setting] in
* The array should match the list of language codes in the [Locale setting] in

1. `npm install`
2. `npm run release`
2. `npm run build`
3. `npm run release`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm run release is defined as npm run build && node scripts/create_release.js, so the npm run build command does not need to be run separately.

Comment on lines 219 to 221
npm install
npm run build
npm run release

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm run release is defined as npm run build && node scripts/create_release.js, so the npm run build command does not need to be run separately.

Comment thread docs/public/configuration/gui/configuring-using-config-json.md Outdated
Comment thread docs/public/configuration/gui/configuring-using-theming.md Outdated
Comment thread docs/public/configuration/gui/configuring-using-theming.md Outdated
Comment thread docs/public/configuration/gui/configuring-using-tsconfig-json.md Outdated
Comment thread docs/public/installation/zonemaster-gui.md Outdated
Comment thread docs/public/installation/zonemaster-gui.md Outdated
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
Comment thread docs/public/configuration/gui/configuring-using-config-ts.md Outdated
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
@tgreenx

tgreenx commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

@matsduf I see unresolved conversations from @marc-vanderwal, but nothing critical so it could be merged as is.

@matsduf matsduf merged commit 05dce59 into zonemaster:develop Dec 16, 2025
@matsduf matsduf deleted the update-gui-installation branch December 16, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Documentation Area: Documentation only. RC-Fixes Release category: Fixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants