Commit graph

1192 commits

Author SHA1 Message Date
yun-zhi-ztl
725b71d323 fix(skill): contain readme content overflow 2026-03-14 19:27:50 +08:00
yun-zhi-ztl
72f0b9f8f3 fix(login): validate required fields before submit 2026-03-14 19:26:37 +08:00
yun-zhi-ztl
553a72eeb1 fix(token): center copy feedback toast 2026-03-14 19:24:29 +08:00
yun-zhi-ztl
33abb1133e feat(skill): add back button on detail page 2026-03-14 19:22:23 +08:00
yun-zhi-ztl
7eb88356cd fix(search): align skill card metadata rows 2026-03-14 19:20:53 +08:00
yun-zhi-ztl
73550c0b06 feat(login): add password visibility toggle 2026-03-14 19:18:39 +08:00
yun-zhi-ztl
0b576e3f59 fix(search): wrap long empty-state descriptions 2026-03-14 19:16:25 +08:00
yun-zhi-ztl
28702bbbab Merge pull request #24 from iflytek/feature/project-local
feat(auth): polish extensible login compatibility
2026-03-14 04:08:44 -07:00
yun-zhi-ztl
a5d6b6246b fix(auth): localize login errors and align API error handling 2026-03-14 19:05:20 +08:00
yun-zhi-ztl
188f6108d1 feat(auth): improve extensible login method metadata 2026-03-14 18:52:35 +08:00
yun-zhi-ztl
3f1985da46 fix(web): adapt header controls to landing theme 2026-03-14 18:19:41 +08:00
yun-zhi-ztl
c08fd7306b fix(web): align language switcher text color 2026-03-14 18:18:08 +08:00
yun-zhi-ztl
1407e335c2 Merge pull request #2 from iflytek/feature/project-review
review: fix device auth, review permissions, and publish state flow
2026-03-14 03:09:33 -07:00
wowo
0a5a1fccd5 Merge pull request #22 from iflytek/feat/agent-parallel-workflow
feat(dev): add Claude + Codex parallel workflow support
2026-03-14 18:09:24 +08:00
wowo-zZ
e78f7f803a feat(dev): add Claude + Codex parallel workflow support
Add infrastructure for running Claude and Codex agents in parallel
without conflicts, using isolated git worktrees and shared Docker
dependencies.

Changes:
- Add agent-worktrees and agent-sync Makefile targets
- Pin Docker Compose project names to enable worktree isolation
- Add setup-agent-worktrees.sh script for creating parallel worktrees
- Add sync-agent-integration.sh script for merging agent branches
- Document parallel workflow in 13-agent-parallel-workflow.md
- Update dev-workflow.md with worktree usage guide

Benefits:
- Prevents agents from overwriting each other's work
- Shares dependency containers across worktrees (Postgres/Redis/MinIO)
- Reserves localhost:3000 for integration verification only
- Provides clear merge and recovery procedures
2026-03-14 18:01:12 +08:00
yun-zhi-ztl
142685610a fix(test): update ReviewPermissionCheckerTest for stricter self-review policy
After merge, HEAD's ReviewPermissionChecker prohibits all self-review
(including SKILL_ADMIN/SUPER_ADMIN). Updated tests to reflect this
stricter security model from A2.
2026-03-14 17:52:56 +08:00
yun-zhi-ztl
a6cf862e8e merge(main): sync latest origin/main into feature/project-review
Resolved 9 conflicts according to documented strategy:
- .gitignore: kept both entries (docs/review/ + CLAUDE.md)
- ClawHubCompatController.java: manual merge (use @AuthenticationPrincipal + platformRoles)
- ClawHubCompatControllerTest.java: kept ours (HEAD security tests)
- CliControllerTest.java: kept ours (HEAD platform roles tests)
- ReviewPermissionChecker.java: kept ours (stricter permission model)
- SkillPublishService.java: kept theirs (main SUPER_ADMIN bypass + events)
- SkillPublishServiceTest.java: kept theirs (main complete test suite)
- router.tsx: manual merge (HEAD's createLazyRouteComponent + main's privacy/terms)
- markdown-renderer.tsx: kept ours (HEAD frontmatter stripping + styles)

