Commit Graph

253 Commits

Author SHA1 Message Date
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
Ilya Fedin 89765340c3 Fix -Wunused-function warnings 2021-07-13 21:31:22 +03:00
23rd f1669674d8 Moved formatting of image size text to single place.
Fixed wrong size display on retina screens.
Replaced "x" with special character.
2021-07-09 13:15:31 +03:00
John Preston 6b62ec97c6 Fix possible crash in export panel management. 2021-06-24 11:57:27 +04:00
John Preston 4625e7613b Use data_peer_id in export. 2021-04-12 10:48:17 +04:00
John Preston ae74c8a6b8 Show voice chat start time in service message. 2021-04-12 10:48:16 +04:00
John Preston 7cbe158d00 Update API scheme. 2021-04-06 18:41:16 +04:00
John Preston 3ec3f6484f Update API scheme to layer 128. 2021-04-06 18:41:15 +04:00
John Preston 0d44736575 First full-featured version of payments, no design. 2021-04-06 18:41:15 +04:00
John Preston 03a868a6e3 Allow skipping stuck files in data export.
Fixes #6423.
2021-03-22 16:32:40 +04:00
Ilya Fedin c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +03:00
Ilya Fedin f25b2a2094 Apply autofixes from clazy 2021-03-13 15:25:47 +03:00
John Preston d624e2ef65 Fix build on macOS and Linux. 2021-03-12 19:21:35 +04:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston 267e5fd9e0 Allow getting outer_msg_id in MTProto handlers. 2021-03-12 16:58:26 +04:00
John Preston 02517f7221 Update API scheme to layer 125. 2021-03-12 16:58:26 +04:00
John Preston 781e7a2e79 Update API scheme, simplify auto-delete. 2021-02-22 23:42:41 +04:00
John Preston 502a3ca70f Update API scheme to layer 124. 2021-02-22 23:42:40 +04:00
Ilya Fedin bbf49b024a Fix implicit conversions from QByteArray 2021-02-19 14:15:09 +04:00
John Preston 37b8551760 Ignore 400: LOCATION_NOT_AVAILABLE in export.
Fix #6807.
2021-02-04 18:13:04 +04:00
John Preston eb11185de7 Improve escaping of some data in HTML export. 2021-02-01 16:57:42 +04:00
John Preston 97fb310f54 Move CalendarBox and ChooseDateTimeBox to td_ui. 2021-01-25 16:50:56 +04:00
John Preston 3a5b625d64 Allow inviting members to the group call. 2020-12-01 09:45:23 +03:00
John Preston 3aa2619a7f Update API scheme to layer 122. 2020-12-01 09:45:21 +03:00
John Preston 62eaa3f225 Update API scheme to layer 121. 2020-12-01 09:45:21 +03:00
John Preston 74d2313784 Build Linux version with Qt 5.15.1 in CentOS 7 docker. 2020-11-06 11:21:34 +03:00
John Preston c4af731b19 Wrap messageActionGeoProximityReached service message. 2020-10-30 18:32:19 +03:00
John Preston cc28ba4284 Update API scheme to layer 120. 2020-10-30 18:32:17 +03:00
John Preston 874e5e0a61 Fix export of discussion messages. 2020-10-01 12:42:35 +03:00
John Preston 719bed6e85 Move some text formatting to tg_ui:ui/text/format_values. 2020-09-30 16:29:17 +03:00
John Preston def1266216 Rename td-specific libs from lib_ to td_. 2020-09-30 10:51:17 +03:00
John Preston be14456290 Show correct reply in Replies bot. 2020-09-29 19:03:24 +03:00
John Preston 4a94a0c438 Show replies dialog correctly. 2020-09-29 19:03:24 +03:00
John Preston ce91caa820 Fix build on macOS. 2020-09-29 19:03:23 +03:00
John Preston f0e1d2fd02 'base::optional_variant<' -> 'std::variant<v::null_t,' 2020-09-29 19:03:19 +03:00
John Preston 734d834a20 Replace mapbox variant with std::variant. 2020-09-29 19:03:19 +03:00
John Preston 0888901d79 Try using progressive jpeg photo size. 2020-09-29 19:03:18 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
Magnus Groß 4f3f1e18a2 Export chats with ISO 8601 dates
Fixes #6020
2020-07-27 09:29:25 +04:00
John Preston 2df5972f68 Raise file size limit to 2000 MB. 2020-07-08 10:07:01 +04:00
John Preston bf7aae5fc6 Allow float video player across accounts. 2020-06-25 18:17:37 +04:00
John Preston c19c0afe60 Fix export bar in accounts toggle. 2020-06-25 13:02:02 +04:00
John Preston 65050bf9dd Move export management to Core::App. 2020-06-25 11:14:05 +04:00
23rd 0696a2d5c0 Replaced mapping to rpl::empty_value with rpl::to_empty. 2020-06-23 21:53:43 +04:00
John Preston 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
John Preston 0ad7dcaef9 Remove MTP::MainInstance() global access point. 2020-06-23 21:53:40 +04:00
John Preston ad4afe9293 Move session data localstorage -> storage_account. 2020-06-23 21:53:39 +04:00
John Preston 4b354b0928 Use Main::Session in download/upload. 2020-06-23 21:53:38 +04:00
John Preston d0994019ca Beta version 2.1.9: Fix 'edited' field export.
Export 'edited' only if the message was edited.
2020-06-04 18:17:50 +04:00
23rd 35e575c2d7 Fixed build for macOS. 2020-06-01 19:28:19 +03:00
John Preston 368eeaf754 Improve single chat export progress display. 2020-06-01 18:09:34 +04:00
John Preston 1686eb394d Add support for JSON single-chat export. 2020-06-01 18:09:34 +04:00
John Preston 8f80c19ae1 Merge old group with supergroup history in export. 2020-06-01 18:09:34 +04:00
John Preston ed715fb810 Update API scheme to layer 111. 2020-03-27 20:36:01 +04:00
John Preston 4eeac7dc18 Fix whitespace and indentation errors.
See #6672, thanks Sea-n.
2020-01-02 14:25:53 +03:00
John Preston 91f50e8bdc Move some more code to lib_mtproto. 2019-12-02 16:11:22 +03:00
John Preston ae98e4ae44 Support file reference refresh in Export. 2019-11-29 15:36:06 +03:00
John Preston 95ba12e3cb Update API scheme to layer 107. 2019-11-29 15:36:04 +03:00
John Preston cfe12f773f Move some modules to lib_mtproto. 2019-11-18 12:28:14 +03:00
John Preston d63e50944a Update submodules to the latest spellcheck. 2019-11-05 13:23:56 +03:00
John Preston 27a83a7a09 Use base::FileNameFromUserString. 2019-10-20 14:22:46 +04:00
John Preston a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston 246c45ce0e Use lib_ui from submodule. 2019-10-19 12:27:28 +04:00
Jiachen YANG 8abeb4a9db include range/v3/range/conversion.hpp instead of range/v3/to_container.hpp 2019-10-02 11:52:55 +03:00
John Preston c5845f17ae Remove twidget header. 2019-10-01 23:59:46 +03:00
John Preston e2f54eb3e9 Move some style code to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston 3a3bf84cfc Fix crash in SeparatePanel destruction.
We should destroy layers before panel widget destructor started.
We do it already for MainWindow in clearWidgetsHook.
2019-09-09 10:52:03 +03:00
John Preston 850940116d Move HistoryMedia to HistoryView namespace. 2019-08-09 11:50:49 +01:00
John Preston abf49e1672 Update API scheme. 2019-08-09 11:50:49 +01:00
John Preston ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston c5df4db621 Fix possible race conditions in msgid(). 2019-07-15 16:00:30 +02:00
John Preston 567bf60644 Use getters in MTP classes. 2019-07-05 16:23:07 +02:00
John Preston 4917ca7b32 Remove all legacy global namespace langs. 2019-06-21 11:06:52 +02:00
John Preston 87fc066e67 Use tr:: instead of lang(). 2019-06-21 11:06:51 +02:00
John Preston d3ca6b96a1 Use tr:: instead of __generic. 2019-06-21 11:06:50 +02:00
John Preston a7c8feaecb Use tr:: instead of langFactory and __rich. 2019-06-21 11:06:50 +02:00
John Preston d1d98c3bb1 Use tr:: instead of langFactory in box titles. 2019-06-21 11:06:50 +02:00
John Preston 8ed433cc01 Use tr:: instead of langFactory in input fields. 2019-06-21 11:06:49 +02:00
John Preston 7af0dd105e Use tr:: instead of Lang::Viewer. 2019-06-21 11:06:49 +02:00
John Preston ca7c50fbcd Remove pseudo-HTML from langpacks and Ui::Text::String. 2019-06-21 11:06:46 +02:00
John Preston 14b82698f8 Update API scheme to layer 102. 2019-06-21 11:06:44 +02:00
John Preston 9c613fe2f7 Move system versions to platform/platform_info. 2019-06-04 14:23:14 +03:00
John Preston c4aac5fa0e Update API scheme to layer 100. 2019-05-27 15:09:06 +02:00
John Preston 9bf8a8108d Comment out non-folder feed code. 2019-04-25 14:16:30 +04:00
John Preston 905a024aed Update API scheme to layer 99. 2019-04-25 14:16:29 +04:00
John Preston b5be6df5e2 Copy text with expanded links only to external.
Paste valid custom links in message field if copied from messages.
2019-04-08 19:10:06 +04:00
John Preston 99bb09374d Use new animations engine everywhere. 2019-04-02 14:33:53 +04:00
John Preston aa8f62da9d Support new ('modern') API file locations. 2019-03-29 14:24:07 +04:00
John Preston eba2a98703 Add general StorageFileLocation abstraction. 2019-03-29 14:24:06 +04:00
John Preston a34e998c42 Handle fwd_from without a link to the account. 2019-03-24 12:12:42 +04:00
John Preston 6a2b1bb48d Fix HTML export wrapper. 2019-03-24 12:12:39 +04:00
John Preston fe618bd652 Use crl::time/now instead of TimeMs/getms. 2019-02-19 11:06:33 +04:00
John Preston c9716f3c72 Make crl::object_on_queue usages consistent. 2019-02-17 15:09:01 +04:00
John Preston 9b57725b8c Fix bad function call in data export cancel. 2019-02-01 11:17:23 +03:00
John Preston d2d6b319b6 Update API scheme to layer 93. Broken. 2019-01-17 12:21:28 +04:00
John Preston 47edb71a68 Update API scheme to layer 92. 2019-01-17 12:21:28 +04:00
John Preston a0c6104fae Redesign auto download box. 2018-12-25 22:15:22 +04:00
John Preston ef1d38462f Simplest polls data export. 2018-12-23 00:23:19 +04:00
John Preston 6d9f40db30 Update API scheme to layer 91. 2018-12-21 17:09:30 +04:00