Commit Graph

56 Commits

Author SHA1 Message Date
David Guillen Fandos 1c30dc8d3d Merge remote-tracking branch 'official-upstream/master' 2023-05-03 23:48:27 +02:00
levlam e9d32ad23d Add Query::get_peer_ip_address. 2023-03-13 18:42:35 +03:00
Giuseppe Marino 85763a1591
Merge remote-tracking branch 'upstream/master' 2023-02-04 15:31:24 +01:00
levlam c68f6a7a89 Update TDLib to 1.8.11. 2023-01-11 20:30:27 +03:00
levlam 75caf1b0e7 Log top bots in dump_statistics. 2023-01-06 16:29:09 +03:00
levlam 0dcec25d7e Add ClientManager::get_top_clients. 2023-01-06 15:52:53 +03:00
levlam 348b94bdee Update copyright year. 2023-01-01 00:31:16 +03:00
Giuseppe Marino 73c8efa528
Merge remote-tracking branch 'upstream/master'
Changes how searchChatMessages works, may break some code
2022-12-30 21:33:26 +01:00
Giuseppe Marino d6950e5d80
Merge Version 6.3.2 2022-12-03 20:02:12 +01:00
levlam ed0532bcf7 Use destroy_on_scheduler in WebhookActor. 2022-11-27 01:31:00 +03:00
levlam ce6ddc74d7 Limit the number of simultaneously uploaded files. 2022-11-14 15:35:43 +03:00
levlam a9cb897af4 Update TDLib to 1.8.9 and add SslCtx caching. 2022-11-11 15:37:07 +03:00
levlam aa05180325 Update TDLib and improve TQueue GC. 2022-10-14 00:46:54 +03:00
levlam 018b4fc6f7 Stop ClientManager watchdog at the beginning of closing. 2022-10-13 01:23:05 +03:00
levlam b44bc1cabd Update TDLib and use AsyncFileLog instead of FileLog. 2022-10-09 20:16:45 +03:00
levlam 3be8cb6323 Move dump_statistics to ClientManager. 2022-10-06 22:18:36 +03:00
levlam 022bed651c Move TQueue::run_gc to ClientManager. 2022-10-06 21:42:33 +03:00
levlam 337b657f9c Add watchdog for ClientManager's thread. 2022-10-05 00:06:48 +03:00
levlam 04825c4b70 Move ClientManager to a separate thread. 2022-10-04 18:27:50 +03:00
levlam 254ad97805 Update TDLib to 1.8.7 and support extended_media in sendInvoice. 2022-09-23 20:29:42 +03:00
levlam 27bb4831f6 Add active_request_count and active_file_upload_bytes to bot statistics. 2022-09-18 02:54:22 +03:00
levlam 11d27e3e52 Don't output empty fields in bot statistics. 2022-09-18 02:15:53 +03:00
levlam 5eb24c7e63 Improve statistics retrieval. 2022-08-24 15:48:27 +03:00
Giuseppe Marino bcc8c6e60e
Merge version 6.2 2022-08-21 20:16:05 +02:00
levlam 95131fe376 Update TDLib. 2022-06-30 20:27:08 +03:00
levlam 3de310c951 Use LambdaPromise instead of PromiseActor. 2022-06-30 19:59:30 +03:00
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