87a903b4b5
启用默认的远程图片URL选项,允许用户在发布时使用远程图片链接。
2025-07-12 02:06:01 +08:00
c7dcbe779b
1.0.23
2025-07-12 01:59:45 +08:00
167794ce4c
移除版本更新通知功能及相关模态框,简化代码结构。更新国际化文件,删除与更新通知相关的文本。调整主文件导入内容,去除不再使用的功能。
2025-07-12 01:59:25 +08:00
e56a479a45
新增远程图片URL替换功能,允许用户在发布后将本地图片链接替换为Discourse上的远程URL。
...
新增支持markdown格式引用本地图片的上传.
2025-07-12 01:54:44 +08:00
4900f26222
1.0.22
1.0.22
2025-07-11 23:55:13 +08:00
9914ca9fd8
新增版本更新通知功能,包含更新提示模态框样式和逻辑,用户首次运行新版本时将显示更新通知,提示用户重新配置 User-API-Key。更新国际化文件以支持多语言提示。
2025-07-11 23:55:04 +08:00
b98cb24e56
1.0.21
1.0.21
2025-07-11 23:39:07 +08:00
16a33d0572
更新 README.md,修改配置项描述为“User Api key”,并优化样式文件,新增设置页面样式以提升用户体验。同时,简化 API 请求头的设置逻辑,确保始终使用 User-Api-Key 进行请求。
2025-07-11 23:31:49 +08:00
wood chen
8388c35baa
Merge pull request #22 from cumany/main
...
增加user-api-key 设置选项,支持用户自助获取。
2025-07-11 22:24:54 +08:00
cumany
441d9c3688
增加user-api-key 设置选项,支持用户自助获取。
2025-07-11 22:08:17 +08:00
48cbc72c4a
更新 GitHub Actions 工作流,简化发布说明生成逻辑,移除自定义发布说明的条件判断,始终以草稿形式创建发布。
2025-06-20 21:26:01 +08:00
e4f73f5a6b
1.0.20
1.0.20
2025-06-20 21:23:30 +08:00
b24bf09efc
feat: 新增分类冲突处理功能,用户在本地分类与远程分类不同时可选择使用哪一分类。更新样式以支持分类冲突确认对话框,并在国际化文件中添加相关文本。更新 GitHub Actions 工作流以生成发布说明。
2025-06-20 21:23:19 +08:00
069ce44978
1.0.19
1.0.19
2025-06-20 21:06:31 +08:00
25982b1541
优化样式文件,统一使用 CSS 变量以提高可维护性,增强按钮和通知的可见性,添加过渡效果,确保在不同主题下的兼容性。
2025-06-20 21:04:52 +08:00
48609ce681
1.0.18
1.0.18
2025-04-03 17:08:08 +08:00
2f32fca358
更新 fetchCategories 方法,添加 include_subcategories 参数以获取子分类信息
2025-04-03 17:07:51 +08:00
9c6157625a
更新 README.md,移除冗余的表达优化说明
2025-03-24 21:01:27 +08:00
71267c53f1
1.0.17
1.0.17
2025-03-19 13:16:30 +08:00
0c97380a32
新增跳过一级标题选项,优化发布到 Discourse 的内容处理
...
- 在配置中添加 skipH1 字段,默认为 false
- 更新发布逻辑,支持根据设置跳过 Markdown 中的 H1 标题
- 添加相应的国际化支持,包括英文和中文描述
2025-03-19 13:16:11 +08:00
57863bb962
1.0.16
1.0.16
2025-03-10 20:09:24 +08:00
d6221a4f91
新增主题信息获取功能,完善 Discourse 同步机制
...
- 在 DiscourseAPI 中添加 fetchTopicInfo 和 fetchTopicTags 方法
- 更新发布流程,支持从 Discourse 同步最新标签和分类信息
- 在更新帖子时自动获取并同步 Discourse 上的标签和分类
- 扩展 Front Matter,新增 discourse_category_id 和 discourse_category 字段
- 优化更新逻辑,确保本地文件与 Discourse 内容保持一致
2025-03-10 20:09:08 +08:00
53d30650b5
1.0.15
1.0.15
2025-03-10 19:54:00 +08:00
862c42da61
重构标签处理逻辑,移除配置中的固定标签设置
...
- 从配置中删除 selectedTags 字段
- 在 ActiveFile 接口中新增 tags 属性
- 调整标签处理流程,从文件的 Front Matter 获取标签
- 更新发布和更新帖子时的标签处理方式
- 优化标签选择和保存机制
2025-03-10 19:53:32 +08:00
cc1e06ec5c
重构插件架构,解耦主要功能模块
...
- 将主类拆分为多个专注的模块,如 DiscourseAPI、EmbedHandler
- 重命名主类为 PublishToDiscourse,提高语义清晰度
- 抽取通用工具函数到独立模块
- 优化代码结构,提高可维护性和可读性
- 调整 Front Matter 处理和嵌入内容处理逻辑
2025-03-10 19:33:50 +08:00
310be30030
1.0.14
1.0.14
2025-03-07 21:55:15 +08:00
08ad35babe
回退图片部分正则表达式, 保留activefile修改
2025-03-07 21:54:58 +08:00
836c9d9661
1.0.13
2025-03-07 21:34:52 +08:00
9152aa5d60
1.0.12
1.0.12
2025-03-07 15:23:54 +08:00
d3b678fc81
修复 activeFile 处理逻辑,增强文件选择和模态框稳定性
...
- 在打开类别模态框前确保 activeFile 正确初始化
- 添加对未选择文件场景的错误处理
- 在类别选择模态框中增加 activeFile 存在性检查
- 提升插件在不同文件选择状态下的健壮性
2025-03-07 15:23:28 +08:00
9ca83b1d15
1.0.11
1.0.11
2025-03-07 07:10:29 +08:00
502196429a
添加 API 密钥测试功能
...
- 在设置页面新增"测试连接"按钮
- 实现 testApiKey 方法验证 Discourse API 凭据
- 添加连接测试的成功和失败消息处理
- 更新中英文国际化文案支持新功能
2025-03-07 07:10:02 +08:00
6338c736ca
1.0.10
1.0.10
2025-03-06 21:52:25 +08:00
ce8b608b8c
优化帖子更新逻辑,支持同时更新帖子内容和主题信息
...
- 分离帖子内容和主题更新流程
- 添加对主题标题和标签的单独更新支持
- 改进错误处理和响应处理机制
- 在标签选择模态框中添加更新时的标签初始化
2025-03-06 21:52:07 +08:00
049162579c
1.0.9
1.0.9
2025-03-01 20:50:32 +08:00
2c952865c2
更新赞助链接并添加中英文对照说明
2025-03-01 20:50:16 +08:00
4534eccf0d
Merge branch 'mcerv-sci-support-embedded-notes'
2025-03-01 20:31:58 +08:00
mcerv-sci
54d1b95660
Adding a routine that expands all embedded linked notes into the content variable using a recursive approach
2025-02-24 18:00:55 +01:00
30434e1fcc
1.0.8
1.0.8
2025-02-16 16:53:26 +08:00
wood chen
6240b15a6e
Update README.md
2025-02-16 16:52:12 +08:00
29dd480242
Add "Open in Discourse" feature
...
- Implement command to open published Discourse post directly from Obsidian
- Update frontmatter to store topic ID and Discourse URL
- Add internationalization support for new feature
- Update README with new keyboard shortcut instructions
2025-02-16 16:51:19 +08:00
ac7efabc98
1.0.7
1.0.7
2025-02-05 13:30:33 +08:00
898496007f
Use frontmatter title as post title when available
...
- Modify post title generation to prefer frontmatter title
- Fallback to filename if no frontmatter title is present
2025-02-05 13:29:57 +08:00
8f31ae8f96
1.0.6
1.0.6
2025-02-03 23:07:37 +08:00
f27ada6a4e
Add internationalization (i18n) support
...
- Introduced i18n framework with translation support
- Updated config, main, and styles files to use translation keys
- Implemented dynamic locale setting based on Obsidian's language
- Replaced hardcoded Chinese strings with translatable keys
- Added locale change event listener to update translations dynamically
2025-02-03 23:07:04 +08:00
9d64d31947
1.0.5
1.0.5
2025-01-24 17:10:23 +08:00
ce2d944ee6
Enhance DiscourseSyncPlugin with tag management features
...
- Updated styles for modal and form areas to improve layout and usability.
- Added support for selecting and managing tags in the DiscourseSync settings.
- Implemented fetching of available tags from the Discourse API.
- Enhanced the category selection modal to include tag selection functionality.
- Updated settings interface to store selected tags.
- Improved error handling and user feedback during tag operations.
2025-01-24 17:09:58 +08:00
efbb0a5c9c
1.0.4
1.0.4
2025-01-24 00:15:48 +08:00
95e541e1a7
实现更新帖子的功能
2025-01-24 00:14:34 +08:00
c4513b5abc
1.0.3
1.0.3
2025-01-23 23:46:41 +08:00