mirror of
https://github.com/xheldon/git-folder-sync.git
synced 2026-07-22 06:59:00 +00:00
Update plugin ID and name to 'git-folder-sync'
- Changed plugin ID from 'git-sync' to 'git-folder-sync' - Updated plugin name to 'Git Folder Sync' consistently - Updated cache key to match new ID - Bumped version to 1.0.1 - Updated all documentation and i18n strings
This commit is contained in:
parent
d948d026eb
commit
668de78e6f
9 changed files with 25 additions and 17 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
|
@ -5,11 +5,18 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.0.1] - 2024-12-19
|
||||
|
||||
### Changed
|
||||
- Updated plugin name from "Git Sync" to "Git Folder Sync" for better clarity
|
||||
- Consistent naming across all files and documentation
|
||||
- Updated internationalization strings
|
||||
|
||||
## [1.0.0] - 2024-12-19
|
||||
|
||||
### Added
|
||||
|
||||
- Initial release of Git Sync plugin
|
||||
- Initial release of Git Folder Sync plugin
|
||||
- Git synchronization with GitHub repositories
|
||||
- Support for folder-specific sync (not entire repository)
|
||||
- Image upload to cloud storage services:
|
||||
|
|
@ -29,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
### Features
|
||||
|
||||
- **Git Sync**: Bidirectional synchronization with GitHub
|
||||
- **Git Folder Sync**: Bidirectional synchronization with GitHub
|
||||
- **Image Processing**: Paste images and automatically upload to cloud storage
|
||||
- **Internationalization**: Full Chinese and English support
|
||||
- **Mobile Support**: Works on both desktop and mobile devices
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Git Sync Obsidian Plugin
|
||||
# Git Folder Sync Obsidian Plugin
|
||||
|
||||
An Obsidian plugin that supports synchronization with GitHub repositories, built with a modern interface and hot reload development support.
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ An Obsidian plugin that supports synchronization with GitHub repositories, built
|
|||
1. Download the latest release files
|
||||
2. Extract files to your Obsidian plugins directory: `{vault}/.obsidian/plugins/git-folder-sync/`
|
||||
3. Restart Obsidian
|
||||
4. Enable the "Git Sync" plugin in settings
|
||||
4. Enable the "Git Folder Sync" plugin in settings
|
||||
|
||||
### Development Installation
|
||||
|
||||
|
|
@ -134,7 +134,7 @@ Click the settings icon in the left sidebar to open the configuration interface,
|
|||
While editing notes, you can access the sync menu through:
|
||||
|
||||
1. Command palette: `Ctrl/Cmd + P` → Search for "Show Sync Menu"
|
||||
2. Right-click in editor → Select "Git Sync"
|
||||
2. Right-click in editor → Select "Git Folder Sync"
|
||||
3. Status bar sync button (bottom right)
|
||||
|
||||
Menu options:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
1. 下载最新的 release 文件
|
||||
2. 将文件解压到你的 Obsidian 插件目录:`{vault}/.obsidian/plugins/git-folder-sync/`
|
||||
3. 重启 Obsidian
|
||||
4. 在设置中启用"Git Sync"插件
|
||||
4. 在设置中启用"Git Folder Sync"插件
|
||||
|
||||
### 开发安装
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { FileCache, FileCacheManager } from './types';
|
|||
|
||||
export class FileCacheService implements FileCacheManager {
|
||||
private cache: Map<string, FileCache> = new Map();
|
||||
private readonly CACHE_KEY = 'git-sync-file-cache';
|
||||
private readonly CACHE_KEY = 'git-folder-sync-file-cache';
|
||||
private readonly DEFAULT_CACHE_AGE = 5 * 60 * 1000; // 5 minutes cache validity period
|
||||
|
||||
constructor() {
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ const translations = {
|
|||
},
|
||||
en: {
|
||||
// Settings interface
|
||||
'settings.title': 'Git Sync Settings',
|
||||
'settings.title': 'Git Folder Sync Settings',
|
||||
'settings.language.name': 'Interface Language',
|
||||
'settings.language.desc': 'Select the display language for the plugin interface',
|
||||
'settings.language.auto': 'Follow Obsidian',
|
||||
|
|
@ -378,7 +378,7 @@ const translations = {
|
|||
'status.bar.synced': 'Synced',
|
||||
|
||||
// Plugin info
|
||||
'plugin.name': 'Git Sync',
|
||||
'plugin.name': 'Git Folder Sync',
|
||||
'command.show.sync.menu': 'Show Sync Menu',
|
||||
|
||||
// Test URL results
|
||||
|
|
|
|||
6
main.js
6
main.js
|
|
@ -526,7 +526,7 @@ var init_i18n_simple = __esm({
|
|||
},
|
||||
en: {
|
||||
// Settings interface
|
||||
"settings.title": "Git Sync Settings",
|
||||
"settings.title": "Git Folder Sync Settings",
|
||||
"settings.language.name": "Interface Language",
|
||||
"settings.language.desc": "Select the display language for the plugin interface",
|
||||
"settings.language.auto": "Follow Obsidian",
|
||||
|
|
@ -686,7 +686,7 @@ var init_i18n_simple = __esm({
|
|||
"status.bar.local.modified": "Local modified",
|
||||
"status.bar.synced": "Synced",
|
||||
// Plugin info
|
||||
"plugin.name": "Git Sync",
|
||||
"plugin.name": "Git Folder Sync",
|
||||
"command.show.sync.menu": "Show Sync Menu",
|
||||
// Test URL results
|
||||
"test.url.user": "User",
|
||||
|
|
@ -4598,7 +4598,7 @@ var FileCacheService = class {
|
|||
// 5 minutes cache validity period
|
||||
constructor() {
|
||||
this.cache = /* @__PURE__ */ new Map();
|
||||
this.CACHE_KEY = "git-sync-file-cache";
|
||||
this.CACHE_KEY = "git-folder-sync-file-cache";
|
||||
this.DEFAULT_CACHE_AGE = 5 * 60 * 1e3;
|
||||
this.loadCacheFromStorage();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "git-sync",
|
||||
"name": "Obsidian Git Folder Sync & Image Upload",
|
||||
"version": "1.0.0",
|
||||
"id": "git-folder-sync",
|
||||
"name": "Git Folder Sync",
|
||||
"version": "1.0.1",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Synchronize files in your Obsidian Vault with a specified directory in the designated GitHub repository (rather than the entire repository); send your images to cloud storage services.",
|
||||
"author": "Xheldon",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "git-folder-sync",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Synchronize files in your Obsidian Vault with a specified directory in the designated GitHub repository (rather than the entire repository); send your images to cloud storage services.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
"1.0.0": "0.15.0"
|
||||
"1.0.0": "0.15.0",
|
||||
"1.0.1": "0.15.0"
|
||||
}
|
||||
Loading…
Reference in a new issue