Commit Graph

13 Commits

Author SHA1 Message Date
jonny c4da5f790a Update Memos version support text
Refresh the changelog and localized compatibility strings to reflect support for Memos 0.28.x-0.30.x, and correct the older image preview note to 0.19.x-0.23.x.
2026-08-05 17:20:16 +08:00
jonny 1361cc15db Fix tags display and Memos API compatibility issues
Fix the tags not displaying issue by querying both /tag/suggestion and /tag endpoints and merging results. Simplify v0.23 filter to avoid 400 errors from numeric ID requirements. Add v0.18.2 support via numeric ID fallback in getMemoUid. Improve v0.23+ resource URL handling and add better error handling with debug logging for tags and random features.
2026-08-05 17:07:59 +08:00
jonny afbb7ac5cc Fix 0.20.x image preview URLs by prioritizing uid check
Reorder fallback checks in buildV1ResourceStreamUrl to prioritize uid-like identifiers before numeric IDs. This fixes image preview URLs in Memos 0.20.x that incorrectly used numeric IDs instead of proper UIDs. Applied to Chrome, Edge, and Firefox extensions. Updated changelog accordingly.
2026-08-05 12:19:16 +08:00
Windyskr 5b0483007a fix: 对齐 Memos 0.29 更新接口 2026-08-05 00:30:09 +08:00
Windyskr e4529814a4 fix: 适配 Memos 0.29.x 附件 API 2026-08-05 00:06:19 +08:00
jonny e65a2a1878 Update manifest.json 2026-04-24 18:56:03 +08:00
jonny 3d995079f4 Add German, French, and Spanish localization
Add DE/FR/ES support across Chrome, Edge and Firefox builds: new _locales message files for de, fr, es. Include dayjs locale bundles (de.js, fr.js, es.js) and load them in popup.html. Update i18n.js to register new languages and labels, update oper.js to apply the corresponding dayjs locale (including auto-detection), add language buttons to the popup UI, bump manifest version, and record the change in change.log.
2026-04-24 18:50:18 +08:00
jonny 4bdd3fb364 Bump extension manifest versions to 2026.04.24
Update version strings in extension manifests to reflect the new release date. chrome/manifest.json and edge/manifest.json: 2026.04.23 -> 2026.04.24; firefox/manifest.json: 2026.4.23 -> 2026.4.24. No other functional changes.
2026-04-23 10:47:29 +08:00
jonny 88c92652c3 Add Edge extension and update release workflow
Add a complete Edge extension under edge/ (manifest, popup, CSS, JS, locales, assets, LICENSE) and a change.log. Update README with Edge/mobile notes and simplify content. Update GitHub Actions workflow to read edge/manifest.json version, package Edge builds, and include Edge asset in the release summary (also bump default release_tag). Minor update to firefox/js/oper.js and include .DS_Store change.
2026-04-23 10:46:27 +08:00
jonny 235401a14a Update README Firefox link; add .DS_Store files
Update README.md to replace the previous "等待上架" Firefox status with the actual add-on URL (审核中): https://addons.mozilla.org/zh-CN/firefox/addon/memos-bber/. Add macOS .DS_Store metadata files at repository root and firefox/ (binary files).
2026-04-22 19:42:03 +08:00
jonny 79f1c8047a Update manifest.json 2026-04-22 19:24:24 +08:00
jonny 8f4b64a13f Firefox: add icons, rewrite viewer, update manifest
Add Firefox icon assets and update manifest to use the new icon files and opt-out data_collection_permissions. Replace minified view-image.js with a modern, readable implementation (style injection, accessible controls, keyboard navigation, and better DOM handling). Simplify background popup logic to call chrome.browserAction.openPopup directly. Remove the packaging section from README to clean up docs.
2026-04-22 19:15:49 +08:00
jonny d307741f1f Add packaging workflow and browser dist
Add a GitHub Actions workflow (package-extensions.yml) to build and upload Chrome/Firefox packages (store and offline artifacts) on manual trigger or when pushing v* tags. Update README with packaging instructions. Reorganize extension sources into chrome/ and firefox/ directories, add Firefox-specific files (manifest, locales, assets, CSS, LICENSE), and bump Chrome manifest version to 2026.04.23. Also modify js/oper.js (moved to chrome/js) to improve proportional editor resizing: add drag-to-resize, scale clamping/persistence (localStorage + chrome.storage.sync), pointer event handlers, and max-scale computation.
2026-04-22 18:53:42 +08:00