Commit Graph

30 Commits

Author SHA1 Message Date
Giuseppe Marino
58168e2df3
Merge version 6.1 2022-06-30 15:51:45 +02:00
levlam
06d40edb0a Allow to specify a secret_token in setWebhook to ensure that webhook was set by the domain owner. 2022-05-13 16:39:32 +03:00
Giuseppe Marino
edcb8529e6
Merge version 6.0.1 2022-05-01 10:45:29 +02:00
levlam
4925532c25 Use td::unique_ptr instead of std::unique_ptr. 2022-03-16 12:52:34 +03:00
levlam
3e9da68537 Use td::FlatHashTable instead of std::unordered_map/set. 2022-03-16 12:41:12 +03:00
Giuseppe Marino
f2e7e45fc0
Merge remote-tracking branch 'upstream/master' into merge-upstream 2022-02-01 18:28:35 +01:00
levlam
208fd70d58 Minor improvements. 2022-01-25 18:18:44 +03:00
Giuseppe Marino
188fa9d8b0
Merge remote-tracking branch 'upstream/master' into merge-upstream 2021-11-05 14:52:04 +01:00
levlam
5130c52676 Add is_active to bot statistics. 2021-10-27 19:43:41 +03:00
levlam
6aa090a43a Improve MultiPromiseActorSafe usage. 2021-10-26 14:28:09 +03:00
levlam
e715de9e1c Count number of active clients with a given tqueue_id. 2021-09-30 23:23:41 +03:00
Giuseppe Marino
97872f5b87
merge conflict 2021-09-22 11:46:33 +02:00
Andrea Cavalli
4a4ef1b3ca Update version to 5.3.1, Update tdlib to 1.7.6. 2021-08-05 11:29:14 +02:00
levlam
eafb9375d2 Allow to change tag verbosity level. 2021-08-02 23:57:11 +03:00
Giuseppe Marino
d7f30ca00e
Fix #64 2021-06-28 23:39:42 +02:00
Giuseppe Marino
3e79d99dfc
tdlight is no more 2021-06-28 13:50:13 +02:00
Giuseppe Marino
a1510e45bb
fix conflict 2021-06-28 13:41:22 +02:00
levlam
8a3d43daa9 Output TQueue load time to log. 2021-06-26 04:22:29 +03:00
levlam
08a92a2347 Use absolute file paths. 2021-06-22 21:26:41 +03:00
levlam
7de971ec20 Simplify Query creation and statistics. 2021-06-14 22:47:01 +03:00
levlam
7f9e9fd809 Update TDLib. 2021-05-20 23:51:37 +03:00
Giuseppe Marino
d6a99d8519
Fix conflict 2021-03-16 18:48:23 +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
levlam
baa16f5e87 Improve HTTP error code for requests with unacceptable bot token. 2021-01-15 15:33:57 +03:00
levlam
a1e7249750 Update copyright year. 2021-01-06 17:24:16 +03: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
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
Jannik
100a7cc846
Allow Users to use the bot api (#19)
Co-authored-by: Jannik <none>
2020-12-12 00:45:36 +01:00
levlam
79134758a8 Use "time" for monotonic time variables. 2020-11-21 17:38:11 +03:00
levlam
74559bab15 Telegram Bot APi server initial commit. 2020-11-03 19:34:10 +03:00