Commit Graph

13258 Commits

Author SHA1 Message Date
John Preston 3649cb41e2 Fix build with Xcode. 2022-12-06 16:38:42 +04:00
John Preston cd85c4911c Migrate macOS build to patched Qt 6.3.2.
Fixes #24915.
2022-12-06 16:38:08 +04:00
John Preston 4db2b83c9b Fix Ctrl+Tab/Ctrl+Shift+Tab jumps in topics. 2022-12-06 14:32:46 +04:00
John Preston a1de77e8d2 Improve child list closing. 2022-12-06 14:32:46 +04:00
23rd 6bd2be0aee Added support of drag events to back button in dialogs list. 2022-12-06 12:56:56 +03:00
23rd 1b364f2621 Added support of drag events to filters menu. 2022-12-06 12:56:56 +03:00
23rd 0310d9902c Added ripple animation to right action in messages. 2022-12-06 12:56:56 +03:00
23rd d55d383627 Cached TTL badge in dialogs list. 2022-12-06 12:56:56 +03:00
23rd 84de08cad6 Added separated unread counter to single peer window titles. 2022-12-06 12:56:56 +03:00
23rd cc0b1b1d54 Added option for chat names in titles of single peer windows. 2022-12-06 12:56:56 +03:00
23rd e2205c7251 Fixed build on macOS. 2022-12-06 12:56:56 +03:00
John Preston 2d6bac5a28 Fix background color in collapsed row with child list. 2022-12-06 13:05:05 +04:00
John Preston 7ad26a0fca Fix minimal unwrapped message height as userpic size.
Fixes #25354.
2022-12-06 13:04:38 +04:00
John Preston 48148a8cc3 Revert "Provide the same sizes for tray icon as for main window icon"
This reverts commit f9bf68461d.
2022-12-06 12:55:09 +04:00
John Preston 1be37a10b3 Show info on forum top bar click. 2022-12-06 12:46:10 +04:00
John Preston 4937cea38f Fix reply-to re-appear after voice message sending. 2022-12-06 12:38:46 +04:00
John Preston b775d577a4 Fix forum rounding in folder editing box. 2022-12-06 12:12:07 +04:00
John Preston cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
John Preston 2407ac50bc Improve shading of collapsed chats list. 2022-12-05 10:07:54 +04:00
John Preston fbf3168317 Fix crash in unread bar destruction. 2022-12-05 09:47:54 +04:00
John Preston fe9cf7ddad Report in forum menu, remove from topic menu. 2022-12-05 09:03:31 +04:00
John Preston 88b555e907 Fix incorrect topic names in forum preview row. 2022-12-05 08:55:39 +04:00
23rd 234fdbed4a One more time fixed display of send as button above voice record bar. 2022-12-05 05:35:26 +03:00
23rd 6cb0834d19 Added chat name to titles of single peer windows. 2022-12-05 02:49:34 +03:00
John Preston e26dd4e418 Fix a crash in chats filter results. 2022-12-04 08:00:20 +04:00
John Preston a8c230aba3 Update API scheme on layer 150: AntiSpam admin log. 2022-12-04 08:00:20 +04:00
23rd b81868eeba Simplified drawing of empty userpics in theme previews. 2022-12-04 03:46:44 +03:00
23rd b2e9c4ab75 Moved Ui::EmptyUserpic to td_ui. 2022-12-04 03:46:44 +03:00
23rd a458c89810 Changed default colors for empty userpic backgrounds. 2022-12-04 03:46:44 +03:00
23rd 5df0b08a42 Added support of second colors for empty userpic backgrounds. 2022-12-04 03:46:44 +03:00
23rd c8d273c2a3 Added some icons for global TTL settings and anti-spam. 2022-12-03 18:58:14 +03:00
23rd badebb261b Fixed reporting to anti-spam incorrect message id from admin log. 2022-12-03 18:58:06 +03:00
23rd beb062dd64 Removed requesting of full peers from box of applying TTL for chats.
Since TTL is provided from the dialog info.
2022-12-03 13:51:14 +03:00
John Preston 33c0c79593 Correct unread counter after first topic open. 2022-12-02 21:29:51 +04:00
John Preston 1a9c6749ae Correct pen width in TTL dialogs badge. 2022-12-02 20:51:06 +04:00
John Preston 587715a966 Add jump-to-topic panel to stickers. 2022-12-02 20:32:06 +04:00
John Preston b5cb2bc9f0 Fix build on Qt 5.* for Windows. 2022-12-02 18:31:52 +04:00
John Preston a4e4681835 Add jump-to-topic panel in View as Messages. 2022-12-02 18:20:22 +04:00
John Preston 8281990bb8 Fix some HP device model names on Linux. 2022-12-02 18:20:22 +04:00
23rd 2c1e7bfcb6 Added ability to forward messages to multiple chats. 2022-12-02 17:02:11 +03:00
23rd bd8e7fdddd Moved out sending method of many messages to many peers to single place. 2022-12-02 17:01:11 +03:00
John Preston 037f2bcce2 Fix closing forum by escape. 2022-12-02 13:48:30 +04:00
23rd 819e1602ef Slightly improved style of anti-spam buttons. 2022-12-02 01:46:31 +03:00
23rd fe6ad54836 Fixed crash in translate box for text with spoilers. 2022-12-02 01:23:54 +03:00
23rd 92756f418b Added TTL badge to dialogs list. 2022-12-02 00:28:19 +03:00
23rd cbbbcd877c Added support of switching between corner layers in dialogs list. 2022-12-02 00:25:23 +03:00
John Preston 34f0aae418 Respect topic pin limit from appConfig. 2022-12-01 21:44:32 +04:00
John Preston f0b8ccbd71 Collapse forum row height in narrow layout. 2022-12-01 21:36:26 +04:00
John Preston c200263f2e Don't duplicate Update Telegram / Download Bar. 2022-12-01 19:18:32 +04:00
John Preston 1ff53eb585 Fix opening _childList from archive. 2022-12-01 18:59:03 +04:00
John Preston 32491ead5e Animate child topics list open / close. 2022-12-01 18:03:20 +04:00
John Preston 468d01fc1a Show square rounded photo in forum userpic change message. 2022-12-01 17:48:15 +04:00
John Preston 1c44121db7 Fix forum userpic button if no userpic is set. 2022-12-01 17:43:29 +04:00
John Preston b561705528 Use Window::SlideAnimation in all widgets. 2022-12-01 14:18:37 +04:00
23rd eed706f917 Added ability to filter and report of anti-spam in admin log. 2022-12-01 05:49:33 +03:00
23rd 4bd2091e6e Added initial ability to enable anti-spam mode in megagroups. 2022-12-01 05:49:33 +03:00
23rd 22f45bc1fb Added loading peer animation to peer list content. 2022-12-01 05:49:33 +03:00
23rd 1cc3440fcc Added new loading element animation for peer list. 2022-12-01 05:49:33 +03:00
23rd 1cd4cb3baa Added ability to set TTL on creation groups. 2022-12-01 05:49:33 +03:00
23rd 11165abc09 Removed skip translation setting when it is disabled. 2022-11-30 17:17:16 +03:00
23rd f8a17bd9c9 Moved tmp string for temporary folder to single place. 2022-11-30 17:17:16 +03:00
23rd 47bb04b019 Added ability to download multiple files to custom location. 2022-11-30 17:17:16 +03:00
23rd 8bcb30e84d Added settings link for global TTL to TTL box. 2022-11-30 17:17:16 +03:00
23rd 81c48e1b09 Added phrase of global TTL for new chats. 2022-11-30 17:17:16 +03:00
23rd 377ee7df06 Added ability to apply TTL for multiple chats. 2022-11-30 17:17:16 +03:00
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston ad3f8e72a0 Remove namespace App. 2022-11-30 17:28:09 +04:00
John Preston 01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston eaed91263e Simplify HistoryHider, remove most of uses. 2022-11-30 16:13:31 +04:00
John Preston 188c6ba64a Paint expanded topics indicator. 2022-11-30 13:57:00 +04:00
John Preston 823bbb1b77 Fix jump-to-topic area and unread counter overlapping. 2022-11-30 13:55:46 +04:00
John Preston f324017299 Don't open unread topic on full forum row click. 2022-11-30 13:03:42 +04:00
John Preston 76837c6f44 Fix render glitches in pinned forum reordering. 2022-11-30 13:03:42 +04:00
John Preston 5e6a4d9e8d Fix crash in jump-to-topic from filtered results. 2022-11-30 13:03:42 +04:00
John Preston 01773e5bb1 Fix custom notifications in topics. 2022-11-30 13:03:42 +04:00
John Preston 5d8a2bc7b7 Implement simple sub-column for topics list. 2022-11-30 13:03:42 +04:00
John Preston beaea9c57d Update dialog row height on topic switch. 2022-11-29 23:13:51 +04:00
John Preston 3c799a5cc1 Correctly track General editing service messages. 2022-11-29 23:13:51 +04:00
John Preston 5e20c15c20 Adapt edit topic box to General. 2022-11-29 23:13:51 +04:00
23rd d0ae07f3c2 Added initial implementation of global TTL settings. 2022-11-29 18:03:37 +03:00
23rd 97fa92de0b Added api support for global TTL settings. 2022-11-29 17:41:20 +03:00
23rd c481d48865 Added some phrases for global TTL settings. 2022-11-29 17:41:20 +03:00
John Preston 545cf93d82 Show nice General icon in an empty topic. 2022-11-29 18:30:38 +04:00
John Preston 6ff29b8902 Don't show 'Discussion started' in General topic. 2022-11-29 18:30:38 +04:00
John Preston 623176e901 Show loading state for non-loaded forum topics list. 2022-11-29 18:30:38 +04:00
John Preston 03b35457fa Fix collapsed narrow archive row display. 2022-11-29 18:30:38 +04:00
John Preston 01748d8aba Better General topic support. 2022-11-29 18:30:38 +04:00
John Preston 7866013ab6 Clear draft that failed to be saved. 2022-11-29 18:30:38 +04:00
John Preston ac3834bfdb Support custom icon for General topic. 2022-11-29 18:30:38 +04:00
John Preston 57af221d39 Support General topic somehow. 2022-11-29 18:30:38 +04:00
John Preston 8cd5105813 Fix unread badge render glitch. 2022-11-29 18:30:38 +04:00
John Preston d89573bab5 Update API scheme to layer 150. 2022-11-29 18:30:38 +04:00
23rd 39f9fee22f Added ability to translate peer description. 2022-11-29 15:56:17 +03:00
23rd 6695d7d503 Respected copy restriction on translate box. 2022-11-29 14:57:53 +03:00
23rd 3fdb807a1e Respected new error for occupied usernames in manage channel. 2022-11-29 14:12:57 +03:00
23rd 2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
23rd 22dc7023fc Respected new error for occupied usernames in UsernameBox. 2022-11-29 14:12:50 +03:00
23rd 9946fbbd89 Moved out check info text in UsernameBox to separated row. 2022-11-29 14:12:50 +03:00
23rd fec7febc8e Added small round to document thumbnails in overview layout. 2022-11-29 14:12:50 +03:00
23rd 0b86caef67 Added ability to translate polls. 2022-11-29 14:12:49 +03:00
John Preston c39b9e9635 Add 'Copy Username' context menu to usernames in profiles. 2022-11-29 13:42:09 +04:00
Ilya Fedin 05524c3f6c Don't show reply button in Linux native notifications when it's not supposed to
All modern notification daemons have support for the default action and it's a requirement with the portal spec
2022-11-28 21:55:00 +01:00
Ilya Fedin b9a766387c Replace docker buildx with DOCKER_BUILDKIT=1 environment variable
This seem to work better with distribution-provided Docker
2022-11-28 21:54:37 +01:00
Ilya Fedin 54a0f443b4 Better check for download path availability in sandbox 2022-11-28 12:16:57 +01:00
Ilya Fedin 04a8a9b7ee Update lib_base 2022-11-28 12:12:09 +01: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
Ilya Fedin b383dad6ac Install launcher before registering URL scheme 2022-11-28 12:12:09 +01:00
Ilya Fedin 2bda3c4e2b Don't save temp file for native notification userpics on Linux 2022-11-26 22:15:39 +01:00
Ilya Fedin 4484edd212 Get rid of unneeded QTextStream from GenerateDesktopFile 2022-11-26 17:26:52 +01:00
Ilya Fedin ace363f432 Use GBytesIcon with GNotification
GFileIcon is not supported by xdg-desktop-portal
2022-11-26 17:26:52 +01:00
Ilya Fedin d6ed23b3dd Fix race condition between GApplication and GNotification 2022-11-26 17:26:52 +01:00
Ilya Fedin 9ee4ad95d0 Fix GApplication with some binary paths 2022-11-26 17:26:52 +01:00
Ilya Fedin 4ade80905f Add proper build-time checks to AutostartSupported on Linux 2022-11-26 17:26:52 +01:00
Ilya Fedin 94b4809cdf Get XDG activation token also from DESKTOP_STARTUP_ID 2022-11-25 15:11:25 +01:00
Ilya Fedin 109f6614f0 Unset XDG_ACTIVATION_TOKEN after used with GApplication 2022-11-25 15:11:25 +01:00
23rd 88b0ea70b3 Respected download manager when loading multiple files from menu. 2022-11-25 16:42:47 +03:00
23rd b9003202bf Removed differentiation of replies by color in channels. 2022-11-25 16:42:47 +03:00
23rd 53c4b511f8 Fixed different configuration flags for FFmpeg on macOS. 2022-11-25 16:01:41 +03:00
John Preston b474db2106 Version 4.3.4.
- Fix OpenGL regression in Qt and language detection.
2022-11-25 12:21:45 +01:00
Ilya Fedin ca408828c1 Update patches on Linux 2022-11-25 12:20:12 +01:00
Ilya Fedin e561f93d44 Revert "Implement sonnet-based language detection backend"
This reverts commit 4b2d8b0c53.
2022-11-25 12:20:12 +01:00
Ilya Fedin 5df4dd36a7 Update Python to 3.8 in Docker 2022-11-25 11:14:15 +01:00
John Preston 1e6937a075 Version 4.3.3.
- Fix an issue with media auto-download on Windows.
- Fix switching accounts in maximized window.
- Fix collapsed archive row layout.
2022-11-23 23:09:31 +01:00
John Preston d714c1edc0 Update submodules. 2022-11-23 23:01:05 +01:00
John Preston ebf46e1270 Paint unread counter in expanded archive row. 2022-11-23 23:01:05 +01:00
John Preston 116a598508 Fix displaying of collapsed archive row. 2022-11-23 23:01:05 +01:00
23rd f9a14fc6bc Fixed first check for skipping translation. 2022-11-23 23:01:05 +01:00
23rd 7cdc3eb2b2 Fixed translation of non-server messages. 2022-11-23 23:01:04 +01:00
23rd 294432ceed Differentiated replies in groups by color. 2022-11-23 23:01:04 +01:00
23rd 551bf4f9a7 Switched default language for skip translation to application language. 2022-11-23 23:01:04 +01:00
Ilya Fedin 4b2d8b0c53 Implement sonnet-based language detection backend 2022-11-23 23:00:06 +01:00
John Preston ae90347c6c Revert "Fixed switching between accounts with filters at screen edge."
This reverts commit 8f3c3b2a54.

Regressions with account switch in a maximized window.
2022-11-23 00:44:31 +01:00
John Preston 1aece79a47 Version 4.3.2.
- Enable message translations in Settings > Language.
- Fast jump to the last updated topic.
- Bug fixes and other minor improvements.
2022-11-22 00:28:07 +00:00
John Preston 79a2d85287 Fix build with GCC. 2022-11-22 00:28:07 +00:00
23rd 937d243a4c Respected translation preferences in sections. 2022-11-22 00:28:07 +00:00
23rd f82bae15f0 Added translation preferences. 2022-11-22 00:28:07 +00:00
23rd 7aede75e43 Added external cld3 library. 2022-11-22 00:28:03 +00:00
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
John Preston 2de76cb75b Highlight primary usernames in profiles like the additional ones. 2022-11-22 00:26:49 +00:00
John Preston ab06574fd9 Add some margin for one-line profile values copying. 2022-11-22 00:26:49 +00:00
John Preston 473e190aeb Fix single-column forum-by-user search. 2022-11-22 00:26:49 +00:00
John Preston 4b5a0942b1 Open just topic in quick jump-to-last-topic click. 2022-11-22 00:26:49 +00:00
John Preston 106bdae9ce Always open first topic in two-column layout. 2022-11-22 00:26:49 +00:00
John Preston f97e5d6307 Fix build with Xcode. 2022-11-22 00:26:49 +00:00
John Preston bb106b07af Show small unread mark for non-opened topics. 2022-11-22 00:26:49 +00:00
John Preston ce631436bf Show non-read non-opened topics as unread. 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 6db7840fa7 Added translate ability to context menu. 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