Commit Graph

6837 Commits

Author SHA1 Message Date
John Preston 69d3414594 Improve empty chat list layout. 2020-03-31 12:36:33 +04:00
John Preston 9ef41062d3 Ignore whitespaces in dice sending. 2020-03-30 23:53:10 +04:00
John Preston c2ff27793a Try to use Ctrl+1..Ctrl+8 for folders. 2020-03-30 23:34:07 +04:00
John Preston 2f7563767d Fix crash in archive / pinned in folder management. 2020-03-30 21:04:49 +04:00
John Preston f4822cf558 Version 2.0.
- Organize chats into Chat Folders if you have too many chats.
- Create custom folders with flexible settings,
or use default recommendations.
- Pin an unlimited number of chats in each folder.
- Switch between folders in the new side bar
to easily access all of your chats.
- Send :dice: to any chat to try your luck and get
a random number from the animated dice.
- Send :virus:, 🤒, 😷,
🤕, :sneeze:, :sick:, 🧼 or 🚑
to try out the new animated emoji.
2020-03-30 16:56:15 +04:00
John Preston 8c6b5caa57 Fix possible crash in inconsistent HistoryWidget state. 2020-03-30 16:43:09 +04:00
John Preston 31ba2828af Add a tooltip with information about the dice. 2020-03-30 15:21:16 +04:00
John Preston 7b44d107c9 Don't use default title if it doesn't fit. 2020-03-30 15:10:08 +04:00
John Preston 2379812890 Move add exceptions button to the top. 2020-03-30 15:00:50 +04:00
John Preston 570ab663b7 Use cache for remembered last dice frames. 2020-03-30 14:57:14 +04:00
John Preston 2feaa85ed9 Fix fontconfig fallback for snap. 2020-03-30 13:51:02 +04:00
John Preston 49111814e4 Add fallback codepath for QSaveFile::open failure. 2020-03-30 13:46:58 +04:00
John Preston 0d58f1c9fa Try system font config once in snap build. 2020-03-30 12:18:50 +04:00
Ilya Fedin 86b9927965 Log global menu usage 2020-03-29 14:17:11 +04:00
Ilya Fedin aa4968faaa Re-use fontconfig fallback code in snap 2020-03-29 14:14:56 +04:00
John Preston c89c98183d Handle some updates even while not authed. 2020-03-29 14:06:10 +04:00
John Preston c209aedb22 Fix dice animating to the last frame.
I hope this fixes #7465.
2020-03-29 13:47:07 +04:00
John Preston 90a1cea515 Fix forwarded dice size.
Fixes #7472.
2020-03-29 13:35:14 +04:00
John Preston dba5c75ef1 Fix adding first proxy to the list.
Fixes #7458.
2020-03-29 13:05:32 +04:00
John Preston 0b13ee7f7d Scroll-by-drag in folders when reordering pinned.
Fixes #7459.
2020-03-29 12:57:59 +04:00
John Preston 484ec06b0c Don't accidentally close edit folder box. 2020-03-29 12:52:20 +04:00
John Preston b095091d03 Fix removing pinned dialog from folder. 2020-03-29 12:42:51 +04:00
John Preston 735f7709b9 Fix sending videos larger than 720p. 2020-03-29 12:42:51 +04:00
23rd df290605f4 Added ability to switch between folders with shortcuts. 2020-03-29 02:04:20 +03:00
23rd 7b583596ec Added ability to scroll vertical layout during reordering.
Updated lib_ui.
2020-03-28 18:53:08 +03:00
23rd 09bc3eefdb Added ability to open folders with shortcuts. 2020-03-28 18:20:13 +03:00
23rd 49e286b04c Added scroll to active and not completely visible SideBarButtons. 2020-03-28 18:20:13 +03:00
John Preston deb76f38d7 Beta version 1.9.22: Fix GCC build. 2020-03-27 22:34:25 +04:00
John Preston 13feafad2f Beta version 1.9.22.
- Organize chats into Chat Folders if you have too many chats.
2020-03-27 20:36:07 +04:00
23rd 15db48b0cc Added application name as exception word for spell checker. 2020-03-27 20:36:07 +04:00
23rd b831adbadd Limited maximum number of suggestions to 5 for Hunspell.
Updated Hunspell submodule.
2020-03-27 20:36:06 +04:00
John Preston 30a3e7b78b Improve layout of edit filter box. 2020-03-27 20:36:06 +04:00
John Preston eb120e2f5d Support tg://settings(/folders)? link. 2020-03-27 20:36:06 +04:00
John Preston cdff0ea9c7 Add a counter for all chats filter. 2020-03-27 20:36:06 +04:00
John Preston c5b8ddabac Scroll to top of the filter on second click. 2020-03-27 20:36:06 +04:00
John Preston 7ea364e611 Fix closing filter by escape. 2020-03-27 20:36:06 +04:00
John Preston 5dfbec17cd Fix via @bot information in stickers. 2020-03-27 20:36:06 +04:00
John Preston 1ed57238a7 Allow deleting images in ~DocumentData. 2020-03-27 20:36:06 +04:00
John Preston fc5dbc6003 Use animated emoji size for the Dice. 2020-03-27 20:36:06 +04:00
John Preston 0c2d8f1b6e Allow open folders by 'folders' code. 2020-03-27 20:36:06 +04:00
John Preston bf5356fd91 Allow mentions in service notifications. 2020-03-27 20:36:06 +04:00
John Preston c3b807d483 Load folders exceptions after 100 chats. 2020-03-27 20:36:06 +04:00
John Preston b054c3e7e6 Closed alpha version 1.9.21.3. 2020-03-27 20:36:06 +04:00
John Preston fdabdc3626 Refresh filter chats count in filter settings. 2020-03-27 20:36:06 +04:00
John Preston fe73251d8e Add edit filter link to empty dialogs list. 2020-03-27 20:36:06 +04:00
John Preston 9ba3b11c96 Fix description of channel recent actions section. 2020-03-27 20:36:06 +04:00
John Preston 12b18829f0 Add context menu to filters side bar. 2020-03-27 20:36:06 +04:00
John Preston ae7529004d Fix choose folder for Export on macOS. 2020-03-27 20:36:06 +04:00
John Preston f38e9763b6 Close media viewer when showing file in folder. 2020-03-27 20:36:06 +04:00
John Preston 36d3dcd6d8 Fix marking scheduled out messages as read. 2020-03-27 20:36:06 +04:00
John Preston 4c7f8a4bbb Improve filters phrases. 2020-03-27 20:36:05 +04:00
John Preston 39a8df8383 With sidebar open settings in layer. 2020-03-27 20:36:05 +04:00
John Preston 4f718aeead Add filter icons to Settings -> Folders. 2020-03-27 20:36:05 +04:00
John Preston e8bf5bb5ce Move manage filters to a Settings section. 2020-03-27 20:36:05 +04:00
John Preston 568325f201 Show folders in settings async. 2020-03-27 20:36:05 +04:00
John Preston a7906f14ed Update submodules. 2020-03-27 20:36:05 +04:00
John Preston 01c79f917e Add limits on video frame size.
Any video that starts streaming is limited to 4K.
Any in-chat streaming is limited to full hd.
Any GIF panel animation is limited to 720p.
2020-03-27 20:36:05 +04:00
John Preston 2c0b852dad Limit image size the app tries to read.
This will prevent some OOM crashes.
2020-03-27 20:36:05 +04:00
John Preston d5b8fc703e Fix Ctrl+[1-5] jump to pinned in folders. 2020-03-27 20:36:05 +04:00
John Preston 6022fa790e Fix fakeUnreadWhileOpened flag reset. 2020-03-27 20:36:05 +04:00
John Preston aa88ee6d88 Reset chosen filter on Escape. 2020-03-27 20:36:05 +04:00
John Preston 8cdf8d5edc Fix legacy group admin status in members dropdown.
Fixes #6347.
2020-03-27 20:36:05 +04:00
John Preston bba511409f Fix layout of cloud themes in a narrow window. 2020-03-27 20:36:05 +04:00
John Preston 71fc7a1b4e Closed alpha version 1.9.21.2. 2020-03-27 20:36:05 +04:00
John Preston a9ff9ac501 Fix one active icon. 2020-03-27 20:36:05 +04:00
John Preston 3ac33e4c1c Leave unread chats in filter until closed. 2020-03-27 20:36:05 +04:00
John Preston 1be6d968e0 Allow emoji suggestions in filter titles. 2020-03-27 20:36:05 +04:00
John Preston 0063edb14f Support saved messages in filters edit. 2020-03-27 20:36:05 +04:00
John Preston 48f67d27f1 Fix active icon states. 2020-03-27 20:36:05 +04:00
John Preston b1606821c0 Suggest filter name by content type. 2020-03-27 20:36:04 +04:00
John Preston 2dbaee4fe1 Filter only chats from the list in exceptions. 2020-03-27 20:36:04 +04:00
John Preston b42ba1a7a3 Fix switch-to-filter in single column mode. 2020-03-27 20:36:04 +04:00
John Preston 1de9352f3a Don't close filter by escape. 2020-03-27 20:36:04 +04:00
John Preston ab16e8e083 Improve archive <-> filter navigation. 2020-03-27 20:36:04 +04:00
John Preston b8684af537 Improve filters reordering. 2020-03-27 20:36:04 +04:00
John Preston 18805a5ef8 Allow reordering filters in side bar. 2020-03-27 20:36:04 +04:00
John Preston ba6373a0ae Fix filter icon panel wrong hiding. 2020-03-27 20:36:04 +04:00
John Preston b3f8e27661 Improve error phrase about pin limit. 2020-03-27 20:36:04 +04:00
John Preston c4a0bc1fd5 Allow selecting custom filter icons. 2020-03-27 20:36:04 +04:00
John Preston ce7621fbd9 Read and write special filter icon emoji. 2020-03-27 20:36:04 +04:00
John Preston 9ad5b8ff90 Add special filters icons. 2020-03-27 20:36:04 +04:00
John Preston 03da4a5680 Fix pinned chats limit. 2020-03-27 20:36:04 +04:00
John Preston 1ea42116d2 Fix adding Saved Messages exception to filters. 2020-03-27 20:36:04 +04:00
John Preston a13042ac6a Improve edit filter phrases. 2020-03-27 20:36:04 +04:00
John Preston 4b8a42fafd Fix crash in forwarded dice media. 2020-03-27 20:36:04 +04:00
John Preston f643b5f725 Closed alpha version 1.9.21.1. 2020-03-27 20:36:03 +04:00
John Preston dc49f7e6dc Load all archive after the main list for filters. 2020-03-27 20:36:03 +04:00
John Preston ad8b0387f3 Improve phrases for loading / empty filters. 2020-03-27 20:36:03 +04:00
John Preston f0322cd107 Fix filters unread counters. 2020-03-27 20:36:03 +04:00
John Preston 36b9911995 Fix crashes in filter chats list editing. 2020-03-27 20:36:03 +04:00
John Preston 455d113955 Fix small column layout with filters side bar. 2020-03-27 20:36:03 +04:00
John Preston 4b618aeb6c Fix saving filters. 2020-03-27 20:36:03 +04:00
John Preston ffc65f7da4 Add folders menu to Settings. 2020-03-27 20:36:03 +04:00
John Preston 4881981cf6 Enable / disable side bar based on filters. 2020-03-27 20:36:03 +04:00
John Preston 3c0ee9fa20 Fix filter chats list edit box title. 2020-03-27 20:36:03 +04:00
John Preston e36a66b971 Fix build for macOS. 2020-03-27 20:36:03 +04:00
John Preston 55900bbd3d Save pinned chats in filters to server. 2020-03-27 20:36:03 +04:00
John Preston e27a8fe058 Support pinned locally in filters. 2020-03-27 20:36:03 +04:00
John Preston 483d4e5a4e Support filters side bar in built-in themes. 2020-03-27 20:36:03 +04:00
John Preston 66c0d51f96 Show unread badges in filters. 2020-03-27 20:36:03 +04:00
John Preston 38a744fe5b Count unread messages in Dialogs::MainList. 2020-03-27 20:36:02 +04:00
John Preston 9636617798 Show selected chats types in search input. 2020-03-27 20:36:02 +04:00
John Preston b88f0108ad Edit chat types in filters. 2020-03-27 20:36:02 +04:00
John Preston 13fe0b6272 Allow adding chats to filter exceptions. 2020-03-27 20:36:02 +04:00
John Preston d5bd9fa54d View filter box, removing chats and chat types. 2020-03-27 20:36:02 +04:00
John Preston a091e73686 Show different filter icons. 2020-03-27 20:36:02 +04:00
John Preston 2fb2fa9661 Handle last suggestion being added. 2020-03-27 20:36:02 +04:00
John Preston b8c11f3d8c Manage filters: delete, add suggested. 2020-03-27 20:36:02 +04:00
John Preston ca3419ef24 Make filtered lists independent from folders. 2020-03-27 20:36:02 +04:00
John Preston c305246d21 Move sidebar mainmenu button outside the scroll. 2020-03-27 20:36:02 +04:00
John Preston fcfb268677 Show some special filter icons. 2020-03-27 20:36:02 +04:00
John Preston 48d790de5e Move main menu button to the side bar. 2020-03-27 20:36:02 +04:00
John Preston f8cc134bd6 Send dice emoji as Dice media. 2020-03-27 20:36:02 +04:00
John Preston c279986493 Move filters side bar inside bodyWidget. 2020-03-27 20:36:02 +04:00
John Preston 2cefccc6eb Start with the end Dice animation in forwarded. 2020-03-27 20:36:02 +04:00
John Preston e7ca405e8c Show forwarded info in Dice media. 2020-03-27 20:36:02 +04:00
John Preston c83e297554 Implement dice media display. 2020-03-27 20:36:02 +04:00
John Preston d4b9b65724 First version of the filters side bar. 2020-03-27 20:36:01 +04:00
John Preston 11d31ffc84 Parse and apply cloud filters. 2020-03-27 20:36:01 +04:00
John Preston ed715fb810 Update API scheme to layer 111. 2020-03-27 20:36:01 +04:00
John Preston 2f1ee6f1fa Show two hardcoded filters in Ui. 2020-03-27 20:36:01 +04:00
John Preston 71f7aae948 Replace dialogs mode with filters. 2020-03-27 20:36:01 +04:00
Ilya Fedin 13e8b60d6c Don't recreate tray icon if it is disabled 2020-03-24 17:21:00 +04:00
Aleksey Kiporskiy 6c46194009 bugfix: show chat description 2020-03-24 14:56:30 +04:00
Кипорский Алексей ea854e5be3 bugfix: incorrect erase element 2020-03-24 11:31:38 +04:00
Ilya Fedin d2291f5b17 Fix panel icon forcing 2020-03-19 01:02:15 +04:00
John Preston 0bd2d951fb Version 1.9.21.
- Mark new messages as read while scrolling down through them.
- Improved spellchecking on Windows 7 and Linux.
2020-03-16 22:49:16 +04:00
John Preston 4bd55605d9 Revert "Set application display name"
This reverts commit fda8a38bfc.

