Compare commits

...

1716 Commits

Author SHA1 Message Date
AlexeyZavar 5566a8ca0a fix: hide Read Message for service 2024-04-19 03:40:59 +03:00
AlexeyZavar f5470cd235 fix: read topics correctly 2024-04-19 03:37:47 +03:00
AlexeyZavar 1c275caf9d fix: use MakeConfirmBox 2024-04-19 02:55:33 +03:00
AlexeyZavar 39e3fcb553 fix: check time before appending 2024-04-19 02:46:28 +03:00
AlexeyZavar 11abaac7c1 fix: hide notifications from blocked users
e.g. when in shared group chats with enabled notifications
sound still plays, lazy to fix that
2024-04-19 02:18:38 +03:00
AlexeyZavar b054093899 fix: hide IV in streamer mode 2024-04-19 02:08:15 +03:00
AlexeyZavar 7d57e52469 fix: hide My Stories with disableStories 2024-04-19 01:56:08 +03:00
AlexeyZavar a0c787468b fix: don't hide messages if it's a dialog with blocked user 2024-04-19 01:50:45 +03:00
AlexeyZavar 3f79ccbcaf fix: don't select filtered messages 2024-04-19 01:45:11 +03:00
AlexeyZavar b6c966f18b feat: improve hide from blocked users 2024-04-19 01:21:52 +03:00
AlexeyZavar 1c85a81f1f feat: hide messages from blocked users
Co-authored-by: Ilya Fedin <fedin-ilja2010@ya.ru>
2024-04-19 00:05:00 +03:00
AlexeyZavar b4c5963a1a chore: update sqlite3 2024-04-18 22:54:01 +03:00
AlexeyZavar 299833ca3d feat: add fade animation for icon picker 2024-04-18 22:45:30 +03:00
AlexeyZavar a48534b51a feat: rework copyUsernameAsLink 2024-04-18 22:17:36 +03:00
AlexeyZavar daec2545b4 fix: more accurate channel badge 2024-04-18 20:58:53 +03:00
AlexeyZavar 5234c8af1a feat: hide proxy sponsor 2024-04-17 04:41:12 +03:00
AlexeyZavar 80cadf8f7d fix: hide irrelevant items 2024-04-17 04:25:20 +03:00
AlexeyZavar 7cc14bda52 chore: remove upload boost
Increasing chunks size, `kMaxUploadPerSession`, etc. don't change the speed, only if slows down.
Maybe changing `kAcceptAsFastIfTotalAtLeast` could give a boost. Didn't check.

In some circumstances, speed could be worse than on the AyuGram `v4.16` with boost, but it's rare.
But the upload speed is good, so upload boost removed.
2024-04-17 04:06:49 +03:00
AlexeyZavar c55cab3b1a fix: hideAllChats
Co-authored-by: c0re100 <corehusky@gmail.com>
2024-04-17 03:05:05 +03:00
AlexeyZavar 77d20c11a7 fix: update submodule 2024-04-17 03:04:14 +03:00
AlexeyZavar fe1babe437 Merge tag 'v4.16.8' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-04-17 02:41:49 +03:00
AlexeyZavar 60a96bf9d6 fix: make it build 2024-04-17 02:38:43 +03:00
John Preston 78c8d0562b Version 4.16.8: Fix build on Linux. 2024-04-16 23:23:11 +04:00
John Preston bb0280f096 Revert "Replace mozjpeg with jpegli in snap"
This reverts commit f57e2edf2a.
2024-04-16 23:22:55 +04:00
John Preston 566b53ce9f Revert "Clean remainings of mozjpeg in snapcraft.yml"
This reverts commit da1909cc1d.
2024-04-16 23:22:43 +04:00
John Preston ec95db0945 Revert "Replace mozjpeg with jpegli in Docker"
This reverts commit a1e2e3d011.
2024-04-16 23:00:08 +04:00
John Preston a0d7d07543 Version 4.16.8.
- Fix in-app playing of some video and audio files.
- Fix crash on Linux opening chats with custom backgrounds.
- Fix crash on quit after using scheduled messages.
2024-04-16 20:15:32 +04:00
John Preston fe73bf9053 Fix ripples in channel comments buttons. 2024-04-16 20:14:04 +04:00
John Preston 49c9e08b6c Enforce video/audio extension by mime type. 2024-04-16 20:14:01 +04:00
John Preston abcf55c498 Check chat background read result. 2024-04-16 20:13:55 +04:00
John Preston 849ce310c4 Jump by keyboard between time input fields. 2024-04-16 20:13:02 +04:00
John Preston a3e593b747 Fix crash in scheduled messages tear-down. 2024-04-16 20:12:03 +04:00
23rd 5433f95eda Simplified creation of label with custom emoji. 2024-04-16 03:44:00 +03:00
23rd 0459196982 Moved out level meter widget to td_ui. 2024-04-16 03:43:39 +03:00
23rd 6f1457d30d Fixed phrase of placeholder for message edition mode. 2024-04-15 23:56:37 +03:00
23rd ce596e29c4 Fixed opening message from media player widget in corresponding window. 2024-04-15 23:41:00 +03:00
23rd 86b9d16747 Added additional note for macOS keys to json of custom shortcuts. 2024-04-15 23:30:57 +03:00
John Preston 06911ae42a Version 4.16.7.
- Reimplement file open confirmations.
2024-04-15 17:56:45 +04:00
John Preston af2cb9b757 Fix possible unhandled exception in highlighting. 2024-04-15 17:56:45 +04:00
John Preston 6a28cd1a35 Reimplement file open confirmations. 2024-04-15 12:07:27 +04:00
23rd f4a09a9ca0 Fixed display of growth rate in statistics info for huge values. 2024-04-15 11:20:30 +04:00
23rd a35f020f56 Moved out ScheduledMessages module to components submodule. 2024-04-15 11:20:30 +04:00
23rd 3d48111368 Moved out SponsoredMessages module to components submodule. 2024-04-15 11:20:30 +04:00
23rd 39ed7d7f4c Increased clickable area for each item in EditPeerHistoryVisibilityBox. 2024-04-15 11:20:30 +04:00
23rd abe83ccb8f Moved inaccessible groups in box for user's own groups to sub-list.
Fixed #27729.
2024-04-15 11:20:30 +04:00
23rd d1be7c1ff7 Simplified management of PasscodeBox within customCheckCallback. 2024-04-15 11:20:30 +04:00
23rd 1c223e570a Slightly improved code style for long equality expressions. 2024-04-15 11:20:30 +04:00
23rd a37cbd7d05 Initially refactored statistics module to simplify value types changing. 2024-04-15 11:20:30 +04:00
23rd 7ffa9844e2 Fixed currency formatting for channel earn info section. 2024-04-15 11:20:30 +04:00
23rd bdf5872f04 Fixed opening channel earn info section for admins. 2024-04-15 11:20:30 +04:00
Ilya Fedin da1909cc1d Clean remainings of mozjpeg in snapcraft.yml 2024-04-15 10:11:54 +04:00
Ilya Fedin a503197352 Remove XCBSetDesktopFileName
This is done by Qt nowadays
2024-04-15 10:11:30 +04:00
Nyan d9d9a8f49d Update data_document_resolver.cpp
Added the LEXE and WLUA extensions to the IsExecutableName function for Windows. Those are registered by default on Windows devices with LUA installed
2024-04-13 23:45:03 +04:00
AlexeyZavar 6a02bd66a9 Merge tag 'v4.16.6' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/info/profile/info_profile_actions.cpp
#	Telegram/SourceFiles/mtproto/facade.h
#	Telegram/SourceFiles/storage/file_upload.cpp
#	Telegram/SourceFiles/storage/file_upload.h
#	Telegram/SourceFiles/window/window_main_menu.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-04-12 14:35:06 +03:00
Ilya Fedin f57e2edf2a Replace mozjpeg with jpegli in snap 2024-04-11 12:35:47 +04:00
Ilya Fedin a1e2e3d011 Replace mozjpeg with jpegli in Docker 2024-04-11 12:35:47 +04:00
Ilya Fedin 5e546d1198 Update libjxl in Docker & snap 2024-04-11 12:35:47 +04:00
Ilya Fedin 90405f3ebc Install protobuf in Docker 2024-04-11 12:15:55 +04:00
Nyan 11b57ff7d3 Update data_document_resolver.cpp
The correct python zipapp extension on windows is pyzw, this typo could lead to executing code in the client device without proper warning
2024-04-11 11:24:15 +04:00
Ilya Fedin fe06cd63ac Lock event loop 2024-04-09 20:48:47 +04:00
John Preston 6c9d5e1499 Improve clipboard QR code image logo quality. 2024-04-09 19:05:02 +04:00
John Preston 6ed910de9f Version 4.16.6.
- Show custom emoji preview on long press.
- Fix resume chat bot button disappearance.
- Fix GIF files playback. (regression in 4.16.3.beta)
2024-04-09 15:20:16 +04:00
John Preston a506b8b25c Support t.me/username?text=.. links. 2024-04-09 15:20:10 +04:00
John Preston 170ebb57c6 Preview custom emoji on long press from the panel. 2024-04-09 12:11:07 +04:00
John Preston 29dd574e22 Fix toggling chatbot replying, fix saving. 2024-04-09 11:55:52 +04:00
John Preston 72770aa76d Add GIF parser to FFmpeg build.
Fixes #27722.
2024-04-09 11:29:19 +04:00
John Preston 7f1c319aee Add interactive mode to prepare script. 2024-04-09 11:29:16 +04:00
John Preston 60805bd916 Version 4.16.5.
- Fix editing privacy for groups and channels invitations.
- Possible fix for the network unresponsiveness after sleep.
- Possible fix for wide range of memory allocator crashes on Linux.
2024-04-08 22:31:07 +04:00
Ilya Fedin 10272ee0cf Revert "Replace jemalloc with scudo"
This reverts commit 960761ef37.
2024-04-08 21:57:25 +04:00
John Preston 7c44cda76e Fix premium users deselection in multi-select field. 2024-04-08 21:56:56 +04:00
John Preston 0152d2c48e Fix possible temp auth key bind freeze. 2024-04-08 21:56:56 +04:00
23rd c5febce548 Moved out some functions for main menu to separated files. 2024-04-08 17:34:58 +03:00
23rd 129b07c2c0 Improved style of box for all of user's own groups and channels. 2024-04-08 17:02:52 +03:00
23rd 47bf099b88 Fixed updating of field placeholder in compose controls while editing. 2024-04-08 06:55:44 +03:00
23rd 94f1d23788 Fixed behavior to open section with scheduled messages at top. 2024-04-08 04:12:14 +03:00
Ilya Fedin 84ce72ec7a Fix a crash due to half-hidden media viewer 2024-04-07 14:28:51 +04:00
Ilya Fedin 3da8351522 Let Wayland to use QGuiApplication::screenAt (forgotten place) 2024-04-07 14:08:40 +04:00
Ilya Fedin 542153d950 Use nasm from repository 2024-04-07 11:20:46 +04:00
Ilya Fedin 090fdfb458 Add asan libraries to Docker image 2024-04-07 11:20:46 +04:00
John Preston 77835a43a5 Version 4.16.4: Update patches on Linux. 2024-04-07 11:19:23 +04:00
John Preston 1a2a1f1c17 Version 4.16.4.
- Bug fixes and other minor improvements.
2024-04-06 22:59:03 +04:00
John Preston eaaa704fa4 Check the URL in IV like in attach bots. 2024-04-06 22:59:03 +04:00
John Preston 7803f8e670 Simplify escaping when parsing IV. 2024-04-06 22:59:03 +04:00
Sergey A. Osokin f36e3c213e Fix build on FreeBSD 13.3 / llvm 17.0.6 / qt 5.15.13 2024-04-06 20:30:08 +04:00
John Preston 6fb1e23ed5 Fix file dialog filter for videos from attach menu. 2024-04-06 13:05:12 +04:00
John Preston 86d0c49e44 Add "Boost Group/Channel" button to chat menu. 2024-04-06 13:05:12 +04:00
John Preston 9251e6faba Use better title in boost box. 2024-04-06 13:05:12 +04:00
John Preston 8f8725e1af Beta version 4.16.3: Fix dav1d in FFmpeg on macOS. 2024-04-05 21:25:20 +04:00
John Preston 0ce6a4cbdb Beta version 4.16.3: Re-enable system proxy (Linux).
This reverts commit 1e6fb202f0.
2024-04-05 20:48:06 +04:00
John Preston ad3f705f50 Beta version 4.16.3.
- Improve media upload speed.
- Update FFmpeg to 6.1.1.
2024-04-05 15:35:01 +04:00
John Preston c5847caa91 Update FFmpeg to 6.1.1: Fix AV1 videos. 2024-04-05 14:42:29 +04:00
John Preston 8df6d9db7e Don't update server-time too frequently. 2024-04-05 09:51:20 +04:00
John Preston a9c1970f41 Send up to 1MB of parts to a single session. 2024-04-05 09:51:20 +04:00
John Preston c3f0d2ef31 Adaptive upload up to 8 sessions. 2024-04-05 09:51:20 +04:00
John Preston 0dcc439dda Allow upload requests for several files at once. 2024-04-05 09:51:20 +04:00
John Preston 5b0cac47ad Reapply "Use plain vector for prepared upload parts."
This reverts commit f6f8eefaa0.
2024-04-05 09:51:20 +04:00
John Preston b39e78a4a9 Reapply "Remove SendMediaReady legacy helper."
This reverts commit 09f07a7a9d.
2024-04-05 09:51:20 +04:00
John Preston 690d52f7bc Version 4.16.2.
- Use IV by default for Telegraph and some Telegram links.
- Support IV links in bot web-apps.
- Some bug fixes.
2024-04-04 21:13:00 +04:00
John Preston 23883ed4a1 Use generic way for FAQ links. 2024-04-04 21:08:56 +04:00
John Preston ea178862d8 Open some telegram.org and Telegram links in IV. 2024-04-04 21:08:19 +04:00
John Preston 09f07a7a9d Revert "Remove SendMediaReady legacy helper."
This reverts commit 91f8989f70.
2024-04-04 18:36:07 +04:00
John Preston f6f8eefaa0 Revert "Use plain vector for prepared upload parts."
This reverts commit aaaeea2979.
2024-04-04 18:36:00 +04:00
John Preston ede6e18bc9 Fix QOI image reader. 2024-04-04 18:35:20 +04:00
John Preston 36cb28d5cf Respect 'try_instant_view' in webapps. 2024-04-04 18:35:20 +04:00
John Preston 9464f4b095 Fix collectible channel links. 2024-04-04 17:51:53 +04:00
23rd b31d43cbed Fixed circle drawing in titles of some sections in channel earn info. 2024-04-04 17:51:53 +04:00
23rd 2a388ae4b2 Improved FAQ buttons with opening link in instant view. 2024-04-04 17:51:53 +04:00
23rd d675e31a51 Fixed display of integer numbers in channel earn section. 2024-04-04 17:51:53 +04:00
23rd e32de38d04 Added url to learn more about monetization to langpack. 2024-04-04 17:51:53 +04:00
23rd 154753c732 Removed migrated groups from list of user's own groups. 2024-04-04 17:51:53 +04:00
Klemens Nanni 53b75c8ea4 update lib_base to include OpenBSD fix 2024-04-04 15:52:01 +04:00
Klemens Nanni 776e80b4d6 Fix tdesktop 4.15.6 build on OpenBSD
7.5-current with clang 16.0.6 and Qt6 fails, not entirely sure why...
2024-04-04 15:52:01 +04:00
Ilya Fedin b09cede008 Fix uploading artifact on Linux 2024-04-04 15:51:22 +04:00
Ilya Fedin e2a0483b9f Enable artifacts for GH actions 2024-04-04 15:51:22 +04:00
John Preston aaaeea2979 Use plain vector for prepared upload parts. 2024-04-03 12:39:08 +04:00
John Preston 91f8989f70 Remove SendMediaReady legacy helper. 2024-04-03 11:59:33 +04:00
John Preston ae36019ba9 Version 4.16.1.
- Show information about Fragment phone numbers and usernames.
- Fix jump to original story from a story repost.
- Fix old image display in viewer in some cases.
- Fix several crashes.
2024-04-02 23:13:05 +04:00
John Preston 1e0002aa74 Fix jump to original from story repost. 2024-04-02 23:09:26 +04:00
John Preston 1061fb6c85 Implement collectible username / phone info boxes. 2024-04-02 22:56:21 +04:00
John Preston 22f504ca21 Add hidden buttons to langpack. 2024-04-02 22:56:05 +04:00
John Preston a74c5ee719 Fix complex-shaped Ui::Text::String geometry. 2024-04-02 22:56:05 +04:00
John Preston ef04ed447f Fix 'listening' state show in group video chats.
Regression was introduced in c3ca8c6258.
2024-04-02 19:22:30 +04:00
AlexeyZavar cc494fee22 fix: less with upload boost 2024-04-02 18:02:38 +03:00
AlexeyZavar d0f793c06d chore: sync linux doc 2024-04-02 17:51:33 +03:00
AlexeyZavar fc447bfd51 fix: enable by default since it's stable 2024-04-02 17:34:59 +03:00
AlexeyZavar fe463ab8fb feat: implement useScheduleMessages fully 2024-04-02 17:34:06 +03:00
Ilya Fedin c678973119 Update patches on Linux 2024-04-02 17:40:41 +04:00
Ilya Fedin 587b07a648 Update Qt to 6.7.0 on Linux 2024-04-02 17:40:41 +04:00
AlexeyZavar 6fd0fb9704 feat: simplify markReadAfterAction 2024-04-02 16:37:16 +03:00
AlexeyZavar ce00b3d950 chore: sync strings 2024-04-02 16:17:11 +03:00
John Preston 7fa3c6f8e8 Return media viewer hiding glitch workaround. 2024-04-02 13:19:22 +04:00
John Preston 9957678fb7 Fix adding from "Emoji from this message". 2024-04-02 13:15:03 +04:00
John Preston 971803803c Fix ripple animation on Added sticker set button. 2024-04-02 12:47:24 +04:00
John Preston 8ab118a8e9 Fix rare crashes in message sending animations. 2024-04-02 12:20:40 +04:00
John Preston 1da9df690f Fix memory leak in downloads thumbnail loading. 2024-04-02 12:20:40 +04:00
John Preston 615ad85d26 Fix possible crash in notifications setup.
Initial _account assignment triggered sync createManager(),
which in case of native Windows notifications called
ToastNotificationManager::CreateToastNotifier, which could enter
qt-wndproc-message processing with QEvent::ApplicationActivated
delivery and calling updateNonIdle() which called
Window::Controller::account(), that wasn't yet set.
2024-04-02 12:20:40 +04:00
John Preston e02b60d8fa Fix placeholder in chat intro setup. 2024-04-02 12:20:40 +04:00
Ilya Fedin 3fc4030ca6 Migrate xz in Dockerfile to the URL used in prepare.py 2024-04-02 10:26:43 +04:00
AlexeyZavar a87fb9160c fix: message shot crashes 2024-04-02 02:57:01 +03:00
AlexeyZavar 132caa18c9 fix: move out AyuGram files for consistency
fix: compiler warning
2024-04-02 02:13:32 +03:00
AlexeyZavar 6257e990a1 fix: make it build 2024-04-02 01:56:53 +03:00
AlexeyZavar c6b42e2940 Merge tag 'v4.16.0' into dev
# Conflicts:
#	README.md
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/calls/calls_call.cpp
#	Telegram/SourceFiles/core/local_url_handlers.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp
#	Telegram/SourceFiles/history/view/media/history_view_sticker.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-04-01 23:56:12 +03:00
John Preston 707146daed Version 4.16.
- Instant View on Windows 10+ and macOS.
- Allow scheduling messages in topics.
- Telegram Business: Links to Chats.
- Telegram Business: Custom Intro.
- Telegram Business: Chatbots.
- Sharing Revenue with Channel Owners.
2024-04-01 23:27:35 +04:00
John Preston c0117e72ad Support complex invite-users responses. 2024-04-01 22:44:26 +04:00
John Preston 3cdb528dfe Use "Downloads/Telegram Lite" in MacAppStore version. 2024-04-01 22:44:26 +04:00
John Preston d2164dc0d0 Suggest premiums in privacy. 2024-04-01 22:44:26 +04:00
John Preston 87acc921c3 Pass Ui::Show to all add participant handlers. 2024-04-01 22:44:26 +04:00
John Preston 5741bd9cca Support "premiums and ..." privacy editing. 2024-04-01 22:44:25 +04:00
John Preston 1e6fb202f0 Re-apply "Disable system proxy support on Linux".
This reverts commit c71c24a6bc.
2024-04-01 22:44:25 +04:00
John Preston 8cbb1abff2 Fix wrong non-album image size in send preview.
Regression was introduced in 84288112fc.
2024-04-01 22:44:25 +04:00
John Preston d21418cf04 Handle already-premium state in gift link usage. 2024-04-01 22:44:25 +04:00
John Preston d35c8232d2 Fix send-messages privacy phrase. 2024-04-01 22:44:25 +04:00
John Preston 139d1a9aa3 Allow saving just the sticker in custom intro. 2024-04-01 22:44:25 +04:00
John Preston f95817861a Fix build on Windows. 2024-04-01 22:44:25 +04:00
23rd 3e968aecc8 Added link for learn more about currency from channel earn section. 2024-04-01 22:44:25 +04:00
23rd 2795af8c7f Slightly improved style of channel earn info section. 2024-04-01 22:44:25 +04:00
23rd bb438880e3 Added ability to view all of user's own groups. 2024-04-01 22:44:25 +04:00
23rd 8492b7144f Replaced emoji with icon for currency in earn section. 2024-04-01 22:44:25 +04:00
23rd 5dd974f2ab Added line with converted currency amount to point details widget. 2024-04-01 22:44:25 +04:00
23rd d3cd3bb0a4 Slightly improved style of box for reporting of sponsored messages. 2024-04-01 22:44:25 +04:00
23rd 04acf08d34 Limited list of data for non-owners of channel in earn section. 2024-04-01 22:44:25 +04:00
23rd 4db885d8b4 Replaced exported data of callbacks from markup replies with base64. 2024-04-01 22:44:25 +04:00
23rd 8718d94e7d Added sub-button to top of sponsored messages that can be reported. 2024-04-01 22:44:25 +04:00
23rd 24c1151101 Fixed incorrect handling of error from channel ownership request. 2024-04-01 22:44:25 +04:00
23rd 0b22e5928c Fixed bottom fade effect for input message fields in compose controls. 2024-04-01 22:44:25 +04:00
23rd 3311a50750 Added second rulers to currency chart in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd 1563a85fea Improved style for right action of forwarded messages. 2024-04-01 22:44:25 +04:00
23rd 586983eb9b Added divider text to box for reporting of sponsored messages. 2024-04-01 22:44:25 +04:00
23rd 1a7a906ced Added ability to review history entry in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd 496247c1d8 Added ability to load chunked history transactions in earn info section. 2024-04-01 22:44:25 +04:00
23rd 2f07bb3973 Added initial support of withdraw button in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd 9b0f3bedff Added entry point for channel earn info section. 2024-04-01 22:44:25 +04:00
23rd c66b5b2490 Added support of permission to manage channel earn. 2024-04-01 22:44:25 +04:00
23rd a1264a6088 Slightly improved style of learn more box in channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 4e0d770d05 Removed cpm configuration. 2024-04-01 22:44:24 +04:00
23rd 508119a127 Added ability to report sponsored messages. 2024-04-01 22:44:24 +04:00
23rd 341b9e4a29 Added menu with about box to sponsored messages that can be reported. 2024-04-01 22:44:24 +04:00
23rd 57789c1272 Added second button to sponsored right. 2024-04-01 22:44:24 +04:00
23rd 3845a87f2e Added fade animation to center label of slider in earn channel section. 2024-04-01 22:44:24 +04:00
23rd 3c266b6dc4 Moved out data structures for channel earn to td_ui. 2024-04-01 22:44:24 +04:00
23rd 32a3952524 Added initial support of channel cpm from earn channel api. 2024-04-01 22:44:24 +04:00
23rd 9c52f245ac Added initial support of statistical charts in earn channel section. 2024-04-01 22:44:24 +04:00
23rd 393d9e9f1f Slightly improved style of channel earn info section. 2024-04-01 22:44:24 +04:00
23rd f28f498467 Added support of level of boosts for restriction of sponsored messages. 2024-04-01 22:44:24 +04:00
23rd b5a7a351f6 Added initial support for integer format of channel earn amount data. 2024-04-01 22:44:24 +04:00
23rd a14c0f5253 Added initial support of channel earn data in appropriate info section. 2024-04-01 22:44:24 +04:00
23rd a278aa0f89 Added initial api support for channel earn statistics. 2024-04-01 22:44:24 +04:00
23rd 479bb2a1d6 Added focus to input field in channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 538934a88a Added learn more box to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 5d2726036f Slightly improved style of channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 778317e1b2 Added initial slider for earn settings to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 99dd5507bf Added initial transfer subsection to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 490d9bc3ec Added initial box for every history entry to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 796e09bf13 Added initial subsection for history to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 588624e7a9 Added initial overview subsection to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd a45a9e6515 Added initial learn about as divider text to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd a7df074b8f Added dummy files for channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 9941a46769 Added some phrases for channel earn info section. 2024-04-01 22:44:24 +04:00
23rd b0565f2188 Moved files for boosts to nested folder. 2024-04-01 22:44:24 +04:00
John Preston 8fb3e39881 Simple promo box for Telegram Business. 2024-04-01 22:44:23 +04:00
John Preston d788f5afac Handle today-birthday click in profile. 2024-04-01 22:44:22 +04:00
John Preston 20123fca7f Mark the Chatbots section as NEW. 2024-04-01 22:44:22 +04:00
John Preston 7c7b962c6d Improve couple of Telegram Business icons. 2024-04-01 22:44:22 +04:00
John Preston 68ded1a6e0 Allow newRequirePremium for free if server allows. 2024-04-01 22:44:22 +04:00
John Preston da7a796edb Add session->appConfig() shortcut. 2024-04-01 22:44:22 +04:00
John Preston 3b5814edae Handle empty channels list. 2024-04-01 22:44:22 +04:00
John Preston f439443fe5 Show personal channel in users profile. 2024-04-01 22:44:22 +04:00
John Preston 280d69d346 Implement personal channel selector. 2024-04-01 22:44:21 +04:00
John Preston ab74ed0fa7 Handle flood errors in birthday changes. 2024-04-01 22:44:21 +04:00
John Preston 0d740c21a2 Check if bot supports Telegram Business. 2024-04-01 22:44:21 +04:00
John Preston f65bc7c0bd Suggest premium on transfer speed limiting. 2024-04-01 22:44:21 +04:00
John Preston 0dd1a4973a Handle the new FLOOD_PREMIUM_WAIT errors. 2024-04-01 22:44:21 +04:00
John Preston 05a5e62327 Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston 66a47137a0 Copy chat link by left click in footer. 2024-04-01 22:44:21 +04:00
John Preston f240cbbda6 Handle chat link clicks. 2024-04-01 22:44:21 +04:00
John Preston 3d54f8ec49 Initial chat links edition implementation. 2024-04-01 22:44:21 +04:00
John Preston 6fe0c60204 Fix build with Xcode. 2024-04-01 22:44:21 +04:00
John Preston f7d04d668b Hide captions in IV slideshows. 2024-04-01 22:44:21 +04:00
John Preston 57bd0d2674 Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston 08ee25deb2 Display date of birth in user profiles. 2024-04-01 22:44:21 +04:00
John Preston c82d7bd909 Implement birthday info / privacy edit boxes. 2024-04-01 22:44:21 +04:00
John Preston 59663d6661 Track birthdays, edit birthday privacy. 2024-04-01 22:44:21 +04:00
John Preston 5e68dace9f Remove description in intro settings preview. 2024-04-01 22:44:21 +04:00
John Preston fcc9e0b2db Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston 3a5b3ff3bd Show description about custom chat intro. 2024-04-01 22:44:21 +04:00
John Preston 1e1a48865f Extract history/view/media/history_view_media_generic module. 2024-04-01 22:44:21 +04:00
John Preston b31c30b9b6 Wait for full user info before intro creation. 2024-04-01 22:44:21 +04:00
John Preston 7886a2179f Fix giveaway messages layout. 2024-04-01 22:44:21 +04:00
John Preston d1a995a863 Allow sending the sticker from the intro. 2024-04-01 22:44:21 +04:00
John Preston 85554d19e4 Show chat intro in an empty chat. 2024-04-01 22:44:21 +04:00
John Preston 7f4d13c54a Fix chat intro sticker aspect ratio. 2024-04-01 22:44:20 +04:00
John Preston 9f67b9ba2f Reload chatbot rules after adding an exception. 2024-04-01 22:44:20 +04:00
John Preston 5381fe5a1a Use MediaInBubble for chat intro fake-message. 2024-04-01 22:44:20 +04:00
John Preston 0887348611 Show length limit in chat intro fields. 2024-04-01 22:44:20 +04:00
John Preston 98ce91df39 Fix intro hello sticker playback in editing. 2024-04-01 22:44:20 +04:00
John Preston 191c35914f Start editing chat intro in Telegram Business. 2024-04-01 22:44:20 +04:00
John Preston cf1d0677d1 Support business bot state in chat. 2024-04-01 22:44:20 +04:00
John Preston 3d97ea6f96 Track chat business bot state. 2024-04-01 22:44:20 +04:00
John Preston caa4c5428a Show via_business_bot name in signature. 2024-04-01 22:44:20 +04:00
John Preston 90e572c8b1 Improve mixed stickerpacks support. 2024-04-01 22:44:20 +04:00
John Preston b1795f8c5a Update API scheme to layer 177. 2024-04-01 22:44:20 +04:00
John Preston 962c64b33c Beta version 4.15.7: Linux fix test. 2024-04-01 11:58:24 +04:00
GitHub Action bd827d844b Update User-Agent for DNS to Chrome 123.0.0.0. 2024-04-01 10:20:57 +04:00
wention ed70675e1d Fix build Qt error on non-english windows os 2024-04-01 10:08:16 +04:00
Ilya Fedin e07d53725c Strip notification service start error 2024-04-01 09:59:19 +04:00
Ilya Fedin 1b589a35cf Don't check the count when it's not going to painted 2024-04-01 09:50:20 +04:00
Ilya Fedin 439f8d0914 Implement monochrome icon setting on Linux 2024-04-01 09:50:20 +04:00
Ilya Fedin 1d7dbc4d17 Update patches & lib_base 2024-03-29 14:12:52 +04:00
Ilya Fedin 001b055ee8 Let Wayland to use QGuiApplication::screenAt
Looks like it works correctly nowadays
2024-03-28 10:54:34 +04:00
John Preston 8534d6d7d7 Fix build on Windows. 2024-03-27 18:32:44 +04:00
Ilya Fedin e7a7c2d267 Get rid of XDG_CURRENT_DESKTOP dependent logic
Just try all the commands and use the one that works first
2024-03-26 09:31:58 +04:00
Ilya Fedin 8803dfcee6 Add Plasma 6 sound settings support 2024-03-26 09:31:58 +04:00
Ilya Fedin 887f10059d Update Qt to 6.7.0-rc2 in snap 2024-03-25 22:17:59 +04:00
Ilya Fedin d3db52ce9c Update cmake_helpers 2024-03-25 22:17:59 +04:00
Ilya Fedin 5fa89c22bd Use default Qt prefix on Linux 2024-03-25 22:17:59 +04:00
Ilya Fedin ea42f9545f Move OpenSSL to system directories on Linux 2024-03-25 22:17:59 +04:00
John Preston 8830fb70a4 Beta version 4.15.6: OpenSSL 3.2.1. 2024-03-25 17:47:53 +04:00
Ilya Fedin 0edf14f3a9 Update Qt to 6.7.0-rc2 on Linux 2024-03-25 17:47:25 +04:00
John Preston 89c6bb163e Beta version 4.15.6: Fix build with GCC. 2024-03-25 11:19:31 +04:00
John Preston 8708598daa Beta version 4.15.6.
- Save the Instant View window geometry.
- Fix jump to anchors with accents in the Instant View.
- Fix possible crash in the ElasticScroll destructor.
2024-03-25 10:26:23 +04:00
John Preston c71c24a6bc Re-revert "Disable system proxy support on Linux".
This reverts commit 55b2b04e2e.
2024-03-25 10:25:34 +04:00
John Preston 386fb07017 Update lib_base submodule. 2024-03-25 10:16:12 +04:00
23rd aad2961646 Added all unused shortcuts to json of default shortcuts. 2024-03-25 10:15:42 +04:00
23rd 00a89883fd Added ability to set shortcut to archive chat from dialogs list. 2024-03-25 10:15:42 +04:00
23rd 5509c1810b Added ability to set shortcut to open section with scheduled messages. 2024-03-25 10:15:42 +04:00
23rd 24498bc95f Changed behavior to hide field buttons in HistoryWidget with typed text. 2024-03-25 10:15:42 +04:00
Sergey A. Osokin 58caec8d05 Fix build on FreeBSD 2024-03-25 10:14:17 +04:00
John Preston ebe331a7e4 Fix build on Windows. 2024-03-24 10:24:26 +04:00
John Preston d481008fdb Fix possible crash in ElasticScroll destructor. 2024-03-24 10:24:22 +04:00
John Preston b97d243978 Fix jump to hash with accents in IV. 2024-03-24 10:05:55 +04:00
John Preston fd833dff35 Save IV window geometry. 2024-03-24 10:05:52 +04:00
John Preston d9ed3a7d3f Remove for-development-only save document action.
Regression was introduced in 205479fccc.
2024-03-24 10:05:37 +04:00
John Preston b8ce79467f Fix crash on "History cleared" delete in Saved Messages. 2024-03-24 10:05:04 +04:00
John Preston 9d0457d208 Add "Terms of Use" menu item to all miniapps. 2024-03-24 10:04:54 +04:00
23rd fa02e521f9 Added ability to view all of user's own channels. 2024-03-24 07:10:07 +03:00
23rd d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
23rd 58fcedab64 Moved out Window::SlideAnimation to td_ui. 2024-03-24 07:01:08 +03:00
23rd 5e11c43f84 Moved out Stickers::EmojiImageLoader to td_ui. 2024-03-24 07:01:08 +03:00
Ilya Fedin 4b4de9d5aa Don't mark as read when unexposed
There's a yet another another visility state called "exposed" and the window could be unexposed while being not hidden and not minimized.

