Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BTMuli/BangumiToday
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.0
Choose a base ref
...
head repository: BTMuli/BangumiToday
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Oct 10, 2024

  1. 🔨 添加store构建

    BTMuli committed Oct 10, 2024
    Copy the full SHA
    60cc4d5 View commit details

Commits on Oct 11, 2024

  1. 💄 搜索时显示load

    BTMuli committed Oct 11, 2024
    Copy the full SHA
    0b88262 View commit details
  2. Copy the full SHA
    d293770 View commit details
  3. 🚸 优化Hint

    BTMuli committed Oct 11, 2024
    Copy the full SHA
    735a479 View commit details
  4. 🔨 调整scripts

    BTMuli committed Oct 11, 2024
    Copy the full SHA
    f20e3f8 View commit details

Commits on Oct 22, 2024

  1. 🏷️ 添加title

    BTMuli committed Oct 22, 2024
    Copy the full SHA
    e0e081b View commit details
  2. ✨ 窗口居中

    BTMuli committed Oct 22, 2024
    Copy the full SHA
    203e99b View commit details
  3. Copy the full SHA
    8b7fc73 View commit details

Commits on Oct 27, 2024

  1. 🐛 修复infobar延时

    BTMuli committed Oct 27, 2024
    Copy the full SHA
    7f45e08 View commit details

Commits on Nov 5, 2024

  1. 💄 调整设置页UI

    BTMuli committed Nov 5, 2024
    Copy the full SHA
    3d6a2af View commit details

Commits on Nov 6, 2024

  1. ✨ 标题设置&更新

    BTMuli committed Nov 6, 2024
    Copy the full SHA
    c462c48 View commit details

Commits on Nov 7, 2024

  1. Copy the full SHA
    222eaad View commit details
  2. Copy the full SHA
    408e3a7 View commit details
  3. 💄 一些UI优化

    BTMuli committed Nov 7, 2024
    Copy the full SHA
    8d171b8 View commit details

Commits on Nov 8, 2024

  1. 💄 调整designSize

    BTMuli committed Nov 8, 2024
    Copy the full SHA
    bceeb2e View commit details
  2. 🎨 一天检测一次

    BTMuli committed Nov 8, 2024
    Copy the full SHA
    fea231c View commit details
  3. 💄调整UI

    BTMuli committed Nov 8, 2024
    Copy the full SHA
    8cf85aa View commit details
  4. Copy the full SHA
    e247edf View commit details
  5. 🚀 v0.6.1

    BTMuli committed Nov 8, 2024
    Copy the full SHA
    d8a4456 View commit details
  6. 🐛 修复CI构建

    BTMuli committed Nov 8, 2024
    Copy the full SHA
    30e5f46 View commit details
  7. Copy the full SHA
    cc5d0ce View commit details
  8. Copy the full SHA
    5c68bfc View commit details

Commits on Nov 12, 2024

  1. 💄 调整UI

    BTMuli committed Nov 12, 2024
    Copy the full SHA
    1478a2b View commit details
  2. 🎨 防抖处理

    BTMuli committed Nov 12, 2024
    Copy the full SHA
    4dff610 View commit details
  3. 🐛 修复初始化异常

    BTMuli committed Nov 12, 2024
    Copy the full SHA
    de27631 View commit details

Commits on Nov 24, 2024

  1. Copy the full SHA
    805bf73 View commit details

Commits on Dec 1, 2024

  1. Copy the full SHA
    3567425 View commit details

Commits on Dec 6, 2024

  1. Copy the full SHA
    9556588 View commit details

Commits on Dec 7, 2024

  1. ♻️ 调整数据结构

    BTMuli committed Dec 7, 2024
    Copy the full SHA
    545b11b View commit details
  2. 🐛 修复数据插入异常

    BTMuli committed Dec 7, 2024
    Copy the full SHA
    0e523ec View commit details
  3. 🐛 修复参数异常

    BTMuli committed Dec 7, 2024
    Copy the full SHA
    653782b View commit details

Commits on Jan 1, 2025

  1. ⚡️ 替换host

    BTMuli committed Jan 1, 2025
    Copy the full SHA
    331a2e4 View commit details
  2. ⬆️ 更新依赖

    BTMuli committed Jan 1, 2025
    Copy the full SHA
    305ebb0 View commit details

