From f3633df69c93e0e97d4020ee314973d90c6cde69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E7=9A=93=E9=92=A6?= Date: Wed, 30 Jan 2019 11:20:00 +0800 Subject: [PATCH] BiliCommenter v0.1 Changes to be committed: new file: BiliCommenter.sln new file: BiliCommenter/App.config new file: BiliCommenter/App.xaml new file: BiliCommenter/App.xaml.cs new file: BiliCommenter/BiliCommenter.csproj new file: BiliCommenter/MainWindow.xaml new file: BiliCommenter/MainWindow.xaml.cs new file: BiliCommenter/Properties/AssemblyInfo.cs new file: BiliCommenter/Properties/Resources.Designer.cs new file: BiliCommenter/Properties/Resources.resx new file: BiliCommenter/Properties/Settings.Designer.cs new file: BiliCommenter/Properties/Settings.settings new file: BiliCommenter/avatar/ic_22.png new file: BiliCommenter/avatar/ic_22_hide.png new file: BiliCommenter/avatar/ic_33.png new file: BiliCommenter/avatar/ic_33_hide.png new file: BiliCommenter/packages.config new file: BiliCore/API/Account.cs new file: BiliCore/API/Auth.cs new file: BiliCore/API/Bangumi.cs new file: BiliCore/API/Comment.cs new file: BiliCore/API/Common.cs new file: BiliCore/API/MD5.cs new file: BiliCore/BiliCore.csproj new file: BiliCore/Core/CommentTask.cs new file: BiliCore/Core/Noticer.cs new file: BiliCore/Models/AuthModels.cs new file: BiliCore/Models/BangumiEpModel.cs new file: BiliCore/Models/BangumiInfo.cs new file: BiliCore/Models/BangumiSeason.cs new file: BiliCore/Models/EmojisModel.cs new file: BiliCore/Models/UserInfoModel.cs --- BiliCommenter.sln | 31 ++ BiliCommenter/App.config | 6 + BiliCommenter/App.xaml | 15 + BiliCommenter/App.xaml.cs | 17 + BiliCommenter/BiliCommenter.csproj | 149 ++++++ BiliCommenter/MainWindow.xaml | 191 ++++++++ BiliCommenter/MainWindow.xaml.cs | 276 +++++++++++ BiliCommenter/Properties/AssemblyInfo.cs | 55 +++ .../Properties/Resources.Designer.cs | 71 +++ BiliCommenter/Properties/Resources.resx | 117 +++++ BiliCommenter/Properties/Settings.Designer.cs | 30 ++ BiliCommenter/Properties/Settings.settings | 7 + BiliCommenter/avatar/ic_22.png | Bin 0 -> 51157 bytes BiliCommenter/avatar/ic_22_hide.png | Bin 0 -> 51027 bytes BiliCommenter/avatar/ic_33.png | Bin 0 -> 56125 bytes BiliCommenter/avatar/ic_33_hide.png | Bin 0 -> 56034 bytes BiliCommenter/packages.config | 8 + BiliCore/API/Account.cs | 65 +++ BiliCore/API/Auth.cs | 107 +++++ BiliCore/API/Bangumi.cs | 62 +++ BiliCore/API/Comment.cs | 71 +++ BiliCore/API/Common.cs | 49 ++ BiliCore/API/MD5.cs | 453 ++++++++++++++++++ BiliCore/BiliCore.csproj | 15 + BiliCore/Core/CommentTask.cs | 49 ++ BiliCore/Core/Noticer.cs | 53 ++ BiliCore/Models/AuthModels.cs | 43 ++ BiliCore/Models/BangumiEpModel.cs | 20 + BiliCore/Models/BangumiInfo.cs | 14 + BiliCore/Models/BangumiSeason.cs | 37 ++ BiliCore/Models/EmojisModel.cs | 31 ++ BiliCore/Models/UserInfoModel.cs | 42 ++ 32 files changed, 2084 insertions(+) create mode 100644 BiliCommenter.sln create mode 100644 BiliCommenter/App.config create mode 100644 BiliCommenter/App.xaml create mode 100644 BiliCommenter/App.xaml.cs create mode 100644 BiliCommenter/BiliCommenter.csproj create mode 100644 BiliCommenter/MainWindow.xaml create mode 100644 BiliCommenter/MainWindow.xaml.cs create mode 100644 BiliCommenter/Properties/AssemblyInfo.cs create mode 100644 BiliCommenter/Properties/Resources.Designer.cs create mode 100644 BiliCommenter/Properties/Resources.resx create mode 100644 BiliCommenter/Properties/Settings.Designer.cs create mode 100644 BiliCommenter/Properties/Settings.settings create mode 100644 BiliCommenter/avatar/ic_22.png create mode 100644 BiliCommenter/avatar/ic_22_hide.png create mode 100644 BiliCommenter/avatar/ic_33.png create mode 100644 BiliCommenter/avatar/ic_33_hide.png create mode 100644 BiliCommenter/packages.config create mode 100644 BiliCore/API/Account.cs create mode 100644 BiliCore/API/Auth.cs create mode 100644 BiliCore/API/Bangumi.cs create mode 100644 BiliCore/API/Comment.cs create mode 100644 BiliCore/API/Common.cs create mode 100644 BiliCore/API/MD5.cs create mode 100644 BiliCore/BiliCore.csproj create mode 100644 BiliCore/Core/CommentTask.cs create mode 100644 BiliCore/Core/Noticer.cs create mode 100644 BiliCore/Models/AuthModels.cs create mode 100644 BiliCore/Models/BangumiEpModel.cs create mode 100644 BiliCore/Models/BangumiInfo.cs create mode 100644 BiliCore/Models/BangumiSeason.cs create mode 100644 BiliCore/Models/EmojisModel.cs create mode 100644 BiliCore/Models/UserInfoModel.cs diff --git a/BiliCommenter.sln b/BiliCommenter.sln new file mode 100644 index 0000000..be9c3f0 --- /dev/null +++ b/BiliCommenter.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.28407.52 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BiliCommenter", "BiliCommenter\BiliCommenter.csproj", "{67B4635B-60B7-4DC8-9611-0B2D47D9C150}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BiliCore", "BiliCore\BiliCore.csproj", "{366D01A5-B07E-4D58-8AAA-8136601D2736}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {67B4635B-60B7-4DC8-9611-0B2D47D9C150}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {67B4635B-60B7-4DC8-9611-0B2D47D9C150}.Debug|Any CPU.Build.0 = Debug|Any CPU + {67B4635B-60B7-4DC8-9611-0B2D47D9C150}.Release|Any CPU.ActiveCfg = Release|Any CPU + {67B4635B-60B7-4DC8-9611-0B2D47D9C150}.Release|Any CPU.Build.0 = Release|Any CPU + {366D01A5-B07E-4D58-8AAA-8136601D2736}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {366D01A5-B07E-4D58-8AAA-8136601D2736}.Debug|Any CPU.Build.0 = Debug|Any CPU + {366D01A5-B07E-4D58-8AAA-8136601D2736}.Release|Any CPU.ActiveCfg = Release|Any CPU + {366D01A5-B07E-4D58-8AAA-8136601D2736}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {77ECF961-C909-4595-B1D1-94F7583EB703} + EndGlobalSection +EndGlobal diff --git a/BiliCommenter/App.config b/BiliCommenter/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/BiliCommenter/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/BiliCommenter/App.xaml b/BiliCommenter/App.xaml new file mode 100644 index 0000000..719edcb --- /dev/null +++ b/BiliCommenter/App.xaml @@ -0,0 +1,15 @@ + + + + + + + + + + + diff --git a/BiliCommenter/App.xaml.cs b/BiliCommenter/App.xaml.cs new file mode 100644 index 0000000..4eb52a3 --- /dev/null +++ b/BiliCommenter/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace BiliCommenter +{ + /// + /// App.xaml 的交互逻辑 + /// + public partial class App : Application + { + } +} diff --git a/BiliCommenter/BiliCommenter.csproj b/BiliCommenter/BiliCommenter.csproj new file mode 100644 index 0000000..81ca9d4 --- /dev/null +++ b/BiliCommenter/BiliCommenter.csproj @@ -0,0 +1,149 @@ + + + + + Debug + AnyCPU + {67B4635B-60B7-4DC8-9611-0B2D47D9C150} + WinExe + BiliCommenter + BiliCommenter + v4.6.1 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + true + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + true + 0 + 1.0.0.%2a + false + false + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + default + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\ControlzEx.4.0.0-alpha0222\lib\net45\ControlzEx.dll + + + ..\packages\MahApps.Metro.2.0.0-alpha0212\lib\net46\MahApps.Metro.dll + + + ..\packages\Microsoft.Xaml.Behaviors.Wpf.1.0.1\lib\net45\Microsoft.Xaml.Behaviors.dll + + + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + False + Microsoft .NET Framework 4.6.1 %28x86 和 x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + + + + {366d01a5-b07e-4d58-8aaa-8136601d2736} + BiliCore + + + + \ No newline at end of file diff --git a/BiliCommenter/MainWindow.xaml b/BiliCommenter/MainWindow.xaml new file mode 100644 index 0000000..d4720eb --- /dev/null +++ b/BiliCommenter/MainWindow.xaml @@ -0,0 +1,191 @@ + + + + + +