When the window is unexposed, Qt doesn't draw and the user can't see changes for sure.
2024-03-23 10:36:43 +04:00
23rd f135676d36 Added support for sending state of low level of battery. 2024-03-22 00:12:57 +03:00
23rd cb9adad660 Added label to call panel when recipient has low level of battery. 2024-03-21 23:48:51 +03:00
23rd 88dab47d2c Changed behavior to open section with scheduled messages at top. 2024-03-21 20:20:06 +03:00
Daniel Novomeský d6e4613144 Upgrade dav1d, libavif, libde265, libheif on Linux 2024-03-20 20:00:33 +04:00
23rd 893c09c848 Fixed showing of rate call box in appropriate window. 2024-03-20 11:20:22 +04:00
Ilya Fedin a0e0fd5b98 Don't build libheif tests
That would save some build time
2024-03-19 20:14:28 +04:00
John Preston 98abb3aa00 Fix possible crash in join channel toast. 2024-03-19 11:04:40 +04:00
John Preston 8982a49192 Fix repetitive phone formatting. 2024-03-19 11:04:21 +04:00
John Preston 529eb4e954 Fix window shadow on Linux. 2024-03-19 11:03:39 +04:00
Ilya Fedin 846a6d8717 Update scudo to 18.1.1 2024-03-18 19:53:36 +04:00
Ilya Fedin 07ab875655 Update lib_base 2024-03-18 09:59:47 +04:00
Ilya Fedin 602b0b5d9b Use the File::OpenUrl routine in IV 2024-03-18 09:59:47 +04:00
John Preston 0e428aebdb Update patches in Linux build. 2024-03-17 20:34:02 +04:00
Daniel Novomeský 4abc68ab1c Upgrade dav1d, libavif, libde265, libheif 2024-03-17 19:35:00 +04:00
23rd 2638ee2926 Improved message edition with pre-selected text. 2024-03-17 11:16:07 +03:00
Ilya Fedin ddaf78828a Fix media viewer geometry restoration 2024-03-17 09:28:46 +04:00
Ilya Fedin 6d5347472d Fix media viewer geometry logging
It has regressed after c64e953174
2024-03-17 09:28:46 +04:00
John Preston 82fda96ed8 Beta version 4.15.5.
- Fix a crash in Instant View article parsing.
- Support AirPods Mute/Unmute toggle in calls on macOS.
- Disable system proxy on Linux to check if it fixes crashes.
2024-03-16 09:59:23 +04:00
John Preston 55b2b04e2e Reapply "Disable system proxy support on Linux"
This reverts commit 202a4064a4.
2024-03-16 09:54:07 +04:00
23rd 393f330d15 Added ability to go to message from Calls box. 2024-03-16 04:40:56 +03:00
23rd f4ecfeaddd Added ability to perform bulk selection from menu in HistoryWidget. 2024-03-16 04:40:56 +03:00
Ilya Fedin ad101dc8a0 A way to initialize GLib::VariantIter without gi::wrap is found 2024-03-15 23:10:43 +04:00
John Preston 24e9a3ea59 Bot close confirm closes only by Close button. 2024-03-15 20:28:11 +04:00
John Preston f1d8135e30 Fix crash in IV parsing. 2024-03-15 20:26:50 +04:00
23rd a1a415de82 Fixed crash in non-stack bar chart view when hide selected point. 2024-03-15 17:08:17 +03:00
John Preston 77dc234b2d Support AirPods Mute/Unmute toggle. 2024-03-15 14:43:41 +04:00
23rd c3ca8c6258 Fixed emoji drawing in statuses of group call participants. 2024-03-15 14:43:29 +04:00
23rd 9e18236b55 Added ability to open account in new window with middle click. 2024-03-15 14:43:29 +04:00
23rd ded7aada52 Slightly improved filter for choosing users requested by bot. 2024-03-15 14:43:29 +04:00
Dubzer a117c1ebf2 Add new Segoe UI to IV css 2024-03-15 09:24:12 +04:00
Ilya Fedin d3715cc362 Get rid of glibmm 2024-03-15 00:00:24 +04:00
Ilya Fedin 3689e7dfbc Use cppgir compatible XDP utilities API 2024-03-15 00:00:24 +04:00
Ilya Fedin 59e53c1edf Port NotificationId conversion to cppgir 2024-03-15 00:00:24 +04:00
John Preston f2a54e3cbb Beta version 4.15.4: Fix build with Xcode. 2024-03-14 22:30:52 +04:00
John Preston 20db635366 Beta version 4.15.4: Update Qt patches in snap. 2024-03-14 21:58:56 +04:00
John Preston b955d32970 Beta version 4.15.14.
- Fix initial text color in dark mode Instant View on macOS.
- Fix non-English symbols encoding in Instant View on macOS.
- Fix sharing from Instant View on macOS.
- Fix crash with long messages on Linux.
2024-03-14 21:55:16 +04:00
John Preston 5a5d89c32c Fix crashing regression in Qt 6.7.0. 2024-03-14 21:55:05 +04:00
23rd 1f0ed3bb31 Fixed links in service message about requested peers from bot. 2024-03-14 20:36:19 +03:00
23rd 6c083e88a3 Changed behavior of bot menu button to decrease size to first emoji. 2024-03-14 20:19:09 +03:00
John Preston 2e7323d484 Fix a glitch in IV sharing on Windows. 2024-03-14 19:03:46 +04:00
John Preston 461aebd7f3 Hide IV when sharing on macOS, fixes sharing. 2024-03-14 18:36:17 +04:00
John Preston 73ca78215f Set window title in IV. 2024-03-14 18:35:57 +04:00
John Preston 200bb31e08 Fix theming in code blocks. 2024-03-14 15:01:03 +04:00
John Preston 396f52b8ca Fix title updating on IV menu show. 2024-03-14 14:27:46 +04:00
John Preston a118d3d848 Close IV when opening URL in the browser. 2024-03-14 14:26:00 +04:00
John Preston f6b9702b52 Unminimize IV when opening another one. 2024-03-14 12:51:34 +04:00
John Preston d92418dc6d Disable media context menus in IV. 2024-03-14 12:50:55 +04:00
23rd fe4b853393 Improved section of scheduled messages when forum opened in flat mode. 2024-03-14 11:43:46 +04:00
John Preston 782556495a Improve joined channels tracking in IV. 2024-03-14 11:39:17 +04:00
John Preston 5c32423597 Integrate IV menu hiding by click inside WebView. 2024-03-14 11:39:17 +04:00
John Preston 5c8e6c3012 Fix page encoding in IV on macOS. 2024-03-14 11:39:17 +04:00
John Preston 5133f74f67 Fix IV theming on macOS because of broken HTML. 2024-03-14 11:39:17 +04:00
John Preston d5b23b5bde Use a separate lang key for IV channel join button. 2024-03-14 11:39:17 +04:00
kukuruzka bf4b4ae936 full support for ukrainian transliteration 2024-03-14 11:23:13 +04:00
kukuruzka 458b990b8c Improve transliteration 2024-03-14 11:23:13 +04:00
Ilya Fedin e044753934 Fix macOS GH action 2024-03-14 10:45:42 +04:00
Ilya Fedin c0b612c457 Update cppgir 2024-03-14 09:29:10 +04:00
Eric Kotato 9414ef5709 Using system font stack for Instant View 2024-03-14 09:18:24 +04:00
Ilya Fedin c9e566f8aa Fix snap build
Qt has removed support for kernels less than 4.11 by removing the -no-feature-statx flag. Remove the usage all the related flags.
2024-03-14 09:17:01 +04:00
Eric Kotato 40bd37315a Use %NUMBER_OF_PROCESSORS% for jom 2024-03-14 08:33:07 +04:00
John Preston 0410d05913 Beta version 4.15.3: Fix build with GCC. 2024-03-13 22:27:25 +04:00
John Preston a888b8d846 Beta version 4.15.3.
- Instant View on Windows (with WebView2) and macOS.
- Allow scheduling messages in topics.
- Fix system proxy support on Linux.
2024-03-13 21:58:45 +04:00
John Preston eac5c39a96 Don't show IV button for album links. 2024-03-13 21:58:27 +04:00
John Preston 202a4064a4 Revert "Disable system proxy support on Linux"
This reverts commit 3af646a584.
2024-03-13 21:20:31 +04:00
John Preston ddf2369774 Allow more parts for macOS IV streaming. 2024-03-13 21:20:30 +04:00
John Preston 48f70a8552 Fix videos management on macOS. 2024-03-13 21:20:30 +04:00
John Preston 4685b889c2 Update Qt to 5.15.13 on Windows. 2024-03-13 21:20:30 +04:00
John Preston 3e373200b1 Dynamically create / destroy videos. 2024-03-13 21:20:30 +04:00
John Preston 7913d2a82d Fix initial scroll on macOS. 2024-03-13 21:20:30 +04:00
John Preston e20770e256 Show IV button only if supported. 2024-03-13 21:20:30 +04:00
John Preston d43f0be0da Add IV icon to the button. 2024-03-13 21:20:30 +04:00
John Preston 7b4adc2e60 Escape data from API in IV html. 2024-03-13 21:20:30 +04:00
John Preston 1eeba65ddb Fix build on macOS. 2024-03-13 21:20:30 +04:00
John Preston 1252accef7 Support file reference refresh in IV. 2024-03-13 21:20:30 +04:00
John Preston 5f7c3ae20e Remove some test code. 2024-03-13 21:20:30 +04:00
John Preston e1b55b560a New top bar, sharing, internal IV links style. 2024-03-13 21:20:30 +04:00
John Preston 315859bf7b Load full webpage and update in IV. 2024-03-13 21:20:30 +04:00
John Preston 0a87dbea68 Fix focusing IV content. 2024-03-13 21:20:30 +04:00
John Preston 5f3c380d56 Fix navigation on macOS. 2024-03-13 21:20:30 +04:00
John Preston 8b62c37c34 Support complex history and anchors. 2024-03-13 21:20:30 +04:00
John Preston fae10cfa6b Support slideshow layout. 2024-03-13 21:20:30 +04:00
John Preston f9069144e5 Support albums layout. 2024-03-13 21:20:30 +04:00
John Preston 7755b70317 Add top dropdown menu. 2024-03-13 21:20:30 +04:00
John Preston c46f34c677 Load non-streamable documents. 2024-03-13 21:20:30 +04:00
John Preston 5c428ca502 Support anchor jumps. 2024-03-13 21:20:30 +04:00
John Preston 51d5b7bab6 Support channel link / channel join. 2024-03-13 21:20:30 +04:00
John Preston f508ad5e75 Implement title and in-IV buttons. 2024-03-13 21:20:30 +04:00
John Preston f9299eee2a Apply app color scheme, test dynamic header. 2024-03-13 21:20:30 +04:00
John Preston 212259aae3 Handle shortcuts in IV. 2024-03-13 21:20:30 +04:00
John Preston 6d733bb566 Proof-of-concept custom scheme in WKWebView. 2024-03-13 21:20:30 +04:00
John Preston 125f856e67 Proof-of-concept (WebView2 / Local) iv. 2024-03-13 21:20:30 +04:00
23rd 672ad64e53 Added initial ability to send and receive scheduled messages in forums. 2024-03-13 19:57:07 +03:00
23rd cd59f1d576 Removed redundant constructor from HistoryView::ComposeControls. 2024-03-13 19:57:07 +03:00
John Preston c4fc43ccc0 Fix rounding in boost features box. 2024-03-13 20:50:19 +04:00
John Preston b20b3142a2 Update submodules and patches commit. 2024-03-13 20:49:24 +04:00
Ilya Fedin d67f25d726 Update Qt to 6.7.0 on Linux 2024-03-13 20:46:54 +04:00
Ilya Fedin d881019c3b Update submodules 2024-03-13 20:46:34 +04:00
Ilya Fedin abdfa4f785 Remove not really needed notification capability checks
If the notification daemon doesn't support any of the hints, it will just ignore them
2024-03-13 20:46:34 +04:00
Ilya Fedin 5394717ddc Log only GError message 2024-03-13 20:46:34 +04:00
Ilya Fedin c9d58d4259 Use HasCapability directly as an argument to ranges::all_of 2024-03-13 20:46:34 +04:00
Ilya Fedin dba9cada83 Don't check whether specification version is null
We log specification version anyway
2024-03-13 20:46:34 +04:00
Ilya Fedin 0ec5181566 Pre-normalize notification daemon versions 2024-03-13 20:46:34 +04:00
Ilya Fedin 886847f457 Port notifications_manager_linux to cppgir 2024-03-13 20:46:34 +04:00
AlexeyZavar 79d6df2c01 fix: mute exception 2024-03-13 17:25:32 +03:00
AlexeyZavar 0e26b39faf fix: possible crash 2024-03-13 16:34:39 +03:00
AlexeyZavar 2414e51a9b feat: clear selected & close box after shot & scroll to bottom 2024-03-13 15:58:11 +03:00
AlexeyZavar 8bfb7e221b fix: hideNotificationCounters 2024-03-13 15:31:37 +03:00
AlexeyZavar 1935a2b144 fix: replies in topics for message shot 2024-03-13 15:19:38 +03:00
AlexeyZavar c525fd64ca fix: restore menu 2024-03-13 14:47:50 +03:00
AlexeyZavar 6d08b5bf23 fix: read after forward 2024-03-13 13:48:56 +03:00
AlexeyZavar a73da65253 feat: faster animations 2024-03-13 13:25:05 +03:00
AlexeyZavar 2be73d7924 fix: make it build 2024-03-13 12:30:19 +03:00
AlexeyZavar 080400d7b8 Merge tag 'v4.15.2' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/info/info_wrap_widget.cpp
#	Telegram/SourceFiles/settings/settings_common_session.cpp
#	Telegram/lib_ui
#	docs/building-mac.md
#	snap/snapcraft.yaml
2024-03-13 11:44:48 +03:00
John Preston bf1b3dc8f6 Version 4.15.2: Update fcitx-qt5.
I hope this fixes #27573.
2024-03-13 09:21:35 +04:00
John Preston f13971dce1 Use line-tables-only debug information format on macOS.
Otherwise linking fails on x86_64 in Release mode.
2024-03-13 09:20:14 +04:00
AlexeyZavar 3f639d5689 fix: remove rate call box
chore: revisit constants
2024-03-13 00:23:58 +03:00
AlexeyZavar 19a5dc8a0c fix: hint stacking for TTL messages 2024-03-12 22:38:07 +03:00
John Preston 5573bbc776 Version 4.15.2.
- Telegram Business: Greeting Message.
- Telegram Business: Away Message.
- Telegram Business: Quick Replies.
- Telegram Business: Working Hours.
- Close the ongoing call window without hanging up the call.
- Fast scroll through chats list with Ctrl or Shift pressed.
- Several bugfixes.
2024-03-12 23:30:49 +04:00
John Preston 8c5db25476 Fix a crash in main settings destructor.
Fixes #27544.
2024-03-12 23:24:43 +04:00
John Preston c6f49486ee Use regular good-green color in unmute. 2024-03-12 18:34:57 +04:00
John Preston cf6d13acc2 Add fast Ctrl/Shift scroll to ElasticScroll. 2024-03-12 18:34:49 +04:00
John Preston 1647991f6a Fix autologin token account selection. 2024-03-12 15:57:18 +04:00
John Preston b4993453c0 Update submodules. 2024-03-12 14:38:06 +04:00
John Preston 68bb0a1744 Fix recent actions date marks.
Regression was introduced in 7f3ebde252.
2024-03-12 14:38:02 +04:00
John Preston 12356b1617 Fix possible crash in WebView2 destruction. 2024-03-12 14:37:46 +04:00
prawwtocol fc0cfbf003 Update mac build instructions with up-to-date homebrew link 2024-03-10 21:36:51 +04:00
Kolya 77dcbaf00c don't use brotli (built by other dependencies) 2024-03-10 21:35:50 +04:00
AlexeyZavar 69e9841bbb fix: rare crashes 2024-03-09 15:20:23 +03:00
John Preston 626b3395ab Show 00:00-23:59 as "open 24 hours". 2024-03-09 10:58:05 +04:00
John Preston 506b8fd4f1 Fix saving of empty working intervals. 2024-03-09 10:58:05 +04:00
Kolya d3b1abb61e fix windows build 2024-03-09 10:46:27 +04:00
John Preston 990ae11f62 Version 4.15.1: Fix build with GCC. 2024-03-08 15:49:30 +04:00
Ilya Fedin 3d5092f7ad Update cmake_helpers 2024-03-08 15:32:58 +04:00
Ilya Fedin 296e8c1ab1 Use ExecutablePathForShortcuts in PortalAutostart 2024-03-08 15:32:58 +04:00
Ilya Fedin 0df8864ae0 Port specific_linux to cppgir 2024-03-08 15:32:58 +04:00
John Preston 7c002cf8be Version 4.15.1: Fix sending media albums. 2024-03-08 15:26:14 +04:00
John Preston c345b50ab7 Version 4.15.1.
Telegram Business features.
2024-03-08 12:55:20 +04:00
John Preston d729e625e6 Show business section settings only when loaded. 2024-03-08 12:28:53 +04:00
John Preston 2c03d90fc8 Fix the new time picker. 2024-03-08 11:47:29 +04:00
John Preston 5ebd5852ba Update lib_ui submodule. 2024-03-08 10:55:50 +04:00
John Preston 5397f64b23 Add Telegram Business icon to Premium promo. 2024-03-08 10:54:00 +04:00
John Preston 4975cf2ec1 Implement double-drumroll time picker. 2024-03-08 10:54:00 +04:00
John Preston bef26cf9d2 Force right-alignment in quick replies editing. 2024-03-08 10:54:00 +04:00
John Preston 9483d17fc8 Validate quick reply name. 2024-03-08 10:54:00 +04:00
John Preston 288979d8e7 Allow editing quick replies from the suggestions. 2024-03-08 10:54:00 +04:00
John Preston 49ec051760 Make premium toast adaptive. 2024-03-08 10:54:00 +04:00
John Preston 0a8e961142 Suggest premium when sending existing quick replies. 2024-03-08 10:54:00 +04:00
John Preston 6d352597b4 Disable quick replies in bot chats. 2024-03-08 10:54:00 +04:00
John Preston d14f11bd88 fixup Implement preview and save of chatbots. 2024-03-08 10:54:00 +04:00
John Preston d608bffecb Fix limit in business features exception box. 2024-03-08 10:54:00 +04:00
John Preston 00dcf11691 Improve recipients selection in business features. 2024-03-08 10:54:00 +04:00
John Preston e3f6c189a7 Implement preview and save of chatbots. 2024-03-08 10:54:00 +04:00
John Preston ea36345eee Show location and working hours in profile. 2024-03-08 10:53:59 +04:00
John Preston 5e82860376 Allow sending quick replies like bot commands. 2024-03-08 10:53:59 +04:00
John Preston 37f5160d1c Fix bold formatting in the beginning of a quote. 2024-03-08 10:53:59 +04:00
John Preston ee847bc1a3 Fix legacy group pins loading on first group open.
Fixes #27466.
2024-03-08 10:53:59 +04:00
John Preston c94da177d7 Fix build with Xcode. 2024-03-08 10:53:59 +04:00
John Preston 88751896af PremiumPreview/BusinessFeature -> PremiumFeature. 2024-03-08 10:53:59 +04:00
John Preston f812166249 Use server-side order for business features list. 2024-03-08 10:53:59 +04:00
John Preston a47c6f9c9a Show errors on business info savings. 2024-03-08 10:53:59 +04:00
John Preston cf8aaf5f9d Save away / greeting settings. 2024-03-08 10:53:59 +04:00
John Preston ca4cbddba6 Check shortcuts / messages limits. 2024-03-08 10:53:59 +04:00
John Preston dd6768a476 Add stories rights by default to new admins. 2024-03-08 10:53:59 +04:00
John Preston 7f7d544943 Show nice empty quick reply placeholder. 2024-03-08 10:53:59 +04:00
John Preston d5e920e45a Update API scheme on layer 176. 2024-03-08 10:53:59 +04:00
John Preston 8545a14763 Fix shortcut messages sizing / emoji panel. 2024-03-08 10:53:59 +04:00
John Preston aad8e989d8 Shortcuts edit / delete menu. 2024-03-08 10:53:59 +04:00
John Preston f086203d25 Implement proper shortcut management. 2024-03-08 10:53:59 +04:00
John Preston 23e22de6ec Fix deleting shortcut items. 2024-03-08 10:53:59 +04:00
John Preston fb539b0f70 Improve shortcut messages geometry. 2024-03-08 10:53:59 +04:00
John Preston 6e08b00dba Fix sending .tgs files as stickers.
Regression was introduced in 3467fe226f.
2024-03-08 10:53:59 +04:00
John Preston 7f3ebde252 Implement sending of shortcutted messages. 2024-03-08 10:53:59 +04:00
John Preston 5c11fa4f63 Update API scheme on layer 176. 2024-03-08 10:53:59 +04:00
John Preston d05c4e0990 Start shortcut messages sending. 2024-03-08 10:53:59 +04:00
John Preston dd7ccada2f Support edit / save of greeting message settings. 2024-03-08 10:53:59 +04:00
John Preston e6b9ac2267 Support edit / save of away message settings. 2024-03-08 10:53:58 +04:00
John Preston f85c3c88f7 Add rpl interface to RadiobuttonGroup. 2024-03-08 10:53:58 +04:00
John Preston e05eb63476 Update API scheme on layer 176. 2024-03-08 10:53:58 +04:00
John Preston c513906996 Change default for business recipients. 2024-03-08 10:53:58 +04:00
John Preston dd0bdd62fb Support business working hours API. 2024-03-08 10:53:58 +04:00
John Preston 4d12f1c0ef Initial working hours editing. 2024-03-08 10:53:58 +04:00
John Preston 1fe641c458 Update API scheme to layer 176. 2024-03-08 10:53:58 +04:00
John Preston 1e5f821c6f Start all business sections implementation. 2024-03-08 10:53:58 +04:00
John Preston 0af131f144 Invert group / channel features list. 2024-03-08 10:53:58 +04:00
John Preston ad9107ca90 Implement chatbots section editing. 2024-03-08 10:53:58 +04:00
John Preston 205479fccc Layout chatbots editing section. 2024-03-08 10:53:58 +04:00
John Preston 0c991466f5 Update API scheme to layer 175. Business promo. 2024-03-08 10:53:58 +04:00
23rd 0fad42b5b4 Added ability to open box for voice restrictions without premium. 2024-03-08 10:53:58 +04:00
23rd 27bd9e3ee5 Added icons to buttons for privacy settings that require premium. 2024-03-08 10:53:58 +04:00
23rd 02e1c03ed9 Fixed position of connecting state widget when forum is opened.
Fixed #27548.
2024-03-08 10:53:58 +04:00
23rd f56b16c6ef Added initial badges for minimal level of boosts to channel settings. 2024-03-08 10:53:58 +04:00
23rd 09285bc9cd Moved out minimal levels of boosts for channel settings to single place. 2024-03-08 10:53:58 +04:00
23rd eab249fc13 Fixed countdown label for input field of bio. 2024-03-08 10:53:58 +04:00
23rd 48eb408fb8 Fixed text elision of vote amount in polls with reactions. 2024-03-08 10:53:58 +04:00
23rd ef474f0dc8 Fixed opening of local links from webview bots in appropriate window. 2024-03-08 10:53:58 +04:00
23rd a704611705 Fixed ability to create vertical drum picker with first chosen item. 2024-03-08 10:53:58 +04:00
23rd b790847fde Added ability to close call panel without hanging up call. 2024-03-08 10:53:58 +04:00
23rd c0c330a150 Fixed bubble color under strip of emoji pad for reactions. 2024-03-08 10:53:58 +04:00
23rd aec4857e7b Fixed format of phone number in intro widget. 2024-03-08 10:53:58 +04:00
23rd 5dc6bdcc42 Fixed reply bar stuck when sending file in replies section. 2024-03-08 10:53:58 +04:00
23rd 08717dcd78 Added counter label of characters limit to edit mode without media. 2024-03-08 10:53:58 +04:00
23rd a77c547a62 Fixed edit of long media caption with emoji. 2024-03-08 10:53:58 +04:00
23rd d252427e34 Added blockquote to white list for message links parser. 2024-03-08 10:53:58 +04:00
23rd 58443bc197 Fixed ability to schedule forwarded messages without comment. 2024-03-08 10:53:58 +04:00
23rd ea20e41f1d Added drag text to contact view. 2024-03-08 10:53:58 +04:00
23rd afdd22d154 Fixed phone formatting generally. 2024-03-08 10:53:58 +04:00
23rd 93d1a187ca Improved view style of contacts. 2024-03-08 10:53:57 +04:00
23rd 52c779bffa Added support of inline markup reply to HTML export. 2024-03-08 10:53:57 +04:00
23rd de1bd6ef28 Slightly simplified creation of universal variables in prepare.py. 2024-03-08 10:53:57 +04:00
23rd c26982be3e Added support for AVIF, HEIF and JPEG XL on macOS. 2024-03-08 10:53:57 +04:00
mrbesen 5971aefb83 add bash shebang 2024-03-08 08:05:55 +04:00
Ilya Fedin 41481129f7 Port main_window_linux to cppgir 2024-03-08 08:05:12 +04:00
Ilya Fedin 7b8cdb43c4 Port linux_xdp_open_with_dialog to cppgir 2024-03-08 08:05:12 +04:00
Ilya Fedin 1e9b7e2726 Use XDP::kObjectPath for session and request paths 2024-03-08 08:05:12 +04:00
Ilya Fedin a66b886c51 Initialize Linux lock screen monitor fully asynchronously 2024-03-08 08:05:12 +04:00
Ilya Fedin 5b62d97288 Update submodules 2024-03-08 08:05:12 +04:00
Kolya b040b62b4e prepare.py: simplify qt5 clone 2024-03-07 18:14:34 +04:00
Kolya 50f51d0747 update new script location in qt repo 2024-03-07 18:14:34 +04:00
xmdn 95b4fc0216 use modern installer style 2024-03-01 12:43:33 +04:00
GitHub Action da047edbc5 Update User-Agent for DNS to Chrome 122.0.0.0. 2024-03-01 12:41:47 +04:00
Ilya Fedin a8b5061003 Fix a std::clamp assertion 2024-03-01 12:41:35 +04:00
Kolya ec427ad45d Use TOOLCHAIN variable name 2024-02-23 13:17:55 +04:00
Kolya 778ab70b72 Fix libvpx build on VS 17.8+
use with https://github.com/desktop-app/patches/pull/182
2024-02-23 13:17:55 +04:00
AlexeyZavar bf5337259d fix: message shot replies in topics 2024-02-22 22:59:22 +03:00
AlexeyZavar 039795cab8 feat: disable custom backgrounds 2024-02-22 22:46:46 +03:00
AlexeyZavar e580640adc fix: crash 2024-02-20 23:26:31 +03:00
AlexeyZavar 3a9b470e47 fix: change ease 2024-02-20 22:47:27 +03:00
AlexeyZavar 5d145cc613 fix: crash 2024-02-20 22:36:10 +03:00
AlexeyZavar df0c1f814a fix: skill issue
Pro-tip: don't watch anime while coding.
2024-02-20 22:32:41 +03:00
Ilya Fedin 5d1aa10768 Remove no longer needed boost-program-options from snap
Looks like cppgir has stopped to use it during some of the updates
2024-02-19 14:31:08 +04:00
ZavaruKitsu 7e62f8749d fix: prettify imports 2024-02-19 00:09:01 +03:00
ZavaruKitsu e592b21912 fix: update submodules 2024-02-18 23:28:34 +03:00
ZavaruKitsu e2fafc62fd fix: make it build
fix: `disableStories`
2024-02-18 23:25:12 +03:00
ZavaruKitsu 43b0df3f94 Merge tag 'v4.15.0' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/dialogs/dialogs_row.cpp
#	Telegram/SourceFiles/dialogs/dialogs_widget.cpp
#	Telegram/SourceFiles/history/view/history_view_message.cpp
#	Telegram/SourceFiles/info/profile/info_profile_actions.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-02-18 21:37:55 +03:00
ZavaruKitsu b8dda54e04 fix: a couple of crashes
fix: disable peer ids again
2024-02-18 21:30:48 +03:00
John Preston cb065146c2 Version 4.15: Fix build with GCC. 2024-02-18 21:00:10 +04:00
John Preston 3aab2a88aa Remove helper temporary code. 2024-02-18 20:56:51 +04:00
John Preston 9a012d8b9b Version 4.15: Fix build with Xcode. 2024-02-18 20:46:10 +04:00
John Preston eaad2034e6 Version 4.15.
- Stories from groups.
- Group appearance settings.
- Group emoji pack.
- Boost groups to unlock features.
2024-02-18 20:24:20 +04:00
John Preston 2a52eca5f5 Fix set icon in updating group emoji set. 2024-02-18 20:21:03 +04:00
John Preston 13ded3a82e Fix crash in removing group emoji set. 2024-02-18 20:15:55 +04:00
John Preston 9a0ea78e0f Don't show duplicated emoji set. 2024-02-18 20:11:57 +04:00
John Preston a2fe1506cc Fix build. 2024-02-18 17:55:07 +04:00
John Preston 608b4f30c5 Show thumbnail of selected group emoji pack. 2024-02-18 17:54:09 +04:00
Ilya Fedin 3af646a584 Disable system proxy support on Linux
Reading system proxy on Linux reads to massive crashes in system libraries.

Since those crashes are unreproducible in development environment, it's not possible to find the root cause.

Workarounds #27482.
2024-02-18 00:26:36 +04:00
John Preston 89c7147fd9 Improve group appearance box design. 2024-02-18 00:25:40 +04:00
John Preston d4ee45f9ff Use nice boost features icons. 2024-02-17 22:05:05 +04:00
John Preston df5454a0b0 Fix build. 2024-02-17 22:04:46 +04:00
John Preston ebf4e88a10 Fix crash in giveaway results view. 2024-02-17 21:49:07 +04:00
John Preston 0163ec314a Improve phrases for giveaways in groups. 2024-02-17 21:46:00 +04:00
23rd 46d5a93c96 Slightly improved fade effect for bottom side of input message field. 2024-02-17 20:33:59 +03:00
23rd dd6cbd2c36 Fixed edit of long text message without media. 2024-02-17 20:33:59 +03:00
Ilya Fedin 5bf6a93086 Replace usage of deprecated CRAFT_ARCH_TRIPLET 2024-02-17 21:11:45 +04:00
Ilya Fedin 1146ecfd45 Update macOS action to macOS 13 2024-02-17 21:11:45 +04:00
John Preston f59c46cd7c Remove "Boost Group" button in channels. 2024-02-17 21:06:07 +04:00
John Preston 20f3ef9a5b Fix stories likes in groups. 2024-02-17 21:06:07 +04:00
John Preston 41d3e16c7d Don't add peer saved / stories in topics profiles. 2024-02-17 21:06:07 +04:00
John Preston 46d11b6dcb Use correct phrases in group stories. 2024-02-17 21:06:07 +04:00
John Preston adc8966c61 Fix device pixel ratio in stories userpics. 2024-02-17 21:06:07 +04:00
John Preston d5353e8741 Fix hidden sender info display in Saved Messages.
Fixes #27463.
2024-02-17 21:06:07 +04:00
23rd e79be73025 Added ability to export peer ids from contact list. 2024-02-17 17:34:44 +03:00
23rd f20e393d77 Fixed fade effect for input message fields when theme is changed. 2024-02-17 17:34:44 +03:00
23rd 6336ed33fa Removed some include directives. 2024-02-17 17:34:44 +03:00
Ilya Fedin bcc864cbe1 Fix build without Wayland integration 2024-02-16 23:41:07 +04:00
Ilya Fedin 2dd1ab31b9 Update submodules 2024-02-16 19:06:33 +04:00
Ilya Fedin 9f58a5a4b0 Limit source depth for snapcraft desktop helpers 2024-02-16 19:06:33 +04:00
Ilya Fedin e31704d01e Update Qt to 6.6.2 on Linux 2024-02-16 19:06:33 +04:00
John Preston f1b7d9ebba Version 4.14.16.
- Boost groups.
2024-02-16 15:00:19 +04:00
23rd 991110b84d Fixed fade effect for input message fields in compose controls. 2024-02-16 15:00:19 +04:00
John Preston 18ca4a9eeb Add a couple of phrases for group wallpapers. 2024-02-16 12:22:38 +04:00
John Preston 9f7ee3cafd Correctly check webview init success.
Also correctly init recreated webview bottom bar.