Commits on Jan 2, 2025

  1. 🚀 v0.6.2

    BTMuli committed Jan 2, 2025
    Copy the full SHA
    80f7c21 View commit details

Commits on Jan 6, 2025

  1. Copy the full SHA
    1c9e6bc View commit details
  2. Copy the full SHA
    dd89b9e View commit details
  3. 🏷️ 调整类型

    BTMuli committed Jan 6, 2025
    Copy the full SHA
    41a00ea View commit details

Commits on Jan 11, 2025

  1. Copy the full SHA
    a5a61fa View commit details
  2. 💄 调整卡片UI

    BTMuli committed Jan 11, 2025
    Copy the full SHA
    c882c62 View commit details
  3. 🚸 保持状态

    BTMuli committed Jan 11, 2025
    Copy the full SHA
    5c7da41 View commit details

Commits on Jan 13, 2025

  1. 💄 调整溢出

    BTMuli committed Jan 13, 2025
    Copy the full SHA
    e9f481a View commit details
  2. Copy the full SHA
    b88bad4 View commit details
  3. 🚸 微调

    BTMuli committed Jan 13, 2025
    Copy the full SHA
    3169e7f View commit details
  4. Copy the full SHA
    ff3b42c View commit details

Commits on Jan 15, 2025

  1. 🚸 add paneTitle

    BTMuli committed Jan 15, 2025
    Copy the full SHA
    5933f93 View commit details

Commits on Jan 16, 2025

  1. 👽️ 更新依赖并适配

    BTMuli committed Jan 16, 2025
    Copy the full SHA
    5e0b7be View commit details
  2. ✨ 内置下载

    BTMuli committed Jan 16, 2025
    Copy the full SHA
    5c70045 View commit details
  3. 🐛 fix del err

    BTMuli committed Jan 16, 2025
    Copy the full SHA
    0c4ae4c View commit details
  4. 🧪 only dev

    BTMuli committed Jan 16, 2025
    Copy the full SHA
    a15cc84 View commit details
  5. 🐛 fix update stat err

    BTMuli committed Jan 16, 2025
    Copy the full SHA
    f984214 View commit details
