Commit graph

3 commits

Author SHA1 Message Date
feibisi
fb4c759459 Update block icons, favicon logic, and translations
Changed block icon from 'admin-links' to 'embed-generic' and updated related dashicon classes in block.js. Updated CSS for placeholder icon display. In git-embed-feicode.php, switched all favicon URLs to use cn.cravatar.com for better reliability, improved owner type detection logic, and bumped plugin version to 1.1.0. Updated and regenerated Chinese translation files to reflect UI and terminology changes.
2025-08-14 11:35:48 +08:00
feibisi
8beaadc3bc Add i18n and release-aware download for repo card
This update adds internationalization to all user-facing strings in the block editor UI and repository card, and refactors download logic to support release ZIPs and branch ZIPs for GitHub, GitLab, Gitea, Forgejo, and custom platforms. The PHP backend now fetches release info, generates appropriate download URLs and filenames, and improves caching and debug logging. The block UI and card rendering are updated to use translated strings and new download button logic.
2025-08-01 01:12:42 +08:00
feibisi
d04f2c7940 Support more platforms and improve avatar handling
Added support for GitLab, Gitea, Forgejo, and custom/self-hosted Git services. Improved avatar logic to prioritize repository avatars, updated UI to reflect avatar source, simplified download URL generation, and enhanced localization and language support. Refactored code structure and updated styles for better appearance and responsiveness.
2025-07-31 17:49:25 +08:00
Renamed from block.js (Browse further)