Commit Graph

2990 Commits

Author SHA1 Message Date
levlam
eaca53604a Fix MTProto-proxy usage with bots.
GitOrigin-RevId: ed82547b018fe34c5da6a9b3a98ecb9ed7b39049
2019-08-23 19:38:56 +03:00
levlam
ba5ae7229a Mark Bitmask::oompress const.
GitOrigin-RevId: 9dc12cb8b24afe5613e0dbdfca48da30da4c59b5
2019-08-23 19:25:07 +03:00
levlam
3e15c89f88 Fix warning,
GitOrigin-RevId: 7226d3025e801d4bf440390c8ecdb87eb485d993
2019-08-23 18:56:01 +03:00
levlam
37de65a941 build.html: implicitly state that dev OpenSSL and zlib packages are needed.
GitOrigin-RevId: 2007fc970d700d21fe47bfe80bba1e5d1a606cb2
2019-08-23 18:34:51 +03:00
levlam
82f72d25ac Fix WebPageBlockPhoto::append_file_ids.
GitOrigin-RevId: 5bec98175c3502611fda3f8e168135c127794bdd
2019-08-23 18:31:34 +03:00
levlam
2027cb081b Use Document::append_file_ids.
GitOrigin-RevId: d877b3e75c68388ca34d72b6983528003ffd0ba0
2019-08-23 18:22:14 +03:00
levlam
19de122bea Add Document::append_file_ids.
GitOrigin-RevId: 309a322425278f09781897a8f7679ece73ecf055
2019-08-23 18:03:06 +03:00
levlam
219c35f007 Optimize key generation.
GitOrigin-RevId: e0958f470a15aa83066d20685c15a056d853a42a
2019-08-23 01:54:19 +03:00
levlam
d02f0ffba9 TlsInit: better X25519 key generation.
GitOrigin-RevId: b7efb4bfd1d285a54292e5733c855d7693419af1
2019-08-22 23:09:49 +03:00
levlam
2e8ec529e9 check_tls: better key generation.
GitOrigin-RevId: 090ac63afcac8a61df92f008f054cc0cfd559d36
2019-08-22 22:26:12 +03:00
levlam
85c64bb3da Add more BigNum::from_binary tests.
GitOrigin-RevId: 0a887d5e59c81020d957100f3fa71ce0442c4674
2019-08-22 20:41:56 +03:00
levlam
72ce03b84b Supoort BigNum::{from,to}_le_binary for OpenSSL < 1.1.0.
GitOrigin-RevId: c104af3f22c814df6946a9218c83cae015823832
2019-08-22 19:22:31 +03:00
Arseny Smirnov
e1046570a3 FileUploader: fix race with partial location deletion
GitOrigin-RevId: fa3cd8ca2cd5b376d557242a6b5f296dc09c90f4
2019-08-20 10:42:21 +03:00
Arseny Smirnov
24f31ad888 FileManager: download big files with unknown size
GitOrigin-RevId: 3f4246f2d61127015138a32f2e93c8f932a81c50
2019-08-19 12:31:25 +03:00
levlam
08f13c203f Fix misprint.
GitOrigin-RevId: ab452b413cf6c9f32ad0a882ab8b3ae826babd2f
2019-08-18 15:24:51 +03:00
Arseny Smirnov
dd15a176e5 tdweb: @arseny30/tdweb 1.4.6
GitOrigin-RevId: 520ef633ad31739fc3e314a066dc5f66bb40f0cf
2019-08-16 09:39:20 +03:00
levlam
e0d3ad91c5 Do not treat ChatFull without participants as outdated in inactive chats.
GitOrigin-RevId: 5ad01d20dd1b655cfd2ed08f4de20a7d958d8e38
2019-08-16 03:38:53 +03:00
levlam
67f427af73 Allow to resend messages, which failed to send, because they are too old.
GitOrigin-RevId: d9cbfb1433580e3214d81dac443b1d5ba43f818f
2019-08-16 02:59:03 +03:00
levlam
25d4e27b3d Add persistent real_forward_from_message_id.
GitOrigin-RevId: a1272a710019de980f3b678256fd82f3c7b83242
2019-08-16 02:50:22 +03:00
levlam
afae30a32d Fix ChatFull invalidating.
GitOrigin-RevId: 34ae7377315701b5e8d0a877686499f1670b529d
2019-08-16 02:45:42 +03:00
levlam
7435cab3af Update 777000's profile photo.
GitOrigin-RevId: c5f7cd801640947e5418aafbb28cb8fa7747ca17
2019-08-15 23:46:58 +03:00
levlam
617a398efa Message resend fixes.
GitOrigin-RevId: 6233a854c75e0d51f2a3e6bb21448608d934bbc3
2019-08-15 22:11:06 +03:00
levlam
dca95edf27 Add test_flood_wait option.
GitOrigin-RevId: 46cdd7db52a54f47380ae21a9457aad6e95dcc61
2019-08-15 22:10:42 +03:00
levlam
78601ac8b4 tg_cli: add resendMessages.
GitOrigin-RevId: 3a1b3db6ae23eff915b548221441f7f730c7c185
2019-08-15 18:36:27 +03:00
levlam
9007f106b9 Update layer 98. Support for legacy messages flag.
GitOrigin-RevId: b10c8b60b7fbdfdbf8ab15e65ed32f1daa6c9ad2
2019-08-15 18:16:09 +03:00
levlam
7fdd8c5139 Fix setting store_all_files_in_files_directory option.
GitOrigin-RevId: 3eecd1b8447c62df92829a7ce0586a2a6b93c090
2019-08-14 03:37:09 +03:00
levlam
84695437d3 Various fixes.
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
2019-08-14 03:13:34 +03:00
levlam
bb24ec0629 Fix tdutils after merge.
GitOrigin-RevId: 3eceb2e574a737a78dc5414e535e416c86d23f7a
2019-08-13 23:52:54 +03:00
levlam
c99486e667 Simplify pretty-print in JsonBuilder.
GitOrigin-RevId: bf1606d732c665555fa744ade9cd498af6a5ccf7
2019-08-13 18:33:32 +03:00
Arseny Smirnov
2f7fc17460 @arseny30/tdweb@1.4.5
GitOrigin-RevId: d9c387301437098aa3afbadba6d1c52c051886ac
2019-08-13 17:38:23 +03:00
Arseny Smirnov
3303392f9c tdweb: only one DBFS sync at a time
GitOrigin-RevId: f56f19b45b7c11faa10d76d4eb0622e20d1c89ea
2019-07-26 18:43:56 +03:00
Arseny Smirnov
3f138f4edc tdweb: drop localForage, increase cache limits
GitOrigin-RevId: efc9f7e95bf070cf802504453f10830acf6fa62c
2019-07-25 18:27:03 +03:00
Arseny Smirnov
e07b03dea3 tdweb: experiments with storing incoming files into indexeddb
GitOrigin-RevId: 7ab38676faaf5eb4e8b4c43b05c268d0ea2784de
2019-07-24 15:07:55 +03:00
levlam
1726e10a8a Delete messages in inaccessible chats only in channels.
GitOrigin-RevId: cddc5bcd03cd215e2436fc7d411d85593aa557d7
2019-08-13 16:58:34 +03:00
levlam
378b1df843 Add td_api::resendMessages.
GitOrigin-RevId: 41c14a76aaf05745592328909e47efd5feca2437
2019-08-11 04:05:00 +03:00
levlam
ee3921f959 Save real_forward_from_dialog_id between restarts.
GitOrigin-RevId: 3282a9f703ec8b9b8d6cccfb088cf5ceaad8202a
2019-08-11 03:20:16 +03:00
levlam
cbd4b2a8a4 Add MessagesManager::generate_new_media_album_id() method.
GitOrigin-RevId: 1a0c71404b09585f66728ea494a8bd920795664c
2019-08-11 02:10:21 +03:00
levlam
611878f098 Add is_bot_start_message flag.
GitOrigin-RevId: 02725fba5857f1e8212b998eaf3c33006382fddb
2019-08-11 01:23:34 +03:00
levlam
d7be30f658 Save hide_via_bot flag.
GitOrigin-RevId: 0bf270274f8bd85fa50b1126e4850cdb35dfc5a7
2019-08-11 01:10:01 +03:00
levlam
c045fce56a Add information about failed to send messages.
GitOrigin-RevId: a4cb3669b5cf478a2e2f5ca1ecf2ea9c5f3ef5cc
2019-08-11 00:14:35 +03:00
Arseny Smirnov
5a032743e6 Fix errors from tdutils import
GitOrigin-RevId: 3709df12a3050cf05e2bb482b49490a4e874f075
2019-08-12 16:53:17 +03:00
Arseny Smirnov
f63ce74fef tdutils: import changes from other project
GitOrigin-RevId: 0cfbe2418933cffdce4f0d1b8461c247a814d868
2019-08-12 14:45:57 +03:00
Arseny Smirnov
7a863daa50 DialogDb, MessagesDb: bugfix - call promises only after transaction is commited
GitOrigin-RevId: 650db002f60fc4af3131935973d8f2b0d3040d1b
2019-08-09 21:30:01 +03:00
levlam
3bca7b1448 Add send_copy to inputMessageForwarded.
GitOrigin-RevId: 7327021564789e8ff436e2f56f243684b7ce8183
2019-08-09 20:28:49 +03:00
levlam
c71dbc28a0 Add send_copy parameter to forwardMessages.
GitOrigin-RevId: 059f992cc8b9c6ae1c6ab3910ffc52b906d12e88
2019-08-09 17:41:26 +03:00
levlam
1685d77455 One more transaction.
GitOrigin-RevId: fde1d2448aad24ee0487377e353b6bc3f0fca240
2019-08-08 18:37:16 +03:00
levlam
f7bbcab502 Use transaction in get_message_notification_group_force.
GitOrigin-RevId: 7573d95313559ce10acce1e701a83fcb26d558df
2019-08-08 18:31:46 +03:00
Arseny Smirnov
87e6f6cc59 Trying to fix ConfigRecoverer closing
GitOrigin-RevId: 017d45256e9fffb728cbe2abc175ab5b796265de
2019-08-09 15:14:07 +03:00
Arseny Smirnov
cfb3d7bda4 Support recusrive transactions in sqlite usage
GitOrigin-RevId: 1afd836ebd0c8b1cc79c86c9ef548deeb3f5adaa
2019-08-09 14:31:45 +03:00
levlam
ef5c2ea722 Fix warning.
GitOrigin-RevId: 7fbd0b38862a906e0b3fe0b2acee7eb34175434a
2019-08-07 05:04:55 +03:00