Compare commits
419 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0e26b39faf | |||
| 2414e51a9b | |||
| 8bfb7e221b | |||
| 1935a2b144 | |||
| c525fd64ca | |||
| 6d08b5bf23 | |||
| a73da65253 | |||
| 2be73d7924 | |||
| 080400d7b8 | |||
| bf1b3dc8f6 | |||
| f13971dce1 | |||
| 3f639d5689 | |||
| 19a5dc8a0c | |||
| 5573bbc776 | |||
| 8c5db25476 | |||
| c6f49486ee | |||
| cf6d13acc2 | |||
| 1647991f6a | |||
| b4993453c0 | |||
| 68bb0a1744 | |||
| 12356b1617 | |||
| fc0cfbf003 | |||
| 77dcbaf00c | |||
| 69e9841bbb | |||
| 626b3395ab | |||
| 506b8fd4f1 | |||
| d3b1abb61e | |||
| 990ae11f62 | |||
| 3d5092f7ad | |||
| 296e8c1ab1 | |||
| 0df8864ae0 | |||
| 7c002cf8be | |||
| c345b50ab7 | |||
| d729e625e6 | |||
| 2c03d90fc8 | |||
| 5ebd5852ba | |||
| 5397f64b23 | |||
| 4975cf2ec1 | |||
| bef26cf9d2 | |||
| 9483d17fc8 | |||
| 288979d8e7 | |||
| 49ec051760 | |||
| 0a8e961142 | |||
| 6d352597b4 | |||
| d14f11bd88 | |||
| d608bffecb | |||
| 00dcf11691 | |||
| e3f6c189a7 | |||
| ea36345eee | |||
| 5e82860376 | |||
| 37f5160d1c | |||
| ee847bc1a3 | |||
| c94da177d7 | |||
| 88751896af | |||
| f812166249 | |||
| a47c6f9c9a | |||
| cf8aaf5f9d | |||
| ca4cbddba6 | |||
| dd6768a476 | |||
| 7f7d544943 | |||
| d5e920e45a | |||
| 8545a14763 | |||
| aad8e989d8 | |||
| f086203d25 | |||
| 23e22de6ec | |||
| fb539b0f70 | |||
| 6e08b00dba | |||
| 7f3ebde252 | |||
| 5c11fa4f63 | |||
| d05c4e0990 | |||
| dd7ccada2f | |||
| e6b9ac2267 | |||
| f85c3c88f7 | |||
| e05eb63476 | |||
| c513906996 | |||
| dd0bdd62fb | |||
| 4d12f1c0ef | |||
| 1fe641c458 | |||
| 1e5f821c6f | |||
| 0af131f144 | |||
| ad9107ca90 | |||
| 205479fccc | |||
| 0c991466f5 | |||
| 0fad42b5b4 | |||
| 27bd9e3ee5 | |||
| 02e1c03ed9 | |||
| f56b16c6ef | |||
| 09285bc9cd | |||
| eab249fc13 | |||
| 48eb408fb8 | |||
| ef474f0dc8 | |||
| a704611705 | |||
| b790847fde | |||
| c0c330a150 | |||
| aec4857e7b | |||
| 5dc6bdcc42 | |||
| 08717dcd78 | |||
| a77c547a62 | |||
| d252427e34 | |||
| 58443bc197 | |||
| ea20e41f1d | |||
| afdd22d154 | |||
| 93d1a187ca | |||
| 52c779bffa | |||
| de1bd6ef28 | |||
| c26982be3e | |||
| 5971aefb83 | |||
| 41481129f7 | |||
| 7b8cdb43c4 | |||
| 1e9b7e2726 | |||
| a66b886c51 | |||
| 5b62d97288 | |||
| b040b62b4e | |||
| 50f51d0747 | |||
| 95b4fc0216 | |||
| da047edbc5 | |||
| a8b5061003 | |||
| ec427ad45d | |||
| 778ab70b72 | |||
| bf5337259d | |||
| 039795cab8 | |||
| e580640adc | |||
| 3a9b470e47 | |||
| 5d145cc613 | |||
| df0c1f814a | |||
| 5d1aa10768 | |||
| 7e62f8749d | |||
| e592b21912 | |||
| e2fafc62fd | |||
| 43b0df3f94 | |||
| b8dda54e04 | |||
| cb065146c2 | |||
| 3aab2a88aa | |||
| 9a012d8b9b | |||
| eaad2034e6 | |||
| 2a52eca5f5 | |||
| 13ded3a82e | |||
| 9a0ea78e0f | |||
| a2fe1506cc | |||
| 608b4f30c5 | |||
| 3af646a584 | |||
| 89c7147fd9 | |||
| d4ee45f9ff | |||
| df5454a0b0 | |||
| ebf4e88a10 | |||
| 0163ec314a | |||
| 46d5a93c96 | |||
| dd6cbd2c36 | |||
| 5bf6a93086 | |||
| 1146ecfd45 | |||
| f59c46cd7c | |||
| 20f3ef9a5b | |||
| 41d3e16c7d | |||
| 46d11b6dcb | |||
| adc8966c61 | |||
| d5353e8741 | |||
| e79be73025 | |||
| f20e393d77 | |||
| 6336ed33fa | |||
| bcc864cbe1 | |||
| 2dd1ab31b9 | |||
| 9f58a5a4b0 | |||
| e31704d01e | |||
| f1b7d9ebba | |||
| 991110b84d | |||
| 18ca4a9eeb | |||
| 9f7ee3cafd | |||
| 137155afd8 | |||
| 38e082422a | |||
| 0fd8ceca6b | |||
| f674ace805 | |||
| 11f0847295 | |||
| 964846f1bb | |||
| fc6f2520b7 | |||
| cfaef4c441 | |||
| 571f1a5179 | |||
| 08efa73b2b | |||
| 680171226c | |||
| ea12c2f62c | |||
| 180b14ea36 | |||
| f6a8c1e996 | |||
| cb174cb0bf | |||
| 33207b78d5 | |||
| e32cbf468b | |||
| c891ee3a45 | |||
| 6de471db17 | |||
| d1eaf284b1 | |||
| 5cd0d82ffb | |||
| 113c8a797f | |||
| dcf4f45a36 | |||
| 8b6a7a443e | |||
| c5db2b8175 | |||
| 00f98793b1 | |||
| 77d129a738 | |||
| af18da81f4 | |||
| e5f90cd40d | |||
| 5bb633d982 | |||
| a10d668131 | |||
| 8a62bacaa6 | |||
| bacab01f7e | |||
| 5d3400033a | |||
| 0e571ea679 | |||
| b959262140 | |||
| fd3ce905c0 | |||
| 222a643ce3 | |||
| f583732688 | |||
| 4e9443e200 | |||
| 29debc07c4 | |||
| 5334096d68 | |||
| bb3f8fbbe8 | |||
| a96f8d8ac3 | |||
| d4a22a5110 | |||
| adb5abf4fb | |||
| 4a6ae07409 | |||
| f6081db13f | |||
| 33b6f5d207 | |||
| 84c62470bb | |||
| a3f4185b45 | |||
| 2729fee0ac | |||
| 964f9bd904 | |||
| cfa007de84 | |||
| 77d52bb1b3 | |||
| 2f0b50cb37 | |||
| 6185fa980d | |||
| 1cce1e8a90 | |||
| 237baf11df | |||
| 46023f4260 | |||
| 8459c29073 | |||
| f072173d7c | |||
| bec34c34b1 | |||
| 04ab148b2e | |||
| e314abefb8 | |||
| cdaa23363f | |||
| 5401d00548 | |||
| c06699e8e7 | |||
| 2f40a44b5c | |||
| 0945e04f6b | |||
| db7c16f82b | |||
| 30548c2859 | |||
| 0163938e00 | |||
| 3421b656db | |||
| 39b80c98c7 | |||
| 323500f6dd | |||
| 11cf0486cb | |||
| 46579ac84d | |||
| f324c53440 | |||
| 87df90227e | |||
| 6f57302562 | |||
| d116c8fea0 | |||
| 32462fca9b | |||
| 55a174190e | |||
| 9f738cded2 | |||
| 87c1329490 | |||
| ded2015dc2 | |||
| 98a71cce89 | |||
| a3ba1ba2a1 | |||
| 42842619b0 | |||
| 32d3b90cdc | |||
| b182aeb51e | |||
| 7049929a59 | |||
| aa5413da4e | |||
| 32dfe0f65e | |||
| 5d33290218 | |||
| e47ff9fd34 | |||
| 58e38c487a | |||
| 852196a013 | |||
| 0ff3d4b2ed | |||
| b843dab87a | |||
| 1e34bc6b30 | |||
| b3225af685 | |||
| 59e44d4e96 | |||
| 9321f22a9e | |||
| 8718e0a045 | |||
| c4cf4325d6 | |||
| 9c71aba5d1 | |||
| 20bd7db4d9 | |||
| 92f0358800 | |||
| 0372f2be9c | |||
| 7dfb93f7c2 | |||
| 3c150d9742 | |||
| 3c5cace175 | |||
| 7e7fd6f1b4 | |||
| eebe7adbcb | |||
| 5561bdeb5e | |||
| a670095294 | |||
| 104ba4db7c | |||
| 9a6ab3b0f2 | |||
| e5b89b1572 | |||
| 65a80766f4 | |||
| 736b489eb7 | |||
| d3778f92d2 | |||
| 30e694420a | |||
| 091c13bc23 | |||
| 5130c5df80 | |||
| 7542f04010 | |||
| dff4191ac9 | |||
| 15e2874da8 | |||
| 8eb49d5efc | |||
| 230761eb23 | |||
| bb0ab27244 | |||
| bdeaf4f27a | |||
| 6d608bed98 | |||
| 5a47acf1d2 | |||
| 02a306ba70 | |||
| 75e19235cd | |||
| 7d9b4e1e03 | |||
| d0fff1611c | |||
| e4ca8ae847 | |||
| f53b64bc72 | |||
| 981909e567 | |||
| ce6fc19b84 | |||
| a38f731265 | |||
| d55dd7dffd | |||
| 37478d951a | |||
| 814de17f28 | |||
| 5f97d683df | |||
| 95d4e02ae1 | |||
| abf9764640 | |||
| 80ee38f9fb | |||
| b4ab20bbe9 | |||
| f6a95df550 | |||
| f3f660a180 | |||
| 0cf36db010 | |||
| bfeb225bc2 | |||
| 31d486c2e2 | |||
| eda7118df9 | |||
| 7c468052e6 | |||
| 43eca490a7 | |||
| 3710d61a09 | |||
| 5daa5a00f0 | |||
| 6e31993777 | |||
| 1cfad14437 | |||
| 3829ed5880 | |||
| e5cda0e2b1 | |||
| c765bee0cd | |||
| 16942d487a | |||
| 5cb4cfef32 | |||
| 4d86ced1e6 | |||
| ad03431b0a | |||
| 474f1118b6 | |||
| e63d573414 | |||
| 33643ff7fc | |||
| ca25ad57b1 | |||
| fc2cc6ce6b | |||
| fe64dfeb1f | |||
| abf17407ea | |||
| c364383cf0 | |||
| 5033b9ef0d | |||
| 605b255e32 | |||
| d3fdfe4b29 | |||
| c452694348 | |||
| 83fc19e143 | |||
| 6686fe110d | |||
| ed027c23d0 | |||
| 2213bedc12 | |||
| ac7958f335 | |||
| 3301d28615 | |||
| 6033071e61 | |||
| 06775b5623 | |||
| 93a734eecf | |||
| 6f64fea0b1 | |||
| 6b910e11e5 | |||
| b31bb6dd33 | |||
| 104cf504ab | |||
| b462d7627f | |||
| cb4781360a | |||
| 8895e49466 | |||
| d1f4463c2a | |||
| f9b5789cf7 | |||
| 5273fbf57b | |||
| ad6890e7dd | |||
| 46ddc7364c | |||
| a2c0491ae0 | |||
| c686ac8603 | |||
| 268613e1db | |||
| 5ba918d213 | |||
| 21dcb7b13c | |||
| 40ff71b2cd | |||
| b017cc07ce | |||
| fa773c3024 | |||
| a1369aaad0 | |||
| 6516c7aef3 | |||
| c43dfecec6 | |||
| 53e95a7f74 | |||
| 2a81a617e1 | |||
| 37067f17e2 | |||
| f8caa02f10 | |||
| fc2f41096f | |||
| 3eefaac885 | |||
| 0dfe37f998 | |||
| e2439984ae | |||
| 9401e7cb51 | |||
| 4471eb587d | |||
| 3c6037a798 | |||
| d1a0dfbb97 | |||
| 94a542a1d1 | |||
| f5fcfaba0c | |||
| 9c151ca151 | |||
| e667436a98 | |||
| 9aacff8b54 | |||
| 9b43d204e2 | |||
| 0faf801de7 | |||
| dd1cca1a0a | |||
| eca8c28dea | |||
| 333ef9b48a | |||
| 1e98e19aaf | |||
| 308fdcf9cf | |||
| d803b3ae7d | |||
| aa121aa1de | |||
| 8138a26c2d | |||
| 26fa3db66d | |||
| 7779d021b4 | |||
| 6b44143f5b | |||
| 0f207faa3e | |||
| 28b43eff7c | |||
| c257b75a66 | |||
| 893e14cc39 | |||
| 30d5b7fd66 | |||
| 2ef8136308 |
@@ -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
|
||||
...
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
|
||||
docker run --rm \
|
||||
-v $PWD:/usr/src/tdesktop \
|
||||
-e DEBUG=1 \
|
||||
-e CONFIG=Debug \
|
||||
tdesktop:centos_env \
|
||||
/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \
|
||||
-D CMAKE_C_FLAGS_DEBUG="" \
|
||||
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
|
||||
macos:
|
||||
name: MacOS
|
||||
runs-on: macos-12
|
||||
runs-on: macos-13
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -64,7 +64,7 @@ jobs:
|
||||
- name: First set up.
|
||||
run: |
|
||||
sudo chown -R `whoami`:admin /usr/local/share
|
||||
brew install automake ninja pkg-config
|
||||
brew install automake ninja pkg-config nasm meson
|
||||
|
||||
# Disable spotlight.
|
||||
sudo mdutil -a -i off
|
||||
|
||||
@@ -73,6 +73,7 @@ jobs:
|
||||
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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -100,3 +100,6 @@
|
||||
[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
|
||||
|
||||
@@ -25,9 +25,20 @@ And many more. Check out our [Documentation](https://docs.ayugram.one/desktop/).
|
||||
|
||||
### 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.
|
||||
|
||||
@@ -65,8 +76,6 @@ Enjoy using **AyuGram**? Consider sending us a tip!
|
||||
### Libraries used
|
||||
|
||||
- [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)
|
||||
- [SQLite](https://github.com/sqlite/sqlite)
|
||||
- [sqlite_orm](https://github.com/fnc12/sqlite_orm)
|
||||
|
||||
|
||||
@@ -96,6 +96,8 @@ nice_target_sources(Telegram ${src_loc}
|
||||
PRIVATE
|
||||
${style_files}
|
||||
|
||||
ayu/ayu_worker.cpp
|
||||
ayu/ayu_worker.h
|
||||
ayu/ayu_url_handlers.cpp
|
||||
ayu/ayu_url_handlers.h
|
||||
ayu/ayu_state.cpp
|
||||
@@ -114,10 +116,8 @@ PRIVATE
|
||||
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/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
|
||||
@@ -134,39 +134,35 @@ PRIVATE
|
||||
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/server_read_confirmation_box.cpp
|
||||
ayu/ui/boxes/server_read_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/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/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
|
||||
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
|
||||
|
||||
api/api_attached_stickers.cpp
|
||||
api/api_attached_stickers.h
|
||||
@@ -252,6 +248,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
|
||||
@@ -478,6 +476,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
|
||||
@@ -516,6 +516,14 @@ 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/notify/data_notify_settings.cpp
|
||||
data/notify/data_notify_settings.h
|
||||
data/notify/data_peer_notify_settings.cpp
|
||||
@@ -585,6 +593,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
|
||||
@@ -681,6 +690,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
|
||||
@@ -743,8 +754,6 @@ PRIVATE
|
||||
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
|
||||
@@ -820,6 +829,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
|
||||
@@ -1084,6 +1095,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
|
||||
@@ -1299,8 +1311,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
|
||||
@@ -1324,7 +1334,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
|
||||
@@ -1346,6 +1355,22 @@ 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_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
|
||||
@@ -1364,6 +1389,8 @@ 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
|
||||
@@ -1486,6 +1513,8 @@ PRIVATE
|
||||
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
|
||||
@@ -1721,7 +1750,7 @@ else()
|
||||
)
|
||||
|
||||
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)
|
||||
|
||||
if (NOT DESKTOP_APP_DISABLE_X11_INTEGRATION)
|
||||
target_link_libraries(Telegram
|
||||
@@ -1795,6 +1824,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"
|
||||
|
||||
|
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 |
@@ -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");
|
||||
|
||||
|
After Width: | Height: | Size: 283 B |
|
After Width: | Height: | Size: 407 B |
|
After Width: | Height: | Size: 475 B |
|
After Width: | Height: | Size: 648 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 544 B |
|
After Width: | Height: | Size: 901 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 776 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 561 B |
|
After Width: | Height: | Size: 1011 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 267 B |
|
After Width: | Height: | Size: 368 B |
|
After Width: | Height: | Size: 283 B |
|
After Width: | Height: | Size: 378 B |
|
After Width: | Height: | Size: 550 B |
|
After Width: | Height: | Size: 592 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 598 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 687 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 634 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 692 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 614 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 662 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 928 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 426 B |
|
After Width: | Height: | Size: 765 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 454 B |
|
After Width: | Height: | Size: 845 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 615 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 808 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 732 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 816 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 538 B |
|
After Width: | Height: | Size: 626 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.1 KiB |