Skip to content

fix(gopher): serve public files from SFTP storage - #115

Merged
ralyodio merged 2 commits into
profullstack:mainfrom
rissrice2105-agent:fix/agentbbs-fourth-audit
Aug 13, 2026
Merged

fix(gopher): serve public files from SFTP storage#115
ralyodio merged 2 commits into
profullstack:mainfrom
rissrice2105-agent:fix/agentbbs-fourth-audit

Conversation

@rissrice2105-agent

Copy link
Copy Markdown
Contributor

Summary

  • resolve Gopher public-file selectors from the SFTP service's real /files/public/ root
  • keep homepage resolution under /users//public_html
  • add a test-first regression proving SFTP uploads are listed and stale legacy files are ignored

Testing

  • go test ./internal/gopher -run TestPublicFilesUseSFTPStorageRoot -count=1
  • go test ./internal/gopher -count=1
  • go vet ./internal/gopher
  • git diff --check

The full go test ./... -count=1 run passes all relevant packages. Two pre-existing Windows-only tests remain incompatible with this environment: internal/ircpass executes a .sh helper directly, and internal/sites requires symlink privileges.

Closes#114

@ralyodio
ralyodio merged commit be75744 into profullstack:mainAug 13, 2026
6 checks passed
Sign up for freeto 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.

Gopher public files use a stale path instead of SFTP storage

2 participants

@rissrice2105-agent@ralyodio