Commit Graph

34 Commits

Author SHA1 Message Date
Andrea Cavalli
8990b79e9e
Merge pull request #84 from a5r0n/official-upstream-update
Official upstream update
2023-12-17 19:49:10 +01:00
a5r0n
c24c0a2dae
Merge remote-tracking branch 'official-upstream/master' into official-upstream-update 2023-12-15 15:16:35 +02:00
a5r0n
bf66a41987
fix: fix no_file_limit typo 2023-12-15 11:58:46 +02:00
levlam
18b5f287f7 Update CPU statistics on a dedicated thread. 2023-09-03 01:03:53 +03:00
levlam
9f688af4fb Add dedicated threads for TQueue and webhook databases and webhook certificate processing. 2023-07-25 22:32:05 +03:00
levlam
c927614964 Improve threads usage. 2023-07-25 22:26:12 +03:00
Giuseppe Marino
85763a1591
Merge remote-tracking branch 'upstream/master' 2023-02-04 15:31:24 +01: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
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