Skip to content

Releases: woodchen-ink/obsidian-publish-to-discourse

1.0.24

12 Jul 19:28
Compare
Choose a tag to compare

What's Changed

  • 支持标签组功能,支持直接从列表多选标签。 by @cumany in #25

Full Changelog: 1.0.22...1.0.24

1.0.23

11 Jul 18:01
Compare
Choose a tag to compare

更新内容

  • 新增远程图片URL替换功能,允许用户在发布后将本地图片链接替换为Discourse上的远程URL。
  • 新增支持markdown格式引用本地图片的上传.

Full Changelog: 1.0.22...1.0.23

1.0.22

11 Jul 15:56
Compare
Choose a tag to compare

由于认证方式的变化, 新增更新通知弹窗.

Full Changelog: 1.0.21...1.0.22

1.0.21

11 Jul 15:40
Compare
Choose a tag to compare

What's Changed

  • 增加user-api-key 设置选项,支持用户自助获取。 by @cumany in #22
  • 重构整体样式, 通知等

New Contributors

Full Changelog: 1.0.20...1.0.21

1.0.20

20 Jun 13:24
Compare
Choose a tag to compare

feat: 新增分类冲突处理功能,用户在本地分类与远程分类不同时可选择使用哪一分类。更新样式以支持分类冲突确认对话框,并在国际化文件中添加相关文本。

Full Changelog: 1.0.19...1.0.20

1.0.19

20 Jun 13:18
Compare
Choose a tag to compare

优化颜色样式, 使用obsidian主题色

Full Changelog: 1.0.18...1.0.19

1.0.18

03 Apr 09:10
Compare
Choose a tag to compare

支持

发布时选择子类别

image

Full Changelog: 1.0.17...1.0.18

1.0.17

19 Mar 05:18
Compare
Choose a tag to compare

新增跳过一级标题选项,优化发布到 Discourse 的内容处理

适配Filename Heading Sync插件

  • 在配置中添加 skipH1 字段,默认为 false
  • 更新发布逻辑,支持根据设置跳过 Markdown 中的 H1 标题
  • 添加相应的国际化支持,包括英文和中文描述

Full Changelog: 1.0.16...1.0.17

1.0.16

10 Mar 12:10
Compare
Choose a tag to compare

新增主题信息获取功能,完善 Discourse 同步机制

在 DiscourseAPI 中添加 fetchTopicInfo 和 fetchTopicTags 方法
更新发布流程,支持从 Discourse 同步最新标签和分类信息
在更新帖子时自动获取并同步 Discourse 上的标签和分类
扩展 Front Matter,新增 discourse_category_id 和 discourse_category 字段
优化更新逻辑,确保本地文件与 Discourse 内容保持一致

Full Changelog: 1.0.15...1.0.16

1.0.15

10 Mar 11:57
Compare
Choose a tag to compare

重构标签处理逻辑,移除配置中的固定标签设置

  • 从配置中删除 selectedTags 字段
  • 在 ActiveFile 接口中新增 tags 属性
  • 调整标签处理流程,从文件的 Front Matter 获取标签
  • 更新发布和更新帖子时的标签处理方式
  • 优化标签选择和保存机制

重构插件架构,解耦主要功能模块

  • 将主类拆分为多个专注的模块,如 DiscourseAPI、EmbedHandler
  • 重命名主类为 PublishToDiscourse,提高语义清晰度
  • 抽取通用工具函数到独立模块
  • 优化代码结构,提高可维护性和可读性
  • 调整 Front Matter 处理和嵌入内容处理逻辑

Refactor the tag handling logic and remove fixed tag settings from the configuration

  • Remove the selectedTags field from the configuration
  • Add a tags property to the ActiveFile interface
  • Adjust the tag processing workflow to obtain tags from the file's Front Matter
  • Update the tag processing method when publishing and updating posts
  • Optimize the tag selection and saving mechanism

Refactor the plugin architecture to decouple the main functional modules

  • Split the main class into multiple focused modules, such as DiscourseAPI and EmbedHandler
  • Rename the main class to PublishToDiscourse to improve semantic clarity
  • Extract common utility functions into a separate module
  • Optimize code structure to improve maintainability and readability
  • Adjust the logic for handling Front Matter and embedded content

Full Changelog: 1.0.14...1.0.15