Commit Graph

76 Commits

Author SHA1 Message Date
Arseny Smirnov
06a82aff73 FileManager: store file source in db (partial imlementation)
GitOrigin-RevId: 860e92368e226401e57072e8d64df48c263029f6
2019-01-29 15:07:58 +04:00
levlam
3e8277d65c Fix some possible use after move.
GitOrigin-RevId: 37e17c445c9a9df56d85452c964603c08334045d
2019-01-25 18:44:23 +03:00
levlam
4a36aaaa9d Handle closing during file reference repair.
GitOrigin-RevId: 2712f7be176353afee0551f519dff34d4369e262
2019-01-25 17:51:47 +03: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
d04a1a61cc Add wallpapers file source for wallpapers registered by remote location.
GitOrigin-RevId: a0994ef92ef927d780acf6a79cfad5b424d93784
2019-01-22 17:35:29 +03:00
levlam
542eb9e5c0 Create web page file source.
GitOrigin-RevId: 3e920c90df20cf24a1911124323ef4b258b72463
2019-01-22 01:32:13 +03:00
levlam
c52f9b6b6a Better logging.
GitOrigin-RevId: 94da2ea5502310357d977aafb1ff5eec71f553d5
2019-01-21 21:22:56 +03:00
levlam
d80e2d5091 Optimize FileReferenceManager::merge.
GitOrigin-RevId: a90658d47bacdfd50bf834f54f0b71dd54c375cf
2019-01-21 20:43:58 +03:00
levlam
937db792cb Create file sources for channel and chat photos.
GitOrigin-RevId: c3660edd78b7ad07aaa7e6c5e238c2e2e30f2b11
2019-01-20 06:34:47 +03:00
levlam
730466e328 Enable repairing of all FileSource types.
GitOrigin-RevId: 3769adf7c9fd149b39f8ff9e7f7f8777d61b34d8
2019-01-20 06:04:40 +03:00
levlam
cdefe9b1ee SetWithPosition CE and other fixes.
GitOrigin-RevId: 69278e7906c738924e1a4771b5b755ff349ea26f
2019-01-19 20:19:29 +03:00
levlam
7ff1b83a24 Add combine helper method for arrays.
GitOrigin-RevId: a67c7a72525a9853072ad93fca47cd573a2da764
2019-01-19 04:09:58 +03:00
levlam
4f16a72b02 Move editNotification update to a better place.
GitOrigin-RevId: 6735f3fea8bedd28447e3c4714ee00a8d4b10d9a
2019-01-19 03:44:54 +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
Arseny Smirnov
6ca19e05c5 FileReferenceManager: bugfixes
GitOrigin-RevId: 51d33c307297124dddb72224220977e1f31a15bd
2019-01-18 17:52:49 +03:00
Arseny Smirnov
a6e47943c3 FileReferenceManager: new queries logic
GitOrigin-RevId: 82592baaed566ef28e044cd0dc9fe67b625ae2ab
2019-01-17 23:42:00 +03:00
levlam
8851b9d066 Implement FileSource.
GitOrigin-RevId: 2cbeab03d2ea1fa56d9f746c5c6c6a41e28d2795
2019-01-14 21:46:04 +03:00
levlam
f54a0c3e70 File reference improvements.
GitOrigin-RevId: 40d3ac6cde73503af544df464cc9ff569fb4016d
2019-01-05 18:13:27 +03:00
levlam
cc5eaa6b7e Fix addind/removing file source for messages.
GitOrigin-RevId: 726e2671dee6368bce20bac207b8d3929b1a34f6
2019-01-03 18:26:44 +03:00
Arseny Smirnov
b53cd5d76a FileReference: better infinity loop protection
GitOrigin-RevId: 068fdbbb574eae03f3bb4b5b06ac3960aaca59c0
2018-12-09 10:05:26 +03:00
Arseny Smirnov
bbecdcda20 FileReference: minor improvements
GitOrigin-RevId: 22c605f90445d7d6aefefea16c834051e29b1fed
2018-12-09 01:00:27 +03:00
Arseny Smirnov
a75726d77a FileManager: file references draft
GitOrigin-RevId: 8d37ee4b5520497df08f49e598ae91825e74e1ea
2018-12-05 12:32:31 +03:00