Ilya Fedin
66093f0cb5
cTimeFormat/cDateFormat -> QLocale::ShortFormat
...
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
John Preston
cb653df0f6
Support adaptive forum userpic rounding radius.
2022-12-05 16:18:10 +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
ed895ace66
Track dialog row offline status by timer.
...
Fixes #6410 .
2022-11-01 19:25:41 +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
f72092a261
Update API scheme on layer 145.
2022-09-02 21:14:30 +04:00
John Preston
bd42c23999
Implement reactions selector above the menu.
2022-09-02 21:14:30 +04:00
John Preston
a0d5456a4d
PoC content outside of PopupMenu.
2022-09-02 21:14:29 +04:00
John Preston
09124f6424
Implement PoC custom reaction selection.
2022-09-02 21:14:29 +04:00
John Preston
4915ea8ad3
Add convenient appConfig().get<int>(..).
2022-08-02 13:20:38 +03:00
John Preston
d81bba155a
Update some premium icons.
2022-05-20 19:28:50 +04:00
John Preston
22613fc204
Show only one placeholder for premium reactions.
2022-05-19 17:27:04 +04:00
John Preston
2f6f432583
Handle join-to-write / request-to-join in comments section.
2022-05-19 17:27:01 +04:00
John Preston
d9f6a5206e
Update API scheme on layer 140.
2022-04-06 16:29:06 +04:00
John Preston
963694330d
Correctly apply reaction restrictions.
2022-01-14 21:55:47 +03:00
John Preston
58c9494c03
Add reactions to replies / comments / pinned section.
2021-12-29 21:22:34 +03:00
John Preston
1bd74fe478
Choose a channel to send messages as.
2021-11-26 18:00:18 +04:00
John Preston
4691cff3f6
Start SendAsButton in HistoryWidget.
2021-11-26 18:00:18 +04:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
CoderTimZ
c9e24c2283
Display dates with the system date format
2021-10-11 21:56:29 +04:00
John Preston
a74228acea
Don't use MTP* for ChannelData flags.
2021-07-08 16:11:09 +03:00
John Preston
5040c2e766
Don't use MTP* for ChatData flags.
2021-07-08 15:11:46 +03:00
John Preston
e34375405e
Don't use MTP* for UserData flags.
2021-07-08 14:19:12 +03:00
John Preston
2ffda9f240
Don't use MTP* for ChatAdminRight / ChatRestriction.
2021-07-08 13:34:06 +03:00
John Preston
088fda4ed8
Correctly track mute button scheduled state.
2021-04-06 18:41:16 +04:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
John Preston
732bc38e8e
Show chats list badge only for non-empty calls.
2020-12-06 17:28:27 +04:00
John Preston
fdbe6bdeb2
Add voice chat indicator in the chats list.
2020-12-02 13:52:33 +03:00
John Preston
74d2313784
Build Linux version with Qt 5.15.1 in CentOS 7 docker.
2020-11-06 11:21:34 +03:00
John Preston
994e3d8da7
Add hide / unpin all button in pinned section.
2020-10-30 18:32:20 +03:00
John Preston
4a94a0c438
Show replies dialog correctly.
2020-09-29 19:03:24 +03:00
John Preston
6f9ea1cc01
Allow posting comments being not in group.
2020-09-29 19:03:24 +03:00
John Preston
873b77cf40
Use UserData::isBot where applicable.
2019-07-24 08:02:20 +02:00
John Preston
c5df4db621
Fix possible race conditions in msgid().
2019-07-15 16:00:30 +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
d0b86e1229
Optimize online dots + add animations.
2019-06-17 18:13:05 +02:00
John Preston
13a9b967e9
Use user phrases for support accounts.
2019-03-12 14:38:59 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
bf87de3706
Fix removing chats from dialogs.
2019-01-22 17:05:06 +04:00
John Preston
61419b57c8
Prepare legacy group restrictions checking.
2019-01-17 12:21:29 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
d2d6b319b6
Update API scheme to layer 93. Broken.
2019-01-17 12:21:28 +04:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
6bd5301828
Fix crash when accessing a deleted item view.
2018-03-09 21:22:31 +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
782e70b171
Support basic feed display in chats list.
2018-02-08 12:20:46 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00