23rd
d1ba270a8c
Renamed file of utils for statistical lists.
2023-10-11 22:12:34 +04:00
23rd
8497b83f7c
Added list of public forwards to statistics of single message.
2023-10-11 22:12:34 +04:00
23rd
8564e4d727
Added initial support of recent posts to statistical info.
2023-10-11 22:12:34 +04:00
23rd
77d23ad182
Replaced statistics box with info layer widget.
2023-10-11 22:12:33 +04:00
23rd
af0e11a1aa
Moved out to td_ui all classes related to statistics.
2023-10-11 22:12:33 +04:00
23rd
8ac6aca315
Split out data for statistics and for charts.
2023-10-11 22:12:33 +04:00
23rd
8ded88baf5
Moved out control of animations for line filtering to separated class.
2023-10-11 22:12:33 +04:00
23rd
32cd454554
Moved out chart header to separated files.
2023-10-11 22:12:30 +04:00
23rd
c5f294a1ac
Added paint of footer for zoomed stack linear chart.
2023-10-11 22:12:30 +04:00
23rd
f026271436
Added initial implementation of stack linear chart.
2023-10-11 22:12:30 +04:00
23rd
646390141a
Moved out paint of horizontal lines for charts to separated view class.
2023-10-11 22:12:30 +04:00
23rd
b55d2008c0
Added dummy class for stack chart view.
2023-10-11 22:12:30 +04:00
23rd
d50aca0d33
Created abstract chart view class.
2023-10-11 22:12:30 +04:00
23rd
671e81033c
Moved files of linear chart view class to directory.
2023-10-11 22:12:30 +04:00
23rd
2055cc70d1
Removed chart line view context.
2023-10-11 22:12:30 +04:00
23rd
e6559276c0
Added class to calculate context state while chart lines are filtering.
2023-10-11 22:12:29 +04:00
23rd
ec8d604db7
Added initial widget implementation of point details in charts.
2023-10-11 22:12:29 +04:00
23rd
e8aa55d4d8
Added initial support of static zoom for chart widget.
2023-10-11 22:12:29 +04:00
23rd
c9eb9a3ee0
Added initial widget with full zoom static linear chart.
2023-10-11 22:12:29 +04:00
23rd
06948ad15e
Added Data class for horizontal lines on statistic charts.
2023-10-11 22:12:29 +04:00
23rd
c0219cb95d
Added deserialization from JSON to statistics data.
2023-10-11 22:12:29 +04:00
23rd
b5b70beea0
Added implementation of class for segment tree.
2023-10-11 22:12:28 +04:00
23rd
ca863bfb5b
Added dummy Data class for statistics.
2023-10-11 22:12:28 +04:00
23rd
c45025c6e5
Added dummy API class for statistics.
2023-10-11 22:12:28 +04:00
23rd
10968d0da2
Added dummy box class for statistics.
2023-10-11 22:12:28 +04:00
John Preston
2414e927bd
Add initial code syntax highlighting.
...
Thanks PrismJS and Fela for porting it to C++.
2023-10-04 22:29:16 +04:00
John Preston
da768ac1d1
Add libprisma from Fela for syntax highlighting.
2023-10-04 22:28:47 +04:00
Ilya Fedin
ff9321e971
Main thread deadlock detector for debug mode
2023-09-21 12:23:23 +04:00
John Preston
a54bc449e4
Version 4.9.9: Add support for Emoji 15.
2023-09-18 23:38:59 +04:00
John Preston
610e0e7913
Start default notification settings.
2023-08-22 19:43:13 +02:00
John Preston
92fec8304e
Implement connected websites section.
2023-08-18 17:03:50 +02:00
John Preston
c12297d8cb
Implement stealth mode in stories.
2023-08-14 22:30:37 +02:00
Avimitin
88a165d676
Use absolute executable path for dbus service
...
After the v4.8.7 release, I cannot launch telegram desktop because of the
recent dbus support introduced in
2dfe858327
.
And it was fixed after I changed the value of the Exec field to absolute
path to the telegram-desktop executable.
In dbus specification they don't mention that they will find
executable from PATH variable, so this is a UB.
After this commit, cmake will use the full install path to generate the correct service file
and fix the above issue.
Signed-off-by: Avimitin <dev@avimit.in>
2023-07-24 14:20:51 +04:00
John Preston
3d795f2f67
Implement story mention messages.
2023-07-20 07:20:32 +04:00
John Preston
d567282430
Preload stories in the sources lists.
2023-07-20 07:20:14 +04:00
John Preston
a933168ef7
Allow sharing stories and copying a link.
2023-07-20 07:20:11 +04:00
John Preston
0ed200beee
Show / expand / collapse / hide reactions strip.
2023-07-20 07:20:10 +04:00
John Preston
7f8a985067
Start stories overview in profile / My Stories.
2023-07-20 07:20:10 +04:00
John Preston
d76c80bf0e
Show recent viewers in self stories.
2023-07-20 07:20:10 +04:00
John Preston
1d27c8c940
Paint nice stories userpics in chats list.
2023-07-20 07:20:08 +04:00
John Preston
a02876562a
Finish improved stories reply area theming.
2023-07-20 07:20:08 +04:00
John Preston
a745c9ff75
Display full caption if it doesn't fit.
2023-07-20 07:20:08 +04:00
John Preston
ae94cd2d42
Allow navigating to stories of sibling users.
2023-07-20 07:20:08 +04:00
John Preston
027bd89e5b
Apply geometry constraints in stories viewer.
2023-07-20 07:20:07 +04:00
John Preston
89ca38ed29
Start stories viewer with ComposeControls.
2023-07-20 07:20:07 +04:00
Ilya Fedin
2dfe858327
Support D-Bus activation
2023-07-01 21:05:42 +04:00
Ilya Fedin
8c38d31950
C++ify wl_registry
2023-05-30 20:55:15 +04:00
John Preston
04a3a50e74
Show error when trying change number from TDesktop.
2023-05-24 18:11:17 +04:00
John Preston
65afa2c402
Detach ComposeControls from SessionController.
2023-05-17 15:51:52 +04:00
Ilya Fedin
db60bee7dc
Implement screen locker monitor on Linux
2023-05-15 09:51:13 +04:00
Ilya Fedin
0a011db483
Get rid of DESKTOP_APP_DISABLE_DBUS_INTEGRATION
...
Desktop App Toolkit uses GLib as the D-Bus library for quite long time, but GLib is not only a D-Bus library, it's more a basic library providing native Linux APIs implementing various specs. The situation right now is that DESKTOP_APP_DISABLE_DBUS_INTEGRATION disables not only D-Bus code but all the native API integration such as MIME handling or .desktop file parsing. In other words, the option disables native Linux APIs on Linux what is absurd and doesn't have any sense.
2023-05-15 08:08:04 +04:00
23rd
ca2a0d41c9
Moved some app config values to separated file.
2023-04-11 19:17:42 +04:00
John Preston
b7d9d549ff
Start filter share links management.
2023-04-11 19:17:37 +04:00
Ilya Fedin
3064a41014
Try to restore updater-dependent binary path logic
...
Now that the file generating logic is simplier, it may be not that hard to maintain
2023-04-02 00:06:04 +04:00
John Preston
5ca7b95cdb
Implement new voice speed change control design.
2023-03-14 17:30:50 +04:00
John Preston
da7cd6291e
Proper check for atempo filter existance.
2023-03-10 11:13:44 +04:00
John Preston
af51307aa6
Implement opening of t.me/bot/app-s.
2023-03-07 08:42:29 +03:00
John Preston
aa9e56c633
Update icon on macOS, allow changing back.
2023-03-01 09:12:02 +04:00
John Preston
2a4c39b9d7
Implement some power saving options.
2023-03-01 09:12:02 +04:00
John Preston
2a1e3c4453
Initial implementation of windowed media viewer on macOS.
2023-02-18 15:10:13 +04:00
John Preston
84b4ab1c3c
Version 4.6.2: Re-enable global /LTCG on Windows.
...
With /LTCGOUT: empty path it should not try generating .iobj file,
and work on both 32 bit and 64 bit build with all static libs.
2023-02-08 13:20:01 +04:00
John Preston
f5be551ff8
Add translation bar dropdown menu.
2023-02-02 22:12:32 +04:00
John Preston
719466fcac
Initial chat-translation feature implementation.
2023-02-02 22:12:32 +04:00
23rd
a61c4f1813
Added initial implementation of gradient color editor.
2023-02-02 22:12:32 +04:00
23rd
2f7e4ae8fb
Moved out common structures for userpic emoji builder to single place.
2023-02-02 22:12:32 +04:00
23rd
9a717b885a
Moved out preview for userpic emoji builder to separated file.
2023-02-02 22:12:32 +04:00
23rd
cf6245af42
Added entry point for userpic emoji builder to userpic button.
2023-02-02 22:12:32 +04:00
23rd
9bc4c0a551
Added initial implementation of userpic emoji builder.
2023-02-02 22:12:32 +04:00
23rd
6c1e9b1387
Added initial implementation of inner widget of userpic emoji builder.
2023-02-02 22:12:32 +04:00
John Preston
809610817e
Initial request peer button implementation.
2023-02-02 22:12:31 +04:00
23rd
9390450049
Moved out color editor to td_ui.
2023-01-19 08:51:57 +03:00
Ilya Fedin
9b7826ea0d
Get GApplication out of experimental settings
...
GApplication will always be used on Linux now. GNotification gets a toggle instead.
2023-01-12 21:30:45 +04:00
23rd
b14ac5cafe
Moved Info::Profile::FloatingIcon to td_ui.
2023-01-09 12:34:44 +03:00
John Preston
ff331c040a
Allow huge range of interface scales.
2023-01-09 09:05:07 +04:00
23rd
aa8ca28f77
Added description to context menu for anonymous phone numbers.
2022-12-29 11:11:08 +03:00
John Preston
faf6c48f25
Remove ui/special_buttons module.
2022-12-26 14:24:06 +04:00
John Preston
af350e2daa
Allow hiding members list in groups.
2022-12-26 14:24:06 +04:00
John Preston
25746d195c
Support displaying of photo spoilers.
2022-12-26 14:24:05 +04:00
John Preston
48cf0a4382
Implement suggested profile photo message.
2022-12-26 14:24:05 +04:00
John Preston
1b73b34810
Make HistoryItem a final class.
2022-12-26 14:24:04 +04:00
John Preston
54f697eba1
Selectively request LTCG on Windows 32 bit build.
2022-12-07 11:01:05 +04:00
John Preston
a1faee285c
Use LTCG on Windows for two targets only.
2022-12-06 18:11:47 +04:00
23rd
b2e9c4ab75
Moved Ui::EmptyUserpic to td_ui.
2022-12-04 03:46:44 +03:00
23rd
4bd2091e6e
Added initial ability to enable anti-spam mode in megagroups.
2022-12-01 05:49:33 +03:00
John Preston
01139e1b04
Remove facades module.
2022-11-30 16:55:51 +04:00
23rd
d0ae07f3c2
Added initial implementation of global TTL settings.
2022-11-29 18:03:37 +03:00
Ilya Fedin
c77f07239f
Have full path to the binary in .desktop file
...
After removing the -workdir, this is the last difference with URL scheme handler command
2022-11-28 12:12:09 +01:00
23rd
b7647fbcc1
Added initial implementation of translate box.
2022-11-22 00:26:49 +00:00
John Preston
4c8187f623
Topics list in forum chats list entry.
2022-11-22 00:26:48 +00:00
Ilya Fedin
b9b6a9e747
Follow desktop file naming specification
...
This is required for GApplication to enable all the features
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#file-naming
2022-11-18 20:40:33 +04:00
Ilya Fedin
f9dd2b4a0a
Support GNotification
...
It's used if there's a gtk notification daemon or application is running sandboxed without access to the freedesktop protocol.
GNotification API is poor, but should feel native on environments using GNOME technologies.
2022-11-18 20:40:33 +04:00
Ilya Fedin
6af93b3497
Fix appdata changelog generation
2022-11-07 23:11:17 +04:00
Ilya Fedin
fc4682d77e
Get rid of TDESKTOP_LAUNCHER_BASENAME
...
This key was mainly used to let flatpak and snap provide right desktop file name.
Now, we can compute it from the environment in runtime for both flatpak and snap.
There's no more need in this option. Desktop filename override by downstreams is highly discouraged.
2022-11-07 13:47:58 +04:00
Ilya Fedin
959f23f475
Remove unused external_glib dependency from Telegram target
2022-11-04 23:06:25 +04:00
Ilya Fedin
435e4f2783
Adapt for target_prepare_qrc changes
2022-11-01 19:33:54 +04:00
John Preston
1ac051a812
Implement forwarding to topics.
2022-11-01 19:25:44 +04:00
John Preston
0cba9e4a22
Support default forum topic icons.
2022-11-01 19:25:41 +04:00
23rd
ad70942d0e
Moved usernames data management to separated class.
2022-11-01 19:25:39 +04:00
23rd
c8ae7c7402
Added ability to download multiple files from context menu.
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
51cead1445
Added initial implementation of api for usernames.
2022-11-01 19:25:38 +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
6a7f030ee7
Update API scheme on layer 148.
...
Extract message history corner buttons code.
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
3b3792ef75
Allow editing topic title and icon.
2022-11-01 19:25:33 +04:00
John Preston
388fe6adfb
Allow enabling forum, creating topics.
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
John Preston
20b5138e00
Initial implementation of ExtendedMedia.
2022-09-12 09:06:26 +04:00
John Preston
460b4b2de5
Move around some sources in CMakeLists.
2022-09-08 13:16:39 +04:00
John Preston
5cc6275fc3
Fly + effects when choosing an emoji status.
2022-09-07 12:52:34 +04:00
Ilya Fedin
38da0e086d
Get rid of lib_waylandshells
2022-09-02 21:27:41 +04:00
23rd
e34b61d56b
Moved out HistoryView::StickerPlayer implementations to separate file.
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
ed3f246510
Use FrameGenerator-based AnimatedIcon for reactions.
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
John Preston
bd42c23999
Implement reactions selector above the menu.
2022-09-02 21:14:30 +04:00
John Preston
fa26afaf9a
Rename several HistoryView::Reactions modules.
2022-09-02 21:14:30 +04:00
John Preston
1e2e007d38
Show custom emoji in private chat reactions.
2022-09-02 21:14:29 +04:00
Ilya Fedin
e20840b4d4
Use KUrlMimeData for clipboard xdg-desktop-portal integration
2022-08-30 20:25:10 +04:00
Ilya Fedin
ceb7d5f238
Use version-less Qt targets and functions whenever possible
2022-08-09 10:42:24 +04:00
John Preston
7a88f9434e
Support OnlyCustomEmoji unwrapped messages.
2022-08-03 20:43:26 +03:00
John Preston
087074fea4
Request song covers through MTProto.
2022-08-02 13:20:38 +03:00
23rd
e84f5aaa3d
Added support of service actions for premium gifts.
2022-07-26 20:12:11 +03:00
John Preston
d3f62d971d
Use unified StickersListFooter for emoji / stickers.
2022-07-26 20:12:10 +03:00
23rd
c7c8ebed13
Added initial box for premium gifts.
2022-07-26 20:12:09 +03:00
John Preston
21aa1323ec
Provide custom emoji factory through MarkedTextContext.
2022-07-26 20:12:08 +03:00
23rd
7b00671ccf
Moved out all values of premium limits to single place.
2022-06-16 13:29:37 +03:00
23rd
c9bd0ab725
Replaced MTP types with type aliases for shared media api.
2022-06-14 18:51:53 +04:00
23rd
13146e9c06
Replaced use of raw MTP* bot commands with new transitional classes.
2022-06-14 18:51:18 +04:00
23rd
5f8608ed90
Moved out BotCommand struct to separated file.
2022-06-14 18:45:12 +04:00
Ilya Fedin
6ee08faa24
Migrate from kwayland to QtWaylandScanner
2022-06-14 16:36:44 +04:00
Ilya Fedin
391a3a77f6
Use Qt's xdg-desktop-portal file dialog implementation
2022-06-14 16:36:44 +04:00
23rd
ba7422805b
Moved items highlighting to separate management module.
2022-06-05 09:11:10 +03:00
John Preston
de31c1cf0c
Subscription status display.
2022-06-02 17:30:01 +04:00
23rd
c138c74ab3
Moved out some ui effects to td_ui.
2022-06-02 01:22:16 +03:00
John Preston
2362d6c6fb
Introduce premium reactions preview box.
2022-05-27 19:42:05 +04:00
John Preston
be16a7725c
Show premium stickers toast on double click.
2022-05-26 12:30:50 +04:00
John Preston
0b2a5a22ba
Update API scheme on layer 143 + transcribe.
2022-05-24 23:38:40 +04:00
23rd
51ed3af14c
Added new section for premium settings.
2022-05-20 13:18:22 +03:00
John Preston
ca731968ca
Improve premium sticker sync / preview.
2022-05-19 17:27:03 +04:00
John Preston
201edb2e69
Play premium video avatars in chats list.
2022-05-19 17:27:03 +04:00
John Preston
739123dedc
Implement simple premium limits boxes.
2022-05-19 17:27:02 +04:00
23rd
a72953411b
Added step section of email confirm to cloud password settings.
2022-05-10 08:53:30 +03:00
23rd
db46f84f2c
Added initial implementation of cloud password management to settings.
2022-05-10 08:53:30 +03:00
23rd
9a57347973
Added step section of email input to cloud password settings.
2022-05-10 08:53:30 +03:00
23rd
c9c988e5f4
Added step section of hint input to cloud password settings.
2022-05-10 08:53:30 +03:00
23rd
5e2acdeaa3
Added step section of password input to cloud password settings.
2022-05-10 08:53:30 +03:00
23rd
5a4d1a1e85
Added first step section to cloud password settings.
2022-05-10 08:53:30 +03:00
23rd
7e3c54f8d0
Added common initial helpers for steps of cloud password settings.
2022-05-10 08:53:29 +03:00
23rd
c27db754a7
Added initial implementation of first screen for local passcode.
2022-05-05 16:52:09 +03:00