Showing with 4,118 additions and 2,680 deletions.
  1. +0 −49 .github/workflows/build_store.yml
  2. +0 −77 .github/workflows/build_test.yml
  3. +13 −20 .github/workflows/release.yml
  4. BIN BTMuli.cer
  5. +40 −2 CHANGELOG.md
  6. +13 −24 README.md
  7. +0 −1 analysis_options.yaml
  8. +1 −1 dev_build.ps1
  9. +0 −10 genLog.ps1
  10. +3 −3 lib/app.dart
  11. +0 −90 lib/components/app/app_dialog.dart
  12. +0 −97 lib/components/app/app_dialog_resp.dart
  13. +0 −44 lib/components/app/app_infobar.dart
  14. +0 −282 lib/components/bangumi/subject_detail/bsd_bmf.dart
  15. +0 −46 lib/components/base/base_theme.dart
  16. +0 −55 lib/components/base/base_theme_icon.dart
  17. +3 −7 lib/controller/app/page_controller.dart
  18. +91 −17 lib/database/app/app_bmf.dart
  19. +31 −1 lib/database/app/app_config.dart
  20. +107 −2 lib/database/app/app_rss.dart
  21. +2 −2 lib/database/bt_sqlite.dart
  22. +14 −5 lib/main.dart
  23. +37 −0 lib/models/bangumi/bangumi_enum.dart
  24. +5 −0 lib/models/bangumi/bangumi_model.dart
  25. +2 −0 lib/models/bangumi/bangumi_model.g.dart
  26. +71 −25 lib/models/bangumi/request_subject.dart
  27. +31 −10 lib/models/bangumi/request_subject.g.dart
  28. +12 −0 lib/models/database/app_bmf_model.dart
  29. +6 −0 lib/models/database/app_bmf_model.g.dart
  30. +8 −0 lib/models/database/app_rss_model.dart
  31. +4 −0 lib/models/database/app_rss_model.g.dart
  32. +69 −0 lib/models/hive/dtt_model.dart
  33. +43 −0 lib/models/hive/tracker_model.dart
  34. +54 −45 lib/pages/app/bmf_page.dart
  35. +69 −0 lib/pages/app/download_page.dart
  36. +6 −2 lib/pages/app/rss_page.dart
  37. +27 −241 lib/pages/app/setting_page.dart
  38. +177 −154 lib/pages/bangumi/bangumi_calendar.dart
  39. +13 −37 lib/pages/bangumi/bangumi_collection.dart
  40. +73 −56 lib/pages/bangumi/bangumi_detail.dart
  41. +8 −14 lib/pages/bangumi/bangumi_search.dart
  42. +0 −460 lib/pages/bangumi/bangumi_user.dart
  43. +18 −3 lib/plugins/mikan/mikan_api.dart
  44. +21 −20 lib/request/bangumi/bangumi_api.dart
  45. +0 −1 lib/request/bangumi/bangumi_oauth.dart
  46. +2 −0 lib/request/core/client.dart
  47. +20 −0 lib/store/app_store.dart
  48. +3 −1 lib/store/bgm_user_hive.dart
  49. +58 −0 lib/store/dtt_store.dart
  50. +6 −2 lib/store/nav_store.dart
  51. +116 −0 lib/store/tracker_hive.dart
  52. +2 −2 lib/tools/download_tool.dart
  53. +8 −1 lib/tools/file_tool.dart
  54. +23 −4 lib/tools/hive_tool.dart
  55. +13 −12 lib/tools/log_tool.dart
  56. +1 −1 lib/tools/notifier_tool.dart
  57. +0 −61 lib/tools/scheme_tool.dart
  58. +95 −0 lib/ui/bt_dialog.dart
  59. +31 −0 lib/ui/bt_icon.dart
  60. +112 −0 lib/ui/bt_infobar.dart
  61. +19 −14 lib/{components → widgets}/app/app_nav.dart
  62. +69 −0 lib/widgets/app/app_resp_err.dart
  63. +370 −0 lib/widgets/app/config/app_config_bgm.dart
  64. +64 −0 lib/widgets/app/config/app_config_device.dart
  65. +176 −0 lib/widgets/app/config/app_config_info.dart
  66. +449 −0 lib/widgets/app/rss_download_card.dart
  67. +17 −11 lib/{components → widgets}/bangumi/calendar/calendar_card.dart
  68. 0 lib/{components → widgets}/bangumi/calendar/calendar_day.dart
  69. +27 −19 lib/{components → widgets}/bangumi/subject_card/bsc_search.dart
  70. +368 −0 lib/widgets/bangumi/subject_detail/bsd_bmf.dart
  71. +90 −55 lib/{components → widgets}/bangumi/subject_detail/bsd_bmf_file.dart
  72. +92 −32 lib/{components → widgets}/bangumi/subject_detail/bsd_bmf_rss.dart
  73. +36 −16 lib/{components → widgets}/bangumi/subject_detail/bsd_episode.dart
  74. +74 −26 lib/{components → widgets}/bangumi/subject_detail/bsd_overview.dart
  75. +5 −5 lib/{components → widgets}/bangumi/subject_detail/bsd_rate_chart.dart
  76. +18 −19 lib/{components → widgets}/bangumi/subject_detail/bsd_relation.dart
  77. 0 lib/{components → widgets}/bangumi/subject_detail/bsd_sites.dart
  78. +17 −67 lib/{components → widgets}/bangumi/subject_detail/bsd_user_collection.dart
  79. +35 −8 lib/{components → widgets}/bangumi/subject_detail/bsd_user_episodes.dart
  80. +14 −5 lib/{components → widgets}/bangumi/user_collection/buc_card.dart
  81. +14 −12 lib/{components → widgets}/bangumi/user_collection/buc_tabview.dart
  82. +33 −4 lib/{components → widgets}/rss/rss_cmc_card.dart
  83. +9 −19 lib/{components → widgets}/rss/rss_cmc_page.dart
  84. +46 −2 lib/{components → widgets}/rss/rss_mk_card.dart
  85. +38 −17 lib/{components → widgets}/rss/rss_mk_card2.dart
  86. +84 −44 lib/{components → widgets}/rss/rss_mk_page.dart
  87. +2 −4 macos/Flutter/GeneratedPluginRegistrant.swift
  88. +359 −268 pubspec.lock
  89. +27 −34 pubspec.yaml
  90. +3 −9 windows/flutter/generated_plugin_registrant.cc
  91. +1 −3 windows/flutter/generated_plugins.cmake
  92. BIN 目棃.cer
