Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
f584951
- refactoring
Apr 11, 2025
38135e2
Merge remote-tracking branch 'origin/dev/0.7' into dev/0.7
Apr 11, 2025
25531c2
Merge branch 'dev/0.7' into dev/0.8
Apr 11, 2025
81538e7
- refactoring
Apr 11, 2025
1edd2ba
- refactoring
Apr 11, 2025
80010fb
- AdditionalProcessing returned for Telegram
Apr 11, 2025
cd05d79
- sonar
Apr 12, 2025
12ae7ed
- sonar
Apr 12, 2025
a507017
- Bod data settings (won't build!)
Apr 12, 2025
5715653
BOTTICELLI-62: standalone bots:
Apr 27, 2025
cd9f5d4
- startup fix
May 2, 2025
00d92f0
BOTTICELLI-62:
May 2, 2025
aaa3d63
BOTTICELLI-62:
May 2, 2025
5b7ecc4
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
May 3, 2025
b955ab9
BOTTICELLI-62:
May 3, 2025
49bc9be
BOTTICELLI-62:
May 3, 2025
c55fb8b
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
May 3, 2025
cbb5f15
- bugfix
May 3, 2025
7e2b822
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
May 3, 2025
5d6bcd1
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
May 3, 2025
685bc6d
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
May 3, 2025
9ba97b2
- fix
May 3, 2025
4eb1ee3
CommandProcessor: Send and update messages were incapsulated
May 3, 2025
6d42f57
CommandProcessor: Send, Delete and update messages were incapsulated
May 3, 2025
c0d587b
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
May 3, 2025
a7b54a0
- Is Standalone depends only on startup configuration now
May 4, 2025
13dcbc6
- runasync
devgopher May 5, 2025
1c157b6
- resharper
devgopher May 5, 2025
dad9f05
- solution structure
May 10, 2025
0399b16
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
May 10, 2025
54d9c6a
- solution structure
May 10, 2025
ea3997f
- Botticelli.Framework.Chained.Context
May 10, 2025
2c744ff
- redis storage
May 10, 2025
abb5c05
- redis storage
May 10, 2025
32566f3
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
May 10, 2025
b139df3
BOTTICELLI-63 Refactoring: simplifying & structuring
devgopher May 10, 2025
87fd112
BOTTICELLI-63:
devgopher May 10, 2025
ee9b274
BOTTICELLI-63: redis settings
devgopher May 11, 2025
f873c2d
- unit tests for chained storage
devgopher May 24, 2025
c74c90e
- broadcasting draft
devgopher Jun 1, 2025
e246ddc
- broadcasting on a client side
Jun 3, 2025
3789875
- events processing in a bot builder
Jun 3, 2025
090c720
- telegram.bot upgrade
devgopher Jun 3, 2025
c62df4f
- telegram.bot upgrade
devgopher Jun 3, 2025
a5be271
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
devgopher Jun 3, 2025
56cee32
- telegram msg processing: reduced nesting & complexity
devgopher Jun 3, 2025
4b556fa
- DAL for broadcasting purposes
Jun 3, 2025
f138ca4
- ef core & polly update to 8.0.16
Jun 3, 2025
807ad2b
- refactoring
Jun 6, 2025
d50448a
- wechat was excluded
Jun 6, 2025
cd2ade0
- npgsql v9
Jun 6, 2025
103daf7
- contact & new chat members processing
Jun 6, 2025
f175969
- events rethrowing
Jun 6, 2025
6e274a3
BOTTICELLI-55:
Jun 12, 2025
d28e1af
- migrations were remade
Jun 12, 2025
1a5ca96
- BotBuilder: Build() is virtual
devgopher Jun 12, 2025
2f7290b
Merge branch 'dev/0.8' of https://github.com/devgopher/botticelli int…
devgopher Jun 12, 2025
08888e9
- bot builder - virtual methods
Jun 13, 2025
0df6a34
- refactoring
Jun 21, 2025
e5b5a83
- Bot builder refactoring
Jun 22, 2025
77333e5
-v 0.8
Jun 29, 2025
465b534
BM-2: bot init process was changed
devgopher Jul 10, 2025
477655e
- bot creation fix for isStandalone parameter
devgopher Jul 10, 2025
7e9a0f6
BOTTICELLI:
devgopher Jul 12, 2025
0e3081f
Botbuilder init fix
devgopher Jul 13, 2025
8ff1c15
- fix
devgopher Jul 13, 2025
ef924b5
BM-2:
devgopher Jul 13, 2025
a2b8e90
- throttling fix
devgopher Jul 13, 2025
4f79ecf
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
devgopher Jul 13, 2025
6829c3d
- bugfix
devgopher Jul 14, 2025
922e559
- Telegram.Bot v 22.6.0
devgopher Jul 14, 2025
1547b85
- Executor injection fix
Jul 16, 2025
13101e7
- enhanced throttling for Telegram
Jul 18, 2025
1500229
- small fixes
devgopher Jul 20, 2025
cccf550
Create jekyll-gh-pages.yml
devgopher Jul 20, 2025
6fcea91
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
devgopher Jul 20, 2025
88680a0
- VK Messenger in a separate repository now!
Jul 20, 2025
20d58db
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
Jul 20, 2025
0e52c12
- Botticelli.Locations.VK in a separate repository also!
Jul 20, 2025
05efd1f
- fix
Jul 20, 2025
31c729a
- add/set for bot building
Jul 28, 2025
847c749
- bot context fix
Jul 28, 2025
5bb8a60
- message structure attachments fix
devgopher Aug 3, 2025
390afe5
- project draft
Aug 9, 2025
fecbe76
- oauth fixed
Aug 21, 2025
af8fba9
- update
Aug 26, 2025
6381e5b
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
Aug 26, 2025
a5aa63b
BOTTICELLI-66: VK/Max messenger support removed!
devgopher Sep 5, 2025
ff5efc2
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
devgopher Sep 5, 2025
398baf7
- build errors fixed
devgopher Sep 5, 2025
2977a21
BOTTICELLI-55:
devgopher Sep 7, 2025
b6d69c7
BOTTICELLI-55:
devgopher Sep 7, 2025
bf540a0
BOTTICELLI-55:
devgopher Sep 13, 2025
0542c48
BOTTICELLI-55:
Sep 13, 2025
04c8b22
BOTTICELLI-55:
Sep 14, 2025
ffc27cf
BOTTICELLI-67: Remove Viber
devgopher Sep 16, 2025
93d3b42
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
devgopher Sep 16, 2025
9b6e493
BOTTICELLI-55:
Sep 17, 2025
68b18ff
BOTTICELLI-55:
Sep 18, 2025
1c67ae1
BOTTICELLI-55:
devgopher Sep 21, 2025
384ef1b
BOTTICELLI-55:
devgopher Sep 21, 2025
1bdedd9
- admin interface update: logo, menu
devgopher Sep 24, 2025
5606c76
- logo for admin pane
devgopher Sep 24, 2025
8c7ff92
BOTTICELLI-55:
Sep 26, 2025
e336924
- cosmetic
Sep 26, 2025
15354a1
- reduce bot status updates
Sep 26, 2025
33eec28
- reduced number of requests to RDMS (broadcasts)
Sep 26, 2025
c4b3e48
- retry policy for BroadcastReceived request
Sep 27, 2025
036044b
- retry policy for BroadcastReceived request
Sep 27, 2025
fe2ff12
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
Sep 27, 2025
9ca079b
- error processing for broadcast
Sep 27, 2025
0605b07
- receiving messages from channels was fixed
Sep 27, 2025
14e689c
- m4a / ogg fix
Sep 28, 2025
a5ecf29
- structured logging
Sep 30, 2025
1cf9153
- binary message upload support for admin/broadcasting
Sep 30, 2025
4ed7680
- appsettings fix
devgopher Oct 1, 2025
6e4644a
Merge remote-tracking branch 'origin/dev/0.8' into dev/0.8
devgopher Oct 1, 2025
a8e9f86
- new bot status: error
devgopher Oct 3, 2025
7a262f3
- dynamic delay when BotStatus = Error
devgopher Oct 3, 2025
35881f0
- refactoring
devgopher Oct 3, 2025
a8a9c8c
- admin password length is in settings now
devgopher Oct 3, 2025
2561427
- cosmetic
Oct 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 51 additions & 0 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled

on:
# Runs on pushes targeting the default branch
push:
branches: ["develop"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .idea/.idea.Botticelli/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Botticelli.AI.ChatGpt/Provider/ChatGptProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected override async Task ProcessGptResponse(AiMessage message,
text.AppendJoin(' ',
part?.Choices?
.Select(c => (c.Message ?? c.Delta)?.Content) ??
Array.Empty<string>());
[]);

var responseMessage = new SendMessageResponse(message.Uid)
{
Expand Down Expand Up @@ -99,14 +99,14 @@ protected override async Task<HttpResponseMessage> GetGptResponse(AiMessage mess
var content = JsonContent.Create(new ChatGptInputMessage
{
Model = Settings.Value.Model,
Messages = new List<ChatGptMessage>
{
Messages =
[
new()
{
Role = "user",
Content = message.Body
}
},
],
Temperature = Settings.Value.Temperature,
Stream = Settings.Value.StreamGeneration
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ public static IServiceCollection AddDeepSeekProvider(this IServiceCollection ser
s.Instruction = deepSeekGptSettings.Instruction;
});

services.AddSingleton<IAiProvider, DeepSeekGptProvider>();
services.AddSingleton<IAiProvider, DeepSeekGptProvider>()
.AddHttpClient();

return services;
}
Expand Down
9 changes: 5 additions & 4 deletions Botticelli.AI.DeepSeekGpt/Provider/DeepSeekGptProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,20 @@ protected override async Task<HttpResponseMessage> GetGptResponse(AiMessage mess
{
Model = Settings.Value.Model,
MaxTokens = Settings.Value.MaxTokens,
Messages = new List<DeepSeekInnerInputMessage>
{
Messages =
[
new()
{
Role = SystemRole,
Content = Settings.Value.Instruction
},

new()
{
Role = UserRole,
Content = message.Body
}
}
]
};

deepSeekGptMessage.Messages.AddRange(message.AdditionalMessages?.Select(m => new DeepSeekInnerInputMessage
Expand All @@ -91,7 +92,7 @@ protected override async Task<HttpResponseMessage> GetGptResponse(AiMessage mess

var content = JsonContent.Create(deepSeekGptMessage);

Logger.LogDebug($"{nameof(SendAsync)}({message.ChatIds}) content: {content.Value}");
Logger.LogDebug("{SendAsyncName}({MessageChatIds}) content: {ContentValue}", nameof(SendAsync), message.ChatIds, content.Value);

return await client.PostAsync(Completion,
content,
Expand Down
2 changes: 1 addition & 1 deletion Botticelli.AI.GptJ/Provider/GptJProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected override async Task<HttpResponseMessage> GetGptResponse(AiMessage mess
Temperature = Settings.Value.Temperature
});

Logger.LogDebug($"{nameof(SendAsync)}({message.ChatIds}) content: {content.Value}");
Logger.LogDebug("{SendAsyncName}({MessageChatIds}) content: {ContentValue}", nameof(SendAsync), message.ChatIds, content.Value);

return await client.PostAsync(Url.Combine($"{Settings.Value.Url}", "generate"),
content,
Expand Down
2 changes: 1 addition & 1 deletion Botticelli.AI.Test/AIProvider/BaseAiProviderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using FluentAssertions;
using FluentValidation;
using NUnit.Framework;
using Shared;
using Mocks;
using WireMock.Server;

namespace Botticelli.AI.Test.AIProvider;
Expand Down
2 changes: 1 addition & 1 deletion Botticelli.AI.Test/AIProvider/ChatGptProviderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Botticelli.AI.ChatGpt.Provider;
using Botticelli.AI.ChatGpt.Settings;
using NUnit.Framework;
using Shared;
using Mocks;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;
using Usage = Botticelli.AI.ChatGpt.Message.ChatGpt.Usage;
Expand Down
2 changes: 1 addition & 1 deletion Botticelli.AI.Test/AIProvider/DeepSeekGptProviderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Botticelli.AI.DeepSeekGpt.Provider;
using Botticelli.AI.DeepSeekGpt.Settings;
using NUnit.Framework;
using Shared;
using Mocks;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;
using Usage = Botticelli.AI.DeepSeekGpt.Message.DeepSeek.Usage;
Expand Down
2 changes: 1 addition & 1 deletion Botticelli.AI.Test/AIProvider/YaGptProviderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Botticelli.AI.YaGpt.Provider;
using Botticelli.AI.YaGpt.Settings;
using NUnit.Framework;
using Shared;
using Mocks;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;

Expand Down
2 changes: 1 addition & 1 deletion Botticelli.AI.Test/Botticelli.AI.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<ProjectReference Include="..\Botticelli.AI.DeepSeekGpt\Botticelli.AI.DeepSeekGpt.csproj"/>
<ProjectReference Include="..\Botticelli.AI.YaGpt\Botticelli.AI.YaGpt.csproj"/>
<ProjectReference Include="..\Botticelli.AI\Botticelli.AI.csproj"/>
<ProjectReference Include="..\Tests\Shared\Shared.csproj"/>
<ProjectReference Include="..\Tests\Mocks\Mocks.csproj" />
</ItemGroup>

</Project>
9 changes: 5 additions & 4 deletions Botticelli.AI.YaGpt/Provider/YaGptProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,19 +89,20 @@ protected override async Task<HttpResponseMessage> GetGptResponse(AiMessage mess
var yaGptMessage = new YaGptInputMessage
{
ModelUri = Settings.Value.Model,
Messages = new List<YaGptMessage>
{
Messages =
[
new()
{
Role = SystemRole,
Text = Settings.Value.Instruction
},

new()
{
Role = UserRole,
Text = message.Body
}
},
],
CompletionOptions = new CompletionOptions
{
MaxTokens = Settings.Value.MaxTokens,
Expand All @@ -119,7 +120,7 @@ protected override async Task<HttpResponseMessage> GetGptResponse(AiMessage mess

var content = JsonContent.Create(yaGptMessage);

Logger.LogDebug($"{nameof(SendAsync)}({message.ChatIds}) content: {content.Value}");
Logger.LogDebug("{SendAsyncName}({MessageChatIds}) content: {ContentValue}", nameof(SendAsync), message.ChatIds, content.Value);

return await client.PostAsync(Url.Combine($"{Settings.Value.Url}", Completion),
content,
Expand Down
4 changes: 2 additions & 2 deletions Botticelli.AI/AIProvider/ChatGptProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public virtual async Task SendAsync(AiMessage message, CancellationToken token)

try
{
Logger.LogDebug($"{nameof(SendAsync)}({message.ChatIds}) started");
Logger.LogDebug("{SendAsyncName}({MessageChatIds}) started", nameof(SendAsync), message.ChatIds);

using var client = GetClient();

Expand All @@ -53,7 +53,7 @@ public virtual async Task SendAsync(AiMessage message, CancellationToken token)
await SendErrorGptResponse(message, reason, token);
}

Logger.LogDebug($"{nameof(SendAsync)}({message.ChatIds}) finished");
Logger.LogDebug("{SendAsyncName}({MessageChatIds}) finished", nameof(SendAsync), message.ChatIds);
}
catch (Exception ex)
{
Expand Down
2 changes: 1 addition & 1 deletion Botticelli.AI/Botticelli.AI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.7.0</Version>
<Version>0.8.0</Version>
<Company>Botticelli</Company>
<Copyright>Igor Evdokimov</Copyright>
<PackageProjectUrl>https://github.com/devgopher/botticelli</PackageProjectUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.7.0</Version>
<Version>0.8.0</Version>
<PackageProjectUrl>https://botticellibots.com</PackageProjectUrl>
<PackageIcon>new_logo_compact.png</PackageIcon>
<RepositoryUrl>https://github.com/devgopher/botticelli</RepositoryUrl>
Expand All @@ -14,11 +14,7 @@
</PropertyGroup>

<ItemGroup>
<None Include="..\new_logo_compact.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
<Link>new_logo_compact.png</Link>
</None>
<None Include="..\new_logo_compact.png" Pack="true" PackagePath=""/>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Botticelli.Audio/Botticelli.Audio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.7.0</Version>
<Version>0.8.0</Version>
<Title>Botticelli.Audio</Title>
<Authors>BotticelliBots</Authors>
<PackageIcon>new_logo_compact.png</PackageIcon>
Expand Down
6 changes: 3 additions & 3 deletions Botticelli.Audio/UniversalLowQualityConvertor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public byte[] Convert(Stream input, AudioInfo tgtParams)
}
catch (Exception ex)
{
_logger.LogError($"{nameof(Convert)} => ({tgtParams.AudioFormat}, {tgtParams.Bitrate}) error", ex);
_logger.LogError("{ConvertName} => ({TgtParamsAudioFormat}, {TgtParamsBitrate}) error: {Ex}!", nameof(Convert), tgtParams.AudioFormat, tgtParams.Bitrate, ex);

throw new AudioConvertorException($"Audio conversion error: {ex.Message}", ex);
}
Expand Down Expand Up @@ -94,9 +94,9 @@ private byte[] ProcessByStreamEncoder(Stream input, AudioInfo tgtParams)
}
catch (IOException ex)
{
_logger.LogError($"{nameof(Convert)} => ({tgtParams.AudioFormat}, {tgtParams.Bitrate}) error", ex);
_logger.LogError("{ConvertName} => ({TgtParamsAudioFormat}, {TgtParamsBitrate}) error", nameof(Convert), tgtParams.AudioFormat, tgtParams.Bitrate, ex);

return Array.Empty<byte>();
return [];
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.10"/>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.16"/>
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0"/>
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2"/>
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.10"/>
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.11" />
</ItemGroup>

<ItemGroup>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("Botticelli.Auth.Sample.Telegram")
.HasAnnotation("ProductVersion", "8.0.13")
.HasAnnotation("ProductVersion", "8.0.16")
.HasAnnotation("Relational:MaxIdentifierLength", 63);

NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.13"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.16"/>
<PackageReference Include="SQLitePCLRaw.core" Version="2.1.11"/>
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0"/>
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2"/>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("Botticelli.Auth.Sample.Telegram")
.HasAnnotation("ProductVersion", "8.0.13");
.HasAnnotation("ProductVersion", "8.0.16");

modelBuilder.Entity("Botticelli.Auth.Data.Models.AccessHistory<Botticelli.Auth.Data.Models.BotUser>", b =>
{
Expand Down
4 changes: 2 additions & 2 deletions Botticelli.Auth.Data/Botticelli.Auth.Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.10">
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.16">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.10"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.16"/>
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions Botticelli.Auth/Botticelli.Auth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<ItemGroup>
<PackageReference Include="Mapster" Version="7.4.0"/>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.10"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.10"/>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.16"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.16"/>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0"/>
</ItemGroup>

Expand Down
7 changes: 1 addition & 6 deletions Botticelli.Bot.Dal/BotInfoContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ namespace Botticelli.Bot.Data;

public class BotInfoContext : DbContext
{
// public BotInfoContext() : base((new DbContextOptionsBuilder<BotInfoContext>().UseSqlite("Data Source=database.db")).Options)
// {
//
// }

public BotInfoContext(DbContextOptions options) : base(options)
public BotInfoContext(DbContextOptions<BotInfoContext> options) : base(options)
{
}

Expand Down
Loading
Loading