Commit Graph

56 Commits

Author SHA1 Message Date
levlam
3a598036e6 Support file reference repair for Web App files. 2023-02-28 14:11:49 +03:00
levlam
8b292e4f85 Ensure that being added FileSource isn't copied. 2023-02-28 14:35:52 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
5081ef4c2a Use WaitFreeHashMap to store nodes in FileReferenceManager. 2022-11-17 19:13:36 +03:00
levlam
9a469eef31 Minor fixes. 2022-08-12 18:39:36 +03:00
levlam
e7fa6741aa Support file reference repair for files of attachment menu bots. 2022-08-10 21:12:05 +03:00
levlam
2865be8dd7 Store link to parent in FileReferenceManager. 2022-08-09 17:00:36 +03:00
levlam
44e96081c6 Support file reference repair for bot description photo and animation. 2022-08-06 13:42:35 +03:00
levlam
779090f4dd Add more WaitFree* classes usages. 2022-08-04 14:48:10 +03:00
levlam
0f87447ffc Asynchronously destroy some big data storages. 2022-07-20 13:40:14 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
77532d67f8 Support file reference repair for notification sounds. 2022-04-15 16:27:30 +03:00
levlam
4d7afaedbb Improve DownloadManager initialization. 2022-03-01 23:09:40 +03:00
levlam
a3cef00551 DownloadManager fixes and improvements. 2022-02-27 18:23:06 +03:00
levlam
4524ba0380 Add FileReferenceManager::get_file_info. 2022-02-26 21:52:14 +03:00
levlam
bcc2adeb47 Fix includes and formatting. 2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
4f8cfce082 Fix g++4.9 compilation errors. 2021-12-01 20:54:56 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
f70498898b Add fileSourceAppConfig. 2021-10-08 13:41:22 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
a7bd0c3932 Add photo to *FullInfo.
GitOrigin-RevId: 21346a0880239abe428799fa58b9132abded6f13
2020-07-06 15:26:29 +03:00
levlam
2ad13e414e Remove file reference tracing for chat photos.
GitOrigin-RevId: 1cb90efec24192b5a712cabde325c8768e1af572
2020-06-27 17:05:45 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
0618005a95 Add FullMessageId.h.
GitOrigin-RevId: 758133149ff3317b3d9d3f86b1a841e8f34ca35a
2019-11-26 19:53:10 +03:00
levlam
6b001fedd9 Add basic protectiong from cyclic successful file reference repair.
GitOrigin-RevId: f0d3ef24dc95ed1f5ed06801abc435ee40c80f01
2019-10-18 04:30:49 +03:00
levlam
84695437d3 Various fixes.
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
2019-08-14 03:13:34 +03:00
Arseny Smirnov
089d73953c FileManager: reload photo on FILE_ID_INVALID
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
2019-07-30 17:42:36 +03:00
levlam
8d132d9505 Fix CE.
GitOrigin-RevId: 925d3fbd4a7414caffe7269b7283246bdc03d0a2
2019-07-25 00:00:21 +03:00
levlam
88febd4aa0 File reference support for backgrounds.
GitOrigin-RevId: e4c7f0ee8e6be2341e51f7ef86edfcd264089e3c
2019-05-09 04:07:21 +03:00
levlam
85dd77b02c Initial background support.
GitOrigin-RevId: 14d3a1166f837069c55f40036a633295600524ca
2019-05-07 05:51:56 +03:00
levlam
b78db4d902 Trying to keep files, needed for messages in other chats.
GitOrigin-RevId: 454f3143aec958a08ea35edecc808ef99eb795cf
2019-04-28 20:21:44 +03:00
levlam
6a43a9e91e Support file reference errors in SendMultiMediaActor.
GitOrigin-RevId: ef25dd8bedab0998db1e57572e46e072c5e2e374
2019-02-08 17:54:23 +03:00
levlam
005f943537 Add fileSourceFavoriteStickers.
GitOrigin-RevId: 4affa759ed53ace4b2f03c44cbf9f1c66b4890ac
2019-02-02 13:54:40 +03:00
levlam
7095879641 Add fileSourceRecentStickers.
GitOrigin-RevId: 727361a312d64588852dad07b1742bf596e9b5ad
2019-02-02 13:30:49 +03:00
levlam
996869d4ca Implement store/parse FileSourceId.
GitOrigin-RevId: ff0d80bf2a8d479dae0cdca2c806a9731ff499d9
2019-01-31 00:37:38 +03:00
Arseny Smirnov
06a82aff73 FileManager: store file source in db (partial imlementation)
GitOrigin-RevId: 860e92368e226401e57072e8d64df48c263029f6
2019-01-29 15:07:58 +04:00
levlam
0ac8c2d389 Repair file_reference in SaveGifQuery.
GitOrigin-RevId: ae9fcc543795a659c51699af8ea0048a0b5f8fb5
2019-01-23 22:20:48 +03:00
levlam
6633b87d51 Add is_file_reference_error.
GitOrigin-RevId: 7c36433edff5de1a9ef6c2ffb0b4745e4aede0be
2019-01-23 19:00:56 +03:00
levlam
c52f9b6b6a Better logging.
GitOrigin-RevId: 94da2ea5502310357d977aafb1ff5eec71f553d5
2019-01-21 21:22:56 +03:00
levlam
cdefe9b1ee SetWithPosition CE and other fixes.
GitOrigin-RevId: 69278e7906c738924e1a4771b5b755ff349ea26f
2019-01-19 20:19:29 +03:00
levlam
3bc0d8eb9a Add FileSourceId.h.
GitOrigin-RevId: 98707d3c9248fb4873ccb8b1e890bb0926bfed73
2019-01-19 05:44:31 +03:00
levlam
d4882f7c07 Add change_files_source method.
GitOrigin-RevId: 25078e0ca82d34489727823bfcfa781424f48913
2019-01-18 23:12:09 +03:00
levlam
afed91fec9 Add create_*_file_source methods.
GitOrigin-RevId: 52c2f793bb911a7068b0ee29f8b15086c7c74a67
2019-01-18 22:36:23 +03:00
levlam
94f94750fe Add FileReferenceManager::get_current_file_source_id.
GitOrigin-RevId: 29f3bef8926e205c0c262ffe740c4cbd444e46b7
2019-01-18 22:10:38 +03:00
levlam
1f5a86ea58 Store correspondence between message and FileSourceId in MessagesManager.
GitOrigin-RevId: 1fc23f6032c473639ce24e6564632d80327d24b3
2019-01-18 21:24:03 +03:00