49 changes: 0 additions & 49 deletions .github/workflows/build_store.yml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/build_test.yml

This file was deleted.

33 changes: 13 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -49,37 +49,30 @@ jobs:
- name: 打包msix
run: dart run msix:create -p ${{ secrets.SIGN_SECRET }}

- name: 打包msix-Store
run: >
dart run msix:create
--store true
-i "27581BTMuli.BangumiToday"
-b "CN=5FE33156-C3CE-4E71-A036-81BAA99521CB"
-n "BangumiToday_Store"
-p ${{ secrets.SIGN_SECRET }}
- name: 上传文件
uses: actions/upload-artifact@v4
with:
name: output
name: BangumiToday
path: |
BangumiToday.zip
BangumiToday.msix
目棃.cer
- name: 生成更新说明
run: |
$checksum = Get-FileHash -Path BangumiToday.zip -Algorithm SHA256
$checksum = $checksum.Hash
Write-Output "> 本 Release 文件来自 [GithubActions](https://github.com/BTMuli/BangumiToday/actions/runs/${{ github.run_id }})" >> $env:GITHUB_STEP_SUMMARY
Write-Output "> " >> $env:GITHUB_STEP_SUMMARY
Write-Output "> 由于安装 ``.msix`` 文件需要证书,请参考 [README](https://github.com/BTMuli/BangumiToday/#%E5%85%B3%E4%BA%8E%E8%AF%81%E4%B9%A6) 进行操作" >> $env:GITHUB_STEP_SUMMARY
Write-Output "" >> $env:GITHUB_STEP_SUMMARY
$log = .\genLog.ps1
$log | ForEach-Object { Write-Output $_ >> $env:GITHUB_STEP_SUMMARY }
Write-Output "sha256:" >> $env:GITHUB_STEP_SUMMARY
Write-Output "+ ZIP:``$checksum``" >> $env:GITHUB_STEP_SUMMARY
$checksum = Get-FileHash -Path BangumiToday.msix -Algorithm SHA256
$checksum = $checksum.Hash
Write-Output "+ MSIX:``$checksum``" >> $env:GITHUB_STEP_SUMMARY
BangumiToday_Store.msix
- name: 发行Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.RELEASE_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
draft: true
files: |
BangumiToday.zip
BangumiToday.msix
目棃.cer
BangumiToday_Store.msix
Binary file removed BTMuli.cer
Binary file not shown.
42 changes: 40 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,12 +2,50 @@
Author: 目棃
Description: 更新日志
Date: 2024-04-17
Update: 2024-10-08
Update: 2025-03-11
---

> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter)[MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-04-17 17:46:15`
>
> 更新于 `2024-10-08 12:03:19`
> 更新于 `2025-03-11 09:39:27`
## [v0.6.4](https://github.com/BTMuli/BangumiToday/releases/tag/v0.6.4) (2025-03-11)

- 💄 调整多处UI
- 🐛 修复更新RSS链接失败
- 🐛 修复rss页面下载异常
- 🐛 修复收藏时剧集未更新
- 👽️ 适配搜索结果返回,修复搜索异常
- 🚸 缩短底部提示显示间隔
- 🚸 短按剧集快速切换收藏状态,长按自定义收藏状态

## [v0.6.3](https://github.com/BTMuli/BangumiToday/releases/tag/v0.6.3) (2025-01-22)

- 💄 移除详情页站点信息,调整放缩
- 💄 调整BMF卡片UI
- 🚸 修改收藏状态时同步更新章节信息
- 🚸 订阅更新时单条目只发送一次通知
- 🚸 用户收藏页保持状态
- 🚸 调整侧边栏标题显示
- 🐛 修复首页更新数据后loading未消失

## [v0.6.2](https://github.com/BTMuli/BangumiToday/releases/tag/v0.6.2) (2025-01-02)

- 🐛 修复从查询结果添加时遗漏标题数据
- 🐛 修复放送日历初始化异常
- ♻️ 重构数据库,更新Mikan链接时同步更新订阅链接

## [v0.6.1](https://github.com/BTMuli/BangumiToday/releases/tag/v0.6.1) (2024-11-08)

尝试性的构建一下Store,不知道能不能过审。

- 💄 详情页搜索订阅源时显示loading
- ♻️ 用户页面移至设置页
- 🏷️ BMF配置增加title字段,支持对旧数据进行兼容
- 🐛 修复infobar延时
- ♻️ 重构元数据更新逻辑,启动自动检测更新,每天检测一次
- ✨ 支持自定义Mikan镜像站Url
- 💄调整详情页收藏情况的UI

## [v0.6.0](https://github.com/BTMuli/BangumiToday/releases/tag/v0.5.0) (2024-10-08)

37 changes: 13 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@
Author: 目棃
Description: 说明文档
Date: 2024-04-11
Update: 2024-10-08
Update: 2025-01-17
---

> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter)[MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-04-11 12:06:15`
>
> 更新于 `2024-10-08 11:58:47`
> 更新于 `2025-01-17 17:20:38`
> **项目目前处于开发阶段,不保证稳定性。**
@@ -28,6 +28,17 @@ Update: 2024-10-08

结合本地目录,提供番剧更新提醒、SSR订阅&下载、进度记录等功能。


## 下载

> 程序已经通过微软商店审核,可以直接在商店下载。
<a href="https://apps.microsoft.com/detail/9phwnbm93jzn?mode=direct">
<img src="https://get.microsoft.com/images/zh-cn%20dark.svg" width="200" alt="icon"/>
</a>

通过 [Github Release](https://github.com/BTMuli/BangumiToday/releases/latest) 下载的则需安装证书,见下方[关于证书](#关于证书)

## 使用前提

应用的良好使用体验**基于如下前提**
@@ -51,28 +62,6 @@ Update: 2024-10-08

![用户收藏](./screenshots/userCollection.png)

## 发行

> 项目更新日志请查看 [CHANGELOG.md](./CHANGELOG.md)
应用预期会有如下几个发行渠道:

- [Github Release](https://github.com/BTMuli/BangumiToday/releases):包括打包后的 `zip``msix` 文件(`msix` 视情况包括签名文件)。
- `Microsoft Store`:如果没有申请到 SignPath 的 OSS,应用将会发行到 Microsoft Store。
> 在这种情况下,Github Release 会提供用于上传到 Microsoft Store 的 `msix` 文件。
- `Github Action`: 通过 Github Action 自动打包并发布到 Github Release。~~还在测试中~~

## 关于证书

> 应用使用的证书为自签名证书,需要将证书导入到系统。
> 对于 0.3.0 版本之前的版本,应用将会采用自签名证书 [BTMuli.cer](./BTMuli.cer)
为了正常安装应用,需要将 [目棃.cer](./目棃.cer) 证书导入到系统。

下载证书后,双击打开,选择`安装证书`,选择`本地计算机`,选择`将所有的证书都放入下列存储`,点击`浏览`

选择`受信任的根证书颁发机构`,点击`确定`,点击`下一步`,点击`完成`

## 依赖(按照字典序)

项目使用了如下依赖以实现相关功能:
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -30,7 +30,6 @@ linter:
- avoid_unnecessary_containers
- lines_longer_than_80_chars
- no_literal_bool_comparisons
- package_api_docs
- sized_box_for_whitespace
- sized_box_shrink_expand
- unawaited_futures
2 changes: 1 addition & 1 deletion dev_build.ps1
Original file line number Diff line number Diff line change
@@ -48,8 +48,8 @@ if ($install -eq "y")
{
Write-Output "开始安装应用"
$command = "Add-AppxPackage -Path .\BangumiToday.msix"
Write-Output $command
Invoke-Expression $command
Write-Output "成功安装BangumiToday v$version"
}
else
{
10 changes: 0 additions & 10 deletions genLog.ps1

This file was deleted.

6 changes: 3 additions & 3 deletions lib/app.dart
Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

// Project imports:
import 'components/app/app_nav.dart';
import 'store/app_store.dart';
import 'widgets/app/app_nav.dart';

/// 应用入口
class BTApp extends ConsumerWidget {
@@ -37,13 +37,13 @@ class BTApp extends ConsumerWidget {
Widget build(BuildContext context, WidgetRef ref) {
var appStore = ref.watch(appStoreProvider);
return ScreenUtilInit(
designSize: const Size(1920, 1080),
designSize: const Size(1280, 720),
builder: (_, child) {
return FluentApp(
title: 'BangumiToday',
themeMode: appStore.themeMode,
theme: getTheme(context, appStore),
home: const AppNav(),
home: const AppNavWidget(),
);
},
);
Loading