Commit Graph

109 Commits

Author SHA1 Message Date
Giuseppe Marino
f2e7e45fc0
Merge remote-tracking branch 'upstream/master' into merge-upstream 2022-02-01 18:28:35 +01:00
levlam
c57b04c4c8 Update version to 5.7. 2022-01-31 22:49:25 +03:00
levlam
208fd70d58 Minor improvements. 2022-01-25 18:18:44 +03:00
levlam
93ccd2a145 Update version to 5.6.1. 2022-01-01 12:45:09 +03:00
levlam
b75e6b43cd Update version to 5.6. 2021-12-30 21:09:17 +03:00
Giuseppe Marino
768793e88d
Merge remote-tracking branch 'upstream/master' 2021-12-09 23:57:03 +01:00
levlam
90f5247781 Update version to 5.5.1. 2021-12-09 19:06:22 +03:00
Giuseppe Marino
6389996a5d
Merge upstream 5.5 2021-12-07 14:59:54 +01:00
levlam
b440ade235 Update version to 5.5. 2021-12-07 14:43:39 +03:00
levlam
5491729a3c Assign a thread_id for main thread. 2021-11-17 13:24:19 +03:00
Giuseppe Marino
9610addbec
Merge remote-tracking branch 'upstream/master' 2021-11-07 14:46:47 +01:00
levlam
e9587a0083 Update TDLib and version to 5.4.1. 2021-11-07 04:23:28 +03:00
Giuseppe Marino
188fa9d8b0
Merge remote-tracking branch 'upstream/master' into merge-upstream 2021-11-05 14:52:04 +01:00
levlam
a838756c9a Update version to 5.4. 2021-11-04 15:51:16 +03:00
Giuseppe Marino
97872f5b87
merge conflict 2021-09-22 11:46:33 +02:00
levlam
36b0c4426a Update version to 5.3.3. 2021-09-20 23:56:53 +03:00
levlam
87981c105d Print stack trace to stderr after receiving signal RTMIN+2. 2021-09-12 13:51:22 +03:00
levlam
0e1862d26d Update version to 5.3.2. 2021-09-08 17:22:40 +03:00
levlam
60acf1e402 Store separate size of query_list_. 2021-08-10 12:50:02 +03: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
05b3d5fcb1 Update version to 5.3.1. 2021-07-27 01:55:06 +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
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