Commit Graph

1010 Commits

Author SHA1 Message Date
Lucas Oliveira
493568649a Spring Boot autoconfiguration improvements.
Unit test refactoring, now with autoconfiguration integration testing.
Bug fix that did not initialize the bots, even with the deprecated @EnableTelegramBots
* [Removed - If users wish to disable, just inform telegrambots.enabled = false].
Upgrade Spring boot 2.0.2
2018-06-09 15:06:38 -03:00
egorbochkarev
5f64fb90ed Support callback query 2018-06-08 23:12:34 +03:00
egorbochkarev
80d4a65c30 Add TelegramLongPollingSessionBot with session support 2018-06-07 20:43:41 +03:00
Abbas Abou Daya
e1e829151b Remove anonymous bot instantiation in ABs, refactor webhook functions 2018-06-04 04:47:21 -04:00
Ruben Bermudez
c4e13e25b3
Merge pull request #470 from addo37/enhance-db
Enhance DBContext with a single variable getter, pushes forward #425
2018-06-03 14:55:36 +02: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
Ruben Bermudez
ce1b0402ac
Merge pull request #466 from addo37/dev
Expose abilities and replies, add report command and reformat /commands, closes #436
2018-05-26 12:30:14 +02: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
Ruben Bermudez
b0b2504e01
Merge pull request #449 from davioooh/abilities-i18n
Abilities i18n
2018-05-23 20:03:59 +02:00
Ruben Bermudez
05e65309d5
Merge pull request #464 from Chase22/dev
Added Documentation for deprecated methods
2018-05-23 20:02:07 +02:00
Chase
f78fd046e9 Added Documentation for deprecated methods 2018-05-23 09:17:45 +02: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
308aec54c2 Rebase on dev 2018-05-21 06:05:44 -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
c713f9da48 Fix tests 2018-05-18 04:40:27 -04:00
Ruben Bermudez
bcb9d7505b
Merge pull request #452 from addo37/dev
Fix group update check for GROUP_ADMIN
2018-05-17 18:37:22 +02:00
Ruben Bermudez
e2bdf7ff73
Merge pull request #454 from addo37/augment-user
Add detailed constructor, equals and hashCode to User object
2018-05-17 18:36:53 +02:00
Ruben Bermudez
570895ac11
Merge pull request #456 from valinz/spring-boot-start-config
Spring boot start config
2018-05-17 18:36:31 +02:00
Ruben Bermudez
c4f0500d25
Merge pull request #460 from azhohov/dev
fix field name pending_update_count of WebhookInfo
2018-05-17 18:36:11 +02:00
Alexey Zhohov
9357883cf3 fix field name pending_update_count of WebhookInfo 2018-05-17 17:21:55 +03:00
zhaoyi
d0651e60b4 Add unit test for spring boot start configuration 2018-05-14 15:17:07 +08:00
davioooh
31f5c64058 Refactor localized messages retrievement 2018-05-13 11:16:51 +02:00
zhaoyi
dcc4f29ddd Make longPollingBots or webHookBots in spring boot configuration 2018-05-12 14:52:57 +08:00
Abbas Abou Daya
9a436910ff Add detailed constructor, equals and hashCode to User object 2018-05-10 01:27:57 +03:00
davioooh
288a4ab17a Fix issues
- export message codes
- standardize message codes
- format/spacing
2018-05-08 11:10:37 +02: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
AzZu
0c1cb1e05a update proxy usage page on wiki 2018-05-06 23:32:18 +03:00
AzZu
6087b37483 remove unused imports 2018-05-06 23:32:06 +03:00
AzZu
346a9dc045 added proxy feature
So now, it's support http, socks4 and socks5 proxys
2018-05-06 23:31:48 +03:00
AzZu
95dd4e3a3f remove http proxy feature
Cause apache.http package does not provide socks proxy feature
2018-05-06 23:31:33 +03:00
davioooh
02fbb67b59 Remove locale retrieval to avoid exception 2018-05-04 18:16:04 +02:00
davioooh
c97476f05d Add basic unit tests 2018-05-04 18:15:02 +02:00
davioooh
494f21040f Complete externalization of messages 2018-05-02 12:19:12 +02:00
davioooh
f64d556610 Refactor localized message helper method 2018-04-30 19:50:44 +02:00
davioooh
16fa704a17 Refactor EndUser to serialize locale 2018-04-30 15:39:32 +02:00