feat(licenses): configurable support URL (wiki or external site) for gated downloads #393

Open
opened 2026-06-01 09:40:29 +00:00 by jmiller · 1 comment
Owner

Summary

Add a SupportURL field to UpdateStreamConfig that lets admins point gated download error pages to their wiki, product page, or external support site.

Requirements

  • SupportURL field on UpdateStreamConfig (TEXT)
  • Configurable in both org settings and repo settings
  • Shown in 403 error when download is gated
  • Falls back to repo page if not set

Test Plan

  • Set support URL in org settings → verify saved
  • Set support URL in repo settings → verify saved
  • Gated download without key shows support URL
  • Empty support URL falls back to repo page

🤖 Generated with Claude Code

## Summary Add a `SupportURL` field to `UpdateStreamConfig` that lets admins point gated download error pages to their wiki, product page, or external support site. ## Requirements - `SupportURL` field on `UpdateStreamConfig` (TEXT) - Configurable in both org settings and repo settings - Shown in 403 error when download is gated - Falls back to repo page if not set ## Test Plan - [ ] Set support URL in org settings → verify saved - [ ] Set support URL in repo settings → verify saved - [ ] Gated download without key shows support URL - [ ] Empty support URL falls back to repo page 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

Testing Plan — Support URL

API

  • SupportURL saved via org settings POST
  • SupportURL saved via repo settings POST
  • InfoURL in updates.xml falls back to SupportURL when set
  • InfoURL defaults to /releases when nothing configured

GUI

  • Support URL input in org settings under Licensing section
  • Support URL input in repo settings under Licensing section
  • Help text explains purpose
  • Saved value persists on page reload

🤖 Generated with Claude Code

## Testing Plan — Support URL ### API - [ ] SupportURL saved via org settings POST - [ ] SupportURL saved via repo settings POST - [ ] InfoURL in updates.xml falls back to SupportURL when set - [ ] InfoURL defaults to /releases when nothing configured ### GUI - [ ] Support URL input in org settings under Licensing section - [ ] Support URL input in repo settings under Licensing section - [ ] Help text explains purpose - [ ] Saved value persists on page reload 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jmiller added the pending: testing label 2026-06-01 10:13:55 +00:00
Sign in to join this conversation.
No labels pending: testing
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#393