Fixes #27481, fixes #27479.
2024-02-16 12:14:13 +04:00
John Preston 137155afd8 Use round thumbnail in forum stories. 2024-02-16 11:27:09 +04:00
John Preston 38e082422a Show story sender / repost userpic under story source. 2024-02-15 13:51:41 +04:00
John Preston 0fd8ceca6b Use Ui::DynamicImage and ui/dynamic_thumbnails module. 2024-02-15 13:51:41 +04:00
John Preston f674ace805 Send comments to group stories. 2024-02-15 13:51:41 +04:00
John Preston 11f0847295 Update API scheme on layer 174. 2024-02-15 13:51:41 +04:00
John Preston 964846f1bb Add stories rights to group admins edit. 2024-02-15 13:51:41 +04:00
John Preston fc6f2520b7 Support free transcribes in groups. 2024-02-15 13:51:41 +04:00
John Preston cfaef4c441 Add Boost Group in group menu. 2024-02-15 13:51:40 +04:00
John Preston 571f1a5179 Implement free megagroup emoji set. 2024-02-15 13:51:40 +04:00
John Preston 08efa73b2b Allow editing group wallpaper / status / emoji set. 2024-02-15 13:51:40 +04:00
John Preston 680171226c Boost community features list. 2024-02-15 13:51:40 +04:00
John Preston ea12c2f62c Respect boosts restrictions lifting. 2024-02-15 13:51:40 +04:00
John Preston 180b14ea36 Allow saving boosts to lift restrictions. 2024-02-15 13:51:40 +04:00
John Preston f6a8c1e996 Allow boosts / giveaways in groups. 2024-02-15 13:51:40 +04:00
John Preston cb174cb0bf Add some more premium promo sections. 2024-02-15 13:51:40 +04:00
John Preston 33207b78d5 Show applied boosts in message bubbles. 2024-02-15 13:51:40 +04:00
John Preston e32cbf468b Update API scheme to layer 174. 2024-02-15 13:51:40 +04:00
John Preston c891ee3a45 Fix build on Windows. 2024-02-15 13:51:40 +04:00
23rd 6de471db17 Added counter label of characters limit to send files box. 2024-02-15 09:37:11 +03:00
23rd d1eaf284b1 Fixed text suggestion in toast when media caption is too long. 2024-02-15 08:22:16 +03:00
23rd 5cd0d82ffb Added counter label of characters limit for long media captions. 2024-02-15 08:21:35 +03:00
23rd 113c8a797f Added fade effect to input message fields. 2024-02-14 21:33:17 +03:00
23rd dcf4f45a36 Fixed ability to copy entire translated text from context menu. 2024-02-14 21:33:17 +03:00
Ilya Fedin 8b6a7a443e Switch from libproxy to GProxyResolver 2024-02-14 20:01:31 +04:00
Ilya Fedin c5db2b8175 Ensure custom arguments get applied in generated .desktop file 2024-02-14 09:31:19 +04:00
Ilya Fedin 00f98793b1 Update lib_webview 2024-02-12 19:52:08 +04:00
ZavaruKitsu 77d129a738 fix: crash 2024-02-12 00:58:52 +03:00
ZavaruKitsu af18da81f4 fix: crash 2024-02-12 00:39:01 +03:00
John Preston e5f90cd40d Version 4.14.15.
- Fix webview regression on Linux X11. (2nd attempt)
2024-02-10 00:32:40 +04:00
ZavaruKitsu 5bb633d982 fix: crashes & infinite loop 2024-02-09 20:00:14 +03:00
John Preston a10d668131 Version 4.14.14.
- Fix webview regression on Linux X11.
2024-02-09 20:18:40 +04:00
John Preston 8a62bacaa6 Fix anti-aliasing in emoji categories search. 2024-02-09 20:15:02 +04:00
100backslash001 bacab01f7e Remove duplicates from configure.py 2024-02-09 10:49:18 +04:00
23rd 5d3400033a Fixed ability to copy whole transcribed text and copy album captions. 2024-02-08 17:35:29 +03:00
23rd 0e571ea679 Added ability to copy filename of named documents. 2024-02-08 17:32:25 +03:00
23rd b959262140 Fixed legal link in some files. 2024-02-08 15:20:42 +03:00
Ilya Fedin fd3ce905c0 Update lib_webview 2024-02-08 11:45:09 +04:00
ZavaruKitsu 222a643ce3 feat: allow copying with background
chore: refactor a bit
2024-02-08 00:24:34 +03:00
ZavaruKitsu f583732688 fix: crash if deleted when taking shot 2024-02-07 23:40:40 +03:00
ZavaruKitsu 4e9443e200 feat: quick admins & recent actions
Co-authored-by: c0re100 <corehusky@gmail.com>
2024-02-07 23:25:02 +03:00
Ilya Fedin 29debc07c4 Let specify arbitrary build configuration via Docker
Default to RelWithDebInfo for both optimizations and debug information
2024-02-06 20:31:44 +04:00
Ilya Fedin 5334096d68 Fix bot webview height with fractional scaling 2024-02-06 10:25:27 +04:00
Ilya Fedin bb3f8fbbe8 Check whether webview is destructed after Webview::Window::init 2024-02-05 16:22:52 +04:00
ZavaruKitsu a96f8d8ac3 chore: update copyright
fix: don't display date for big emoji
2024-02-04 21:19:42 +03:00
ZavaruKitsu d4a22a5110 chore: sync database schema & refactor & reformat 2024-02-04 20:41:21 +03:00
ZavaruKitsu adb5abf4fb chore: reformat & refactor & remove as not planned for now 2024-02-04 18:36:11 +03:00
ZavaruKitsu 4a6ae07409 feat: allow hiding message shot 2024-02-04 17:05:26 +03:00
ZavaruKitsu f6081db13f fix: hide comments for posts 2024-02-04 15:26:43 +03:00
ZavaruKitsu 33b6f5d207 feat: register url scheme in settings 2024-02-04 14:10:08 +03:00
ZavaruKitsu 84c62470bb feat: rework sendOfflinePacketAfterOnline 2024-02-04 04:00:24 +03:00
ZavaruKitsu a3f4185b45 fix: remove as not planned 2024-02-04 03:02:48 +03:00
ZavaruKitsu 2729fee0ac feat: show channel badge 2024-02-04 02:56:07 +03:00
ZavaruKitsu 964f9bd904 fix: some crashes 2024-02-04 00:46:27 +03:00
ZavaruKitsu cfa007de84 fix: make it compile 2024-02-04 00:46:03 +03:00
ZavaruKitsu 77d52bb1b3 Merge v4.14.13
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/controls/history_view_voice_record_bar.cpp
#	Telegram/SourceFiles/history/view/media/history_view_photo.cpp
#	Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp
#	Telegram/SourceFiles/mainwidget.cpp
#	Telegram/lib_ui
2024-02-03 23:57:25 +03:00
John Preston 2f0b50cb37 Version 4.14.13: Always send webpages optionally.
If the link cannot be displayed everywhere
(channel blocked in some countries) the
send request without `optional` flag fails.
2024-02-02 21:41:19 +04:00
John Preston 6185fa980d Version 4.14.13.
- Fix display of statistics for single posts.
- Allow editing tag name from search tags.
- Fix a crash in tags removal.
2024-02-02 21:38:23 +04:00
John Preston 1cce1e8a90 Fix a crash in tags removal. 2024-02-02 21:33:58 +04:00
23rd 237baf11df Fixed display of statistics for single posts. 2024-02-02 21:33:46 +04:00
Ilya Fedin 46023f4260 Update lib_webrtc 2024-02-02 20:46:54 +04:00
John Preston 8459c29073 Allow editing tag name from search tags. 2024-02-02 11:25:04 +04:00
John Preston f072173d7c Fix tags for just-sent Saved Messages. 2024-02-02 09:52:32 +04:00
John Preston bec34c34b1 Version 4.14.12: Fix build with GCC. 2024-02-01 21:13:07 +04:00
John Preston 04ab148b2e Version 4.14.12.
- Tags in Saved Messages.
- Audio output device selection for music and videos.
- Audio input device selection for voice messages recording.
- Default device changes should be applied instantly. (Windows / macOS)
2024-02-01 17:52:37 +04:00
John Preston e314abefb8 Fix build with Xcode. 2024-02-01 17:52:37 +04:00
John Preston cdaa23363f Allow reaction reports in public groups. 2024-02-01 17:52:37 +04:00
John Preston 5401d00548 Allow reporting / banning from reactions in groups. 2024-02-01 17:30:40 +04:00
John Preston c06699e8e7 Update API scheme on layer 173. 2024-02-01 12:47:52 +04:00
John Preston 2f40a44b5c Improve things for OpenAL devices management. 2024-02-01 12:37:34 +04:00
John Preston 0945e04f6b Allow filtering by tag on click in sublists. 2024-02-01 12:37:34 +04:00
John Preston db7c16f82b Fix about message reaction text color. 2024-02-01 12:37:34 +04:00
John Preston 30548c2859 Support tags search in sublists. 2024-02-01 12:37:34 +04:00
John Preston 0163938e00 Add shadow below tags list widget. 2024-02-01 12:37:34 +04:00
John Preston 3421b656db Fix saved tag click in separate window messages. 2024-02-01 12:37:34 +04:00
John Preston 39b80c98c7 Support tags in ComposeSearch. 2024-02-01 12:37:34 +04:00
John Preston 323500f6dd Improve design of locked tags. 2024-02-01 12:37:34 +04:00
John Preston 11cf0486cb Implement required paywalls in tags. 2024-02-01 12:37:34 +04:00
John Preston 46579ac84d Support about text above reactions strip. 2024-02-01 12:37:34 +04:00
John Preston f324c53440 New premium promo section about tags. 2024-02-01 12:37:34 +04:00
John Preston 87df90227e Remove legacy premium reactions code. 2024-02-01 12:37:34 +04:00
John Preston 6f57302562 Track tag counts in all sublists. 2024-02-01 12:37:34 +04:00
John Preston d116c8fea0 Allow editing tag names in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston 32462fca9b Show tag names in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston 55a174190e Fix reactions expanding. 2024-02-01 12:37:34 +04:00
John Preston 9f738cded2 Fix saved messages sublists pinning updates. 2024-02-01 12:37:34 +04:00
John Preston 87c1329490 Re-enable tags in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston ded2015dc2 Update API scheme to layer 173. 2024-02-01 12:37:34 +04:00
23rd 98a71cce89 Improved toast phrase for forwarded messages to self. 2024-02-01 12:37:34 +04:00
23rd a3ba1ba2a1 Fixed ability to create group without ttl even with ttl in settings. 2024-02-01 12:37:33 +04:00
23rd 42842619b0 Added external link to username field when it is available for purchase. 2024-02-01 12:37:33 +04:00
23rd 32d3b90cdc Replaced behavior of statistics info to wait all charts. 2024-02-01 12:37:33 +04:00
GitHub Action b182aeb51e Update User-Agent for DNS to Chrome 121.0.6167.85. 2024-02-01 12:37:25 +04:00
Ilya Fedin 7049929a59 Update libproxy 2024-01-31 23:27:41 +04:00
Ilya Fedin aa5413da4e Ensure cant reproduce label is not automatically removed 2024-01-31 11:04:04 +04:00
Zephyr Lykos 32dfe0f65e Update cppgir to fix nullptr dereference in glib 2.79 2024-01-31 11:03:36 +04:00
Ilya Fedin 5d33290218 Shorten socket paths on Linux 2024-01-29 11:46:12 +04:00
ZavaruKitsu e47ff9fd34 feat: copy phone on click 2024-01-28 22:55:38 +03:00
ZavaruKitsu 58e38c487a feat: use Sentry for crash reporting 2024-01-28 22:44:48 +03:00
Ilya Fedin 852196a013 Add cant reproduce label handling 2024-01-27 08:52:14 +04:00
Ilya Fedin 0ff3d4b2ed Add needs user action label handling 2024-01-27 08:52:14 +04:00
Ilya Fedin b843dab87a Get error message from the right object when copying log file 2024-01-27 07:17:24 +04:00
ZavaruKitsu 1e34bc6b30 fix: close confirmation box 2024-01-26 19:48:41 +03:00
ZavaruKitsu b3225af685 chore: update deps 2024-01-26 19:30:17 +03:00
ZavaruKitsu 59e44d4e96 feat: add scoop note
Co-authored-by: 1MoreRaiday <123898931+1MoreRaiday@users.noreply.github.com>
2024-01-26 19:11:28 +03:00
ZavaruKitsu 9321f22a9e fix: remove icon override with hideNotificationCounters 2024-01-26 18:55:07 +03:00
ZavaruKitsu 8718e0a045 feat: show user id instead of phone 2024-01-26 18:46:56 +03:00
ZavaruKitsu c4cf4325d6 feat: quick access to preferences
It's label useless so why not just replace with custom preferences.
2024-01-26 18:39:47 +03:00
ZavaruKitsu 9c71aba5d1 feat: message shot
feat: send image as sticker
fix: don't query author pack if ID == 0
fix: use predefined confirmation boxes
2024-01-26 18:25:03 +03:00
23rd 20bd7db4d9 Slightly improved display of top label in Premium Settings for user. 2024-01-25 19:28:31 +04:00
23rd 92f0358800 Fixed text insertion from menu bar on macOS when input field is hidden. 2024-01-25 19:28:30 +04:00
John Preston 0372f2be9c Beta version 4.14.11.
- Fix crash when accepting calls.
- Fix possible crash in loopback audio on Windows.
2024-01-25 19:26:55 +04:00
John Preston 7dfb93f7c2 Add some assertions for debugging a crash. 2024-01-25 18:30:21 +04:00
John Preston 3c150d9742 Fix possible crash in loopback audio on Windows. 2024-01-25 18:30:21 +04:00
John Preston 3c5cace175 Fix chats list bottom buttons skip. 2024-01-25 17:55:10 +04:00
John Preston 7e7fd6f1b4 Fix crash in accepting calls. 2024-01-25 17:54:31 +04:00
John Preston eebe7adbcb Beta version 4.14.10.
- Allow choosing audio device for music and video files.
- Allow choosing microphone device for voice recording.
- Allow pause and resume voice messages recording.
- Track audio device changes on Windows and macOS.
2024-01-25 11:57:58 +04:00
23rd 5561bdeb5e Fixed top of ttl button in voice record bar with float media player. 2024-01-25 11:57:58 +04:00
John Preston a670095294 Update patched OpenAL on macOS / Windows. 2024-01-25 11:57:58 +04:00
John Preston 104ba4db7c Fully migrate to Webrtc::Environment. 2024-01-25 11:57:58 +04:00
John Preston 9a6ab3b0f2 Improve call device migration. 2024-01-25 11:04:27 +04:00
John Preston e5b89b1572 Separate settings for calls. 2024-01-25 11:04:27 +04:00
John Preston 65a80766f4 Implement media device tracking on macOS. 2024-01-25 11:04:27 +04:00
John Preston 736b489eb7 Fix build of updated tgcalls on macOS. 2024-01-25 11:04:27 +04:00
John Preston d3778f92d2 Implement media devices tracking on Windows. 2024-01-25 11:04:27 +04:00
23rd 30e694420a Added icon to button for resuming of voice recording. 2024-01-25 11:04:27 +04:00
23rd 091c13bc23 Added initial ability to pause and resume voice recording. 2024-01-25 11:04:27 +04:00
23rd 5130c5df80 Replaced display of stop icon in voice record bar with pause icon. 2024-01-25 11:04:27 +04:00
23rd 7542f04010 Added specific phrases to chats list for voice messages with ttl. 2024-01-25 11:04:27 +04:00
23rd dff4191ac9 Added reward phrase to about label in gift box. 2024-01-25 11:04:27 +04:00
23rd 15e2874da8 Fixed display of loading progress in voice messages with ttl. 2024-01-25 11:04:27 +04:00
John Preston 8eb49d5efc Fix possible connection problem in calls. 2024-01-22 11:06:42 +04:00
John Preston 230761eb23 Version 4.14.9.
- Fix two possible crashes in messages history and group search.
- Fix local online status turning off. (once again)
2024-01-19 21:48:39 +04:00
John Preston bb0ab27244 Fix possible crash in service message update. 2024-01-19 21:46:56 +04:00
John Preston bdeaf4f27a Fix crash in search in group messages from user.
Fixes #27387.
2024-01-19 21:46:55 +04:00
John Preston 6d608bed98 Add DESKTOP_APP_ASAN CMake option on Windows. 2024-01-19 21:46:48 +04:00
John Preston 5a47acf1d2 Change reply-in-chat locally. 2024-01-19 16:24:50 +04:00
John Preston 02a306ba70 Fix get premium suggestion display. 2024-01-19 15:45:56 +04:00
John Preston 75e19235cd Improve get premium phrase. 2024-01-19 15:45:46 +04:00
John Preston 7d9b4e1e03 Fix local online status fadeout once again. 2024-01-19 11:44:33 +04:00
John Preston d0fff1611c Version 4.14.8.
- Fix initial position and size of secondary windows.
- Optimize messages loading. (load replies on demand)
- Fix local online status turning off.
2024-01-18 22:22:35 +04:00
John Preston e4ca8ae847 Fix several possible crashes. 2024-01-18 22:22:35 +04:00
John Preston f53b64bc72 Fix local online finishing. 2024-01-18 21:19:07 +04:00
John Preston 981909e567 Closed alpha version 4.14.7.1. 2024-01-18 19:26:32 +04:00
John Preston ce6fc19b84 Try to request dependent messages on demand. 2024-01-18 19:26:32 +04:00
John Preston a38f731265 Version 4.14.7: Fix build with Xcode 15.2. 2024-01-18 17:51:52 +04:00
John Preston d55dd7dffd Version 4.14.7: Fix build with GCC. 2024-01-18 17:50:37 +04:00
John Preston 37478d951a Fix initial geometry for secondary windows. 2024-01-18 17:27:30 +04:00
John Preston 814de17f28 Version 4.14.7.
- See when your message was read in private chat.
- Premium users can see other last seen times
if they weren't hidden explicitly.
- Premium users can allow new chats only from their contacts
and other Premium users.
2024-01-18 14:35:35 +04:00
John Preston 5f97d683df Count senders / captions count correctly in forwards. 2024-01-18 13:26:14 +04:00
John Preston 95d4e02ae1 Fix a glitch in search-in-separate-window. 2024-01-18 13:20:33 +04:00
John Preston abf9764640 Another attempt to fix TTL tooltip. 2024-01-18 12:44:35 +04:00
John Preston 80ee38f9fb Change taps to clicks in built-in phrases. 2024-01-18 12:43:47 +04:00
John Preston b4ab20bbe9 Fix media expiration from another client. 2024-01-18 12:23:47 +04:00
John Preston f6a95df550 Show toast on invite attempt to premium required. 2024-01-18 12:01:03 +04:00
John Preston f3f660a180 Show toast on share attempt to premium required. 2024-01-18 10:39:00 +04:00
ZavaruKitsu 0cf36db010 feat: add support for Spotify links
Open `open.spotify.com` links in the desktop application
2024-01-17 19:54:02 +03:00
ZavaruKitsu bfeb225bc2 feat: add custom emoji preview support 2024-01-17 18:18:48 +03:00
ZavaruKitsu 31d486c2e2 feat: support expiring voice/video
fix: incorrect size of burn icon
fix: read reactions and mentions after actions
2024-01-17 17:07:03 +03:00
John Preston eda7118df9 Show toast on forward attempt to premium required. 2024-01-17 16:43:25 +04:00
John Preston 7c468052e6 Fix premium-required info on first load. 2024-01-17 11:16:05 +04:00
John Preston 43eca490a7 Recreate webview on reload request after a crash. 2024-01-17 10:16:12 +04:00
John Preston 3710d61a09 Show "Hide read time" only on non-trivial privacy. 2024-01-17 09:39:05 +04:00
John Preston 5daa5a00f0 Correctly use contact_require_premium bit. 2024-01-17 09:39:05 +04:00
John Preston 6e31993777 Update API scheme on layer 172. 2024-01-17 09:39:05 +04:00
John Preston 1cfad14437 Show correct placeholder in require-premium story reply. 2024-01-17 09:39:05 +04:00
John Preston 3829ed5880 Fix build with Xcode. 2024-01-17 09:39:05 +04:00
John Preston e5cda0e2b1 Show "premium required" information in chat. 2024-01-17 09:39:05 +04:00
John Preston c765bee0cd Update API scheme on layer 172. 2024-01-17 09:39:05 +04:00
John Preston 16942d487a New "Messages" privacy option and box. 2024-01-17 09:39:05 +04:00
John Preston 5cb4cfef32 Improve geometry restore on secondary screen. 2024-01-17 09:39:05 +04:00
John Preston 4d86ced1e6 Improve "show" last seen button design. 2024-01-17 09:39:05 +04:00
John Preston ad03431b0a Improve "read time" context menu info design. 2024-01-17 09:39:05 +04:00
John Preston 474f1118b6 Proof-of-concept read time in private chats. 2024-01-17 09:39:05 +04:00
John Preston e63d573414 Proof-of-concept last seen hidden. 2024-01-17 09:39:04 +04:00
John Preston 33643ff7fc Add "show" button for last seen hidden. 2024-01-17 09:39:04 +04:00
John Preston ca25ad57b1 Update API scheme to layer 172. 2024-01-17 09:39:04 +04:00
ZavaruKitsu fc2cc6ce6b fix: don't read topics 2024-01-17 02:05:27 +03:00
ZavaruKitsu fe64dfeb1f fix: make it compile
fix: restore Quit shortcut for use in custom shortcuts file
2024-01-17 01:05:24 +03:00
ZavaruKitsu abf17407ea Merge tag 'v4.14.6' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/dialogs/dialogs_widget.cpp
#	Telegram/SourceFiles/dialogs/dialogs_widget.h
#	Telegram/SourceFiles/history/history_item_helpers.cpp
#	Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp
#	Telegram/lib_ui
#	lib/xdg/org.telegram.desktop.metainfo.xml
#	snap/snapcraft.yaml
2024-01-16 23:44:24 +03:00
John Preston c364383cf0 Version 4.14.6.
- Fix one-time audio tooltip showing in wrong places.
- Fix media viewer showing above taskbar on Windows.
- Fix crash in one-time video message playback.
2024-01-16 21:44:56 +04:00
John Preston 5033b9ef0d Fix crash in ttl video, track editions. 2024-01-16 21:43:19 +04:00
John Preston 605b255e32 Fix media viewer non-full-screen-ness. 2024-01-16 21:12:06 +04:00
John Preston d3fdfe4b29 Fix crash in themes editor.
Fixes #27366.
2024-01-16 21:09:45 +04:00
John Preston c452694348 Pause infinite radial timer if anim::Disabled. 2024-01-16 20:31:44 +04:00
23rd 83fc19e143 Changed behavior in voice record bar to create ttl button on demand. 2024-01-16 20:31:25 +04:00
John Preston 6686fe110d Fix release script working from Linux. 2024-01-16 20:29:58 +04:00
John Preston ed027c23d0 Version 4.14.5: Fix build with GCC. 2024-01-16 20:29:37 +04:00
John Preston 2213bedc12 Version 4.14.5.
- Allow sending one-time voice messages.
- Improve playing one-time voice and video messages.
- Remove Ctrl+Shift+[1-6] shortcuts by default,
some are used in input methods.
- Some bugs and glitches fixed.
2024-01-16 13:14:36 +04:00
John Preston ac7958f335 Remove ctrl+shift+N shortcuts by default.
Those are used in some input methods, including Farsi.

You can always add such bindings in tdata/shortcuts-custom.json for
the "account1", "account2", etc commands.

Fixes #27334.
2024-01-16 13:03:44 +04:00
John Preston 3301d28615 Fix white glitch workaround on Windows. 2024-01-16 12:53:50 +04:00
John Preston 6033071e61 Fix new taskbar "Quit Telegram" icon generation. 2024-01-16 12:53:23 +04:00
John Preston 06775b5623 Optimize ttl media overlay a bit. 2024-01-16 11:56:28 +04:00
John Preston 93a734eecf Prepare ttl-media release. 2024-01-16 11:56:08 +04:00
John Preston 6f64fea0b1 Fix build with Xcode. 2024-01-16 11:21:04 +04:00
John Preston 6b910e11e5 Update lib_webview submodle. 2024-01-16 11:18:56 +04:00
John Preston b31bb6dd33 Fix sending single-time voice messages. 2024-01-16 11:18:56 +04:00
John Preston 104cf504ab Play ttl media horizontally where the message was. 2024-01-16 11:18:56 +04:00
John Preston b462d7627f Fix channels in poll results restoring. 2024-01-16 11:18:56 +04:00
23rd cb4781360a Added first shown tooltip to ttl button from voice record bar. 2024-01-16 11:18:56 +04:00
23rd 8895e49466 Fixed display of corner button in section with ttl button in record bar. 2024-01-16 11:18:56 +04:00
23rd d1f4463c2a Added simple tooltip to ttl button from voice record bar. 2024-01-16 11:18:56 +04:00
23rd f9b5789cf7 Fixed button position in voice record bar for ttl voice messages. 2024-01-16 11:18:56 +04:00
23rd 5273fbf57b Slightly improved progress radial for voice messages with ttl. 2024-01-16 11:18:56 +04:00
23rd ad6890e7dd Slightly improved progress radial for video messages with ttl. 2024-01-16 11:18:56 +04:00
23rd 46ddc7364c Fixed possible crash on deleting of media message with ttl. 2024-01-16 11:18:56 +04:00
23rd a2c0491ae0 Added phrases to ttl viewer widget for video messages. 2024-01-16 11:18:56 +04:00
23rd c686ac8603 Slightly improved style of ttl badge in voice messages. 2024-01-16 11:18:56 +04:00
23rd 268613e1db Slightly improved style of voice record bar. 2024-01-16 11:18:56 +04:00
23rd 5ba918d213 Added support of chat themes to viewer widget for messages with ttl. 2024-01-16 11:18:56 +04:00
23rd 21dcb7b13c Added initial ability to play video messages with ttl. 2024-01-16 11:18:56 +04:00
23rd 40ff71b2cd Added delay to button for media replacement in compose control. 2024-01-16 11:18:56 +04:00
23rd b017cc07ce Removed uppercase from phrase in calls top bar. 2024-01-16 11:18:55 +04:00
23rd fa773c3024 Fixed incorrect seeking of voice messages with transcribe button. 2024-01-16 11:18:55 +04:00
23rd a1369aaad0 Added references to structured bindings since Apple clang supports them. 2024-01-16 11:18:55 +04:00
23rd 6516c7aef3 Fixed display of ttl badges from voice messages with chat themes. 2024-01-16 11:18:55 +04:00
23rd c43dfecec6 Excluded media with ttl from shared media. 2024-01-16 11:18:55 +04:00
23rd 53e95a7f74 Fixed display of last frame of voice messages in media viewer with ttl. 2024-01-16 11:18:55 +04:00
23rd 2a81a617e1 Improved loop animation in voice messages with ttl. 2024-01-16 11:18:55 +04:00
23rd 37067f17e2 Added new viewer widget for voice messages with ttl. 2024-01-16 11:18:55 +04:00
John Preston f8caa02f10 Fix animating list->chat transition in single column. 2024-01-16 11:18:55 +04:00
John Preston fc2f41096f Attempt to fix initial window position on Windows. 2024-01-16 11:18:55 +04:00
John Preston 3eefaac885 Fix screen sharing source choose window. 2024-01-16 11:18:55 +04:00
John Preston 0dfe37f998 Mirror my outgoing video in video chats. 2024-01-16 11:18:55 +04:00
John Preston e2439984ae Pass whole point in mapFromGlobal(mapToGlobal).
Fixes #27237.
2024-01-16 11:18:55 +04:00
John Preston 9401e7cb51 Add "View reactions" phrase to the langpack. 2024-01-16 11:18:55 +04:00
John Preston 4471eb587d Fix possible crash in gift box sticker lookup. 2024-01-16 11:16:28 +04:00
John Preston 3c6037a798 Custom context menu for saved-tags reactions. 2024-01-16 11:16:28 +04:00
John Preston d1a0dfbb97 Search by tag on click in Saved Messages. 2024-01-16 11:16:28 +04:00
John Preston 94a542a1d1 Allow change account shortcuts in shortcuts_custom.json 2024-01-16 11:16:28 +04:00
John Preston f5fcfaba0c Add search in saved sublist. 2024-01-16 11:16:28 +04:00
John Preston 9c151ca151 Allow filtering Saved Messages search by tags. 2024-01-16 11:16:27 +04:00
John Preston e667436a98 Track my tags usages. 2024-01-16 11:16:27 +04:00
John Preston 9aacff8b54 Request correct saved/default reaction tags. 2024-01-16 11:16:27 +04:00
John Preston 9b43d204e2 Track and render reactions as tags in Saved Messages. 2024-01-16 11:16:27 +04:00
John Preston 0faf801de7 Update API scheme to layer 171. 2024-01-16 11:16:27 +04:00
dependabot[bot] dd1cca1a0a Bump jinja2 from 3.1.2 to 3.1.3 in /Telegram/build/docker/centos_env
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 01:48:01 -08:00
Ilya Fedin eca8c28dea Add missing QWindow includes 2024-01-12 19:59:18 -08:00
Ilya Fedin 333ef9b48a Hide connection widget when the window is not exposed 2024-01-11 23:40:18 -08:00
Ilya Fedin 1e98e19aaf Add installed packages to cache key for macOS packaged action 2024-01-10 02:40:21 -08:00
Ilya Fedin 308fdcf9cf Update submodules 2024-01-09 22:05:45 -08:00
Ilya Fedin d803b3ae7d Try to add mesa vulkan drivers to snap 2024-01-09 21:23:20 -08:00
Ilya Fedin aa121aa1de Get rid of architecture whitelist from snapcraft.yaml
So the Canonical builders build on new architectures as soon as they appear
2024-01-09 21:22:15 -08:00
Ilya Fedin 8138a26c2d Add information about provided mime-type and D-Bus service 2024-01-09 04:31:11 -08:00
Ilya Fedin 26fa3db66d Replace deprecated medium display length with a number 2024-01-09 04:31:11 -08:00
Klemens Nanni 7779d021b4 update cmake/ submodule to include cppgir BSD fixes 2024-01-08 18:49:28 -08:00
John Preston 6b44143f5b Version 4.14.4: Fix build with GCC. 2024-01-08 12:03:49 -08:00
John Preston 0f207faa3e Version 4.14.4.
- Switch between logged in accounts using Ctrl+Shift+[1-6] shortcuts.
- Add poll creation in groups to the attach menu, if exists.
- Another fix for payment card validation.
2024-01-08 17:47:03 +04:00
John Preston 28b43eff7c Make Ctrl+Shift+[1-6] jump through accounts. 2024-01-08 17:35:08 +04:00
John Preston c257b75a66 Add poll creation to the attach menu. 2024-01-08 17:35:02 +04:00
John Preston 893e14cc39 Fix payment field values formatting.
Regression was introduced in e6b9a07163.

