Commit Graph

29 Commits

Author SHA1 Message Date
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 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
Rikitav 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
2025-07-27 14:19:40 +04:00
Rikitav 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
2025-07-26 21:03:42 +04:00
Rikitav 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
2025-07-26 00:01:46 +04:00
Rikitav bcdce52a37 banner hotfix 2025-07-25 01:49:43 +04:00
Rikitav 96fb24e1db banner hotfix! 2025-07-25 01:49:04 +04:00
Rikitav ff0146d0fb Readme banner fix! 2025-07-25 01:48:21 +04:00
Rikitav 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
2025-07-25 01:26:32 +04:00
Rikitav b60b4c5f01 Enabled NuGet package generation for hosting library 2025-07-24 23:30:52 +04:00
Rikitav 06b3a41a31 forgot to tweak readme! 2025-07-24 23:23:07 +04:00
Rikitav c0a87de0eb * Renaming repository, somehow broke git mark and now i need to create new repo! 2025-07-24 23:21:40 +04:00
Rikitav 33d1f6218a Добавьте файлы проекта. 2025-07-24 23:19:59 +04:00