Commit Graph

157 Commits

Author SHA1 Message Date
SMAZNet
ebedcc056b
Fix file_path doesnt exists on getFile method (#55)
* Fix file_path doesnt exists on getFile method

This PR fixes file_path doesnt exists on getFile method when localmode enabled and filesize is bigger than limit

* added check parameters_->no_file_limit_
2021-02-19 22:05:30 +01:00
Luckydonald
de05b42272
Stats: json format (#22)
The work regarding #17.

With 374928c we could merge a working version where the json is still missing a few fields, to iterate from there.

It is available via the normal stats endpoint by calling /json as the path.
Everything else will have the old text style.
2021-01-24 18:09:53 +01:00
andrew-ld
9df6dd5fd3
Merge pull request #43 from luckydonald/patch-1
Fix camelCase of userLogin in the docs.
2021-01-23 13:56:45 +01:00
andrew-ld
637e86e5a3
Merge pull request #49 from luckydonald-forks/fixes
Various fixes/improvements for the user mode
2021-01-23 11:56:12 +01:00
giuseppeM99
cb51c3efde
Fix healtcheck fail when TELEGRAM_STAT is not set (#50)
* Fix healtcheck fail when TELEGRAM_STAT is not set

* Update dockerfile
2021-01-23 11:54:26 +01:00
luckydonald
a497ebc544 Added back the 'method not found' part.
As this will also be the error message if you do /bot1231:23123/fooBarXYZ, this should still keep the 'method not found' part.
2021-01-21 15:16:58 +01:00
luckydonald
7e86d31953 Allow at least the camelcase version, too.
Addresses tdlight-team/tdlight-telegram-bot-api#43.
2021-01-18 00:18:32 +01:00
luckydonald
a6463a9010 Improved error message if the authentication is not yet completed. 2021-01-18 00:18:32 +01:00
luckydonald
011b573a8e Fix leaking the user's phone in the id field of the stats.
Improves tdlight-team/tdlight-telegram-bot-api#48 a bit.
2021-01-18 00:18:32 +01:00
df831c5907
Fix documentation link in README (#46) 2021-01-12 23:24:40 +01:00
Jannik
46af675246
Use own build Instructions Generator (#45)
* Use own build Instructions Generator

* Allow to manually trigger a Documentation update

Co-authored-by: code1mountain <none>
2021-01-12 23:16:10 +01:00
Luckydonald
b58a56b481
Fix camelCase of userLogin. 2021-01-06 23:34:13 +01:00
Andrea Cavalli
cd79fa2f05 Update documentation about thread id 2021-01-06 12:07:21 +01:00
Andrea Cavalli
ddf2b7196f Add missing message_thread_id_ 2021-01-06 12:01:23 +01:00
Andrea Cavalli
cda2030584 Implement message_thread_id 2021-01-06 11:16:32 +01:00
andrew-ld
aa82ba8cca
add documentation link 2021-01-05 21:13:56 +01:00
Andrea Cavalli
abcce9d33f
Merge pull request #28 from code1mountain/docs
Add Swagger Docs on Github pages
2021-01-05 20:52:49 +01:00
Jannik
632ff25255
Update docs-gh-pages.yml 2021-01-05 12:35:51 +01:00
Jannik
1efe42107f
Only run if the documentation file changed 2021-01-05 12:35:31 +01:00
Jannik
b741c719fa
Work on correct branch 2021-01-05 11:24:47 +01:00
Jannik
5dd2279af2
Update validate-swagger.yml 2021-01-05 11:17:54 +01:00
Jannik
3cf5b0c8bf
Add newline 2021-01-05 11:13:03 +01:00
Jannik
539f099556
Update validate-swagger.yml 2021-01-05 11:10:54 +01:00
Jannik
02dc65f7cf Docs on github pages in separate branch
The docs will now be hosted in a separate gh-pages branch and will update on every push to the main branch.
2021-01-05 11:07:32 +01:00
Jannik
954bc416c3
User only methods (#25)
Co-authored-by: code1mountain <none>
Co-authored-by: luckydonald <mac2019.git@luckydonald.de>
2021-01-02 12:32:34 +01:00
Jannik
c25f58c3af
Description parameter at createChat 2020-12-26 10:55:33 +01:00
giuseppeM99
00655e474d
Merge pull request #33 from code1mountain/crash-fix
Fix crash with service messages
2020-12-24 22:24:46 +01:00
Jannik
c9fe6dcfa0
update yaml file 2020-12-24 12:55:05 +01:00
Jannik
b99a45bbf8
Fix crash with service messages 2020-12-23 17:36:12 +01:00
Jannik
a62cf28a04
Update tdlight-api-openapi.yaml 2020-12-22 16:53:03 +01:00
Jannik
3b89c203b2
Update openapi scheme for scheduled messages 2020-12-22 01:14:42 +01:00
Jannik
097d799b3b
Update update-swagger.yml 2020-12-21 13:50:21 +01:00
SMAZNet
3268395eae
Fixed directory path of installation tutorial (#29) 2020-12-21 12:10:47 +01:00
Jannik
793ecffe48
Create validate-swagger.yml 2020-12-17 14:39:24 +01:00
Jannik
d6b546dfa2
Create update-swagger.yml
Needs to be tested first
2020-12-16 14:04:57 +01:00
Jannik
42dadaed39
Add files via upload 2020-12-16 13:46:56 +01:00
Luckydonald
c08d466be0
Stats: hide sensible data (#24)
Adds the --stats-hide-sensible-data flag (Docker: $TELEGRAM_STAT_HIDE_SENSIBLE_DATA=1), removing the bot token and the webhook url from the stats endpoint.
2020-12-15 17:43:20 +01:00
Andrea Cavalli
7c642e8e41
Merge pull request #26 from tdlight-team/getmemorystats
Added getMemoryStats query
2020-12-15 12:12:12 +01:00
Giuseppe Marino
a02597bfb0
Added getMemoryStats query 2020-12-13 15:23:41 +01:00
Luckydonald
0edac66844
More docs improvements. (#23)
* Applied camelcase to methods, also added a subsection for commands and flags.

* Documented `--verbose`.
2020-12-12 18:31:23 +01:00
Jannik
100a7cc846
Allow Users to use the bot api (#19)
Co-authored-by: Jannik <none>
2020-12-12 00:45:36 +01:00
Luckydonald
14bf658b86
Documented what to do if you forgot the --recursive flag, (#21)
added code highlighting to the code blocks.
2020-12-10 22:23:16 +01:00
f5d1150965
Remove debug commands from GitHub Actions workflow file 2020-12-05 15:19:16 +01:00
Andrea Cavalli
8f0f343203 Merge commit 'e2ae8dad02a7c0046e162e12bc0c0c077fff5d14'
Conflicts:
	td
	telegram-bot-api/ClientParameters.h
2020-12-02 23:34:56 +01:00
levlam
e2ae8dad02 Update version to 5.0.1. 2020-11-28 21:10:53 +03:00
levlam
03a8573a03 Do not update ServerCpuStat too often. 2020-11-28 21:10:19 +03:00
levlam
67a477f471 Update TDLib. 2020-11-28 21:07:44 +03:00
levlam
81b2334a31 Fix media_group_id of messages automatically forwarded to discussion group. 2020-11-26 19:31:07 +03:00
levlam
72b3f6ea4d Improve webhook updates delaying. 2020-11-26 19:12:19 +03:00
levlam
1f8116b21d Improve log messages. 2020-11-26 18:09:18 +03:00