John Preston
75090dedaa
Don't store MTPInputStickerSet in data.
2021-07-08 22:08:59 +03:00
John Preston
a74228acea
Don't use MTP* for ChannelData flags.
2021-07-08 16:11:09 +03:00
John Preston
5040c2e766
Don't use MTP* for ChatData flags.
2021-07-08 15:11:46 +03:00
John Preston
e34375405e
Don't use MTP* for UserData flags.
2021-07-08 14:19:12 +03:00
23rd
96b40f43e9
Added ability to drag and drop images in photo editor.
2021-07-06 12:13:06 +03:00
23rd
948302cf02
Added setting to hide photo editor hint.
2021-07-06 12:13:06 +03:00
23rd
e7104b5ebe
Added support for archived masks.
2021-07-06 12:13:05 +03:00
23rd
1cdb83462e
Added initial implementation of masks panel.
2021-07-06 12:13:05 +03:00
23rd
832dd8d50c
Moved some photo editor files to separate directories.
2021-07-06 12:13:05 +03:00
23rd
e05343d721
Added sending info of stickered photos.
2021-07-06 12:13:05 +03:00
23rd
bc316a2536
Removed Storage::UploadedThumbDocument struct.
2021-07-06 12:13:05 +03:00
23rd
4d72d20398
Added ability to send modified images.
2021-07-06 12:13:04 +03:00
John Preston
01b4a24ac7
Save sticker path thumbnails to local storage.
2021-07-02 13:39:08 +03:00
John Preston
4124c2eb57
Show inline path thumbnails for stickers.
2021-07-02 13:13:48 +03:00
23rd
1c6e2eae04
Removed unused enum from local legacy storage settings scheme.
2021-06-16 09:31:32 +03:00
23rd
6d08542afa
Moved proxy global variables from facades to core settings.
2021-06-16 09:31:32 +03:00
23rd
707b36dc12
Moved DBIWorkMode to Core::Settings.
2021-06-16 09:31:32 +03:00
23rd
da3e140069
Moved DBINotifyView to Core::Settings.
2021-06-16 09:31:32 +03:00
23rd
5334372671
Moved WorkMode global variable from facades to core settings.
2021-06-16 09:31:32 +03:00
23rd
54dd63d61a
Removed LocalPasscode global variable from facades.
2021-06-16 09:31:32 +03:00
John Preston
b56749426b
Fix build on Clang/GCC.
2021-05-24 22:45:16 +04:00
John Preston
9510ba07f7
Drop old sticker set cover locations.
2021-05-24 22:45:15 +04:00
John Preston
197b3c1cb5
Push all QSaveFile-s to background thread.
2021-05-03 12:27:45 +04:00
John Preston
5bb73d8d3d
Move recent emoji and variants to common settings.
...
Fixes #16163 , fixes #4018 , partially fixes #10123 .
2021-04-26 10:51:10 +04:00
John Preston
286cb74620
Make WebLoadManager live on the main thread only.
2021-04-19 11:26:04 +04:00
John Preston
cf6dbfaf55
Fix a crash in case of corrupt local data.
2021-04-14 09:45:51 +04:00
23rd
07c65dfd74
Fixed song covers for voice chat records.
2021-04-12 10:48:17 +04:00
John Preston
1342077dcb
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
2021-04-09 15:05:00 +04:00
John Preston
e106bd143e
Add a warning once per bot on payment.
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
212497413c
Show some payment errors, focus fields.
2021-04-06 18:41:15 +04:00
Ilya Fedin
508762cd2c
Use static QFileInfo::exists
2021-03-15 11:21:05 +03:00
Ilya Fedin
c4dcf064d5
Avoid multiple .arg usage as suggested by clazy
2021-03-13 19:08:33 +03:00
Ilya Fedin
f25b2a2094
Apply autofixes from clazy
2021-03-13 15:25:47 +03:00
23rd
09966fb291
Removed Q_OBJECT from Storage::Uploader.
2021-03-13 12:59:11 +03:00
23rd
d4bb62d055
Slightly refactored uploading of edit media.
2021-03-13 12:59:11 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
John Preston
8142acc709
Remove legacy #feed code.
2021-02-25 17:03:51 +04:00
Ilya Fedin
bbf49b024a
Fix implicit conversions from QByteArray
2021-02-19 14:15:09 +04:00
John Preston
b3660f1ed8
Version 2.5.9: Move window position to Core::Settings.
2021-02-17 19:20:05 +04:00
John Preston
8500bf6073
Version 2.5.9: Fix reading settings from old apps.
2021-02-17 15:58:57 +04:00
John Preston
93a88b54ad
Fix sending images from clipboard.
...
Regression was introduced in ce1b94eb1
.
2021-02-17 10:46:36 +04:00
John Preston
ce1b94eb16
Send PDFs only as files.
...
Fixes #10294 .
2021-02-05 13:18:11 +04:00
Ilya Fedin
9c86755546
Take custom scale in account when saving window geometry
2021-01-31 12:38:41 +04:00
John Preston
8f0e23bb25
Improve editing messages with link previews.
...
Now preview state can be one of (allowed, cancelled, empty-in-edit).
In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.
That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
23rd
d4bbbdb65c
Replaced rand_value util function with openssl::RandomValue.
2021-01-24 10:41:10 +03:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
23rd
ad761011d6
Added ability to fetch song cover from external resource.
2021-01-22 16:53:59 +04:00
John Preston
a483eb98a1
Remove not-needed requests for file parts above real size.
2021-01-11 12:38:47 +04:00
John Preston
0dc0f588c4
Don't offer sending .pdf-s as photos.
2020-12-24 13:52:38 +04:00
John Preston
ed50aa0d8e
Fix build with Qt < 5.14.
2020-11-17 17:14:21 +03:00
John Preston
b3eb7858e6
Save local drafts in scheduled / replies sections.
...
Fix inline bot switch inline in scheduled / replies sections.
2020-11-17 12:58:07 +03:00
John Preston
02eea38724
Remove color space before sending in JPG.
2020-11-16 14:22:19 +03:00
John Preston
8a9317f9e1
Download video avatars as .mp4 in media viewer.
...
Fixes #9017 .
2020-11-09 15:05:36 +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
e4e1f7f5d6
Try creating base dir in FileWriteDescriptor.
2020-10-30 18:32:22 +03:00
John Preston
53c308c24b
Loop pinned messages in the top bar.
2020-10-30 18:32:21 +03:00
John Preston
fc92e3fadd
Add pinned messages section.
2020-10-30 18:32:20 +03:00
John Preston
a614ccad97
Correctly check media when editing files.
2020-10-30 18:32:19 +03:00
John Preston
012ebdd15e
Fix grouping of music files / just files.
2020-10-30 18:32:19 +03:00
John Preston
bb4fdde616
Fix sending many files with a comment.
2020-10-30 18:32:19 +03:00
John Preston
843fba61ee
Allow adding any amount of files in SendFilesBox.
2020-10-30 18:32:19 +03:00
John Preston
0539cc9448
Add a way to recreate SendFilesBox content.
2020-10-30 18:32:19 +03:00
John Preston
202534575b
Allow many previews in SendFilesBox.
2020-10-30 18:32:19 +03:00
John Preston
8d2fa313b7
Add setting for grouping files.
2020-10-30 18:32:19 +03:00
John Preston
c2f0bcf933
Keep first game sticker frames inside the binary.
2020-10-30 18:32:19 +03:00
John Preston
64ac6b18bf
Move SingleMediaPreview to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
8b96f4c214
Move Media::Clip::Reader and FileLocation to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
05eb549a3d
Move App::roundRect to Ui::FillRoundRect.
2020-10-30 18:32:18 +03:00
John Preston
b3b11bd9e7
Move PreparedFile/PreparedList to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
39cf51c066
Move SendButton/EmojiButton to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
cc28ba4284
Update API scheme to layer 120.
2020-10-30 18:32:17 +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
8634c1f7f3
Move lang keys to td_lang library.
2020-09-30 12:18:52 +03:00
John Preston
e8df47c926
Show send action animations in Replies thread.
2020-09-29 19:03:30 +03:00
John Preston
1a40f2b3ef
Fix userpics display for min-loaded users.
2020-09-29 19:03:26 +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
437c9320cd
Implement progressive jpeg loading and sending.
2020-09-29 19:03:18 +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
John Preston
aa87d627c9
Allow to choose camera device in Settings.
2020-08-21 17:52:13 +04:00
23rd
b71062561a
Added ability to drag'n'drop videos in SendFilesBox.
2020-08-11 18:13:09 +04:00
John Preston
fe639078a6
Version 2.2: Fix default-night mode.
2020-07-26 16:55:04 +04:00
John Preston
1a9c241b96
Update API scheme to layer 116.
2020-07-25 11:24:11 +04:00
John Preston
8c4e8212cd
Add 'respect system dark mode' checkbox.
2020-07-22 17:18:17 +04:00
23rd
4eaba39a7c
Added drag'n'drop area to EditCaptionBox.
2020-07-20 21:44:07 +03:00
23rd
5c097887ef
Added ability to edit media in scheduled messages.
2020-07-17 18:22:38 +03:00
23rd
6c89f60679
Added edit messages with uploaded file to api_editing.
2020-07-17 18:22:38 +03:00
John Preston
9463bbd266
Fix animated stickers with wrong dimensions.
2020-07-17 08:13:45 +04:00
John Preston
8aafe6ba0e
Show only box(512,512) .webp as stickers.
2020-07-15 22:31:42 +04:00
John Preston
2f5cb33bf2
Fix finalizing media in non-active account.
2020-07-14 19:02:27 +04:00
Sean Wei
556aa28df6
Remove unused variable
...
The following are commits related to removed variables.
apiwrap.cpp
e050e27
: kSaveDraftBeforeQuitTimeout
app.cpp
113f665
: serviceImageCacheSize
boxes/auto_download_box.cpp
a0c6104
: checked(Source source, Type type)
boxes/background_preview_box.cpp
b6edf45
: resultBytesPerPixel
fe21b5a
: ms
boxes/calendar_box.cpp
ae97704
: yearIndex, monthIndex
99bb093
: ms
boxes/connection_box.cpp
f794d8d
: ping
boxes/dictionaries_manager.cpp
8353867
: session
boxes/peer_list_box.cpp
2ce2a14
: grayedWidth
boxes/peers/add_participants_box.cpp
07e010d
: chat, channel
boxes/self_destruction_box.cpp
fe9f02e
: count
chat_helpers/emoji_suggestions_widget.cpp
a12bc60
: is(QLatin1String string)
chat_helpers/field_autocomplete.cpp
8c7a35c
: atwidth, hashwidth
chat_helpers/gifs_list_widget.cpp
ff65734
: inlineItems
3d846fc
: newSelected
d1687ab
: kSaveDraftBeforeQuitTimeout
chat_helpers/stickers_dice_pack.cpp
c83e297
: kZeroDiceDocumentId
chat_helpers/stickers_emoji_pack.cpp
d298953
: length
chat_helpers/stickers_list_widget.cpp
eb75859
: index, x
core/crash_reports.cpp
5940ae6
: LaunchedDateTimeStr, LaunchedBinaryName
data/data_changes.cpp
3c4e959:clearRealtime
data/data_cloud_file.cpp
4b354b0
: fromCloud, cacheTag
data/data_document_media.cpp
7db5359
: kMaxVideoFrameArea
data/data_messages.cpp
794e315
: wasCount
data/data_photo_media.cpp
e27d2bc
: index
data/data_wall_paper.cpp
b6edf45
: resultBytesPerPixel
data/data_types.cpp
aa8f62d
: kWebDocumentCacheTag, kStorageCacheMask
history/admin_log/history_admin_log_inner.cpp
794e315
: canDelete, canForward
history/history_location_manager.cpp
60f45ab
: kCoordPrecision
9f90d3a
: kMaxHttpRedirects
history/history_message.cpp
cedf8a6
: kPinnedMessageTextLimit
history/history_widget.cpp
b305924
: serviceColor
efa5fc4
: hasForward
5e7aa4f
: kTabbedSelectorToggleTooltipTimeoutMs, kTabbedSelectorToggleTooltipCount
history/view/history_view_context_menu.cpp
fe1a90b
: isVideoLink, isVoiceLink, isAudioLink
settings.cpp
e2f54eb
: defaultRecent
settings/settings_folders.cpp
e8bf5bb
: kRefreshSuggestedTimeout
ui/filter_icon_panel.cpp
c4a0bc1
: kDelayedHideTimeoutMs
window/themes/window_theme_preview.cpp
ef927c8
: mutedCounter
-----
Modified variables
boxes/stickers_box.cpp
554eb3a
: _rows[pressedIndex] -> set
data/data_notify_settings.cpp
734c410
: muteForSeconds -> muteUntil
history/view/history_view_list_widget.cpp
07528be
: _items[index] -> view
e5f3bed
: fromState, tillState
history/history.cpp
cd3c1c6
: kStatusShowClientsideRecordVideo -> kStatusShowClientsideRecordVoice
storage/download_manager_mtproto.cpp
ae8fb14
: _queues[dcId] -> queue
storage/localstorage.cpp
357caf8
: MTP::Environment::Production -> production
2020-07-13 09:33:55 +04:00
John Preston
2df5972f68
Raise file size limit to 2000 MB.
2020-07-08 10:07:01 +04:00
John Preston
432ce4caa4
Fix crash in migration with corrupted settings.
2020-07-01 14:16:36 +04:00
John Preston
eb1845e33b
Fix crash in session destruction.
...
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00
John Preston
1a69627102
Fix crash in reading saved peers.
2020-07-01 00:41:21 +04:00
Nicholas Guriev
3c0694280f
Fix -Wredundant-move
2020-07-01 00:17:05 +04:00
John Preston
dfc1712043
Fix loading locally stored self data.
2020-06-30 11:16:47 +04:00