Skip to content

Webstandard force no 404#3479

Merged
vmcj merged 4 commits intoDOMjudge:mainfrom
vmcj:webstandard_force_no_404
Mar 2, 2026
Merged

Webstandard force no 404#3479
vmcj merged 4 commits intoDOMjudge:mainfrom
vmcj:webstandard_force_no_404

Conversation

@vmcj
Copy link
Member

@vmcj vmcj commented Feb 28, 2026

Opening as draft first to see what should be changed.

Seems to work, doing this will help us detect other issues such as when the internal ids were mapped to externalids and not all URLs were updated.

@vmcj vmcj force-pushed the webstandard_force_no_404 branch from c7796cc to 5460e17 Compare February 28, 2026 13:17
@vmcj vmcj force-pushed the webstandard_force_no_404 branch from 5460e17 to 6d2b334 Compare February 28, 2026 14:53
@vmcj vmcj marked this pull request as ready for review February 28, 2026 14:54
@vmcj vmcj force-pushed the webstandard_force_no_404 branch from 6d2b334 to f07f1dd Compare February 28, 2026 16:48
@vmcj vmcj requested a review from nickygerritsen March 1, 2026 10:08
vmcj added 3 commits March 2, 2026 12:36
Before we always generated the URL even when docs were not configured. This
resulted in a 404.
As we render the links in templates we should know if the resource is available.
It would detect incorrect URLs such as after switching from internal to externalids.
Wget doesn't run the javascript but follows the link used as template.
@vmcj vmcj force-pushed the webstandard_force_no_404 branch from f07f1dd to f2510c5 Compare March 2, 2026 11:36
@vmcj
Copy link
Member Author

vmcj commented Mar 2, 2026

Merging this now, @nickygerritsen and I discussed another improvement which I'll test a bit with.

@vmcj vmcj added this pull request to the merge queue Mar 2, 2026
Merged via the queue into DOMjudge:main with commit e2c0f1f Mar 2, 2026
42 checks passed
@vmcj vmcj deleted the webstandard_force_no_404 branch March 2, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants