Ruben Bermudez
7336766502
Merge pull request #801 from MouamleH/dev
...
Webhook bots now print exceptions instead of ignoring them
2020-10-21 19:32:46 +01:00
Grig Alex
323d7607d6
Create tests for CommandRegistry
2020-10-20 22:10:06 +03:00
Grig Alex
30fa92cd8b
Replace botUsername with botUsernameSupplier
2020-10-20 20:41:34 +03:00
Christian Blos
3f07bfdff1
Updated ExtensionTest and wiki
2020-10-08 16:11:45 +02:00
Christian Blos
247ca5f984
Don't expose extensions in BaseAbilityBot
2020-10-08 15:46:31 +02:00
Christian Blos
a1034707e3
Updated wiki
2020-10-08 15:33:30 +02:00
Christian Blos
5b465e79f3
Removed unnecessary onRegister() overrides
2020-10-08 15:07:14 +02:00
Daniil547
5d8d10b02d
Update AbilityUtils.java
2020-10-06 16:08:44 +00:00
Daniil547
fe79de9bb7
Update AbilityUtils.java
2020-10-06 15:49:49 +00:00
Daniil547
1855a27d13
Update Ability.java
2020-10-06 15:46:18 +00:00
Christian Blos
b715f2a154
Be able to add AbilityExtensions in Bot constructor
2020-10-05 18:07:06 +02:00
Christian Blos
74e305c2a7
Load abilities when bot gets registered
2020-10-05 17:08:26 +02:00
Christian Blos
a106e3190c
Be able to access AbilityBot via MessageContext
2020-10-02 21:57:57 +02:00
Chase22
2009ef411d
Add timeout and update limit for long-polling updates to DefaultBotOptions
...
Just a little commit to make the long-polling timeout and long-polling limit configurable via the BotOptions. Mainly for Testing
2020-09-21 19:31:50 +02:00
Mouamle
13f6b1f336
used slf4j for logging instead of exception.printStackTrace()
2020-09-08 01:18:18 +03:00
Mouamle
6fcd4d85c1
Made webhook bots print exceptions stacktrace to stderr instead of silently swallowing them.
2020-09-05 03:53:42 +03:00
Andy Costanza
f3626b7bf1
feat(spring boot): Upgrade spring boot dependency to 2.3.3.RELEASE
2020-08-25 17:25:36 +02:00
Andy Costanza
3c5163990b
feat(spring boot): Upgrade spring boot dependency to 2.3.2.RELEASE
...
I'll fix UT too because in Spring Boot 2.3.X, ApplicationContextRunner
disables bean overriding by default. To enable it, I set
withAllowBeanDefinitionOverriding to
true.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.3-Release-Notes#applicationcontextrunner-disables-bean-overriding-by-default
for more informations
2020-08-11 12:29:35 +02:00
Andy Costanza
b79911b45f
fix(javadoc): add missing configuration to generate javadoc
...
the error message before this fix was:
Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:3.1.0:jar (default) on
project telegrambots-meta: MavenReportException: Error while generating
Javadoc: Unable to find javadoc command: The environment variable
JAVA_HOME is not correctly set.
2020-08-11 12:17:33 +02:00
Ruben Bermudez
203b26587f
Merge pull request #788 from rubenlagus/dev
...
Dev
2020-08-02 11:38:03 +01:00
Ruben Bermudez
e6b9fd892f
Merge pull request #789 from addo37/fix-longest-match
...
Fix matching longest ability name on continuous text feature
2020-08-01 16:02:46 +01:00
Abbas Abou Daya
402c36e6b2
Fix matching longest ability name on continuous text feature
2020-08-01 05:56:50 -07:00
rubenlagus
749c6d3b6f
Fixes #767 , #766 , #761 , #763 , #776 , #772 , #771 , #780
2020-08-01 12:49:46 +01:00
Ruben Bermudez
196d0a3924
Merge pull request #785 from oskov/update-comments-for-AbilityBot
...
Simple comment update
2020-07-31 01:29:31 +01:00
Ruben Bermudez
280b9f2686
Merge pull request #780 from addo37/improve-token-fetch
...
Add customization options for command processing
2020-07-31 01:12:55 +01:00
Ruben Bermudez
4a4267768c
Merge pull request #779 from addo37/access-privacy
...
Ease the access modifier on getPrivacy and other auxiliary methods
2020-07-31 01:12:06 +01:00
Ruben Bermudez
fdb60e7b53
Merge pull request #778 from addo37/safe-get-user
...
Make getUser a safer method by returning a non-null user
2020-07-31 01:10:40 +01:00
Ruben Bermudez
cec61f95a1
Merge pull request #777 from addo37/prevent-reply-crash
...
Wrap reply calls with a try-catch clause to avoid dynamic exceptions
2020-07-31 01:09:20 +01:00
oskov
12619422c0
Seems to have forgotten about the comment after refactoring
2020-07-23 23:13:45 +03:00
Varun
8d6e5c80d3
Add CommandMessage class
...
This class adds argument functionality to a given message that a user typed, that also counts as a command
2020-07-20 18:21:21 -04:00
Abbas Abou Daya
a419a88ce1
Add test
2020-07-18 02:04:57 -07:00
Abbas Abou Daya
4991eef1f1
Add wiki and rename no space feature
2020-07-18 01:50:16 -07:00
Abbas Abou Daya
e6aae3c282
Allow users to customize command prefix, split regex and NoSpaceText
2020-07-18 01:27:39 -07:00
Abbas Abou Daya
709ed0f212
Ease the access modifier on getPrivacy and other auxiliary methods
2020-07-18 01:07:57 -07:00
Abbas Abou Daya
54096d2e85
Add test
2020-07-18 00:43:28 -07:00
Abbas Abou Daya
5281caad39
Make getUser a safer method by returning an EMPTY_USER on null
2020-07-18 00:36:29 -07:00
Abbas Abou Daya
2c1ba312b3
Wrap reply calls with a try-catch clause to avoid dynamic exceptions
2020-07-17 22:55:25 -07:00
Ruben Bermudez
023772142a
Merge pull request #763 from FireFrogSEO/master
...
SEND_DATA_TO_PROVIDER fieldsanf methods
2020-07-11 15:52:58 +01:00
Ruben Bermudez
427f1ee8d2
Merge pull request #761 from b1sar/master
...
Update README.md
2020-07-11 15:50:37 +01:00
Ruben Bermudez
f6a4489498
Merge pull request #766 from addo37/ability-replyflow
...
Fix reply flow registration when using ability definitions
2020-07-11 15:47:51 +01:00
Ruben Bermudez
de3246058b
Merge pull request #767 from UnAfraid/patch-2
...
Update FAQ.md
2020-07-11 15:46:12 +01:00
Rumen Nikiforov
7c993feaeb
Update README.md
...
Fixed SpringApplicationRun for spring boot starter readme as well
2020-06-15 11:53:37 +03:00
Rumen Nikiforov
129c6d0c2f
Update FAQ.md
...
Fixed typo in SpringApplicationRun
Fixed inconsistency in sendMessage example
Fixed link to my webhook example
2020-06-15 11:47:34 +03:00
Abbas Abou Daya
fd91b3a2ba
Fix reply flow registration when using ability definitions
2020-06-14 18:39:49 -07:00
Vladimir
223c6cccc0
added SEND_PHONE_NUMBER_TO_PROVIDER and SEND_EMAIL_TO_PROVIDER fields and methods for them
2020-06-09 12:48:25 +03:00
Vladimir
03fdafd54f
added SEND_PHONE_NUMBER_TO_PROVIDER and SEND_EMAIL_TO_PROVIDER fields and methods for them
2020-06-07 15:28:55 +03:00
Vladimir
504db77a7a
renamed PRIVIDER_DATA_FIELD to PROVIDER_DATA_FIELD in SendInvoice.java
2020-06-07 14:59:56 +03:00
Vladimir
8f0b31d3f1
Merge pull request #1 from rubenlagus/master
...
update to 4.9
2020-06-07 14:17:03 +03:00
Cebrail Yılmaz
4b1783e198
Update README.md
...
Altough the current version is 4.9, the readme was using version 4.1.2 which made me encounter lots of bugs. Fixed it.
2020-06-07 10:59:05 +03:00
Ruben Bermudez
1a2e7c9773
Merge pull request #758 from rubenlagus/dev
...
Dev
2020-06-04 23:06:36 +01:00