Commit Graph

24 Commits

Author SHA1 Message Date
Giuseppe Marino
d6950e5d80
Merge Version 6.3.2 2022-12-03 20:02:12 +01:00
levlam
04825c4b70 Move ClientManager to a separate thread. 2022-10-04 18:27:50 +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
levlam
561119367a Update .clang-format. 2021-12-13 00:35:46 +03:00
Giuseppe Marino
97872f5b87
merge conflict 2021-09-22 11:46:33 +02:00
levlam
60acf1e402 Store separate size of query_list_. 2021-08-10 12:50:02 +03:00
David Guillen Fandos
aa118f7ae6 Add knob to control the file expiration timeout.
This allows tweaking the value (from the default 1h timeout) so that
loaded servers do not run out of disk by setting it to a smaller value.
2021-07-03 12:03:01 +02:00
Giuseppe Marino
a1510e45bb
fix conflict 2021-06-28 13:41:22 +02:00
levlam
badeb9a7f0 Automatically detect whether colon can be used in a directory name. 2021-06-23 02:03:22 +03:00
levlam
08a92a2347 Use absolute file paths. 2021-06-22 21:26:41 +03:00
Giuseppe Marino
56cd87b026
update submodule 2021-04-03 13:51:48 +02:00
Giuseppe Marino
d6a99d8519
Fix conflict 2021-03-16 18:48:23 +01:00
levlam
d97045bc06 Add version to ClientParameters and log it on launch. 2021-03-14 05:28:30 +03:00
levlam
a1e7249750 Update copyright year. 2021-01-06 17:24:16 +03: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
Andrea Cavalli
8f0f343203 Merge commit 'e2ae8dad02a7c0046e162e12bc0c0c077fff5d14'
Conflicts:
	td
	telegram-bot-api/ClientParameters.h
2020-12-02 23:34:56 +01:00
levlam
79134758a8 Use "time" for monotonic time variables. 2020-11-21 17:38:11 +03:00
b3c0c403e8
Fix typos 2020-11-12 23:40:31 +01:00
8524f94883
Add --no-file-limit option
Co-Authored-By: giuseppeM99 <giuseppe.marino1999@gmail.com>
2020-11-12 23:15:49 +01:00
Giuseppe Marino
25d1ee172b
add --max-batch-operations parameter (default 10000) 2020-11-11 20:09:21 +01:00
Giuseppe Marino
a5a0c49467
Custom methods
* Added custom methods
  - getMessageInfo
  - getParticipants
  - deleteMessages
  - toggleGroupInvite

* Implemented method getMessageInfo
* added `views` field and `forwards` field to message
* getChat now resolves the username also for users

* Added custom executable flags
  - relative : use relative path for files in local mode
  - insecure (not implemented) : allow http connection in non-local mode
2020-11-10 16:14:44 +01:00
levlam
74559bab15 Telegram Bot APi server initial commit. 2020-11-03 19:34:10 +03:00