Skip to content

Add WordPress Docker downloads plugin with Docker Hub API integration - #289

Merged
makr-code merged 6 commits into
developfrom
copilot/add-wordpress-docker-download-plugin
Jan 8, 2026
Merged

makr-code merged 6 commits into
developfrom
copilot/add-wordpress-docker-download-plugin

Conversation

Copilot AI commented Jan 8, 2026 •

Copy link
Copy Markdown
Contributor

Implements WordPress plugin to display ThemisDB Docker images from Docker Hub, mirroring the existing GitHub downloads plugin architecture.

Implementation

Core Components

  • class-dockerhub-api.php - Docker Hub API client with tag fetching, multi-architecture digest parsing, and transient-based caching
  • class-admin.php - Settings panel for namespace/repository config, connection testing, cache management
  • class-shortcodes.php - [themisdb_docker_tags] with 3 display styles (default/compact/table) and architecture filtering

Frontend

  • Modern Clipboard API with execCommand fallback for copy functionality
  • Modal dialog for full SHA256 digest display (replaces alert)
  • Responsive CSS for all device sizes
  • Platform-specific icons for amd64/arm64/arm/i386/ppc64le/s390x

Security

  • URL encoding for API parameters (urlencode() on namespace/repository)
  • Output escaping (esc_html, esc_attr, esc_url)
  • Nonce verification for AJAX endpoints
  • Inline error notifications instead of alerts

Usage

// Display latest Docker tag with all architectures
[themisdb_docker_tags]

// Table view filtered to arm64 images
[themisdb_docker_tags architecture="arm64" style="table"]

// Compact list of all available tags
[themisdb_docker_tags show="all" style="compact" limit="5"]

Files Created

themisdb-docker-downloads/
├── themisdb-docker-downloads.php
├── includes/
│   ├── class-dockerhub-api.php     (176 LOC)
│   ├── class-admin.php             (279 LOC)
│   └── class-shortcodes.php        (309 LOC)
├── assets/{css,js}/
└── README.md, INSTALLATION.md, CHANGELOG.md

Total: 2,016 lines across 13 files. CodeQL security scan: 0 alerts.

Original prompt

