Commit Graph

6054 Commits

Author SHA1 Message Date
John Preston 60640c7087 Version 1.8.12: Fix 'edited' badge display. 2019-10-02 12:08:31 +03:00
RadRussianRus 982edcb310 Resize message with photo when bubbled 2019-10-02 11:56:33 +03:00
Jiachen YANG c164985233 tweak vs2019 compiler settings to be compatible with newer range-v3 2019-10-02 11:52:55 +03:00
Jiachen YANG 497df7f4b2 change deprecated ranges::to_ to ranges::to (no underscore) 2019-10-02 11:52:55 +03:00
Jiachen YANG 56aab1aa07 explicitly specify the upper bound in ranges::view::ints 2019-10-02 11:52:55 +03:00
Jiachen YANG 8abeb4a9db include range/v3/range/conversion.hpp instead of range/v3/to_container.hpp 2019-10-02 11:52:55 +03:00
Jiachen YANG 9d850b71e7 be compatible with range-v3 0.9.x/1.0 branch
This made 2 changes to the current code base to be compatible with higher versions of range-v3 library.
1. ranges::iterator_range was renamed to subrange, see https://github.com/ericniebler/range-v3/issues/766
2. PercentCounterItem need an operator== for ranges::sort for some reason
2019-10-02 11:52:55 +03:00
RadRussianRus 684cfa16b8 Do not show edit timer for supergroup admins 2019-10-02 11:31:43 +03:00
John Preston 2cb7d76417 Optimize unixtime refresh. 2019-10-02 11:30:50 +03:00
23rd 9bf8b619fe Refactored ability to display media preview from touchbar. 2019-10-02 11:30:23 +03:00
John Preston 664162982c Version 1.8.12: Fix build for old OS X. 2019-10-02 11:21:56 +03:00
John Preston 718f862be0 Version 1.8.12: Fix build for Mac App Store. 2019-10-02 11:21:02 +03:00
John Preston 489bd22828 Version 1.8.12.
- Bug fixes and other minor improvements.
2019-10-02 11:18:23 +03:00
John Preston 65b5a29288 Fix local url handling.
Regression was introduced in 849deb57e2.