Fixes #7380.
2020-03-16 17:41:47 +04:00
John Preston 7b51383b3b Force animation unload in inline results.
Fixes #7335.
2020-03-16 17:41:35 +04:00
Ilya Fedin 9823615a84 Check if icon has desired size when saving 2020-03-16 16:57:22 +04:00
Ilya Fedin 0b5eb47b37 Avoid usage of QDBusInterface in StatusNotifierItem to avoid crashes 2020-03-16 13:12:32 +04:00
Ilya Fedin d47e94ea4d Fallback to launcher basename if FLATPAK_ID variable is empty 2020-03-16 13:04:52 +04:00
Ilya Fedin da926d7f10 Disable SNI tray icon name setting in snap
Otherwise there are a dummy icon when tray counter is disabled
2020-03-16 13:03:53 +04:00
Ilya Fedin 99a8c93ac1 Fix build with gcc 9 2020-03-16 13:00:16 +04:00
John Preston fec6a8dd96 Beta version 1.9.20: Fix build without dbus. 2020-03-14 16:13:33 +04:00
Ilya Fedin 46445e0542 Implement global menu on Linux 2020-03-14 15:32:10 +04:00
Ilya Fedin 5f33abd391 Change tray implementation on demand 2020-03-14 15:26:13 +04:00
John Preston 6777b20453 Beta version 1.9.20: Fix build on GCC. 2020-03-14 14:11:41 +04:00
John Preston 3a3207f15a Beta version 1.9.20.
- Fix crash in shared links search.
- Fix blurred thumbnails in albums with video files.
- Fix a possible crash in animated stickers rendering.
2020-03-14 13:45:49 +04:00
John Preston 1492571232 Fix members dropdown and mention autocomplete.
Fixes #7345.
2020-03-13 23:14:23 +04:00
John Preston 084b9ce4de Update lib_spellcheck. 2020-03-13 22:56:50 +04:00
23rd 95d8bb01ac Guarded paletteChanged handling in touchbar's PinnedDialogButton. 2020-03-13 22:56:38 +04:00
John Preston 6bf3dd10c1 Make checked read of sticker sets order.
In case local data is corrupted previously it lead to OOM crash.
2020-03-13 22:53:59 +04:00
John Preston 07eab8555a Fix crash in lottie animation destroy-on-init. 2020-03-13 22:53:59 +04:00
John Preston 14aa455164 Fix freeze in complex file location saving.
Fixes #6986.
2020-03-13 22:53:59 +04:00
John Preston 1df1b9fb53 Fix build with external minizip. 2020-03-13 22:53:59 +04:00
John Preston 854bc9f84a Fix blurred thumbnails in albums.
Regression was introduced in dc146cb1fe.

Once again fixes #6332.
2020-03-13 22:53:59 +04:00
Ilya Fedin fb99b9b547 Disable neon in ffmpeg to fix videos and animated stickers on arm architectures 2020-03-13 16:56:01 +04:00
Ilya Fedin fda8a38bfc Set application display name 2020-03-13 11:25:43 +04:00
Ilya Fedin 229d15c492 Add tag `launchable` into linux appdata 2020-03-13 11:01:54 +04:00