John Preston
02ad5f2772
Update API scheme and start invite links.
2021-01-25 16:47:40 +04:00
John Preston
b396244606
Update API scheme to layer 123.
2021-01-25 16:47:40 +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
John Preston
d16bc36bae
Update API scheme.
2020-12-22 22:39:30 +04:00
John Preston
92bc278052
Allow inviting contacts to voice chats.
2020-12-22 12:33:06 +04:00
John Preston
b6483cb65c
Use shared_ptr<Memento> for sections.
2020-12-14 18:48:10 +04:00
23rd
c8643aa1ee
Wrapped raw SectionMemento with unique_ptr.
2020-12-14 17:09:24 +04:00
John Preston
e523687328
Show bar waves from any member-s level.
2020-12-09 13:08:36 +04:00
John Preston
b1ed15447b
Scroll to bottom when sending a poll.
2020-11-19 17:01:50 +03:00
John Preston
00504b61cd
Allow all messages silent in support mode.
2020-11-19 16:23:57 +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
74d2313784
Build Linux version with Qt 5.15.1 in CentOS 7 docker.
2020-11-06 11:21:34 +03:00
John Preston
f2867df340
Fix sending of album with videos.
...
Fixes #8960 .
2020-11-02 11:50:14 +03:00
John Preston
cd5cad72bd
Use only shared media code for pinned tracking.
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
85d08c8f52
Send files grouped in albums, show captions.
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
8d2fa313b7
Add setting for grouping files.
2020-10-30 18:32:19 +03:00
John Preston
b3b11bd9e7
Move PreparedFile/PreparedList to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
ae298818a8
Implement message bar with animations.
2020-10-30 18:32:17 +03:00
John Preston
cc28ba4284
Update API scheme to layer 120.
2020-10-30 18:32:17 +03:00
23rd
1459e6f38e
Moved request for attached stickers to separate file.
2020-10-30 13:18:40 +03:00
23rd
6ac5f32796
Moved other authorizations api request to separated file.
2020-09-30 18:48:34 +03:00
John Preston
891b4a91a3
Generate correct links to replies section.
2020-09-29 19:03:28 +03:00
John Preston
01ab6e6d4d
Support anonymous group admins.
2020-09-29 19:03:24 +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
55edb3bdfe
Update API scheme to layer 119. Count replies.
2020-09-29 19:03:18 +03:00
John Preston
49c230b898
Update API scheme to layer 118.
2020-09-29 19:03:18 +03:00
23rd
8a34f29329
Moved toggling of existing media to separate file.
2020-08-19 14:47:25 +03:00
John Preston
4bf6550e24
Update API scheme to layer 117.
2020-08-11 18:21:40 +04:00
John Preston
3aea9cb3ca
Add archive and mute settings editing.
2020-07-25 11:24:37 +04:00
John Preston
1a9c241b96
Update API scheme to layer 116.
2020-07-25 11:24:11 +04:00
John Preston
638d4d63c5
Update API scheme to layer 115.
2020-07-25 11:24:11 +04:00
John Preston
d4feb16378
Don't mark as read when scheduling messages.
2020-07-23 17:46:52 +04:00
23rd
2ebf44c166
Removed unused code from apiwrap.
2020-07-17 18:22:38 +03:00
23rd
c350e33dd8
Moved preparing MTPInputMedia to separate file.
2020-07-17 18:22:37 +03:00
John Preston
900f7e1304
Try recursive lambda without make_shared.
2020-07-14 19:02:45 +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
e7b8a52278
Move terms lock from Core::App to Session.
2020-06-24 11:56:16 +04:00
John Preston
30c82bb2e0
Remove some MainWindow::sessionController() calls.
2020-06-23 21:53:44 +04:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
John Preston
2635ca33f8
Move background to global settings.
2020-06-23 21:53:42 +04:00
John Preston
997913be25
One Window::Notifications system for all sessions.
2020-06-23 21:53:42 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04:00
John Preston
4d6cc58f0d
Move session settings to main_session_settings.
2020-06-23 21:53:42 +04:00
John Preston
3a5ede534e
Count all accounts in Core::App().unreadBadge.
2020-06-23 21:53:41 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
f450f81215
Remove non-UI calls to App::main.
2020-06-23 21:53:40 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
0b028b959b
Move updates handling MainWidget -> Api::Updates.
2020-06-23 21:53:39 +04:00
John Preston
ee43027bea
Remove some usages of App::main().
2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
John Preston
fc174f742a
Move stickers code to Data::Stickers class.
2020-06-23 21:53:38 +04:00
John Preston
3878a1b212
Remove some more Auth() calls.
2020-06-23 21:53:38 +04:00
John Preston
bdbcd8e540
Use Main::Session in entities parsing.
2020-06-08 12:05:17 +04:00
John Preston
a586b18dfb
Fix pending web pages applying.
...
Fixes #7091 .
2020-06-05 13:03:45 +04:00
John Preston
f4cd84c313
Fix crash in stickers.
2020-06-01 18:09:34 +04:00
John Preston
ae9ed820ee
Fix sticker set icons display.
2020-06-01 18:09:33 +04:00
John Preston
803593cd8d
Change Stickers::Set from value to object type.
2020-06-01 18:09:33 +04:00
23rd
41255cab44
Removed display views and author for sent scheduled messages.
...
Moved filling of post flags to a single place.
2020-05-20 12:41:44 +04:00
23rd
97446ae783
Added ability to reschedule scheduled messages.
2020-05-20 12:41:44 +04:00
John Preston
44e71dfa03
Allow hiding PSA from the chats list.
2020-04-30 11:35:01 +04:00
John Preston
266c1531ce
Display PSA label instead of the proxy sponsor.
2020-04-30 11:35:01 +04:00
John Preston
8d632bd2be
Update API scheme to layer 103.
2020-04-30 11:35:01 +04:00
John Preston
13d22947df
Send poll solution with entities.
2020-04-21 18:55:34 +04:00
John Preston
3e2f4bed50
Update scheme to layer 102.
...
Support different dice-like media.
2020-04-21 18:55:34 +04:00
John Preston
c3b807d483
Load folders exceptions after 100 chats.
2020-03-27 20:36:06 +04:00
John Preston
d5b8fc703e
Fix Ctrl+[1-5] jump to pinned in folders.
2020-03-27 20:36:05 +04:00
John Preston
dc49f7e6dc
Load all archive after the main list for filters.
2020-03-27 20:36:03 +04:00
John Preston
e27a8fe058
Support pinned locally in filters.
2020-03-27 20:36:03 +04:00
John Preston
f8cc134bd6
Send dice emoji as Dice media.
2020-03-27 20:36:02 +04:00
John Preston
1492571232
Fix members dropdown and mention autocomplete.
...
Fixes #7345 .
2020-03-13 23:14:23 +04:00
John Preston
6f672ecdc3
Request history parts through Histories.
2020-02-21 18:48:30 +04:00
John Preston
818f5cd004
Send and delete messages through Histories.
2020-02-21 18:48:30 +04:00
John Preston
db322cc19a
Move requestDialogEntry to Histories.
2020-02-21 18:48:30 +04:00
John Preston
388173f0ad
Fix delete+leave from a legacy group.
...
We first need to leave and receive a new message update about
us leaving the group and only after that remove the conversation
locally from the chats list, otherwise it reappears in the list.
2020-02-21 18:48:29 +04:00
John Preston
c8d2ac9583
Move message ownership to History.
2020-02-21 18:48:29 +04:00
John Preston
5b7f7ed70e
Fix reading of currently opened chat.
2020-02-21 18:48:29 +04:00
John Preston
9cccea9a87
All read history done through Data::Histories.
2020-02-21 18:48:29 +04:00
John Preston
b0e1ae3948
Prepare Data::Histories for requests interdependencies.
2020-02-21 18:48:29 +04:00
John Preston
70408f0e22
First version of reading-while-scrolling.
2020-02-21 18:48:29 +04:00
23rd
e7fbcce9d9
Added handler for SCHEDULE_STATUS_PRIVATE error when send file.
2020-01-28 11:20:36 +03:00
23rd
03d96a32f2
Fixed scheduled sending files until online when user is online.
2020-01-28 11:20:36 +03:00
John Preston
f700220ec1
Create polls with different settings.
2020-01-23 10:09:33 +03:00
John Preston
2981a16e17
Allow sending multiple votes in a poll.
2020-01-23 10:09:33 +03:00
John Preston
d57905c2b3
Update API scheme to layer 109.
2020-01-23 10:09:33 +03:00
John Preston
431b7445c3
Allow editing sensitive content filtering.
2019-12-09 15:59:08 +03:00
John Preston
ee94e78533
All mtproto downloads using DownloadMtprotoTask.
2019-12-05 11:32:33 +03:00
John Preston
4611727ab9
Rewrite webFileLoader without Storage::DownloadManager.
2019-12-04 15:15:58 +03:00
John Preston
e943264823
Pass MTP::Instance to MTP::Sender.
2019-11-29 15:36:05 +03:00
John Preston
08bfe6f1c1
Extract mtproto key generation code.
2019-11-15 16:16:32 +03:00
John Preston
30a1bd7ba2
Use base::call_delayed.
2019-10-19 12:27:56 +04:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
849deb57e2
Move many widget classes 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
9ff1fbcf47
Support theme document file origins.
2019-09-09 11:51:07 +03:00
John Preston
51c1dc20e1
Unregister randomId if send message fails.
2019-09-09 11:13:41 +03:00
John Preston
ac8f924909
Show tdesktop cloud themes in a box.
2019-09-06 19:31:06 +03:00
John Preston
470b67f557
Refresh file reference from scheduled messages.
2019-08-30 15:42:01 +03:00
John Preston
405ccb8580
Add editing of AddedByPhone privacy.
2019-08-29 11:44:03 +03:00
John Preston
03cdddfe18
Allow sending scheduled messages.
2019-08-27 19:10:37 +03:00
John Preston
caef7dde24
Bundle silent and scheduled to Api::SendOptions.
2019-08-27 19:10:37 +03:00
John Preston
549789bfb7
Update API scheme to layer 105.
2019-08-27 19:10:37 +03:00
John Preston
e1fe373504
Fix localtime-related slowmode errors.
2019-08-20 12:42:37 +03:00
John Preston
02b65a42f7
Move message client flags to a separate field.
2019-08-09 20:19:23 +01:00
John Preston
4bad642190
Remove some more Auth() calls.
2019-08-09 11:50:49 +01:00
John Preston
3f2cc01f48
Allow sending silent messages.
2019-07-27 17:19:04 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
06982fdf04
Remove some calls to Auth().
2019-07-24 13:13:51 +02:00
John Preston
db2018c765
Fix owner badges in groups.
2019-07-24 08:37:10 +02:00
John Preston
f36e2981ca
Display custom admin ranks in messages.
2019-07-24 08:02:20 +02:00
John Preston
873b77cf40
Use UserData::isBot where applicable.
2019-07-24 08:02:20 +02:00
John Preston
c50ade565a
Track sending and failed messages.
2019-07-24 08:02:20 +02:00
John Preston
0005e0a3ce
Track local messages, restore on history jump.
2019-07-24 08:02:20 +02:00
John Preston
04bf24288a
Show slowmode error messages.
2019-07-24 08:02:20 +02:00
John Preston
328b090877
Save slowmode settings in groups.
2019-07-24 08:02:20 +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
23rd
da6baeb1a7
Added notifier of archiving pinned dialog to update touchbar.
2019-07-04 16:27:33 +02:00
John Preston
9d09cee1cc
Unblock bots without restarting from Settings.
2019-07-04 16:26:53 +02:00
John Preston
8f3f898c47
Show animated stickers in StickerSetBox.
2019-07-01 17:57:32 +02:00
23rd
dcba07b9b7
Added sticker picker to touchbar.
2019-06-22 22:13:06 +02:00
John Preston
7d585ab72f
Handle located groups as public.
2019-06-21 14:27:46 +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
d23fd3559a
Refresh participants after transfer.
2019-06-21 11:06:47 +02:00
John Preston
5e3734d7bf
ReportSpamPanel -> HistoryView::ContactStatus.
2019-06-21 11:06:45 +02:00
John Preston
30dea3a2e7
Use isConstant bool instead of ContactStatus enum.
2019-06-21 11:06:45 +02:00
John Preston
d9e93fb5cc
Fix possible crash in auth session destruction.
2019-06-17 14:23:50 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
a27a80351a
Fix clearing history with local messages.
2019-06-05 18:15:49 +03:00
23rd
c90e803f1b
Added handler of logout to touchbar.
2019-05-27 15:35:02 +02:00
John Preston
371f1a51c3
Preload blocked users slice in Settings.
2019-05-27 15:09:47 +02:00
John Preston
8660f976a9
Add phone number privacy.
...
Also move calls peer-to-peer privacy inside calls privacy.
2019-05-27 15:09:15 +02:00
John Preston
6b80ff4bcc
Support groups in privacy settings.
2019-05-27 15:09:12 +02:00
John Preston
c4aac5fa0e
Update API scheme to layer 100.
2019-05-27 15:09:06 +02:00
John Preston
0247e876df
Remove locally saved empty histories.
2019-05-03 15:18:18 +04:00
John Preston
4e8c57a861
Fix assertion violation in marking history as read.
2019-05-01 16:43:19 +04:00
John Preston
db35c3de3b
Fix block chat list loading by date.
2019-05-01 16:11:45 +04:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
6dd8f32f66
Fix build on Xcode.
2019-05-01 16:11:39 +04:00
John Preston
9ff02707bf
Improve archive chat list entry layout.
2019-05-01 16:11:38 +04:00
John Preston
2d1dcb36cb
Use folder_id / still_unread_count from updates.
2019-05-01 16:11:38 +04:00
John Preston
8fd811517b
Count unread correctly in folders.
2019-05-01 16:11:37 +04:00
John Preston
58519300ea
Support pinned chats in folders.
2019-05-01 16:11:37 +04:00
John Preston
518ff146b2
Don't allow reordering of the archive.
2019-05-01 16:11:36 +04:00
John Preston
854870683b
Add ability to archive/unarchive the chats.
2019-05-01 16:11:35 +04:00
John Preston
c58f097535
Correctly move histories between chat lists.
2019-05-01 16:11:35 +04:00
John Preston
0367319934
Load folder dialogs list.
2019-05-01 16:11:35 +04:00
John Preston
305a611211
Load dialogs list in ApiWrap and Data::Session.
2019-05-01 16:11:34 +04:00
John Preston
76c3e9a529
Display title and userpic of archived chats.
2019-05-01 16:11:14 +04: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
2518250ae0
Fix wronly marking channel as forbidden.
...
Regression was introduced in 826d6011a1
.
Fixes #5923 .
2019-04-13 10:34:35 +04:00
John Preston
826d6011a1
Mask channel as forbidden on CHANNEL_PRIVATE error.
...
Fixes #5902 .
2019-04-09 17:19:43 +04:00
23rd
fb847135b5
Added ability to edit GIFs.
...
- Added to Media::Clip::MakeReader new constructor to create
animated preview with remoteContent.
2019-04-09 17:17:31 +04:00
John Preston
fb244c00b9
Fix local history clearing.
2019-04-08 13:16:45 +04:00
John Preston
5deee18247
Use channels.exportMessageLink to check links.
2019-04-05 15:50:16 +04:00
23rd
a6d0fa433e
Refactored variables for edit media in HistoryItem.
...
- Replaced _isLocalUpdateMedia with client flag.
- Removed _isEditingMedia.
2019-04-04 13:23:14 +03:00
23rd
48362cd4bc
Added more appropriate phrase for invalid files in edit media.
2019-04-03 20:08:27 +03:00
23rd
bd653dfdff
Refactored ApiWrap.
...
- Joined editUploadedPhoto with editUploadedDocument.
2019-04-03 20:00:12 +03:00
23rd
84858b8940
Added MEDIA_NEW_INVALID error handler. Disabled edit media with webp.
2019-04-02 20:28:54 +03:00
23rd
5d8888bb8b
Refactored code.
...
- Refactored passing message id to edit media.
- Removed get/setEditMedia from mainwidget.
- Combined onEditMedia and onSendFileConfirm in single method.
- Added argument in FileLoadTask to pass message id to edit media.
- Renamed flags in apiwrap.
- Added check for allowing edit media when use clipboard.
- Removed unused fileIsValidForAlbum.
- Removed LOGs.
- Replaced _isNotAlbum with _isAlbum.
- Removed _viaRemoteContent.
- Removed _newMediaPath.
- Added empty() to MessageGroupId.
2019-04-02 18:14:12 +04:00
23rd
145dda843e
Added initial local reference for edited media.
2019-04-02 18:14:12 +04:00
23rd
be2b2cbf7e
Refactored ApiWrap::editMedia.
...
- Slightly refactored checkEntitiesAndViewsUpdate.
- Slightly refactored HistoryMessage.
2019-04-02 18:14:12 +04:00
23rd
0e4d85a5e5
Added handler for MESSAGE_NOT_MODIFIED error when edit media.
2019-04-02 18:14:12 +04:00
23rd
741501d1d9
Removed sending gif attributes when edit media.
...
- Removed handling gif for render animated preview.
2019-04-02 18:14:12 +04:00
23rd
1ed83cf193
Fixed subscribeToUploader.
2019-04-02 18:14:12 +04:00
23rd
be58e23775
Init edit media.
2019-04-02 18:14:11 +04:00
John Preston
95023ca770
Use StorageFileLocation in streaming loader.
2019-03-29 14:24:07 +04:00
John Preston
aa8f62da9d
Support new ('modern') API file locations.
2019-03-29 14:24:07 +04:00
John Preston
9ec3d24fec
Send ImageSize instead of Video for image/gif.
2019-03-26 17:40:40 +04:00
John Preston
bb2e683dea
Fix leaving channels and supergroups.
...
Fixes #5838 .
2019-03-25 15:52:30 +04:00
John Preston
eb1825defd
Add revoking of full history.
2019-03-24 12:12:44 +04:00
John Preston
dd8c526fb7
Prepare code for revoking of full history.
2019-03-24 12:12:43 +04:00
John Preston
81862215b4
Add forwards and profile photo privacy settings.
2019-03-24 12:12:42 +04:00
John Preston
a34e998c42
Handle fwd_from without a link to the account.
2019-03-24 12:12:42 +04:00
John Preston
13a9b967e9
Use user phrases for support accounts.
2019-03-12 14:38:59 +04:00
John Preston
01d763eed1
Use DocumentData::getDuration for all types.
2019-03-11 12:08:15 +04:00
23rd
f48d8538c0
Added ability to see attached stickers on photos.
2019-03-10 22:10:36 +04:00
23rd
bfc9e43eb4
Added a handler for "MESSAGE_EMPTY" error to delete a local message.
...
- Added a determination of the zero-width-space as the space.
- Fixes #3145 .
2019-03-10 10:26:40 +04:00
23rd
c2ad765424
Fixed extra space in a name of the post author after forwarding message.
2019-03-09 13:41:39 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
23rd
193e454fd4
Fixed sending polls as reply to other messages.
...
Fixes #5550 .
2019-02-17 15:55:44 +04:00
John Preston
95565c39ed
Upload wallpapers to the cloud.
2019-02-08 19:20:08 +03:00
John Preston
f506a5ea6c
Save wallpaper settings locally.
2019-01-29 14:52:33 +03:00
John Preston
a1baa23a52
Use both thumbnails in photos and documents.
...
Fixes #5602 .
2019-01-28 13:10:45 +03:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +04:00
John Preston
7df5df6351
Improve phrases for removed users.
2019-01-21 10:26:19 +04:00
John Preston
61b9a32504
Add 'Contact joined' notifications setting.
2019-01-18 16:41:08 +04:00
John Preston
1894b8fcf7
Handle t.me/bg links with wallpapers / colors.
2019-01-18 16:41:07 +04:00
John Preston
e59a68cd68
Refresh wallpaper file references.
2019-01-17 12:21:31 +04:00
John Preston
287b3509ab
Optimize getPeerDialog requests.
2019-01-17 12:21:31 +04:00
John Preston
2a0b9a44dd
Remove supergroup migrate messages.
2019-01-17 12:21:31 +04:00
John Preston
9728ddeaf9
Handle migration to supergroups in boxes.
2019-01-17 12:21:30 +04:00
John Preston
3c44bdb6b7
Support auto-migrate to supergroups.
2019-01-17 12:21:30 +04:00
John Preston
67d12fa6d2
Improve update handling for legacy chats.
2019-01-17 12:21:30 +04:00
John Preston
dba9ca2084
Replace TLHelp helpers with .match()
2019-01-17 12:21:30 +04:00
John Preston
a605c110a8
Support legacy groups in participant boxes.
2019-01-17 12:21:29 +04:00
John Preston
18c6be0d3b
Unify legacy and megagroups information edit.
2019-01-17 12:21:29 +04:00
John Preston
eff90395b6
Add EditPeerPermissionsBox.
2019-01-17 12:21:29 +04:00
John Preston
61419b57c8
Prepare legacy group restrictions checking.
2019-01-17 12:21:29 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
d2d6b319b6
Update API scheme to layer 93. Broken.
2019-01-17 12:21:28 +04:00
John Preston
1f8626b383
Move App::histories to Data::Session.
2019-01-17 12:21:28 +04:00
John Preston
4002739682
Suggest adding bots to channels as admins.
2018-12-28 15:42:58 +04:00
John Preston
b00ca217b3
Don't autoread mentions with voice/video messages.
...
Voice/video message unread flag is the same that mention unread flag.
If we mark such mentions as read together with all others we mark
media as watched/listened instantly when they appear on the screen.
So now we mark as read only simple mentions, without "unread" media.
2018-12-26 14:30:55 +04:00
John Preston
7b5e5c2587
Move caption to the next album item on cancel.
...
After #4869 albums are sent with captions in the first media.
In case we cancel the first media leaving the rest of the album
the caption will be lost unless we move it to the new "first" media.
2018-12-26 11:24:12 +04:00
John Preston
096c310e0e
Display consistent caption/comment placeholder.
...
After latest PRs regarding sticker sending with comment (#5500 )
and album sending with caption (#4869 ) the input field placeholder
in SendFilesBox was inconsistent with the sending behaviour. Fix it.
2018-12-26 10:53:21 +04:00
John Preston
6f176803d4
Reload poll data each 30 seconds without update.
2018-12-24 21:03:53 +04:00
23rd
c7c1deab81
Add caption to first item of album istead of sending separated message.
2018-12-24 17:12:18 +04:00
23rd
d1a9f1feac
Fixed caption when sending single WEBP as file.
2018-12-23 00:27:36 +04:00
John Preston
93c8e9aa1f
Add poll vote sending animation.
2018-12-22 23:32:04 +04:00
John Preston
b6f7832745
Add create poll box from groups three-dot menu.
2018-12-22 10:29:03 +04:00
John Preston
74c1db740d
Implement polls voting and actions.
2018-12-21 17:09:33 +04:00
John Preston
6d08394adc
Divide history_media_types to several modules.
2018-12-21 17:09:31 +04:00
John Preston
47bdeeef9a
Poll data and updates handling added.
2018-12-21 17:09:31 +04:00
John Preston
099440d008
Add test poll sending code.
2018-12-21 17:09:30 +04:00
John Preston
eb7201a55b
Strictly match message / media types.
2018-12-21 17:09:30 +04:00
John Preston
61add763ae
Restart instead of Unblock for bots.
2018-12-04 15:46:07 +04:00
John Preston
59ecf375b0
Move tg:// handlers to a separate module.
...
Also move joinGroupByHash and stickerSetBox from MainWidget.
2018-11-26 17:31:13 +04:00
John Preston
9a8ab84ecb
Add edit / view of user information for support.
2018-11-20 19:50:36 +04:00
John Preston
4960e08a24
Display occupied chats using drafts for support.
2018-11-20 19:38:39 +04:00
John Preston
be3e43e6cb
Confirm 2sv recovery email by code.
2018-11-20 19:38:39 +04:00
John Preston
8d27d8efcf
Use cloud-based settings for p2p in calls.
2018-11-16 20:17:58 +04:00
John Preston
36b702702b
Support [inputN|n]otifyBroadcasts setting.
2018-11-16 20:17:58 +04:00
John Preston
75db59a8bb
Fix user and chat flags handling.
2018-11-16 20:17:58 +04:00
John Preston
78da810114
Extend pinned messages support.
...
Support them in saved messages and normal groups.
2018-11-16 20:17:58 +04:00
John Preston
ef38572d5a
Detect and send supports_streaming bit for videos.
2018-11-07 18:10:00 +04:00
John Preston
e482f041a8
Allow disabling even system proxy settings.
...
Fixes #4944 .
2018-11-05 18:52:01 +04:00
John Preston
b847c8424a
Use single emoji sprite and scale + cache it.
2018-10-15 09:03:29 +03:00
John Preston
631e51a493
Hashtag search results as dialogs (support).
2018-10-09 19:27:18 +03:00
John Preston
be6e329e94
Don't switch chats on ctrl+shift+send (support).
2018-10-09 19:27:18 +03:00
John Preston
a70613d929
Fix client side generated changelogs display.
...
Also use message date if available in MediaView.
2018-09-27 23:31:48 +03:00
John Preston
a7772b922c
Improve sticker file reference refreshing.
2018-09-26 21:23:08 +03:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
fe9f02e485
Improve self-destruct setting edit.
2018-09-19 19:22:14 +03:00
John Preston
a5f407a458
Closed beta version 1.3.16.1: Fix build for Xcode.
2018-09-19 19:22:14 +03:00
John Preston
0c8709ca5f
Replace App::self() with Auth().user().
...
Always have self Auth().user() when AuthSession exists.
2018-09-19 19:22:13 +03:00
John Preston
12ebae01b0
Show current privacy values in settings section.
2018-09-19 19:22:13 +03:00
John Preston
bbe6d2d13b
Implement information settings section.
2018-09-19 19:22:13 +03:00
John Preston
633ff4b60e
Implement privacy and security settings section.
2018-09-19 19:22:13 +03:00
John Preston
8c1cc51c2e
Move peer photo update from Messenger to ApiWrap.
2018-09-19 19:22:13 +03:00
John Preston
e2207e33ef
Add FAQ and support buttons to settings.
2018-09-19 19:22:13 +03:00