fix: tech-debt batch 1 + full namespace migration to code.mokoconsulting.tech #344

Merged
jmiller merged 3 commits from fix/tech-debt-batch-1 into dev 2026-05-31 15:35:36 +00:00
Owner

Summary

Tech-debt fixes (commit 1)

  • Blame page: Set HasSourceRenderedToggle for renderable files so permalinks include ?display=source for correct line-number linking
  • Team search: Translate permission strings using data-locale-* attributes instead of raw API values like read access
  • Dropzone: Use relative path for non-image attachment markdown links for consistency

Namespace migration (commit 2)

  • Rename Go module from git.mokoconsulting.tech to code.mokoconsulting.tech
  • Update all 2,276 files: import paths, template URLs, workflow configs, test fixtures
  • 11,665 insertions / 11,665 deletions (pure find-and-replace)

Closes #336
Refs #318, #334

Test plan

  • Verify go build succeeds with new module path
  • Verify blame page permalinks include ?display=source for .md files
  • Verify team search shows translated permission names
  • Verify image/file upload markdown links work correctly
  • Verify all CI workflows reference correct domain

🤖 Generated with Claude Code

## Summary ### Tech-debt fixes (commit 1) - **Blame page**: Set `HasSourceRenderedToggle` for renderable files so permalinks include `?display=source` for correct line-number linking - **Team search**: Translate permission strings using `data-locale-*` attributes instead of raw API values like `read access` - **Dropzone**: Use relative path for non-image attachment markdown links for consistency ### Namespace migration (commit 2) - Rename Go module from `git.mokoconsulting.tech` to `code.mokoconsulting.tech` - Update all 2,276 files: import paths, template URLs, workflow configs, test fixtures - 11,665 insertions / 11,665 deletions (pure find-and-replace) Closes #336 Refs #318, #334 ## Test plan - [ ] Verify `go build` succeeds with new module path - [ ] Verify blame page permalinks include `?display=source` for `.md` files - [ ] Verify team search shows translated permission names - [ ] Verify image/file upload markdown links work correctly - [ ] Verify all CI workflows reference correct domain 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jmiller added 3 commits 2026-05-31 15:28:58 +00:00
- fix(blame): set HasSourceRenderedToggle for renderable files so that
  permalinks include ?display=source for correct line-number linking
- fix(settings): translate team permission strings using data-locale
  attributes instead of raw API values
- fix(dropzone): use relative path for non-image attachment markdown
  links for consistency with image attachments

Refs #318, #334

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix downloadkey prefix: "&dlid=" → "dlid=" (Joomla handles the separator)
- Reorder XML fields to match Akeeba/Joomla convention
- Add sha512 and php_minimum optional fields to update XML struct

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
chore: rename Go module from git. to code.mokoconsulting.tech (#336)
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
PR RC Release / Build RC Release (pull_request) Successful in 3s
Universal: PR Check / Validate PR (pull_request) Failing after 6s
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
9a5720e8ad
Full namespace migration: update the Go module path and all import
statements from git.mokoconsulting.tech to code.mokoconsulting.tech.
Also updates all URL references in templates, workflows, configs,
tests, and documentation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit 2982d2d445 into dev 2026-05-31 15:35:36 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#344