Ruben
a5cad1407b
Update Version
2021-11-14 21:37:21 +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
Ruben
29cdebad8a
Api Version 5.4
2021-11-06 15:37:30 +00:00
Ruben
eef0681ddf
Api Version 5.4
2021-11-06 14:52:47 +00:00
Victor
aff5385685
Fix ability bot test
2021-07-08 17:42:27 +03:00
Victor
0ec2e32bc9
Add an access to the user in ChatMember interface
2021-07-08 15:46:41 +03:00
rubenlagus
c8d461926b
ApiVersion 5.3.0
2021-07-04 13:04:15 +01:00
Ruben Bermudez
96d3cf187f
Merge pull request #937 from addo47/fix-force-reply
...
Set the proper fields for forceReply method in silent sender
2021-07-04 12:39:06 +01:00
rubenlagus
ff6ce9f764
ApiVersion 5.3
2021-07-04 03:14:10 +01:00
Abbas Abou Daya
c453b54bd4
Set the proper fields for forceReply
2021-07-03 11:20:42 -07:00
CalvinDesktop
330d9c29fa
fix minor issues for previous commit fix issue #755
2021-05-15 14:16:12 +08:00
CalvinDesktop
9abce70359
Add feature #755 , can use properties to configure ability toggle
2021-05-15 14:09:35 +08:00
rubenlagus
2b721194d1
Update 5.2
2021-04-26 20:55:29 +01:00
Shang Jihao
d3e58de851
fix issue 869
2021-04-25 18:09:24 +08:00
rubenlagus
6ce7eb1323
Update 5.1.1
2021-03-15 01:38:52 +00: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
Ruben Bermudez
7287c38444
Merge pull request #859 from Narryel/dev
...
add multiple reply declaration support
2021-03-06 11:15:38 +00:00
Ruben Bermudez
f724181daf
Merge pull request #835 from Chase22/ability-reply-inject-bot
...
Inject bot instance into the reply update consumer
2021-03-06 11:15:11 +00:00
Valentin Afanasiev
39a5678543
add comments to BaseAbilityBot.java and static construction method to ReplyCollection.java
2021-01-31 22:05:52 +03:00
ekiauhce
37171fa94a
Change "compile" to "implementation" (Gradle dependency)
2021-01-30 10:24:00 +03:00
Valentin Afanasiev
ec4f81b94a
revert indentation changes
2021-01-26 13:39:41 +03:00
Valentin Afanasiev
eea4c3adc1
revert indentation changes
2021-01-26 13:33:01 +03:00
Valentin Afanasiev
aac8afe209
add multiple reply declaration support
2021-01-25 19:57:48 +03:00
Chase22
e7cb0e6ced
Inject bot instance into the reply update consumer
...
Also added deprecated methods to still allow the old behaviour, discarding the bot reference in that case.
The condition could have a bot instance injected as well, which would require rewriting the Flag register though.
2020-11-24 17:07:55 +01:00
rubenlagus
415d31eaec
Updage 5.0.1
2020-11-08 16:19:38 +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
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
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
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
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
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
oskov
12619422c0
Seems to have forgotten about the comment after refactoring
2020-07-23 23:13:45 +03: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
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