Commit Graph

514 Commits

Author SHA1 Message Date
Demian
57be5879bc context: Edit cannot edit the current message 2020-10-09 14:07:00 +03:00
Demian
cf5edf4042 context: implement the opposite to Forward 2020-10-08 22:46:26 +03:00
Demian
a2ad0d803c layout: extend config implementation 2020-10-08 22:37:57 +03:00
Demian
6005ff95b1 layout: implement typed ChatID function 2020-10-08 22:21:07 +03:00
Demian
91f4c3498e util: fix possible nil dereference in debug 2020-10-08 20:11:35 +03:00
Demian
2eadd32991 middleware: implement first restrict examples 2020-10-01 20:32:48 +03:00
Demian
90fad0b031 middleware: fix group handling logic 2020-10-01 17:36:50 +03:00
Demian
09f2572e08 layout: dispose used context 2020-10-01 16:23:44 +03:00
Demian
708093dfbc layout: return nil for non existing button 2020-09-26 19:04:45 +03:00
Demian
b10f986ba2 context: fix message selecting for callbacks 2020-09-26 18:58:00 +03:00
Demian
d63ce9ce08 layout: simplify markups, add buttons 2020-09-26 18:58:00 +03:00
Demian
12a486fda8 .travis: update 2020-09-26 18:58:00 +03:00
Demian
551df7ebce test: assert to require for errors 2020-09-26 18:58:00 +03:00
Demian
7a47b1a206 bump go version to 1.13 2020-09-26 18:50:58 +03:00
Demian
a328719293 bot: fill animation from the document if it's nil 2020-09-26 18:50:58 +03:00
Ian Patrick Badtrousers
4a49efc1bb admin: removed omitempty from Rights 2020-09-26 18:50:58 +03:00
Demian
c4f58d405b layout: expose locale functions 2020-09-26 14:03:01 +03:00
Demian
11ccdd09f5 layout: add template functions 2020-09-26 13:23:06 +03:00
Demian
5e96001289 layout: fix templates parsing 2020-09-15 19:42:15 +03:00
Demian
dac845e067 layout: fix locales name parsing 2020-09-15 19:24:29 +03:00
Demian
35e2df77be group: fix recursive handler bug 2020-09-15 19:21:02 +03:00
Demian
ce6c47adc8 layout: fix nil map 2020-09-15 18:36:11 +03:00
Demian
a70d2204db bot: fix root group handling 2020-09-15 18:12:43 +03:00
Demian
b291e4fc08 layout: should be separated and completely independent 2020-09-15 16:49:20 +03:00
Demian
e9dd8a775f layout: parse default locale from settings 2020-09-15 13:37:30 +03:00
Demian
3e050a95e5 layout: add missed map making 2020-09-15 13:31:54 +03:00
Demian
39a9b61833 layout: expose locale-related field 2020-09-15 13:23:08 +03:00
Demian
a94205252a layout: first implementation 2020-09-06 16:56:44 +03:00
Demian
1076cdcfa6 bot: allow default poller 2020-08-06 22:14:16 +03:00
Demian
b2ce91acc7 bot: add global-scope Use function 2020-08-06 22:13:11 +03:00
Demian
bc180b4a47 telebot: tele is our new alias 2020-07-26 00:08:03 +03:00
Demian
4062f24361 context: pass context to the OnError middleware 2020-07-26 00:07:58 +03:00
Demian
f1015d1754 middleware: basic implementation and groups 2020-07-25 23:55:01 +03:00
Demian
a69dd5aa62 context: add Args helper function 2020-07-25 23:08:51 +03:00
Demian
69af851173 tests: update ProcessUpdate test 2020-07-25 22:49:38 +03:00
Demian
5a480bd291 Merge branch 'v2' into v3 2020-07-25 22:45:22 +03:00
Demian
5f6792d860 context: adapt handlers 2020-07-25 22:44:50 +03:00
demget
bd4747d3ef
Merge pull request #316 from piggymoe/fix-embedrights-param-type
Change param type of embedRights
2020-07-03 18:31:30 +03:00
Ian Patrick Badtrousers
a3f6efa6f2 html5 games 400 hotfix 2020-07-03 17:12:41 +02:00
PiggyMoe
2b4e7eeb65
util: fix param type for embedRights 2020-06-24 09:07:53 +08:00
Demian
5a1a187e87 telebot: clarify and fix all naming issues 2020-06-19 23:36:43 +03:00
Demian
2f11c43bd9 telebot: prettify docs 2020-06-19 22:51:01 +03:00
Demian
fd55a4b8a7 context: first implementation 2020-06-19 22:48:05 +03:00
Ian P Badtrousers
b9ba8c4535
Merge pull request #313 from aofei/v2
api: make sure io.Pipe in sendFiles will be closed
2020-06-18 09:54:29 +02:00
Aofei Sheng
a76047869f api: make sure io.Pipe in sendFiles will be closed 2020-06-16 02:35:18 +08:00
Demian
1a9d4b1333 mod: tidy 2020-06-13 13:48:22 +03:00
Demian
c602a3df68 message: add missed forward fields 2020-06-13 13:23:01 +03:00
Ian P Badtrousers
aac3d680d6
Merge pull request #311 from aofei/v2
api: fix a huge memory allocation caused by sendFiles
2020-06-13 11:55:50 +02:00
Aofei Sheng
8b48346206 api: fix a huge memory allocation caused by sendFiles 2020-06-13 04:11:35 +08:00
Demian
359b733e3a tests: clarify default parse mode test 2020-06-10 13:52:39 +03:00