Commit Graph

3066 Commits

Author SHA1 Message Date
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
levlam
a95370686a Allow zero read_inbox_max_message_id from updates.
GitOrigin-RevId: bfcf66196cc65f183954dd9959f27f642df070fb
2019-08-07 03:49:45 +03:00
levlam
6b06f43bfd Fix increasing message index count for sent media.
GitOrigin-RevId: c77d4dc9ae16d40cc655dffc26da451fcfe3a2b9
2019-08-07 02:05:35 +03:00
levlam
500a8a1302 Check read access before repairing user/chat/channel.
GitOrigin-RevId: 273b79368613377d5665292a7e230adf35f1f5f3
2019-08-06 21:50:03 +03:00
levlam
e7767cf106 Fix formatting.
GitOrigin-RevId: e78b1517297af214b7738350411d3e1e520a2066
2019-08-06 20:11:31 +03:00
levlam
1afdf258ab Add td_api::CallProblem.
GitOrigin-RevId: 421cd01239ef43d3073556f3a222db17d5d0d3e5
2019-08-06 20:07:23 +03:00
levlam
a5a7e30ec5 Return td_api::error for incorrect requests in JSON interface.
GitOrigin-RevId: 1c3e3f6c2b7a9828930bdfc185f332f6190467d1
2019-08-06 03:29:16 +03:00
levlam
8ae3ac91a4 Update tdweb documentation.
GitOrigin-RevId: f31752320c4d2391dc86f0d8cdd38e1e4578eb59
2019-08-06 02:45:52 +03:00
levlam
46bb21bbd0 Add td_api::testReturnError instead of td_api::testUseError.
GitOrigin-RevId: a51a927bd6ac0b8e7b75b1f032c3b232d8f42f52
2019-08-06 02:03:44 +03:00
levlam
8059ac0472 Preload chats from database before applying updatePinnedDialogs.
GitOrigin-RevId: 0ebfa4ae3147e16ac7b9b7a812e23792b8a60871
2019-08-06 01:02:09 +03:00
levlam
ad167a48ba Pass Slice to parse_url.
GitOrigin-RevId: e6cd357042b827ca56a11bb377c8b07ccd120230
2019-08-05 12:56:28 +03:00
levlam
84b33cd6a8 Add ConstParser.
GitOrigin-RevId: 58ef5b7e6d2568729228c11a3a495794f98566ad
2019-08-05 12:42:42 +03:00
levlam
5ca0a72ddf Add td_api::getMessageLinkInfo.
GitOrigin-RevId: 34213fdada780b9bb8fe6a6db5a0de3be097b55c
2019-08-05 12:12:59 +03:00
levlam
b4cc4fea93 Check for old files in save_file_bytes.
GitOrigin-RevId: 8e45c35c56a1b4e41b42bbeef3322002be351e69
2019-08-04 00:53:06 +03:00
levlam
2ca4a088b3 Add NetBSD build instructions generator.
GitOrigin-RevId: ad45d7152dea2b77ed539e572807ace8eb6724c9
2019-08-02 21:32:58 +03:00
levlam
1a100e1b0f Add NetBSD support.
GitOrigin-RevId: 42703ce955a4323757de56d0c012a54246227f70
2019-08-02 19:06:53 +03:00
Arseny Smirnov
ec28b6c48b StorageManager: new query cancels older queries
GitOrigin-RevId: 42d33f212554dce388f7be3b0a69efd756e7b547
2019-08-02 16:05:01 +03:00
levlam
fb3d439dac Send updateDeleteMessages for unknown messages in channels.
GitOrigin-RevId: 2880ebd0a885fb8f8faee4959095bd834f0ddc91
2019-08-02 14:55:47 +03:00
levlam
9c52330720 Fix warning.
GitOrigin-RevId: ecbdb3656e990cf9d8eaf7dafbbd209b5e7b1484
2019-08-02 14:29:00 +03:00
Arseny Smirnov
fcfb0f97d1 SecureManager: handle SECURE_SECRET_REQUEIRED error
GitOrigin-RevId: a8634cb072c058d619ac0ad4a78f29dcfcfabda8
2019-08-02 12:01:55 +03:00
levlam
b929fbf673 Add OpenBSD build instructions.
GitOrigin-RevId: 89940edf0ec15563aea0e04eb941ffb00a491d65
2019-08-02 05:30:31 +03:00
levlam
c369ec608c Disable sanitizer on OpenBSD.
GitOrigin-RevId: feb7f0dc216bae25c030cfc831897cac0bafe746
2019-08-02 04:48:12 +03:00
levlam
28d3f2d860 Add OpenBSD support.
GitOrigin-RevId: 80d37bf8b6e55f68f3839bf2093994015176eecb
2019-08-02 03:25:28 +03:00
levlam
4afad7985b Fix CE.
GitOrigin-RevId: 18f9d35f1b77a2e50c67f6d07073226b368734ab
2019-08-02 02:14:25 +03:00
levlam
22f17de7b4 Fix LibreSSL compatibility.
GitOrigin-RevId: 7f77b6772e8fed459bf30522c45984c10175ddc4
2019-08-02 01:04:38 +03:00