Commit Graph

2237 Commits

Author SHA1 Message Date
23rd b72fce4894 Removed LanguageBox::createMultiSelect method. 2022-11-22 00:26:49 +00:00
23rd 32cebc0d9b Fixed position of show more button in translate box. 2022-11-22 00:26:49 +00:00
23rd bc5aa7338e Removed inaccessible users from choosing recipients for forwards box. 2022-11-22 00:26:49 +00:00
23rd 921d2239c7 Added initial implementation of choosing translation language from list. 2022-11-22 00:26:49 +00:00
23rd 0feef675f7 Added loading text effect to translate box. 2022-11-22 00:26:49 +00:00
23rd b7647fbcc1 Added initial implementation of translate box. 2022-11-22 00:26:49 +00:00
23rd 3467fe226f Added ability to send webp as compressed image. 2022-11-22 00:26:49 +00:00
John Preston 37308cde21 Support dialog rows with variable height. 2022-11-22 00:26:48 +00:00
John Preston 248337daf5 Implement topics pin limit box. 2022-11-22 00:26:48 +00:00
John Preston 8a288476b8 Implement pinned topics reordering. 2022-11-22 00:26:48 +00:00
23rd 85b94bc6fd Changed behavior to always delete messages for bots.
Fixed #17033.
2022-11-11 11:45:13 +04:00
23rd f0645753d4 Toggled checkbox of deleting messages for both participants. 2022-11-11 11:45:13 +04:00
23rd 80d4c3affe Added button for invite links management even to public channels. 2022-11-07 19:17:21 +04:00
John Preston 9a1d9deea5 Fix peer list row selecting for forums.
The blobs in group calls are still round for them :(
2022-11-07 19:15:57 +04:00
23rd 3887fbc437 Fixed crash from type box for groups. 2022-11-06 16:56:45 +03:00
John Preston 080ab26804 Add some phrases to langpack. 2022-11-05 17:49:01 +04:00
John Preston fdf4129e5e Fix build with GCC. 2022-11-02 08:51:03 +04:00
23rd 3b79d944af Removed unused includes of observer file. 2022-11-01 20:03:14 +04:00
John Preston bd8cdcb520 Fix topic icons animating in choose topic box. 2022-11-01 19:25:45 +04:00
John Preston e6c2aa8021 Support topic choosing in ShareBox. 2022-11-01 19:25:45 +04:00
John Preston 7384cd3463 Support sharing games by link to topics. 2022-11-01 19:25:44 +04:00
John Preston d5ea0149e8 Implement drag-n-drop to forum topics. 2022-11-01 19:25:44 +04:00
John Preston 1ac051a812 Implement forwarding to topics. 2022-11-01 19:25:44 +04:00
John Preston b3f9b16eb2 Add correct topics icon to manage group box. 2022-11-01 19:25:43 +04:00
John Preston c8ed8e0e5f Support nice empty topic view. 2022-11-01 19:25:42 +04:00
John Preston 99564d3d44 Implement restrictions on topics enabling. 2022-11-01 19:25:42 +04:00
John Preston ec0380b250 Show premium tooltip on custom topic icon selection. 2022-11-01 19:25:42 +04:00
John Preston 602ba5bba9 Implement correct ForumTopic::canWrite logic. 2022-11-01 19:25:42 +04:00
John Preston b4a9705564 Simplify pin_messages/manage_topics logic. 2022-11-01 19:25:41 +04:00
John Preston 70e5f752ba Correctly handle complex pin_messages/manage_topics. 2022-11-01 19:25:41 +04:00
John Preston 53beb6f562 Allow editing ManageTopics rights/restrictions. 2022-11-01 19:25:41 +04:00
John Preston 0cba9e4a22 Support default forum topic icons. 2022-11-01 19:25:41 +04:00
John Preston ce17904dcc Improve topic creation, fix glitches. 2022-11-01 19:25:41 +04:00
23rd 6d3f9017fa Added ability to report chat photo and channel photo. 2022-11-01 19:25:41 +04:00
23rd 50b27b51a1 Fixed losing of saved usernames order from edit peer box. 2022-11-01 19:25:41 +04:00
John Preston 7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
John Preston 306179ca7c Update API scheme on layer 148. 2022-11-01 19:25:40 +04:00
23rd a4856e4436 Added handling of error for too much number of activated usernames. 2022-11-01 19:25:40 +04:00
23rd bdd79aa2f2 Changed row in usernames list for editable one. 2022-11-01 19:25:40 +04:00
23rd ad70942d0e Moved usernames data management to separated class. 2022-11-01 19:25:39 +04:00
23rd 4207995ef0 Added right button to rows of usernames list for reorder. 2022-11-01 19:25:39 +04:00
23rd ad7bc6326d Added context menu to usernames list. 2022-11-01 19:25:39 +04:00
23rd 17623640b3 Slightly improved appearing of usernames list. 2022-11-01 19:25:39 +04:00
23rd d55ff7aa4a Added usernames list to peer type box for public channels. 2022-11-01 19:25:39 +04:00
23rd 113d9742f4 Added initial implementation of usernames list for boxes. 2022-11-01 19:25:39 +04:00
23rd acbc248f23 Replaced UsernameBox with generic box. 2022-11-01 19:25:39 +04:00
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 89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston 791addd0ee Start topic profile cover design. 2022-11-01 19:25:38 +04:00
John Preston 6997e165c6 Forum three-dot menu, except search. 2022-11-01 19:25:37 +04:00
John Preston d92580b8fc Update API scheme on layer 148: Notifications.
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston 8561893e2e Update API scheme on layer 148. 2022-11-01 19:25:37 +04:00
John Preston 58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
John Preston 032e6c57e9 Request full album for last topic message. 2022-11-01 19:25:36 +04:00
John Preston 2c50f7b18c Implement nice topic icon create / edit box. 2022-11-01 19:25:36 +04:00
John Preston ae3496d6a4 Update API scheme on layer 148: Topic icons. 2022-11-01 19:25:36 +04:00
John Preston 2781fe2c34 Show temporary placeholder topic icon. 2022-11-01 19:25:35 +04:00
John Preston 5d43073efa Support editing of not-fully-created topic. 2022-11-01 19:25:35 +04:00
John Preston 3722e55b67 Support topic on-the-fly creation. 2022-11-01 19:25:35 +04:00
John Preston d15173e09d Update API scheme on layer 148. 2022-11-01 19:25:35 +04:00
John Preston e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston 8268e9f872 Support new rounding for GIFs / videos. 2022-11-01 19:25:35 +04:00
John Preston b13471672d Move some chat styles from basic.style to chat.style. 2022-11-01 19:25:34 +04:00
John Preston 1401b19994 Add PaintContext for Dialogs::Ui::RowPainter. 2022-11-01 19:25:34 +04:00
John Preston 4724ef91f6 Improve topic by message resolving. 2022-11-01 19:25:34 +04:00
John Preston d7fdd80f55 Fix jumping in topics list on message send. 2022-11-01 19:25:34 +04:00
John Preston 9f652b0d3f Unify message sending, track forum topic icons. 2022-11-01 19:25:34 +04:00
John Preston 3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
John Preston 73e56b0340 Support default General topic in forums. 2022-11-01 19:25:32 +04:00
John Preston c88140e256 Update API scheme to layer 148, start forums. 2022-11-01 19:25:32 +04:00
Ilya Fedin 7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
Ilya Fedin 16669402cf Decrease the amount of clipboard data retrievation 2022-09-28 23:59:59 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston 782c5c28a8 Support custom quick reaction in settings. 2022-09-16 11:16:59 +04:00
23rd 557a2e400e Fixed muting of peer forever. 2022-09-14 23:10:30 +04:00
John Preston bc340d75c4 Insert / Copy emoji from pack preview. 2022-09-14 14:45:23 +04:00
John Preston 2e8a03dfd1 Correctly round spoiler animation in ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston 03e90840de Closed alpha version 4.1.1.1: Fix build with GCC. 2022-09-10 11:07:08 +04:00
John Preston 4ab34e3727 Suggest only like and dislike reactions in groups by default. 2022-09-10 09:36:08 +04:00
John Preston 5cc6275fc3 Fly + effects when choosing an emoji status. 2022-09-07 12:52:34 +04:00
John Preston d4810713cb Fly-animate reactions from the new context menu. 2022-09-06 17:08:20 +04:00
John Preston 400d4b793a Fix initial visibility of Who can send messages.
Fixes #25030.
2022-09-06 08:09:29 +04:00
John Preston 9bb2bb09b9 Update API scheme on layer 145.
Restrict send from channels to premium in line with API restrictions.
2022-09-02 21:14:34 +04:00
John Preston e32031963b Colorize status in premium promo and pack preview. 2022-09-02 21:14:34 +04:00
John Preston e0513f7b7c Return old allowed reactions edit for channels. 2022-09-02 21:14:33 +04:00
23rd 7e7562fdad Fixed crash in RecoverBox from PasscodeBox with custom check callback. 2022-09-02 21:14:33 +04:00
John Preston 2d07539892 Support colored emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston 923e725e18 Request default and recent emoji statuses. 2022-09-02 21:14:33 +04:00
23rd b2d72e2541 Removed subscription options from Settings when there is only one. 2022-09-02 21:14:33 +04:00
John Preston 5e81c65ea6 Implement improved allowed reactions editing. 2022-09-02 21:14:32 +04:00
John Preston ebf6cea2f5 Correctly show premium promo for custom reactions. 2022-09-02 21:14:32 +04:00
John Preston ed3f246510 Use FrameGenerator-based AnimatedIcon for reactions. 2022-09-02 21:14:32 +04:00
23rd da6d580348 Fixed style of box for premium doubled limits. 2022-09-02 21:14:32 +04:00
23rd 149d92d224 Added ability to choose subscription option for Premium in Settings. 2022-09-02 21:14:32 +04:00
23rd 6f3d19914d Unified parsing of MTP gift and subscription options in separate file. 2022-09-02 21:14:32 +04:00
23rd fc759ac688 Renamed GiftOption to SubscriptionOption. 2022-09-02 21:14:31 +04:00
23rd 65ad8e6ac1 Moved out class for colored ministars to separate file. 2022-09-02 21:14:31 +04:00
John Preston 31db1804c8 Request top and recent reactions. 2022-09-02 21:14:31 +04:00
John Preston 3399397a76 Allow 1 year for session termination delay. 2022-09-02 21:14:30 +04:00