All A1-A9 security fixes preserved. No new logic introduced.
2026-03-14 17:50:38 +08:00
yun-zhi-ztl
21a6cf72b8 Merge pull request #21 from iflytek/feature/project-local
feat(web): add landing page header nav and local dev improvements
2026-03-14 02:38:52 -07:00
yun-zhi-ztl
d64c92f4cf fix(web): use light text colors for landing page header nav
Override LanguageSwitcher, UserMenu, and login link text colors
to slate-200/300 so they are visible on the dark landing background.
2026-03-14 17:36:56 +08:00
yun-zhi-ztl
fd790a9610 feat(web): add header nav to landing page and local dev improvements
- Add sticky header with LanguageSwitcher and UserMenu to landing page
- Update token dialog and i18n translations
- Fix dev process script and compose release config
- Remove stale skillhub submodule reference
2026-03-14 17:32:47 +08:00
yun-zhi-ztl
cfc296181f fix : temp debug 2026-03-14 17:32:47 +08:00
wowo
b96126a267 Merge pull request #20 from iflytek/bugfix/require-auth-for-download
fix: require authentication for downloads and fix download count increment
2026-03-14 17:22:38 +08:00
yun-zhi-ztl
3a5e03fd63 Merge pull request #5 from iflytek/feature/projcet-clawhub
feat: add ClawHub registry compatibility layer for public skill installation
2026-03-14 02:21:06 -07:00
wowo
daecc2d6cf Merge pull request #19 from iflytek/feat/legal-pages-and-links
feat(web): add privacy policy and terms pages
2026-03-14 17:15:46 +08:00
wowo_zZ
41b0f8ce1b feat(web): add legal pages and footer links 2026-03-14 17:14:16 +08:00
wowo-zZ
871278d43a fix(infra): add @Transactional to incrementDownloadCount
The @Modifying query requires a transaction context to execute.
Adding @Transactional at the repository method level ensures the
update query runs within a transaction, even when called from
async event listeners.

This fixes the issue where download counts were not being incremented
after skill downloads due to TransactionRequiredException.
2026-03-14 17:03:58 +08:00
wowo-zZ
56e7baed15 fix(auth): require authentication for skill downloads
- Remove download endpoints from permitAll list in SecurityConfig
- Add authentication checks to download tests
- Add login redirect for unauthenticated download attempts in frontend

This prevents unauthorized access to skill package downloads while
maintaining public access to skill metadata and file listings.
2026-03-14 16:54:10 +08:00
yun-zhi-ztl
1de9ace2b6 Update compose.release.yml
Change the profile default configuration

