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 |
|
Abbas Abou Daya
|
fd91b3a2ba
|
Fix reply flow registration when using ability definitions
|
2020-06-14 18:39:49 -07:00 |
|
rubenlagus
|
72b239e851
|
Update version 4.9
|
2020-06-04 22:18:36 +01:00 |
|
Ruben Bermudez
|
28f60e3024
|
Merge pull request #731 from addo37/ability-stats
Add basic statistics to Abilities and Replies
|
2020-05-31 19:08:57 +01:00 |
|
Abbas Abou Daya
|
202fb72c3f
|
Handle the poll flag in the getChatId method
|
2020-05-09 14:02:36 -07:00 |
|
Abbas Abou Daya
|
9ffc547cdf
|
Add basic statistics to Abilities and Replies
|
2020-04-27 21:40:47 -07:00 |
|
Abbas Abou Daya
|
e4dbf27c55
|
Adjust getChatId in utils for the new content
|
2020-04-27 21:36:33 -07:00 |
|
Abbas Abou Daya
|
40c17126ae
|
Spawn the EMPTY_USER and add the proper tests
|
2020-04-26 13:22:05 -07:00 |
|
rubenlagus
|
f84ec0b020
|
Version 4.8.1
|
2020-04-26 02:11:41 +01:00 |
|
Ruben Bermudez
|
99e9b31f40
|
Merge pull request #730 from addo37/replyflow-commit
Prevent loss of DB state after bot termination
|
2020-04-26 01:57:07 +01:00 |
|
Abbas Abou Daya
|
05566742c0
|
Fix handling of poll updates without user information
|
2020-04-25 17:32:38 -07: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 |
|
Abbas Abou Daya
|
21822f7803
|
Remove redundant commits to DB
|
2020-02-29 16:27:05 -08:00 |
|
Abbas Abou Daya
|
5120595cb0
|
Move the commit to the end of the update pipeline
|
2020-02-29 16:22:48 -08:00 |
|
rubenlagus
|
d61ade0487
|
Update 4.6
|
2020-01-23 23:23:29 +00:00 |
|
rubenlagus
|
e2bc7b4794
|
Fix #697
|
2019-12-31 03:43:55 +01:00 |
|
rubenlagus
|
6b1cea5e82
|
Update version 4.5
|
2019-12-31 03:36:57 +01:00 |
|
Ruben Bermudez
|
0cbc21b142
|
Update version 4.4.0.2
|
2019-11-19 00:43:25 +00:00 |
|
rubenlagus
|
7cfcca3ae3
|
Fix error importing project
|
2019-11-19 00:42:17 +00:00 |
|
UnAfraid
|
2d27f9e60f
|
Post merge fixes
|
2019-10-14 20:08:16 +03:00 |
|
Ruben Bermudez
|
15fe637998
|
Merge branch 'dev' into slf4j
|
2019-10-12 01:02:15 +01:00 |
|
Ruben Bermudez
|
1ebbc68485
|
Merge branch 'dev' into add-ability-toggle
|
2019-10-12 01:00:28 +01:00 |
|
Ruben Bermudez
|
d1f060fb04
|
Merge pull request #668 from addo37/add-replyflow
Add state machine capability to AbilityBot via ReplyFlow
|
2019-10-08 23:08:48 +01:00 |
|
Ruben Bermudez
|
51df90464e
|
Merge pull request #666 from addo37/fix-execute-async
Fix executeAsync in SilentSender to properly call sender.executeAsync
|
2019-10-08 23:07:25 +01:00 |
|
Ruben Bermudez
|
2b07b87fdf
|
Merge pull request #664 from addo37/fix-db-var
Support backup and recovery of db vars
|
2019-10-08 23:06:30 +01:00 |
|
Ruben Bermudez
|
4c5a25302b
|
Merge pull request #633 from bernikr/dev
AbilityBots: prevent nullPointerExceptions when using message flags
|
2019-10-08 23:05:58 +01:00 |
|
Abbas Abou Daya
|
861b7f24f9
|
Add Abillity toggles and export default abilities to their own class
|
2019-09-29 23:00:16 -07:00 |
|
Abbas Abou Daya
|
0ff63149f7
|
Add ReplyFlow implementation, tests, and wiki
This commit also has a some minor test refactoring.
|
2019-09-25 23:25:11 -07:00 |
|
Bernhard
|
837b4d2360
|
requested syntax changes
|
2019-09-17 10:51:14 +03:00 |
|
Abbas Abou Daya
|
ed7333a21e
|
Fix executeAsync in SilentSender to properly call sender.executeAsync
|
2019-09-16 23:40:20 -07:00 |
|
Abbas Abou Daya
|
aa3448544e
|
Support backup and recovery of db vars
|
2019-09-16 22:37:16 -07:00 |
|
UnAfraid
|
ef1bd09a6a
|
Replacing log4j with slf4j
|
2019-09-09 20:10:26 +03: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 |
|
Bernhard Kralofsky
|
727f5a7a3e
|
prevent nullPointerExceptions when using message flags without a MESSAGE flag first
|
2019-07-09 21:39:02 +02:00 |
|
Abbas Abou Daya
|
c633f1fcc2
|
Modified tests to accommodate JUnit5 and Mockito API changes
|
2019-07-08 23:18:08 -07:00 |
|
rubenlagus
|
04248e64a7
|
Update pom to support earlier versions as well
|
2019-07-08 20:42:42 +01:00 |
|
rubenlagus
|
7b5acf0987
|
Update travis yalm
|
2019-07-08 20:37:04 +01:00 |
|
rubenlagus
|
679ad618b9
|
Java 11, initial version
|
2019-07-08 20:22:51 +01:00 |
|
Ruben Bermudez
|
7c64bf5f1b
|
Update version
|
2019-06-08 20:39:08 +01:00 |
|
Rubenlagus
|
b3914c5e76
|
Api version 4.3
|
2019-06-01 12:50:17 +01:00 |
|
Ruben Bermudez
|
b76d4da5bf
|
Merge pull request #599 from bernikr/dev
Back up maps in the database as a collection of key value pairs
|
2019-04-16 00:12:06 +01:00 |
|
Ruben Bermudez
|
20f45bd604
|
Api version 4.2
|
2019-04-16 00:11:11 +01:00 |
|
Bernhard
|
506329e51a
|
apply the minor changes requested in the pull request
|
2019-04-07 15:54:43 +02:00 |
|
Ruben Bermudez
|
d78acbdda0
|
Update poms and fix guava
|
2019-04-05 00:52:35 +01:00 |
|
Bernhard
|
a80ee81ba4
|
back up maps in the database as a collection of key value pairs
this allows all objects to be used as keys and not only strings
|
2019-03-29 15:58:35 +01:00 |
|
Rubenlagus
|
1883320445
|
Update versions
|
2019-01-27 23:37:46 +00:00 |
|
Ruben Bermudez
|
18412d9c98
|
Merge pull request #545 from romangraef/dev
Extensions for AbilityBots
|
2019-01-27 22:54:54 +00:00 |
|
Abbas Abou Daya
|
2f05976d0a
|
Consolidated ExtensionTest objects and minor refactoring
|
2019-01-03 05:46:09 +02: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 |
|
Rubenlagus
|
880c8a2087
|
Fix guava dependency
|
2019-01-02 14:57:27 +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 |
|
romangraef
|
159de38b29
|
added tests for ability extension functionality
|
2018-11-10 22:07:41 +01:00 |
|
romangraef
|
d515d8e44f
|
Added the extensions to abilities
|
2018-11-10 00:51:00 +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
|
904dc39a97
|
Fix docs
|
2018-07-27 00:51:45 +02:00 |
|
Ruben Bermudez
|
a75ca5f08d
|
Version 4.0.0
|
2018-07-27 00:27:26 +02:00 |
|
chmilevfa
|
753d1d2ed8
|
Fixes after merge
|
2018-07-16 19:54: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 |
|
Ruben Bermudez
|
dd5d14df6c
|
Merge pull request #451 from AzZureman/proxy-feature
Socks proxy feature
|
2018-07-16 13:28:44 +03: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 |
|
Abbas Abou Daya
|
b5bfaced7e
|
Separate AbilityBot logic and implement Webhook
|
2018-05-28 18:12:31 -04:00 |
|
Abbas Abou Daya
|
afebcaeb76
|
Fix javadoc
|
2018-05-27 04:20:04 -04:00 |
|
Abbas Abou Daya
|
714857555d
|
Enhance DBContext with a single variable getter, pushes forward #425
|
2018-05-27 04:16:19 -04:00 |
|
Abbas Abou Daya
|
7bee69c68d
|
Fix wiki doc and javadoc
|
2018-05-23 19:11:26 -04:00 |
|
Abbas Abou Daya
|
889fd46834
|
Expose abilities and replies, add report command and reformat /commands, closes #436
|
2018-05-23 18:59:03 -04:00 |
|
Abbas Abou Daya
|
7d216a1fae
|
Fix todos, all ability bot messages are now properly localized
|
2018-05-22 03:12:47 -04:00 |
|
Abbas Abou Daya
|
a819d7f178
|
Cleanup and refactoring
|
2018-05-21 07:01:45 -04:00 |
|
Abbas Abou Daya
|
8729271d34
|
Fix tests
|
2018-05-21 05:57:43 -04:00 |
|
davioooh
|
9347d064c1
|
Refactor localized messages retrievement
|
2018-05-21 05:57:43 -04:00 |
|
davioooh
|
ab86947cc3
|
Fix issues
- export message codes
- standardize message codes
- format/spacing
|
2018-05-21 05:57:43 -04:00 |
|
davioooh
|
bd7092921a
|
Remove locale retrieval to avoid exception
|
2018-05-21 05:57:43 -04:00 |
|
davioooh
|
aecfe7693a
|
Add basic unit tests
|
2018-05-21 05:57:43 -04:00 |
|
davioooh
|
c8f1c69fb2
|
Complete externalization of messages
|
2018-05-21 05:57:43 -04:00 |
|
davioooh
|
7ff5be3a72
|
Refactor localized message helper method
|
2018-05-21 05:57:43 -04:00 |
|
davioooh
|
97a4c0031b
|
Refactor EndUser to serialize locale
|
2018-05-21 05:57:43 -04:00 |
|
davioooh
|
45ea5af127
|
Update default messages
|
2018-05-21 05:57:43 -04:00 |
|
davioooh
|
d77887fd2c
|
Add basic internationalization support
|
2018-05-21 05:57:43 -04:00 |
|
Abbas Abou Daya
|
677b401fc6
|
Check if the message is a group or super group message for GROUP_ADMIN, #390
|
2018-05-08 03:39:21 +03:00 |
|
Abbas Abou Daya
|
b9da279fdf
|
Remove group update check for GROUP_ADMIN
GetChatAdministrators only returns admins when there IS a group, there's no need to explicitly check for groups here.
|
2018-05-08 03:18:34 +03:00 |
|
AzZu
|
ff73a43337
|
Update version to 3.6.2
Cause new version does not support the old methods of enabling a proxy
|
2018-05-06 23:32:33 +03:00 |
|
Ruben Bermudez
|
28a9cf1fdb
|
Version 3.6.1
|
2018-04-20 01:44:04 +02:00 |
|
Ruben Bermudez
|
6db6c4bf0d
|
Update version 3.6
|
2018-02-14 20:36:22 +01:00 |
|
Ruben Bermudez
|
cac157ff1d
|
Merge pull request #376 from addo37/dev
Make abilities case-insensitive, fix msg markdown bug and add group-admin privacy
|
2018-02-13 21:39:09 +01:00 |
|
Abbas Abou Daya
|
dc9f34196e
|
Make abilities case-insensitive, fix msg markdown bug and add group-admin privacy
|
2018-02-04 03:23:41 -05:00 |
|
Ruben Bermudez
|
49c0fef3c5
|
Update version 3.5
|
2017-11-17 15:47:22 +01:00 |
|
Abbas Abou Daya
|
1f5706b525
|
Change global flag to always return true and make ability flags as predicates
|
2017-10-31 23:06:03 -04:00 |
|
Abbas Abou Daya
|
673506417c
|
Write tutorial and implement SilentTest
|
2017-10-30 20:45:43 -04:00 |
|
Abbas Abou Daya
|
adddadfba5
|
Refreshed MessageSender and added a silent sender
|
2017-10-28 22:15:53 -04:00 |
|
Ruben Bermudez
|
babb9d8be5
|
Update API version 3.4
|
2017-10-11 19:27:12 +02:00 |
|
Ruben Bermudez
|
06c55a9c74
|
Update API version 3.3
|
2017-08-23 09:06:32 +02:00 |
|
Ruben Bermudez
|
ffcdbd126e
|
Update version 3.2
|
2017-07-21 16:17:48 +02:00 |
|