Wir brauchen ein wordpress docker download plugin analog zum github download plugin


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add WordPress Docker download plugin similar to GitHub download Add WordPress Docker downloads plugin with Docker Hub API integration Jan 8, 2026
Copilot AI requested a review from makr-code January 8, 2026 14:28
@makr-code
makr-code marked this pull request as ready for review January 8, 2026 14:31
@makr-code
makr-code merged commit 760989b into develop Jan 8, 2026
@makr-code makr-code added this to the v1.0.2 milestone Mar 11, 2026
Copilot AI added a commit that referenced this pull request May 20, 2026
- Add RerouteSerializeFn tests (stub #252)
- AstVisitorFn bridge: TensorAwareQueryOptimizer (stub #275)
- ExactSimilarityFn bridge: TensorFingerprintGraph (stub #276)
- [[deprecated]] attribute: ggmlCorePtrs (stub #277)
- RpcPhase2Fn bridge: DistributedTransactionManager (stub #279)
- AuthorizeFn bridge: RopeApiHandler RBAC (stub #280)
- HttpPostFn bridge: AIPluginGenerator (stub #282)
- HTToTTFn bridge: HTTrain (stub #286)
- ModelPathProviderFn bridge: LoRATrainingService (stub #289)
- AllReduceCpuFn bridge: DistributedTrainer (stub #290)
- NlpContextFn bridge: AdaptiveShardRouter (stub #291)
- StringArrayFn bridge: PropertyGraphManager (stub #292)
- SchemaInspectorFn/SchemaValidatorFn: ImportApiHandler (stub #294)
- Lz4CompressFn/Lz4DecompressFn: SecureTransportClient (stub #295)
- SpamKeywordsProviderFn: FeedbackStore (stub #296)
- MODIFY path fix: FeedbackStore validateWithPlugin (stub #297)
- shared_ptr ResponseBuffer RAII: Http2Session (stub #298)
- ModelPathProviderFn: ThemisHelpLoRA Config (stub #299)
- IngestExternalFileFn: BackupManager (stub #300)
- StatsQueryFn: RopeApiHandler (stub #307)
- Update STUB_INVENTORY.md: 272->292 resolved, 44->24 active

Co-authored-by: Copilot <[email protected]>

Co-authored-by: makr-code <[email protected]>
Copilot AI added a commit that referenced this pull request Aug 17, 2026
- BATCH_5_GAP_ANALYSIS_AND_FIX_PLAN.md: Complete analysis of 67 gaps across 6 files
  - 2 CRITICAL gaps (blocking release)
  - 18 HIGH severity gaps (v1.0.1 priorities)
  - 47 MEDIUM gaps (post-GA)
  - Detailed fix approaches and implementation strategies

- BATCH_5_QUICK_REFERENCE.md: Quick checklist for developers
  - Gap inventory by type and severity
  - Implementation schedule (4 phases, ~34 days)
  - Commit strategy (3-4 batches covering 67 gaps)
  - Validation checklist and risk matrix

- BATCH_5_IMPLEMENTATION_TEMPLATES.md: Copy-paste ready code templates
  - Template 1: GPU device error recovery with retry logic
  - Template 2: GPU cleanup with fallback mechanism
  - Template 3: Transactional P2P access setup
  - Template 4: Safe stream synchronization
  - Template 5: Safe NCCL/RCCL collective operations
  - Template 6: Unified simulation/production path handling
  - Template 7: Hierarchical model fallback chain (stub #289)
  - Template 8: Doxygen documentation pattern

**Gap Summary:**
- Total gaps identified: 67
- Gaps by category: Sim(43), Stub(10), TODO(7), Mock(6), Unimpl(1)
- CRITICAL blockers: 2 (stub #289, REL-73)
- HIGH priority: 18 (device mgmt, P2P, collectives)
- MEDIUM: 47 (simulation paths + stubs)

**Key Dependencies:**
- stub #289 (model fallback) depends on caching infrastructure
- REL-40/41 should use unified retry framework
- REL-42-45 form transaction (fix together)
- 43 simulation paths should follow consistent pattern

**Quality Gates:**
- No new compiler warnings
- ASan/UBSan/TSan clean
- 100% test pass rate
- No performance regression
- Full Doxygen documentation

Co-authored-by: Copilot <[email protected]>

Co-authored-by: makr-code <[email protected]>
Copilot AI added a commit that referenced this pull request Aug 17, 2026
**Analysis Complete Summary:**

- 6 files analyzed (6,602 lines of code)
- 67 gaps identified and categorized
- 2 CRITICAL gaps (blocking GA release)
- 18 HIGH severity gaps (v1.0.1 priorities)
- 47 MEDIUM gaps (post-GA remediation)

**Key Findings:**
1. stub #289 (model fallback) - Complete feature failure risk
2. REL-73 (GPU cleanup) - Security vulnerability
3. REL-42-45 (P2P setup) - Data corruption in multi-GPU
4. REL-69-72 (collectives) - Silent data corruption in distributed training

**Deliverables Ready:**
✅ BATCH_5_EXECUTIVE_SUMMARY.md - This document (high-level overview)
✅ BATCH_5_GAP_ANALYSIS_AND_FIX_PLAN.md - Detailed analysis (20.9 KB)
✅ BATCH_5_QUICK_REFERENCE.md - Developer checklist (10.9 KB)
✅ BATCH_5_IMPLEMENTATION_TEMPLATES.md - Code templates (22.9 KB)

**Implementation Roadmap:**
- Phase 1: CRITICAL + HIGH (20 gaps, ~20 days)
- Phase 2: MEDIUM stubs (10 gaps, ~16 days)
- Phase 3: Simulation paths (43 gaps, ~10 days)
- Phase 4: Validation & docs (~10 days)

**Total LOE:** ~34 days @ 5 people

**Commit Strategy:** 3-4 large batches (50+ gaps per commit as requested)

**Next:** Ready for implementation phase

Co-authored-by: Copilot <[email protected]>

Co-authored-by: makr-code <[email protected]>
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