Commit Graph

123 Commits

Author SHA1 Message Date
Aleksandr Bukhalo
2195d6b9bd
Merge pull request #289 from toolstik/feature/modules-deep-scan
Allow updates and scenes to be included from nested imported modules
2021-08-05 12:13:18 +03:00
Alexander Bukhalo
75e4f3761c
Revert "[Fix] Call next after handler" (#310) 2021-03-06 16:11:15 +03:00
Alexander Bukhalo
c7fe358e3b
Merge pull request #309 from Morb0/fix/call-next
[Fix] Call next after handler
2021-03-06 15:24:29 +03:00
Alexander Bukhalo
932832cc30
Merge pull request #308 from Morb0/feature/export-stage
[Feature] Export Stage provider
2021-03-06 15:24:13 +03:00
Morb0
3eff20a91d fix(explorer): call next after callback fn 2021-03-06 15:14:32 +03:00
Morb0
48c183a8ff feat(): make stage provider & export from module 2021-03-06 15:00:13 +03:00
Viktor
2718e899e9 scan modules recursively in flatMap 2021-02-22 13:20:13 +03:00
Viktor
3f4b9ce4ed do not launch bot if launchOptions are defined as 'false' 2021-02-20 06:14:27 +03:00
Morbo
a104f69b59
fix(telegraf-options): make options type partial (#249) 2021-02-03 17:32:29 +03:00
Morbo
2b48bce92a
[Fix] Async options factory (#233) 2021-01-23 19:51:46 +03:00
Morbo
0b8819665a
refactor(types): use exported options types (#232) 2021-01-23 19:51:29 +03:00
Morbo
0c50fca66e
fix(params-factory): add data propery check (#231) 2021-01-23 19:50:32 +03:00
Morbo
663ebf1a62
Update to Telegraf v4.0.0 (#212)
* feat(telegraf): update to v4.0.0

* chore(lock): update package-lock

* chore(deps): remove telegraf from dependencies

* chore(readme): update installation command

* chore(deps): add telegraf to dev dependencies
2021-01-11 16:17:32 +03:00
Morb0
daf0d8ffdf chore(telegraf-exception): remove message parsing 2021-01-06 22:47:37 +03:00
Morb0
6656c39bd9 fix(listeners-explorer): ignore empty callback return data 2021-01-06 22:35:01 +03:00
Morb0
fcaa89d097 feat(listeners-explorer): convert callback return data to string and reply 2021-01-06 20:51:26 +03:00
Morb0
4ca6e18d12 feat(param-decorators): add new paramtypes & make possible to get property from object 2021-01-06 20:49:50 +03:00
Morb0
1b8aa4ac55 refactor(metadata-accessor): remove comment & use short checking 2021-01-06 19:38:58 +03:00
Morb0
4ada932d4e fix(params-factory): use new arguments set 2021-01-06 19:37:30 +03:00
Morb0
2030f086bf feat(listeners-explorer): remove callback return value handling 2021-01-06 19:36:46 +03:00
Morb0
c32f2c72d9 chore(): export more items 2021-01-06 17:54:49 +03:00
Morb0
c867e233d6 chore(): delete unused explorer 2021-01-06 17:32:55 +03:00
Morb0
197614d90a merge refactor/v2 2021-01-06 17:28:46 +03:00
Morb0
89d7304eba feat(explorer): add custom context callback creation 2021-01-06 17:19:35 +03:00
Morb0
751b15b4b2 fix(): use bot token in di 2021-01-05 13:36:12 +03:00
Morb0
5fe60dc5b2 fix(): change botName to name 2021-01-05 12:42:41 +03:00
Morb0
75ff810c34 feat(): wip 2021-01-05 12:37:04 +03:00
Morb0
320ee3077e merge refactor/v2 2021-01-05 00:32:31 +03:00
Morb0
8fcec73afd fix(explorer): get bot on module init 2021-01-03 16:20:50 +03:00
Morb0
f13eebe685 fix(): missing decorators & refactor 2021-01-03 16:11:17 +03:00
Morb0
e75415340b fix(sample-app): make possible to run app 2021-01-03 15:35:18 +03:00
Morb0
5ada9353e9 refactor(): bot token using 2021-01-03 13:24:07 +03:00
Morb0
d48123ea38 refactor(): extract bot instace factory 2021-01-03 13:04:53 +03:00
Morb0
798494a5b2 refactor(): use ExternalContextCreator 2021-01-03 02:39:50 +03:00
Morb0
af632ea471 feat!(): add custom execution context 2021-01-03 01:30:57 +03:00
Alexander Bukhalo
832ddaf15c fix(): working after merge 2021-01-02 21:40:13 +03:00
Alexander Bukhalo
b808fb646a Merge branch 'feature/v2' of github.com:bukhalo/nestjs-telegraf into feature/multiple-instances
 Conflicts:
	lib/decorators/inject-bot.decorator.ts
	lib/index.ts
	lib/interfaces/context.interface.ts
	lib/interfaces/index.ts
	lib/interfaces/telegraf-options.interface.ts
	lib/services/metadata-accessor.service.ts
	lib/services/updates-explorer.service.ts
	lib/telegraf-core.module.ts
	lib/telegraf.constants.ts
	package-lock.json
2021-01-02 16:46:01 +03:00
Alexander Bukhalo
63fe457b58 fix(): module work restored 2021-01-02 16:37:59 +03:00
Morb0
f88e34d489 fix(boot): update config interface 2021-01-02 15:47:17 +03:00
Arthur
f56526b9f3 feat(): use last telegraf release 2021-01-02 15:23:30 +03:00
Alexander Bukhalo
a6ddfb7d02 docs(): update docs 2021-01-02 03:10:25 +03:00
Alexander Bukhalo
03b17a0cdb feat(): disabling global catch support 2021-01-02 02:00:10 +03:00
Alexander Bukhalo
3d7ecbd7f2 chore(): cleanup debug code 2021-01-02 01:32:49 +03:00
Alexander Bukhalo
ccb2db0106 feat(): multiple instances support 2021-01-02 01:27:01 +03:00
Arthur
3e585859d0 feat(): add middleware support & refactor 2020-12-30 01:49:09 +03:00
Arthur
306f239603 reafctor(): remove unused code & add exports 2020-12-29 22:48:19 +03:00
Arthur
8c72790226 !feat(): add scene support & many refactor 2020-12-29 22:41:06 +03:00
unknown
b3dc258c70 !feat(): use dynamic types for listener decorators 2020-12-27 21:35:01 +03:00
unknown
16969365f2 refactor(): remove unused const 2020-12-27 11:03:25 +03:00
unknown
36f67ce29d refactor(): reply switch with dynamic telegraf method call 2020-12-26 23:19:30 +03:00