John Preston
bacaf805b5
Pass SessionNavigation to some boxes.
2019-07-25 20:55:11 +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
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
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
ca7c50fbcd
Remove pseudo-HTML from langpacks and 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
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
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
23rd
b45705f39d
Returned render color theme in main menu when background is filled.
2019-05-31 21:10:53 +03:00
23rd
a5ea13f248
Changed background color of Saved Messages button in main menu.
2019-05-29 20:11:47 +03:00
23rd
b2e5ab36d4
Moved shadow drawing from paintEvent in MainMenu::refreshBackground.
2019-05-27 14:10:36 +02:00
23rd
159f90a42c
Added background analysis in main menu for better readability.
2019-05-27 14:10:36 +02:00
23rd
08a3a5747a
Added custom background to top of main menu.
2019-05-27 14:10:36 +02:00
23rd
dc27bfff2d
Fixed elision of user name in side menu.
2019-05-16 11:58:28 +03:00
John Preston
12614ab68c
Fix possible crash with nullptr screen.
2019-04-12 17:30:43 +04:00
John Preston
2bdce7dce6
Fix window activations handling without event loop nesting.
...
This was causing an assertion violation in Ui::PostponeCall.
- Add a generic Core::QtSignalProducer to convert Qt signals to rpl::producer.
- Track event loop nesting inside QtSignalProducer.
- Use QtSignalProducer for QWindow::activeChanged tracking.
2019-04-05 14:13:54 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
8711830f66
Move calls settings to Settings > Advanced.
...
Also add calls settings button to the calls list box.
2019-01-11 17:30:57 +04:00
John Preston
d6b4448d3c
Show reload toast inside Support::Templates.
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
3646301ce4
Fix build for old OS X versions.
2018-11-08 14:48:15 +04:00
John Preston
01b4e1946a
Show reset scale button if window doesn't fit.
2018-11-04 15:51:36 +04:00
John Preston
81a9554caa
Move some settings to the main menu (support).
2018-10-09 19:27:18 +03:00
John Preston
eaa50adf75
Remove irrelevant menu items (support).
2018-10-09 19:27:17 +03:00
John Preston
9b85dd27ca
Allow to choose one of four default themes.
2018-09-26 14:36:55 +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
cb338e330f
Allow independently change default / night themes.
2018-07-31 22:56:03 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +04:00
John Preston
993877b0d4
Change main menu cloud icon to saved messages.
2017-12-05 20:48:03 +04:00
John Preston
8dd3f24285
Replace Profile::UserpicButton with one from Ui::
2017-11-16 07:59:11 +04:00
John Preston
83850d9b86
Change *[Fast|Animated] to anim::type in FadeWrap.
2017-11-16 07:59:06 +04:00
John Preston
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00
John Preston
a72453fb1b
Remove ContactsBox and contacts_box module.
2017-08-30 19:15:30 +03:00
John Preston
f7359093b4
Replace ContactsBox with PeerListBox in two cases.
...
- View contacts list in PeerListBox.
- Add participants when creating group / channel in PeerListBox.
2017-08-30 19:15:27 +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
61659244b7
Add night mode switch to the main menu.
...
Also fix a bug with the default background applying.
2017-06-30 09:21:46 +03:00
John Preston
7fdac9cd94
Add restricted users box like kicked users box.
...
Also allow server-side search inside restricted users list.
Also allow server-side search inside kicked users list.
Also allow PeerListController to work not only in PeerListBox.
2017-06-29 11:40:14 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
30d000e139
Toggle calls controls using config and user flags.
...
Also use calls timeout values from config.
Also request config each time when the auth session changes.
2017-05-09 23:46:22 +03:00
John Preston
06b081f509
Add calls log box.
...
PeerListBox can have many rows with the same PeerData.
PeerListBox::Row can have arbitrary action on the right side.
2017-05-09 23:46:18 +03:00
John Preston
291a6b73ab
Show phone instead of "online" in the main menu.
2017-05-07 12:00:49 +03:00
srazi
734b426518
Fix canceling forward when clicking on _userpicButton or _cloudButton ( #3248 )
...
- Fixes #3192
Signed-off-by: srazi <s.r.alavizadeh@gmail.com> (github: srazi)
2017-04-11 23:03:34 +03:00
John Preston
5444b8166c
Finalize rename / move of files.
2017-04-07 18:13:18 +03:00
John Preston
22d905b39c
Version 1.0.29: Add cloud icon to main menu.
2017-04-05 12:22:45 +03:00
John Preston
81790b2271
Notifications management moved to AuthSession.
...
Also implemented Global::WorkMode() as an base::Variable.
2017-03-06 18:38:15 +03:00
John Preston
08167a6a91
Removed #include "stdafx.h" from all files.
...
Currently the build without implicitly included precompiled header
is not supported anyway (because Qt MOC source files do not include
stdafx.h, they include plain headers).
So when we decide to support building without implicitly included
precompiled headers we'll have to fix all the headers anyway.
2017-03-04 12:27:52 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00