Fixes #27318.
2024-01-08 17:34:08 +04:00
Ilya Fedin 30d5b7fd66 Update patches commit in Dockerfile 2024-01-08 04:40:20 -08:00
Ilya Fedin 2ef8136308 Update patches commit in Dockerfile 2024-01-06 13:30:58 +04:00
ZavaruKitsu 59c2cbaabc feat: don't destroy expiring voice messages 2024-01-05 17:28:19 +03:00
ZavaruKitsu 6d39a5f1d2 fix: accidental crash
fix: update submodules
2024-01-05 17:11:09 +03:00
ZavaruKitsu 4fd0b008ba Merge tag 'v4.14.3' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/controls/history_view_voice_record_bar.cpp
#	Telegram/SourceFiles/history/view/history_view_element.cpp
#	Telegram/lib_ui
2024-01-05 16:19:32 +03:00
John Preston fccc93ca53 Version 4.14.3: Update Qt patch in the Dockerfile. 2024-01-04 20:39:24 +04:00
23rd 37d1940993 Version 4.14.3: Fixed ttl period for sending of voice messages with ttl. 2024-01-04 18:36:36 +03:00
John Preston f25638f492 Version 4.14.3: Fix submodule revert. 2024-01-04 19:04:06 +04:00
John Preston 6e6f15e711 Version 4.14.3.
- Allow sending single-time voice messages.
- Fix payments card validation.
- Fix crash when trying to join channels above the limit.
- Add "Quit Telegram" to the Taskbar context menu. (Windows)
- Fix opened windows list in the Dock icon context menu. (macOS)
2024-01-04 19:01:53 +04:00
John Preston b38e72dcd9 Fix typo in Dockerfile. 2024-01-04 18:55:27 +04:00
Ilya Fedin 9287af1752 Update patches commit in Dockerfile 2024-01-04 18:52:35 +04:00
John Preston 254ca57bf3 Fix webm emoji/stickers with unknown dimensions. 2024-01-04 18:50:47 +04:00
John Preston 52ef8e780a Update zlib/minizip.
Fixes #27313.
2024-01-04 18:50:47 +04:00
John Preston 16a2d4ec96 Fix wrong "Webview process crashed." message. 2024-01-04 18:50:47 +04:00
23rd 3b50bc71b3 Fixed possible rare crash from voice messages with ttl. 2024-01-04 17:48:53 +03:00
John Preston bb31357c58 More strict check for custom emoji dimensions. 2024-01-04 17:25:32 +04:00
John Preston 66afcbdae8 Backport windows list in Dock Menu from Qt 6.3.*. 2024-01-04 17:25:31 +04:00
John Preston 5a28e69f1a More cleaning in force-reconfiguration. 2024-01-04 17:25:22 +04:00
John Preston ce78074df7 Fix build on Windows. 2024-01-04 17:22:05 +04:00
John Preston 973f91b5e4 Add "Quit Telegram" taskbar menu item.
Fixes #1161.
2024-01-04 17:22:05 +04:00
John Preston d2246337a2 Fix crash in ChannelsLimitBox.
Fixes https://bugs.telegram.org/c/35214

Deleting `placeholder` in content->heightValue() resulted in `delete`
sometimes being called deep inside the layer->show() which already had
a reference to that `placeholder` saved and was accessed after -> crash.
2024-01-04 17:22:05 +04:00
23rd c7f11eb05a Updated Qt to 5.15.12 on Windows. 2024-01-04 17:22:05 +04:00
23rd 758219265a Updated Qt to 6.2.7 on macOS. 2024-01-04 17:22:04 +04:00
23rd d8d9441731 Slightly improved code style in HistoryView::Document. 2024-01-04 16:14:19 +03:00
23rd 098e797045 Fixed drawing of ttl circles with non-default scale. 2024-01-04 16:14:19 +03:00
23rd 69f8cb5951 Added ability to send voice message with ttl. 2024-01-03 22:44:01 +03:00
23rd ca86dce760 Added button to voice record bar for ttl voice messages. 2024-01-03 22:44:01 +03:00
23rd 5cf0b6b50e Slightly improved code style in voice record bar class. 2024-01-03 22:32:29 +03:00
ZavaruKitsu b6bbf3a560 feat: add restart button to preferences 2024-01-03 21:06:36 +03:00
ZavaruKitsu e0c2294d50 feat: pseudo support tg://ayu 2024-01-03 20:46:36 +03:00
ZavaruKitsu 7426d285b4 feat: resolve user by tg://user?id=
Just found another use of `searchById`, so why not.

Co-authored-by: c0re100 <corehusky@gmail.com>
2024-01-03 20:36:32 +03:00
ZavaruKitsu fba53e1ec8 feat: refactor a bit 2024-01-03 16:56:32 +03:00
ZavaruKitsu 74196732ac feat: upload speed boost
Co-authored-by: RadRussianRus <radrussianrus@gmail.com>
2024-01-03 16:23:42 +03:00
ZavaruKitsu 8c41a69e67 fix: update submodules 2024-01-03 15:03:38 +03:00
ZavaruKitsu b1e91ab746 Merge tag 'v4.14.2' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
2024-01-03 15:00:00 +03:00
23rd 7a139ecda7 Added ability to fast jump to replied message with right click on panel. 2024-01-03 12:34:02 +03:00
23rd e52fe9ddb0 Removed ability to save files with ttl. 2024-01-03 12:23:41 +03:00
ZavaruKitsu 2e514a748c feat: open pack owner from box 2024-01-02 18:40:11 +03:00
23rd cee2961632 Fixed width of name text in replies with block quote icon. 2024-01-02 18:19:49 +03:00
ZavaruKitsu 50bc6a33f6 fix: accidental crash 2024-01-02 18:14:07 +03:00
John Preston 5933535c9b Fix loading more saved sublists. 2024-01-02 18:03:02 +04:00
23rd a3b91da66c Added silent info to tooltip of scheduled messages. 2024-01-02 14:31:59 +03:00
23rd 34d9a21aae Removed ability to reschedule message as silent as it's not supported. 2024-01-02 14:31:59 +03:00
23rd 233c6b18ed Fixed local flag for silent out messages. 2024-01-02 14:31:59 +03:00
John Preston 4274f9d3f3 Version 4.14.2.
- Show original senders name in reply to forward information.
- Use original senders color / emoji pattern in forwards.
- Highlight active saved messages chat in list.
- Fix chats list scrolling on X11 (Linux).
2024-01-02 15:05:06 +04:00
John Preston c8dd94601b Don't add original name in forward of reply. 2024-01-02 15:05:06 +04:00
John Preston 382dab4ecb Don't push sublists to stack endlessly. 2024-01-02 15:05:06 +04:00
23rd bdf67645bb Improved phrase of terms in gifts box from settings. 2024-01-02 13:40:21 +03:00
John Preston 5c29cc59c8 Show forward original sender in reply bar. 2024-01-02 14:11:09 +04:00
John Preston ca9caa36da Inside message use original senders colors. 2024-01-02 13:52:55 +04:00
John Preston 0b5f05c7d4 Skip service accounts in gift premiums box. 2024-01-02 13:52:55 +04:00
John Preston 676e85983d Don't cut bio value, show what server returned. 2024-01-02 13:52:55 +04:00
Eric Kotato 7638f4cc3d Fix warning C4805 2024-01-02 13:27:37 +04:00
John Preston e2e55312b8 Fix viewer hide workaround for software renderer. 2024-01-02 12:59:41 +04:00
John Preston c51a8816eb Show selected sublist as active in list. 2024-01-02 12:59:22 +04:00
John Preston 175914f02b Show "My Notes", "Author Hidden" in title. 2024-01-02 12:12:16 +04:00
John Preston fbd6b5b640 Fix possible build issue on Windows. 2024-01-02 12:01:03 +04:00
kukuruzka 1b11731d6b Fix crash on some videos 2024-01-02 11:43:15 +04:00
Ilya Fedin 8ecb49f132 Multiple by the magic multiplier only on Wayland 2024-01-02 06:57:09 +00:00
ZavaruKitsu 2f069bcd02 feat: update README.md
feat: add note
2024-01-02 04:56:32 +03:00
ZavaruKitsu 74abaccab3 feat: rework disableStories 2024-01-02 03:48:01 +03:00
ZavaruKitsu 115517fae1 feat: hide folder notification counters 2024-01-02 03:09:55 +03:00
ZavaruKitsu 2aef563374 fix: hide Streamer mode on Linux
Until someone implements it.
2024-01-02 02:22:38 +03:00
ZavaruKitsu 040794586b fix: various message improvements 2024-01-02 01:54:39 +03:00
ZavaruKitsu c102f4c0e5 fix: make it compile 2024-01-02 01:38:47 +03:00
ZavaruKitsu 7cdbbc318a Merge tag 'v4.14.1' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_stories.cpp
#	Telegram/SourceFiles/history/history_item.cpp
#	Telegram/SourceFiles/main/main_session.cpp
#	Telegram/lib_ui
2024-01-02 01:02:43 +03:00
John Preston 0ae537478f Version 4.14.1.
- Fix crash in "Author Hidden" chat in "Saved Messages".
- Improve jump-to-original button layout in "Saved Messages".
- Show my own chat as "My Notes" in "Saved Messages".
- In screen sharing source window select first screen by default.
2024-01-02 00:22:46 +04:00
John Preston 4aa432ecbe Fix build with GCC. 2024-01-02 00:22:22 +04:00
John Preston d5a0f4890d Choose first screen for sharing by default. 2024-01-02 00:17:15 +04:00
John Preston 5e255e56eb Don't allow gifting premium if can't buy. 2024-01-02 00:12:51 +04:00
John Preston a4d7309209 Support tg://premium_multigift links. 2024-01-02 00:10:52 +04:00
John Preston a30d0eccda Avoid unnecessary saved dialogs load requests. 2024-01-01 23:42:18 +04:00
John Preston a4f4e4564a Improve jump-to-message in saved messages. 2024-01-01 23:33:19 +04:00
ZavaruKitsu 3948341d6a fix: meh 2024-01-01 19:28:48 +03:00
ZavaruKitsu c408c5fb87 feat: try to rework saveDeletedMessages 2024-01-01 19:28:48 +03:00
ZavaruKitsu fa8124cc1b feat: allow stories downloading
The icon for non-premium users looks like it's locked, but it still can be clicked.
2024-01-01 19:28:48 +03:00
ZavaruKitsu 8d93b21947 feat: message details
feat: rework `Hide`
feat: context menu configuration
2024-01-01 19:28:48 +03:00
John Preston bfe7683cdb Show myself as "My Notes" in Saved Messages sublists. 2024-01-01 09:50:24 +04:00
John Preston fbc600a978 Fix crash in pending gift payment finish. 2024-01-01 09:23:37 +04:00
GitHub Action 70eb452a09 Update User-Agent for DNS to Chrome 120.0.6099.109. 2024-01-01 05:18:11 +00:00
GitHub Action 9f7c74ae72 Update copyright year to 2024. 2024-01-01 05:17:53 +00:00
Ilya Fedin 65a3cf136b Update submodules 2023-12-31 22:03:57 +00:00
Ilya Fedin 2d86ec1e84 Update hunspell for warning fixes 2023-12-31 22:03:57 +00:00
Ilya Fedin fdef19a009 Ensure temporaries don't detach with range loop 2023-12-31 22:03:57 +00:00
Ilya Fedin 26df482b54 Fix prototype for fill_fopen_filefunc 2023-12-31 22:03:57 +00:00
Ilya Fedin ee5b7a5100 Fix the whitespaces for KeyFormat enum 2023-12-31 22:03:57 +00:00
Ilya Fedin bd67bc4433 Ignore some unused variables 2023-12-31 22:03:57 +00:00
Ilya Fedin 9d582040e6 Fix detaching temporaries 2023-12-31 22:03:57 +00:00
Ilya Fedin f3bda59019 Replace QString::mid with base::StringViewMid where QStringView is accepted 2023-12-31 22:03:57 +00:00
Ilya Fedin 0d72d47318 Normalize signal connections 2023-12-31 22:03:57 +00:00
Ilya Fedin 29646707a1 QString::arg usage optimization 2023-12-31 22:03:57 +00:00
Ilya Fedin e6b9a07163 Instantiate QRegularExpression instances statically 2023-12-31 22:03:57 +00:00
Ilya Fedin 4b297bfa09 Make use of wrongly unused variables 2023-12-31 22:03:57 +00:00
Ilya Fedin 00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
Ilya Fedin 78e6b3e13f Try to fix circular dependency between external_scudo and common_options 2023-12-31 21:36:32 +00:00
John Preston ad84750130 Fix crash in Saved Messages from Author Hidden.
Fixes #27293.
2024-01-01 01:18:35 +04:00
John Preston 686310489b Version 4.14.
- Improved saved messages.
- One-time voice messages.
2023-12-31 19:42:24 +04:00
John Preston 84c5310262 Revert "Update GCC to 13 in Docker"
This reverts commit 3adbfb1fb5.

