a794b6ed54
* Version incremented * Added ability to handle errors during filters validation inside Handlers * Moved Result class to root directory * Added FilterOrigin enum
Rikitav2025-08-04 05:11:59 +04:00
6635d00648
* Code cleanup * Moved handler execution logic from "DescribedHandlerInfo" to "UpdateHandlerBase" * Added logging message on handler described
Rikitav2025-08-04 04:25:00 +04:00
1e0b5078c6
Fixed logging call inside main lib
Rikitav2025-08-03 03:42:27 +04:00
a87a07d939
* Added Logging abstraction for base library * Version incremented
Rikitav2025-08-03 03:29:15 +04:00
34ac0231d5
* Added missing XML summaries for new components
Rikitav2025-08-03 01:59:13 +04:00
b14d848537
* Added new namespace "Aspects" and types dedicated for aspected handlers processing, including Pre\Post processors * Added new DescriptorAspectsSet class, used for mamanging and executing aspects of handlers * Processors can prevent handlers execution using Result.Fault() * Added field to DescribedHandlerInfo for getting descriptor from which this handler was described * Removed unused reflection extension methods
Rikitav2025-08-03 00:28:10 +04:00
18e361322e
* Added missing XML summaries to new CallbackQuery methods * Fixed CallbackQuery's origin message resolving inside Callbback query container extension methods
Rikitav2025-08-02 21:01:29 +04:00
bb5ca1daad
Merge pull request #2 from JotaroSamo/feat/callback
Rikitav2025-08-02 20:43:38 +04:00
83fc5cc629
* Moved configuring logic to post build of Web application * Added new TRelegratorWebOptions class to configure Webhooksusing extenral configuration tools
Rikitav2025-08-02 02:36:54 +04:00
16d11990ec
* Added Result class to communicate with router from handler * Removed "ExecuteOnlyFirstFoundHanlder" in sake of testing new Result pattern based routing system * Removed obsolete option property "DescendDescriptorIndex" * Changed router logic * Changed handlers pool logic
Rikitav2025-08-02 02:32:38 +04:00
b8e4398b50
* Moved configuration to post build actions * Added option to completelly disable automatic configuration
Rikitav2025-08-02 00:27:23 +04:00
a5bfe7da24
* version incremented * Added XML summaries to new members * Added TrySetInstance to HandlerDescriptor. Exception-free version of SetInstance method * Changed singleton ionstance setting in HandlersProvidedr
Rikitav2025-08-01 15:11:05 +04:00
92add58180
* moved WelcomeAttribute to a separate namespace for special case-targetted attribute * Added "MethodHandlerDescriptor" a class that provides ability to implicitly create handlers from methods that matches the AbstractHandlerAction<T> delegate * Added extension method for HandlersCollection for adding methods as handlers
Rikitav2025-08-01 15:03:19 +04:00
6ea58b24da
* Encapsulated "reply" and "respond" methods into extension methods for the container class
Rikitav2025-08-01 14:02:01 +04:00
49310439e0
* Renamed "LeveledDebug" to "Alligator", cuz its funny name * Changed debug writing to trace writing inside "Alligator" * Added "HostedTelegramBotInfo" representing hosted version of ITelegramBotInfo. Provides access to services and configuration * Filters now can acces services and configuration using new "HostedTelegramBotInfo" through context.BotInfo property
Rikitav2025-08-01 13:50:21 +04:00
16e599bed8
* Added helper analyzer packing to main package
Rikitav2025-07-29 05:14:57 +04:00
41c129cfe7
Test application removed
Rikitav2025-07-28 20:37:54 +04:00
5320c9ec20
* Changed public API overview generator behaviour, now working only in DEBUG builds * Fixed wrong LeveldDebug method calls after moving logic from providers to router * Added independent "IndentFlags" property to inner debugger class * Fixed debug logging in few places * Removed "ICollectingOptions" and merged it with new options abstract "ITelegratorOptions" * Added WebHook version of hosting class
Rikitav2025-07-28 20:35:48 +04:00
4e53337496
* Version incremented and made a little cleanup
Rikitav2025-07-28 04:19:39 +04:00
6a18d9765b
* Added "LazyInitialize" property to "HandlerDescriptor" to make post-creation operation (required for BranchingHandler) * Tweaked "HandlersProvider" implementation to fit new HandlerDescriptor property * Fixed "BranchingHandler"'s descriptor creation logic
Rikitav2025-07-28 03:53:13 +04:00
b01d576564
* Little renaming in StateKeeping namespace * Changed "FilterAnnotation{T}" to work withou type specific sub-classes * Changed interfaces "IUpdateRouter" and "IHandlersProvider" to match their names more correctly. Before filter validating was on providers, now its router works AS ITS SHOULD BE
Rikitav2025-07-27 14:19:40 +04:00
b86699a65e
* Improved "MessageChatTypeFilter", now accepts flagged version of "ChatType" enum. "ChatTypeFlags" * Added classes to reactive update filter annotations implementation "FilterAnnotation" * "CollectHandlersDowmainWide" method moved as extension to IHandlersCollection and added method "CollectHandlerAssemblyWide" named respectfully * Added "DefaultRouterExceptionHandler" to reactive implement "IRouterExceptionHandler" from function delegate * Small bug fixes in API overview generator logic
Rikitav2025-07-26 21:03:42 +04:00
cec7c88b6a
* Renamed "concurrency" parameters in handlers attributes to more relevant and intuitive "importance" parameter * Added debug logging helper that use default Debug tracer to trace filter, providers, routers and pool execution * Added debug logging for failing during handlers resolving, filters * Added new "CreateEmptyBuilder" methods for TelegramBotHost class * Addede ability to name handlers using "DisplayNameAttribute". This name is writed to descriptor's "DisplayString" property * Fixed missing summaries inside Hosting library
Rikitav2025-07-26 00:01:46 +04:00
78c7f41489
Removed doubled filters variations for reply-chain message filtering Instead using MessageRepliedAttribute to filter messages in reply-chain Old types renamed to new framework name
Rikitav2025-07-25 01:26:32 +04:00