Commit Graph

840 Commits

Author SHA1 Message Date
Ruben Bermudez
04880cb9ed
Merge pull request #829 from aNNiMON/issue828
Update FAQ.md according to API changes
2020-11-07 23:40:40 +00:00
Victor Melnik
bd2aa24e00 Fix FAQ.md according to API changes 2020-11-07 11:03:24 +02:00
rubenlagus
b2fcbaa3c2 Deprecate forgotten setter 2020-11-06 01:16:06 +00:00
rubenlagus
b7ffc57704 Update link 2020-11-04 15:17:27 +00:00
rubenlagus
934e3e8f1a Fix #795 2020-11-04 01:25:03 +00:00
rubenlagus
2f56a05a22 Fix #795 2020-11-04 01:23:37 +00:00
rubenlagus
93bd1e0efe Update changelog and how to update 2020-11-03 21:09:02 +00:00
rubenlagus
95216b90c5 Pom cleanup 2020-11-03 03:04:14 +00:00
Ruben Bermudez
ab00b182e8 Remove Guice 2020-11-03 02:57:36 +00:00
rubenlagus
fb5626de7a CompletableFuture support 2020-11-03 02:24:07 +00:00
rubenlagus
447c9d3f92 Update 5.0 and lombok 2020-11-03 01:32:26 +00:00
rubenlagus
3275c10913 More cleanup 2020-10-31 17:43:32 +00:00
rubenlagus
bea0b95fc7 Update Location fields to Double to avoid roundings 2020-10-31 16:50:18 +00:00
rubenlagus
4fb51ec99c Added lombok 2020-10-31 13:41:05 +00:00
rubenlagus
0a58ef7120 Remove deprecated versions 2020-10-31 13:19:19 +00:00
rubenlagus
6b18fbb545 Remove deprecated versions 2020-10-31 13:04:38 +00:00
Ruben Bermudez
f776950240
Update README.md 2020-10-28 22:42:49 +00:00
Ruben Bermudez
48f9bf8105
Add files via upload 2020-10-28 22:39:23 +00:00
Ruben Bermudez
341c330857
Add files via upload 2020-10-28 22:34:50 +00:00
rubenlagus
ac83b5d517 Update version 2020-10-28 22:16:13 +00:00
Ruben Bermudez
b4684b9ec7 Fix bug 2020-10-26 01:25:35 +00:00
Ruben Bermudez
5d058d41c9
Merge pull request #814 from Daniil547/master
Change Ability name check according to Telegram bot API requirements
2020-10-26 01:15:40 +00:00
Ruben Bermudez
3898480a87
Merge pull request #820 from alexengrig/command-registry-lazy-bot-username
CommandRegistry: Replace botUsername with botUsernameSupplier
2020-10-25 11:44:58 +00:00
Grig Alex
cdef29f1ba
Deprecate old constructor 2020-10-24 00:04:33 +03:00
Ruben Bermudez
814955c2a6
Merge pull request #813 from christianblos/feature/ability-extension-list
Be able to add AbilityExtensions in Bot constructor
2020-10-23 00:26:26 +01:00
Ruben Bermudez
aa030fa148
Merge pull request #812 from christianblos/feature/lazy-load-abilities
Feature/lazy load abilities
2020-10-23 00:25:46 +01:00
Ruben Bermudez
8b98ef71ba
Merge pull request #810 from christianblos/feature/bot-in-message-context
Be able to access AbilityBot via MessageContext
2020-10-23 00:25:16 +01:00
Grig Alex
5ea6fc9f09
Add constructor with bot username 2020-10-21 22:16:38 +03:00
Ruben Bermudez
f83e2b3ccb
Merge pull request #792 from costalfy/master
Upgrade Spring Boot dependency in telegrambots-spring-boot-starter
2020-10-21 20:08:11 +01:00
Ruben Bermudez
02674a2a39
Merge pull request #804 from Chase22/configure-longpolling
Add timeout and limit for long-polling updates to DefaultBotOptions
2020-10-21 19:34:23 +01:00
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