Signed-off-by: yun-zhi-ztl <66589705+yun-zhi-ztl@users.noreply.github.com>
2026-03-14 16:46:18 +08:00
wowo-zZ
b886bd8aed chore(ci): trigger image publish only on release events
- Change workflow trigger from push events to release published events
- Remove automatic builds on main branch merges
- Keep manual workflow_dispatch option for flexibility
2026-03-14 16:08:35 +08:00
wowo
8194e821f8 Merge pull request #16 from iflytek/fix/v7-migration-jsonb-type
feat: add explore link to navbar and fix logout/migration issues
2026-03-14 16:02:33 +08:00
wowo-zZ
e97752735c fix(auth): improve logout flow to always redirect to home
- Use window.location.href for full page refresh
- Move redirect to finally block to ensure it always executes
- Fix V7 migration to be a no-op since column is already jsonb
2026-03-14 15:40:53 +08:00
wowo-zZ
611253fe21 feat(nav): add explore link to navbar with responsive design
- Group Logo and main nav links on the left
- Add explore link pointing to /search
- Use hidden md:flex for mobile responsiveness
- Maintain consistent spacing (gap-8 for Logo-nav, gap-6 for nav links)
2026-03-14 15:40:53 +08:00
wowo-zZ
39fc20f124 feat(i18n): add English translation for explore nav link 2026-03-14 15:40:53 +08:00
wowo-zZ
7f481cb958 feat(i18n): add Chinese translation for explore nav link 2026-03-14 15:40:53 +08:00
wowo
bd87e701cf Merge pull request #14 from iflytek/feat/optimize-staging-build
feat: optimize development workflow with fast local dev and staging environments
2026-03-14 14:27:48 +08:00
wowo
58ca1d0c9e Merge pull request #13 from iflytek/fix/allow-anonymous-skill-detail-view
fix(web): improve anonymous user experience on skill detail page
2026-03-14 14:27:10 +08:00
wowo
f991e9041f Merge pull request #12 from iflytek/docs/add-claude-code-instructions
docs: add Claude Code development instructions
2026-03-14 14:26:45 +08:00
wowo
987fa80bbf Merge pull request #11 from iflytek/fix/storage-permission-and-audit-log-jsonb
fix(ops): resolve storage permission and audit log JSONB type issues
2026-03-14 14:26:26 +08:00
wowo-zZ
5581bd6f06 feat(staging): optimize staging build with local Maven packaging
- Add server/Dockerfile.dev for fast local builds (JRE-only, ~70MB)
- Modify staging target to build JAR locally before Docker image
- Update .dockerignore to allow target/ directory for Dockerfile.dev
- Build time reduced from 17+ minutes to ~4 seconds
- Reuses local Maven cache (~/.m2/repository) instead of downloading in Docker
2026-03-14 14:21:06 +08:00
wowo-zZ
5254cd155e update 2026-03-14 13:54:39 +08:00
wowo-zZ
175b6c44c9 docs: add dev-workflow guide covering local dev, staging, and PR creation 2026-03-14 13:31:47 +08:00
wowo-zZ
2f639f1098 feat(staging): add staging and pr make targets 2026-03-14 13:30:32 +08:00
wowo-zZ
72b2802a21 feat(staging): add hybrid staging docker-compose 2026-03-14 13:30:24 +08:00
wowo-zZ
25477398b5 feat(dev): add dev-status and dev-logs make targets 2026-03-14 13:28:28 +08:00
wowo-zZ
797cfc5272 feat(dev): add Spring Boot DevTools for fast restart in local dev 2026-03-14 13:23:50 +08:00
wowo-zZ
fb15c53920 docs(plan): add dev workflow optimization implementation plan 2026-03-14 13:20:38 +08:00
wowo-zZ
798872f09a fix(web): improve anonymous user experience on skill detail page
- Add proper error handling for skill detail API errors
- Show friendly login prompt when anonymous users access private skills
- Show access denied message when authenticated users lack permission
- Add i18n translations for new error messages (en/zh)

This allows anonymous users to view PUBLIC skills while providing
clear guidance when they encounter private or restricted content.
2026-03-14 12:01:21 +08:00
wowo-zZ
01c5d43625 feat(web): add SkillHub logo as browser favicon
Add favicon.svg to web/public directory and configure it in index.html
to display the SkillHub logo in browser tabs.
2026-03-14 11:45:55 +08:00
wowo-zZ
d631b0e20a fix(ops): resolve storage permission and audit log JSONB type issues
Fixes two critical issues when deploying with runtime.sh:

1. Storage Permission Error
   - Problem: AccessDeniedException when publishing skills
   - Root cause: /var/lib/skillhub/storage owned by root, but app runs as 'app' user
   - Solution: Pre-create storage directory with correct permissions in Dockerfile

2. Audit Log JSONB Type Error
   - Problem: PostgreSQL JSONB type mismatch when recording audit logs
   - Root cause: Missing type mapping annotation in AuditLog entity
   - Solution: Add @JdbcTypeCode(SqlTypes.JSON) annotation and V7 migration

Changes:
- server/Dockerfile: Add storage directory creation and permission setup
- server/skillhub-domain/.../AuditLog.java: Add @JdbcTypeCode annotation
- server/skillhub-app/.../V7__fix_audit_log_jsonb_type.sql: Migration for existing data

Impact:
- New deployments: Issues resolved automatically
- Existing deployments: Flyway auto-applies V7 migration on upgrade
2026-03-14 11:23:19 +08:00
wowo
4ec0de90b9 Merge pull request #9 from FenjuFu/main
docs: add Usage with Agent Platforms section to README (#1)
2026-03-13 21:08:12 +08:00