Commit Graph

92 Commits

Author SHA1 Message Date
Rikitav c43a1cdfa2 * Refactored analyzers
* Added warnings reporting for invalid handler declaration (Hardcoded names)
2026-03-06 20:01:54 +04:00
Rikitav a7fe90ac50 * Renamed DescribeHandlerInfo to DescribedHandlerDescriptor
* Added AwaitResult and ReportResult methods to DescribedHandlerDescriptor
* Moved DontCollectAttribute and MightAwaitAttribute to Annotations namespace
* Rewrote UpdateRouter and UpdateHandlersPool
* Fixed Synchronous handlers routing bug
* Code cleanup
2026-03-06 18:51:10 +04:00
Rikitav 21ec3e5f11 Fixed typo in 'CommandAllias' and 'Response' 2026-03-06 15:15:48 +04:00
Rikitav 29c3b8df81 Added little skip for results returning, Ok, Fault and Next properties to UpdateHandlerBase, now instaed of 'return Result.Ok();' you can just type 'return Ok;' 2026-03-06 15:10:41 +04:00
Rikitav 528870f1ba added github workflow file for automatic nuget packages pushing 2026-03-06 15:03:30 +04:00
Rikitav 4d45ec885e Added more ignorring namespaces (temporarelly) 2026-03-06 15:00:35 +04:00
Rikitav a948e5d15f Fixed SplitArgs method capturing bot name 2026-03-06 14:49:52 +04:00
gutii 5a3640bc9f Added localization addon 2026-02-27 19:18:18 +04:00
Rikitav e77894fde6 docs sources 2025-09-15 21:19:53 +04:00
Rikitav 7cd95b9e64 code cleanup 2025-09-10 21:40:58 +04:00
Rikitav 0bcfdc9c97 Version incremented 2025-08-25 02:48:13 +04:00
Rikitav 70ee6eb9c1 * Removed default filters comparison methods from 'FiltersFallbackReport'
* Added 'ReportInspector' for patterned filters diagnostic
* Moved some extension methods to corresponding namespaces and separated simple type extensions from complex types extensions
2025-08-25 02:46:43 +04:00
Rikitav 64950b413c Moved TextContainsWordFilter's logic to extension method 2025-08-24 22:44:55 +04:00
Rikitav 884a4b126c Added TextContainsWordAttribute 2025-08-24 22:35:44 +04:00
Rikitav 576dd5013f Version incrememted 2025-08-24 01:23:32 +04:00
Rikitav 81b6e50fe9 Added missing XML-Summaries 2025-08-24 01:22:59 +04:00
Rikitav d99b10f692 * Added new method for filters report inspection
* Added ArgumentCount filter
* Fixed AddHandler method throwing exception on handler without parameterless constructors
2025-08-24 01:13:35 +04:00
Rikitav 71af943794 Version incremented 2025-08-21 23:39:23 +04:00
Rikitav 92df5e9c79 * hotfix of aspects inspection
* Added IHandlersManager. interface that allows both collecting and providing handlers
2025-08-19 12:10:40 +04:00
Rikitav 6905045cde DescriptorAspectsSet optimizations 2025-08-19 06:38:56 +04:00
Rikitav 2d97fe5339 Removed Method GetDescriptorsList from IHandlersCollection 2025-08-19 05:39:22 +04:00
Rikitav 890ee3616c Optimizations to HandlersCollections 2025-08-19 04:51:53 +04:00
Rikitav 24c10ceb24 Union extension method changed to UnionAdd to avoid conflicts 2025-08-19 04:48:01 +04:00
Rikitav 5cbf2502f6 restrictions to HandlersProvider 2025-08-19 04:35:28 +04:00
Rikitav 16440bcf43 * Added protection from NotImplementedException to HandlerBuilderBase
* Moved AddHandler<T> and AddHandler(Type) methods from IHandlersCollection to extension methods
* Added public constructor to IHost types form extensibility
* Code cleanup
2025-08-19 04:33:02 +04:00
Rikitav a5bae95bad Added missing XML-Summaries 2025-08-19 01:51:23 +04:00
Rikitav c6d1abeacb Added keyboard markup generation from properties 2025-08-19 01:41:06 +04:00
Rikitav 707f4222ff Added support for ReplyKeyboardMarkup generation 2025-08-19 01:05:45 +04:00
Rikitav 065430a52f Code cleanup 2025-08-18 21:15:48 +04:00
Rikitav c809470fb0 * Implicit handlers building extensions generator refactored
* Telegram.Bot package updated
2025-08-18 20:32:24 +04:00
Rikitav cf598ea91e * Added ReplyKeyboardMarkupGenerator
* Added set of markup attributes dedicatedf to map a keyboard using partial methods
2025-08-16 13:13:34 +04:00
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