Compare commits
336 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da8db0157f | ||
|
|
6188268afd | ||
|
|
cd0db53bac | ||
|
|
5bb90679a8 | ||
|
|
72df3a8f91 | ||
|
|
5fe2e649fb | ||
|
|
9eba8ccc73 | ||
|
|
bb3c91aa44 | ||
|
|
9f1268b6c8 | ||
|
|
a6f1a1bd62 | ||
|
|
1b2642b017 | ||
|
|
e722645e7c | ||
|
|
9486c266b5 | ||
|
|
dc21491099 | ||
|
|
2f48bbd317 | ||
|
|
450f9ca91e | ||
|
|
f86e2d98cc | ||
|
|
0cf85be86b | ||
|
|
a15ef8bbc2 | ||
|
|
ecca60afe4 | ||
|
|
1ab0f840f3 | ||
|
|
3623fb1f9a | ||
|
|
4cbfcc8dbc | ||
|
|
90821428d3 | ||
|
|
c5468a1111 | ||
|
|
505ef04134 | ||
|
|
f70c2adbdd | ||
|
|
2c20e7bb02 | ||
|
|
67fa58edc4 | ||
|
|
43e1079969 | ||
|
|
7b4354eb4a | ||
|
|
08b99b19c3 | ||
|
|
70658c6e65 | ||
|
|
c875f367e6 | ||
|
|
3aacae2cb2 | ||
|
|
a381439e3e | ||
|
|
c6811640b5 | ||
|
|
58c9494c03 | ||
|
|
71d52d26c3 | ||
|
|
87e97ad533 | ||
|
|
a8bc7baa70 | ||
|
|
ec16ca7df7 | ||
|
|
aafc24008b | ||
|
|
0ffd827fc5 | ||
|
|
c40bcdc446 | ||
|
|
8b74dc2dec | ||
|
|
1d2065e4ef | ||
|
|
830a338082 | ||
|
|
4228557722 | ||
|
|
38c296b69f | ||
|
|
948dd7d545 | ||
|
|
26827a5043 | ||
|
|
a7c93a9421 | ||
|
|
95e003153a | ||
|
|
54f5b47585 | ||
|
|
ec1511e0c9 | ||
|
|
b396d6e836 | ||
|
|
022249f235 | ||
|
|
fa4d1d72c4 | ||
|
|
938aa5d577 | ||
|
|
baca36e715 | ||
|
|
4252066cf6 | ||
|
|
1cca4d71bd | ||
|
|
a027a02130 | ||
|
|
90dedb7b70 | ||
|
|
52699ccfc2 | ||
|
|
f2c7237d5f | ||
|
|
79a09a4510 | ||
|
|
fe468ce7e9 | ||
|
|
118072db77 | ||
|
|
6f2bb43505 | ||
|
|
a550b73e2c | ||
|
|
a5caebe890 | ||
|
|
2991c3c17f | ||
|
|
b5edaf4c23 | ||
|
|
ad1476e80f | ||
|
|
6f8c9f65cf | ||
|
|
4050866b3b | ||
|
|
2a3cf8ac58 | ||
|
|
710ef43e41 | ||
|
|
51e96bf074 | ||
|
|
68d45a2c08 | ||
|
|
35378e717a | ||
|
|
b108e93092 | ||
|
|
371c9c1bfe | ||
|
|
e148b5ff08 | ||
|
|
9c18f7b0e3 | ||
|
|
bfdbb64295 | ||
|
|
b773bb6e70 | ||
|
|
2c36623cfb | ||
|
|
535fd8d523 | ||
|
|
3aacd15ef2 | ||
|
|
57cb921bb9 | ||
|
|
b1668afdf1 | ||
|
|
be74f8f2bc | ||
|
|
b151d210bf | ||
|
|
b5d80a3c15 | ||
|
|
2b0cd2a611 | ||
|
|
1af2cfe143 | ||
|
|
3a43217301 | ||
|
|
f5c7b206bb | ||
|
|
a1439163ce | ||
|
|
32473b2908 | ||
|
|
078a2af385 | ||
|
|
b61250e101 | ||
|
|
f90fb6c80c | ||
|
|
cbd0469042 | ||
|
|
a49feca281 | ||
|
|
641583b434 | ||
|
|
9506093cbd | ||
|
|
ffe4208595 | ||
|
|
4c3835c61c | ||
|
|
dad1f196ba | ||
|
|
8aa2f56717 | ||
|
|
ede4c0f781 | ||
|
|
75337ad1c2 | ||
|
|
e05b2f3b38 | ||
|
|
0f15adb208 | ||
|
|
a7e552ccab | ||
|
|
797433ebe9 | ||
|
|
633532b88d | ||
|
|
a0dcade9d8 | ||
|
|
2a0babe5ab | ||
|
|
dd92f7fb9d | ||
|
|
7ad08b3ef8 | ||
|
|
73917e8a4b | ||
|
|
dc7aef3f86 | ||
|
|
d89597bf64 | ||
|
|
c2b2d0a92a | ||
|
|
b341dddbb9 | ||
|
|
999e4264c5 | ||
|
|
aee11469c4 | ||
|
|
651cfe5b7e | ||
|
|
a34b2a5472 | ||
|
|
5e7e7eaa83 | ||
|
|
a8f05a01ed | ||
|
|
fedd21b0a6 | ||
|
|
7ff7473db6 | ||
|
|
d89aab08bf | ||
|
|
b2fb5424ed | ||
|
|
e7e34d50ba | ||
|
|
19320cc5d8 | ||
|
|
107a87c7ce | ||
|
|
2cb1d2c0bc | ||
|
|
48ab88a9ca | ||
|
|
33b7ac209e | ||
|
|
4a0ffdc9f5 | ||
|
|
1ec2c16d27 | ||
|
|
4b03fd0f23 | ||
|
|
9f117cd680 | ||
|
|
f6d29991d6 | ||
|
|
1a0d430291 | ||
|
|
e3b9927faa | ||
|
|
d199e16a6e | ||
|
|
01c2be3f01 | ||
|
|
6db537d1ec | ||
|
|
e708b2d39c | ||
|
|
ebd9587821 | ||
|
|
9e5117d336 | ||
|
|
1c2ea8d84a | ||
|
|
235484b719 | ||
|
|
b9ea5718a2 | ||
|
|
db0c57a186 | ||
|
|
0fa458737a | ||
|
|
caaeff32c5 | ||
|
|
c4c234f0d3 | ||
|
|
894e7c5828 | ||
|
|
afcebb136c | ||
|
|
8592326a3c | ||
|
|
0b308aebb2 | ||
|
|
f7ec60b958 | ||
|
|
7b4bc64191 | ||
|
|
5c91506723 | ||
|
|
e5ee665fa4 | ||
|
|
60a95df652 | ||
|
|
28eb2f1a91 | ||
|
|
168711b352 | ||
|
|
7bf557971e | ||
|
|
40330afbd3 | ||
|
|
0f0ade54a7 | ||
|
|
899de8a359 | ||
|
|
fa32151391 | ||
|
|
9706b84409 | ||
|
|
77d1d9bd3a | ||
|
|
d218b76efe | ||
|
|
0dfb77435d | ||
|
|
69dc6c98ce | ||
|
|
3647241f71 | ||
|
|
287a35d208 | ||
|
|
0c3b289af9 | ||
|
|
5309af5d56 | ||
|
|
1d1fa5f98b | ||
|
|
92e398e0b7 | ||
|
|
47074b48d6 | ||
|
|
94bec3b574 | ||
|
|
234ff3ba37 | ||
|
|
d4c6475ae8 | ||
|
|
2ad20d6c4a | ||
|
|
bd0e4c0075 | ||
|
|
09bed4989b | ||
|
|
2eb64e051b | ||
|
|
03775e0cc5 | ||
|
|
fc4cdd4482 | ||
|
|
16232c0a4a | ||
|
|
3c0f80719e | ||
|
|
c153cdc70e | ||
|
|
07dfe88d62 | ||
|
|
453ce1bff9 | ||
|
|
5afcd47ab0 | ||
|
|
abc40f7e43 | ||
|
|
f2915064b5 | ||
|
|
8460a62588 | ||
|
|
27e80b8e42 | ||
|
|
133f64f370 | ||
|
|
feb1e9c4af | ||
|
|
6850cc5ab4 | ||
|
|
9360f1f970 | ||
|
|
57340f9514 | ||
|
|
4e63346877 | ||
|
|
f69d0823a9 | ||
|
|
02ae541246 | ||
|
|
8fda1169e5 | ||
|
|
53305f5f46 | ||
|
|
75fc88d679 | ||
|
|
8264968718 | ||
|
|
598cec8a9d | ||
|
|
f3e1aef264 | ||
|
|
fe4bb19358 | ||
|
|
07ba84c857 | ||
|
|
0f443da758 | ||
|
|
886ff7de50 | ||
|
|
5cb5e3cc22 | ||
|
|
82e150a27e | ||
|
|
c947586091 | ||
|
|
eb6afdf438 | ||
|
|
b634ebab78 | ||
|
|
e2fbcd4b0e | ||
|
|
f255573070 | ||
|
|
c65468f270 | ||
|
|
503814ad4e | ||
|
|
b9c64499bd | ||
|
|
3271cdf251 | ||
|
|
0eee937e6d | ||
|
|
30cd3cb681 | ||
|
|
d6a30c4853 | ||
|
|
551e1f787c | ||
|
|
cdf09e0519 | ||
|
|
4b489ee7d2 | ||
|
|
ca61b80fe5 | ||
|
|
aef37be3d0 | ||
|
|
96c86b3e49 | ||
|
|
38367dc1c7 | ||
|
|
7ef78ba6c9 | ||
|
|
433169626b | ||
|
|
5cd339332c | ||
|
|
d1b9785d31 | ||
|
|
a7c9a1ab34 | ||
|
|
9bc9547b1c | ||
|
|
5e3b094e86 | ||
|
|
8d66680a96 | ||
|
|
bdc43c0aea | ||
|
|
4cb6e4b787 | ||
|
|
596c4a06a3 | ||
|
|
4f7c728632 | ||
|
|
7d89952541 | ||
|
|
0309eb023e | ||
|
|
969b27cb75 | ||
|
|
ecb4d1d9ba | ||
|
|
68378cf8e5 | ||
|
|
4f02f722ae | ||
|
|
74cfaff100 | ||
|
|
92e2b91f81 | ||
|
|
395100584f | ||
|
|
49544111ab | ||
|
|
f3a00abe18 | ||
|
|
a511681113 | ||
|
|
aab4dbb7cf | ||
|
|
80fcffcc40 | ||
|
|
aa0a9b2db9 | ||
|
|
b7c95e9636 | ||
|
|
4414369fc8 | ||
|
|
15dc6064ef | ||
|
|
b9b609f445 | ||
|
|
be7cd51740 | ||
|
|
f13e28a9c5 | ||
|
|
fe025e3c44 | ||
|
|
dd7568ed3a | ||
|
|
b47e29b182 | ||
|
|
dee8b1fe6f | ||
|
|
3c040ab5f9 | ||
|
|
17ffebb684 | ||
|
|
8c824edaa5 | ||
|
|
ad52c0cb16 | ||
|
|
773755d70e | ||
|
|
1bd74fe478 | ||
|
|
4691cff3f6 | ||
|
|
c849d17667 | ||
|
|
96c910190b | ||
|
|
fd6751233e | ||
|
|
487e8a9009 | ||
|
|
3a536c6f75 | ||
|
|
154c0e6bb2 | ||
|
|
9be47f0870 | ||
|
|
431e3035af | ||
|
|
bf18907fe6 | ||
|
|
c7678f17ac | ||
|
|
0c695a6a9a | ||
|
|
efe12e0289 | ||
|
|
dad11a17dd | ||
|
|
dbf673f674 | ||
|
|
9308615361 | ||
|
|
c7433477bc | ||
|
|
8a1140c09f | ||
|
|
a2bf1544df | ||
|
|
f4a6be2ed9 | ||
|
|
6b24eb6d8e | ||
|
|
a55dbe212a | ||
|
|
55e44e3675 | ||
|
|
dc8aefd7ad | ||
|
|
33f56a791a | ||
|
|
f2e4a5a35a | ||
|
|
ebded1b421 | ||
|
|
53c15ed2ac | ||
|
|
3b2f6b893d | ||
|
|
5d0445dd25 | ||
|
|
12eda0bb26 | ||
|
|
96a3c704d2 | ||
|
|
a02642b917 | ||
|
|
80fe3d732a | ||
|
|
f55d3d1c6a | ||
|
|
deea69e119 | ||
|
|
6925bf6a8e | ||
|
|
a0110fed27 | ||
|
|
30a945a043 | ||
|
|
c062b4b3a1 | ||
|
|
06fb5540e1 |
11
.github/workflows/linux.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: scl enable llvm-toolset-7.0 -- scl enable devtoolset-9 -- bash --noprofile --norc -eo pipefail {0}
|
||||
shell: scl enable llvm-toolset-7.0 -- scl enable devtoolset-10 -- bash --noprofile --norc -eo pipefail {0}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -103,12 +103,11 @@ jobs:
|
||||
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
|
||||
$DEFINE
|
||||
|
||||
cd ../out/Debug
|
||||
make -j$(nproc)
|
||||
cmake --build ../out --config Debug --parallel
|
||||
|
||||
- name: Check.
|
||||
run: |
|
||||
filePath="$REPO_NAME/out/Debug/bin/Telegram"
|
||||
filePath="$REPO_NAME/out/Debug/Telegram"
|
||||
if test -f "$filePath"; then
|
||||
echo "Build successfully done! :)"
|
||||
|
||||
@@ -122,7 +121,7 @@ jobs:
|
||||
- name: Move artifact.
|
||||
if: env.UPLOAD_ARTIFACT == 'true'
|
||||
run: |
|
||||
cd $REPO_NAME/out/Debug/bin
|
||||
cd $REPO_NAME/out/Debug
|
||||
mkdir artifact
|
||||
mv Telegram artifact/
|
||||
- uses: actions/upload-artifact@master
|
||||
@@ -130,4 +129,4 @@ jobs:
|
||||
name: Upload artifact.
|
||||
with:
|
||||
name: ${{ env.ARTIFACT_NAME }}
|
||||
path: ${{ env.REPO_NAME }}/out/Debug/bin/artifact/
|
||||
path: ${{ env.REPO_NAME }}/out/Debug/artifact/
|
||||
|
||||
6
.github/workflows/lock.yml
vendored
@@ -8,8 +8,8 @@ jobs:
|
||||
lock:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dessant/lock-threads@v2
|
||||
- uses: dessant/lock-threads@v3
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
issue-lock-inactive-days: 45
|
||||
pr-lock-inactive-days: 45
|
||||
issue-inactive-days: 45
|
||||
pr-inactive-days: 45
|
||||
|
||||
9
.github/workflows/no-response.yml
vendored
@@ -15,14 +15,5 @@ jobs:
|
||||
- uses: lee-dohm/no-response@v0.5.0
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
# Number of days of inactivity before an Issue is closed for lack of response
|
||||
daysUntilClose: 30
|
||||
# Label requiring a response
|
||||
responseRequiredLabel: waiting for answer
|
||||
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
|
||||
closeComment: >
|
||||
This issue has been automatically closed because there has been no response
|
||||
to our request for more information from the original author. With only the
|
||||
information that is currently in the issue, we don't have enough information
|
||||
to take action. Please reach out if you have or find the answers we need so
|
||||
that we can investigate further.
|
||||
|
||||
12
.gitmodules
vendored
@@ -4,9 +4,6 @@
|
||||
[submodule "Telegram/ThirdParty/GSL"]
|
||||
path = Telegram/ThirdParty/GSL
|
||||
url = https://github.com/Microsoft/GSL.git
|
||||
[submodule "Telegram/ThirdParty/Catch"]
|
||||
path = Telegram/ThirdParty/Catch
|
||||
url = https://github.com/philsquared/Catch
|
||||
[submodule "Telegram/ThirdParty/xxHash"]
|
||||
path = Telegram/ThirdParty/xxHash
|
||||
url = https://github.com/Cyan4973/xxHash.git
|
||||
@@ -31,9 +28,6 @@
|
||||
[submodule "Telegram/lib_ui"]
|
||||
path = Telegram/lib_ui
|
||||
url = https://github.com/desktop-app/lib_ui.git
|
||||
[submodule "Telegram/lib_rlottie"]
|
||||
path = Telegram/lib_rlottie
|
||||
url = https://github.com/desktop-app/lib_rlottie.git
|
||||
[submodule "Telegram/lib_lottie"]
|
||||
path = Telegram/lib_lottie
|
||||
url = https://github.com/desktop-app/lib_lottie.git
|
||||
@@ -94,3 +88,9 @@
|
||||
[submodule "Telegram/ThirdParty/jemalloc"]
|
||||
path = Telegram/ThirdParty/jemalloc
|
||||
url = https://github.com/jemalloc/jemalloc
|
||||
[submodule "Telegram/ThirdParty/kwayland"]
|
||||
path = Telegram/ThirdParty/kwayland
|
||||
url = https://github.com/KDE/kwayland.git
|
||||
[submodule "Telegram/ThirdParty/dispatch"]
|
||||
path = Telegram/ThirdParty/dispatch
|
||||
url = https://github.com/apple/swift-corelibs-libdispatch
|
||||
|
||||
@@ -112,6 +112,8 @@ PRIVATE
|
||||
api/api_chat_filters.h
|
||||
api/api_chat_invite.cpp
|
||||
api/api_chat_invite.h
|
||||
api/api_chat_participants.cpp
|
||||
api/api_chat_participants.h
|
||||
api/api_cloud_password.cpp
|
||||
api/api_cloud_password.h
|
||||
api/api_common.h
|
||||
@@ -151,8 +153,8 @@ PRIVATE
|
||||
api/api_user_privacy.h
|
||||
api/api_views.cpp
|
||||
api/api_views.h
|
||||
api/api_who_read.cpp
|
||||
api/api_who_read.h
|
||||
api/api_who_reacted.cpp
|
||||
api/api_who_reacted.h
|
||||
boxes/filters/edit_filter_box.cpp
|
||||
boxes/filters/edit_filter_box.h
|
||||
boxes/filters/edit_filter_chats_list.cpp
|
||||
@@ -178,6 +180,8 @@ PRIVATE
|
||||
boxes/peers/edit_peer_history_visibility_box.h
|
||||
boxes/peers/edit_peer_permissions_box.cpp
|
||||
boxes/peers/edit_peer_permissions_box.h
|
||||
boxes/peers/edit_peer_reactions.cpp
|
||||
boxes/peers/edit_peer_reactions.h
|
||||
boxes/peers/edit_peer_requests_box.cpp
|
||||
boxes/peers/edit_peer_requests_box.h
|
||||
boxes/peers/edit_peer_type_box.cpp
|
||||
@@ -400,6 +404,8 @@ PRIVATE
|
||||
data/data_chat.h
|
||||
data/data_chat_filters.cpp
|
||||
data/data_chat_filters.h
|
||||
data/data_chat_participant_status.cpp
|
||||
data/data_chat_participant_status.h
|
||||
data/data_changes.cpp
|
||||
data/data_changes.h
|
||||
data/data_channel.cpp
|
||||
@@ -441,6 +447,8 @@ PRIVATE
|
||||
data/data_media_types.h
|
||||
data/data_messages.cpp
|
||||
data/data_messages.h
|
||||
data/data_message_reactions.cpp
|
||||
data/data_message_reactions.h
|
||||
data/data_msg_id.h
|
||||
data/data_notify_settings.cpp
|
||||
data/data_notify_settings.h
|
||||
@@ -615,6 +623,12 @@ PRIVATE
|
||||
history/view/media/history_view_theme_document.cpp
|
||||
history/view/media/history_view_web_page.h
|
||||
history/view/media/history_view_web_page.cpp
|
||||
history/view/reactions/message_reactions_list.cpp
|
||||
history/view/reactions/message_reactions_list.h
|
||||
history/view/reactions/message_reactions_selector.cpp
|
||||
history/view/reactions/message_reactions_selector.h
|
||||
history/view/history_view_bottom_info.cpp
|
||||
history/view/history_view_bottom_info.h
|
||||
history/view/history_view_contact_status.cpp
|
||||
history/view/history_view_contact_status.h
|
||||
history/view/history_view_context_menu.cpp
|
||||
@@ -629,6 +643,7 @@ PRIVATE
|
||||
history/view/history_view_empty_list_bubble.h
|
||||
history/view/history_view_group_call_bar.cpp
|
||||
history/view/history_view_group_call_bar.h
|
||||
history/view/history_view_item_preview.h
|
||||
history/view/history_view_list_widget.cpp
|
||||
history/view/history_view_list_widget.h
|
||||
history/view/history_view_message.cpp
|
||||
@@ -640,6 +655,10 @@ PRIVATE
|
||||
history/view/history_view_pinned_section.h
|
||||
history/view/history_view_pinned_tracker.cpp
|
||||
history/view/history_view_pinned_tracker.h
|
||||
history/view/history_view_react_button.cpp
|
||||
history/view/history_view_react_button.h
|
||||
history/view/history_view_reactions.cpp
|
||||
history/view/history_view_reactions.h
|
||||
history/view/history_view_replies_section.cpp
|
||||
history/view/history_view_replies_section.h
|
||||
history/view/history_view_requests_bar.cpp
|
||||
@@ -652,6 +671,8 @@ PRIVATE
|
||||
history/view/history_view_send_action.h
|
||||
history/view/history_view_service_message.cpp
|
||||
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_top_bar_widget.cpp
|
||||
history/view/history_view_top_bar_widget.h
|
||||
history/view/history_view_view_button.cpp
|
||||
@@ -785,6 +806,8 @@ PRIVATE
|
||||
main/main_session.h
|
||||
main/main_session_settings.cpp
|
||||
main/main_session_settings.h
|
||||
main/session/send_as_peers.cpp
|
||||
main/session/send_as_peers.h
|
||||
media/system_media_controls_manager.h
|
||||
media/system_media_controls_manager.cpp
|
||||
media/audio/media_audio.cpp
|
||||
@@ -1083,6 +1106,8 @@ PRIVATE
|
||||
ui/chat/attach/attach_item_single_file_preview.h
|
||||
ui/chat/attach/attach_item_single_media_preview.cpp
|
||||
ui/chat/attach/attach_item_single_media_preview.h
|
||||
ui/chat/choose_send_as.cpp
|
||||
ui/chat/choose_send_as.h
|
||||
ui/chat/choose_theme_controller.cpp
|
||||
ui/chat/choose_theme_controller.h
|
||||
ui/effects/fireworks_animation.cpp
|
||||
@@ -1399,12 +1424,13 @@ PRIVATE
|
||||
G_LOG_DOMAIN="Telegram"
|
||||
)
|
||||
|
||||
if (APPLE OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL "" OR NOT "${output_name}" STREQUAL "Telegram")
|
||||
if (APPLE
|
||||
OR "${CMAKE_GENERATOR}" STREQUAL "Ninja Multi-Config"
|
||||
OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL ""
|
||||
OR NOT "${output_name}" STREQUAL "Telegram")
|
||||
set(output_folder ${CMAKE_BINARY_DIR})
|
||||
elseif (DESKTOP_APP_SPECIAL_TARGET STREQUAL "")
|
||||
set(output_folder ${CMAKE_BINARY_DIR}/bin)
|
||||
else()
|
||||
set(output_folder ${CMAKE_BINARY_DIR}/$<IF:$<CONFIG:Debug>,Debug,Release>)
|
||||
set(output_folder ${CMAKE_BINARY_DIR}/bin)
|
||||
endif()
|
||||
|
||||
set_target_properties(Telegram PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
|
||||
@@ -1517,8 +1543,8 @@ endif()
|
||||
|
||||
if (LINUX AND DESKTOP_APP_USE_PACKAGED)
|
||||
include(GNUInstallDirs)
|
||||
configure_file("../lib/xdg/telegramdesktop.appdata.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.appdata.xml" @ONLY)
|
||||
generate_appdata_changelog(Telegram "${CMAKE_SOURCE_DIR}/changelog.txt" "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.appdata.xml")
|
||||
configure_file("../lib/xdg/telegramdesktop.metainfo.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.metainfo.xml" @ONLY)
|
||||
generate_appdata_changelog(Telegram "${CMAKE_SOURCE_DIR}/changelog.txt" "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.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 "telegram.png")
|
||||
install(FILES "Resources/art/icon32.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/32x32/apps" RENAME "telegram.png")
|
||||
@@ -1528,5 +1554,5 @@ if (LINUX AND DESKTOP_APP_USE_PACKAGED)
|
||||
install(FILES "Resources/art/icon256.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/256x256/apps" RENAME "telegram.png")
|
||||
install(FILES "Resources/art/icon512.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps" RENAME "telegram.png")
|
||||
install(FILES "../lib/xdg/telegramdesktop.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications" RENAME "${TDESKTOP_LAUNCHER_BASENAME}.desktop")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.appdata.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo" RENAME "${TDESKTOP_LAUNCHER_BASENAME}.appdata.xml")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.metainfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo" RENAME "${TDESKTOP_LAUNCHER_BASENAME}.metainfo.xml")
|
||||
endif()
|
||||
|
||||
@@ -531,3 +531,16 @@ div.toast_shown {
|
||||
background-image: url(../images/media_video@2x.png)
|
||||
}
|
||||
}
|
||||
|
||||
.spoiler {
|
||||
background: #e8e8e8;
|
||||
}
|
||||
.spoiler.hidden {
|
||||
background: #a9a9a9;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.spoiler.hidden span {
|
||||
opacity: 0;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,12 @@ function ShowMentionName() {
|
||||
return false;
|
||||
}
|
||||
|
||||
function ShowSpoiler(target) {
|
||||
if (target.classList.contains("hidden")) {
|
||||
target.classList.toggle("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
function AddClass(element, name) {
|
||||
var current = element.className;
|
||||
var expression = new RegExp('(^|\\s)' + name + '(\\s|$)', 'g');
|
||||
|
||||
BIN
Telegram/Resources/icons/calendar_down.png
Normal file
|
After Width: | Height: | Size: 188 B |
BIN
Telegram/Resources/icons/calendar_down@2x.png
Normal file
|
After Width: | Height: | Size: 291 B |
BIN
Telegram/Resources/icons/calendar_down@3x.png
Normal file
|
After Width: | Height: | Size: 867 B |
|
Before Width: | Height: | Size: 551 B |
|
Before Width: | Height: | Size: 848 B |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 421 B |
|
Before Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 107 B |
|
Before Width: | Height: | Size: 126 B |
|
Before Width: | Height: | Size: 174 B |
BIN
Telegram/Resources/icons/contacts_alphabet.png
Normal file
|
After Width: | Height: | Size: 448 B |
BIN
Telegram/Resources/icons/contacts_alphabet@2x.png
Normal file
|
After Width: | Height: | Size: 784 B |
BIN
Telegram/Resources/icons/contacts_alphabet@3x.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Telegram/Resources/icons/contacts_online.png
Normal file
|
After Width: | Height: | Size: 385 B |
BIN
Telegram/Resources/icons/contacts_online@2x.png
Normal file
|
After Width: | Height: | Size: 649 B |
BIN
Telegram/Resources/icons/contacts_online@3x.png
Normal file
|
After Width: | Height: | Size: 1014 B |
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 277 B |
|
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 715 B |
|
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 255 B |
|
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 344 B |
|
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 273 B |
|
Before Width: | Height: | Size: 393 B After Width: | Height: | Size: 393 B |
|
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 433 B After Width: | Height: | Size: 433 B |
|
Before Width: | Height: | Size: 494 B After Width: | Height: | Size: 494 B |
|
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 265 B |
|
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 490 B |
|
Before Width: | Height: | Size: 578 B After Width: | Height: | Size: 578 B |
|
Before Width: | Height: | Size: 285 B After Width: | Height: | Size: 285 B |
|
Before Width: | Height: | Size: 444 B After Width: | Height: | Size: 444 B |
|
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 598 B |
|
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
|
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 247 B |
|
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
|
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 146 B |
|
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 289 B |
|
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 386 B |
|
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 170 B |
|
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 362 B |
|
Before Width: | Height: | Size: 488 B After Width: | Height: | Size: 488 B |
|
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
|
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 638 B |
|
Before Width: | Height: | Size: 907 B After Width: | Height: | Size: 907 B |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
|
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 321 B |
|
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 367 B |
|
Before Width: | Height: | Size: 1013 B After Width: | Height: | Size: 1013 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
|
Before Width: | Height: | Size: 432 B After Width: | Height: | Size: 432 B |
|
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
|
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 145 B |
|
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 261 B |
|
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 272 B |
|
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 287 B |
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 450 B |
|
Before Width: | Height: | Size: 578 B After Width: | Height: | Size: 578 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_check.png
Normal file
|
After Width: | Height: | Size: 233 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_check@2x.png
Normal file
|
After Width: | Height: | Size: 365 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_check@3x.png
Normal file
|
After Width: | Height: | Size: 425 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_star.png
Normal file
|
After Width: | Height: | Size: 371 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_star@2x.png
Normal file
|
After Width: | Height: | Size: 714 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_star@3x.png
Normal file
|
After Width: | Height: | Size: 803 B |
|
Before Width: | Height: | Size: 180 B |
|
Before Width: | Height: | Size: 281 B |
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 342 B |
|
Before Width: | Height: | Size: 660 B |
|
Before Width: | Height: | Size: 694 B |
BIN
Telegram/Resources/icons/info/edit/group_manage_reactions.png
Normal file
|
After Width: | Height: | Size: 1016 B |
BIN
Telegram/Resources/icons/info/edit/group_manage_reactions@2x.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
Telegram/Resources/icons/info/edit/group_manage_reactions@3x.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
Telegram/Resources/icons/menu/add_account.png
Normal file
|
After Width: | Height: | Size: 815 B |
BIN
Telegram/Resources/icons/menu/add_account@2x.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Telegram/Resources/icons/menu/add_account@3x.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
Telegram/Resources/icons/menu/admin.png
Normal file
|
After Width: | Height: | Size: 853 B |
BIN
Telegram/Resources/icons/menu/admin@2x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Telegram/Resources/icons/menu/admin@3x.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
Telegram/Resources/icons/menu/admin_promote.png
Normal file
|
After Width: | Height: | Size: 793 B |
BIN
Telegram/Resources/icons/menu/admin_promote@2x.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Telegram/Resources/icons/menu/admin_promote@3x.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
Telegram/Resources/icons/menu/all_media.png
Normal file
|
After Width: | Height: | Size: 536 B |
BIN
Telegram/Resources/icons/menu/all_media@2x.png
Normal file
|
After Width: | Height: | Size: 914 B |
BIN
Telegram/Resources/icons/menu/all_media@3x.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/menu/archive.png
Normal file
|
After Width: | Height: | Size: 570 B |
BIN
Telegram/Resources/icons/menu/archive@2x.png
Normal file
|
After Width: | Height: | Size: 942 B |
BIN
Telegram/Resources/icons/menu/archive@3x.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |