Commit Graph

209 Commits

Author SHA1 Message Date
Korsakov A.N. (20211)
9cb206b14b Implement Webhook without server 2022-02-10 15:59:06 +05:00
Andrea Cavalli
359d1db9af Merge tag 'v5.7.1' 2022-02-09 21:06:10 +01:00
Ruben
6bb17461f0 Api Version 5.7 2022-02-01 23:00:54 +00:00
Andrea Cavalli
0327638e0d Bugfix 2022-01-29 17:44:49 +01:00
Andrea Cavalli
7067e1a65e Deduplicate code 2022-01-29 17:21:54 +01:00
Andrea Cavalli
82bc60d510 Fix broken entities 2022-01-22 12:46:10 +01:00
Andrea Cavalli
1daa69cbea Validable updates 2022-01-22 01:22:59 +01:00
Andrea Cavalli
89cf8007ad Bugfix 2022-01-15 19:48:00 +01:00
Andrea Cavalli
0a896dce38 Fix synchronization 2022-01-13 15:56:12 +01:00
Andrea Cavalli
d24eecca2b Implement processed requests count 2022-01-12 23:45:06 +01:00
Andrea Cavalli
134f32d03e Update distribution management 2022-01-10 22:59:53 +01:00
snyk-bot
78820140dd
fix: upgrade commons-io:commons-io from 2.8.0 to 2.11.0
Snyk has created this PR to upgrade commons-io:commons-io from 2.8.0 to 2.11.0.

See this package in Maven Repository:
https://mvnrepository.com/artifact/commons-io/commons-io/

See this project in Snyk:
https://app.snyk.io/org/costalfy/project/51319c85-7053-4ba6-9183-7e30cd008de6?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-01-08 23:12:57 +00:00
Andrea Cavalli
c4e3f16871 Merge remote-tracking branch 'TelegramBots/master' 2022-01-04 12:35:20 +01:00
Ruben
feffffe112 Api Version 5.6 2022-01-01 23:06:28 +00:00
Andrea Cavalli
45c1bdc37b Implement "TooManyRequests" error 2021-12-24 18:50:44 +01:00
Andrea Cavalli
0010c00a0b multiple updates should use a different path 2021-12-19 02:39:28 +01:00
Andrea Cavalli
cc33d6641d Support special webhooks 2021-12-19 01:16:10 +01:00
Ruben
3eea18aef6 Api Version 5.5 2021-12-07 21:03:25 +00:00
Ruben
a5cad1407b Update Version 2021-11-14 21:37:21 +00:00
Ruben Bermudez
5e9e91216a
Merge pull request #994 from timursergeevichname/master
added clarifying message to TelegramApiException if filePath parameter is empty
2021-11-14 21:26:15 +00:00
Ruben
e5deb95933 Update Version 2021-11-14 21:25:40 +00:00
Ruben
0544429c47 Fix #999 2021-11-14 21:22:04 +00:00
timursergeevich
17c336b1ec added clarifying message to TelegramApiException if filePath parameter is empty 2021-11-06 21:32:57 +03:00
Ruben
eef0681ddf Api Version 5.4 2021-11-06 14:52:47 +00:00
rubenlagus
c8d461926b ApiVersion 5.3.0 2021-07-04 13:04:15 +01:00
rubenlagus
ff6ce9f764 ApiVersion 5.3 2021-07-04 03:14:10 +01:00
Herindra Setiawan
d315745f2e Change Exception error message to match the function 2021-05-18 15:40:14 +07:00
Herindra Setiawan
09cdf87724 Fix issue #920 Wrong API path for SetStickerSetThumb 2021-05-18 13:56:11 +07:00
rubenlagus
2b721194d1 Update 5.2 2021-04-26 20:55:29 +01:00
monkey
e38c3b0ba9 issue #707 ExponentialBackOff refactored to interface for custom implementation 2021-04-25 03:01:23 +01:00
rubenlagus
6ce7eb1323 Update 5.1.1 2021-03-15 01:38:52 +00:00
Victor
93106c8cfa Fix typos 2021-03-12 11:28:40 +02:00
rubenlagus
6653ffe937 API 5.1 2021-03-09 10:59:28 +00:00
rubenlagus
c7728fbc8a Fix webhook version and validate username and token is present 2021-03-07 03:28:24 +00:00
rubenlagus
451bdce90b Fix #841 2021-01-02 17:51:25 +01:00
rubenlagus
415d31eaec Updage 5.0.1 2020-11-08 16:19:38 +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
ac83b5d517 Update version 2020-10-28 22:16:13 +00: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
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
rubenlagus
749c6d3b6f Fixes #767, #766, #761, #763, #776, #772, #771, #780 2020-08-01 12:49:46 +01:00
rubenlagus
72b239e851 Update version 4.9 2020-06-04 22:18:36 +01:00
rubenlagus
f84ec0b020 Version 4.8.1 2020-04-26 02:11:41 +01:00
Ruben Bermudez
bd0c96f5e0
Merge pull request #719 from galimru/dev
The fix to workaround OpenJDK bug which throw internal error
2020-04-26 00:48:33 +01:00
rubenlagus
571d58e13f Update version Api 4.8 2020-04-24 09:03:23 +01:00
Ruben Bermudez
14633b4040 Update version Api 4.7 2020-04-01 09:10:13 +01:00
galimru
1b18b1ccdb unwrap cause from internal exception and prevent from breaking thread (ref #629) 2020-01-28 12:59:27 +04:00
galimru
55e27c1167 added the fix to workaround openjdk bug which thrown internal error (ref #629) 2020-01-27 21:15:04 +04:00
rubenlagus
d61ade0487 Update 4.6 2020-01-23 23:23:29 +00:00
rubenlagus
6b1cea5e82 Update version 4.5 2019-12-31 03:36:57 +01:00
Eugene Kortov
ff96318fef Add DI for TelegramFileDownloader, fix it for proxy usage
- add DI for TelegramFileDownloader
- replace volatile variables with final
2019-11-20 16:45:38 +04:00
Ruben Bermudez
27649a99cf Update dependencies 2019-11-19 01:01:49 +00:00
Ruben Bermudez
0cbc21b142 Update version 4.4.0.2 2019-11-19 00:43:25 +00:00
rubenlagus
44c814256d Bug fixes and pom dependencies upgrades 2019-11-19 00:43:21 +00:00
rubenlagus
7cfcca3ae3 Fix error importing project 2019-11-19 00:42:17 +00:00
Ruben Bermudez
15fe637998
Merge branch 'dev' into slf4j 2019-10-12 01:02:15 +01:00
UnAfraid
ef1bd09a6a Replacing log4j with slf4j 2019-09-09 20:10:26 +03:00
nagorny
afe35b4b14 Fixed #652 2019-08-24 18:57:34 +03:00
rubenlagus
b19ae64899 Fix text to Junit5 2019-07-29 00:24:30 +01:00
Ruben Bermudez
d7875bba34 Merge branch 'Chase22-Feature/Refactor-file-download' into java11 2019-07-28 23:47:04 +01:00
Ruben Bermudez
e551c64eea Merge branch 'Feature/Refactor-file-download' of https://github.com/Chase22/TelegramBots into Chase22-Feature/Refactor-file-download 2019-07-28 23:38:50 +01:00
rubenlagus
87bd7aefd2 Update version in poms 2019-07-28 21:27:12 +01:00
rubenlagus
830b873776 Remove BotLogger 2019-07-27 13:19:54 +01:00
rubenlagus
04248e64a7 Update pom to support earlier versions as well 2019-07-08 20:42:42 +01:00
rubenlagus
679ad618b9 Java 11, initial version 2019-07-08 20:22:51 +01:00
Ruben Bermudez
7c11293d07 Fix #628 2019-06-15 18:10:27 +01:00
Ruben Bermudez
7c64bf5f1b Update version 2019-06-08 20:39:08 +01:00
Ruben Bermudez
25e69f8055 Closes #625 2019-06-08 20:33:28 +01:00
Rubenlagus
b3914c5e76 Api version 4.3 2019-06-01 12:50:17 +01:00
Ruben Bermudez
d78acbdda0 Update poms and fix guava 2019-04-05 00:52:35 +01:00
Ruben Bermudez
3861b29b25 Improves #498 2019-04-03 02:24:15 +01:00
chase
ed18c2c265 Add test for TelegramFileDownloader 2019-03-26 22:39:54 +01:00
chase
ef0d78eb4c Move TelegramFileDownloader and finish implementation
The fileDownloader now offers all necessary methods. Still needs some
polishing
2019-03-26 22:39:36 +01:00
chase
a317001d4b Add TelegramFileDownloader
Add a seperate file downloader to look at the download code more
isolated. Might be merged back into DefaultAbsSender later
2019-03-24 20:22:55 +01:00
Rubenlagus
1883320445 Update versions 2019-01-27 23:37:46 +00:00
Ruben Bermudez
261384b9d7 Update more unsafe dependencies 2019-01-27 23:36:57 +00:00
Rubenlagus
f998cc2509 Update versions 2019-01-02 16:19:43 +01:00
Rubenlagus
e203abfab5 Update versions 2019-01-02 16:12:05 +01:00
Ruben Bermudez
293d903083 Fix #563 2019-01-02 15:56:45 +01:00
Ruben Bermudez
885a2b69ff Merge branch 'typo-fix' of https://github.com/aNNiMON/TelegramBots into aNNiMON-typo-fix 2019-01-02 15:04:53 +01:00
Erik-Berndt Scheper
28740da0df Update dependencies to fix https://github.com/rubenlagus/TelegramBots/issues/547 2018-11-14 07:09:41 +01:00
Victor
ce05d68e81 Fix wrong class and method names 2018-11-07 12:34:50 +02:00
ezachateyskiy
584b9d5f98
Fix wrong path for SendAnimation command 2018-09-15 02:07:17 +03:00
Ruben Bermudez
f415afb568 #Fix 507 2018-08-21 21:27:54 +01:00
Ruben Bermudez
7f8df47f0b Update version 4.1 2018-08-21 20:59:55 +01:00
Ruben Bermudez
e52b7c48a7 Update version 2018-08-09 02:50:04 +02:00
Ruben Bermudez
4ea716cfea Merge branch 'webhook' of https://github.com/addo37/TelegramBots into addo37-webhook
# Conflicts:
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/bot/AbilityBot.java
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/db/DBContext.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramLongPollingBot.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramWebhookBot.java
2018-07-27 01:06:23 +02:00
Ruben Bermudez
7daebe1318 Merge branch 'webhook' of https://github.com/addo37/TelegramBots into addo37-webhook
# Conflicts:
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/bot/AbilityBot.java
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/db/DBContext.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramLongPollingBot.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramWebhookBot.java
2018-07-27 01:04:51 +02:00
Ruben Bermudez
a75ca5f08d Version 4.0.0 2018-07-27 00:27:26 +02:00
chmilevfa
0357fdb137 Properly update version to 3.6.2 2018-07-16 19:43:45 +02:00
chmilevfa
ad3dbfdd58 Merge branch 'dev' into java9-support
# Conflicts:
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/bot/AbilityBot.java
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/objects/EndUser.java
#	telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/objects/MessageContext.java
#	telegrambots-spring-boot-starter/src/main/java/org/telegram/telegrambots/starter/TelegramBotStarterConfiguration.java
#	telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultBotOptions.java
2018-07-16 19:37:30 +02:00
chmilevfa
db9ae4f586 telegrambots-meta java 9 supported 2018-07-08 01:41:21 +02:00
Abbas Abou Daya
e1e829151b Remove anonymous bot instantiation in ABs, refactor webhook functions 2018-06-04 04:47:21 -04:00