Commit Graph

469 Commits

Author SHA1 Message Date
John Preston fdf4129e5e Fix build with GCC. 2022-11-02 08:51:03 +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 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 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
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 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 6997e165c6 Forum three-dot menu, except search. 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 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 e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +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
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +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 400d4b793a Fix initial visibility of Who can send messages.
Fixes #25030.
2022-09-06 08:09:29 +04:00
John Preston e0513f7b7c Return old allowed reactions edit for channels. 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 ed3f246510 Use FrameGenerator-based AnimatedIcon for reactions. 2022-09-02 21:14:32 +04:00