There is some problem with static libstdc++ linking in Release
configuration, the Updater utility fails with unresolved externals.
2023-12-31 19:42:24 +04:00
23rd f53397e26a Fixed possible crash from voice messages with ttl. 2023-12-31 19:42:24 +04:00
John Preston 2a8a74b5b1 Display correctly forwards of forwards in sublists. 2023-12-31 19:42:24 +04:00
John Preston 9392550c01 Support pinned saved sublists. 2023-12-31 19:42:24 +04:00
23rd d2565dc944 Added badge corner to voice messages with ttl. 2023-12-31 19:42:24 +04:00
23rd 22f68b430d Disabled transcribe button for voice and round messages with ttl. 2023-12-31 19:42:24 +04:00
23rd 3962e5a680 Added animation to voice messages with ttl. 2023-12-31 19:42:24 +04:00
23rd a1c7a48958 Improved processing of out expired voice messages. 2023-12-31 19:42:23 +04:00
23rd 85286684e3 Added initial support for voice messages with TTL. 2023-12-31 19:42:23 +04:00
23rd c2712b0104 Removed redundant semicolons from code. 2023-12-31 19:42:23 +04:00
John Preston 1cb5ef7476 Show information about hidden author. 2023-12-31 19:42:23 +04:00
John Preston 9f0b42bbbd Show correct titles in sublists / sublist. 2023-12-31 19:42:23 +04:00
John Preston 634687881a Fix loading of saved sublist histories. 2023-12-31 19:42:23 +04:00
John Preston 878b4bb5af Update API scheme on layer 170. 2023-12-31 19:42:23 +04:00
John Preston 452257dcd5 Show special name/userpic for "Author Hidden". 2023-12-31 19:42:23 +04:00
John Preston 4e6d8f06d9 Show saved messages entry point from profiles. 2023-12-31 19:42:23 +04:00
John Preston fd417024fb Initial saved sublist section implementation. 2023-12-31 19:42:23 +04:00
John Preston 18c4d210e5 Show saved messages sublists in profile. 2023-12-31 19:42:23 +04:00
John Preston ead40c759e Update API scheme to layer 170. 2023-12-31 19:42:23 +04:00
Ilya Fedin be9aa3a097 Test the build of updater on the CI 2023-12-31 15:35:14 +00:00
23rd bdcb146d06 Improved style of button in group call bar for consistency. 2023-12-30 09:28:03 +04:00
westpain bf743836c1 feat: adapt AyuGram to Flatpak (#10) 2023-12-28 21:02:48 +03:00
Ilya Fedin 70115a24bb Fix some webview crashes 2023-12-28 10:05:55 +00:00
Ilya Fedin ea37e83b13 Revert "Force enable fractional-scale-v1 experimental option"
This reverts commit 4696f731da.
2023-12-27 22:44:58 +00:00
ZavaruKitsu e4e6fb14c7 feat: User Messages
Co-authored-by: RadRussianRus <radrussianrus@gmail.com>
2023-12-27 17:32:10 +03:00
ZavaruKitsu dc94f02345 fix: don't save empty messages 2023-12-27 17:32:10 +03:00
ZavaruKitsu 2482da3c3f fix: go back on escape 2023-12-27 17:32:10 +03:00
ZavaruKitsu 2c6439eeb6 fix: reactions and mentions not being read locally 2023-12-27 17:32:10 +03:00
ZavaruKitsu 0eab40b22f fix: simpleQuotesAndReplies 2023-12-27 17:32:10 +03:00
ZavaruKitsu 1a279c4409 feat: show service message time 2023-12-27 17:32:10 +03:00
ZavaruKitsu f1adebb23e feat: show DC
https://github.com/TDesktop-x64/tdesktop/pull/64/commits/9ea6c7dc52e6b69283bf065a851cbc0ef0bc5f9c

Co-authored-by: arm64v8a <48624112+arm64v8a@users.noreply.github.com>
2023-12-27 17:32:10 +03:00
ZavaruKitsu 032de55103 feat: better UI 2023-12-27 17:32:10 +03:00
Ilya Fedin 931c17418d Update to the new cppgir API 2023-12-26 15:33:33 +00:00
John Preston 5a47ed268c Fix build for Windows Store. 2023-12-25 23:21:47 +00:00
ZavaruKitsu e079a69d7e fix: update submodules 2023-12-24 21:11:59 +03:00
ZavaruKitsu 421aa31d59 Merge 4.13.1 2023-12-24 17:32:28 +03:00
ZavaruKitsu 9cc0ca5d81 fix: use custom icon for edits history action
fix: remove buggy Hide
2023-12-24 17:18:28 +03:00
ZavaruKitsu 6fab4e1dc3 fix: noforwards 2023-12-24 16:26:28 +03:00
Ilya Fedin d63ebbe62c Handle webview crash 2023-12-23 19:12:17 +00:00
John Preston cb4fce251e Version 4.13.1: Fix build with GCC. 2023-12-23 14:18:12 -04:00
John Preston 4aa8a41119 Version 4.13.1.
- Fix crash in chat history right click.
- Fix user emoji status display in main menu, profile and settings.
2023-12-23 14:15:29 -04:00
John Preston 13cba72945 Fix emoji status display for users.
Regression was introduced in 805a5d73b6.
2023-12-23 14:14:03 -04:00
John Preston cf63b0138e Fix crash in context menu.
Regression was introduced in 4e3c1460f6.

Fixes #27254.
2023-12-23 14:12:50 -04:00
John Preston 3cbe0aae4a Version 4.13.
- Support setting channel wallpaper.
- Support setting channel emoji status.
- Allow gifting premium to several recipients at once.
2023-12-22 20:55:24 -04:00
John Preston 5ab8e68366 Fix possible crash in colorizeImage. 2023-12-22 20:52:11 -04:00
John Preston 1d345299f5 Allow smartglocal to customize tokenize url. 2023-12-22 20:52:11 -04:00
23rd fc50d5c30f Improved code style in HistoryView::WebPage. 2023-12-23 03:16:58 +03:00
23rd 4e3c1460f6 Fixed display of menu items from sponsored message with selected text. 2023-12-23 01:50:12 +03:00
23rd 5bc954396c Fixed display of long title or long description in sponsored messages. 2023-12-23 01:50:12 +03:00
John Preston b24290b019 Fix text-colored emoji in long-press preview. 2023-12-22 13:46:17 -04:00
John Preston 23cce64d00 Channel message reposts to stories like reposts. 2023-12-22 13:16:14 -04:00
John Preston 73690d14f7 Allow clipboard access for attach menu bots. 2023-12-22 12:42:23 -04:00
John Preston 2a5698cf34 Admin log events about channel emoji status. 2023-12-22 07:35:02 -04:00
John Preston fd64718502 Allow setting channel wallpaper. 2023-12-22 07:35:02 -04:00
John Preston 941126ad69 Allow setting channel emoji status. 2023-12-22 07:35:02 -04:00
John Preston 0e8058adb1 Update tg_owt to support custom reflectors. 2023-12-22 07:35:02 -04:00
23rd 01906c1161 Fixed display of archiving toasts on wrong window. 2023-12-22 07:35:02 -04:00
John Preston 9201cf24f1 Respect correct min-level for colors. 2023-12-22 07:35:02 -04:00
John Preston d5a1c354d0 Support by-emoji background resolve in preview. 2023-12-22 07:35:02 -04:00
John Preston 41ae1f56ed Update API scheme to layer 169. Multigifts. 2023-12-22 07:35:02 -04:00
23rd ed7212f864 Added mini icon of boosts to description in gifts box from settings. 2023-12-19 04:06:54 +03:00
23rd 8bcb784f12 Moved out child centering within widget to single function. 2023-12-19 01:52:33 +03:00
23rd 431549c81a Improved processing of successful payment in gift box from settings. 2023-12-19 01:43:58 +03:00
23rd 12110e17a2 Slightly improved style of userpics from top in gift box from settings. 2023-12-18 05:50:14 +03:00
23rd db8338156a Slightly improved style of terms label in gift box from settings. 2023-12-18 05:50:14 +03:00
John Preston de8b09d7fc Use correct phrases for outgoing giftcodes. 2023-12-17 21:20:21 +00:00
ZavaruKitsu f06747f2a1 fix: don't mark contents read
fix: crash if config is not a valid json
2023-12-17 22:52:00 +03:00
ZavaruKitsu d940dc193e fix: custom language improvements 2023-12-17 22:42:22 +03:00
23rd fddbce5dce Added premium summary to gift box from settings. 2023-12-17 13:05:21 +03:00
23rd 081817f62a Moved out making of premium summary to separated function. 2023-12-17 13:01:36 +03:00
23rd 8efbd7a1cb Added ability to hide subscription button in preview premium boxes. 2023-12-17 13:01:36 +03:00
23rd bce310d5c8 Added complex description to top of gift box from settings. 2023-12-17 13:01:36 +03:00
23rd ed9ecbd235 Added circle badge to userpics in gift box from settings. 2023-12-17 13:01:17 +03:00
23rd 1e756dd380 Added userpics to top of gift box from settings. 2023-12-17 13:00:40 +03:00
23rd b9b6226692 Added initial ability to gift premium to contacts from settings. 2023-12-17 09:50:50 +03:00
23rd 82d73e2396 Moved out making of "new" badges to single place. 2023-12-17 09:50:50 +03:00
John Preston cd5a6025f6 Support pre-defined channel wallpapers resolving. 2023-12-16 23:52:55 +00:00
John Preston b6c679449e Support custom channel backgrounds display. 2023-12-16 23:23:24 +00:00
John Preston ac744b957a Show emoji pattern also on link preview bubbles. 2023-12-16 22:52:30 +00:00
John Preston 805a5d73b6 Show emoji statuses in channels. 2023-12-16 22:43:35 +00:00
John Preston 6aaf841a73 Ignore Cmd+Up/Down if field isn't empty. 2023-12-16 22:00:41 +00:00
John Preston 60e72768e1 Update API scheme. Shared posts in stories. 2023-12-16 21:26:40 +00:00
John Preston 94e8f2a791 Update API scheme. Anonymous gift links. 2023-12-16 20:25:02 +00:00
John Preston 1fb4a2f4ba Update API scheme. Show interactions in channel stories. 2023-12-16 20:25:02 +00:00
John Preston 28d68acfe6 Use forward declaration for ripple animation. 2023-12-16 20:25:02 +00:00
John Preston d87a0a2d25 Show reposts / forwards in story viewers. 2023-12-16 20:25:02 +00:00
23rd 8e92778b62 Fixed API support of public forwards in statistics info. 2023-12-16 20:25:02 +00:00
John Preston f7e2c7977b Update API scheme. TODO public forwards stats. 2023-12-16 20:25:02 +00:00
John Preston 4337f0b509 Fix "Keep Disabled" in OpenGL crash check. 2023-12-16 20:25:02 +00:00
John Preston 2b960a1f21 Update API scheme. 2023-12-16 20:25:02 +00:00
John Preston 4b9648d8d9 Update API scheme. Giveaway winners. 2023-12-16 20:25:02 +00:00
John Preston 62f9f3c94b Update API scheme. HistoryView::Giveaway->MediaInBubble. 2023-12-16 20:25:02 +00:00
John Preston e854f0b60c Show additional prize in giveaway message. 2023-12-16 20:25:02 +00:00
John Preston 19f38f3c6f Optimize empty->non-empty userpics repainting. 2023-12-16 20:25:02 +00:00
John Preston d56724f290 Add additional prize info to giveaway details. 2023-12-16 20:25:02 +00:00
John Preston 8abc35ca86 Make giveaway end message clickable. 2023-12-16 20:25:02 +00:00
John Preston e135f8954f Update API scheme to layer 168. Giveaways. 2023-12-16 20:25:02 +00:00
John Preston f5b59c9456 Remove old test code giveaway creation. 2023-12-16 20:25:02 +00:00
23rd 6471d43c71 Added mini preview for some types of webpages. 2023-12-16 20:25:02 +00:00
23rd 563b8d1468 Added support of inline markup reply to JSON export. 2023-12-16 20:25:01 +00:00
23rd f41a3fe01f Fixed display of non-stack bar chart view with empty values in chart. 2023-12-16 20:25:01 +00:00
23rd 29c9266ef5 Fixed display of bottom solid line in chart view for some scroll states. 2023-12-16 20:25:01 +00:00
23rd 1a856e359f Fixed display of bottom captions in chart view with long date strings. 2023-12-16 20:25:01 +00:00
23rd 59099a8d46 Added ability to open profile info through menu from public forwards. 2023-12-16 20:25:01 +00:00
23rd 98c6a3ff79 Added support of stories in list of public forwards in statistics info. 2023-12-16 20:25:01 +00:00
23rd cccc2ce0f1 Improved processing of access to boosts info. 2023-12-16 20:25:01 +00:00
23rd 88b20f6700 Fixed indents in some files. 2023-12-16 20:25:01 +00:00
Ilya Fedin 3adbfb1fb5 Update GCC to 13 in Docker 2023-12-16 09:32:50 +04:00
Ilya Fedin 0ee0ffa7f1 Update breakpad in Docker 2023-12-16 09:32:50 +04:00
Ilya Fedin 4c82620677 Disable building libstdc++ tests 2023-12-16 09:32:50 +04:00
Ilya Fedin 73294bfabf Make Linux action to use the pre-set entrypoint 2023-12-16 09:32:50 +04:00
Ilya Fedin 6c42095108 Move the GHCR authentication to the first set up step 2023-12-16 09:32:50 +04:00
John Preston fbe93b0afc Fix webpage layouts with thumbnails. 2023-12-15 14:15:35 +00:00
ZavaruKitsu a98e92639c fix: crash in server read 2023-12-12 15:26:33 +03:00
Ilya Fedin e173c727f7 Fix remaining known xdg-output fractional scaling issues on Wayland
And enable it by default
2023-12-07 10:24:19 +04:00
ZavaruKitsu 084967354b feat: rework sendReadMessages
fix: send read packet manually
fix: send read packet after sending media
2023-12-01 20:58:00 +03:00
ZavaruKitsu bde3caded7 fix: mark as β 2023-12-01 19:49:42 +03:00
ZavaruKitsu 29dd896c83 feat: disable similar channels 2023-12-01 19:21:03 +03:00
ZavaruKitsu d6457ebcc7 fix: add β note to anti-recall and disable by default 2023-12-01 17:35:30 +03:00
ZavaruKitsu c9fa0166e6 fix: prettify settings a bit 2023-12-01 17:23:29 +03:00
ZavaruKitsu 66b1fe7beb fix: make it build 2023-12-01 16:34:32 +03:00
Ilya Fedin 85f56217a8 Fix docker & snap build 2023-12-01 17:20:46 +04:00
ZavaruKitsu 0f8187fa36 Merge tag 'v4.12.2' into dev
# Conflicts:
#	.github/workflows/win.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/settings/settings_advanced.cpp
#	Telegram/SourceFiles/settings/settings_main.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-12-01 15:38:13 +03:00
Ilya Fedin 06564efe0e Build GLib manually in Docker and Snap 2023-12-01 15:39:42 +04:00
Ilya Fedin 664ebe4ed0 Use xdg-output for Wayland fractional scaling
That's way more stable
2023-12-01 15:39:14 +04:00
John Preston cb3dece478 Version 4.12.2.
- Fix choosing custom reactions in channels.

Also fix a crash on start with old hardware by rebuilding using
the 17.7.7 VS Build Tools, because 17.8.* has a regression
with emitting a SSE 4.2 instruction, see:

https://developercommunity.visualstudio.com/t/Illegal-Instruction-SSE-42-POPCNT-exc/10520578
2023-12-01 13:07:42 +04:00
John Preston c86ca6a61a Check custom reactions in channels better. 2023-12-01 13:05:06 +04:00
John Preston 8e2240d9d9 Fix custom reactions in channels. 2023-12-01 13:00:52 +04:00
John Preston 28acaf06ad Version 4.12.1.
- Fix assertion violation in imported messages rendering.
2023-12-01 09:44:38 +04:00
John Preston fe12c3639b Revert "Removed unused code of hidden sender userpics for sponsored messages."
This reverts commit 3f19dc0486.
2023-12-01 09:18:22 +04:00
John Preston 0e2131e6eb Version 4.12: Fix build with GCC. 2023-11-30 20:59:58 +04:00
John Preston 98be0a69df Version 4.12.
- Similar channels.
- Wallpapers for both sides.
- Voice-to-Text for everyone.
- Story statistics for channels.
- Custom Reactions for channels.
- Automatic code highlighting in messages.
2023-11-30 20:23:19 +04:00
Ilya Fedin d6aecdfe4b Update cmake_helpers and patches in Docker 2023-11-30 17:57:34 +04:00
John Preston fa63a220fa Fix build with Xcode. 2023-11-30 17:56:57 +04:00
John Preston 2611899448 Set custom reactions hard limit to max level. 2023-11-30 17:56:57 +04:00
John Preston 514ced1d8e Respect wallpaper_overriden flag. 2023-11-30 17:56:57 +04:00
23rd 1a69975131 Replaced Qt format of dates in statistics with internal format. 2023-11-29 09:09:36 +03:00
23rd 27b284ef5b Added initial support of trial voice transcribes. 2023-11-29 07:32:20 +03:00
23rd a546b3a9b6 Replaced display of premium layer with short box for sponsored messages. 2023-11-29 01:45:41 +03:00
John Preston 28d9330969 Add premium promo section about wallpapers. 2023-11-28 21:55:27 +04:00
John Preston 8c3fa14a75 Allow setting background for both sides. 2023-11-28 21:55:27 +04:00
John Preston e58940a876 Look for highlight language case-insensitive. 2023-11-28 21:55:27 +04:00
John Preston ae1da5baf4 Implement premium lock of similar channels. 2023-11-28 21:55:27 +04:00
23rd 2542ec5d93 Added list of public forwards for story statistics. 2023-11-28 21:55:27 +04:00
23rd dfe55b26a2 Added statistical values for stories to overview in statistics info. 2023-11-28 21:55:27 +04:00
23rd 6de95fc4ed Fixed display of recent posts with some types documents in statistics. 2023-11-28 21:55:27 +04:00
23rd 1e57563349 Improved style of icons in recent posts from list from statistics info. 2023-11-28 21:55:27 +04:00
23rd 9f0b4bc799 Added ability to paste login code from clipboard to new code input. 2023-11-28 21:55:27 +04:00
23rd ac8117a6d8 Improved style of input field for login code. 2023-11-28 21:55:27 +04:00
23rd 9ef0e5cf83 Moved animation callback for shake effect to single place. 2023-11-28 21:55:27 +04:00
23rd f433d6fbc9 Fixed button label in sponsored messages with external links. 2023-11-28 21:55:27 +04:00
23rd e24b86d460 Fixed restriction label when topic is closed.
Fixed #26344.
2023-11-28 21:55:27 +04:00
John Preston bfebb1339a Show "more similar channels" premium promo. 2023-11-28 21:55:27 +04:00
John Preston 49b59d73be Fix comments loading. Fixes #25889. 2023-11-28 21:55:27 +04:00
John Preston d41961945d Fix first time webpage preview customization. 2023-11-28 21:55:27 +04:00
John Preston aa29d1c619 Allow select single album part under spoiler. 2023-11-28 21:55:27 +04:00
John Preston d6d76c8477 Show repost-from-name in story header. 2023-11-28 21:55:27 +04:00
John Preston 6057bb2b37 Handle repost info clicks in expanded mode. 2023-11-28 21:55:27 +04:00
John Preston 5aaf119b36 Handle repost preview clicks. 2023-11-28 21:55:26 +04:00
John Preston 8f9123bb96 Display story repost nicely. 2023-11-28 21:55:26 +04:00
23rd 77b2076e0f Added build date info to version label as tooltip. 2023-11-28 21:55:26 +04:00
23rd 7681f14a3c Added icons to recent posts in list from statistics info. 2023-11-28 21:55:26 +04:00
23rd 4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
23rd 0f3faf59ca Added support of bot apps to sponsored messages.
Added api support of custom button text in sponsored messages.
2023-11-28 21:55:26 +04:00
23rd d28ba4fad9 Moved out PeerByLinkInfo from SessionNavigation to separate file. 2023-11-28 21:55:26 +04:00
23rd 3f19dc0486 Removed unused code of hidden sender userpics for sponsored messages. 2023-11-28 21:55:26 +04:00
23rd fc86bb7a5f Removed redundant code for old sponsored messages. 2023-11-28 21:55:26 +04:00
23rd 0da515abc5 Added fast right action to sponsored messages. 2023-11-28 21:55:26 +04:00
23rd 4c5c2aadc4 Replaced style of sponsored messages with fake webpage. 2023-11-28 21:55:26 +04:00
23rd 17f89ba1f9 Added ability to get sponsored details from constructor of HistoryItem. 2023-11-28 21:55:26 +04:00
23rd a8de145e01 Moved out click handler for sponsored messages to separate module. 2023-11-28 21:55:26 +04:00
23rd c1d20d16fd Added small preview to story statistics. 2023-11-28 21:55:25 +04:00
23rd dc04a1afdb Removed display of selected index with incorrect value on bar chart. 2023-11-28 21:55:25 +04:00
23rd 856f39c123 Fixed search of indices on tiny charts in statistics. 2023-11-28 21:55:25 +04:00
23rd 909f3bf011 Added "new-windows-size-as-first" option. 2023-11-28 21:55:25 +04:00
23rd 19ab740da2 Added channel photo to recent posts in list from statistics info. 2023-11-28 21:55:25 +04:00
John Preston 11ea5e61cf Show repost header in stories. 2023-11-28 21:55:25 +04:00
John Preston 78897dd143 Show repost info on story view. 2023-11-28 21:55:25 +04:00
John Preston 23a0413113 Update API scheme on layer 167. 2023-11-28 21:55:25 +04:00
John Preston b5b5c28ac5 Request possible peer colors from API. 2023-11-28 21:55:25 +04:00
John Preston 5652abfd49 Update syntax-highlighting grammars. 2023-11-28 21:55:25 +04:00
John Preston 324f2f68ba Handle for_both chat wallpaper change. 2023-11-28 21:55:25 +04:00
John Preston f8825e8135 Update API scheme on layer 167. 2023-11-28 21:55:25 +04:00
John Preston 4dbe5c0a0f Load similar channels correctly. 2023-11-28 21:55:25 +04:00
John Preston 2df6729f2d Improve similar channels pseudo-widget. 2023-11-28 21:55:25 +04:00
John Preston 30d72f1d1d Try fixing media viewer on some Linux versions. 2023-11-28 21:55:24 +04:00
John Preston db0a31b87e Fix crash in scale preview reparenting. 2023-11-28 21:55:24 +04:00
John Preston 4b5e2582d9 Update API scheme on layer 167. 2023-11-28 21:55:24 +04:00
23rd 6a87fef851 Added reactions count to recent posts in list from statistics info. 2023-11-28 21:55:24 +04:00
23rd 1fbcec1d24 Added display of stories to list of recent posts in statistics info. 2023-11-28 21:55:24 +04:00
23rd 25d0123b9f Added more universal RecentPostId for saved state of statistics info. 2023-11-28 21:55:24 +04:00
23rd 69b9d404c0 Added api support of reactions count for recent posts in statistics. 2023-11-28 21:55:24 +04:00
23rd 0865776d9a Simplified FileOriginStory. 2023-11-28 21:55:24 +04:00
23rd 32008161a0 Fixed duration after changing of winners count in create giveaway box. 2023-11-28 21:55:24 +04:00
John Preston 36a8c49213 Show similar channels under join message. 2023-11-28 21:55:24 +04:00
John Preston 91fba41e2c Update API scheme on layer 167. 2023-11-28 21:55:24 +04:00
23rd 7d2d0bdfa2 Added initial entry point to statistics info for stories. 2023-11-28 21:55:24 +04:00
23rd 2bb8850e69 Added charts of story statistics to statistics info. 2023-11-28 21:55:24 +04:00
23rd 1056a5cc8e Added API support to resolve story statistics. 2023-11-28 21:55:24 +04:00
23rd 34d0dac351 Added ability to create statistics info layer with story id. 2023-11-28 21:55:24 +04:00
23rd f88eee8047 Added reactions count to overview in statistics info. 2023-11-28 21:55:24 +04:00
23rd 173a5046e8 Added new charts to channel and message statistics. 2023-11-28 21:55:24 +04:00
23rd 44f6280d0a Added ability to use BarChartView as non-stack as well. 2023-11-28 21:55:24 +04:00
23rd b7346c203a Renamed StackChartView to BarChartView. 2023-11-28 21:55:24 +04:00
23rd c3254a53bc Moved out calculation of height limits for linear chart to single place. 2023-11-28 21:55:24 +04:00
23rd 5ea066e6a7 Moved class of line ratio for double linear chart from private space. 2023-11-28 21:55:24 +04:00
23rd bc6556ebc4 Moved out class for cached selected points on chart from private space. 2023-11-28 21:55:23 +04:00
John Preston 4c6d33fd54 Allow sending to General in "View as Messages". 2023-11-28 21:55:23 +04:00
John Preston 96b651c29b Update "View as (Messages,Topics)" menu icons. 2023-11-28 21:55:23 +04:00
John Preston 0ffda016da Support cloud view_as_messages forum setting. 2023-11-28 21:55:23 +04:00
John Preston 43a8733fc7 Implement rich reactions selector. 2023-11-28 21:55:23 +04:00
John Preston 1e26c33b3d Implement choose-reactions input field. 2023-11-28 21:55:23 +04:00
John Preston 4ad70965e9 Don't check quote entities now that we have quote_offset. 2023-11-28 21:55:23 +04:00
John Preston 3a67e4f1f4 Support highlighting correct quoted part. 2023-11-28 21:55:23 +04:00
John Preston dcc326e17f Update API scheme to layer 167.
Support quote offset passing to API.
Support simple phrases in giveaway results message.
2023-11-28 21:55:23 +04:00
John Preston f442d69cb6 Fix possible crash on MTProto instance shutdown. 2023-11-28 21:23:27 +04:00
Ilya Fedin 17fa50bdff Update patches commit in Dockerfile 2023-11-28 13:18:43 +04:00
Ilya Fedin a04145d981 Update xkbcommon in Docker 2023-11-27 20:09:37 +04:00
Ilya Fedin e8c9cb7d2a Update Qt to 6.6.1 on Linux 2023-11-27 20:09:20 +04:00
Ilya Fedin 467a6c25a8 Fix upload artifact condition in Windows action 2023-11-27 20:09:04 +04:00
Ilya Fedin 1852386ace Add Windows Ninja CI 2023-11-27 18:02:59 +04:00
Ilya Fedin a93340c2e4 Try to restore session manager connection on Linux 2023-11-27 12:02:19 +04:00
Ilya Fedin 4a0ee22670 Shorten setting QSessionManager restart hint 2023-11-27 12:02:19 +04:00
John Preston 87a042b029 Fix build on Linux 2023-11-25 12:59:47 +04:00
Ilya Fedin 960761ef37 Replace jemalloc with scudo
This should provide a wider support for ARM hardware
2023-11-24 20:04:28 +04:00
John Preston b60e50df10 Try using hide media viewer workaround on Linux. 2023-11-22 12:18:45 +04:00
Ilya Fedin 4696f731da Force enable fractional-scale-v1 experimental option 2023-11-21 21:20:50 +04:00
Ilya Fedin 0f9d83f34b Use setFixedSize instead of set{Minimum,Maximum}Size combo 2023-11-21 21:20:50 +04:00
Ilya Fedin cfc254bd90 Switch Qt to GitHub 2023-11-21 21:20:50 +04:00
23rd bdee6e0155 Removed ability to add to contacts inaccessible users. 2023-11-20 21:03:36 +03:00
23rd ac6765ebdb Replaced default toast text for shared messages with complex phrases. 2023-11-20 16:25:28 +03:00
23rd df3ae2c5f8 Added ability to open boosts info without statistics info access. 2023-11-20 02:53:46 +03:00
23rd 1af4af6ff3 Removed display of unwrapped media in sponsored messages. 2023-11-20 02:53:46 +03:00
Ilya Fedin a92e9f7162 Try to update qtwayland to 6.6.0 again 2023-11-19 07:46:32 +04:00
ZavaruKitsu 6af28f6089 fix: update submodules 2023-11-19 01:21:39 +03:00
ZavaruKitsu 98b8840019 Merge tag 'v4.11.7' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
2023-11-19 00:27:58 +03:00
ZavaruKitsu 5f5d5e43be feat: increase size of rounded video messages 2023-11-18 21:33:26 +03:00
ZavaruKitsu 1fc63407e5 feat: allow seeking voice and round video messages
fix: increase seek bar height
2023-11-18 21:14:25 +03:00
ZavaruKitsu dc6cd45f50 feat: add custom replacements
fix: remove useless shortcuts
2023-11-18 20:51:18 +03:00
ZavaruKitsu 8a4dd965e1 fix: remove useless 2023-11-18 19:59:18 +03:00
ZavaruKitsu 627322f563 fix: make it more correct 2023-11-18 19:50:00 +03:00
John Preston 27d9fa6acb Fix CI build on Linux. 2023-11-17 13:07:18 +04:00
John Preston 7d4362267a Fix compare helpers on macOS. 2023-11-17 13:06:04 +04:00
John Preston 1ba52402b5 Fix build with new MSVC, workaround compiler bug. 2023-11-17 12:01:25 +04:00
John Preston 5d0a36e456 Fix edit photo button area. 2023-11-17 12:01:25 +04:00
John Preston af6e15ed59 Fix title alignment in AskBoostBox. 2023-11-16 14:31:15 +04:00
John Preston 25216a140e Fix build on Windows. 2023-11-16 14:31:15 +04:00
John Preston 65fc7d2b10 Update lib_ui submodule. 2023-11-16 14:29:45 +04:00
John Preston 99da95880e Fix lang keys access on startup. 2023-11-15 18:20:59 +03:00
23rd 12272a450f Slightly optimized include directives in some headers. 2023-11-15 04:20:20 +03:00
23rd 819020e515 Moved out common default style entries from settings. 2023-11-15 04:20:20 +03:00
23rd acb1a7ccf2 Spread some style entries from basic style. 2023-11-15 04:19:51 +03:00
23rd 596460172f Optimized include directives of core_settings header. 2023-11-15 03:30:04 +03:00
23rd baa99be6a5 Removed some unwanted include directives of lang_keys in header files. 2023-11-15 03:30:04 +03:00
23rd f748de9dc4 Removed redundant include directives of settings_common headers. 2023-11-15 03:30:04 +03:00
23rd 85e2d54a05 Split out settings_common module into td_ui and non-td_ui variants. 2023-11-15 03:30:04 +03:00
23rd f629bf76ff Removed AddButton and CreateButton without icon from Settings. 2023-11-15 03:30:04 +03:00
23rd f6cb9072d2 Moved AddSkip and AddDivier from Settings namespace to separate module. 2023-11-15 03:30:04 +03:00
23rd 497aa6dbc8 Added ability to see admins who promoted or restricted participants. 2023-11-14 21:48:34 +03:00
John Preston 830e9a5953 Version 4.11.8. (macOS only)
- Fix phrases on macOS by doing a clean rebuild.
2023-11-14 21:28:24 +04:00
John Preston 5cabfb56e0 Fix "small" undef in Windows includes. 2023-11-14 09:27:48 +04:00
Ilya Fedin 8a19fab19c Update macOS to 13 on macOS packaged action 2023-11-13 16:10:37 +04:00
Ilya Fedin c592b66f5b Ignore brew upgrade failure in macOS packaged action 2023-11-13 13:54:36 +04:00
Ilya Fedin 8ce9a92898 Update brew packages in macOS packaged action
This ensures the same versions of packages between GitHub runners at a point in time
2023-11-13 13:34:14 +04:00
John Preston df8c80226b Version 4.11.7: Fix build with GCC. 2023-11-13 12:24:29 +04:00
John Preston 53b342f722 Version 4.11.7.
- Fix sending media files with quote replies.
- Fix quoted text highlighting in some cases.
- Fix loading statistics for some channels.
- Fix Ctrl+Shift+. shortcut on X11.
- Fix a crash in statistics.
2023-11-13 11:46:07 +04:00
Ilya Fedin d2b6012bfd Mark code unneeded after Qt 6.6.0 2023-11-13 11:41:57 +04:00
John Preston 69efd127eb Update submodules. 2023-11-13 11:39:35 +04:00
John Preston 22cedbc9cc Don't show full albums in search results. 2023-11-13 11:39:35 +04:00
John Preston d4d2eef291 Fix clearing cloud draft on message send.
Regression was introduced in 20ba417ddd.
2023-11-13 10:44:38 +04:00
23rd 98bd5757b0 Increased pagination limits for recent messages in statistics info. 2023-11-13 10:21:46 +04:00
John Preston edb7cf197a Improve reply preview above the field. 2023-11-13 10:10:18 +04:00
23rd 617be49e55 Fixed crash in statistics on linear charts with filtered first line. 2023-11-13 10:10:18 +04:00
John Preston 9324ceeb24 Destory stats sessions after a timeout. 2023-11-13 10:08:47 +04:00
23rd 1e6cf839e2 Fixed Api requests for statistics with non-default DC. 2023-11-11 15:05:20 +03:00
ZavaruKitsu 95f18f2120 fix: tray and serialization 2023-11-10 18:36:47 +03:00
ZavaruKitsu ae3dfacdf9 feat: add toggles to customization 2023-11-10 17:36:37 +03:00
John Preston 468d4c5e4f Don't make multiboost badge gradient. 2023-11-10 18:07:21 +04:00
John Preston c530d7cc89 Apply Ui::Text::String modifications in highlighting. 2023-11-10 17:48:25 +04:00
John Preston f7ea0e1d00 Fix modifications tracking in Ui::Text::String.
Fixes #27031.
2023-11-10 17:46:01 +04:00
ZavaruKitsu aa0d733cde feat: simple quotes & replies
Just like in 64Gram, but with ripples

Co-authored-by: c0re100 <corehusky@gmail.com>
2023-11-10 15:54:23 +03:00
John Preston b959877598 Use explicit nativeVirtualKey on Windows only. 2023-11-10 16:28:01 +04:00
John Preston 8d0fe601cf Fix sending quote data with uploaded media.
Fixes #27032.
2023-11-10 16:27:25 +04:00
ZavaruKitsu a5b446f6df Merge tag 'v4.11.6' into dev
# Conflicts:
#	Telegram/CMakeLists.txt
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
2023-11-10 13:26:08 +03:00
John Preston 2afc171bec Version 4.11.6: Fix build with GCC. 2023-11-10 00:32:52 +04:00
John Preston d6bd88d119 Version 4.11.6.
- Support multiple boosts and reassignment.
- Improve giveaway creation flow.
- Fix crash in topics creation.
2023-11-09 23:18:50 +04:00
John Preston 639a82ce28 Add confirmation for prepared giveaway start. 2023-11-09 23:18:50 +04:00
Ilya Fedin ef1b197771 Update lib_ui & patches 2023-11-09 22:44:52 +04:00
John Preston ad05998575 Update reply / forward icons in context menu. 2023-11-09 22:40:09 +04:00
John Preston b403f600e7 Use correct color for channels in giveaway. 2023-11-09 22:33:14 +04:00
John Preston 9b2f2b104f Show enlarge photo button in webpage preview. 2023-11-09 22:33:14 +04:00
John Preston e4d920b148 Show multiboost "x5" badge in boost box. 2023-11-09 22:33:14 +04:00
John Preston c5d1739e95 Implement multiboost reassign box. 2023-11-09 22:33:14 +04:00
John Preston a41bbd27c8 Start multiboosts, support dynamic state. 2023-11-09 22:33:14 +04:00
John Preston 2d67557a91 Drag correct element from file album. 2023-11-09 22:33:14 +04:00
23rd ca1a548fb8 Added boost badge to buttons for prepaid giveaways. 2023-11-09 16:27:54 +03:00
23rd 97bd865916 Added terms to bottom of giveaway box for prepaid giveaways. 2023-11-09 16:02:18 +03:00
23rd f7ab8298cf Added show more button to statistics info for list of recent messages. 2023-11-09 16:02:18 +03:00
23rd 33cf9a0702 Fixed expiration date of boosts in boosts list. 2023-11-09 16:02:18 +03:00
23rd 282c076931 Removed redundant peerListShowBox / peerListHideLayer from delegates. 2023-11-09 16:02:18 +03:00
23rd 135ffb13fd Added all joined channels to list in giveaway box. 2023-11-09 16:02:18 +03:00
23rd 9d4e1689fa Added state restoring to list for boost awarding members. 2023-11-09 16:02:18 +03:00
23rd 27e2a4b5d2 Fixed width of tabs for different boosts lists. 2023-11-09 16:02:18 +03:00
23rd c9cad4186b Added initial list of prepaid giveaway to boosts info. 2023-11-09 16:02:18 +03:00
23rd 3522d9c62e Added API support for prepaid giveaways. 2023-11-09 14:18:26 +03:00
23rd 43aa8825a5 Added badge and loading state to confirm button in giveaway box. 2023-11-09 14:18:26 +03:00
ZavaruKitsu 4b28e910e8 Merge tag 'v4.11.5' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/platform/win/tray_win.cpp
#	Telegram/lib_ui
2023-11-08 21:33:14 +03:00
23rd 4150cdff86 Moved out badge for giveaway list to td_ui. 2023-11-08 15:22:48 +03:00
23rd 474fa56cc0 Improved processing of giveaway creation after payment. 2023-11-08 15:22:48 +03:00
23rd 6ca777102c Added ability to paint non-optimized ministars to fix possible glitches. 2023-11-07 20:23:42 +03:00
23rd 49d5cf939c Added special fading-in top bar with title to giveaway box. 2023-11-07 20:23:42 +03:00
23rd b56b9b1fb9 Added ability to set background color for premium top bar via styles. 2023-11-07 20:23:42 +03:00
23rd 0293700e0f Added ability to ignore dark themes in premium top bar via styles. 2023-11-07 20:23:42 +03:00
John Preston 524a7a6a23 Fix wrong popup menu click-through on macOS 14.1.
Fixes #27025.
2023-11-07 12:40:29 +04:00
John Preston b1459e41d3 Fix system version check for dark taskbar support.
Fixes #27056.
2023-11-07 11:47:10 +04:00
John Preston ef685aa0da Fix via @bot badge in unwrapped media.
Fixes #27048.
2023-11-07 09:14:32 +04:00
John Preston 3ac222db62 Fix initial scroll to search result in bots. 2023-11-07 09:09:09 +04:00
Julian Sparber 642b0ed032 Install monochrome icon as symbolic app icon on Linux
GNOME Shell uses the symbolic icon in the topbar and notifications.
2023-11-07 08:38:10 +04:00
John Preston a7090c5fba Fix possible crash in topic replies. 2023-11-07 08:35:58 +04:00
23rd ebcd4eb97b Added box for pending giftcodes. 2023-11-07 05:35:28 +03:00
23rd a76534b19f Fixed opening of same boosts info multiple times. 2023-11-07 03:27:20 +03:00
23rd ee33d139cd Improved style of tabs in boosts info. 2023-11-07 03:27:20 +03:00
23rd c9cabfb084 Fixed API support for different boosts lists. 2023-11-07 03:27:20 +03:00
23rd 3dd415d0c2 Removed wheel support from slider in giveaway box. 2023-11-07 03:27:20 +03:00
23rd 4592e4e4bb Slightly improved style of boosts info. 2023-11-07 03:27:20 +03:00
23rd 1cb762913c Fixed text of confirm box in giveaway box. 2023-11-07 03:27:04 +03:00
John Preston 6eb7d68d49 Version 4.11.5.
- Giveaway phrases and sticker fixes.
- Show quoted part in channel comments.
- Show replies with icons and multiline preview.
- Send correct replies in topics and channel comments.
- In monochrome Windows tray icon use dot instead of counter.
2023-11-06 22:21:00 +04:00
John Preston 36662c51dd Fix giveaway sticker and phrases. 2023-11-06 22:16:12 +04:00
John Preston 4e915e9d1a Beta version 4.11.4: Fix build with GCC. 2023-11-06 20:31:11 +04:00
John Preston 86d6280776 Fix bidi data init. 2023-11-06 20:30:41 +04:00
John Preston eea7caeb94 Fix a phrase in giveaway info. 2023-11-06 20:29:41 +04:00
John Preston b77e74de7f Beta version 4.11.4.
- Show quoted part in channel comments.
- Show replies with icons and multiline preview.
- Send correct replies in topics and channel comments.
- In monochrome Windows tray icon use dot instead of counter.
2023-11-06 14:50:21 +04:00
John Preston 8a804fcfad Add toasts about giveaway/gift start. 2023-11-06 14:41:42 +04:00
John Preston f7ad91e80c Fix round video link preview with reactions. 2023-11-06 13:39:05 +04:00
John Preston 61a9d9c01d Don't close schedule media box by outside click. 2023-11-06 12:47:37 +04:00
23rd e98f56b0b7 Fixed aspect ratio of non-standard stickers in photo editor. 2023-11-06 12:41:15 +04:00
John Preston b2eeab53c5 Improve 5-line reply text elision. 2023-11-06 12:35:27 +04:00
John Preston d7539349c7 Always show manual quote replies, hide redundant. 2023-11-06 12:35:08 +04:00
John Preston 5350c97f82 Fix sending replies in forums. 2023-11-06 12:31:59 +04:00
John Preston 20ba417ddd Fix sending messages from "View as Messages". 2023-11-06 12:06:21 +04:00
ZavaruKitsu 5b6f26af21 fix: make it compile 2023-11-05 21:40:56 +03:00
ZavaruKitsu ac1da83401 Merge tag 'v4.11.3' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/info/profile/info_profile_values.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-11-05 21:23:03 +03:00
ZavaruKitsu 7b32e9af5e feat: add ease like on Android 2023-11-05 21:14:16 +03:00
John Preston 332ae22111 Fix build of crashpad with Xcode < 15. 2023-11-05 11:01:49 +04:00
John Preston b8c76cac61 Use dot in monochrome tray icon on Windows. 2023-11-05 00:03:44 +04:00
John Preston 150432e4d1 Add explicit CMAKE_MSVC_RUNTIME_LIBRARY. 2023-11-04 23:19:12 +04:00
John Preston d6c3760646 Improve external reply icons paddings. 2023-11-04 21:24:21 +04:00
John Preston 537c656ee1 Show external reply media preview. 2023-11-04 21:24:21 +04:00
John Preston 4e0490494e Extract reply view to a separate component. 2023-11-04 21:24:21 +04:00
John Preston 56ad825693 Attempt to fix build on Clang. 2023-11-04 21:24:21 +04:00
John Preston aab4ac8526 Fix story replies. 2023-11-04 21:24:21 +04:00
John Preston 5c98406e1a Expandable quote snippets in replies. 2023-11-04 21:24:19 +04:00
John Preston 3b40bc6297 Show full reply names with icons. 2023-11-04 21:24:14 +04:00
John Preston 12e164c4df Fix multiline terms checkbox. 2023-11-04 21:24:12 +04:00
23rd 855cc8e900 Updated some dependencies. 2023-11-04 21:24:02 +04:00
23rd 0a38cf2501 Updated Qt to 5.15.11 on Windows. 2023-11-04 21:24:02 +04:00
23rd 6def067e98 Updated Qt to 6.2.6 on macOS. 2023-11-04 21:24:02 +04:00
23rd a4e5ea01dc Added icon to language button in settings from intro. 2023-11-04 21:24:02 +04:00
23rd f4cfbc5ed8 Improved behavior of show more button in boosts list from boosts info. 2023-11-04 21:24:02 +04:00
23rd 336705a503 Fixed description in box for boosting.
Regression was introduced in d82c422ea1.
2023-11-04 21:24:02 +04:00
23rd 764b0d3dcd Added loading label to boosts info. 2023-11-04 21:24:01 +04:00
23rd 72c8999e50 Added initial tabbed selector for different boosts lists in boosts info. 2023-11-04 21:24:01 +04:00
23rd 79b5f7eda9 Added initial API support for different boosts lists. 2023-11-04 21:24:01 +04:00
23rd 6fcf80c6cf Added initial right badges for complex boost entries in boosts info. 2023-11-04 21:24:01 +04:00
23rd e9a8acdc54 Added initial click handler to boosts list in boosts info. 2023-11-04 21:24:01 +04:00
23rd 01573af0de Added initial support of complex boosts list in boosts info. 2023-11-04 21:24:01 +04:00
23rd 69b24c494e Added multiplier badge to boosts list in boosts info. 2023-11-04 21:24:01 +04:00
23rd 2b4047b20d Added support of some backend limitations for giveaways. 2023-11-04 21:24:01 +04:00
23rd 2b1a46356a Slightly improved style of giveaway box. 2023-11-04 21:24:01 +04:00
23rd 36a91dd32b Moved out giveaway styles to separated file. 2023-11-04 21:24:01 +04:00
23rd d8e38b43d9 Added simple label for loading state to giveaway box. 2023-11-04 21:24:01 +04:00
23rd d2d69a7a36 Added premium star to top of giveaway box. 2023-11-04 21:24:01 +04:00
23rd 85fdc04d48 Added ability to create giveaways from giveaway box. 2023-11-04 21:24:01 +04:00
23rd 5e28b2d601 Added ability to select channels to giveaway box. 2023-11-04 21:24:01 +04:00
23rd 33f6fc7d8c Added list controller to giveaway box to display selected channels. 2023-11-04 21:24:01 +04:00
23rd 3c8188e0b4 Added channel list controller to giveaway box for channel selecting. 2023-11-04 21:24:01 +04:00
23rd 3ecf3f7c55 Moved out peer list controller for giveaway box to separated file. 2023-11-04 21:24:01 +04:00
23rd fc6d4d66b7 Added ability to filter users by countries for giveaway to giveaway box. 2023-11-04 21:24:01 +04:00
23rd 2d097ca9ae Added box for selecting countries. 2023-11-04 21:24:01 +04:00
23rd af03660cab Added ability to choose date for giveaway to giveaway box. 2023-11-04 21:24:01 +04:00
23rd 986d347ea4 Added slider for prize quantity to giveaway box. 2023-11-04 21:24:01 +04:00
23rd 2dcd8a9640 Added ability to award specific users in giveaway box. 2023-11-04 21:24:01 +04:00
23rd 5a55e850d9 Added subtext to list of giftcode options in giveaway box. 2023-11-04 21:24:01 +04:00
23rd aa6edea33a Added list of giftcode options to giveaway box. 2023-11-04 21:24:01 +04:00
23rd e67d2e5db2 Added API support for premium giftcode options. 2023-11-04 21:24:01 +04:00
23rd 67bbb477c7 Added ability to select users for awarding in giveaway box. 2023-11-04 21:24:01 +04:00
23rd 5b0c48bb52 Added dummy box for creating giveaway. 2023-11-04 21:24:01 +04:00
23rd e00016312e Added button for giveaway creating to boosts info. 2023-11-04 21:24:01 +04:00
23rd 9df551a145 Improved API support of boosts list. 2023-11-04 21:24:00 +04:00
23rd 1852161fbf Moved out generating unique PeerListRowId from string to single place. 2023-11-04 21:24:00 +04:00
GitHub Action 1851b6ff30 Update User-Agent for DNS to Chrome 118.0.5993.117. 2023-11-04 20:51:41 +04:00
Ilya Fedin 98f3fa76a2 Add CI for macOS packaged build 2023-11-04 20:51:26 +04:00
Ilya Fedin 6db4b8821e Add support for building iconset and plist without Xcode 2023-11-04 20:51:26 +04:00
Ilya Fedin 0f45abd534 Make WithSmallCounter adaptive 2023-11-04 20:50:58 +04:00
ZavaruKitsu 4ad0804d55 fix: refactor a bit 2023-11-03 22:21:48 +03:00
John Preston 9e10a80e00 Version 4.11.3.
- Fix adding a link to media captions in scheduled / comments.
- Fix crash in link preview options saving.
- Fix possible crash in statistics.
2023-11-02 20:31:53 +04:00
John Preston 01d9864036 Workaround crash in statistics. 2023-11-02 20:30:48 +04:00
John Preston 8927a1b9a2 Fix media caption adding link in replies/scheduled. 2023-11-02 20:30:48 +04:00
John Preston b41c94be29 Fix crash in link preview edit. 2023-11-02 20:30:48 +04:00
John Preston 8ebf329cd9 Display group / channel id in profile. 2023-11-02 20:30:48 +04:00
ZavaruKitsu c3251aaf7b feat: really MD3 switches
Also removed icons for rights, because Android version doesn't have them.
2023-11-02 18:16:35 +03:00
John Preston d031046edb Version 4.11.2: Fix build with GCC. 2023-11-02 00:06:42 +04:00
John Preston 7808cc6d41 Version 4.11.2: Fix build with Xcode. 2023-11-01 22:57:36 +04:00
John Preston a7b60c43b5 Version 4.11.2.
- Highlight quoted parts in jump-to-message from replies.
- Ctrl+Click on message field reply bar to jump to message.
- Fix empty link preview displaying when generation failed.
- Fix external replies in topic groups.
- Allow enabling legacy tray icon on Windows.
2023-11-01 22:26:15 +04:00
John Preston a8b959826c Don't activate main window in case of visible call window.
Fixes #27017.
2023-11-01 22:24:09 +04:00
John Preston 42f96f3c43 Fix build with Xcode. 2023-11-01 22:24:09 +04:00
John Preston cc97093c5a Instantly jump-to-message on reply bar ctrl+click. 2023-11-01 22:13:21 +04:00
John Preston 7d5d086ade Allow messages when accepting miniapp terms. 2023-11-01 21:04:25 +04:00
John Preston 3da44eb5dd Fix attach menu suggested bot launch. 2023-11-01 21:04:25 +04:00
John Preston 4955cdcdce Wait for main menu bot icon to load. 2023-11-01 21:04:25 +04:00
ZavaruKitsu b806e714a6 fix: badge improvements 2023-11-01 18:37:11 +03:00
23rd 597195a2e2 Replaced Session Controller with Navigation for resolving of giftcodes. 2023-11-01 17:01:25 +03:00
23rd 5966c74a27 Added ability to go to message from message preview in statistics info. 2023-11-01 17:00:26 +03:00
John Preston caa1ae4436 Fix inline bots with secondary usernames. 2023-11-01 16:39:46 +04:00
ZavaruKitsu 15ee46dab4 fix: pin without sound by default
https://github.com/kotatogram/kotatogram-desktop/commit/faee00a9aa0c2ef815b5567fc699a1b3f41745aa
2023-11-01 15:07:16 +03:00
ZavaruKitsu acea390f3a feat: show controls for GIFs 2023-11-01 14:48:26 +03:00
John Preston af5ad84e72 Fix crashpad_handler linking workaround.
Fixes #26873.
2023-11-01 09:27:06 +04:00
John Preston 728ed02a1c Allow selecting text in webpage previews. 2023-11-01 09:17:08 +04:00
John Preston 8e369a4aa5 Fix moved up link preview with long text. 2023-11-01 08:44:25 +04:00
ZavaruKitsu 1f66e8ebeb feat: more branding 2023-11-01 01:00:37 +03:00
ZavaruKitsu d0b0b02b62 fix: crashes in confirmations 2023-11-01 00:17:47 +03:00
John Preston 35e457c924 Fix quote create in RepliesWidget. 2023-10-31 23:41:41 +04:00
John Preston 097c3c4a5a Allow changing album quote before sending. 2023-10-31 23:25:26 +04:00
John Preston 10022a3c6d Highlight quotes in replies to file albums. 2023-10-31 23:06:21 +04:00
John Preston 0dbb195106 Highlight quotes in replies to albums. 2023-10-31 22:37:59 +04:00
23rd 6493cb9ed8 Fixed mouse wheel handling in vertical drum picker without animation. 2023-10-31 13:11:01 +03:00
John Preston 1cfda38345 Fix reply in topic after creation. 2023-10-31 13:20:30 +04:00
John Preston bf20dbe3bc Fix external replies to different topic groups. 2023-10-31 13:13:31 +04:00
John Preston 46d3f232af Don't drop reply info on empty message submit. 2023-10-31 13:08:32 +04:00
John Preston ade97fd2d2 Fix unwrapped reply to monospace. 2023-10-31 13:00:03 +04:00
John Preston 39614aab3f Fix unwrapped reply overlapping timestamp. 2023-10-31 12:59:52 +04:00
John Preston 6bab2b4df6 Improve quotes composing. 2023-10-31 12:59:32 +04:00
John Preston b4c7272351 Keep external replies in forwards. 2023-10-31 12:21:07 +04:00
John Preston d831775e2f Fix replying in the same history. 2023-10-31 11:19:57 +04:00
John Preston bde39970a0 Fix boost reassign. 2023-10-31 11:17:55 +04:00
John Preston 076291b98f Fix reply invalidation on message removal. 2023-10-31 10:53:20 +04:00
John Preston 1341907cfd Disable external replies for non-forwardable. 2023-10-31 10:50:17 +04:00
John Preston b793c06759 Fix external replies in topic groups. 2023-10-31 10:39:54 +04:00
John Preston 475b2ac739 Fix external quote-reply to topic message. 2023-10-31 09:01:20 +04:00
John Preston d1c310de00 Highlight reply quote in original message. 2023-10-31 09:01:20 +04:00
John Preston 8615a25cd1 Fix empty preview if sent while failing generating.
Fixes #27004.
2023-10-31 09:01:20 +04:00
Ilya Fedin de4eb1e59b Disable glib tests and introspection generation in snap 2023-10-31 08:16:05 +04:00
Ilya Fedin 8e8f6f905f Build newer meson in snap 2023-10-31 08:16:05 +04:00
John Preston a57eecd420 Add option to use old tray icon.
New monochrome icon is default for the new installations.

Fixes #26983, fixes #26988, fixes #26989, fixes #26991, fixes #27005.
2023-10-30 11:16:17 +04:00
John Preston f306b11676 Add id-s only when displayed in profile. 2023-10-30 10:51:11 +04:00
ZavaruKitsu fe15857704 fix: update submodule 2023-10-29 17:00:02 +03:00
ZavaruKitsu 98918e1bed fix: disable cringe function 2023-10-29 17:00:00 +03:00
ZavaruKitsu 0ed22b67ab fix: make it compile 2023-10-29 17:00:00 +03:00
ZavaruKitsu 53e4b685b4 Merge tag 'v4.11.1' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/history_inner_widget.cpp
#	Telegram/SourceFiles/platform/win/tray_win.cpp
#	Telegram/lib_ui
2023-10-29 14:35:43 +03:00
ZavaruKitsu 2ca24aa290 fix: icons centering 2023-10-29 14:30:07 +03:00
ZavaruKitsu 8e7b12a23a feat: add dev badges
Co-authored-by: c0re100 <corehusky@gmail.com>
2023-10-29 14:30:07 +03:00
John Preston 745ad45d47 Version 4.11.1: Update message text padding. 2023-10-29 12:31:56 +04:00
John Preston 5fee0a7a73 Don't allow replying to local messages. 2023-10-29 12:31:56 +04:00
John Preston 096ddcad6d Version 4.11.1.
- Fix crash in emoji status select.
- Fix crash in language change.
- Suggest shrinking only photos in webpage previews.
- Fix opening video files in webpage previews in-app.
- Fix sending links and markup with customized webpage previews.
- Show "Saved Messages" as a first row when replying in another chat.
- Fix selecting words by double-click with webpage previews.
- Fix delayed webpage preview generation in preview options.
- Add "show-peer-id-below-about" experimental option.
2023-10-29 12:15:20 +04:00
John Preston 3b7448ccab Version 4.12.
- Fix crash in emoji status select.
- Fix crash in language change.
- Suggest shrinking only photos in webpage previews.
- Fix opening video files in webpage previews in-app.
- Fix sending links and markup with customized webpage previews.
- Show "Saved Messages" as a first row when replying in another chat.
- Fix selecting words by double-click with webpage previews.
- Fix delayed webpage preview generation in preview options.
- Add "show-peer-id-below-about" experimental option.
2023-10-29 11:36:06 +04:00
John Preston 478c6c4d36 Fix pending link previews in preview options box. 2023-10-29 10:57:07 +04:00
John Preston e2ea27cbef Fix select-by-words with link previews. 2023-10-29 10:25:52 +04:00
John Preston 625ae87eea Add "show-peer-id-below-about" option. 2023-10-29 10:12:48 +04:00
John Preston 597816db09 Show Saved Messages in Reply in another chat. 2023-10-29 09:52:42 +04:00
John Preston ec3fc8c749 Send entities with customized webpage preview.
Fixes #26981.
2023-10-29 08:55:30 +04:00
John Preston e64a096dca Don't suggest shrinking media of direct photo links. 2023-10-29 08:51:42 +04:00
John Preston eaf30d58be Open documents-in-web-previews in-app. 2023-10-29 08:48:45 +04:00
John Preston 94ac9f93fa Don't shrink non-photo media. 2023-10-29 07:54:39 +04:00
John Preston 04f040c9c5 Fix a crash in emoji status set. 2023-10-29 07:09:42 +04:00
John Preston af0e87c569 Fix a crash on languages box open. 2023-10-29 07:09:42 +04:00
John Preston 1a503e5f1d Version 4.11: Fix build with GCC. 2023-10-29 00:33:54 +04:00
John Preston c46b659aa5 Version 4.11.
- View full statistics in your channels and group chats.
- Choose which link preview in added to the message.
- Choose if link preview is above or below the text.
- Choose if link preview has large or small image.
- Quote parts of text in replies.
- Add quote formatting.
- Reply in another chat.
- Add nice looking code blocks with syntax highlighting.
- Copy full code block by click on its header.
- Send a highlighted code block using ```language syntax.
- Change your name color in Chat Settings.
- Customize quotes, link previews and replies to your messages.
2023-10-28 23:39:31 +04:00
John Preston 7a754f8b00 Update reply preview in scale / themes. 2023-10-28 23:12:37 +04:00
John Preston 29fb263495 Use lang-packed "copy" instead of "code". 2023-10-28 22:34:08 +04:00
John Preston c8660b5385 Improve color/emoji admin log events. 2023-10-28 22:27:30 +04:00
John Preston d47b99b0b5 Don't set box show crash annotation (GenericBox). 2023-10-28 21:51:37 +04:00
John Preston 88e3c87cd9 Crash on assertion instead of stack overflow. 2023-10-28 21:41:00 +04:00
John Preston fe0e526b79 Support phrases for unclaimed giveaway prizes. 2023-10-28 21:40:39 +04:00
John Preston c480ab1a3b Fix possible crash in non-cancelled request. 2023-10-28 21:13:52 +04:00
John Preston 49bc8ccd6a Don't gray out background emoji reset icon. 2023-10-28 20:49:20 +04:00
John Preston b180070ba3 Improve very small quote areas with icons. 2023-10-28 20:49:20 +04:00
John Preston b40f30ca98 Update Implib.so. 2023-10-28 20:29:01 +04:00
John Preston c2a1817400 Always use first color as the main one. 2023-10-28 20:19:09 +04:00
John Preston cb6698cf4a Implement background emoji selector. 2023-10-28 18:06:17 +04:00
John Preston bcdb1bdfd2 Name color changing for me / channels. 2023-10-27 23:27:10 +04:00
John Preston effc9873c9 Remove test data in giveaways. 2023-10-27 17:49:31 +04:00
John Preston 9561026cd4 Add change color button with color sample. 2023-10-27 12:26:42 +04:00
John Preston 5d335341ab Support server-side colors by index, up to three. 2023-10-27 09:55:09 +04:00
John Preston cc8408d11c Fix draft options edit, add to topics/replies. 2023-10-26 21:02:15 +04:00
John Preston a197ed9e95 Allow choosing the link for the preview. 2023-10-26 14:08:52 +04:00
John Preston 3b91e2dee4 Improve editing messages with webpage previews. 2023-10-26 14:08:44 +04:00
John Preston c035ec6917 Allow sending just webpage preview. 2023-10-26 14:08:44 +04:00
John Preston 041ec1157f Respect invert_media in service notifications. 2023-10-26 14:08:44 +04:00
John Preston 17578be4b9 Edit reply / webpage options together. 2023-10-26 14:08:43 +04:00
John Preston 1409d38ac3 Improve reply options edit design. 2023-10-26 14:08:43 +04:00
John Preston b463c76eca Allow quote selection only in captions. 2023-10-26 14:08:43 +04:00
John Preston d62fb5786d Support selecting quote in reply info edit. 2023-10-26 14:08:43 +04:00
John Preston aad157cf56 Open link on webpreview attach click. 2023-10-26 14:08:43 +04:00
John Preston 2d3e2b1ef8 Fix drafts in topics. 2023-10-26 14:08:43 +04:00
John Preston 91ab82c9da Fix unread counter in General topic. 2023-10-26 14:08:43 +04:00
John Preston 9c23de7f1a Display reply background emoji. 2023-10-26 14:08:43 +04:00
John Preston 60fb5fdaf0 Update color index caches on palette change. 2023-10-26 14:08:43 +04:00
John Preston 4709e11e46 Support two-color quote outlines. 2023-10-26 14:08:43 +04:00
John Preston 8c28ce4c99 [stats] Fix build on layer 166. 2023-10-26 14:08:43 +04:00
John Preston 20c63b98c7 Fix build with Xcode. 2023-10-26 14:08:43 +04:00
John Preston 8b42161898 Allow sending custom webpage previews. 2023-10-26 14:08:43 +04:00
John Preston b1823d981b Update API scheme, rich preview drafts. 2023-10-26 14:08:42 +04:00
John Preston b2e8e0431e Start customizable webpages. 2023-10-26 14:08:42 +04:00
John Preston 486d5b63d3 Add countries to giveaway messages. 2023-10-26 14:08:42 +04:00
John Preston 84a1fec7b1 Add flag emoji by country iso2 method. 2023-10-26 14:08:41 +04:00
John Preston 3a84c6afdd Redesign webpage/giveaway/ads bottom button. 2023-10-26 14:08:41 +04:00
John Preston 16d18b437d Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston 12fab565a4 Fix Release build with Xcode. 2023-10-26 14:08:41 +04:00
John Preston f8d5a8a203 Redesign web pages preview. 2023-10-26 14:08:41 +04:00
John Preston b9af4f3cb0 Show nice replies with quotes. 2023-10-26 14:08:41 +04:00
John Preston 4b6107fa56 Use color index from API. 2023-10-26 14:08:41 +04:00
John Preston f90a010b84 Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston ef0539c9fc Allow replying with quoting message part. 2023-10-26 14:08:41 +04:00
John Preston 00db325e91 Fix view giveaway details button in forwards. 2023-10-26 14:08:41 +04:00
John Preston d5429e769f Allow sharing gift code link. 2023-10-26 14:08:41 +04:00
John Preston 714dae054a Jump to giveaway link from gift code box. 2023-10-26 14:08:41 +04:00
John Preston 981babf302 Support giveaway information box. 2023-10-26 14:08:41 +04:00
John Preston 0926bb1288 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston e13768ea50 Fix build with Xcode. 2023-10-26 14:08:40 +04:00
John Preston 6c19274eac Support external reply to channel posts. 2023-10-26 14:08:40 +04:00
John Preston 394883b986 Support replying to a different chat. 2023-10-26 14:08:40 +04:00
John Preston 4240568ea5 Pass FullReplyTo everywhere. 2023-10-26 14:08:40 +04:00
John Preston a77131dfd6 Add giveaway prize service message layout. 2023-10-26 14:08:40 +04:00
John Preston caca679336 Add quantity badge to giveaway message. 2023-10-26 14:08:40 +04:00
John Preston b08869abdb Support giveaway message layout. 2023-10-26 14:08:40 +04:00
John Preston d5147c9d28 Partially (italic+colored) support blockquotes. 2023-10-26 14:08:40 +04:00
John Preston 859e41f95a Use webview bots window size like on mobiles. 2023-10-26 14:08:40 +04:00
John Preston 0e45f3ebd9 Provide more theme keys to webview bots. 2023-10-26 14:08:40 +04:00
John Preston 7f9461820b Don't close webview after 'web_app_open_tg_link'. 2023-10-26 14:08:40 +04:00
John Preston e59a60b3b5 Handle new 'web_app_setup_settings_button' event. 2023-10-26 14:08:40 +04:00
John Preston 926aae6847 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston 744c1b925e Handle GiftCode links, show Gift Link box. 2023-10-26 14:08:40 +04:00
John Preston 3fc9ed0ccb Update API scheme to layer 166. 2023-10-26 14:08:39 +04:00
John Preston 0b7d544615 Move Boost.regex definitions to cmake_helpers. 2023-10-26 14:08:39 +04:00
23rd d19baeace2 Fixed show finishing of info layers. 2023-10-26 14:08:39 +04:00
Ilya Fedin cd0f58fa65 Implement monochrome tray icon on Windows 2023-10-25 14:23:50 +04:00
John Preston 1f25301283 Beta version 4.10.5.
- Fix crash in replies to messages with spoilers.
- Enter boosts stats from three-dot menu.
2023-10-23 20:20:31 +04:00
23rd 0788f3d7b0 Increased size of arrow in chart point details widget. 2023-10-23 20:19:17 +04:00
23rd f93b7a60f8 Fixed display of button to show more boosts when boosts are too few. 2023-10-23 20:19:17 +04:00
23rd d0875a1178 Fixed sliders in footer in statistics info while restoring state. 2023-10-23 20:19:17 +04:00
23rd 29f8493a82 Removed error toast for async graphs. 2023-10-23 20:19:17 +04:00
23rd d4db838d43 Added message preview to message statistics. 2023-10-23 20:19:17 +04:00
23rd 0be2e8b672 Fixed statistics overview of old messages. 2023-10-23 20:19:17 +04:00
23rd 0aa1031402 Added ability to open message statistics from context menu. 2023-10-23 20:19:17 +04:00
23rd 53c73accd0 Fixed typo in custom shortcut for full screen in media viewer. 2023-10-23 20:19:17 +04:00
23rd be38800a70 Moved entry point for boosts statistic to channel context menu. 2023-10-23 20:19:17 +04:00
John Preston f2fa1cd70d Fix crash in non-clickable spoilers. 2023-10-23 08:59:29 +04:00
Ilya Fedin 5dfce5f7b2 Fix direct include of third-party library 2023-10-22 22:20:52 +04:00
Ilya Fedin 2b10e1e595 Update lib_base 2023-10-22 22:20:52 +04:00
Ilya Fedin eb1ef6d2a7 Fix getting the screen of viewer/pip
We need to workaround getting the actual screen for the parent by getting its position yet we need to get the setted screen for the widget itself as that's the screen used to compute the geometry
2023-10-22 22:20:52 +04:00
ZavaruKitsu b2ce1d2d15 fix: a bunch of fixes
TTL media, some crashes, useless code
2023-10-22 00:15:54 +03:00
ZavaruKitsu b285b4d309 fix: update submodule 2023-10-21 23:05:17 +03:00
ZavaruKitsu eff273dd7d Merge tag 'v4.10.4' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-10-21 22:04:45 +03:00
John Preston fde63ccb21 Beta version 4.10.4: Fix build with GCC. 2023-10-21 22:28:23 +04:00
John Preston b209683c8e Beta version 4.10.4.
- Statistics in channels and group chats.
- Nice looking code blocks with syntax highlight.
- Copy full code block by click on its header.
- Send a highlighted code block using ```language syntax.
2023-10-21 20:54:47 +04:00
23rd b6be799938 Fixed processing of error on chart zooming. 2023-10-21 11:42:04 +03:00
23rd ec8c634e9c Fixed display of arrow on point details widget when no values there. 2023-10-21 11:34:54 +03:00
23rd b7a9aa9a0e Fixed processing of empty chart on message statistic. 2023-10-21 11:34:08 +03:00
23rd 2ca489b2fb Added initial ability to save and restore state for boosts info. 2023-10-21 09:37:30 +04:00
23rd daf76c1bc2 Improved style of boosts info. 2023-10-21 09:37:30 +04:00
23rd d3aa0664a7 Moved boost limits content to divider. 2023-10-21 09:37:30 +04:00
23rd f61c22b065 Added initial boosts list to boost info. 2023-10-21 09:37:30 +04:00
23rd 8041941565 Added share label and buttons to boost info. 2023-10-21 09:37:30 +04:00
23rd 0aa1cd0b52 Removed three dots button from invite link label when menu is disabled. 2023-10-21 09:37:30 +04:00
23rd 1bbac5784b Added overview of boost info. 2023-10-21 09:37:30 +04:00
23rd f925a9e961 Added initial boosts info to layer. 2023-10-21 09:37:30 +04:00
23rd 8b6d475882 Added initial entry point for boosts statistic. 2023-10-21 09:37:30 +04:00
23rd d82c422ea1 Moved out boost limits content from boost box. 2023-10-21 09:37:30 +04:00
23rd d7e57e42d8 Added API support for boost status and boosts list. 2023-10-21 09:37:30 +04:00
23rd 7ee2ec13f0 Added Data class for boosts. 2023-10-21 09:37:30 +04:00
23rd a6e13a9f9e Added dummy layer class for boosts. 2023-10-21 09:37:30 +04:00
John Preston 66f73a5a64 Copy code blocks on header click. 2023-10-20 18:07:16 +04:00
John Preston 575684670c Improve quotes / code blocks geometries. 2023-10-20 17:59:34 +04:00
John Preston 9661bac876 Show blockquote icon. 2023-10-13 16:24:01 +04:00
John Preston 4b618a3578 Fix build with GCC. 2023-10-13 10:10:11 +04:00
John Preston 0e79bd3d12 Show nice padded code blocks. 2023-10-13 10:08:29 +04:00
John Preston dd692f2d26 Use simplified TextStyle. 2023-10-13 10:08:29 +04:00
23rd cba8387589 Fixed value types in struct data for drawing of charts. 2023-10-13 05:16:30 +03:00
23rd 01c2ade501 Fixed display of widget for point details on charts on retina. 2023-10-13 03:19:50 +03:00
23rd b9fa14139a Fixed possible wrong range of clamp in footer of chart widget. 2023-10-13 03:19:50 +03:00
23rd a8cb5419d6 Fixed available width for text in widget for details on pie charts. 2023-10-12 16:54:24 +03:00
23rd f775670938 Moved out some classes for widgets in statistical info to directory. 2023-10-12 16:51:13 +03:00
23rd c035a25aaa Added lottie icon to report box. 2023-10-12 04:42:27 +03:00
23rd 6cae088d1f Added ability to customize shortcut for full screen in media viewer. 2023-10-12 04:20:35 +03:00
23rd bee0534052 Added emoji to poll preview. 2023-10-12 03:50:59 +03:00
John Preston 3e11d44cac Closed alpha version 4.10.3.1. 2023-10-11 22:12:35 +04:00
23rd 4d269f6e97 Added animation to pie chart while changing its parts. 2023-10-11 22:12:35 +04:00
23rd e9496fb612 Improved concurrent API requests of async statistical charts. 2023-10-11 22:12:35 +04:00
23rd c9c82446cb Added support of weekly range of days to chart views. 2023-10-11 22:12:35 +04:00
23rd 0dec803177 Fixed incorrect position of sliders in chart footer in some cases. 2023-10-11 22:12:35 +04:00
23rd 2dc45ac907 Added ability to restore first public forwards in statistical info. 2023-10-11 22:12:35 +04:00
23rd a3d8db4ac0 Added ability to save state for recent posts in statistical info. 2023-10-11 22:12:35 +04:00
23rd aee6b6e224 Fixed possible crash in loading of recent posts for statistical info. 2023-10-11 22:12:35 +04:00
23rd 736efd4692 Added ability to cache loaded chart data of async graphs. 2023-10-11 22:12:34 +04:00
23rd ec5e846374 Added initial ability to save and restore state of statistical info. 2023-10-11 22:12:34 +04:00
23rd caf32cccd3 Moved out inner widget of statistical info to separate class. 2023-10-11 22:12:34 +04:00
23rd 594b2bc8f2 Improved style of recent posts in statistical info. 2023-10-11 22:12:34 +04:00
23rd d1ba270a8c Renamed file of utils for statistical lists. 2023-10-11 22:12:34 +04:00
23rd 2c1abd32bf Added list of members to statistical info of supergroups. 2023-10-11 22:12:34 +04:00
23rd 79662dffa4 Guarded cases when min and max values of charts are equal. 2023-10-11 22:12:34 +04:00
23rd a79e025151 Slightly refactored code for info of statistic for single message. 2023-10-11 22:12:34 +04:00
23rd 3fa168cee0 Added API class for requesting full statistic of single message. 2023-10-11 22:12:34 +04:00
23rd 9c1ef76e49 Added overview info to statistic for single message. 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 393c23ad12 Added initial ability to open statistics for single message. 2023-10-11 22:12:34 +04:00
23rd 01821cd779 Added second type of info layer for statistics. 2023-10-11 22:12:34 +04:00
23rd 3da733520d Added API support to request list of public forwards for single message. 2023-10-11 22:12:34 +04:00
23rd a605275157 Added icon to entry point for statistics. 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 fc3acff5d6 Added support of percentages display to details widget. 2023-10-11 22:12:34 +04:00
23rd 515850ec9b Decreased height of header for charts without dates. 2023-10-11 22:12:34 +04:00
23rd 837b256778 Added support of dark theme to statistical charts. 2023-10-11 22:12:34 +04:00
23rd d16cab30d4 Fixed paint of rulers for stack chart view. 2023-10-11 22:12:34 +04:00
23rd fcdd7ecd61 Fixed paint glitch of selected bar on stack chart view. 2023-10-11 22:12:34 +04:00
23rd da9720530a Added ability to filter out lines from chart on demand from backend. 2023-10-11 22:12:34 +04:00
23rd 4a10d86a29 Fixed state losing in filter buttons on resize of statistics layer. 2023-10-11 22:12:34 +04:00
23rd 3b5a007db5 Added ability to hide footer of chart on demand from backend. 2023-10-11 22:12:34 +04:00
23rd 2479b56c3b Added ability to hide part of info on chart ruler when line is filtered. 2023-10-11 22:12:34 +04:00
23rd 0909e8bd08 Reduced line width in footer of charts. 2023-10-11 22:12:34 +04:00
23rd 6109ec70b8 Slightly improved format of dates on charts. 2023-10-11 22:12:34 +04:00
23rd c20bd17029 Moved zoom out button to right side above chart. 2023-10-11 22:12:34 +04:00
23rd 10e3115c39 Improved style of line filter buttons under charts. 2023-10-11 22:12:34 +04:00
23rd 3425b40746 Improved style of widget for details of selected points on chart. 2023-10-11 22:12:34 +04:00
23rd 42fc4fbb31 Improved style of sliders in footer from charts. 2023-10-11 22:12:34 +04:00
23rd f081917cd0 Improved style of rulers on charts in statistics. 2023-10-11 22:12:34 +04:00
23rd bdfb0ffe04 Improved style of statistic overview. 2023-10-11 22:12:34 +04:00
23rd 2b282c8d7d Improved header style for charts. 2023-10-11 22:12:33 +04:00
23rd 77d23ad182 Replaced statistics box with info layer widget. 2023-10-11 22:12:33 +04:00
23rd 79442fde97 Fixed incorrect search of index by value in statistical chart data. 2023-10-11 22:12:33 +04:00
23rd f8e80bc266 Improved limits of zoomed in slider in footer for stack linear chart. 2023-10-11 22:12:33 +04:00
23rd cb4c629178 Slightly refactored code for statistical charts. 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 2638e54181 Fixed available width for text in widget for point details on charts. 2023-10-11 22:12:33 +04:00
23rd db97db4aba Fixed crash on closing statistics with locally zoomed in chart. 2023-10-11 22:12:33 +04:00
23rd ded3f135bb Improved casting of limits for std::distance in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd be82df72e6 Fixed possible crash in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd 3fa6335b24 Added API support to request statistical graph for single message. 2023-10-11 22:12:33 +04:00
23rd 23868bf9cc Added ability to hide charts without data in statistics box. 2023-10-11 22:12:33 +04:00
23rd 5b67f4ac9b Added overview info to statistic of supergroup. 2023-10-11 22:12:33 +04:00
23rd 17fdef7d9e Added chart widgets for statistic of supergroups. 2023-10-11 22:12:33 +04:00
23rd cf82e12bf4 Added serialization from TL to statistics data for supergroups. 2023-10-11 22:12:33 +04:00
23rd 6f27aeef10 Added overview info to statistic of channels. 2023-10-11 22:12:33 +04:00
23rd df53ddf837 Added all chart widgets for statistic of channels. 2023-10-11 22:12:33 +04:00
23rd a3fd4f3fac Added label to box for statistic while loading. 2023-10-11 22:12:33 +04:00
23rd 24c0624704 Added support of default zoom to statistical charts. 2023-10-11 22:12:33 +04:00
23rd 33724be6ea Added support of theme colors for lines on statistical charts. 2023-10-11 22:12:33 +04:00
23rd 4624d34f68 Fixed display of outer points on linear chart. 2023-10-11 22:12:33 +04:00
23rd aeee016dc9 Fixed animation of line filtering in stack linear chart view. 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 bdd35a6e2b Added ability to handle mouse move to chart views. 2023-10-11 22:12:31 +04:00
23rd d9a08bb6a6 Fixed smooth paint of stack linear chart on move of footer slider. 2023-10-11 22:12:31 +04:00
23rd cee833f102 Fixed paint of selected X index in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd c19a527872 Fixed position of zoomed in slider in footer for stack linear chart. 2023-10-11 22:12:31 +04:00
23rd 6995fcafb5 Fixed mouse selection of pie chart with single part. 2023-10-11 22:12:31 +04:00
23rd b261d23645 Fixed display of zoomed days in pie chart view. 2023-10-11 22:12:31 +04:00
23rd 21c1ba7607 Fixed display of selected days in zoomed stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd 5a2b8d06e3 Fixed paint of zoomed footer in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd 9046daa1a6 Fixed limit of days for zoom in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd 65ccb4059e Changed range of slider in footer from chart widget. 2023-10-11 22:12:31 +04:00
23rd d2578e9e47 Added minimal size of pie part for text on pie chart view. 2023-10-11 22:12:31 +04:00
23rd be17e2b919 Slightly refactored variables in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd 26c2e7f245 Improved round of percentages in pie chart view. 2023-10-11 22:12:31 +04:00
23rd 9051716172 Added initial support of sync zoom to chart widget. 2023-10-11 22:12:31 +04:00
23rd 71b6a58683 Added initial support of sync zoom of charts to stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd 32cd454554 Moved out chart header to separated files. 2023-10-11 22:12:30 +04:00
23rd 6ffe555f6a Fixed animation processing after selecting part of pie chart. 2023-10-11 22:12:30 +04:00
23rd 7ac9ab3a51 Added support to hide chart elements with opacity from chart view. 2023-10-11 22:12:30 +04:00
23rd a9b0464726 Moved out context for chart paint to separated structure. 2023-10-11 22:12:30 +04:00
23rd e4e85e5a39 Added ability to move slider in chart widget footer from outside. 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 5dc078a3f8 Removed selection of last enabled part on pie chart. 2023-10-11 22:12:30 +04:00
23rd 83753343cb Added details popup to selected part of pie chart. 2023-10-11 22:12:30 +04:00
23rd 42215343cf Added ability to select part of pie chart. 2023-10-11 22:12:30 +04:00
23rd bedefee1d1 Added initial appear animation of text to pie chart. 2023-10-11 22:12:30 +04:00
23rd 788eb014d4 Added ability to paint pie chart as zoomed stack linear chart. 2023-10-11 22:12:30 +04:00
23rd 13b7a07d2e Added initial transition animation to 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 d13fe39629 Added ability to paint horizontal lines for double linear charts. 2023-10-11 22:12:30 +04:00
23rd 62b3b60c45 Added initial support of double linear chart to view. 2023-10-11 22:12:30 +04:00
23rd 74313d23f3 Added new type of chart view for double linear charts. 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 83cf12b475 Slightly reduced size of buttons in container to filter chart lines. 2023-10-11 22:12:30 +04:00
23rd a0226f9789 Added support of different chart types in chart widget. 2023-10-11 22:12:30 +04:00
23rd 54fecd497e Added icon to widget for point details on chart when zoom is enabled. 2023-10-11 22:12:30 +04:00
23rd 2106747496 Decreased size of widget for point details on chart. 2023-10-11 22:12:30 +04:00
23rd ecce9dbaaa Added ability to hide point details on chart by second click. 2023-10-11 22:12:30 +04:00
23rd b606a7b21d Added initial animation and selection to stack chart view. 2023-10-11 22:12:30 +04:00
23rd 35ff45971f Added support of async charts for main graphs. 2023-10-11 22:12:30 +04:00
23rd 7a436f32dd Moved out search of clicked index on chart to chart view. 2023-10-11 22:12:30 +04:00
23rd 54d5358b75 Fixed position of selected X in linear chart animations. 2023-10-11 22:12:30 +04:00
23rd 20c2250abb Added initial implementation of painting of stack chart. 2023-10-11 22:12:30 +04:00
23rd 2ddc1ee2e1 Implemented calculation of chart height in stack chart view. 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 11b932707c Moved out calculation of height limits to abstract chart view class. 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 361d269bf3 Added support of custom header in chart widget with zoomed chart. 2023-10-11 22:12:30 +04:00
23rd ae81373cff Slightly improved display management of delayed widgets in chart widget. 2023-10-11 22:12:30 +04:00
23rd 160794b26c Added support of chart titles to Data and API classes for statistics. 2023-10-11 22:12:30 +04:00
23rd 1dc57afbe1 Added some phrases for chart titles in chart widget. 2023-10-11 22:12:30 +04:00
23rd d9f397ea3f Added display of toast with potential human-readable errors from server. 2023-10-11 22:12:30 +04:00
23rd c9a976bf87 Added initial support of zooming single chart to chart widget. 2023-10-11 22:12:30 +04:00
23rd 7b921dea3b Replaced bad sizeValue with intended resizeGetHeight in chart widget. 2023-10-11 22:12:30 +04:00
23rd fcc6aaed91 Added mouse click support to point details widget. 2023-10-11 22:12:30 +04:00
23rd eb0ab9609f Added API support for request of async zoom single chart. 2023-10-11 22:12:30 +04:00
23rd bb359f6493 Fixed crash in charts with equal minimum and maximum values. 2023-10-11 22:12:30 +04:00
23rd b24be50afe Improved format of timestamp in point details widget. 2023-10-11 22:12:30 +04:00
23rd 3e55380eed Returned support of detail dots to linear chart view class. 2023-10-11 22:12:30 +04:00
23rd 25c97a3ee8 Cached both main and footer charts in single linear chart view. 2023-10-11 22:12:30 +04:00
23rd 2055cc70d1 Removed chart line view context. 2023-10-11 22:12:30 +04:00
23rd 788a81df6c Removed some duplicated code from chart line view context. 2023-10-11 22:12:30 +04:00
23rd 1209bd35c5 Replaced static function for linear chart paint with dedicated class. 2023-10-11 22:12:30 +04:00
23rd f473a1a804 Attempted to increase performance of chart paint by caching every frame. 2023-10-11 22:12:30 +04:00
23rd c8e95f7297 Improved y-axis animation again to look much better. 2023-10-11 22:12:30 +04:00
23rd b1ed8cd1b1 Fixed bug of display for y-axis captions with instant delivered data. 2023-10-11 22:12:30 +04:00
23rd 64bb818fe9 Added initial display of footer while chart lines are filtering. 2023-10-11 22:12:29 +04:00
23rd ee172d951d Added support to hide name and value of line in PointDetailsWidget. 2023-10-11 22:12:29 +04:00
23rd 41bc47eb6f Faded out detail dot of filtered chart line. 2023-10-11 22:12:29 +04:00
23rd 423d2293f9 Kept point details widget while chart lines are filtering. 2023-10-11 22:12:29 +04:00
23rd e6559276c0 Added class to calculate context state while chart lines are filtering. 2023-10-11 22:12:29 +04:00
23rd 13959ca36c Added buttons container to filter chart line to chart widget. 2023-10-11 22:12:29 +04:00
23rd 520989a7e6 Added initial ability to filter chart lines. 2023-10-11 22:12:29 +04:00
23rd 4c02d19a51 Added implementation of buttons container to filter chart lines. 2023-10-11 22:12:29 +04:00
23rd 734e1166ad Removed from display point details widget with invalid index. 2023-10-11 22:12:29 +04:00
23rd 94fd3e32dd Added own value of height for chart widget. 2023-10-11 22:12:29 +04:00
23rd 367adaa44d Attempted to increase performance when paint complicated charts. 2023-10-11 22:12:29 +04:00
23rd 73b4621121 Cached current x-axis indices to reduce redundant calculations. 2023-10-11 22:12:29 +04:00
23rd 8256a4c686 Completely replaced widgets in footer with nice path paint. 2023-10-11 22:12:29 +04:00
23rd b6b6673214 Initially replaced buttons in footer with cached arrows. 2023-10-11 22:12:29 +04:00
23rd 8ba2e95e6c Added paint of inactive area in footer in chart widget. 2023-10-11 22:12:29 +04:00
23rd 40ab042fb5 Added support of very large values in PointDetailsWidget. 2023-10-11 22:12:29 +04:00
23rd 25f401c22e Changed color of axis captions to grey. 2023-10-11 22:12:29 +04:00
23rd d8566f770f Removed chart paint below bottom line in chart widget. 2023-10-11 22:12:29 +04:00
23rd f76f69b5cd Moved out details dots above horizontal line captions. 2023-10-11 22:12:29 +04:00
23rd 487dd27ca1 Added padding to y-axis captions in chart widget. 2023-10-11 22:12:29 +04:00
23rd 32df03f08d Fixed text overlap on y-axis captions when mouse drag is really fast. 2023-10-11 22:12:29 +04:00
23rd 658db59aaf Replace Simple with Basic for animation of chart y-axis captions. 2023-10-11 22:12:29 +04:00
23rd 695542cfd2 Added initial animation of chart y-axis captions. 2023-10-11 22:12:29 +04:00
23rd 07cd35b1a8 Added fade animation to details widget on charts. 2023-10-11 22:12:29 +04:00
23rd 74aae29b64 Added point details widget to chart widget. 2023-10-11 22:12:29 +04:00
23rd 70713d5f62 Moved paint of chart to inner widget within chart widget. 2023-10-11 22:12:29 +04:00
23rd dd1b006d8a Created RpMouseWidget class for easier mouse processing. 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 9e8d60065b Slightly improved code style in PaintLinearChartView. 2023-10-11 22:12:29 +04:00
23rd d603f4de51 Reduced redundant calculations of animation in chart widget. 2023-10-11 22:12:29 +04:00
23rd 77695091b3 Slightly clarified name of y-axis animation in chart widget. 2023-10-11 22:12:29 +04:00
23rd 20e81177a6 Fixed first show of chart widget with new data. 2023-10-11 22:12:29 +04:00
23rd ce3ad95950 Removed useless processing for changing drag direction. 2023-10-11 22:12:29 +04:00
23rd c5684e768a Slightly optimized footer in chart widget. 2023-10-11 22:12:29 +04:00
23rd c8d5a60c74 Moved out processing of chart animation to separate class. 2023-10-11 22:12:29 +04:00
23rd 4dad0a215a Removed some unused data chart widget. 2023-10-11 22:12:29 +04:00
23rd 15698fd6f0 Tried to fix animation bug when mouse drag is really fast. 2023-10-11 22:12:29 +04:00
23rd cd4654dfd2 Tried to fix some bugs with alpha of horizontal lines in chart widget. 2023-10-11 22:12:29 +04:00
23rd 3a3d4480cc Added acceleration to y-axis animation in chart widget. 2023-10-11 22:12:29 +04:00
23rd 5c3748db56 Added tools to test animation for left and right edges with same speed. 2023-10-11 22:12:29 +04:00
23rd 7dfdcc7be0 Added some work in progress to improve horizontal line animation. 2023-10-11 22:12:29 +04:00
23rd d1f2950167 Added initial animation of horizontal lines in chart widget.
The animation is only top-down for now.
2023-10-11 22:12:29 +04:00
23rd 59f61586a9 Improved code style in chart widget. 2023-10-11 22:12:29 +04:00
23rd 629dd6f9de Added dirty implementation of chart animation with both axes. 2023-10-11 22:12:29 +04:00
23rd f4fc8ec2c4 Added initial chart y-axis animation without x-axis. 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 26b17325aa Added initial implementation of footer in statistic chart widget. 2023-10-11 22:12:29 +04:00
23rd c71f35778d Added API support of channel flag for channel statistics. 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 029e0c9488 Added deserialization from JSON to statistics data to API. 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 78e553b724 Added usage of segment tree in Data class for statistics. 2023-10-11 22:12:28 +04:00
23rd b5b70beea0 Added implementation of class for segment tree. 2023-10-11 22:12:28 +04:00
23rd 177a7eaf43 Added initial serialization from TL data to statistics data. 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
23rd b0a65885c9 Added initial entry point for channel statistics. 2023-10-11 22:12:28 +04:00
John Preston ad8f8513c3 Link crashpad_handler with Xcode bug workaround. 2023-10-11 22:12:28 +04:00
23rd f457a9d109 Added ability to fast change forward options with right click on panel. 2023-10-11 21:10:56 +03:00
Ilya Fedin 830fb3ccc2 Update submodules 2023-10-11 21:54:42 +04:00
Ilya Fedin 9116328f29 Update to Qt 6.6.0 release on Linux 2023-10-11 21:54:42 +04:00
John Preston aa7575dec4 Highlight more languages. 2023-10-11 08:45:50 +04:00
John Preston bfe272e39f Fix highlighting of the closing bracket. 2023-10-11 08:45:50 +04:00
23rd a7ca15657b Fixed master branch updater Github Action. 2023-10-11 06:06:03 +03:00
23rd 41dada2c06 Fixed shadows in userpic builder with non-default scale. 2023-10-11 06:06:03 +03:00
John Preston 501784cd15 Attempt to fix Snap build. 2023-10-08 07:02:40 +04:00
Ilya Fedin ac699ccf80 Update submodules 2023-10-07 07:08:21 +04:00
Ilya Fedin aadaf47569 Add boost-regex to snap 2023-10-07 07:08:21 +04:00
Ilya Fedin 6bc0179919 Work with GLIB_VERSION_MAX_ALLOWED 2023-10-07 07:08:21 +04:00
Ilya Fedin 93fbad50bc Downgrade qtwayland to 6.5.3 2023-10-07 07:08:21 +04:00
Ilya Fedin a5ec616382 Downgrade qtsvg to 6.5.3 in snap
As a better crash workaround
2023-10-07 07:08:21 +04:00
John Preston bf3f474195 Fix label position in peer editing. 2023-10-06 17:49:34 +04:00
John Preston 14f68c2f33 Fix webview on Windows & macOS. 2023-10-06 17:49:34 +04:00
John Preston 92fadd2652 Fix build with GCC 12. 2023-10-06 16:28:45 +04:00
John Preston b68a7c7f04 Update submodules. 2023-10-06 09:03:28 +04:00
John Preston 50097e1a81 Show spellcheck suggestions on Ctrl+Space.
Fixes #26892.
2023-10-05 10:36:30 +04:00
ZavaruKitsu 464a36b515 fix: possibly compile on Linux 2023-10-04 22:47:53 +03:00
ZavaruKitsu b46214a51e fix: use styles to ensure scaling 2023-10-04 22:31:42 +03: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
John Preston 396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
ZavaruKitsu 235e0ae713 fix: crash in channels
fix: remove useless button
2023-10-04 21:16:54 +03:00
23rd 2b3f17e982 Removed call button from history with service user. 2023-10-04 20:38:14 +04:00
John Preston 5ef48cac9c Use shared_ptr<Factory> as settings section id. 2023-10-04 20:38:14 +04:00
John Preston 6ba922d7b0 Fix channel stories open from chats list. 2023-10-04 20:38:14 +04:00
Ilya Fedin f881192dd0 Don't enter settings after update 2023-10-04 12:10:33 +04:00
Ilya Fedin ef2a0bb05e Add libnvidia-egl-wayland1 to snap 2023-10-04 12:10:19 +04:00
Ilya Fedin 54efa2353e Update submodules 2023-10-04 12:07:36 +04:00
Ilya Fedin 2878533078 Re-throw original exception in Linux notification's StartServiceAsync 2023-10-04 12:07:36 +04:00
Sergey A. Osokin ac520b314d Fix build on FreeBSD 2023-10-02 18:47:10 +04:00
John Preston 871fef2c4a Version 4.10.3.
- Fix crash on external link opening. (Linux only)
2023-10-02 17:56:10 +04:00
John Preston 99f4b93745 Attempt to fix build with Clang on Linux. 2023-10-02 17:56:10 +04:00
Ilya Fedin a757e07c3a Line length clean up in notifications_manager_linux 2023-10-02 16:11:02 +04:00
Ilya Fedin 5c4f006550 Avoid Windows-specific hack to ruin initial main window geometry on Linux 2023-10-02 07:05:21 +04:00
John Preston 9ad38b9638 Update lib_base submodule. 2023-10-01 21:54:44 +04:00
Ilya Fedin fe8ebc1659 Update patches on Linux 2023-10-01 07:25:58 +04:00
Ilya Fedin a732d8f5e7 Disable vfork in Qt on Linux 2023-10-01 07:25:58 +04:00
Ilya Fedin 7ddcc47fcd Make UnsafeShowOpenWith inline on Linux 2023-10-01 06:54:39 +04:00
Ilya Fedin 70f22293cf Get rid of last non-standard piece in Linux FileDialog getter 2023-10-01 06:54:39 +04:00
ZavaruKitsu 0c50d6d7e7 fix: set default 2023-09-30 19:36:28 +03:00
John Preston 90fb59348c Try fixing Docker action. 2023-09-29 20:38:21 +04:00
1542 changed files with 112696 additions and 33959 deletions
+57
View File
@@ -0,0 +1,57 @@
---
Language: Cpp
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: false
AlignTrailingComments: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: false
AfterNamespace: false
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: true
BeforeWhile: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBraces: Custom
ColumnLimit: 120
IncludeCategories:
- Regex: '^<.*'
Priority: 1
- Regex: '^".*'
Priority: 2
- Regex: '.*'
Priority: 3
IncludeIsMainRegex: '([-_](test|unittest))?$'
IndentCaseLabels: true
IndentWidth: 4
InsertNewlineAtEOF: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 2
SpaceAfterCStyleCast: true
SpaceAfterTemplateKeyword: false
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
TabWidth: 4
UseTab: Always
...
Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

+3 -4
View File
@@ -28,9 +28,10 @@ jobs:
run: |
sudo apt update
curl -sSL https://install.python-poetry.org | python3 -
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Free up some disk space.
uses: jlumbroso/free-disk-space@76866dbe54312617f00798d1762df7f43def6e5c
uses: jlumbroso/free-disk-space@f68fdb76e2ea636224182cfb7377ff9a1708f9b8
- name: Docker image build.
run: |
@@ -40,6 +41,4 @@ jobs:
- name: Push the Docker image.
if: ${{ github.ref_name == github.event.repository.default_branch }}
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
docker push $IMAGE_TAG
run: docker push $IMAGE_TAG
+13 -18
View File
@@ -43,15 +43,6 @@ jobs:
linux:
name: Rocky Linux 8
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}/centos_env
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
defaults:
run:
shell: scl enable gcc-toolset-12 -- bash --noprofile --norc -eo pipefail {0}
strategy:
matrix:
@@ -61,7 +52,7 @@ jobs:
- "DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION"
env:
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
steps:
- name: Get repository name.
@@ -75,12 +66,13 @@ jobs:
- name: First set up.
run: |
gcc --version
ln -s /usr/src/Libraries
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
docker pull ghcr.io/$GITHUB_REPOSITORY/centos_env
docker tag ghcr.io/$GITHUB_REPOSITORY/centos_env tdesktop:centos_env
- name: Telegram Desktop build.
run: |
cd $REPO_NAME/Telegram
cd $REPO_NAME
DEFINE=""
if [ -n "${{ matrix.defines }}" ]; then
@@ -91,18 +83,21 @@ jobs:
echo "ARTIFACT_NAME=Telegram" >> $GITHUB_ENV
fi
./configure.sh \
docker run --rm \
-v $PWD:/usr/src/tdesktop \
-e CONFIG=Debug \
tdesktop:centos_env \
/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \
-D CMAKE_C_FLAGS_DEBUG="" \
-D CMAKE_CXX_FLAGS_DEBUG="" \
-D CMAKE_C_FLAGS="-Werror" \
-D CMAKE_CXX_FLAGS="-Werror" \
-D CMAKE_EXE_LINKER_FLAGS="-s" \
-D TDESKTOP_API_TEST=ON \
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF \
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
$DEFINE
cmake --build ../out --config Debug --parallel
- name: Check.
run: |
filePath="$REPO_NAME/out/Debug/Telegram"
@@ -120,8 +115,8 @@ jobs:
if: env.UPLOAD_ARTIFACT == 'true'
run: |
cd $REPO_NAME/out/Debug
mkdir artifact
mv Telegram artifact/
sudo mkdir artifact
sudo mv {Telegram,Updater} artifact/
- uses: actions/upload-artifact@master
if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact.
+7 -3
View File
@@ -40,14 +40,14 @@ jobs:
macos:
name: MacOS
runs-on: macos-12
runs-on: macos-13
strategy:
matrix:
defines:
- ""
env:
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
ONLY_CACHE: "false"
PREPARE_PATH: "Telegram/build/prepare/prepare.py"
@@ -64,7 +64,10 @@ jobs:
- name: First set up.
run: |
sudo chown -R `whoami`:admin /usr/local/share
brew install automake ninja pkg-config
brew update
brew upgrade || true
brew install automake meson nasm ninja pkg-config
# Disable spotlight.
sudo mdutil -a -i off
@@ -115,6 +118,7 @@ jobs:
-D CMAKE_CXX_FLAGS="-Werror" \
-D CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO \
-D TDESKTOP_API_TEST=ON \
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF \
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
$DEFINE
+161
View File
@@ -0,0 +1,161 @@
name: MacOS Packaged.
on:
push:
paths-ignore:
- 'docs/**'
- '**.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
- '.github/**'
- '!.github/workflows/mac_packaged.yml'
- 'lib/xdg/**'
- 'snap/**'
- 'Telegram/build/**'
- 'Telegram/Resources/uwp/**'
- 'Telegram/Resources/winrc/**'
- 'Telegram/SourceFiles/platform/win/**'
- 'Telegram/SourceFiles/platform/linux/**'
- 'Telegram/configure.bat'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
- '.github/**'
- '!.github/workflows/mac_packaged.yml'
- 'lib/xdg/**'
- 'snap/**'
- 'Telegram/build/**'
- 'Telegram/Resources/uwp/**'
- 'Telegram/Resources/winrc/**'
- 'Telegram/SourceFiles/platform/win/**'
- 'Telegram/SourceFiles/platform/linux/**'
- 'Telegram/configure.bat'
jobs:
macos:
name: MacOS
runs-on: macos-13
strategy:
matrix:
defines:
- ""
env:
GIT: "https://github.com"
OPENALDIR: "/usr/local/opt/openal-soft"
UPLOAD_ARTIFACT: "true"
ONLY_CACHE: "false"
MANUAL_CACHING: "1"
AUTO_CACHING: "1"
steps:
- name: Get repository name.
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Clone.
uses: actions/checkout@v3.1.0
with:
submodules: recursive
path: ${{ env.REPO_NAME }}
- name: First set up.
run: |
brew update
brew upgrade || true
brew install autoconf automake boost cmake ffmpeg openal-soft openssl opus ninja pkg-config python qt yasm xz
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
xcodebuild -version > CACHE_KEY.txt
brew list --versions >> CACHE_KEY.txt
echo $MANUAL_CACHING >> CACHE_KEY.txt
echo "$GITHUB_WORKSPACE" >> CACHE_KEY.txt
if [ "$AUTO_CACHING" = "1" ]; then
thisFile=$REPO_NAME/.github/workflows/mac_packaged.yml
echo `md5 -q $thisFile` >> CACHE_KEY.txt
fi
echo "CACHE_KEY=`md5 -q CACHE_KEY.txt`" >> $GITHUB_ENV
echo "LibrariesPath=`pwd`" >> $GITHUB_ENV
curl -o tg_owt-version.json https://api.github.com/repos/desktop-app/tg_owt/git/refs/heads/master
- name: RNNoise.
run: |
cd $LibrariesPath
git clone --depth=1 https://gitlab.xiph.org/xiph/rnnoise.git
cd rnnoise
./autogen.sh
./configure --disable-examples --disable-doc
make -j$(sysctl -n hw.logicalcpu)
make install
- name: WebRTC cache.
id: cache-webrtc
uses: actions/cache@v3.0.11
with:
path: ${{ env.LibrariesPath }}/tg_owt
key: ${{ runner.OS }}-webrtc-${{ env.CACHE_KEY }}-${{ hashFiles('**/tg_owt-version.json') }}
- name: WebRTC.
if: steps.cache-webrtc.outputs.cache-hit != 'true'
run: |
cd $LibrariesPath
git clone --recursive --depth=1 $GIT/desktop-app/tg_owt.git
cd tg_owt
cmake -B build . -GNinja -DCMAKE_BUILD_TYPE=Debug
cmake --build build --parallel
- name: Telegram Desktop build.
if: env.ONLY_CACHE == 'false'
env:
tg_owt_DIR: ${{ env.LibrariesPath }}/tg_owt/build
run: |
cd $REPO_NAME
DEFINE=""
if [ -n "${{ matrix.defines }}" ]; then
DEFINE="-D ${{ matrix.defines }}=ON"
echo Define from matrix: $DEFINE
echo "ARTIFACT_NAME=Telegram_${{ matrix.defines }}" >> $GITHUB_ENV
else
echo "ARTIFACT_NAME=Telegram" >> $GITHUB_ENV
fi
cmake -Bbuild -GNinja . \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_FIND_FRAMEWORK=LAST \
-DTDESKTOP_API_TEST=ON \
-DDESKTOP_APP_USE_PACKAGED_LAZY=ON \
$DEFINE
cmake --build build --parallel
cd build
macdeployqt Telegram.app
codesign --remove-signature Telegram.app
mkdir dmgsrc
mv Telegram.app dmgsrc
hdiutil create -volname Telegram -srcfolder dmgsrc -ov -format UDZO Telegram.dmg
- name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true'
run: |
cd $REPO_NAME/build
mkdir artifact
mv Telegram.dmg artifact/
- uses: actions/upload-artifact@master
if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact.
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.REPO_NAME }}/build/artifact/
+3 -1
View File
@@ -11,7 +11,9 @@ jobs:
SKIP: "0"
to_branch: "master"
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v4.1.0
with:
fetch-depth: 0
if: env.SKIP == '0'
- name: Push the code to the master branch.
if: env.SKIP == '0'
+29 -2
View File
@@ -9,11 +9,38 @@ on:
- cron: '0 0 * * *'
jobs:
noResponse:
waiting-for-answer:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
# Label requiring a response
responseRequiredLabel: waiting for answer
needs-user-action:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
responseRequiredLabel: needs user action
cant-reproduce:
if: github.event_name != 'issue_comment'
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
responseRequiredLabel: cant reproduce
closeComment: >
This issue has been automatically closed because no developer succeeded to
reproduce the issue with the given reproduction steps. With only the
information that is currently in the issue, we don't have enough
information to take action. Please reach out if you find what's missing to
reproduce the issue so that we can investigate further.
Note that GitHub is a developer communication platform. If you're an ordinary
user seeking for help, get to support crew via `Settings -> Ask question` in
the application.
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-20.04
env:
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
steps:
- name: Clone.
+39 -40
View File
@@ -1,7 +1,6 @@
name: Windows.
on:
workflow_dispatch:
push:
paths-ignore:
- 'docs/**'
@@ -47,7 +46,8 @@ jobs:
strategy:
matrix:
arch: [Win32]
arch: [Win32, x64]
generator: ["", "Ninja Multi-Config"]
env:
UPLOAD_ARTIFACT: "true"
@@ -110,19 +110,42 @@ jobs:
cd %TBUILD%
%REPO_NAME%\Telegram\build\prepare\win.bat skip-release silent
- name: Read defines.
- name: Read configuration matrix.
shell: bash
run: |
ARTIFACT_NAME="Telegram"
ARCH=""
if [ -n "${{ matrix.arch }}" ]; then
case "${{ matrix.arch }}" in
Win32) ARCH="x86";;
*) ARCH="${{ matrix.arch }}";;
esac
echo "Architecture from matrix: $ARCH"
ARTIFACT_NAME="${ARTIFACT_NAME}_${{ matrix.arch }}"
fi
GENERATOR=""
if [ -n "${{ matrix.generator }}" ]; then
GENERATOR="-G \"${{ matrix.generator }}\""
echo "Generator from matrix: $GENERATOR"
ARTIFACT_NAME="${ARTIFACT_NAME}_${{ matrix.generator }}"
fi
echo "TDESKTOP_BUILD_GENERATOR=$GENERATOR" >> $GITHUB_ENV
[ -n "$GENERATOR" ] && ARCH=""
echo "TDESKTOP_BUILD_ARCH=$ARCH" >> $GITHUB_ENV
DEFINE=""
if [ -n "${{ matrix.defines }}" ]; then
DEFINE="-D ${{ matrix.defines }}=ON"
echo "Define from matrix: $DEFINE"
echo "ARTIFACT_NAME=Telegram_${{ matrix.arch }}_${{ matrix.defines }}" >> $GITHUB_ENV
else
echo "ARTIFACT_NAME=Telegram_${{ matrix.arch }}" >> $GITHUB_ENV
ARTIFACT_NAME="${ARTIFACT_NAME}_${{ matrix.defines }}"
fi
echo "TDESKTOP_BUILD_DEFINE=$DEFINE" >> $GITHUB_ENV
echo "ARTIFACT_NAME=$ARTIFACT_NAME" >> $GITHUB_ENV
API="-D TDESKTOP_API_TEST=ON"
if [ $GITHUB_REF == 'refs/heads/nightly' ]; then
echo "Use the open credentials."
@@ -143,50 +166,26 @@ jobs:
cd %TBUILD%\%REPO_NAME%\Telegram
call configure.bat ^
${{ matrix.arch }} ^
%TDESKTOP_BUILD_GENERATOR% ^
%TDESKTOP_BUILD_ARCH% ^
%TDESKTOP_BUILD_API% ^
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF ^
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF ^
-D DESKTOP_APP_NO_PDB=ON ^
%TDESKTOP_BUILD_DEFINE% ^
-DCMAKE_SYSTEM_VERSION=%SDK%
%TDESKTOP_BUILD_DEFINE%
cd ..\out
msbuild -m Telegram.sln /p:Configuration=Debug,Platform=${{ matrix.arch }},DebugSymbols=false,DebugType=none
cmake --build ..\out --config Debug --parallel
- name: Move artifact.
if: (env.UPLOAD_ARTIFACT == 'true') || ${{ github.ref == 'refs/heads/nightly' }}
if: (env.UPLOAD_ARTIFACT == 'true') || (github.ref == 'refs/heads/nightly')
run: |
set OUT=%TBUILD%\%REPO_NAME%\out\Debug
mkdir artifact
move %TBUILD%\%REPO_NAME%\out\Debug\AyuGram.exe artifact/
move %OUT%\Telegram.exe artifact/
move %OUT%\Updater.exe artifact/
- uses: actions/upload-artifact@master
name: Upload artifact.
if: (env.UPLOAD_ARTIFACT == 'true') || ${{ github.ref == 'refs/heads/nightly' }}
if: (env.UPLOAD_ARTIFACT == 'true') || (github.ref == 'refs/heads/nightly')
with:
name: ${{ env.ARTIFACT_NAME }}
path: artifact\
release:
name: Release
needs: [windows]
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- name: Merge Releases
uses: actions/download-artifact@v2
with:
name: Telegram_Win32
path: artifact
- name: Upload release
uses: Hs1r1us/Release-AIO@v1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# The name of the tag
tag_name: prelease-${{ github.run_number }}
prerelease: true
release_name: Ayugram CI
asset_files: './artifact'
+6
View File
@@ -100,3 +100,9 @@
[submodule "Telegram/ThirdParty/wayland"]
path = Telegram/ThirdParty/wayland
url = https://github.com/gitlab-freedesktop-mirrors/wayland.git
[submodule "Telegram/ThirdParty/libprisma"]
path = Telegram/ThirdParty/libprisma
url = https://github.com/desktop-app/libprisma.git
[submodule "Telegram/ThirdParty/xdg-desktop-portal"]
path = Telegram/ThirdParty/xdg-desktop-portal
url = https://github.com/flatpak/xdg-desktop-portal.git
+6 -4
View File
@@ -10,8 +10,9 @@ if (APPLE)
else()
cmake_minimum_required(VERSION 3.16)
endif()
cmake_policy(SET CMP0076 NEW)
cmake_policy(SET CMP0091 NEW)
if (POLICY CMP0149)
cmake_policy(SET CMP0149 NEW)
endif()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
@@ -59,14 +60,15 @@ include(cmake/options.cmake)
if (NOT DESKTOP_APP_USE_PACKAGED)
if (WIN32)
set(qt_version 5.15.10)
set(qt_version 5.15.13)
elseif (APPLE)
set(qt_version 6.2.5)
set(qt_version 6.2.7)
endif()
endif()
include(cmake/external/qt/package.cmake)
set(desktop_app_skip_libs
glibmm
variant
)
+1 -1
View File
@@ -1,7 +1,7 @@
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
Copyright (c) 2014-2023 The Telegram Desktop Authors.
Copyright (c) 2014-2024 The Telegram Desktop Authors.
Telegram Desktop is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
+31 -17
View File
@@ -9,30 +9,42 @@
- Anti-recall
- Font customization
- Streamer mode
- Material Design switches
- Local Telegram Premium
- Sync read states and message history with AyuSync *(TBA)*
- Enhanced appearance
<img src='.github/demos/demo1.png' width='250'> <img src='.github/demos/demo2.png' width='250'> <img src='.github/demos/demo3.png' width='250'>
And many more. Check out our [Documentation](https://docs.ayugram.one/desktop/).
## Preferences screenshots
<img src='.github/demos/demo1.png' width='268'>
<img src='.github/demos/demo2.png' width='268'>
<img src='.github/demos/demo3.png' width='268'>
<img src='.github/demos/demo4.png' width='268'>
## Downloads
### Windows
#### Official
You can download prebuilt Windows binary from [Releases tab](https://github.com/AyuGram/AyuGramDesktop/releases) or from
the [Telegram topic](https://t.me/ayugramchat/12788).
#### Scoop
```bash
scoop bucket add extras
scoop install ayugram
```
#### Self-built
Follow [official guide](https://github.com/AyuGram/AyuGramDesktop/blob/dev/docs/building-win-x64.md) if you want to
build by yourself.
### Arch Linux
It is recommended to build AyuGram from source on any Linux distro.
But if you're brave enough, you can install `ayugram-desktop-git` or `ayugram-desktop-bin`
from [AUR](https://aur.archlinux.org/packages?O=0&K=ayugram).
These packages maintained by [westpain](https://github.com/incycledream). *We're not responsible for them.*
You can install `ayugram-desktop` or `ayugram-desktop-git` from [AUR](https://aur.archlinux.org/packages?O=0&K=ayugram).
### Any other Linux distro
@@ -48,23 +60,25 @@ Make sure you have these components installed with VS Build Tools:
## Donation
If you enjoy using **AyuGram** and want to send us a tip, here's how you can do it:
Enjoy using **AyuGram**? Consider sending us a tip!
- Using [Boosty](https://boosty.to/alexeyzavar) - any card and PayPal
- Using cryptocurrency - `TRpbajq38qU8joThgAfKJLyEPbNjzsdPJ1` (Tron + USDT)
[Here's available methods.](https://docs.ayugram.one/donate/)
## Credits
### Telegram clients
- [Telegram Desktop](https://github.com/telegramdesktop/tdesktop)
- [Kotatogram](https://github.com/kotatogram/kotatogram-desktop)
- [64Gram](https://github.com/TDesktop-x64/tdesktop)
- [Forkgram](https://github.com/forkgram/tdesktop)
### Libraries used
- [JSON for Modern C++](https://github.com/nlohmann/json)
- [SQLite](https://github.com/sqlite/sqlite)
- [sqlite_orm](https://github.com/fnc12/sqlite_orm)
### Very special thanks to
### Icons
- [Solar Icon Set](https://solariconset.com/)
- [JSON for Modern C++](https://github.com/nlohmann/json)
- [BitConverter](https://github.com/YanjieHe/BitConverter)
- [Not Enough Standards](https://github.com/Alairion/not-enough-standards)
- [Solar Icon Set](https://www.figma.com/community/file/1166831539721848736)
+291 -134
View File
@@ -28,9 +28,11 @@ include(cmake/lib_ffmpeg.cmake)
include(cmake/lib_stripe.cmake)
include(cmake/lib_tgvoip.cmake)
include(cmake/lib_tgcalls.cmake)
include(cmake/lib_prisma.cmake)
include(cmake/td_export.cmake)
include(cmake/td_mtproto.cmake)
include(cmake/td_iv.cmake)
include(cmake/td_lang.cmake)
include(cmake/td_mtproto.cmake)
include(cmake/td_scheme.cmake)
include(cmake/td_ui.cmake)
include(cmake/generate_appdata_changelog.cmake)
@@ -61,8 +63,9 @@ PRIVATE
desktop-app::external_minizip
tdesktop::td_export
tdesktop::td_mtproto
tdesktop::td_iv
tdesktop::td_lang
tdesktop::td_mtproto
tdesktop::td_scheme
tdesktop::td_ui
desktop-app::lib_webrtc
@@ -90,77 +93,79 @@ PRIVATE
desktop-app::external_xxhash
)
set(ayugram_files
ayu/ayu_worker.cpp
ayu/ayu_worker.h
ayu/ayu_url_handlers.cpp
ayu/ayu_url_handlers.h
ayu/ayu_state.cpp
ayu/ayu_state.h
ayu/ayu_settings.cpp
ayu/ayu_settings.h
ayu/ayu_lang.cpp
ayu/ayu_lang.h
ayu/ayu_infra.cpp
ayu/ayu_infra.h
ayu/ayu_constants.h
ayu/utils/ayu_mapper.cpp
ayu/utils/ayu_mapper.h
ayu/utils/qt_key_modifiers_extended.h
ayu/utils/telegram_helpers.cpp
ayu/utils/telegram_helpers.h
ayu/utils/windows_utils.cpp
ayu/utils/windows_utils.h
ayu/ui/ayu_logo.cpp
ayu/ui/ayu_logo.h
ayu/ui/utils/ayu_profile_values.cpp
ayu/ui/utils/ayu_profile_values.h
ayu/ui/settings/icon_picker.cpp
ayu/ui/settings/icon_picker.h
ayu/ui/settings/settings_ayu.cpp
ayu/ui/settings/settings_ayu.h
ayu/ui/context_menu/context_menu.cpp
ayu/ui/context_menu/context_menu.h
ayu/ui/context_menu/menu_item_subtext.cpp
ayu/ui/context_menu/menu_item_subtext.h
ayu/ui/sections/edited/edited_log_inner.cpp
ayu/ui/sections/edited/edited_log_inner.h
ayu/ui/sections/edited/edited_log_item.cpp
ayu/ui/sections/edited/edited_log_item.h
ayu/ui/sections/edited/edited_log_section.cpp
ayu/ui/sections/edited/edited_log_section.h
ayu/ui/boxes/edit_deleted_mark.cpp
ayu/ui/boxes/edit_deleted_mark.h
ayu/ui/boxes/edit_edited_mark.cpp
ayu/ui/boxes/edit_edited_mark.h
ayu/ui/boxes/font_selector.cpp
ayu/ui/boxes/font_selector.h
ayu/ui/boxes/theme_selector_box.cpp
ayu/ui/boxes/theme_selector_box.h
ayu/ui/boxes/message_shot_box.cpp
ayu/ui/boxes/message_shot_box.h
ayu/ui/components/image_view.cpp
ayu/ui/components/image_view.h
ayu/libs/json.hpp
ayu/libs/json_ext.hpp
ayu/libs/sqlite/sqlite3.c
ayu/libs/sqlite/sqlite3.h
ayu/libs/sqlite/sqlite_orm.h
ayu/features/streamer_mode/streamer_mode_windows.cpp
ayu/features/streamer_mode/streamer_mode_linux.cpp
ayu/features/streamer_mode/streamer_mode.h
ayu/features/messageshot/message_shot.cpp
ayu/features/messageshot/message_shot.h
ayu/data/messages_storage.cpp
ayu/data/messages_storage.h
ayu/data/entities.h
ayu/data/ayu_database.cpp
ayu/data/ayu_database.h
)
target_precompile_headers(Telegram PRIVATE $<$<COMPILE_LANGUAGE:CXX,OBJCXX>:${src_loc}/stdafx.h>)
nice_target_sources(Telegram ${src_loc}
PRIVATE
${style_files}
ayu/ayu_state.cpp
ayu/ayu_state.h
ayu/ayu_settings.cpp
ayu/ayu_settings.h
ayu/ayu_lang.cpp
ayu/ayu_lang.h
ayu/ayu_infra.cpp
ayu/ayu_infra.h
ayu/ayu_constants.h
ayu/utils/ayu_mapper.cpp
ayu/utils/ayu_mapper.h
ayu/utils/telegram_helpers.cpp
ayu/utils/telegram_helpers.h
ayu/utils/windows_utils.cpp
ayu/utils/windows_utils.h
ayu/ui/ayu_lottie.cpp
ayu/ui/ayu_lottie.h
ayu/ui/ayu_assets.cpp
ayu/ui/ayu_assets.h
ayu/ui/utils/ayu_profile_values.cpp
ayu/ui/utils/ayu_profile_values.h
ayu/ui/settings/icon_picker.cpp
ayu/ui/settings/icon_picker.h
ayu/ui/settings/settings_ayu.cpp
ayu/ui/settings/settings_ayu.h
ayu/ui/context_menu/context_menu.cpp
ayu/ui/context_menu/context_menu.h
ayu/ui/sections/edited/edited_log_inner.cpp
ayu/ui/sections/edited/edited_log_inner.h
ayu/ui/sections/edited/edited_log_item.cpp
ayu/ui/sections/edited/edited_log_item.h
ayu/ui/sections/edited/edited_log_section.cpp
ayu/ui/sections/edited/edited_log_section.h
ayu/ui/boxes/voice_confirmation_box.cpp
ayu/ui/boxes/voice_confirmation_box.h
ayu/ui/boxes/message_history_box.cpp
ayu/ui/boxes/message_history_box.h
ayu/ui/boxes/confirmation_box.cpp
ayu/ui/boxes/confirmation_box.h
ayu/ui/boxes/edit_deleted_mark.cpp
ayu/ui/boxes/edit_deleted_mark.h
ayu/ui/boxes/edit_edited_mark.cpp
ayu/ui/boxes/edit_edited_mark.h
ayu/ui/boxes/font_selector.cpp
ayu/ui/boxes/font_selector.h
ayu/sync/ayu_sync_controller.cpp
ayu/sync/ayu_sync_controller.h
ayu/sync/models.h
ayu/sync/utils/ayu_pipe_wrapper.cpp
ayu/sync/utils/ayu_pipe_wrapper.h
ayu/sync/utils/process_utils.hpp
ayu/messages/ayu_messages_controller.cpp
ayu/messages/ayu_messages_controller.h
ayu/libs/pipe.hpp
ayu/libs/json.hpp
ayu/libs/json_ext.hpp
ayu/libs/bit_converter.hpp
ayu/libs/sqlite/sqlite3.c
ayu/libs/sqlite/sqlite3.h
ayu/libs/sqlite/sqlite_orm.h
ayu/features/streamer_mode/streamer_mode_windows.cpp
ayu/features/streamer_mode/streamer_mode_linux.cpp
ayu/features/streamer_mode/streamer_mode.h
ayu/database/entities.h
ayu/database/ayu_database.cpp
ayu/database/ayu_database.h
${ayugram_files}
api/api_attached_stickers.cpp
api/api_attached_stickers.h
@@ -174,6 +179,8 @@ PRIVATE
api/api_chat_filters.h
api/api_chat_invite.cpp
api/api_chat_invite.h
api/api_chat_links.cpp
api/api_chat_links.h
api/api_chat_participants.cpp
api/api_chat_participants.h
api/api_cloud_password.cpp
@@ -182,6 +189,8 @@ PRIVATE
api/api_common.h
api/api_confirm_phone.cpp
api/api_confirm_phone.h
api/api_earn.cpp
api/api_earn.h
api/api_editing.cpp
api/api_editing.h
api/api_global_privacy.cpp
@@ -196,6 +205,8 @@ PRIVATE
api/api_messages_search.h
api/api_messages_search_merged.cpp
api/api_messages_search_merged.h
api/api_peer_colors.cpp
api/api_peer_colors.h
api/api_peer_photo.cpp
api/api_peer_photo.h
api/api_polls.cpp
@@ -218,6 +229,8 @@ PRIVATE
api/api_sensitive_content.h
api/api_single_message_search.cpp
api/api_single_message_search.h
api/api_statistics.cpp
api/api_statistics.h
api/api_text_entities.cpp
api/api_text_entities.h
api/api_toggling_media.cpp
@@ -242,6 +255,8 @@ PRIVATE
boxes/filters/edit_filter_box.h
boxes/filters/edit_filter_chats_list.cpp
boxes/filters/edit_filter_chats_list.h
boxes/filters/edit_filter_chats_preview.cpp
boxes/filters/edit_filter_chats_preview.h
boxes/filters/edit_filter_links.cpp
boxes/filters/edit_filter_links.h
boxes/peers/add_bot_to_chat_box.cpp
@@ -262,6 +277,8 @@ PRIVATE
boxes/peers/edit_participant_box.h
boxes/peers/edit_participants_box.cpp
boxes/peers/edit_participants_box.h
boxes/peers/edit_peer_color_box.cpp
boxes/peers/edit_peer_color_box.h
boxes/peers/edit_peer_common.h
boxes/peers/edit_peer_info_box.cpp
boxes/peers/edit_peer_info_box.h
@@ -283,6 +300,8 @@ PRIVATE
boxes/peers/peer_short_info_box.h
boxes/peers/prepare_short_info_box.cpp
boxes/peers/prepare_short_info_box.h
boxes/peers/replace_boost_box.cpp
boxes/peers/replace_boost_box.h
boxes/about_box.cpp
boxes/about_box.h
boxes/about_sponsored_box.cpp
@@ -440,16 +459,16 @@ PRIVATE
chat_helpers/gifs_list_widget.h
chat_helpers/message_field.cpp
chat_helpers/message_field.h
chat_helpers/share_message_phrase_factory.cpp
chat_helpers/share_message_phrase_factory.h
chat_helpers/spellchecker_common.cpp
chat_helpers/spellchecker_common.h
chat_helpers/stickers_emoji_image_loader.cpp
chat_helpers/stickers_emoji_image_loader.h
chat_helpers/stickers_dice_pack.cpp
chat_helpers/stickers_dice_pack.h
chat_helpers/stickers_emoji_pack.cpp
chat_helpers/stickers_emoji_pack.h
chat_helpers/stickers_gift_box_pack.cpp
chat_helpers/stickers_gift_box_pack.h
chat_helpers/stickers_dice_pack.cpp
chat_helpers/stickers_dice_pack.h
chat_helpers/stickers_list_footer.cpp
chat_helpers/stickers_list_footer.h
chat_helpers/stickers_list_widget.cpp
@@ -462,6 +481,8 @@ PRIVATE
chat_helpers/tabbed_section.h
chat_helpers/tabbed_selector.cpp
chat_helpers/tabbed_selector.h
chat_helpers/ttl_media_layer_widget.cpp
chat_helpers/ttl_media_layer_widget.h
core/application.cpp
core/application.h
core/base_integration.cpp
@@ -500,6 +521,18 @@ PRIVATE
core/version.h
countries/countries_manager.cpp
countries/countries_manager.h
data/business/data_business_chatbots.cpp
data/business/data_business_chatbots.h
data/business/data_business_common.cpp
data/business/data_business_common.h
data/business/data_business_info.cpp
data/business/data_business_info.h
data/business/data_shortcut_messages.cpp
data/business/data_shortcut_messages.h
data/components/scheduled_messages.cpp
data/components/scheduled_messages.h
data/components/sponsored_messages.cpp
data/components/sponsored_messages.h
data/notify/data_notify_settings.cpp
data/notify/data_notify_settings.h
data/notify/data_peer_notify_settings.cpp
@@ -517,6 +550,7 @@ PRIVATE
data/data_audio_msg_id.h
data/data_auto_download.cpp
data/data_auto_download.h
data/data_boosts.h
data/data_bot_app.cpp
data/data_bot_app.h
data/data_chat.cpp
@@ -568,6 +602,7 @@ PRIVATE
data/data_groups.h
data/data_histories.cpp
data/data_histories.h
data/data_lastseen_status.h
data/data_location.cpp
data/data_location.h
data/data_media_rotation.cpp
@@ -605,20 +640,21 @@ PRIVATE
data/data_replies_list.h
data/data_reply_preview.cpp
data/data_reply_preview.h
data/data_saved_messages.cpp
data/data_saved_messages.h
data/data_saved_sublist.cpp
data/data_saved_sublist.h
data/data_search_controller.cpp
data/data_search_controller.h
data/data_send_action.cpp
data/data_send_action.h
data/data_session.cpp
data/data_session.h
data/data_scheduled_messages.cpp
data/data_scheduled_messages.h
data/data_shared_media.cpp
data/data_shared_media.h
data/data_sparse_ids.cpp
data/data_sparse_ids.h
data/data_sponsored_messages.cpp
data/data_sponsored_messages.h
data/data_statistics.h
data/data_stories.cpp
data/data_stories.h
data/data_stories_ids.cpp
@@ -659,6 +695,8 @@ PRIVATE
dialogs/dialogs_row.h
dialogs/dialogs_search_from_controllers.cpp
dialogs/dialogs_search_from_controllers.h
dialogs/dialogs_search_tags.cpp
dialogs/dialogs_search_tags.h
dialogs/dialogs_widget.cpp
dialogs/dialogs_widget.h
dialogs/ui/dialogs_layout.cpp
@@ -713,14 +751,16 @@ PRIVATE
history/view/controls/history_view_compose_controls.h
history/view/controls/history_view_compose_search.cpp
history/view/controls/history_view_compose_search.h
history/view/controls/history_view_draft_options.cpp
history/view/controls/history_view_draft_options.h
history/view/controls/history_view_forward_panel.cpp
history/view/controls/history_view_forward_panel.h
history/view/controls/history_view_ttl_button.cpp
history/view/controls/history_view_ttl_button.h
history/view/controls/history_view_voice_record_bar.cpp
history/view/controls/history_view_voice_record_bar.h
history/view/controls/history_view_voice_record_button.cpp
history/view/controls/history_view_voice_record_button.h
history/view/controls/history_view_webpage_processor.cpp
history/view/controls/history_view_webpage_processor.h
history/view/media/history_view_call.cpp
history/view/media/history_view_call.h
history/view/media/history_view_contact.cpp
@@ -739,6 +779,8 @@ PRIVATE
history/view/media/history_view_game.h
history/view/media/history_view_gif.cpp
history/view/media/history_view_gif.h
history/view/media/history_view_giveaway.cpp
history/view/media/history_view_giveaway.h
history/view/media/history_view_invoice.cpp
history/view/media/history_view_invoice.h
history/view/media/history_view_large_emoji.cpp
@@ -749,6 +791,8 @@ PRIVATE
history/view/media/history_view_media.h
history/view/media/history_view_media_common.cpp
history/view/media/history_view_media_common.h
history/view/media/history_view_media_generic.cpp
history/view/media/history_view_media_generic.h
history/view/media/history_view_media_grouped.cpp
history/view/media/history_view_media_grouped.h
history/view/media/history_view_media_spoiler.cpp
@@ -763,6 +807,8 @@ PRIVATE
history/view/media/history_view_premium_gift.h
history/view/media/history_view_service_box.cpp
history/view/media/history_view_service_box.h
history/view/media/history_view_similar_channels.cpp
history/view/media/history_view_similar_channels.h
history/view/media/history_view_slot_machine.cpp
history/view/media/history_view_slot_machine.h
history/view/media/history_view_sticker.cpp
@@ -790,6 +836,8 @@ PRIVATE
history/view/reactions/history_view_reactions_strip.h
history/view/reactions/history_view_reactions_tabs.cpp
history/view/reactions/history_view_reactions_tabs.h
history/view/history_view_about_view.cpp
history/view/history_view_about_view.h
history/view/history_view_bottom_info.cpp
history/view/history_view_bottom_info.h
history/view/history_view_contact_status.cpp
@@ -824,6 +872,8 @@ PRIVATE
history/view/history_view_quick_action.h
history/view/history_view_replies_section.cpp
history/view/history_view_replies_section.h
history/view/history_view_reply.cpp
history/view/history_view_reply.h
history/view/history_view_requests_bar.cpp
history/view/history_view_requests_bar.h
history/view/history_view_schedule_box.cpp
@@ -836,8 +886,12 @@ PRIVATE
history/view/history_view_service_message.h
history/view/history_view_spoiler_click_handler.cpp
history/view/history_view_spoiler_click_handler.h
history/view/history_view_sponsored_click_handler.cpp
history/view/history_view_sponsored_click_handler.h
history/view/history_view_sticker_toast.cpp
history/view/history_view_sticker_toast.h
history/view/history_view_sublist_section.cpp
history/view/history_view_sublist_section.h
history/view/history_view_transcribe_button.cpp
history/view/history_view_transcribe_button.h
history/view/history_view_translate_bar.cpp
@@ -878,20 +932,18 @@ PRIVATE
history/history_view_highlight_manager.h
history/history_widget.cpp
history/history_widget.h
info/info_content_widget.cpp
info/info_content_widget.h
info/info_controller.cpp
info/info_controller.h
info/info_layer_widget.cpp
info/info_layer_widget.h
info/info_memento.cpp
info/info_memento.h
info/info_section_widget.cpp
info/info_section_widget.h
info/info_top_bar.cpp
info/info_top_bar.h
info/info_wrap_widget.cpp
info/info_wrap_widget.h
info/channel_statistics/boosts/create_giveaway_box.cpp
info/channel_statistics/boosts/create_giveaway_box.h
info/channel_statistics/boosts/giveaway/giveaway_list_controllers.cpp
info/channel_statistics/boosts/giveaway/giveaway_list_controllers.h
info/channel_statistics/boosts/info_boosts_inner_widget.cpp
info/channel_statistics/boosts/info_boosts_inner_widget.h
info/channel_statistics/boosts/info_boosts_widget.cpp
info/channel_statistics/boosts/info_boosts_widget.h
info/channel_statistics/earn/info_earn_inner_widget.cpp
info/channel_statistics/earn/info_earn_inner_widget.h
info/channel_statistics/earn/info_earn_widget.cpp
info/channel_statistics/earn/info_earn_widget.h
info/common_groups/info_common_groups_inner_widget.cpp
info/common_groups/info_common_groups_inner_widget.h
info/common_groups/info_common_groups_widget.cpp
@@ -945,8 +997,21 @@ PRIVATE
info/profile/info_profile_values.h
info/profile/info_profile_widget.cpp
info/profile/info_profile_widget.h
info/saved/info_saved_sublists_widget.cpp
info/saved/info_saved_sublists_widget.h
info/settings/info_settings_widget.cpp
info/settings/info_settings_widget.h
info/similar_channels/info_similar_channels_widget.cpp
info/similar_channels/info_similar_channels_widget.h
info/statistics/info_statistics_common.h
info/statistics/info_statistics_inner_widget.cpp
info/statistics/info_statistics_inner_widget.h
info/statistics/info_statistics_list_controllers.cpp
info/statistics/info_statistics_list_controllers.h
info/statistics/info_statistics_recent_message.cpp
info/statistics/info_statistics_recent_message.h
info/statistics/info_statistics_widget.cpp
info/statistics/info_statistics_widget.h
info/stories/info_stories_inner_widget.cpp
info/stories/info_stories_inner_widget.h
info/stories/info_stories_provider.cpp
@@ -965,6 +1030,20 @@ PRIVATE
info/userpic/info_userpic_emoji_builder_preview.h
info/userpic/info_userpic_emoji_builder_widget.cpp
info/userpic/info_userpic_emoji_builder_widget.h
info/info_content_widget.cpp
info/info_content_widget.h
info/info_controller.cpp
info/info_controller.h
info/info_layer_widget.cpp
info/info_layer_widget.h
info/info_memento.cpp
info/info_memento.h
info/info_section_widget.cpp
info/info_section_widget.h
info/info_top_bar.cpp
info/info_top_bar.h
info/info_wrap_widget.cpp
info/info_wrap_widget.h
inline_bots/bot_attach_web_view.cpp
inline_bots/bot_attach_web_view.h
inline_bots/inline_bot_layout_internal.cpp
@@ -995,6 +1074,10 @@ PRIVATE
intro/intro_step.h
intro/intro_widget.cpp
intro/intro_widget.h
iv/iv_delegate_impl.cpp
iv/iv_delegate_impl.h
iv/iv_instance.cpp
iv/iv_instance.h
lang/lang_cloud_manager.cpp
lang/lang_cloud_manager.h
lang/lang_instance.cpp
@@ -1027,6 +1110,7 @@ PRIVATE
media/audio/media_audio.h
media/audio/media_audio_capture.cpp
media/audio/media_audio_capture.h
media/audio/media_audio_capture_common.h
media/audio/media_audio_ffmpeg_loader.cpp
media/audio/media_audio_ffmpeg_loader.h
media/audio/media_audio_loader.cpp
@@ -1061,6 +1145,8 @@ PRIVATE
media/stories/media_stories_recent_views.h
media/stories/media_stories_reply.cpp
media/stories/media_stories_reply.h
media/stories/media_stories_repost_view.cpp
media/stories/media_stories_repost_view.h
media/stories/media_stories_share.cpp
media/stories/media_stories_share.h
media/stories/media_stories_sibling.cpp
@@ -1126,6 +1212,8 @@ PRIVATE
menu/menu_mute.h
menu/menu_send.cpp
menu/menu_send.h
menu/menu_sponsored.cpp
menu/menu_sponsored.h
menu/menu_ttl_validator.cpp
menu/menu_ttl_validator.h
mtproto/config_loader.cpp
@@ -1180,8 +1268,6 @@ PRIVATE
payments/payments_checkout_process.h
payments/payments_form.cpp
payments/payments_form.h
platform/linux/linux_desktop_environment.cpp
platform/linux/linux_desktop_environment.h
platform/linux/linux_wayland_integration_dummy.cpp
platform/linux/linux_wayland_integration.cpp
platform/linux/linux_wayland_integration.h
@@ -1240,8 +1326,6 @@ PRIVATE
platform/mac/touchbar/mac_touchbar_manager.mm
platform/mac/touchbar/mac_touchbar_media_view.h
platform/mac/touchbar/mac_touchbar_media_view.mm
platform/win/audio_win.cpp
platform/win/audio_win.h
platform/win/file_utilities_win.cpp
platform/win/file_utilities_win.h
platform/win/launcher_win.cpp
@@ -1265,7 +1349,6 @@ PRIVATE
platform/win/windows_autostart_task.h
platform/win/windows_toast_activator.cpp
platform/win/windows_toast_activator.h
platform/platform_audio.h
platform/platform_file_utilities.h
platform/platform_launcher.h
platform/platform_integration.cpp
@@ -1287,6 +1370,26 @@ PRIVATE
profile/profile_block_widget.h
profile/profile_cover_drop_area.cpp
profile/profile_cover_drop_area.h
settings/business/settings_away_message.cpp
settings/business/settings_away_message.h
settings/business/settings_shortcut_messages.cpp
settings/business/settings_shortcut_messages.h
settings/business/settings_chat_intro.cpp
settings/business/settings_chat_intro.h
settings/business/settings_chat_links.cpp
settings/business/settings_chat_links.h
settings/business/settings_chatbots.cpp
settings/business/settings_chatbots.h
settings/business/settings_greeting.cpp
settings/business/settings_greeting.h
settings/business/settings_location.cpp
settings/business/settings_location.h
settings/business/settings_quick_replies.cpp
settings/business/settings_quick_replies.h
settings/business/settings_recipients_helper.cpp
settings/business/settings_recipients_helper.h
settings/business/settings_working_hours.cpp
settings/business/settings_working_hours.h
settings/cloud_password/settings_cloud_password_common.cpp
settings/cloud_password/settings_cloud_password_common.h
settings/cloud_password/settings_cloud_password_email.cpp
@@ -1305,14 +1408,16 @@ PRIVATE
settings/settings_advanced.h
settings/settings_blocked_peers.cpp
settings/settings_blocked_peers.h
settings/settings_business.cpp
settings/settings_business.h
settings/settings_chat.cpp
settings/settings_chat.h
settings/settings_calls.cpp
settings/settings_calls.h
settings/settings_codes.cpp
settings/settings_codes.h
settings/settings_common.cpp
settings/settings_common.h
settings/settings_common_session.cpp
settings/settings_common_session.h
settings/settings_experimental.cpp
settings/settings_experimental.h
settings/settings_folders.cpp
@@ -1423,10 +1528,10 @@ PRIVATE
ui/image/image_location.h
ui/image/image_location_factory.cpp
ui/image/image_location_factory.h
ui/widgets/level_meter.cpp
ui/widgets/level_meter.h
ui/countryinput.cpp
ui/countryinput.h
ui/dynamic_thumbnails.cpp
ui/dynamic_thumbnails.h
ui/filter_icons.cpp
ui/filter_icons.h
ui/filter_icon_panel.cpp
@@ -1438,6 +1543,8 @@ PRIVATE
ui/search_field_controller.h
ui/text/format_song_document_name.cpp
ui/text/format_song_document_name.h
ui/widgets/label_with_custom_emoji.cpp
ui/widgets/label_with_custom_emoji.h
ui/unread_badge.cpp
ui/unread_badge.h
window/main_window.cpp
@@ -1465,6 +1572,8 @@ PRIVATE
window/window_lock_widgets.h
window/window_main_menu.cpp
window/window_main_menu.h
window/window_main_menu_helpers.cpp
window/window_main_menu_helpers.h
window/window_media_preview.cpp
window/window_media_preview.h
window/window_peer_menu.cpp
@@ -1472,8 +1581,7 @@ PRIVATE
window/window_section_common.h
window/window_session_controller.cpp
window/window_session_controller.h
window/window_slide_animation.cpp
window/window_slide_animation.h
window/window_session_controller_link_info.h
window/window_top_bar_wrap.h
window/themes/window_theme.cpp
window/themes/window_theme.h
@@ -1548,6 +1656,7 @@ PRIVATE
qrc/emoji_preview.qrc
qrc/telegram/animations.qrc
qrc/telegram/export.qrc
qrc/telegram/iv.qrc
qrc/telegram/telegram.qrc
qrc/telegram/sounds.qrc
winrc/Telegram.rc
@@ -1583,7 +1692,39 @@ elseif (APPLE)
endif()
set(icons_path ${CMAKE_CURRENT_SOURCE_DIR}/Telegram/Images.xcassets)
target_add_resource(Telegram ${icons_path})
if (CMAKE_GENERATOR STREQUAL Xcode)
target_add_resource(Telegram ${icons_path})
else()
set(icon_path ${icons_path}/Icon.iconset)
find_program(ICONUTIL iconutil)
find_program(PNG2ICNS png2icns)
if (ICONUTIL)
add_custom_command(
OUTPUT Icon.icns
COMMAND ${ICONUTIL}
ARGS
--convert icns
--output Icon.icns
${icon_path}
)
elseif (PNG2ICNS)
add_custom_command(
OUTPUT Icon.icns
COMMAND ${PNG2ICNS}
ARGS
Icon.icns
${icon_path}/icon_16x16.png
${icon_path}/icon_32x32.png
${icon_path}/icon_128x128.png
${icon_path}/icon_256x256.png
${icon_path}/icon_512x512.png
)
endif()
if (ICONUTIL OR PNG2ICNS)
set_source_files_properties(Icon.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
target_add_resource(Telegram Icon.icns)
endif()
endif()
set(lang_packs
en
@@ -1608,34 +1749,24 @@ elseif (APPLE)
PRE_LINK
COMMAND mkdir -p $<TARGET_FILE_DIR:Telegram>/../Resources
COMMAND cp ${CMAKE_BINARY_DIR}/lib_ui.rcc $<TARGET_FILE_DIR:Telegram>/../Resources
COMMAND cp ${CMAKE_BINARY_DIR}/lib_spellcheck.rcc $<TARGET_FILE_DIR:Telegram>/../Resources
)
if (NOT build_macstore)
if (NOT build_macstore AND NOT DESKTOP_APP_DISABLE_CRASH_REPORTS)
if (DESKTOP_APP_MAC_ARCH STREQUAL "x86_64" OR DESKTOP_APP_MAC_ARCH STREQUAL "arm64")
set(crashpad_dir_part ".${DESKTOP_APP_MAC_ARCH}")
else()
set(crashpad_dir_part "")
endif()
add_custom_command(TARGET Telegram
PRE_LINK
COMMAND mkdir -p $<TARGET_FILE_DIR:Telegram>/../Frameworks
COMMAND cp $<TARGET_FILE:Updater> $<TARGET_FILE_DIR:Telegram>/../Frameworks/
COMMAND mkdir -p $<TARGET_FILE_DIR:Telegram>/../Helpers
COMMAND cp ${libs_loc}/crashpad/out/$<IF:$<CONFIG:Debug>,Debug,Release>${crashpad_dir_part}/crashpad_handler $<TARGET_FILE_DIR:Telegram>/../Helpers/
)
if (NOT DESKTOP_APP_DISABLE_CRASH_REPORTS)
if (DESKTOP_APP_MAC_ARCH STREQUAL "x86_64" OR DESKTOP_APP_MAC_ARCH STREQUAL "arm64")
set(crashpad_dir_part ".${DESKTOP_APP_MAC_ARCH}")
else()
set(crashpad_dir_part "")
endif()
add_custom_command(TARGET Telegram
PRE_LINK
COMMAND mkdir -p $<TARGET_FILE_DIR:Telegram>/../Helpers
COMMAND cp ${libs_loc}/crashpad/out/$<IF:$<CONFIG:Debug>,Debug,Release>${crashpad_dir_part}/crashpad_handler $<TARGET_FILE_DIR:Telegram>/../Helpers/
)
endif()
endif()
else()
target_link_libraries(Telegram
PRIVATE
desktop-app::external_glibmm
)
include(${cmake_helpers_loc}/external/glib/generate_dbus.cmake)
generate_dbus(Telegram org.freedesktop.portal. XdpInhibit ${src_loc}/platform/linux/org.freedesktop.portal.Inhibit.xml)
generate_dbus(Telegram org.freedesktop.portal. XdpBackground ${third_party_loc}/xdg-desktop-portal/data/org.freedesktop.portal.Background.xml)
generate_dbus(Telegram org.freedesktop. XdgNotifications ${src_loc}/platform/linux/org.freedesktop.Notifications.xml)
if (NOT DESKTOP_APP_DISABLE_X11_INTEGRATION)
target_link_libraries(Telegram
@@ -1675,7 +1806,11 @@ if (build_macstore)
COMMAND rm -rf $<TARGET_FILE_DIR:Telegram>/../Frameworks/Breakpad.framework/Resources/Inspector
)
else()
set(bundle_identifier "com.tdesktop.Telegram$<$<CONFIG:Debug>:Debug>")
if (CMAKE_GENERATOR STREQUAL Xcode)
set(bundle_identifier "com.tdesktop.Telegram$<$<CONFIG:Debug>:Debug>")
else()
set(bundle_identifier "com.tdesktop.Telegram")
endif()
set(bundle_entitlements "Telegram.entitlements")
if (LINUX AND DESKTOP_APP_USE_PACKAGED)
set(output_name "ayugram-desktop")
@@ -1684,6 +1819,12 @@ else()
endif()
endif()
if (CMAKE_GENERATOR STREQUAL Xcode)
set(bundle_identifier_plist "$(PRODUCT_BUNDLE_IDENTIFIER)")
else()
set(bundle_identifier_plist ${bundle_identifier})
endif()
set_target_properties(Telegram PROPERTIES
OUTPUT_NAME ${output_name}
MACOSX_BUNDLE_GUI_IDENTIFIER ${bundle_identifier}
@@ -1699,6 +1840,7 @@ set_target_properties(Telegram PROPERTIES
XCODE_ATTRIBUTE_ALWAYS_SEARCH_USER_PATHS NO
XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY libc++
XCODE_ATTRIBUTE_OTHER_CODE_SIGN_FLAGS --deep
XCODE_ATTRIBUTE_CLANG_DEBUG_INFORMATION_LEVEL $<IF:$<CONFIG:Debug>,default,line-tables-only>
)
set(entitlement_sources
"${CMAKE_CURRENT_SOURCE_DIR}/Telegram/Telegram.entitlements"
@@ -1728,6 +1870,10 @@ endif()
set_target_properties(Telegram PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
if (WIN32)
target_link_libraries(Telegram
PRIVATE
delayimp
)
target_link_options(Telegram
PRIVATE
/DELAYLOAD:secur32.dll
@@ -1757,7 +1903,7 @@ endif()
target_prepare_qrc(Telegram)
if ((NOT DESKTOP_APP_DISABLE_AUTOUPDATE OR APPLE) AND NOT build_macstore AND NOT build_winstore)
if (NOT DESKTOP_APP_DISABLE_AUTOUPDATE AND NOT build_macstore AND NOT build_winstore)
add_executable(Updater WIN32)
init_non_host_target(Updater)
@@ -1784,6 +1930,10 @@ if ((NOT DESKTOP_APP_DISABLE_AUTOUPDATE OR APPLE) AND NOT build_macstore AND NOT
)
target_include_directories(Updater PRIVATE ${lib_base_loc})
if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_link_libraries(Updater
PRIVATE
delayimp
)
target_link_options(Updater
PRIVATE
/DELAYLOAD:user32.dll
@@ -1795,6 +1945,12 @@ if ((NOT DESKTOP_APP_DISABLE_AUTOUPDATE OR APPLE) AND NOT build_macstore AND NOT
else()
target_link_options(Updater PRIVATE -municode)
endif()
elseif (APPLE)
add_custom_command(TARGET Updater
PRE_LINK
COMMAND mkdir -p $<TARGET_FILE_DIR:Telegram>/../Frameworks
COMMAND cp $<TARGET_FILE:Updater> $<TARGET_FILE_DIR:Telegram>/../Frameworks/
)
endif()
if (DESKTOP_APP_SPECIAL_TARGET)
@@ -1837,9 +1993,9 @@ endif()
if (LINUX AND DESKTOP_APP_USE_PACKAGED)
include(GNUInstallDirs)
configure_file("../lib/xdg/ayugram.desktop.service" "${CMAKE_CURRENT_BINARY_DIR}/ayugram.desktop.service" @ONLY)
configure_file("../lib/xdg/ayugram.desktop.metainfo.xml" "${CMAKE_CURRENT_BINARY_DIR}/ayugram.desktop.metainfo.xml" @ONLY)
generate_appdata_changelog(Telegram "${CMAKE_SOURCE_DIR}/changelog.txt" "${CMAKE_CURRENT_BINARY_DIR}/ayugram.desktop.metainfo.xml")
configure_file("../lib/xdg/com.ayugram.desktop.service" "${CMAKE_CURRENT_BINARY_DIR}/com.ayugram.desktop.service" @ONLY)
configure_file("../lib/xdg/com.ayugram.desktop.metainfo.xml" "${CMAKE_CURRENT_BINARY_DIR}/com.ayugram.desktop.metainfo.xml" @ONLY)
generate_appdata_changelog(Telegram "${CMAKE_SOURCE_DIR}/changelog.txt" "${CMAKE_CURRENT_BINARY_DIR}/com.ayugram.desktop.metainfo.xml")
install(TARGETS Telegram RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" BUNDLE DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(FILES "Resources/art/icon16.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/16x16/apps" RENAME "ayugram.png")
install(FILES "Resources/art/icon32.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/32x32/apps" RENAME "ayugram.png")
@@ -1848,7 +2004,8 @@ if (LINUX AND DESKTOP_APP_USE_PACKAGED)
install(FILES "Resources/art/icon128.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/128x128/apps" RENAME "ayugram.png")
install(FILES "Resources/art/icon256.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/256x256/apps" RENAME "ayugram.png")
install(FILES "Resources/art/icon512.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps" RENAME "ayugram.png")
install(FILES "../lib/xdg/ayugram.desktop.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayugram.desktop.service" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/services")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayugram.desktop.metainfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo")
install(FILES "Resources/icons/tray_monochrome.svg" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/symbolic/apps" RENAME "ayugram-symbolic.svg")
install(FILES "../lib/xdg/com.ayugram.desktop.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.ayugram.desktop.service" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/services")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.ayugram.desktop.metainfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo")
endif()
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg baseProfile="tiny" version="1.2" viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg">
<path d="m27.57 30.79q0.77-0.44 1.14-1.28 4.38-9.86 4.67-24.25 0.03-1.64 1.63-1.54 1.14 0.07 1.9 0.65c14.45 10.9 28.35 31.97 18.06 50.37-9.55 17.08-32.38 15.75-41.59-0.69-5.25-9.37-0.83-23.06 4.26-32.03a2.13 2.12 43.5 0 1 3.64-0.09l5.53 8.68a0.57 0.56-31.3 0 0 0.76 0.18z" fill="#fff"/>
</svg>

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.
@@ -559,3 +559,26 @@ div.toast_shown {
opacity: 0;
user-select: none;
}
.bot_buttons_table {
border-spacing: 0px 2px;
width: 100%;
}
.bot_button {
border-radius: 8px;
text-align: center;
vertical-align: middle;
background-color: #168acd40;
}
.bot_button_row {
display: table;
table-layout: fixed;
padding: 0px;
width:100%;
}
.bot_button_row div {
display: table-cell;
}
.bot_button_column_separator {
width: 2px
}
@@ -62,6 +62,12 @@ function ShowNotAvailableEmoji() {
return false;
}
function ShowTextCopied(content) {
navigator.clipboard.writeText(content);
ShowToast("Text copied to clipboard.");
return false;
}
function ShowSpoiler(target) {
if (target.classList.contains("hidden")) {
target.classList.toggle("hidden");
Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 785 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 402 B

After

Width:  |  Height:  |  Size: 759 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 858 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Some files were not shown because too many files have changed in this diff Show More