Fixes #6622.
2019-10-02 11:11:03 +03:00
John Preston bf345da87b Version 1.8.11: Fix build for Xcode. 2019-10-02 00:57:16 +03:00
John Preston 1e5aa2a78d Version 1.8.11.
- Bug fixes and other minor improvements.
2019-10-01 23:59:46 +03:00
John Preston 8cf62c312f Allow not to cache emoji sprites. 2019-10-01 23:59:46 +03:00
John Preston 3b0bf7cb1e Move some more widgets and effects. 2019-10-01 23:59:46 +03:00
John Preston 673072ea5b Reorganize GYP files. 2019-10-01 23:59:46 +03:00
John Preston 849deb57e2 Move many widget classes to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston dda587a2fc Move QtConnectionOwner to base/qt_connection. 2019-10-01 23:59:46 +03:00
John Preston c057f28425 Move standard buttons to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston a16c6ca41a Support more request types. 2019-10-01 23:59:46 +03:00
John Preston c5845f17ae Remove twidget header. 2019-10-01 23:59:46 +03:00
John Preston e2f54eb3e9 Move some style code to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston 5a1c8e6a0a Move fonts to a separate .qrc file. 2019-10-01 23:59:46 +03:00
John Preston b73390a3f6 Support emoji in popup menu items. 2019-10-01 23:59:46 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston a87529b8c9 Version 1.8.10.
- Bug fixes and other minor improvements.
2019-10-01 23:59:46 +03:00
John Preston 0c30bbf40a Fix file reference refresh in stickers / GIFs.
Fixes #6592.
2019-09-30 13:25:09 +03:00
John Preston f75bfb4369 Version 1.8.9.
- Bug fixes and other minor improvements.
2019-09-27 20:04:25 +03:00
John Preston 0c34ba638c Don't show revoke checkbox in Saved Messages. 2019-09-27 20:01:36 +03:00
John Preston 4af9c801ae Don't show sticker suggestions if can't send.
Fixes #6581.
2019-09-27 19:56:54 +03:00
John Preston e06bf16980 Improve name / title limits. 2019-09-27 19:46:27 +03:00
John Preston 1018745b0b Fix userpic display in custom notifications.
Fixes #6532.
2019-09-27 19:36:19 +03:00
John Preston 47b157bf32 Fix possible crash in custom notifications. 2019-09-27 18:53:44 +03:00
John Preston 09547bd6d5 Fix possible crash in scheduled messages. 2019-09-27 18:49:49 +03:00
udf f11339361d Make "All Users" checkbox behave like the "All Actions" checkbox 2019-09-27 18:04:50 +03:00
John Preston 04b9d4bdb5 Fix animated emoji reloading. 2019-09-11 14:00:18 +03:00
John Preston 1d8d2b6251 Fix theme link preview title. 2019-09-10 18:30:47 +03:00
John Preston 190bf8fc5f Version 1.8.8.
- Create new themes based on your color and wallpaper choices.
- Share your themes with other users via links.
- Update your theme for all its users when you change something.
2019-09-10 14:22:20 +03:00
John Preston f463d3ec6d Divide autoupdate paths for OS versions. 2019-09-10 14:22:20 +03:00
23rd f9d10094ac Added warning when try to attach new media while editing message. 2019-09-10 14:22:20 +03:00
RadRussianRus 9fc87c3cb8 Fix last message tail drawing in theme preview 2019-09-10 10:48:20 +03:00
John Preston c4bc76c022 Beta version 1.8.7.
- Bug fixes and other minor improvements.
2019-09-10 00:52:34 +03:00
John Preston 241f5e1d26 Make theme preview fit in minimal window size. 2019-09-10 00:50:15 +03:00
John Preston 76f0abecfd Show sticker set on Ctrl+Click in stickers list. 2019-09-10 00:48:34 +03:00
John Preston ca45fb617e Fix applying background after theme edit. 2019-09-10 00:36:16 +03:00
John Preston dfd63e66ff Add import theme to the editor. 2019-09-09 23:58:41 +03:00
John Preston d85f162bff Fix saving cloud themes from media viewer. 2019-09-09 23:58:30 +03:00
John Preston 1d4fbc64e2 Ensure theme list radiobutton contrast. 2019-09-09 23:25:54 +03:00
John Preston 9fd32fc85b Ensure contrast in critical theme parts. 2019-09-09 23:02:24 +03:00
John Preston f7f195eb98 Fix transfer ownership button visibility.
Regression was introduced in 569340c7d3.
2019-09-09 21:07:12 +03:00
John Preston 12c7bd8ee1 Suggest theme title based on accent color. 2019-09-09 20:27:07 +03:00
John Preston cd5ef069c0 Ask to unlock Telegram before saving theme. 2019-09-09 20:26:53 +03:00
John Preston f90fdce422 Fix crash on quit from passcode with a box. 2019-09-09 18:54:38 +03:00
John Preston 423254f7eb Fix theme editor closing in a small window.
Fixes #6510.
2019-09-09 18:37:04 +03:00
John Preston c9c0d74b68 Fix build for Linux. 2019-09-09 17:50:26 +03:00
John Preston 8bf6013342 Add 'Export theme' / 'Show palette file' menu. 2019-09-09 17:44:08 +03:00
John Preston c1ab1acd44 Fix crash in scheduled messages 'Send Now'. 2019-09-09 17:43:39 +03:00
John Preston 90b955534a Beta version 1.8.6: Improve theme preview. 2019-09-09 16:13:16 +03:00
John Preston 61c7bf2f5e Beta version 1.8.6.
- Bug fixes and other minor improvements.
2019-09-09 14:56:55 +03:00
John Preston ee5423762a Generate previews for cloud theme links. 2019-09-09 14:56:05 +03:00
John Preston 6d29dc3b36 Apply themes in settings without preview. 2019-09-09 12:13:07 +03:00
John Preston aa10934e85 Fix messing up accent color if editor is opened. 2019-09-09 12:02:06 +03:00
John Preston 9ff1fbcf47 Support theme document file origins. 2019-09-09 11:51:07 +03:00
John Preston 51c1dc20e1 Unregister randomId if send message fails. 2019-09-09 11:13:41 +03:00
John Preston 3a3bf84cfc Fix crash in SeparatePanel destruction.
We should destroy layers before panel widget destructor started.
We do it already for MainWindow in clearWidgetsHook.
2019-09-09 10:52:03 +03:00
John Preston 037b936613 Fix possible crash with emoji load failure. 2019-09-09 10:45:18 +03:00
John Preston b631d09a40 Fix possible crash in event loop nesting. 2019-09-09 10:45:18 +03:00
John Zimmermann fd4f384c3b Allow GDK wayland backend when Telegram is running under Wayland
and make sure that it never tries to load gtk2 under wayland, it can
lead to Telegram crashing
2019-09-09 10:25:01 +03:00
RadRussianRus 428a501bac Show Beginning button only for message date
Also hide button when you're already at beginning.
2019-09-09 10:17:23 +03:00
RadRussianRus 3ca57ae50d Added "Beginning" button to calendar 2019-09-09 10:17:23 +03:00
RadRussianRus f1eddcd584 Make link preview title clickable 2019-09-09 10:15:32 +03:00
Sameer Hoosen f979df3dfe Allow searching for messages by a user who has left a chat (#6417)
Fixes #5667
2019-09-09 10:05:29 +03:00
John Preston eebcdb842d Generate previews async in cloud themes list. 2019-09-09 09:59:57 +03:00
John Preston 048658f838 Fix deleting theme from the list. 2019-09-09 08:54:17 +03:00
John Preston 8fd17e2e8f Fix theme with background with colorizer. 2019-09-09 08:53:16 +03:00
John Preston 5c13214244 Beta version 1.8.5: Fix build for old OS X. 2019-09-08 23:42:40 +03:00
John Preston 12a020cd09 Beta version 1.8.5: Fix build for Linux. 2019-09-08 23:38:45 +03:00
John Preston b98e02f326 Beta version 1.8.5: Fix build on macOS. 2019-09-08 23:04:25 +03:00
John Preston 9a521c5340 Beta version 1.8.5.
- Create new themes based on your color and wallpaper choices.
- Share your themes with other users via links.
- Update your theme for all its users when you change something.
2019-09-08 21:38:58 +03:00
John Preston 5f26e92f5c Fix scheduled messages from ShareBox.
Fixes #6497.
2019-09-08 21:26:17 +03:00
John Preston 3d78c637a2 Strip editor information from palette. 2019-09-08 21:21:54 +03:00
John Preston 2ab2eed633 Push new saved theme to the list. 2019-09-08 21:05:35 +03:00
John Preston bb7018424a Copy adjusted color values to editor. 2019-09-08 21:00:31 +03:00
John Preston a770b5d4cd Allow share and remove cloud themes. 2019-09-08 20:32:25 +03:00
John Preston c92a9585e1 Check changes when saving theme. 2019-09-08 19:29:43 +03:00
John Preston cedb2d31af Check palette changes on editor cancel. 2019-09-08 16:40:15 +03:00
John Preston 95da2dbc34 Move create theme button to three-dot menu. 2019-09-08 15:47:22 +03:00
John Preston f9b2a8d6ac Show progress in theme saving. 2019-09-08 14:52:42 +03:00
John Preston a773ad7b02 Fix reverting edited theme values. 2019-09-06 19:31:07 +03:00
John Preston 32287a51f9 Don't show warning on theme autoupdate. 2019-09-06 19:31:07 +03:00
John Preston 37a4c79c81 Open theme preview after loading. 2019-09-06 19:31:07 +03:00
John Preston 95ee17bd54 Optimize theme edit data clearing. 2019-09-06 19:31:07 +03:00
John Preston 469c6770fb Handle t.me/addtheme links. 2019-09-06 19:31:07 +03:00
John Preston e38123cc48 Send theme install requests. 2019-09-06 19:31:07 +03:00
John Preston e3d7bf771f Update current theme in realtime. 2019-09-06 19:31:07 +03:00
John Preston 1cda90c3c5 Check fields before uploading theme. 2019-09-06 19:31:07 +03:00
John Preston 9c86f0e0a5 Save themes, apply and close editor on save. 2019-09-06 19:31:07 +03:00
John Preston 910f16312c Show not supported themes placeholders. 2019-09-06 19:31:07 +03:00
23rd 639b4bdd27 Fixed badge update during theme testing. 2019-09-06 19:31:07 +03:00
John Preston 4951eeac98 Allow creating desktop part of multi-theme. 2019-09-06 19:31:07 +03:00
John Preston 79106e0c01 Correctly show custom themes in list. 2019-09-06 19:31:07 +03:00
John Preston 7485f0c960 Don't change real theme when editing. 2019-09-06 19:31:07 +03:00
John Preston 03bdd80b2f Open theme editor for existing themes. 2019-09-06 19:31:07 +03:00
John Preston dd74f57a66 Display full themes list in Settings. 2019-09-06 19:31:07 +03:00
John Preston 534772722e Improve theme selector design. 2019-09-06 19:31:07 +03:00
John Preston 6343221d7b Remove many includes from stdafx.pch. 2019-09-06 19:31:07 +03:00
John Preston 4929de2bfb Apply cloud themes. 2019-09-06 19:31:06 +03:00
John Preston ac8f924909 Show tdesktop cloud themes in a box. 2019-09-06 19:31:06 +03:00
John Preston 95afcbb485 Format a valid theme file name. 2019-09-06 19:31:06 +03:00
John Preston 229bc56cc8 Upload saved theme to the cloud. 2019-09-06 19:31:06 +03:00
John Preston 4b045a602c Add a box for new theme creating. 2019-09-06 19:31:06 +03:00
John Preston 1e3b72ab74 Ignore background when checking which theme is used. 2019-09-06 19:31:06 +03:00
John Preston bc63d9fe53 Fix check display in background box. 2019-09-06 19:31:06 +03:00
John Preston d7cb8b7065 Version 1.8.4: Fix crash in local messages. 2019-09-06 16:41:43 +03:00
John Preston 30f4d870c5 Version 1.8.4: Fix crash on failed message delete. 2019-09-06 14:46:09 +03:00
John Preston ad515c6f4a Version 1.8.4.
- Bug fixes and other minor improvements.
2019-09-06 14:39:04 +03:00
John Preston 056949416d Apply some rlottie fixes. 2019-09-06 14:37:41 +03:00
John Preston ab6d9ff73c Fix sending first message in chat. 2019-09-06 14:14:04 +03:00
John Preston 8b766dda8e Fix crash in scheduled message in admin log.
Fixes #6495.
2019-09-06 12:20:59 +03:00
John Preston ee0f66d746 Fix crash in history clear while sending messages.
Don't remove messages that are currently being sent from locals.
2019-09-06 10:56:01 +03:00
John Preston 7893ad0558 Mark all types of local history items. 2019-09-06 10:53:44 +03:00
John Preston b0c5a75fb9 Version 1.8.3.
- Right click the 'Send' button and select 'Schedule Message'
to automatically send something at a specified time.
- Schedule reminders for yourself in the 'Saved Messages' chat.
- Get a notification when any of your scheduled messages are sent.
- Customize your app's appearance by choosing accent colors
for the 'Day', 'Night' and 'Tinted' themes.
- Choose who can find you on Telegram
when they add your number to their phone contacts.
- Send a single 😁, 😧, 😡, :poo:, 😢 or
😮 to check out what's new in the animated emoji department.
2019-09-05 21:49:20 +03:00
John Preston 1c313da888 Add dummy handler for addtheme links. 2019-09-05 21:49:20 +03:00
John Preston ee210ea701 Update API scheme. 2019-09-05 20:42:45 +03:00
John Preston e0c0d79be9 Fix build for GCC. 2019-09-02 15:22:01 +03:00
John Preston cb3bad31fa Put 'Classic' theme first. 2019-09-02 14:27:22 +03:00
John Preston 917696be36 Closed alpha version 1.8.2.3. 2019-09-02 13:43:37 +03:00
John Preston 253816641c Submit by keyboard in scheduled section. 2019-09-02 13:39:43 +03:00
John Preston ca2692473d Fix inactive window notifications clearing. 2019-09-02 13:39:43 +03:00
John Preston 8000dfac01 Fix crash on admin log exit by Escape. 2019-09-02 13:39:43 +03:00
John Preston 85cca51154 Make accent color radiobutton animated. 2019-09-02 13:39:43 +03:00
John Preston 87ea49e094 Allow schedule messages while in slowmode counter. 2019-09-02 13:39:43 +03:00
John Preston 66bf48e21e Remove 'Send without sound' in Saved messages. 2019-08-31 14:43:19 +03:00
John Preston 451056d2ab Track reminder unread status without cheating. 2019-08-31 14:32:15 +03:00
John Preston 791ae64a90 Fix crash in local messages tracking. 2019-08-31 14:25:24 +03:00
John Preston 3b4563772e Disable edit self restrictions in UI. 2019-08-31 14:25:02 +03:00
John Preston 16b786186b Fix schedule time selection. 2019-08-31 14:21:52 +03:00
John Preston 7be1c4ca2f Fix crash in right click on CalendarBox.
Any attempt to destroy a widget on right click will crash,
because Qt anyway sends QContextMenuEvent to the same widget.

Fixes #6464.
2019-08-31 14:15:30 +03:00
John Preston 17fba16c23 Fix crash on quit without initial passcode unlock. 2019-08-30 23:30:12 +03:00
John Preston 5fc4dcd172 Closed alpha version 1.8.2.2. 2019-08-30 18:45:07 +03:00
John Preston b27a2cd34a Use edit_hide flag to hide 'edited' badge. 2019-08-30 18:00:32 +03:00
John Preston 569340c7d3 Move transfer ownership button. 2019-08-30 17:06:37 +03:00
John Preston 3715fa4b1e Fix scheduled notifications on inbox read. 2019-08-30 17:06:21 +03:00
John Preston d95e54cb1a Check if it is possible to 'Send now.' 2019-08-30 16:17:46 +03:00
John Preston 470b67f557 Refresh file reference from scheduled messages. 2019-08-30 15:42:01 +03:00
John Preston c46bcef9ff Add 'Send now' confirmation to langpack. 2019-08-30 15:24:42 +03:00
John Preston c31cda0587 Use better accent color suggestions. 2019-08-30 13:32:15 +03:00