Commit Graph

16633 Commits

Author SHA1 Message Date
John Preston 97b021efaf Star-count button in multi-Forward/CreatePoll. 2025-03-07 19:03:38 +04:00
John Preston b3f9a77ba7 Star-count button in SendFilesBox/ShareBox. 2025-03-07 19:03:38 +04:00
John Preston 63fdc1f876 Update API scheme on layer 200. 2025-03-07 19:03:38 +04:00
John Preston 17cf354c58 Support custom send button for paid. 2025-03-07 19:03:38 +04:00
John Preston c6fd8bcb99 Edit paid messages exceptions. 2025-03-07 19:03:38 +04:00
John Preston 1684465e04 Add sending paid stories replies. 2025-03-07 19:03:38 +04:00
John Preston fe2df96953 Improve paid peer-box multi-send. 2025-03-07 19:03:38 +04:00
John Preston ee9d0cfd99 Update API scheme, disable scheduled paid. 2025-03-07 19:03:38 +04:00
John Preston 7b7e18e752 Support paid sending in ShareBox. 2025-03-07 19:03:38 +04:00
John Preston 928be4151b Update API scheme, parse premium gifts for stars. 2025-03-07 19:03:38 +04:00
John Preston 37dd648686 Implement paid location sending. 2025-03-07 19:03:38 +04:00
John Preston 93a590774e Send paid stickers/gifs/inline-results. 2025-03-07 19:03:38 +04:00
John Preston 22b99b6d3e Send paid shared contacts. 2025-03-07 19:03:37 +04:00
John Preston 101d626d4f Support paid files-with-comment and polls. 2025-03-07 19:03:37 +04:00
John Preston 3633c19208 Update API scheme, improve service messages. 2025-03-07 19:03:37 +04:00
John Preston e302f328f7 Don't cut confirming emoji status. 2025-03-07 19:03:37 +04:00
John Preston f74ba95e95 Don't track caption in fullscreen video view.
Fixes #28981.
2025-03-07 19:03:37 +04:00
John Preston c38982d286 Simplify paid stars check. 2025-03-07 19:03:37 +04:00
John Preston fe9bac096b Refresh balance after paid message sending. 2025-03-07 19:03:37 +04:00
John Preston 5b809c4fc6 Show paid stars information above a message. 2025-03-07 19:03:37 +04:00
John Preston 4729e51e14 Improve phrases for paid messages. 2025-03-07 19:03:37 +04:00
John Preston 960cf7a34b Update API scheme, new paid. 2025-03-07 19:03:37 +04:00
John Preston 852ab19760 Update API scheme, track stars-per-message. 2025-03-07 19:03:37 +04:00
John Preston 2e45d9fc6b Allow replacing default shortcuts. 2025-03-07 19:03:37 +04:00
John Preston 74b71b92b6 Update API scheme on layer 200. 2025-03-07 19:03:37 +04:00
John Preston bbc14ba74f Allow sending paid messages. 2025-03-07 19:03:37 +04:00
John Preston 45c7829cd8 Track stars-per-message for users and channels. 2025-03-07 19:03:37 +04:00
John Preston f2aa3afbbb Allow editing charge-for-message privacy. 2025-03-07 19:03:37 +04:00
John Preston 909b01241b Update API scheme to layer 200. 2025-03-07 19:03:36 +04:00
Ilya Fedin abb58c58a0 QPlatformKeyMapper -> QKeyMapper 2025-03-06 17:54:54 +04:00
Ilya Fedin 700e10d32c Use flat_map::remove in clearFrom{Topic,Item}
Now that notification closing happens in destructor, the iterator is no more needed
2025-03-06 17:30:26 +04:00
Ilya Fedin 4ac48d0e4a Fix clearFromTopic on Linux
Looks like it was broken since addition
2025-03-06 16:41:34 +04:00
Ilya Fedin 345b2cb835 Move notification closing to NotificationData destruction 2025-03-04 14:17:43 +04:00
Ilya Fedin b962309498 Move hints.lookup_value() out of xdg_notifications_notifications_call_notify
Or it gets executed after hints.end() which clears hints
2025-03-04 12:28:37 +04:00
Eugene e99cb9bfb8 Ensure policy check before creating Zone.Identifier for downloaded files on Windows 2025-03-04 10:47:31 +04:00
Ilya Fedin 9e12e18f90 Clean up unnecessary calls to Manager::Private::clearNotification
It was added to replicate NotificationData::close but lots of places call it after the notification is already cleared
2025-03-03 18:40:22 +04:00
Ilya Fedin 66fc9b38df Fix a race condition with asynchronous notification sending 2025-03-03 18:40:06 +04:00
Ilya Fedin 5dbe429e6b Fix NotificationData initialization 2025-03-03 18:39:55 +04:00
GitHub Action b2481ea6c1 Update User-Agent for DNS to Chrome 133.0.0.0. 2025-03-03 18:37:13 +04:00
Ilya Fedin 86a294ce4b Subscribe to XdgNotifications signals on Manager initialization 2025-03-01 09:08:10 +04:00
Ilya Fedin a8d1eadfbf Turn NotificationData into a struct 2025-02-28 13:20:53 +04:00
Ilya Fedin b07d3c5403 Decouple GNotification from NotificationData 2025-02-28 12:05:09 +04:00
Ilya Fedin 892db55ae1 Get rid of NotificationData::init 2025-02-28 11:12:08 +04:00
Ilya Fedin 93615fef65 Revert "Check whether notification image has alpha channel"
This reverts commit cee593c423.

Avatars couldn't be opaque anyway while this simplifies porting out of NotificationData
2025-02-28 11:12:08 +04:00
Ilya Fedin 87452706ef Remove unused has_weak_ptr from Manager::Private 2025-02-28 11:12:08 +04:00
Ilya Fedin 3569615b21 Use gi::cstring for notification actions 2025-02-28 11:12:08 +04:00
Ilya Fedin 86f7d09d31 Pass notification icon name inline 2025-02-28 11:12:08 +04:00
Ilya Fedin d5d1254393 Destroy NotificationData signal connections with rpl::lifetme 2025-02-28 11:12:08 +04:00
davidholio 4df90cfb9e Make sure caption items can only be interacted if not in video fullscreen. 2025-02-25 11:40:05 +04:00
Ilya Fedin ec6862d31a Communicate PiP window margins to the OS 2025-02-25 10:15:33 +04:00