Implement comprehensive notification system for LittleShop
- Add admin PWA push notifications for order management - Integrate TeleBot customer messaging service - Add push notification endpoints and VAPID key support - Implement order status notifications throughout workflow - Add notification UI components in admin panel - Create TeleBotMessagingService for customer updates - Add WebPush configuration to appsettings - Fix compilation issues (BotStatus, BotContacts DbSet) - Add comprehensive testing documentation Features: - Real-time admin notifications for new orders and status changes - Customer order progress updates via TeleBot - Graceful failure handling for notification services - Test endpoints for notification system validation 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
BIN
publish/telebot/BouncyCastle.Cryptography.dll
Normal file
BIN
publish/telebot/BouncyCastle.Cryptography.dll
Normal file
Binary file not shown.
BIN
publish/telebot/FluentValidation.dll
Normal file
BIN
publish/telebot/FluentValidation.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Hangfire.AspNetCore.dll
Normal file
BIN
publish/telebot/Hangfire.AspNetCore.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Hangfire.Core.dll
Normal file
BIN
publish/telebot/Hangfire.Core.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Hangfire.LiteDB.dll
Normal file
BIN
publish/telebot/Hangfire.LiteDB.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Hangfire.NetCore.dll
Normal file
BIN
publish/telebot/Hangfire.NetCore.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Hangfire.SqlServer.dll
Normal file
BIN
publish/telebot/Hangfire.SqlServer.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Humanizer.dll
Normal file
BIN
publish/telebot/Humanizer.dll
Normal file
Binary file not shown.
BIN
publish/telebot/LiteDB.dll
Normal file
BIN
publish/telebot/LiteDB.dll
Normal file
Binary file not shown.
BIN
publish/telebot/LittleShop.Client.dll
Normal file
BIN
publish/telebot/LittleShop.Client.dll
Normal file
Binary file not shown.
BIN
publish/telebot/LittleShop.Client.pdb
Normal file
BIN
publish/telebot/LittleShop.Client.pdb
Normal file
Binary file not shown.
Binary file not shown.
BIN
publish/telebot/Microsoft.IdentityModel.Abstractions.dll
Normal file
BIN
publish/telebot/Microsoft.IdentityModel.Abstractions.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Microsoft.IdentityModel.JsonWebTokens.dll
Normal file
BIN
publish/telebot/Microsoft.IdentityModel.JsonWebTokens.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Microsoft.IdentityModel.Logging.dll
Normal file
BIN
publish/telebot/Microsoft.IdentityModel.Logging.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Microsoft.IdentityModel.Tokens.dll
Normal file
BIN
publish/telebot/Microsoft.IdentityModel.Tokens.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Newtonsoft.Json.dll
Normal file
BIN
publish/telebot/Newtonsoft.Json.dll
Normal file
Binary file not shown.
BIN
publish/telebot/PgpCore.dll
Normal file
BIN
publish/telebot/PgpCore.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Pipelines.Sockets.Unofficial.dll
Normal file
BIN
publish/telebot/Pipelines.Sockets.Unofficial.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Polly.Extensions.Http.dll
Normal file
BIN
publish/telebot/Polly.Extensions.Http.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Polly.dll
Normal file
BIN
publish/telebot/Polly.dll
Normal file
Binary file not shown.
BIN
publish/telebot/QRCoder.dll
Normal file
BIN
publish/telebot/QRCoder.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Serilog.Extensions.Logging.dll
Normal file
BIN
publish/telebot/Serilog.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Serilog.Sinks.Console.dll
Normal file
BIN
publish/telebot/Serilog.Sinks.Console.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Serilog.Sinks.File.dll
Normal file
BIN
publish/telebot/Serilog.Sinks.File.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Serilog.dll
Normal file
BIN
publish/telebot/Serilog.dll
Normal file
Binary file not shown.
BIN
publish/telebot/SixLabors.ImageSharp.dll
Normal file
BIN
publish/telebot/SixLabors.ImageSharp.dll
Normal file
Binary file not shown.
BIN
publish/telebot/StackExchange.Redis.dll
Normal file
BIN
publish/telebot/StackExchange.Redis.dll
Normal file
Binary file not shown.
BIN
publish/telebot/System.IdentityModel.Tokens.Jwt.dll
Normal file
BIN
publish/telebot/System.IdentityModel.Tokens.Jwt.dll
Normal file
Binary file not shown.
1078
publish/telebot/TeleBot.deps.json
Normal file
1078
publish/telebot/TeleBot.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
publish/telebot/TeleBot.dll
Normal file
BIN
publish/telebot/TeleBot.dll
Normal file
Binary file not shown.
BIN
publish/telebot/TeleBot.exe
Normal file
BIN
publish/telebot/TeleBot.exe
Normal file
Binary file not shown.
BIN
publish/telebot/TeleBot.pdb
Normal file
BIN
publish/telebot/TeleBot.pdb
Normal file
Binary file not shown.
19
publish/telebot/TeleBot.runtimeconfig.json
Normal file
19
publish/telebot/TeleBot.runtimeconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net9.0",
|
||||
"frameworks": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "9.0.0"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App",
|
||||
"version": "9.0.0"
|
||||
}
|
||||
],
|
||||
"configProperties": {
|
||||
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
publish/telebot/Telegram.Bot.Extensions.Polling.dll
Normal file
BIN
publish/telebot/Telegram.Bot.Extensions.Polling.dll
Normal file
Binary file not shown.
BIN
publish/telebot/Telegram.Bot.dll
Normal file
BIN
publish/telebot/Telegram.Bot.dll
Normal file
Binary file not shown.
84
publish/telebot/appsettings.json
Normal file
84
publish/telebot/appsettings.json
Normal file
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"BotInfo": {
|
||||
"Name": "LittleShop TeleBot",
|
||||
"Description": "Privacy-focused e-commerce Telegram bot",
|
||||
"Version": "1.0.0"
|
||||
},
|
||||
"BotManager": {
|
||||
"ApiKey": "",
|
||||
"Comment": "This will be populated after first registration with admin panel"
|
||||
},
|
||||
"Telegram": {
|
||||
"BotToken": "",
|
||||
"AdminChatId": "",
|
||||
"WebhookUrl": "",
|
||||
"UseWebhook": false,
|
||||
"Comment": "Bot token will be fetched from admin panel API if BotManager:ApiKey is set"
|
||||
},
|
||||
"Webhook": {
|
||||
"Secret": "",
|
||||
"Comment": "Optional secret key for webhook authentication"
|
||||
},
|
||||
"LittleShop": {
|
||||
"ApiUrl": "http://localhost:8080",
|
||||
"OnionUrl": "",
|
||||
"Username": "admin",
|
||||
"Password": "admin",
|
||||
"UseTor": false
|
||||
},
|
||||
"Privacy": {
|
||||
"Mode": "strict",
|
||||
"DataRetentionHours": 24,
|
||||
"SessionTimeoutMinutes": 30,
|
||||
"EnableAnalytics": false,
|
||||
"RequirePGPForShipping": false,
|
||||
"EphemeralByDefault": true,
|
||||
"EnableTor": false,
|
||||
"TorSocksPort": 9050,
|
||||
"TorControlPort": 9051,
|
||||
"OnionServiceDirectory": "/var/lib/tor/telebot/"
|
||||
},
|
||||
"Redis": {
|
||||
"ConnectionString": "localhost:6379",
|
||||
"InstanceName": "TeleBot",
|
||||
"Enabled": false
|
||||
},
|
||||
"Database": {
|
||||
"ConnectionString": "Filename=telebot.db;Password=;",
|
||||
"EncryptionKey": "CHANGE_THIS_KEY_IN_PRODUCTION"
|
||||
},
|
||||
"Features": {
|
||||
"EnableVoiceSearch": false,
|
||||
"EnableQRCodes": true,
|
||||
"EnablePGPEncryption": true,
|
||||
"EnableDisappearingMessages": true,
|
||||
"EnableOrderMixing": true,
|
||||
"MixingDelayMinSeconds": 60,
|
||||
"MixingDelayMaxSeconds": 300
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft": "Warning",
|
||||
"System": "Warning"
|
||||
},
|
||||
"PrivacyMode": true
|
||||
},
|
||||
"Hangfire": {
|
||||
"Enabled": false,
|
||||
"DatabasePath": "hangfire.db"
|
||||
},
|
||||
"Cryptocurrencies": [
|
||||
"BTC",
|
||||
"XMR",
|
||||
"LTC",
|
||||
"DASH"
|
||||
],
|
||||
"Kestrel": {
|
||||
"Endpoints": {
|
||||
"Http": {
|
||||
"Url": "http://localhost:5010"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
publish/telebot/ca/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/ca/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/de/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/de/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/es/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/es/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/fa/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/fa/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/fr/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/fr/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/nb/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/nb/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/nl/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/nl/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/pt-BR/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/pt-BR/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/pt-PT/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/pt-PT/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/pt/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/pt/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/sv/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/sv/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/tr-TR/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/tr-TR/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/zh-TW/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/zh-TW/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
BIN
publish/telebot/zh/Hangfire.Core.resources.dll
Normal file
BIN
publish/telebot/zh/Hangfire.Core.resources.dll
Normal file
Binary file not shown.
Reference in New Issue
Block a user