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
7de9bcad03
Added ability to open contacts with shortcut.
...
Fixed #8775 .
2020-10-23 13:31:24 +03:00
23rd
5968219fe4
Added ability to mark as read selected chat with shortcut.
2020-09-29 19:03:29 +03:00
John Preston
4a94a0c438
Show replies dialog correctly.
2020-09-29 19:03:24 +03: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
7d0eb3ba8e
Fix crash in MainWidget setup with audio player.
2020-06-30 19:05:12 +04:00
23rd
0696a2d5c0
Replaced mapping to rpl::empty_value with rpl::to_empty.
2020-06-23 21:53:43 +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
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
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
f066e0f05a
Use Data::CloudImage for userpics.
2020-06-01 18:09:33 +04:00
John Preston
cb5863177f
Apply edition updates to search result previews.
2020-05-12 20:29:18 +04:00
John Preston
69d3414594
Improve empty chat list layout.
2020-03-31 12:36:33 +04:00
John Preston
c2ff27793a
Try to use Ctrl+1..Ctrl+8 for folders.
2020-03-30 23:34:07 +04:00
John Preston
0b13ee7f7d
Scroll-by-drag in folders when reordering pinned.
...
Fixes #7459 .
2020-03-29 12:57:59 +04:00
23rd
df290605f4
Added ability to switch between folders with shortcuts.
2020-03-29 02:04:20 +03:00
23rd
09bc3eefdb
Added ability to open folders with shortcuts.
2020-03-28 18:20:13 +03:00
John Preston
c5b8ddabac
Scroll to top of the filter on second click.
2020-03-27 20:36:06 +04:00
John Preston
fe73251d8e
Add edit filter link to empty dialogs list.
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
ab16e8e083
Improve archive <-> filter navigation.
2020-03-27 20:36:04 +04:00
John Preston
ad8b0387f3
Improve phrases for loading / empty filters.
2020-03-27 20:36:03 +04:00
John Preston
4881981cf6
Enable / disable side bar based on filters.
2020-03-27 20:36:03 +04:00
John Preston
55900bbd3d
Save pinned chats in filters to server.
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
38a744fe5b
Count unread messages in Dialogs::MainList.
2020-03-27 20:36:02 +04:00
John Preston
ca3419ef24
Make filtered lists independent from folders.
2020-03-27 20:36:02 +04:00
John Preston
d4b9b65724
First version of the filters side bar.
2020-03-27 20:36:01 +04:00
John Preston
11d31ffc84
Parse and apply cloud filters.
2020-03-27 20:36:01 +04:00
John Preston
2f1ee6f1fa
Show two hardcoded filters in Ui.
2020-03-27 20:36:01 +04:00
John Preston
71f7aae948
Replace dialogs mode with filters.
2020-03-27 20:36:01 +04:00
John Preston
db322cc19a
Move requestDialogEntry to Histories.
2020-02-21 18:48:30 +04:00
Anton Afanasyev
00e601296c
Fix as suggested
...
Co-Authored-By: 23rd <23rd@vivaldi.net>
2020-01-17 13:00:12 +03:00
Anton Afanasyev
3bc58fb690
Add Ctrl+9 shortcut to show archive.
2020-01-17 13:00:12 +03:00
John Preston
12f5ccaaa5
Use vector queues in mtproto file downloader.
2019-12-03 10:25:27 +03:00
Jiachen YANG
56aab1aa07
explicitly specify the upper bound in ranges::view::ints
2019-10-02 11:52:55 +03:00
John Preston
c057f28425
Move standard buttons to lib_ui.
2019-10-01 23:59:46 +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
e2c1c4c8de
Fix jump to first chat with archive.
2019-08-27 19:10:37 +03:00
John Preston
02b65a42f7
Move message client flags to a separate field.
2019-08-09 20:19:23 +01:00
John Preston
10e28913ca
Search single messages by message link.
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
352839337d
Add SCAM badge for users and channels.
2019-06-23 14:18:33 +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
87cb0ada98
Allow skipping archive results in messages search.
2019-06-21 11:06:48 +02:00
John Preston
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
e9677779b8
Show phone number only in the chat top bar.
2019-06-21 11:06:46 +02:00
John Preston
d0b86e1229
Optimize online dots + add animations.
2019-06-17 18:13:05 +02:00
John Preston
61c66994a2
Optimize online dot painting.
2019-06-17 16:33:28 +02:00
23rd
734ecc070b
Refactored skipping of rows in Dialogs::InnerWidget.
2019-06-17 15:30:46 +02:00
23rd
ece315f3c5
Added ability to move archive in main menu.
...
- Added Folder::paintUserpic overload for custom color.
- Reduced size of _cloudButton.
2019-06-17 15:30:46 +02:00
23rd
d9426413dd
Added online badges to chats list.
2019-06-17 14:36:14 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
0fe0311b45
Fix chats list accidental scrolling.
2019-05-08 23:48:04 +03:00
John Preston
8bfef7d873
Improve collapsed rows in small chats list.
2019-05-03 17:02:00 +04:00
John Preston
0247e876df
Remove locally saved empty histories.
2019-05-03 15:18:18 +04:00
John Preston
4356b1c193
Allow collapsing archive in the chats list.
2019-05-03 15:08:53 +04:00
John Preston
d9ad3a4bbe
Jump to chats list top on folder change.
2019-05-01 16:11:47 +04:00
John Preston
aede79640d
Ctrl+1..5 always activate pinned from main chats list.
2019-05-01 16:11:47 +04:00
John Preston
4dae89310d
In archive allow scroll-down-by-pinned-drag.
2019-05-01 16:11:46 +04:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
430a3c2cec
Fix important switch hiding in folders.
2019-05-01 16:11:41 +04:00
John Preston
52b9212625
Display top bar in archive.
2019-05-01 16:11:40 +04:00
John Preston
f56df0e1d9
Show folder using slide animation.
2019-05-01 16:11:39 +04:00
John Preston
3dd2a6bb5b
Update archive row on chat list name change.
2019-05-01 16:11:39 +04:00
John Preston
01d5589594
Add archived results in chats search.
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
607655941d
Improve Ui::Menu interface.
2019-05-01 16:11:37 +04:00
John Preston
9acdc4eac1
Show folder bar on top when folder is opened.
2019-05-01 16:11:36 +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
927735dff2
Start showing folder chats list.
2019-05-01 16:11:34 +04:00
John Preston
0c0d6bc411
Move chats / contacts lists to Data::Session.
2019-05-01 16:11:33 +04:00
John Preston
2862070348
Use vector instead of custom linked list.
2019-05-01 16:11:20 +04:00
John Preston
58d86af399
Remove SplittedWidget paint optimization.
...
It doesn't work with dialogs-to-top button anyway.
2019-05-01 16:11:16 +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
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
a6e96f9a28
Use new animations engine in all Basic-s.
2019-04-02 14:33:53 +04:00
23rd
6fe736c9fc
Added Shortcut to jump to the Saved Messages.
2019-03-12 13:03:23 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
918d58ef0a
Better check unique results in support mode.
2019-02-01 09:53:15 +03:00
John Preston
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +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
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
1f8626b383
Move App::histories to Data::Session.
2019-01-17 12:21:28 +04:00
John Preston
2cd3cec478
Go through open history in support mode.
2019-01-11 17:30:00 +04:00
John Preston
c11b977f1d
Fix lagging chat list update in support.
2019-01-11 17:30:00 +04:00
John Preston
30e8f17b37
[all] / [one from chat] in support search results.
2019-01-11 17:30:00 +04:00
John Preston
ea7796dccc
Ctrl+[1-5] jump to the relevant pinned chat.
2019-01-11 17:30:00 +04:00
John Preston
a11ca58f36
Fix Ctrl+Insert in hashtag search results.
2019-01-11 17:30:00 +04:00
John Preston
496d711684
Improve support shortcuts handling.
2019-01-11 17:30:00 +04:00
John Preston
219b824338
Refresh filtered results on more dialogs.
2019-01-11 17:30:00 +04:00
John Preston
e5536880fb
Improve mouse/keyboard selection interactions.
...
Fixes #5458 .
2018-12-25 16:41:40 +04:00
John Preston
eb7201a55b
Strictly match message / media types.
2018-12-21 17:09:30 +04:00
John Preston
0f67f75bed
Version 1.5.2: Fix unread mentions in workmode.
2018-12-13 16:31:03 +04:00
John Preston
edadc51e05
Fix possible crash in dialogs saved peers.
2018-12-05 12:30:05 +04:00
John Preston
0b619e50ba
HistoryHider moved to Window namespace.
2018-11-28 15:48:35 +04:00
John Preston
90c1c21646
Fix switching between hashtag results.
2018-11-21 10:43:49 +04:00
John Preston
9a8ab84ecb
Add edit / view of user information for support.
2018-11-20 19:50:36 +04:00
John Preston
7ca821f38c
Leave chats search query in support mode.
2018-11-20 19:50:36 +04:00
John Preston
163ee73719
Fix switch to prev/next in Support.
2018-11-20 19:38:40 +04:00
John Preston
479a6d9ad2
Add some more shortcuts for Support.
2018-11-20 19:38:40 +04:00
John Preston
4960e08a24
Display occupied chats using drafts for support.
2018-11-20 19:38:39 +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
19a9a990b6
Allow using any interface scale between 100%-300%.
2018-10-16 11:38:09 +03:00
John Preston
631e51a493
Hashtag search results as dialogs (support).
2018-10-09 19:27:18 +03:00
John Preston
d601b60903
Fix disabled animations dialogs repaint.
2018-09-21 10:12:53 +03:00
John Preston
fd0719db6d
Add animations enable/disable setting.
...
Open chats / users on mouse press if animations are disabled.
2018-09-20 21:26:10 +03:00
John Preston
1ffbec0215
Finish animations disabling.
...
Replace some infinite animations with static layouts.
2018-09-20 21:26:10 +03:00
John Preston
be043a4437
Remove BypassWindowManagerHint in MediaView / Passport.
...
It makes all kinds of usages buggy, including choose file dialog.
Fixes #4936 .
I hope fixes #4950 , I hope fixes #4955 , I hope fixes #3553 .
2018-07-31 22:55:30 +03:00
John Preston
9972f7b90e
Use server time in dialogs list sorting.
...
This way it won't mess up when you change your local time.
2018-07-31 17:34:14 +03:00
John Preston
33095966af
Move sendMessage and sendInlineResult to ApiWrap.
2018-06-27 22:58:32 +01:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
d3f85b4c4e
Display channels promoted by proxy on top.
2018-05-13 21:26:35 +03:00
John Preston
87d6081408
Version 1.2.16: Fix build in Xcode 9.3.
2018-04-07 12:47:08 +04:00
John Preston
ee182ea684
API scheme downgraded to layer 76.
2018-03-06 20:48:24 +03:00
John Preston
7940ef24ab
Disallow hashtags of digits only.
2018-03-06 18:29:45 +03:00
John Preston
c3c9ba7e51
Add feed icons.
2018-02-22 20:37:49 +03:00
John Preston
07528be1e6
Support search in feed + scroll to search result.
2018-02-16 19:45:58 +03:00
John Preston
0f775e1e66
Support feeds search display in dialogs list.
2018-02-14 23:18:21 +03:00
John Preston
11671e85da
Add scroll-to-down button to Feed.
2018-02-08 12:20:54 +03:00
John Preston
8bacc74d8b
Request dialog list entries when needed.
...
Also save the original server-side int32 date in HistoryItems.
2018-02-08 12:20:54 +03:00
John Preston
a7f67c4bc9
Better chats list entries management.
...
Make unread counts and last message base::optional<>.
Remove ChannelHistory.
2018-02-08 12:20:54 +03:00
John Preston
366ea1edc3
Notify about feed channels list changes.
2018-02-08 12:20:53 +03:00
John Preston
b9ad8bb700
Feed top bar placeholder.
2018-02-08 12:20:51 +03:00
John Preston
47ad5ea98a
Display active feed state in dialogs list.
2018-02-08 12:20:51 +03:00
John Preston
840b42934b
Use server-side my_results in contacts.search.
2018-02-08 12:20:51 +03:00
John Preston
4527c03c0d
Use "Feed" name for chats list index and search.
2018-02-08 12:20:51 +03:00
John Preston
91f369a0b3
Handle view resize/repaint requests for mainView.
2018-02-08 12:20:49 +03:00
John Preston
8a56ede187
Move all (item/view/media) maps to Data::Session.
2018-02-08 12:20:49 +03:00
John Preston
97a9089ebf
Move draw / getState code to HistoryView::Message.
...
Item dimensions broken for now.
Also remove history.h from pch.
2018-02-08 12:20:48 +03:00
John Preston
bee474f6e9
Remove history_item and layout from pch.
...
Also move some code to separate modules.
Also create history item views by Window::Controller.
2018-02-08 12:20:47 +03:00
John Preston
794e31505b
First version of feed section view.
2018-02-08 12:20:46 +03:00
John Preston
f0b2e445f6
Prepare dialogs to open feeds.
2018-02-08 12:20:46 +03:00
John Preston
782e70b171
Support basic feed display in chats list.
2018-02-08 12:20:46 +03:00
John Preston
9d2239291d
Add support for pinned feeds management.
2018-02-08 12:20:46 +03:00
John Preston
a2891807f8
Prepare dialogs to hold a history or a feed.
2018-02-08 12:20:46 +03:00
John Preston
6a9556d42c
Move non-settings session data to Data::Session.
...
Rename AuthSessionData to AuthSessionSettings, move data away.
2018-02-08 12:20:46 +03:00
John Preston
724fe65d72
Start feeds support.
2018-02-08 12:20:45 +03:00
John Preston
46612ef128
Remove Notify::userIsContactChanged().
...
Replace with Notify::peerUpdatedDelayed().
2018-02-08 12:20:45 +03:00
John Preston
139ef5411a
Prepare code for dialogFeed handling.
2018-02-08 12:20:45 +03:00
John Preston
ac57000437
Move contacts list loading to ApiWrap.
2018-02-08 12:20:45 +03:00
John Preston
31234cb487
API scheme updated to layer 75.
2018-02-08 12:20:45 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
5b4694a4eb
Move text options constant to a separate module.
...
Also start MediaView group thumbs code.
2017-12-28 16:06:06 +03:00
John Preston
8e45b09083
Use different indentation for rpl operators.
...
It works better with Visual Studio IDE.
2017-12-26 19:20:07 +03:00
John Preston
ec515080b5
Improve saved messages search results display.
2017-12-26 19:20:06 +03:00
John Preston
97c15865a5
Move some code around.
...
Move logs:SignalHandlers to core/crash_reports:CrashReports.
Move all pre-launch windows to core/crash_report_window module.
Move some global code to core/launcher:Launcher.
It should replace settings / platform_specific module in some way.
2017-12-12 16:47:32 +04:00
John Preston
320105f201
Allow searching for '@' in the chats filter field.
...
Fixes #4121 .
2017-12-07 17:43:06 +04:00
John Preston
46bafc2dcc
Support Saved messages in chats list and forwards.
2017-12-05 18:07:01 +04:00
John Preston
62568daffe
Refactor NotifySettings in PeerData.
2017-12-04 21:48:45 +04:00
John Preston
fe9630bb20
Allow to resize third column.
2017-11-16 07:59:11 +04:00
John Preston
5f0ba48309
Add top bar menu and notifications toggle.
2017-11-16 07:59:10 +04:00
John Preston
fcf2b9d1a7
Add some more actions to info profile.
2017-11-16 07:59:10 +04:00
John Preston
8191ebfc49
Improve peer context menu for info.
2017-11-16 07:59:09 +04:00
John Preston
b51f865c54
Save info members list state to memento.
2017-11-16 07:59:08 +04:00
John Preston
65cc4d3fbc
Support item repaint in Info media overview.
2017-11-16 07:59:06 +04:00
John Preston
c302219f9e
Use rpl in some widgets and effects.
2017-11-16 07:59:02 +04:00
John Preston
c09fbcfeb3
Display author photo / name in search results.
2017-09-05 20:21:56 +03:00
John Preston
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +03:00
John Preston
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00
John Preston
e13ed9b909
Remove main()->peerUpdated and some other signals.
2017-08-30 19:15:36 +03:00
John Preston
0303f18ac6
Fix check for _mouseSelection flag in dialogs.
...
Fixes #3781 .
2017-08-30 19:15:32 +03:00
John Preston
a72453fb1b
Remove ContactsBox and contacts_box module.
2017-08-30 19:15:30 +03:00
John Preston
e209737b1a
Display and follow unread mentions in history.
2017-08-30 19:15:13 +03:00
John Preston
ab35829358
Remove App::app(), App::uploader(), App::api().
...
Also use Auth() instead of AuthSession::Current*().
2017-08-25 14:39:18 +03:00
John Preston
99afa1196c
Improve search in peer / search from user design.
2017-08-25 12:58:11 +03:00
John Preston
6f746c238a
Search for messages from a specific user in group.
2017-08-01 21:38:01 +03:00
John Preston
8c60ac78aa
Rename and split dialogswidget module.
...
Also remove some debug information for crash fix.
2017-08-01 21:15:03 +03:00