Commit Graph

157 Commits

Author SHA1 Message Date
23rd 5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
23rd 9b7329b378 Removed username from public data members of ChannelData. 2022-11-01 19:25:38 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston 2c0a38d356 Don't unload emoji sets.
Fixes #24933.
2022-08-15 15:52:27 +03:00
John Preston d2e1517e7a Correctly cancel username check request. 2022-08-11 09:06:30 +03:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
23rd 89a3462824 Simplified extracting of data from some MTP* responses. 2022-07-26 20:12:11 +03:00
John Preston 77330aa6a7 Fix a crash in adding a contact. 2022-06-18 00:01:30 +04:00
23rd 629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
23rd 1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
23rd 43c0197445 Removed Ui::hideLayer from places that can be in non-primary windows. 2022-06-09 07:06:01 +03:00
John Preston 5bc072de07 Support premium bio (with links and x2 length). 2022-06-01 11:59:14 +04:00
John Preston d1907083ed Add FileSizeLimitBox and pass "ref" to premium payment. 2022-05-23 18:46:15 +04:00
John Preston d81bba155a Update some premium icons. 2022-05-20 19:28:50 +04:00
John Preston 739123dedc Implement simple premium limits boxes. 2022-05-19 17:27:02 +04:00
23rd 774c3b5ba0 Fixed tab order in EditNameBox. 2022-04-28 17:10:13 +03:00
23rd 7bebe699f6 Moved special fields to separated folder. 2022-04-01 15:53:57 +04:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston a61048d219 Fix scroll state management in Downloads. 2022-02-27 20:26:52 +03:00
John Preston 7b0513a1ea Improve box rounding and buttons. 2022-02-25 14:14:40 +03:00
23rd 8b56676c23 Fixed formatting of some internal links. 2022-01-16 14:13:12 +03:00
23rd b55ed7214a Removed text commands from history item components. 2022-01-12 11:54:24 +03:00
23rd dd92f7fb9d Slightly refactored AddContactBox. 2021-12-22 10:27:43 +00:00
23rd 77d1d9bd3a Moved out getting of phone pattern groups from PhoneInput fields. 2021-11-30 17:38:17 +04:00
23rd 0dfb77435d Slightly refactored add_contact_box. 2021-11-30 17:38:03 +04:00
23rd 69dc6c98ce Removed unused MTPBool from callbacks on done. 2021-11-30 17:37:39 +04:00
John Preston 9e05e44a14 Inform about join request being sent. 2021-10-29 18:31:06 +04:00
23rd 159beb138a Moved api peer photo processing to separated file.
Removed MainWidget::deletePhotoLayer.
2021-10-20 22:56:19 +03:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
23rd b776308fd7 Moved some constants for peer editing to separated file. 2021-10-19 06:34:27 +03:00
23rd 2d37920a4c Improved code style in some peer boxes. 2021-10-19 06:34:27 +03:00
John Preston 8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
John Preston 23e9e7b9f0 Remove for_const macro. 2021-09-06 13:13:26 +03:00
23rd 558e1d96fd Simplified extracting of calling code from phone number. 2021-08-30 20:32:56 +03:00
John Preston 2ffda9f240 Don't use MTP* for ChatAdminRight / ChatRestriction. 2021-07-08 13:34:06 +03:00
23rd 1a7d5b7c95 Removed unused photo crop box. 2021-07-06 12:13:05 +03:00
23rd 17465e1082 Replaced old photo crop box with photo editor for profile photos. 2021-07-06 12:13:05 +03:00
John Preston 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
John Preston 1050447eed Add phone format and validation in payments. 2021-04-06 18:41:15 +04:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston 36ad24bfcd Update API scheme. 2021-01-25 17:42:02 +04:00
John Preston e5320b4b4e Implement new permanent invite link management. 2021-01-25 16:47:40 +04:00
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
John Preston 92bc278052 Allow inviting contacts to voice chats. 2020-12-22 12:33:06 +04:00
John Preston ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
23rd f81271d1fe Simplified confirmed callback for ConfirmBox instances. 2020-09-29 19:03:29 +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