Commit Graph

38 Commits

Author SHA1 Message Date
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
81f298361c Update version to 5.3. 2021-06-25 04:20:57 +03: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
levlam
54112379ff Check write access to temporary directory. 2021-06-14 21:24:20 +03:00
levlam
061c34749a Dump statistics additionally to log by signal. 2021-06-14 20:53:55 +03:00
levlam
4eb391decd Dump memory statistics with other state. 2021-06-04 18:20:08 +03:00
levlam
19f9e1eff0 Output uptime and current state on closing. 2021-06-04 17:43:04 +03:00
levlam
7f9e9fd809 Update TDLib. 2021-05-20 23:51:37 +03:00
KnorpelSenf
bcd0c8eaa5
Add --version flag (#132) 2021-05-10 18:49:50 +03:00
Giuseppe Marino
e6db5d0876
merge upstream 2021-05-06 12:35:09 +02:00
levlam
90fed9b9a7 Update version to 5.2. 2021-04-13 19:33:50 +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
a01c36ec1f Allow to change memory log verbosity level. 2021-02-15 01:23:18 +03:00
levlam
a1e7249750 Update copyright year. 2021-01-06 17:24:16 +03:00
levlam
81b25986e1 Output fatal errors to both logs. 2020-12-30 21:50:52 +03:00
levlam
874474ddab Improve verbosity level change. 2020-12-30 17:28:44 +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
levlam
e184e6c117 Update TDLib. Support can_manage_voice_chats administrator right. 2020-12-08 03:29:19 +03:00
Andrea Cavalli
8f0f343203 Merge commit 'e2ae8dad02a7c0046e162e12bc0c0c077fff5d14'
Conflicts:
	td
	telegram-bot-api/ClientParameters.h
2020-12-02 23:34:56 +01: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
Giuseppe Marino
fda54d44dc
Fix build 2020-11-24 01:12:39 +01:00
levlam
79134758a8 Use "time" for monotonic time variables. 2020-11-21 17:38:11 +03: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
Andrea Cavalli
185885c2d2 Add custom methods 2020-11-10 16:37:01 +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
9692d58195 Run cron strictly each second. 2020-11-10 02:27:18 +03:00
levlam
c7769ea299 Add http-ip-address and http-stat-ip-address options. 2020-11-10 02:15:40 +03:00
levlam
5ca1c098bc Remove useless check. 2020-11-08 18:14:22 +03:00
levlam
91db058809 Add filter option argument checks. 2020-11-05 17:55:13 +03:00
demget
2dd7ef910f
Fix usage message typo (#8) 2020-11-05 17:47:21 +03:00
levlam
74559bab15 Telegram Bot APi server initial commit. 2020-11-03 19:34:10 +03:00