Commit Graph

61 Commits

Author SHA1 Message Date
Rikitav cdd03a3e0e Incremented and fixed version 2025-08-13 01:12:26 +04:00
Rikitav 68e171f082 Added types for future State keepers overhaul 2025-08-13 01:11:42 +04:00
Rikitav cbfb1d4e8d * minor changes to state keepers 2025-08-13 00:58:37 +04:00
Rikitav ccfefa578d Changed summaries for InlineQueryHandler to match new restrict 2025-08-12 01:02:40 +04:00
Rikitav 2df3485078 Added frozing collection after adding inlinequeryhandler once, no prevent multiple instances of this handler in collection 2025-08-12 00:56:41 +04:00
Rikitav 7957d63c2b Version incremented 2025-08-12 00:43:43 +04:00
Rikitav 8299551d69 Added missing XML summaries 2025-08-12 00:42:43 +04:00
Rikitav 3b7908756d * Added new handler type "InlineQueryHandler"
* Acts as complex multi-type handler that supports InlineQuery AND ChosenInlineQuery updates
* Added "UpdateTypeExtensions.SuppressTypes" to suppress some of update types for multi-type handlers
* Logging adjustments
* Changed extension method "HasPublicProperties" to extned Type
2025-08-12 00:09:45 +04:00
Rikitav a1af9bdc3e * BugFixes
* Added basic command arguments filters
2025-08-10 18:59:31 +04:00
Rikitav 3a88feb5f1 * Improved filter fallback search logic
* Fixed Environment variable filter logic
* Changed some logs to trace level
* Added new Message extension methods
2025-08-10 02:48:45 +04:00
Rikitav 0cf8ea27b6 * quickfix 2025-08-08 17:30:17 +04:00
Rikitav cee7ed3adc Added missing XML summaries 2025-08-08 17:15:57 +04:00
Rikitav d8fa0b02d7 Removed "anyMatched" variable as unused 2025-08-08 17:07:13 +04:00
Rikitav bf66431089 * Added "INamedFilter" to tagging filters. Required for fallbacking system
* AnonymousCompiledFilter now has undependent realization
* All internal filters now implement INamedFilter interface
* Added new static methods to "Filter" class
* Added Filters fallbacking system
* Added "FiltersFallback" method in "UpdatehandlerBase"
* Changed filters validating system to be able to report failed filters
* Added "FiltersFallbackReport" class
* Added "FormReport" Property to "UpdateHandlerAttributeBase"
* Version incremented
2025-08-08 17:04:56 +04:00
Rikitav e790f31495 * Implemented IDisposable interface for handlers and added virtual method if such needed 2025-08-04 05:22:43 +04:00
Rikitav a794b6ed54 * Version incremented
* Added ability to handle errors during filters validation inside Handlers
* Moved Result class to root directory
* Added FilterOrigin enum
2025-08-04 05:11:59 +04:00
Rikitav afb500cfc6 * Added IOptions services checking for host builders 2025-08-04 04:33:34 +04:00
Rikitav cb9e158e6c * Fixed HostedUpdateWebhooker startup logic 2025-08-04 04:27:04 +04:00
Rikitav 6635d00648 * Code cleanup
* Moved handler execution logic from "DescribedHandlerInfo" to "UpdateHandlerBase"
* Added logging message on handler described
2025-08-04 04:25:00 +04:00
Rikitav 1e0b5078c6 Fixed logging call inside main lib 2025-08-03 03:42:27 +04:00
Rikitav a87a07d939 * Added Logging abstraction for base library
* Version incremented
2025-08-03 03:29:15 +04:00
Rikitav 34ac0231d5 * Added missing XML summaries for new components 2025-08-03 01:59:19 +04:00
Rikitav 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
2025-08-03 00:28:10 +04:00
Rikitav 18e361322e * Added missing XML summaries to new CallbackQuery methods
* Fixed CallbackQuery's origin message resolving inside Callbback query container extension methods
2025-08-02 21:01:29 +04:00
Rikitav bb5ca1daad Merge pull request #2 from JotaroSamo/feat/callback
Add Response, EditText, AnswerCallback in CallbackQueryHandler
2025-08-02 20:43:38 +04:00
HONOR 2293f24808 Add Response, EditText, AnswerCallback in CallbackQueryHandler 2025-08-02 03:11:07 +03:00
Rikitav 692f0e0875 * README tweaks 2025-08-02 03:36:48 +04:00
Rikitav 7d1ce6ea22 * Added mising XML summaries
* Obsolete code comments cleanup
2025-08-02 03:33:35 +04:00
Rikitav 02e23eefdd * version incremented 2025-08-02 03:23:33 +04:00
Rikitav a1442e80f8 * merged results branch with master 2025-08-02 03:22:00 +04:00
Rikitav 8e0d271901 * Fixed method handlers behaviour 2025-08-02 03:19:52 +04:00
Rikitav da3c418a1a * Fixed unnecesary configuring of TelegraotrOptions inside Builder 2025-08-02 02:38:34 +04:00
Rikitav 83fc5cc629 * Moved configuring logic to post build of Web application
* Added new TRelegratorWebOptions class to configure Webhooksusing extenral configuration tools
2025-08-02 02:37:07 +04:00
Rikitav 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
2025-08-02 02:32:38 +04:00
Rikitav b8e4398b50 * Moved configuration to post build actions
* Added option to completelly disable automatic configuration
2025-08-02 00:27:23 +04:00
Rikitav 088d6166ce * Method descriptor creation hotfix 2025-08-01 15:48:54 +04:00
Rikitav 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
2025-08-01 15:11:05 +04:00
Rikitav 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
2025-08-01 15:03:19 +04:00
Rikitav 6ea58b24da * Encapsulated "reply" and "respond" methods into extension methods for the container class 2025-08-01 14:02:01 +04:00
Rikitav 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
2025-08-01 13:50:21 +04:00
Rikitav 16e599bed8 * Added helper analyzer packing to main package 2025-07-29 05:14:57 +04:00
Rikitav a6631b2663 * 2025-07-28 20:38:34 +04:00
Rikitav 41c129cfe7 Test application removed 2025-07-28 20:37:54 +04:00
Rikitav 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
2025-07-28 20:35:48 +04:00
Rikitav 7d72ca79d2 Update Telegrator.sln
* Test application project file slipped inside commit. Whoopsie!
2025-07-28 04:31:53 +04:00
Rikitav 4e53337496 * Version incremented and made a little cleanup 2025-07-28 04:19:39 +04:00
Rikitav 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
2025-07-28 03:53:13 +04:00
Rikitav 5a93623469 * Fixed "MentionedAttribute"
* Improved "MentionedFilter"
2025-07-28 02:48:06 +04:00
Rikitav 76cf6eb4a2 * Fixed default's HandlersProvider instance creation
* Fixed all of the message filters faulting because of wrong execution sequence
* Removed default Host loggers
* Fixed descriptors indexing
2025-07-28 01:40:04 +04:00
Rikitav 1016132a65 * README tweak 2025-07-27 14:37:32 +04:00