Compare commits

..

774 Commits

Author SHA1 Message Date
bleizix 6a3723a7ee fix: ghost toggles 2025-10-30 19:04:44 +05:00
bleizix 48ec267f7f fix: invert media & downloading state & media without filename 2025-10-24 18:51:37 +05:00
bleizix 852f3b2359 fix: missing disableNotificationsDelay button 2025-10-13 20:03:59 +05:00
bleizix 8584c8daff fix: hide filtered native notifications 2025-10-11 23:37:06 +05:00
bleizix 1d9af5bafb feat: show forward & reaction dates with years 2025-10-11 04:24:39 +05:00
bleizix 1c9278d050 fix: crashes 2025-10-08 21:23:24 +05:00
AlexeyZavar 2ee8fe532d fix: show translate entire chat button 2025-10-07 05:28:27 +03:00
Alexey decef2ca9e chore: update chat link 2025-10-07 05:08:26 +03:00
AlexeyZavar f1bf1275b8 chore: fix formatting 2025-10-07 05:06:40 +03:00
AlexeyZavar b3dc9d1de1 chore: update bug report template 2025-10-07 04:59:20 +03:00
AlexeyZavar 43e2b4d85f fix: set default values 2025-10-07 00:50:09 +03:00
bleizix d2c6c5b14a fix: database migration 2025-10-07 00:46:50 +03:00
bleizix 8e895bb78d feat: list of shadow banned users 2025-10-07 00:26:31 +03:00
bleizix 89ae7cfca2 fix: AyuForward with caption of voice messages 2025-10-06 23:57:02 +03:00
AlexeyZavar d0ca602f3f feat: allow disabling adaptive cover color 2025-10-06 23:56:31 +03:00
AlexeyZavar 8ad26c0426 feat: slide animation for now playing 2025-10-06 18:50:50 +03:00
AlexeyZavar e38fbf814b feat: redesign now playing widget 2025-10-05 20:56:39 +03:00
AlexeyZavar 67c946f24a feat: support tg://chat?id= links 2025-10-04 22:43:01 +03:00
AlexeyZavar 2647cefdcc fix: update tgdb bot ID & username 2025-10-04 21:14:23 +03:00
AlexeyZavar c1e5d2a781 fix: make it build 2025-10-04 21:04:24 +03:00
AlexeyZavar 9cf11ff45d Merge tag 'v6.1.3' into dev 2025-10-04 17:26:13 +03:00
AlexeyZavar d2272ec75e chore: fix typo 2025-10-04 17:19:29 +03:00
AlexeyZavar f8b0d788a2 fix: remove Telegram Premium popup for translator 2025-10-01 04:18:00 +03:00
AlexeyZavar 3e0ee584aa fix: badges & warning 2025-10-01 04:01:50 +03:00
bleizix 698e4a0af4 feat: message filters initial 2025-09-29 20:33:17 +03:00
AlexeyZavar 5b7926c590 chore: add flatpak repo link 2025-09-12 03:45:33 +03:00
bleizix 1f6d0b143c feat: replace unread bar to pill 2025-09-12 03:45:33 +03:00
bleizix 8558af8189 fix: AyuForward with TTL 2025-09-12 03:45:33 +03:00
AlexeyZavar 28ceb0bed2 fix: show notice for unforwardable messages 2025-09-12 03:45:33 +03:00
AlexeyZavar 41523b03d1 fix: hide search ads 2025-09-12 03:45:33 +03:00
AlexeyZavar 4a46207fa5 chore: rename messageshot folder & fix some warnings 2025-09-12 03:45:33 +03:00
AlexeyZavar dfb9ac91e9 feat: new settings ui & features
translator, remove message tail, hide fast share, drawer customization, quick admin shortcuts, disable crash reports, donations
2025-09-12 03:45:33 +03:00
John Preston 6229c0020c Version 6.1.3.
- Fix dead keys / alt combinations / input methods issues.
2025-09-07 08:46:44 +04:00
23rd 8db1bf9052 Added ability to share link for monoforum of owned channels. 2025-09-07 08:46:44 +04:00
23rd 2740c5db23 Extracted URL protocol stripping to Ui::Text::StripUrlProtocol. 2025-09-07 08:46:44 +04:00
23rd 512e6de39b Fixed position of tag preview in chats filter settings.
Fixed #29750.
2025-09-07 08:46:44 +04:00
23rd e3c328c7e3 Reverted "Removed ability to clear history from replies chat.".
This reverts commit 86daf2a9dc.
2025-09-07 08:46:44 +04:00
John Preston 9eb5ea599e Fix build with MSVC. 2025-09-06 19:09:21 +03:00
Ilya Fedin 929032d598 Add GStreamer H264, H265, AAC and VA-API plugins to snap 2025-09-06 20:05:21 +04:00
Ilya Fedin 09fb42291d Revert "Self-build openh264 in snap for lesser package size"
This reverts commit a8430d8ecf.
2025-09-06 20:05:21 +04:00
Ilya Fedin e6665a8305 Fix playing audio files via webkitgtk in snap 2025-09-06 20:04:48 +04:00
John Preston a785d83791 Don't cancel special KeyPress events (key = 0).
I hope this fixes #29747, #29745, #29744, #29743, #29741.
2025-09-06 08:39:51 +04:00
23rd 08a64f0dc0 Fixed color of lottie icon from transcribe voices while loading. 2025-09-04 13:05:37 +03:00
John Preston 0babad837d Remove legacy "quicklaunchicon" InnoSetup task. 2025-09-04 13:03:25 +04:00
John Preston fb1f70f5de Version 6.1.2.
- Close selected chat in Ctrl+Tab chat switch by 'Q'.
- Auto-split pasted multiple lines to checklist task creation.
- Fix color picker in userpic builder.
2025-09-04 12:03:07 +04:00
John Preston d4dd1b7ba0 Fix build with GCC. 2025-09-04 12:03:07 +04:00
John Preston 82c921d739 Fix build with Xcode. 2025-09-04 12:00:49 +04:00
John Preston 180a570f99 Handle robustly Ctrl+Q/Ctrl+Arrows in Ctrl+Tab chat switch. 2025-09-04 12:00:35 +04:00
John Preston 9960a7a7e4 Remove unneeded openssl/engine.h include. 2025-09-04 11:43:59 +04:00
John Preston 2164d08c3c Fixed a crash in gifts section closing.
Fixes #29737.
2025-09-04 11:28:21 +04:00
John Preston 4b2d0d1a67 Allow a bit more theme previews. 2025-09-02 21:36:08 +04:00
John Preston d0341d191b Close selected chat in switch by Q. 2025-09-02 19:22:19 +04:00
John Preston 10237a2d90 Correct gift symbol sizes and rotations. 2025-09-02 17:28:38 +04:00
John Preston 59390ddaa1 Support pasting multi-line as multi-tasks. 2025-09-02 13:54:42 +04:00
John Preston 312c94f386 Fill suggested prices for gifts between stars/TON. 2025-09-02 12:04:47 +04:00
John Preston d697677fab Fix time input colon. 2025-09-02 08:38:10 +04:00
John Preston bf484b5518 Update lib_webview. 2025-09-02 08:33:15 +04:00
John Preston 74b530259d Fix color picker in userpic builder again. 2025-09-02 08:26:04 +04:00
John Preston 4052c3d101 Fix color picker in userpic builder. 2025-09-02 08:17:29 +04:00
John Preston 86262333a4 Version 6.1.1.
- Ctrl+Tab / Ctrl+Shift+Tab collect chats on every launch.
- Fix Ctrl+Tab / Ctrl+Shift+Tab shortcut override.
- Fix possible crashes in saved music.
- Fix webview error label alignment.
2025-09-01 17:53:59 +04:00
John Preston 3419b49381 Hide gift value details tooltips on click. 2025-09-01 17:52:15 +04:00
John Preston ec5725d8de Fix finalizing intersecting quotes. 2025-09-01 17:34:27 +04:00
John Preston 9df98352a8 Show correct error on gift limit reaching. 2025-09-01 17:14:55 +04:00
John Preston c0c5ad21b6 Don't push recent peers to chat switch. 2025-09-01 16:03:30 +04:00
John Preston 4a23da6ce1 Fix build with GCC. 2025-09-01 12:42:29 +04:00
John Preston 6d1e5243d8 Fix possible crash in recent chat switches. 2025-09-01 11:58:05 +04:00
John Preston c52a31384e Fix couple of possible crashes in saved music. 2025-09-01 11:57:19 +04:00
John Preston 36447eb1e3 Try fixing macOS action build. 2025-09-01 11:28:52 +04:00
John Preston 811dfee42c Separately bought upgrade doesn't auto-add details. 2025-09-01 11:23:33 +04:00
John Preston b075bb9f4e Fix checkbox in background settings. 2025-09-01 10:59:54 +04:00
John Preston 00919f3232 Support arrows in chat switch. 2025-09-01 10:27:55 +04:00
John Preston 6dcd52deb5 Support all userpic types in Switch. 2025-09-01 10:27:55 +04:00
John Preston edc70e9acb Improve phrases for currency switching. 2025-09-01 10:27:55 +04:00
John Preston 4ad12b6862 Fix alignment of webview crashed error. 2025-09-01 10:27:55 +04:00
John Preston d63f3b6da1 Fix ctrl+tab/ctrl+shift+tab as overriden shortcuts. 2025-09-01 10:27:55 +04:00
John Preston 84c70a0905 Suggest upgrading next gift. 2025-09-01 10:27:55 +04:00
GitHub Action 8f65a7ac19 Update User-Agent for DNS to Chrome 139.0.0.0. 2025-09-01 10:26:56 +04:00
dependabot[bot] c78262be91 Bump endersonmenezes/free-disk-space from 2.1.0 to 2.1.1
Bumps [endersonmenezes/free-disk-space](https://github.com/endersonmenezes/free-disk-space) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/endersonmenezes/free-disk-space/releases)
- [Commits](https://github.com/endersonmenezes/free-disk-space/compare/dd13eb48e709830a7ec4e50692e841be6b400d90...713d134e243b926eba4a5cce0cf608bfd1efb89a)

---
updated-dependencies:
- dependency-name: endersonmenezes/free-disk-space
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 10:26:29 +04:00
dependabot[bot] cb51238bfc Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 10:26:03 +04:00
John Preston 87f873c8b6 Version 6.1.
- Music on Profiles.
- Gift Themes.
- Gift Value Information.
- Upgrading Gifts for Other Users.
2025-09-01 00:05:29 +04:00
John Preston a37528b377 Fix crash in premium preview. 2025-09-01 00:05:29 +04:00
John Preston 51a58182ee Use saved music as is for now. 2025-09-01 00:05:29 +04:00
John Preston cc4b768f54 Implement nice gift theme message layout. 2025-08-31 23:04:49 +04:00
John Preston b016be6eb5 Fix emoji repaint crashing. 2025-08-31 22:18:17 +04:00
John Preston 881d73d4ab Fix build with MSVC. 2025-08-31 22:18:17 +04:00
John Preston 8859e352f9 Fix crash with widget double delete. 2025-08-31 22:06:04 +04:00
John Preston 5b0fc5b97b Fix build with Xcode. 2025-08-31 20:53:24 +04:00
John Preston 76cc59acab Show gift sticker in the background. 2025-08-31 20:53:12 +04:00
John Preston e792088ceb Insert gift pattern symbols in background. 2025-08-31 20:53:12 +04:00
John Preston 1dc70d5a8d Load gift themes while scrolling. 2025-08-31 20:53:12 +04:00
John Preston e876a0f6bd Set gift as theme from gift view. 2025-08-31 20:53:12 +04:00
John Preston 50450de3e4 Confirm transfer gift theme. 2025-08-31 20:53:12 +04:00
John Preston c8abc84c3c Put gift themes in beginning. 2025-08-31 20:53:12 +04:00
John Preston 1f3996032c Fix theme preview pattern loading. 2025-08-31 20:53:12 +04:00
John Preston b868cfdca9 Fix pattern caching on themed chat open. 2025-08-31 20:53:12 +04:00
John Preston d51944e6a5 Update API scheme on layer 214. 2025-08-31 20:53:12 +04:00
John Preston 4419ba55e8 Start gift theme background parsing. 2025-08-31 20:53:12 +04:00
John Preston 9e8ae54821 Update API scheme to layer 214. Start themes. 2025-08-31 20:53:12 +04:00
John Preston 4ed266780a Fix emoji status texts. 2025-08-31 20:53:12 +04:00
John Preston 46886b4dcc Support channel direct messages links. 2025-08-31 20:53:12 +04:00
John Preston 1e2531f0b1 Support locked gifts. 2025-08-31 20:53:12 +04:00
John Preston 0e43fd4d00 Update API scheme on layer 213. 2025-08-31 20:53:12 +04:00
John Preston 10448bcc3d Support fileref refresh in saved music. 2025-08-31 20:53:12 +04:00
John Preston 4f1c2788b8 Improve phrasing for saved music. 2025-08-31 20:53:11 +04:00
John Preston dbaa7b5e67 Allow forward / delete saved music. 2025-08-31 20:53:11 +04:00
John Preston 6211b7733d Support saved music playlist. 2025-08-31 20:53:11 +04:00
John Preston 0d6ea0845e Make nice music button in profile. 2025-08-31 20:53:11 +04:00
John Preston b8e10fb34b Proof-of-concept saved music API support. 2025-08-31 20:53:11 +04:00
John Preston b9c6e595d7 Update API scheme on layer 213. 2025-08-31 20:53:11 +04:00
John Preston 7d701d3e9c Fix upgrading of gifts with gifted upgrade. 2025-08-31 20:53:11 +04:00
John Preston 92d9c3c92b Finish gift value display. 2025-08-31 20:53:11 +04:00
John Preston 7007977891 Reuse some table values in gift table. 2025-08-31 20:53:11 +04:00
John Preston 9f5d24bbc9 Start gift value information display. 2025-08-31 20:53:11 +04:00
John Preston 2834a83eec Update API scheme on layer 212. 2025-08-31 20:53:11 +04:00
John Preston eb82473395 Update API scheme on layer 212, gift upgrades. 2025-08-31 20:53:11 +04:00
John Preston 4a33d3227e Suggest upgrading next gift. 2025-08-31 20:53:11 +04:00
John Preston 235456e18e Update API scheme to layer 212. 2025-08-31 20:53:11 +04:00
23rd 1f9e532fbc Added link to info to box about sponsored messages. 2025-08-31 00:34:07 +03:00
23rd 8bc2d3184a Added lottie icon to transcribe voices while loading. 2025-08-30 23:39:36 +03:00
23rd 9ef54d1218 Added LottieCustomEmoji. 2025-08-30 23:39:36 +03:00
23rd 7e48cb97b0 Fixed first frame animation of opening schedule section for send button. 2025-08-30 23:19:40 +03:00
23rd a226f0b58c Added toasts after review of unconfirmed authorizations. 2025-08-30 23:19:40 +03:00
23rd 65fd47a082 Fixed handle of dialogs resize for unconfirmed authorizations. 2025-08-30 23:19:40 +03:00
23rd 600b7d1d54 Slightly improved generation of stars in low credits balance list. 2025-08-30 23:19:40 +03:00
23rd b8f4d4877e Added loading animation to list of options for low credits balance. 2025-08-30 23:19:40 +03:00
23rd 6a114e1275 Added ability to provide to loading text element style::TextStyle. 2025-08-30 23:19:40 +03:00
23rd 5d3d8640e3 Added unconfirmed authorizations to top bar suggestions in dialogs. 2025-08-30 23:19:40 +03:00
23rd f09d2d22eb Added api support of new unconfirmed authorizations. 2025-08-30 23:19:40 +03:00
23rd 94ccd8f8b6 Added ability to store unconfirmed authorizations. 2025-08-30 23:19:40 +03:00
23rd c96ce890d6 Added initial struct data for unreviewed authorizations. 2025-08-30 23:19:40 +03:00
23rd de55be397b Improved style of withdrawal button in credits settings. 2025-08-30 23:19:40 +03:00
23rd 1420714cae Fixed display of "Show more" button in channel currency earn list. 2025-08-30 23:19:40 +03:00
23rd b15305bc69 Respected localized number format in statistics. 2025-08-30 23:19:40 +03:00
23rd db25b111e0 Fixed display of currency minor part from earn stats in some cases. 2025-08-30 23:19:40 +03:00
23rd eeea9932ed Removed simple colorizing of query of hash or cashtag in found messages. 2025-08-30 23:19:40 +03:00
23rd c710e9a54d Fixed display of label in self destruction box.
Fixed #29694.
2025-08-30 23:19:40 +03:00
23rd 62613e7da1 Added support of custom brush to loading element for peer list. 2025-08-30 23:19:40 +03:00
23rd 946b597471 Added support of custom bg to loading element for peer list. 2025-08-30 23:19:40 +03:00
23rd 691c55bedd Simplified master branch updater Github Action. 2025-08-30 23:19:40 +03:00
23rd 8387969467 Removed unused trigger for Github CI that updates user-agent for DNS. 2025-08-30 23:19:40 +03:00
23rd 90d21375c8 Removed ability to create todo lists in replies chat. 2025-08-30 23:19:40 +03:00
23rd 86daf2a9dc Removed ability to clear history from replies chat. 2025-08-30 23:19:40 +03:00
23rd 90473957cb Added process of error when collectible info can't be revealed. 2025-08-30 23:19:40 +03:00
23rd 3549c00141 Added ability to forward to Saved Messages on fast action with Ctrl. 2025-08-30 23:19:40 +03:00
23rd 1c1d13545b Added special check of balance on channel earn out just in case. 2025-08-30 23:19:40 +03:00
23rd f1b3db89fb Fixed hover rect of entry item in channel earn history. 2025-08-30 23:19:40 +03:00
23rd 8c77baca6f Fixed wrong focus while recording voice in sections. 2025-08-30 23:19:40 +03:00
Ilya Fedin 36a40d97a7 Update submodules 2025-08-30 17:50:39 +04:00
Ilya Fedin 1eb9b40607 Update Qt to 6.9.2 2025-08-30 17:50:39 +04:00
Ilya Fedin 05c10e3f57 Switch patches to nil plugin in snap 2025-08-30 16:04:57 +04:00
Ilya Fedin 0cf3325655 Fix macOS action 2025-08-26 07:48:17 +04:00
Ilya Fedin 48525de714 Restore icon key in snapcraft.yaml
Looks like it didn't help with themed icon after all and snapcraft chooses a 64x64 icon without it which looks blurry with HiDPI
2025-08-23 19:58:56 -07:00
John Preston 7e15722eab Beta version 6.0.3.
- Ctrl+Tab / Ctrl+Shift+Tab for last opened chats switching.
- New topic dividers for groups with topics and tabs.
- Adjust volume of notification sounds.
- Show stars required for the next rating level.
- IV support on Linux (in case WebView works).
2025-08-22 21:17:48 +04:00
John Preston 719c209c7b Fix build with Xcode. 2025-08-22 21:17:48 +04:00
John Preston d05ad44b84 Fix build with GCC. 2025-08-22 21:15:53 +04:00
Ilya Fedin b352c97479 Switch from custom URI scheme to local HTTP server for webview on Linux 2025-08-22 18:05:11 +04:00
Ilya Fedin 063085a6bb Format Linux webview socket path using std::format 2025-08-22 18:05:11 +04:00
Ilya Fedin b4bca16109 Get rid of wayland-scanner downgrade 2025-08-22 17:48:43 +04:00
John Preston 03770c52fe Support floating topic bars in forums. 2025-08-22 13:13:20 +04:00
John Preston 10fe5cdd5d Keep recent peers userpics in memory. 2025-08-22 13:06:04 +04:00
John Preston 57d459b917 Show nice topic/sublist userpics. 2025-08-22 13:06:03 +04:00
John Preston fe26594f12 Improve Ctrl+Tab switch design. 2025-08-22 13:05:27 +04:00
John Preston 0d8065fc1f First attempt of Ctrl+Tab/Ctrl+Shift+Tab UI. 2025-08-22 13:05:26 +04:00
John Preston a3cdae1e94 Fix refreshing story file reference. 2025-08-22 13:05:26 +04:00
John Preston 29d77b649b Nice selection of gifts for a collection. 2025-08-22 13:05:26 +04:00
John Preston 9e190cee81 Show next-level stars in rating. 2025-08-22 13:05:26 +04:00
John Preston 687bfd0f17 Remove some FixedHeightWidget-s. 2025-08-22 13:01:49 +04:00
23rd 7d7df4f749 Fixed display of about text in low credits balance box in some cases. 2025-08-20 12:40:16 +03:00
23rd 958dede319 Fixed active color of recording voice button. 2025-08-19 20:51:32 +03:00
23rd 76e814944d Added shortcuts to start recording of voice or round message.
Fixed #29633.
2025-08-19 16:52:48 +03:00
23rd fbc1d75e9a Added ability to start and lock voice recording immediately. 2025-08-19 16:43:47 +03:00
23rd b3c7ce05dc Added ability to send recording voice with submit key. 2025-08-19 16:43:47 +03:00
23rd feea881e09 Slightly improved position of tooltip for voice record bar. 2025-08-19 13:21:51 +03:00
23rd b978bc4876 Added ability to bottom scroll in HistoryView::Chat section with submit.
Fixed #29662.
2025-08-19 12:34:46 +03:00
23rd f84181e7a5 Added event for scrolling to bottom to compose controls. 2025-08-19 12:33:38 +03:00
John Preston 313ae0f86c Remove CenterWrap layout. 2025-08-18 17:55:20 +04:00
John Preston a39c018359 Scroll to top on global posts search. 2025-08-18 17:25:31 +04:00
John Preston a09f57d908 Fix natural width for LabelWithNumbers. 2025-08-18 17:25:31 +04:00
John Preston 596828cf78 Fix webview blocking popups. 2025-08-18 17:25:31 +04:00
23rd 44843aa9cd Added hint about archive and its features. 2025-08-18 13:26:26 +03:00
23rd 5f930cc4d1 Added initial ability to rate voice transcriptions. 2025-08-18 13:26:23 +03:00
23rd 7defad5d95 Added ability to clear history for channels and megagroups.
Fixed #28778.
2025-08-17 14:47:49 +03:00
23rd 707af8a295 Got rid Ui::CreateLabelWithCustomEmoji. 2025-08-17 14:47:49 +03:00
23rd e0fb9ffbb0 Added support of setting up of login email from intro. 2025-08-17 14:47:49 +03:00
23rd d614de6f5e Fixed display of error in cloud password section with new naturalWidth. 2025-08-17 14:47:49 +03:00
Ilya Fedin 86b94b4723 Change notification volume visibility on support change
Cross platform VolumeSupported wrapper
2025-08-17 14:47:49 +03:00
23rd 5070300050 Added ability to test on place volume of notifications. 2025-08-17 14:47:49 +03:00
23rd 1919546441 Added ability to change volume of specific notifications from settings. 2025-08-17 14:47:49 +03:00
23rd 1c3cd8d44b Added ability to change master volume of notifications from settings. 2025-08-17 14:47:49 +03:00
23rd 292296266f Added convenient utils to pass and change notifications volume from ui. 2025-08-17 14:47:49 +03:00
23rd a3e8848bc8 Added ability to check if OS has support of notifications volume. 2025-08-17 14:47:49 +03:00
23rd ced146fc63 Added session-specific settings for volume of notifications for peers. 2025-08-17 14:47:49 +03:00
23rd 6ed79f6a0d Added global settings for master volume of notifications. 2025-08-17 14:47:49 +03:00
23rd 15e4d86e92 Added ability to override volume in media audio tracks. 2025-08-17 14:47:49 +03:00
23rd 5a29a7d2a3 Moved out DefaultNotify to data_peer_notify_settings. 2025-08-17 14:47:49 +03:00
23rd 034740ce46 Removed unused PeerListWidget. 2025-08-17 14:47:49 +03:00
23rd a2847246e6 Replaced custom GroupMembersWidget with PeerList. 2025-08-17 14:47:49 +03:00
23rd 04479ad660 Moved out GroupMembersWidget to correspond file and namespace. 2025-08-17 14:47:49 +03:00
23rd 35d2fff593 Added initial support of highlighting for found query in quotes. 2025-08-17 14:47:49 +03:00
23rd 2b93fe9a30 Added simple colorizing of query in found messages from compose search. 2025-08-17 14:47:49 +03:00
23rd 5c33a2bd5c Added simple colorizing of query in found messages. 2025-08-17 14:47:49 +03:00
23rd a28f113105 Moved FindSearchQueryHighlight to use as util. 2025-08-17 14:47:49 +03:00
23rd eb7976a2ef Replaced alignment of title bar with left side for macOS 26. 2025-08-17 14:47:49 +03:00
23rd 15db1c0c30 Added ability to withdrawal personal currency balance. 2025-08-17 14:47:49 +03:00
23rd 2b83c95869 Moved out ui util for channel earn list to static function. 2025-08-17 14:47:49 +03:00
dependabot[bot] 273d5596d7 Bump endersonmenezes/free-disk-space
Bumps [endersonmenezes/free-disk-space](https://github.com/endersonmenezes/free-disk-space) from 4cae28d0d8e716a770938d92630f23db5184f61f to dd13eb48e709830a7ec4e50692e841be6b400d90.
- [Release notes](https://github.com/endersonmenezes/free-disk-space/releases)
- [Commits](https://github.com/endersonmenezes/free-disk-space/compare/4cae28d0d8e716a770938d92630f23db5184f61f...dd13eb48e709830a7ec4e50692e841be6b400d90)

---
updated-dependencies:
- dependency-name: endersonmenezes/free-disk-space
  dependency-version: dd13eb48e709830a7ec4e50692e841be6b400d90
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 17:21:13 +04:00
Ilya Fedin b423dab152 Fix Windows action execution on SDK update 2025-08-15 17:20:47 +04:00
Ilya Fedin 1b104bcf29 Update Windows SDK version 2025-08-15 17:20:47 +04:00
John Preston 5cad9a8c44 Fix build on layer 211. 2025-08-15 09:32:40 +04:00
John Preston ec8a475a2c Fix top bar selection label resizing. 2025-08-14 18:45:52 +04:00
John Preston e656cb8118 Fix vertical layout once again. 2025-08-14 18:30:17 +04:00
John Preston 7f2a0b6630 Scroll a bit further when switching tabs. 2025-08-14 18:30:01 +04:00
John Preston f9bf40a771 Fix crash in forum removal with new tabs. 2025-08-14 18:30:01 +04:00
John Preston 96360619e1 Add some asserts in stats. 2025-08-14 18:30:01 +04:00
John Preston 4cefc21819 Close forum when searching in different chat. 2025-08-14 18:30:01 +04:00
Ilya Fedin 192a56ee15 Shorter notifications proxy check for Linux notifications 2025-08-13 11:19:38 +04:00
John Preston cf16472dd0 Fix user profiles. 2025-08-13 11:18:34 +04:00
John Preston b2fb2d5821 Attempt to fix the naturalWidth feature. 2025-08-13 11:18:34 +04:00
John Preston c939eda7bb Hide "Use for calls" in Socks5 while not supported. 2025-08-13 11:18:34 +04:00
John Preston 428e059895 Write unknown cons to mtproto logs. 2025-08-13 11:18:34 +04:00
John Preston 1b4ea2e9c6 Use Api::ParseTextWithEntities more. 2025-08-13 11:18:34 +04:00
John Preston d60bfa238f Merge TWidget* into Ui::RpWidget*. 2025-08-11 13:55:16 +04:00
John Preston cc98f7da36 Fix topic unread count badges. 2025-08-11 10:36:26 +04:00
John Preston 87cdc22990 Fix marking read in new forum layout. 2025-08-11 10:36:26 +04:00
John Preston 60f6ea3252 Show informative empty posts search. 2025-08-11 10:29:11 +04:00
John Preston 86cffae001 Remove unused function. 2025-08-11 10:29:11 +04:00
John Preston 77cec0e338 Make big Upgrade button for gifts. 2025-08-11 10:29:11 +04:00
John Preston ee85bb9a1b Improve rating layout. 2025-08-11 10:29:11 +04:00
John Preston bf0b85afd1 Improve posts search transaction entry view. 2025-08-11 10:29:11 +04:00
John Preston 5473696491 Fix dice-type game display. 2025-08-11 10:29:11 +04:00
Ilya Fedin 0bc59a82ba Use symbolic links for icons in snap 2025-08-09 15:44:08 +04:00
Ilya Fedin a8430d8ecf Self-build openh264 in snap for lesser package size 2025-08-09 15:44:08 +04:00
Ilya Fedin 9672b2ec23 Use double dash consistently in snap ldflags 2025-08-09 15:44:08 +04:00
Ilya Fedin 60447f073f Partially revert "Move packages to a separate snap part"
This partially reverts commit ef2e9406c7 restoring per-part build packages so changes to them don't lead to rebuild of all parts.
2025-08-09 10:39:48 +04:00
Ilya Fedin 62329c104c Fix accidentally broken CMAKE_INSTALL_PREFIX in snap
Regression was introduced in a6a8363527
2025-08-09 10:39:48 +04:00
John Preston 536884bb46 Fix build with new Xcode. 2025-08-08 11:26:39 +04:00
John Preston efb213fb9f Fix build with latest Xcode. 2025-08-08 09:52:57 +04:00
Ilya Fedin 02b43c9375 Remove systemd-detect-virt from snap
It could be used from the core snap since hardware-observe plug was connected
2025-08-08 09:08:05 +04:00
Ilya Fedin 9a2679efaa Remove unity7 plug from snap
Looks like the desktop plug has everything needed since snapd 2.67
2025-08-08 09:07:53 +04:00
Ilya Fedin 00a396c3e7 Fix stage paths in snap 2025-08-06 07:43:33 +04:00
John Preston b4272c306d Get rid of registerImageEmoji/registerInternalEmoji. 2025-08-04 22:27:08 +04:00
John Preston b876605e93 Remove per-star options in giveaway creation. 2025-08-04 16:02:01 +04:00
John Preston 7f896a9f40 Use better ton icon in strings. 2025-08-04 12:50:24 +04:00
John Preston a96874ac55 Allow '@' in search posts queries. 2025-08-04 11:51:42 +04:00
John Preston 1f8d3ed911 Fix incorrect filesize check.
Fixes #29630.
2025-08-04 11:46:19 +04:00
23rd 56be0ef4be Fixed incorrect state of disabled calls for account in notifications. 2025-08-04 11:15:44 +04:00
John Preston 67079545b3 Ease filtering on posts search queries. 2025-08-04 11:15:09 +04:00
John Preston 54b8811843 Version 6.0.2.
- Improve design of profile stars rating.
2025-08-01 22:44:55 +04:00
John Preston 0bbfe20089 Improve pending rating info. 2025-08-01 22:09:07 +04:00
John Preston 667822ca08 Improve negative rating display. 2025-08-01 22:09:07 +04:00
Ilya Fedin 051b8c4b63 Limit malloc_trim to once per 10 seconds 2025-08-01 18:48:55 +04:00
John Preston c2f5e7eb45 Add Stories button at the bottom. 2025-08-01 18:24:12 +04:00
John Preston 45ebf7b5c6 Use separate keys for add buttons. 2025-08-01 17:47:37 +04:00
John Preston 2ccdcf8a92 Fix bad closing of suggestions. 2025-08-01 17:44:42 +04:00
John Preston 88d9fd42c4 Submit album/collection title by Enter. 2025-08-01 17:29:56 +04:00
John Preston 6d81636d1e Improve switching stories albums. 2025-08-01 17:26:44 +04:00
John Preston 22fb456d13 Fix scrolling in SubTabs. 2025-08-01 16:42:37 +04:00
John Preston 62c9666013 Show star rating preview. 2025-08-01 16:13:27 +04:00
23rd e1b2f940ad Fixed ability to reveal spoiler in title with login email pattern. 2025-08-01 16:09:13 +04:00
John Preston d2c0ec12f3 Improve negative level display. 2025-08-01 15:20:36 +04:00
John Preston 61bdbdb5d6 Fix alignment of custom verification. 2025-08-01 15:03:14 +04:00
John Preston a28ca46460 Improve rating level design. 2025-08-01 14:48:05 +04:00
John Preston 719179c1c2 Version 6.0.1.
- Fix crashing on Windows 7.
2025-08-01 11:47:00 +04:00
John Preston 1851e0c02d Show correct empty global search results. 2025-08-01 11:47:00 +04:00
John Preston 5d7ae16b4a Try fixing working on Windows 7. 2025-08-01 11:27:53 +04:00
GitHub Action 3bb8cb52f8 Update User-Agent for DNS to Chrome 138.0.0.0. 2025-08-01 11:27:43 +04:00
John Preston 3d4d3b000e Version 6.0.
- Public Post Search.
- Story Albums.
- Gift Collections.
- Profile Rating.
2025-08-01 00:15:34 +04:00
John Preston e3e97db101 Fix build with GCC. 2025-08-01 00:15:34 +04:00
John Preston 057b8d9e74 Fix build with Xcode. 2025-07-31 23:00:18 +04:00
John Preston 003e42a2ae Show nice info about star rating. 2025-07-31 22:20:19 +04:00
23rd baf932dd8b Fixed support of covers for documents in dialogs message preview. 2025-07-31 22:20:19 +04:00
23rd e2acab67e1 Fixed support of covers for documents in pinned bar and reply bar. 2025-07-31 22:20:19 +04:00
23rd 095b171db3 Added highlighting of domain part in hidden urls to confirm box. 2025-07-31 22:20:19 +04:00
23rd 9d36d7119b Added special param to links for peers to resolve them in new window. 2025-07-31 22:20:19 +04:00
John Preston 507bcbd332 Show nice global posts search button. 2025-07-31 22:20:19 +04:00
John Preston 71a15b7202 Implement global post search load-more. 2025-07-31 22:20:19 +04:00
John Preston 1718a123e8 Add NEW badge to global posts search. 2025-07-31 22:20:19 +04:00
John Preston b5c1046dca Implement paid global search requests. 2025-07-31 22:20:19 +04:00
John Preston 608481df38 Fix build in the next version of MSVC. 2025-07-31 22:20:19 +04:00
John Preston 4aab5da7ae Initial global posts search implementation. 2025-07-31 22:20:18 +04:00
John Preston 79650cf318 Support collection links. 2025-07-31 22:20:18 +04:00
John Preston 170544f68d Allow switch resale display to TON. 2025-07-31 22:20:18 +04:00
John Preston 9bc26b0068 Show correct price in gifts list. 2025-07-31 22:20:18 +04:00
John Preston 9765319027 Allow choosing Stars/TON payment. 2025-07-31 22:20:18 +04:00
John Preston 3b1c7dc5e1 Allow buying gifts resold for TONs. 2025-07-31 22:20:18 +04:00
John Preston 2a50d0856b Show correct price in resale box. 2025-07-31 22:20:18 +04:00
John Preston 23c0fcada6 Show TON icon in resale gifts. 2025-07-31 22:20:18 +04:00
John Preston aa499eab61 Allow settings gift price in TON. 2025-07-31 22:20:18 +04:00
John Preston 985324ac12 Support story album links. 2025-07-31 22:20:18 +04:00
John Preston 3c89907403 Fix last-seen-when button position. 2025-07-31 22:20:18 +04:00
John Preston 953487bb65 Display hidden state in story albums. 2025-07-31 22:20:18 +04:00
John Preston 677891d0ff Allow arbitrary order in story albums. 2025-07-31 22:20:18 +04:00
John Preston 8d2a7b00dc Implement story album management. 2025-07-31 22:20:18 +04:00
John Preston d4d4f3c082 Switch between story albums. 2025-07-31 22:20:18 +04:00
John Preston c26e8a69ca Add object_ptr::get. 2025-07-31 22:20:18 +04:00
John Preston 1c251a308a Allow loading stories in different albums. 2025-07-31 22:20:18 +04:00
John Preston c8015898ff Update API scheme on layer 211. 2025-07-31 22:20:18 +04:00
John Preston a1e36594c2 Allow creating albums of stories. 2025-07-31 22:20:18 +04:00
John Preston 043bc754ae Update API scheme to layer 211. 2025-07-31 22:20:17 +04:00
Ilya Fedin 472d9dd467 Rely on mesa-2404 libraries 2025-07-29 20:37:54 +04:00
Ilya Fedin f6a3662b0e Remove LD_LIBRARY_PATH from snap
It's not needed since Qt is linked statically
2025-07-29 20:37:54 +04:00
Ilya Fedin fb777d0c3a Another attempt to fix png theme icon ordering 2025-07-29 20:37:54 +04:00
John Preston 2a3ee968ff Fix png theme icon ordering.
Hopefully fixes #29332.
2025-07-29 14:24:54 +04:00
Ilya Fedin 0b2661ad45 Use $CRAFT_PROJECT_NAME more for consistency 2025-07-29 06:49:12 +04:00
bleizix 1dfe68e9f3 fix: cache icons in settings 2025-07-29 01:55:47 +03:00
bleizix 64b824671a fix: don't increment channel views 2025-07-29 01:55:46 +03:00
bleizix 4940d85b29 fix: AyuForward crashes & improvements 2025-07-29 01:55:43 +03:00
John Preston d458748a7a Version 5.16.6.
- Fix bad layout in box buttons.
- Fix several problems in gift collections.
2025-07-25 21:20:56 +04:00
John Preston 7f346ef606 Improve gift collections preloading. 2025-07-25 21:18:06 +04:00
John Preston ca544dbbae Fix glitch in chats search without animations. 2025-07-25 21:15:49 +04:00
John Preston 5704a07b68 Animated scroll to activated tab. 2025-07-25 21:15:47 +04:00
John Preston 5b1739246d Correctly handle gift collection updates. 2025-07-25 21:15:36 +04:00
John Preston 8ead33bc59 Fix check on new gift collection name. 2025-07-25 17:41:57 +04:00
John Preston 2f3792a3ee Fix emoji status details display. 2025-07-25 17:41:56 +04:00
John Preston 86d306632d Fix possible crash in stories state restore. 2025-07-25 17:41:55 +04:00
John Preston cc79c2cb49 Use separate lang key for All Gifts collection. 2025-07-25 17:41:54 +04:00
John Preston 26b3b13bc4 Fix edit gift collection name box. 2025-07-25 17:41:54 +04:00
John Preston bc20e65aae Support Ctrl+Shift+V "Paste as Plain Text". 2025-07-25 17:41:53 +04:00
John Preston d458bf6be3 Fix possible negative folder counters. 2025-07-25 17:41:52 +04:00
John Preston 58375f06e5 Fix buttons in non-wide-button boxes. 2025-07-25 17:41:29 +04:00
Ilya Fedin cd39853dc8 Never use LLD with non-Debug build types 2025-07-25 14:36:50 +04:00
John Preston c94a44aeb8 Fix possible crash in gift sending. 2025-07-25 11:38:25 +04:00
John Preston 237d7c1ec1 Version 5.16.5.
- Age verification support.
2025-07-25 10:21:47 +04:00
John Preston a80b67fdc9 Fix build with GCC. 2025-07-25 10:21:47 +04:00
John Preston de44c57ada Allow editing collection from three dots. 2025-07-25 10:21:47 +04:00
John Preston 448356f534 Allow editing/deleting collections. 2025-07-25 10:21:47 +04:00
John Preston 2b16b0fc7c Fix gifts display when can't manage. 2025-07-25 10:21:47 +04:00
John Preston 22515c8c29 Support gift collections editing. 2025-07-25 10:21:46 +04:00
John Preston bf050a2d5e Don't mark existing gifts as "sold out". 2025-07-25 10:21:46 +04:00
John Preston 74065714cb Fix padding for gifts list. 2025-07-25 10:21:46 +04:00
John Preston b95a39dc10 Remove swipe navigation from SubTabs. 2025-07-25 10:21:46 +04:00
John Preston bcdd202ef9 Fix build with Xcode. 2025-07-25 10:21:46 +04:00
John Preston 20ce2ead75 Take rating info url from appConfig. 2025-07-25 10:21:46 +04:00
John Preston a81b9344cf Update API scheme on layer 210. 2025-07-25 10:21:46 +04:00
John Preston a7fe004344 Load collections, request gifts in them. 2025-07-25 10:21:46 +04:00
John Preston 66e8f9865a Started gift collections. 2025-07-25 10:21:46 +04:00
John Preston 1cb4413869 Lang pack rating / premium gift features. 2025-07-25 10:21:46 +04:00
John Preston be6dbefe7c Show premium badge on gifts. 2025-07-25 10:21:46 +04:00
John Preston f655297052 Show stars rating tooltips. 2025-07-25 10:21:46 +04:00
John Preston 232c797507 Show stars rating bar. 2025-07-25 10:21:46 +04:00
John Preston 25d4a9c7a6 Parse current stars rating values. 2025-07-25 10:21:46 +04:00
John Preston 65e3111e35 Use real cloud lang. 2025-07-24 08:56:13 +04:00
John Preston 048d995922 Add weak_qptr to stdafx.h 2025-07-24 08:56:13 +04:00
John Preston dcac27e072 Make sure colors are ready for webview. 2025-07-23 11:41:03 +04:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston 321c7120df Censor 18+ marked stickers as well. 2025-07-23 11:40:37 +04:00
John Preston 4b85c9e2df Add spoilers to shared GIFs. 2025-07-23 11:40:37 +04:00
John Preston 62aec34507 Fix crash in official verify age bot open. 2025-07-23 11:40:37 +04:00
John Preston 427487c598 Verify age in sensitive toggle settings. 2025-07-23 11:40:37 +04:00
John Preston ccb8c43961 Support age verification for sensitive media. 2025-07-23 11:40:37 +04:00
John Preston fee892f9a2 Call completionHandler if open panel was cancelled. 2025-07-23 11:40:37 +04:00
John Preston 9b990728f6 Update API scheme to layer 210. 2025-07-23 11:40:37 +04:00
John Preston 9b490c9552 Fix unrelated stories on top. 2025-07-23 11:40:37 +04:00
23rd 133effef0e Added sound notification when recording of group call is started. 2025-07-23 11:40:37 +04:00
23rd 15706a7af8 Fixed ability to use PageDown/PageUp in section for pinned messages. 2025-07-23 11:40:36 +04:00
23rd 2a15faf12e Fixed incorrect display of no-chats label in dialogs while search mode. 2025-07-23 11:40:36 +04:00
23rd 9149792846 Aligned collapsed rows for folders to main menu button. 2025-07-23 11:40:36 +04:00
23rd c90c53c878 Aligned first tab of slider in dialogs widget to main menu button. 2025-07-23 11:40:36 +04:00
23rd e6387738ce Slightly improved style of top bar suggestions. 2025-07-23 11:40:36 +04:00
23rd 3882690ee1 Removed transcribe button from voice and round messages in admin log. 2025-07-23 11:40:36 +04:00
Ilya Fedin 4c049d0d75 Use Windows SDK version specified in build instruction 2025-07-22 15:37:59 +04:00
Ilya Fedin e070af3163 Limit malloc_trim to once per second 2025-07-21 07:51:48 +04:00
Ilya Fedin 1c35a91d13 Remove -s where unneeded in snap
This has no sense with static libraries
2025-07-18 09:34:07 +04:00
Ilya Fedin 4c20e79d1f Update rnnoise to 0.2 in snap 2025-07-18 09:34:07 +04:00
Ilya Fedin 669f46d6a1 Try to fix snap build on armhf 2025-07-18 09:34:07 +04:00
Ilya Fedin ea89a9f706 Free more disk space in snap action 2025-07-16 10:45:24 +04:00
Ilya Fedin 918985449b Self-build avif in snap for lesser package size 2025-07-16 10:45:24 +04:00
Ilya Fedin 18ab93a9f6 Self-build openal in snap for lesser package size 2025-07-16 10:45:24 +04:00
Ilya Fedin a6a8363527 Self-build ffmpeg in snap for lesser package size 2025-07-16 10:45:24 +04:00
Ilya Fedin 90edb0903d Use only jpegli from self-built libjxl in snap 2025-07-16 10:45:24 +04:00
Ilya Fedin ba1274ff3a Build all deps statically in snap for lesser package size 2025-07-16 10:45:24 +04:00
Ilya Fedin 60f91bff50 Stop priming static libs completely in snap 2025-07-16 10:45:24 +04:00
Ilya Fedin ef2e9406c7 Move packages to a separate snap part 2025-07-16 10:45:24 +04:00
Ilya Fedin 3d6783597f Optimize geoclue dependency in snap
It depends on entire daemon and brings unneeded dependencies that make the package way bigger
2025-07-16 10:45:24 +04:00
Ilya Fedin 7cab32f71b Switch snap to the gnome extension 2025-07-16 10:45:24 +04:00
Ilya Fedin 78a72b42b0 Don't stage unused boost-regex shared library in snap 2025-07-16 10:45:24 +04:00
AlexeyZavar 157039946f fix: allow copying inline button links 2025-07-16 00:33:27 +03:00
AlexeyZavar 09083beed0 fix: entities serialization 2025-07-16 00:00:55 +03:00
AlexeyZavar 8aa6c4582c fix: rename hide reactions
The logic is inverted everywhere, e.g. when `hideGroupReactions` is true, it's actually meant to show, not hide
2025-07-15 23:40:16 +03:00
AlexeyZavar aeb610ff70 feat: copy pack ID & copy single emoji ID 2025-07-15 23:29:37 +03:00
AlexeyZavar 1586386d6c fix: hide panel if reactions are hidden 2025-07-15 22:48:47 +03:00
AlexeyZavar 2eee51f891 fix: tray dot misalignment 2025-07-15 22:07:14 +03:00
AlexeyZavar adf46969ca chore: update nlohmann json 2025-07-15 21:33:19 +03:00
AlexeyZavar bd6ee188f8 chore: update sqlite3 2025-07-15 21:20:05 +03:00
AlexeyZavar 57893bdbf8 chore: update devs list 2025-07-15 21:17:14 +03:00
AlexeyZavar 7a37ab1b25 fix: message seconds on linux 2025-07-15 21:06:09 +03:00
AlexeyZavar 72618f98d1 fix: message field configuration in forums 2025-07-15 20:26:29 +03:00
AlexeyZavar d98e6fd51e fix: disable video ads 2025-07-15 19:48:19 +03:00
bleizix 608bcf7d42 feat: save deleted entities 2025-07-15 17:47:25 +03:00
bleizix 06d8d14ad7 fix: AyuForward crashes 2025-07-15 17:40:17 +03:00
AlexeyZavar aef400db0f fix: message shot layout 2025-07-15 17:27:28 +03:00
AlexeyZavar cdfdaf9f5f fix: make it build 2025-07-15 17:22:19 +03:00
AlexeyZavar 5270f155ff Merge tag 'v5.16.4' into dev 2025-07-15 16:48:06 +03:00
John Preston 0514f13af0 Version 5.16.4.
- Fix problem with negative unread counters.
- Fix stars values display in statistics.
- Fix crash in messages fee disabling.
2025-07-14 20:51:13 +04:00
John Preston e6a6763228 Fix build with GCC. 2025-07-14 20:51:13 +04:00
23rd 38c74bf2cf Added lottie icon and button to dialogs widget when dialogs are empty. 2025-07-14 19:42:17 +04:00
John Preston a770e47575 Fix build with Xcode. 2025-07-14 19:07:05 +04:00
John Preston c998352ab7 Possibly fix a crash in subsection tabs.
Fixes #29550.
2025-07-14 18:30:59 +04:00
John Preston 3683fa3814 Remove paid message service info in groups. 2025-07-14 17:40:30 +04:00
John Preston e62881e08b Fix blocking users in channel direct messages.
Fixes #29549.
2025-07-14 17:15:25 +04:00
John Preston 01e313e56b Fix crash after deleting sublist.
Fixes #29548.
2025-07-14 15:40:14 +04:00
John Preston 2dd5f80468 Allow transferring gifts to channels. 2025-07-14 14:29:31 +04:00
John Preston 275fb3e96a Fix actions for converted gifts. 2025-07-14 14:24:41 +04:00
John Preston 3463916b9b De-duplicate icon for checklist task adding. 2025-07-14 14:24:08 +04:00
John Preston a20de2515a Fix text-send permissions in groups.
Fixes #29546.
2025-07-14 13:58:38 +04:00
John Preston 79ea992a0f Suggest relevant min price for gift resale. 2025-07-14 13:28:57 +04:00
John Preston 0132436dc8 Move the NEW badge to gifts (market). 2025-07-14 11:29:57 +04:00
John Preston a285c1abec Fix unsupported filtering in monoforum export.
Fixes #29545.
2025-07-14 11:21:14 +04:00
John Preston 1c41e01f0d Update API scheme to layer 209. 2025-07-14 09:54:04 +04:00
John Preston f2e53ea490 Try scrolling to the task on jump. 2025-07-11 19:26:01 +04:00
John Preston bff86b90fb Highlight tasks from reply/service messages. 2025-07-11 19:26:01 +04:00
John Preston b5c9b6f552 Make and display replies to tasks. 2025-07-11 19:26:01 +04:00
John Preston 23f5102f1b Update API scheme to layer 208. 2025-07-11 19:26:01 +04:00
John Preston bf51e911b8 Fix unread counters with monoforums.
Fixes #29544.
2025-07-11 19:26:00 +04:00
John Preston 4039d7ab71 Update tgcalls. 2025-07-11 19:26:00 +04:00
John Preston 77a09a0e59 Fix some search options. 2025-07-11 19:26:00 +04:00
John Preston 154c777788 Improve formatting for some strange cases. 2025-07-11 19:26:00 +04:00
John Preston 628c36c87d Fix crash in the private fee disable. 2025-07-11 19:26:00 +04:00
John Preston a746b7abcf Fix reactions in media-only service messages.
Fixes #29543.
2025-07-11 19:26:00 +04:00
John Preston 64184e6c90 Support controls on sponsored in video. 2025-07-11 19:26:00 +04:00
John Preston ecc955d2ce Show sponsored messages in video. 2025-07-11 19:26:00 +04:00
John Preston f7e1b2c70c Fix build with QT_VERSION_MAJOR provided. 2025-07-11 19:26:00 +04:00
John Preston 284cbda7c0 Track shown sponsored in video. 2025-07-11 19:26:00 +04:00
John Preston e5ca9e4c39 Ability to request video ads. 2025-07-11 19:26:00 +04:00
John Preston 02aaa71e78 Fix updating sublist chats in Saved Messages.
Fixes #29448.
2025-07-11 19:26:00 +04:00
AlexeyZavar f56b5ea03e fix: forward box crash
Co-authored-by: mmlo <eu@memelo.dev>
2025-07-10 14:43:33 +03:00
John Preston 6afd4dcdd1 Fix stats values display. 2025-07-09 09:33:50 +04:00
23rd 52bb189996 Fixed possible crash when paste invalid proxy link to proxy box. 2025-07-09 09:33:50 +04:00
AlexeyZavar aafdac6da4 fix: localization variables loading 2025-07-09 01:20:57 +03:00
AlexeyZavar bd202fce21 fix: make it build 2025-07-09 00:03:21 +03:00
AlexeyZavar f450001edb Merge tag 'v5.16.3' into dev 2025-07-09 00:02:08 +03:00
John Preston 8ff6f9af45 Remove unused DELAYLOAD. 2025-07-08 23:24:48 +04:00
John Preston 36bb1d0cf3 Version 5.16.3.
- Allow removing / charging fee in channel direct messages.
- Don't offer creating checklists in channels.
- Support author channel in gifts.
2025-07-08 22:44:40 +04:00
John Preston c7c8e39e20 Fix build with Xcode. 2025-07-08 22:44:40 +04:00
John Preston 8e9630459b Add session_id to mtproto logs. 2025-07-08 21:32:49 +04:00
Ilya Fedin 1c53fca925 Remove unused yasm dependency from snap 2025-07-08 20:38:51 +04:00
Ilya Fedin 7d78de0673 Get rid of QT_GENERATE_SBOM=OFF 2025-07-08 20:38:51 +04:00
John Preston f8acc55365 Remove checklist creation in broadcasts. 2025-07-08 20:29:44 +04:00
John Preston c3157fe90d Fix incorrect dc for stars revenue requests. 2025-07-08 20:29:43 +04:00
John Preston 35b129287b Support RemoveFee/ChargeFee in monoforums. 2025-07-08 20:29:43 +04:00
John Preston d05155a403 Show who released the gift. 2025-07-08 20:29:43 +04:00
AlexeyZavar e5ca216c99 fix: make it build 2025-07-07 02:56:10 +03:00
AlexeyZavar 13a96ee1d3 Merge tag 'v5.16.2' into dev 2025-07-07 01:23:33 +03:00
AlexeyZavar 12879207ef fix: restrict saving content toggle 2025-07-07 00:59:02 +03:00
bleizix e097a5de58 feat: implement AyuForward 2025-07-06 23:54:45 +03:00
Neurotoxin001 0cd2617576 feat: delete own messages from groups 2025-07-06 21:07:32 +03:00
AlexeyZavar 6c303b8f87 chore: update README 2025-07-06 18:55:27 +03:00
AlexeyZavar 91224d8a1c fix: use tgdatabase bot again 2025-07-06 18:50:10 +03:00
AlexeyZavar 48e961392d fix: allow saving paid media 2025-07-06 18:09:54 +03:00
AlexeyZavar 5b08a1adfb chore: update langs 2025-07-06 17:37:35 +03:00
Neurotoxin001 3bbb9daa34 feat: disable reactions in channels and groups 2025-07-06 17:22:26 +03:00
AlexeyZavar 3f5f17705d feat: select multiple chats by holding ctrl or shift in forward box 2025-07-06 11:01:34 +03:00
John Preston f0aca45b11 Update API scheme on layer 207. 2025-07-04 21:31:20 +04:00
John Preston d205e3b4a3 Version 5.16.2.
- Fix crash in some checklists.
- Fix problems with some private chats message sending.
- Fix chats list preview for rejected/balance-low suggestions.
2025-07-04 20:23:44 +04:00
John Preston 8b40a77297 Fix build. 2025-07-04 20:23:37 +04:00
John Preston a7e87cc722 Try reducing self userFull requests. 2025-07-04 17:57:37 +04:00
John Preston 09f106bd49 Remove .00 from credits amount. 2025-07-04 17:57:35 +04:00
John Preston 8a0869fb75 Fix phrases for rejected/failed suggestion. 2025-07-04 17:56:35 +04:00
John Preston 7ccf26310d Fix spoilers in todo lists. 2025-07-04 17:51:02 +04:00
23rd e1420ba26c Decreased size of ministars for buttons in media for history view. 2025-07-04 09:46:09 +03:00
23rd c693c9cd44 Fixed history list of earn channel for currency. 2025-07-03 22:13:38 +03:00
GitHub Action e698557092 Update User-Agent for DNS to Chrome 137.0.0.0. 2025-07-03 17:46:26 +04:00
John Preston 1238c90450 Fix crash in Todo Lists. 2025-07-03 13:52:54 +04:00
John Preston e991dca5a0 Version 5.16.1.
- Fix inline keyboard updating in bot messages.
- Fix possible crash in fast chat switching.
- Different minor fixes.
2025-07-02 17:32:50 +04:00
23rd 37093c9f33 Slightly improved mini stars for button in history view premium gifts. 2025-07-02 17:32:50 +04:00
John Preston 1dd4f62ece Fix editing direct message prices. 2025-07-02 17:32:50 +04:00
Ilya Fedin 9ec27aad53 Update patches 2025-07-02 17:24:38 +04:00
Ilya Fedin f1d3a946d5 Get rid of libtgvoip leftovers 2025-07-02 17:24:38 +04:00
John Preston fd24f7045e Fix editing price per message. 2025-07-02 12:36:07 +04:00
John Preston 33671e7737 Save correct starsPerMessage for admins. 2025-07-02 12:04:29 +04:00
John Preston 13ecc6a56b Use separate phrase for Update Time. 2025-07-02 12:04:01 +04:00
23rd 20815eecbc Fixed request of recent gifts only when peer has gifts. 2025-07-02 10:18:22 +03:00
23rd f2f5ffd861 Moved out Type of ministars from class to separated enum class. 2025-07-02 10:18:22 +03:00
John Preston b0971601b1 Add distinct item for Poll in menu. 2025-07-02 11:15:48 +04:00
23rd 7253d764d2 Guarded requests of recent gifts for button from shared media section. 2025-07-02 11:05:48 +04:00
23rd 71f3a1f7cf Fixed wrong duplicated gifts in button from shared media section. 2025-07-02 11:05:41 +04:00
John Preston 950659b29d Fix aggregate checklists updates. 2025-07-02 10:57:20 +04:00
John Preston b4392d0e3c Update cmake submodule. 2025-07-02 10:27:14 +04:00
John Preston 4571302642 Fix usd values in stats. 2025-07-02 10:08:12 +04:00
Ilya Fedin 5121f04d66 Remove jemalloc 2025-07-02 09:38:24 +04:00
Ilya Fedin 77642d2876 Limit the amount of malloc arenas and call malloc_trim periodically with glibc
To prevent excessive memory usage looking like memory leak
2025-07-02 09:38:24 +04:00
John Preston ef69796798 Fix bot buttons refresh. 2025-07-02 07:20:51 +04:00
John Preston 869854fbc2 Version 5.16: Fix build with GCC. 2025-07-01 23:53:52 +04:00
John Preston 4584d912cc Version 5.16.
- Create private and group checklists.
- Suggest Posts in Channels.
- Monetizing via Suggested Posts.
2025-07-01 23:05:11 +04:00
John Preston ddd3d38dac Use more separate phrases. 2025-07-01 23:00:40 +04:00
John Preston fcba6bc7d7 Fix first days of some months. 2025-07-01 22:20:09 +04:00
John Preston a147c0fb4f Update API scheme on layer 206. 2025-07-01 22:10:30 +04:00
John Preston c3cc3fa9bd Separate phrase for paid messages placeholder. 2025-07-01 22:10:14 +04:00
23rd 0f0e14132a Added ability to copy and paste proxy list with shortcuts. 2025-07-01 19:33:25 +04:00
23rd a2c2ed0b4a Added ability to clear proxy list from top context menu in settings. 2025-07-01 19:33:25 +04:00
23rd 8bebca4502 Added ability to share your proxy list with clipboard. 2025-07-01 19:33:25 +04:00
23rd e9a550d458 Added ability to add proxies list from clipboard. 2025-07-01 19:33:25 +04:00
23rd bee567f2b1 Added transaction id info to channel earn history entries. 2025-07-01 19:33:25 +04:00
23rd 0fd7061671 Replaced Data::EarnHistoryEntry with Data::CreditsHistoryEntry. 2025-07-01 19:33:25 +04:00
23rd 96951576c1 Fixed credits display in statistic charts. 2025-07-01 19:33:24 +04:00
John Preston a665d7cc3c Show USD estimate in suggest posts. 2025-07-01 19:32:49 +04:00
John Preston 9b989329d4 Fix muted state of monoforums. 2025-07-01 15:59:20 +04:00
John Preston eccfd75a83 Scroll to active tab in subsection tabs. 2025-07-01 15:10:21 +04:00
John Preston 7e8a152eef Fix crash in topic links opening. 2025-07-01 14:39:28 +04:00
John Preston 44810f95a5 Fix clearing history in legacy groups. 2025-07-01 14:12:35 +04:00
John Preston bcd42dbb6a Block forwarded todo lists. 2025-07-01 13:01:29 +04:00
John Preston 6e77126a65 Fix task completion date tooltip. 2025-07-01 12:29:00 +04:00
John Preston 735bbef655 Fix phone/card click handler generation. 2025-07-01 12:23:55 +04:00
John Preston 7006a07dd3 Show completed-by names in tasks. 2025-07-01 12:10:08 +04:00
John Preston 7284926db4 Support links in tasks. 2025-07-01 11:26:56 +04:00
John Preston b506bf9506 Fix webpage preview glitch in small bubbles. 2025-07-01 11:05:02 +04:00
John Preston 3fea28f8b0 Warn admins about commission and stars. 2025-06-30 22:23:55 +04:00
John Preston cc6649667c Revert "Get rid of /DELAYLOAD"
This reverts commit 6586791655.
2025-06-30 18:29:28 +04:00
John Preston 24121fbbce Improve conditions / phrases. 2025-06-30 18:26:53 +04:00
John Preston ef280dae3e Open ready-preloaded TON section. 2025-06-30 16:56:42 +04:00
John Preston 49f580a36b Use better file origin for gift stickers. 2025-06-30 13:27:13 +04:00
John Preston a56d2b1313 Better handle min in linked channels. 2025-06-30 13:22:04 +04:00
John Preston f083180401 Support correct sitckers for TON gifts. 2025-06-30 12:32:33 +04:00
23rd 7b870edefa Added specific color for blue currency icon. 2025-06-30 11:22:08 +03:00
23rd a293fa1de6 Replaced std::map with flat_map for selected items in history list. 2025-06-30 10:55:25 +03:00
23rd 3a8898dd24 Added ability to share proxy with QR code. 2025-06-30 10:55:25 +03:00
23rd b97c8b9a17 Fixed order of saving grouped media from bulk download menu item. 2025-06-30 10:55:25 +03:00
23rd a0a8d76441 Proceeded returned earn history entries as inbound. 2025-06-30 09:51:53 +03:00
23rd 9199612cf7 Slightly improved macOS build docs by adding storage requirements. 2025-06-30 01:01:15 +03:00
23rd abfd37c045 Added suffix to version string for debug builds. 2025-06-29 23:40:24 +03:00
23rd ac243136b9 Replaced AboutBox with generic box. 2025-06-29 23:40:24 +03:00
23rd c93e948bb3 Added support of maximum amount of credits to withdraw from app config. 2025-06-29 22:34:46 +03:00
23rd 388803ffdb Fit transactions id from credits history entries to table cell. 2025-06-29 22:34:46 +03:00
23rd a809ccf229 Added support of special sticker pack for currency history entries. 2025-06-29 22:34:46 +03:00
23rd d1796a515e Fixed comparing of credits amount with different types. 2025-06-29 22:34:46 +03:00
23rd a11d3efed6 Added support of usd rate for withdrawal from app config. 2025-06-29 22:34:46 +03:00
Neurotoxin001 a8fb7cd225 fix: hide messages group 2025-06-29 22:28:41 +03:00
23rd 9d7aab4326 Added initial support of personal earn currency history. 2025-06-29 21:14:20 +03:00
23rd a3b76fed4c Added initial implementation of section for personal currency settings. 2025-06-29 21:14:20 +03:00
23rd 21f5f96d69 Added entry point to section of personal currency settings. 2025-06-29 21:14:20 +03:00
23rd 70d3061d59 Added support of lottie icon to premium top bar. 2025-06-29 21:14:20 +03:00
23rd 8f7a66a21a Improved spell checking on macOS. 2025-06-29 21:14:20 +03:00
23rd cd8e944751 Added recent gifts to section of shared media from info profile. 2025-06-29 21:14:20 +03:00
23rd 66e05594f6 Fixed display of top bar suggestion on premium value changed. 2025-06-29 21:14:20 +03:00
23rd d06a9e2e5c Added missing shortcut to toggle fullscreen for windows on macOS. 2025-06-29 21:14:20 +03:00
23rd 64df9222dd Added handle of flood errors on requesting to check chat invite.
Fixed #29368.
2025-06-29 21:14:20 +03:00
23rd 900ac46583 Moved out gifts from userpic to description in credits history list. 2025-06-29 21:14:20 +03:00
23rd fda1c8399f Added icon to big button in credits settings. 2025-06-29 21:14:20 +03:00
23rd c2cd4fc75f Improved style of credits settings. 2025-06-29 21:14:20 +03:00
23rd ef5a9eb777 Added some utils to convenient insert of credits icons to text labels. 2025-06-29 21:14:20 +03:00
23rd 8e3100acdd Added ability to provide max width to about label in premium top bar. 2025-06-29 21:14:20 +03:00
23rd 50d74fcf25 Fixed build with layer 206. 2025-06-29 21:14:20 +03:00
John Preston 140862ce5a Update API scheme on layer 206. 2025-06-29 20:42:52 +03:00
John Preston 966453dd8f Update scheme on layer 206. Build broken. 2025-06-27 22:54:34 +04:00
John Preston fcd37adc38 Fix build with Xcode. 2025-06-27 22:53:37 +04:00
John Preston 6a3989488e Fix possible crash in quick replies. 2025-06-27 21:29:39 +04:00
John Preston fbfdef8f9a Remove balance for admins changing prices. 2025-06-27 21:29:39 +04:00
John Preston b66c61573f Make counter-suggestions link originals. 2025-06-27 21:29:39 +04:00
John Preston 9186b28b60 Fix suggest of a forward. 2025-06-27 21:29:39 +04:00
John Preston 915a1b105c Add balance of stars / TON. 2025-06-27 21:29:39 +04:00
John Preston 12b9b3ce71 To-Do List -> Checklist. 2025-06-27 21:29:39 +04:00
John Preston deb4c48551 Server-side min/max values for TON suggests. 2025-06-27 21:29:39 +04:00
John Preston 9dfaac8582 Optimize some request channel full requests. 2025-06-27 21:29:39 +04:00
John Preston bd5b9f5347 Make less channel full requests. 2025-06-27 21:29:39 +04:00
John Preston ff4b9a3cfe Improve suggest post UI. 2025-06-27 21:29:35 +04:00
John Preston e844d7ed89 Use phrase from lang.strings for TON gift. 2025-06-27 21:29:35 +04:00
John Preston f3ae8f7f75 Fix styles in discussion group management. 2025-06-27 21:29:35 +04:00
John Preston f137eddbf9 Use correct premium promo for To-Do Lists. 2025-06-27 21:29:35 +04:00
John Preston c70f75b21a Add Stars/TON checks to suggestions. 2025-06-27 21:29:35 +04:00
John Preston 141fb875f9 Add icons to suggestion buttons. 2025-06-27 21:29:35 +04:00
John Preston 344d47e7dd Fix stars amount check. 2025-06-27 21:29:35 +04:00
John Preston 4840a9094b Check amounts of stars/TON. 2025-06-27 21:29:35 +04:00
John Preston 6f305c8974 Improve layout in suggested price box. 2025-06-27 21:29:35 +04:00
John Preston c83bae3bb5 Use correct icon in post suggesting. 2025-06-27 21:29:35 +04:00
John Preston 4c1b962486 Support adding an offer to existing message. 2025-06-27 21:29:35 +04:00
John Preston b929e2a7b2 Update API scheme on layer 160, show correct warnings. 2025-06-27 21:29:35 +04:00
John Preston 1ecd7aa7cf Implement suggestion of changes. 2025-06-27 21:29:34 +04:00
John Preston 881aed50ea Support _suggestOptions for changes in ComposeControls. 2025-06-27 21:29:34 +04:00
John Preston 6272b79f70 Allow suggesting with TON. 2025-06-27 21:29:34 +04:00
John Preston 0fa50f1951 Update API scheme on layer 206. 2025-06-27 21:29:34 +04:00
John Preston dc19f2e76c Start suggesting changes to messages by editing. 2025-06-27 21:29:34 +04:00
John Preston 498116c3f6 Show correctly change suggestions. 2025-06-27 21:29:34 +04:00
John Preston e29dcf7489 Update API scheme on layer 206. Re-Suggest. 2025-06-27 21:29:34 +04:00
John Preston ec28eea7f0 Make keyboard fully shown with media. 2025-06-27 21:29:34 +04:00
John Preston ebce4d0f31 Show suggested service info. 2025-06-27 21:29:34 +04:00
John Preston bf9492e083 Show approve/decline service messages. 2025-06-27 21:29:34 +04:00
John Preston cb987c1baf PoC suggested accept/decline. 2025-06-27 21:29:34 +04:00
John Preston e4a4be1f53 Don't show visibility status in opened-by-link gifts. 2025-06-27 21:29:34 +04:00
John Preston f6d1fe6c04 Update API scheme on layer 206. 2025-06-27 21:29:34 +04:00
John Preston 7e5a29a5cc PoC suggesting posts to channels. 2025-06-27 21:29:34 +04:00
John Preston 8dbc175c02 Update API scheme on layer 206. 2025-06-27 21:29:33 +04:00
John Preston 0473374d51 Allow admin sending to monoforum for free. 2025-06-27 21:29:33 +04:00
John Preston b2d7342b9e Attempt to fix monoforum muted setting. 2025-06-27 21:29:33 +04:00
John Preston b965aecc6c Update API scheme to layer 206. 2025-06-27 21:29:33 +04:00
John Preston 9290c90bdc Allow fully editing todo lists. 2025-06-27 21:29:33 +04:00
John Preston d83a80ec53 Improve adding tasks to todo lists. 2025-06-27 21:29:33 +04:00
John Preston 248fe1b53f Add tasks to todo lists. 2025-06-27 21:29:33 +04:00
John Preston bf217bf7aa Check premium for todo lists actions. 2025-06-27 21:29:33 +04:00
John Preston e5de8e22b7 Add fireworks on ending a task list. 2025-06-27 21:29:33 +04:00
John Preston 5666e84d92 Add ability to create todo lists. 2025-06-27 21:29:33 +04:00
John Preston a97d1b8669 Support task lists view/update/actions. 2025-06-27 21:29:33 +04:00
John Preston 06db13a0ab Update API scheme to layer 205. 2025-06-27 21:29:33 +04:00
John Preston 9832af7cce Show messages from channels in monoforums. 2025-06-27 21:29:32 +04:00
Yagiz Nizipli cf4a617f2b update ada-url to v3.2.4 (#29353) 2025-06-27 09:56:01 -07:00
Sean Wei 5a6a5fd4d1 Change const T&& parameters to T&& to enable proper move semantics
Previously some constructors/functions used `const T&&`, which prevents
calling the move constructor. This commit removes the `const` qualifier
so that `std::move` actually performs a move.
2025-06-27 20:50:08 +04:00
Ilya Fedin e6ebc19b4f Switch qt snapcraft part to cmake plugin 2025-06-27 20:49:30 +04:00
Neurotoxin001 2250fe75c4 fix: use custom serialization for settings
The error occurred when adding a new fields, for example showForwards, to the AyuGramSettings class. The NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT macro was used for serialization, which works correctly only when the number of parameters is up to 64. After extending the structure, the macro failed to expand and the compiler started generating messages about undefined identifiers like NLOHMANN_JSON_TO.

The fix was to replace the problematic macro with manual implementation of to_json and from_json functions. For each field, it is now explicitly specified how to serialize and deserialize it, which eliminates the limitation on the number of arguments. Additionally, auxiliary macros NLOHMANN_JSON_TO, NLOHMANN_JSON_FROM and NLOHMANN_JSON_FROM_WITH_DEFAULT have been declared in case they are absent in the header file used.

More info: https://json.nlohmann.me/api/macros/nlohmann_define_type_intrusive/#notes
2025-06-26 19:08:41 +03:00
AlexeyZavar e27b1840c6 chore: update README
Co-authored-by: Max Balashov <rsg245@yandex.com>
2025-06-26 18:57:24 +03:00
Neurotoxin001 717d197998 fix: image order when downloading albums 2025-06-26 18:36:25 +03:00
Ilya Fedin 02dd0dbbef Push Docker image to GHCR again 2025-06-24 08:47:28 +04:00
John Preston 2e4a437d32 Version 5.15.4.
- Fix updating messages in Saved Messages subchats.
- Fix possible issues with mouse cursor on Linux.
2025-06-12 22:07:05 +04:00
John Preston 63e1d6dab6 Fix saved messages sublists updates. 2025-06-12 22:07:02 +04:00
Daniel Novomeský 23133499c7 Update dav1d, openh264, libwebp, libavif, libde265, libheif 2025-06-10 08:56:12 +04:00
Ilya Fedin 67bd87b50c Prevent non-Qt harfbuzz/libpng from being linked 2025-06-10 08:55:58 +04:00
Ilya Fedin 6d31a4246f Fix default cursor path 2025-06-09 20:24:09 +04:00
John Preston d4f38b6d66 Version 5.15.3: Revert cmake_helpers downgrade. 2025-06-09 11:05:47 +04:00
John Preston 959229f143 Version 5.15.3.
- Fix new contact top bar appearance.
- Remove change photo button for channel direct messages.
2025-06-09 09:39:02 +04:00
John Preston 22f9b1a0b1 Hide photo change button for monoforums. 2025-06-09 09:37:51 +04:00
John Preston a8fc5a722f Fix display of contact status. 2025-06-09 09:37:51 +04:00
AlexeyZavar 69420f5750 chore: refactor & reformat settings 2025-06-08 11:00:04 +03:00
AlexeyZavar 20976ac9f9 fix: ttl messages destroying 2025-06-06 21:27:39 +03:00
AlexeyZavar dc33accae7 chore: update sqlite3 2025-06-06 11:38:15 +03:00
AlexeyZavar 29d1f1f14a fix: copy sticker owner ID if not found 2025-06-06 11:37:52 +03:00
Ilya Fedin 6102119673 Update cmake_helpers 2025-06-06 11:14:06 +04:00
Ilya Fedin 0c635a05ff Allow overriding jobs count in Dockerfile 2025-06-06 11:14:06 +04:00
Ilya Fedin 307a7791df Set Implib commit 2025-06-06 11:14:06 +04:00
Ilya Fedin 49b056a0ce Update xcb libraries to avoid freedesktop's anongit 2025-06-06 11:14:06 +04:00
Ilya Fedin af58ffadcb Use cache action for Docker layers cache 2025-06-06 11:13:56 +04:00
John Preston dcbda7b3af Version 5.15.2.
- Fix sending messages in new forum layout.
- Add statistics for user stars.
2025-06-05 22:55:29 +04:00
John Preston 553cc0c6ae Fix new forum messages sending. 2025-06-05 21:26:50 +04:00
23rd 067dcbfbeb Added initial entry point for self statistics of credits. 2025-06-05 19:59:02 +03:00
23rd 759258bb39 Added support of statistics availability to Credits component. 2025-06-05 19:49:25 +03:00
John Preston 3667ef551c Version 5.15.1.
- Fix launch on Windows 7.
- Fix launch on older Linux distributions.
- Fix crash in group chat message right click.
- Fix unread counters in channel direct messages.
- Don't generate "User joined" message in channel direct messages.
- Fix some other glitches in new forums and channel direct messages.
2025-06-05 19:08:28 +04:00
Ilya Fedin a3308087a5 Fix static libstdc++ link 2025-06-05 16:57:04 +04:00
John Preston bfb4652425 Realtime update admin status in members list. 2025-06-05 16:09:41 +04:00
John Preston 03c24e2906 Show better monoforum chat info column. 2025-06-05 15:29:26 +04:00
John Preston dc61faace1 Handle disabling direct messages in channel. 2025-06-05 15:29:26 +04:00
John Preston 73ea86ceeb Improve monoforum chat profiles. 2025-06-05 14:24:30 +04:00
John Preston 9a622ab466 Add view channel button to monoforum info. 2025-06-05 14:09:03 +04:00
John Preston 65cfd6c81c Fix new forum layout search and topics list. 2025-06-05 13:55:55 +04:00
John Preston 08681ac1b9 Show join requests in new forums layout. 2025-06-05 13:39:33 +04:00
John Preston f9acb5d19b Fix activation of wrong tab after new window. 2025-06-05 13:00:14 +04:00
John Preston e9e187c58b Ctrl+Click to open subsection in a new window. 2025-06-05 12:54:59 +04:00
John Preston 3bc20c3550 Save last opened subsection within a launch. 2025-06-05 12:47:16 +04:00
John Preston 4b25406d14 Remove delay when switching subsection tabs. 2025-06-05 12:19:27 +04:00
John Preston 265b7904a8 Fix blockquote/code captions to media in reply bar. 2025-06-05 12:10:31 +04:00
John Preston fb2274c58d Fix glitch in new forum layout opening. 2025-06-05 12:04:28 +04:00
John Preston 3cfdc9d897 Fix setting group emoji status. 2025-06-05 11:40:05 +04:00
John Preston 11986ac698 Show star in channel direct messages settings. 2025-06-05 11:33:43 +04:00
John Preston a08436ecd2 Fix unread counters in filters with monoforums. 2025-06-05 11:04:23 +04:00
John Preston e92adf94a7 Improve adaptive loading in subsection tabs. 2025-06-05 10:45:13 +04:00
Ilya Fedin d25356917d Stop setting CMAKE_EXE_LINKER_FLAGS in actions 2025-06-05 09:56:19 +04:00
John Preston 0adb3b062f Use only first name in birthday notification. 2025-06-05 09:55:16 +04:00
John Preston 9316480884 Don't generate joined message in monoforums. 2025-06-05 09:22:44 +04:00
John Preston 4e5082f6c6 Fix comments root view position.
Fixes #29389.
2025-06-05 09:06:19 +04:00
John Preston 16d5dbe71c Fix crash in group chat context menu.
Fixes #29387.
2025-06-05 08:59:07 +04:00
John Preston 133d7874e3 Revert d3d compiler to 10.0.22621.3233. 2025-06-05 08:56:53 +04:00
John Preston 4659d5db5d Version 5.15.
- Send Direct Messages to Channels.
- Enable New Tab Layout for Topics.
- Create Polls with Up To 12 Options.
2025-06-04 22:56:02 +04:00
Ilya Fedin af061125dd Fix Docker build without LTO 2025-06-04 21:33:53 +04:00
John Preston 5c4b1f6638 Show message author to admins in monoforums. 2025-06-04 21:33:27 +04:00
John Preston ee3d70f879 Fix glitching userpics in monoforum. 2025-06-04 21:05:08 +04:00
John Preston 7dadaa1b28 Save subsection tabs layout to disk. 2025-06-04 19:39:34 +04:00
John Preston a72782e232 Use server provided default stars count for direct. 2025-06-04 18:42:17 +04:00
John Preston 8654ffb6fb Don't show "Who Viewed" in monoforums. 2025-06-04 18:26:48 +04:00
John Preston 90e445eec9 Don't show notifications from other admins. 2025-06-04 18:26:30 +04:00
John Preston 910b6d8879 Fix unread mark badge in new forums layout. 2025-06-04 18:13:21 +04:00
John Preston 8d1c2f832d Add "Create topic" to new forum view. 2025-06-04 17:59:25 +04:00
John Preston 158d2a4124 Fix possible stack overflow in subsection tabs. 2025-06-04 17:59:10 +04:00
John Preston 66473738d6 Add simple shadow to subsection tabs. 2025-06-04 17:26:23 +04:00
John Preston 6a43107bb2 Fix possible crash in subsection tabs. 2025-06-04 16:52:44 +04:00
John Preston 28e7afa412 Even nicer empty chat. 2025-06-04 16:48:37 +04:00
John Preston 8dc151e14d Fix build on Windows. 2025-06-04 16:21:21 +04:00
John Preston a330a3f2eb Nicer empty monoforum for non-admins. 2025-06-04 15:45:22 +04:00
Ilya Fedin 8f7195d3b2 Fix macOS action 2025-06-04 11:17:35 +04:00
Ilya Fedin a4e4502d50 Add missing dependencies to macOS packaged action 2025-06-04 11:17:35 +04:00
GitHub Action 902da90100 Update User-Agent for DNS to Chrome 136.0.0.0. 2025-06-04 10:28:54 +04:00
John Preston d775760f98 Support nice monoforum userpics. 2025-06-04 10:00:24 +04:00
John Preston dfb6600104 Fix loading of horizontal avatar strip. 2025-06-04 10:00:24 +04:00
John Preston 41ed487d5e Improve opening ChatWidget at the end. 2025-06-04 10:00:24 +04:00
John Preston d156de05a5 Allow replying in monoforum while not in it. 2025-06-04 10:00:24 +04:00
John Preston f4582ddf36 Correctly mark monoforum chats as read. 2025-06-04 10:00:24 +04:00
John Preston 7f7b764f7b Allow ton:// links in webapps. 2025-06-04 10:00:24 +04:00
John Preston dd8fdfc3d4 Allow forwarding polls to monoforums. 2025-06-04 10:00:24 +04:00
John Preston 6c80d443b9 Better entry point for Direct Messages. 2025-06-04 10:00:24 +04:00
John Preston cd05586d51 Fix display of pinned messages in sublists. 2025-06-04 10:00:24 +04:00
John Preston dfc1ec3ccf Support shared media / pins for sublists. 2025-06-04 10:00:23 +04:00
John Preston ffe6786ad1 Support unread reactions in monoforums. 2025-06-04 10:00:23 +04:00
John Preston 6068678fa1 Improve separate window support. 2025-06-04 10:00:23 +04:00
John Preston 50b761fab2 Remove showing monoforums inside dialogs widget. 2025-06-04 10:00:23 +04:00
John Preston 0d43f16db2 Remove unsupported actions from monoforum menu. 2025-06-04 10:00:23 +04:00
John Preston 3278de9ba1 Support mark as read/unread in sublists. 2025-06-04 10:00:23 +04:00
John Preston abe1962002 Show context menu for topics in new tabs. 2025-06-04 10:00:23 +04:00
John Preston 5b15f377cd Improve set direct message price box. 2025-06-04 10:00:23 +04:00
John Preston d0e5ea78a5 Improve topics layout management. 2025-06-04 10:00:23 +04:00
John Preston 853757e611 Fix tabs transfer between chat widgets. 2025-06-04 10:00:22 +04:00
John Preston c3860cfe72 Improve monoforum top bar status. 2025-06-04 10:00:22 +04:00
John Preston 90b2c077a6 Don't flood with bot requests in monoforums. 2025-06-04 10:00:22 +04:00
John Preston fdce4bada7 Implement nice topic mode editing. 2025-06-04 10:00:22 +04:00
John Preston 4c8ff1c7ec Disable polls in monoforums, enable in Saved Messages. 2025-06-04 10:00:22 +04:00
John Preston 2a153214f6 Support polls with 12 options. 2025-06-04 10:00:22 +04:00
John Preston d7c964afc5 Show "Messages" badge for monoforum. 2025-06-04 10:00:22 +04:00
John Preston 5943052cd1 Show badges in new tabs. 2025-06-04 10:00:22 +04:00
John Preston 8512154b45 Implement better horizontal/vertical tabs. 2025-06-04 10:00:22 +04:00
John Preston 0e5419c60b Fix opening forums with tabs. 2025-06-04 10:00:22 +04:00
John Preston 1d26482298 Update API scheme on layer 204. 2025-06-04 10:00:21 +04:00
John Preston 126749f04c Fix build with new MSVC. 2025-06-04 10:00:21 +04:00
John Preston e0e69ce740 Support vertical tabs somehow. 2025-06-04 10:00:21 +04:00
John Preston 72b57924b7 Correctly load tab slices. 2025-06-04 10:00:21 +04:00
John Preston fdbdeeb956 Start new tabs for monoforums. 2025-06-04 10:00:21 +04:00
John Preston 3dbdecf73d Make monoforum sender badges float. 2025-06-04 10:00:21 +04:00
John Preston 7dc8943840 Improve monoforum opening. 2025-06-04 10:00:21 +04:00
John Preston 646b852717 Correct rights check in monoforums. 2025-06-04 10:00:21 +04:00
John Preston 075f754a71 Update API scheme on layer 204. 2025-06-04 10:00:21 +04:00
John Preston f65556acb7 Support drafts in monoforum sublists. 2025-06-04 10:00:21 +04:00
John Preston b2c01991a6 Support unread state in sublists. 2025-06-04 10:00:21 +04:00
John Preston 4bc5e81513 Update API scheme on layer 204. 2025-06-04 10:00:19 +04:00
John Preston 2b24fe95c2 Update API scheme on layer 204. 2025-06-04 10:00:19 +04:00
John Preston 358e64f2cc Show monoforums as forums in chats list. 2025-06-04 10:00:19 +04:00
John Preston 5dc50b6d96 Respect price of messages to channels. 2025-06-04 10:00:18 +04:00
John Preston b91a040a32 Update API scheme on layer 204. 2025-06-04 10:00:18 +04:00
John Preston 76db55ff19 Support forwarding to monoforums. 2025-06-04 10:00:18 +04:00
John Preston e17bf18350 Update API scheme on layer 204. 2025-06-04 10:00:18 +04:00
John Preston 43b4499125 Add monoforum sender bar divider. 2025-06-04 10:00:18 +04:00
John Preston c6d43a802c Fix sending messages in monoforums. 2025-06-04 10:00:18 +04:00
John Preston 21f8403357 Merge SublistSection into ChatSection. 2025-06-04 10:00:18 +04:00
John Preston 40053e3388 Rename RepliesWidget/Memento to ChatWidget/Memento. 2025-06-04 10:00:14 +04:00
John Preston abcf7e3a47 Update API scheme & fix monoforum send. 2025-06-04 10:00:14 +04:00
John Preston f8913bf9b9 Show square userpics for monoforums. 2025-06-04 10:00:14 +04:00
John Preston 51878ab38e Allow opening monoforums. 2025-06-04 10:00:14 +04:00
John Preston d3f9a84a0a Allow enabling direct messages in channels. 2025-06-04 10:00:14 +04:00
John Preston 23eedb468f Update API scheme to layer 204. 2025-06-04 10:00:14 +04:00
John Preston 9cb89fff45 Fix dropping filter in gifts. 2025-06-04 10:00:14 +04:00
23rd 79f0b22276 Compressed lottie for media forbidden. 2025-06-03 18:30:38 +03:00
23rd 8b2a728a0d Fixed display of loading animation from search in Saved Messages. 2025-06-03 18:28:11 +03:00
23rd b4120b156e Added nice overlay to recorded round videos. 2025-06-03 17:55:37 +03:00
23rd 1ae3122c20 Added support of suggestion to validate cloud password to settings. 2025-06-03 17:55:37 +03:00
23rd 727acca217 Updated Qt to 5.15.17 on Windows. 2025-06-03 17:55:37 +03:00
23rd 5f8d662d67 Slightly improved of forward declarations in history item. 2025-06-03 17:55:18 +03:00
23rd 81b432140c Added ability to edit caption from box even when file is uploaded. 2025-06-03 17:55:18 +03:00
23rd adc1ee71a9 Slightly improved box to edit caption of grouped file. 2025-06-03 17:55:18 +03:00
23rd 5ac373d4aa Added simple box to edit caption of single file while it's uploading. 2025-06-03 17:55:18 +03:00
23rd 5b9e24f3f4 Slightly improved box for writing captions to be more generic. 2025-06-03 17:55:18 +03:00
23rd 0e44de2fe3 Slightly improved style of exception button in notifications settings. 2025-06-03 17:55:18 +03:00
23rd b0125e8165 Slightly improved display of numbers approaching zero in stats charts. 2025-06-03 17:55:18 +03:00
23rd a532067a93 Fixed dismissing of custom pending suggestions. 2025-06-03 17:55:18 +03:00
Ilya Fedin f456071c08 Switch Dockerfile to packaged mode 2025-06-03 18:25:15 +04:00
Ilya Fedin 3896f0995c Runtime Implib detection 2025-06-03 18:25:15 +04:00
Ilya Fedin 56ff5808a3 Unify packaged/non-packaged binary name 2025-06-03 18:25:15 +04:00
Ilya Fedin 15c817dd15 Update Qt 6.9.0 -> 6.9.1 2025-06-03 15:01:48 +04:00
Ilya Fedin 7246c3f304 Set cmake OpenGL default to legacy in Dockerfile 2025-06-03 14:11:25 +04:00
Ilya Fedin e4f59f1ec4 Build only static libraries in Dockerfile 2025-06-03 14:11:25 +04:00
Ilya Fedin 5f0e9538cf Move Implib to Dockerfile 2025-06-03 10:16:58 +04:00
Ilya Fedin 73649128f3 Update cmake_helpers 2025-06-03 09:58:11 +04:00
Ilya Fedin edc84731ac Change debug cmake flags according to Dockerfile options 2025-06-03 09:58:11 +04:00
Ilya Fedin 108b116b06 Use lld when building without LTO in Dockerfile 2025-06-03 09:58:11 +04:00
Ilya Fedin dda587dc6f DESKTOP_APP_USE_PACKAGED_LAZY -> DESKTOP_APP_DISABLE_QT_PLUGINS 2025-06-03 09:50:07 +04:00
Ilya Fedin 4a9dd43598 Update tg_owt 2025-06-03 09:41:49 +04:00
Ilya Fedin a64cfe661a Add missing deps to webrtc Docker layer 2025-06-03 09:41:33 +04:00
Ilya Fedin 7e418a16ae Fix packaged conditions in lib_ffmpeg and Packer 2025-06-03 09:41:22 +04:00
Ilya Fedin ecf1fa2bbd Get rid of lib prefixes in Docker layers 2025-06-03 09:28:44 +04:00
Ilya Fedin a6157a34bc Update variable syntax in Dockerfile 2025-06-03 09:28:44 +04:00
Ilya Fedin 8e37e66706 Make TOOLSET variable not dependent on jinja in Dockerfile 2025-06-03 09:28:44 +04:00
Ilya Fedin dd6a4931e5 Make QT variable local to the Docker layer 2025-06-03 09:28:44 +04:00
Ilya Fedin 2d000e826b Remove GIT variable from Dockerfile 2025-06-03 09:28:44 +04:00
Ilya Fedin c1028e7408 Remove GIT_FREEDESKTOP variable from Dockerfile 2025-06-03 09:28:44 +04:00
Ilya Fedin 28b54fac37 Revert GIT_UPDATE_M4 in Dockerfile
This partially reverts commit 9461095c88.
2025-06-03 09:28:44 +04:00
Ilya Fedin 845fddf5f2 Use enable_language 2025-06-03 09:28:31 +04:00
Ilya Fedin e3e2a477c1 Proper check for multi-config generator 2025-06-03 09:20:45 +04:00
Ilya Fedin bf4442ecf5 CMAKE_CONFIG_TYPE doesn't seem to work
This partially reverts commit ae45189436.
2025-06-03 09:20:24 +04:00
AlexeyZavar 3be793032f fix: use usinfobot for username resolving & update README 2025-06-02 15:52:31 +03:00
Crd5 0fab18e8e8 chore: add homebrew as a download source for macOS 2025-06-02 15:48:52 +03:00
Ilya Fedin ab6375ef2a Update submodules 2025-05-27 10:56:02 +04:00
Ilya Fedin 2535b6e08c Update GCC to 14 on Linux 2025-05-27 10:56:02 +04:00
Ilya Fedin 2f003d416a Update OpenAL to 1.24.3 on Linux 2025-05-27 10:56:02 +04:00
Ilya Fedin 579b358f8b Use system gobject-introspection in Dockerfile 2025-05-27 10:56:02 +04:00
Ilya Fedin 231a583bf7 Build tg_owt in packaged mode in Dockerfile 2025-05-27 10:56:02 +04:00
Ilya Fedin f0cfbacb4f Install Qt to global prefix in Dockerfile 2025-05-27 10:56:02 +04:00
Ilya Fedin ae45189436 Set cmake generator, build type and parallel level globally in Dockerfile 2025-05-27 10:56:02 +04:00
Ilya Fedin ff8292b863 Set build directory for libde265 in Dockerfile 2025-05-27 10:56:02 +04:00
Ilya Fedin ebe45f73a0 Shorten GIT_UPDATE_M4 2025-05-27 10:56:02 +04:00
kuro neko c91f41e988 fix: upstream docker build
Same as https://github.com/telegramdesktop/tdesktop/commit/88ce676c46bb9806765bd0f4a8c700a60802d1b8
2025-05-26 04:55:51 +03:00
Ilya Fedin 88ce676c46 Use Python 3.11 explicitly in Docker 2025-05-20 18:55:54 +04:00
Ilya Fedin 426cc2798e Revert "Use Python 3.12 in Docker"
This reverts commit 1d2df63652.
2025-05-20 18:55:54 +04:00
Ilya Fedin 1d2df63652 Use Python 3.12 in Docker 2025-05-20 17:59:43 +04:00
1006 changed files with 64199 additions and 17383 deletions
+4 -1
View File
@@ -49,7 +49,10 @@ body:
label: Installation source
multiple: false
options:
- Binary from GitHub / official Telegram source
- Binary from GitHub / @AyuGramReleases channel
- Arch Linux (ayugram-desktop / ayugram-desktop-git)
- Arch Linux (ayugram-desktop-bin)
- flatpak by 0FL01
- Other (unofficial) source
validations:
required: true
+1 -1
View File
@@ -7,5 +7,5 @@ contact_links:
url: https://bugs.telegram.org
about: Any bug report or feature request not about Telegram Desktop.
- name: Question
url: https://t.me/TelegramDesktopTalk
url: https://t.me/ayugramchat
about: Ask a question.
+11
View File
@@ -54,5 +54,16 @@ stage
.idea/
cmake-build-debug/
# Local configuration files
settings.local.json
*.local.json
.env
.env.local
.env.*.local
# Cursor IDE local settings (but keep .cursor/rules/)
.cursor/*
!.cursor/rules/
# Project specific
Telegram/SourceFiles/_other/packer_private.h
+3 -6
View File
@@ -1,6 +1,3 @@
[submodule "Telegram/ThirdParty/libtgvoip"]
path = Telegram/ThirdParty/libtgvoip
url = https://github.com/telegramdesktop/libtgvoip
[submodule "Telegram/ThirdParty/GSL"]
path = Telegram/ThirdParty/GSL
url = https://github.com/Microsoft/GSL.git
@@ -76,9 +73,6 @@
[submodule "Telegram/lib_webview"]
path = Telegram/lib_webview
url = https://github.com/desktop-app/lib_webview.git
[submodule "Telegram/ThirdParty/jemalloc"]
path = Telegram/ThirdParty/jemalloc
url = https://github.com/jemalloc/jemalloc
[submodule "Telegram/ThirdParty/dispatch"]
path = Telegram/ThirdParty/dispatch
url = https://github.com/apple/swift-corelibs-libdispatch
@@ -97,3 +91,6 @@
[submodule "Telegram/ThirdParty/xdg-desktop-portal"]
path = Telegram/ThirdParty/xdg-desktop-portal
url = https://github.com/flatpak/xdg-desktop-portal.git
[submodule "Telegram/lib_icu"]
path = Telegram/lib_icu
url = https://github.com/AyuGram/lib_icu.git
+6 -10
View File
@@ -12,19 +12,17 @@ include(cmake/validate_special_target.cmake)
include(cmake/version.cmake)
desktop_app_parse_version(Telegram/build/version)
set(project_langs C CXX)
if (APPLE)
list(APPEND project_langs OBJC OBJCXX)
elseif (LINUX)
list(APPEND project_langs ASM)
endif()
project(Telegram
LANGUAGES ${project_langs}
LANGUAGES C CXX
VERSION ${desktop_app_version_cmake}
DESCRIPTION "AyuGram Desktop"
HOMEPAGE_URL "https://ayugram.one"
)
if (APPLE)
enable_language(OBJC OBJCXX)
endif()
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT Telegram)
get_filename_component(third_party_loc "Telegram/ThirdParty" REALPATH)
@@ -39,9 +37,7 @@ include(cmake/variables.cmake)
include(cmake/nice_target_sources.cmake)
include(cmake/target_compile_options_if_exists.cmake)
include(cmake/target_link_frameworks.cmake)
include(cmake/target_link_optional_libraries.cmake)
include(cmake/target_link_options_if_exists.cmake)
include(cmake/target_link_static_libraries.cmake)
include(cmake/init_target.cmake)
include(cmake/generate_target.cmake)
include(cmake/nuget.cmake)
+34 -3
View File
@@ -11,6 +11,7 @@
- Кастомизация шрифта
- Режим Стримера
- Локальный телеграм премиум
- Переводчик
- Превью медиа и быстрая реакция при сильном нажатии на тачпад (macOS)
- Улучшенный вид
@@ -30,7 +31,7 @@
### Windows
#### Официальный вариант
#### Официальная версия
Вы можете скачать готовый бинарный файл со вкладки [Releases](https://github.com/AyuGram/AyuGramDesktop/releases) или из
[Телеграм канала](https://t.me/AyuGramReleases).
@@ -55,19 +56,45 @@ scoop install ayugram
### macOS
#### Официальная версия
Вы можете скачать подписанный пакет со вкладки [Releases](https://github.com/AyuGram/AyuGramDesktop/releases).
#### Homebrew
```bash
brew install --cask ayugram
```
### Arch Linux
Вы можете установить `ayugram-desktop` из [AUR](https://aur.archlinux.org/packages?O=0&K=ayugram).
#### Из исходников (рекомендованный способ)
Установите `ayugram-desktop` из [AUR](https://aur.archlinux.org/packages/ayugram-desktop).
#### Готовые бинарники
Установите `ayugram-desktop-bin` из [AUR](https://aur.archlinux.org/packages/ayugram-desktop-bin).
Примечание: данный пакет собирается не нами.
### NixOS
Попробуйте [этот репозиторий](https://github.com/ayugram-port/ayugram-desktop).
### ALT Linux
[Sisyphus](https://packages.altlinux.org/en/sisyphus/srpms/ayugram-desktop/)
### EPM
`epm play ayugram`
### Любой другой Линукс дистрибутив
Следуйте [официальному руководству](https://github.com/AyuGram/AyuGramDesktop/blob/dev/docs/building-linux.md).
Flatpak: https://github.com/0FL01/AyuGramDesktop-flatpak
Или следуйте [официальному руководству](https://github.com/AyuGram/AyuGramDesktop/blob/dev/docs/building-linux.md).
### Примечания для Windows
@@ -101,3 +128,7 @@ scoop install ayugram
### Иконки
- [Solar Icon Set](https://www.figma.com/community/file/1166831539721848736)
### Боты
- [TelegramDB](https://t.me/tgdatabase) для получения юзернейма по ID
+34 -2
View File
@@ -12,6 +12,7 @@
- Font customization
- Streamer mode
- Local Telegram Premium
- Translator
- Media preview & quick reaction on force click (macOS)
- Enhanced appearance
@@ -56,19 +57,45 @@ build by yourself.
### macOS
#### Official
You can download prebuilt macOS package from [Releases tab](https://github.com/AyuGram/AyuGramDesktop/releases).
#### Homebrew
```bash
brew install --cask ayugram
```
### Arch Linux
You can install `ayugram-desktop` from [AUR](https://aur.archlinux.org/packages?O=0&K=ayugram).
#### From source (recommended)
Install `ayugram-desktop` from [AUR](https://aur.archlinux.org/packages/ayugram-desktop).
#### Prebuilt binaries
Install `ayugram-desktop-bin` from [AUR](https://aur.archlinux.org/packages/ayugram-desktop-bin).
Note: these binaries aren't officially maintained by us.
### NixOS
See [this repository](https://github.com/ayugram-port/ayugram-desktop) for installation manual.
### ALT Linux
[Sisyphus](https://packages.altlinux.org/en/sisyphus/srpms/ayugram-desktop/)
### EPM
`epm play ayugram`
### Any other Linux distro
Follow the [official guide](https://github.com/AyuGram/AyuGramDesktop/blob/dev/docs/building-linux.md).
Flatpak: https://github.com/0FL01/AyuGramDesktop-flatpak
Or follow the [official guide](https://github.com/AyuGram/AyuGramDesktop/blob/dev/docs/building-linux.md).
### Remarks for Windows
@@ -98,7 +125,12 @@ Enjoy using **AyuGram**? Consider sending us a tip!
- [JSON for Modern C++](https://github.com/nlohmann/json)
- [SQLite](https://github.com/sqlite/sqlite)
- [sqlite_orm](https://github.com/fnc12/sqlite_orm)
- [androidx sources](https://github.com/androidx/androidx)
### Icons
- [Solar Icon Set](https://www.figma.com/community/file/1166831539721848736)
### Bots
- [TelegramDB](https://t.me/tgdatabase) for username lookup by ID
+214 -28
View File
@@ -20,6 +20,10 @@ add_subdirectory(lib_webrtc)
add_subdirectory(lib_webview)
add_subdirectory(codegen)
# AyuGram filters
add_subdirectory(lib_icu)
# AyuGram filters
get_filename_component(src_loc SourceFiles REALPATH)
get_filename_component(res_loc Resources REALPATH)
@@ -53,9 +57,7 @@ set_target_properties(Telegram PROPERTIES AUTOMOC ON)
target_link_libraries(Telegram
PRIVATE
# tdesktop::lib_tgcalls_legacy
tdesktop::lib_tgcalls
# tdesktop::lib_tgvoip
# Order in this list defines the order of include paths in command line.
# We need to place desktop-app::external_minizip this early to have its
@@ -94,6 +96,9 @@ PRIVATE
desktop-app::external_openssl
desktop-app::external_openal
desktop-app::external_xxhash
# AyuGram filters
ayugram::lib_icu
)
set(ayugram_files
@@ -109,7 +114,6 @@ set(ayugram_files
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
@@ -129,10 +133,34 @@ set(ayugram_files
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/utils/color_cut_quantizer.cpp
ayu/ui/utils/color_cut_quantizer.h
ayu/ui/utils/color_utils.cpp
ayu/ui/utils/color_utils.h
ayu/ui/utils/palette.cpp
ayu/ui/utils/palette.h
ayu/ui/settings/settings_appearance.cpp
ayu/ui/settings/settings_appearance.h
ayu/ui/settings/settings_ayu_utils.cpp
ayu/ui/settings/settings_ayu_utils.h
ayu/ui/settings/settings_chats.cpp
ayu/ui/settings/settings_chats.h
ayu/ui/settings/settings_general.cpp
ayu/ui/settings/settings_general.h
ayu/ui/settings/settings_ayu.cpp
ayu/ui/settings/settings_ayu.h
ayu/ui/settings/settings_filters.cpp
ayu/ui/settings/settings_filters.h
ayu/ui/settings/settings_main.cpp
ayu/ui/settings/settings_main.h
ayu/ui/settings/settings_other.cpp
ayu/ui/settings/settings_other.h
ayu/ui/settings/filters/settings_filters_list.cpp
ayu/ui/settings/filters/settings_filters_list.h
ayu/ui/settings/filters/per_dialog_filter.cpp
ayu/ui/settings/filters/per_dialog_filter.h
ayu/ui/settings/filters/edit_filter.cpp
ayu/ui/settings/filters/edit_filter.h
ayu/ui/context_menu/context_menu.cpp
ayu/ui/context_menu/context_menu.h
ayu/ui/context_menu/menu_item_subtext.cpp
@@ -143,18 +171,26 @@ set(ayugram_files
ayu/ui/message_history/history_item.h
ayu/ui/message_history/history_section.cpp
ayu/ui/message_history/history_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/edit_mark_box.cpp
ayu/ui/boxes/edit_mark_box.h
ayu/ui/boxes/font_selector.cpp
ayu/ui/boxes/font_selector.h
ayu/ui/boxes/import_filters_box.cpp
ayu/ui/boxes/import_filters_box.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/boxes/donate_qr_box.cpp
ayu/ui/boxes/donate_qr_box.h
ayu/ui/boxes/donate_info_box.cpp
ayu/ui/boxes/donate_info_box.h
ayu/ui/components/image_view.cpp
ayu/ui/components/image_view.h
ayu/ui/components/icon_picker.cpp
ayu/ui/components/icon_picker.h
ayu/ui/components/now_playing.cpp
ayu/ui/components/now_playing.h
ayu/libs/json.hpp
ayu/libs/json_ext.hpp
ayu/libs/sqlite/sqlite3.c
@@ -168,13 +204,40 @@ set(ayugram_files
ayu/features/streamer_mode/platform/streamer_mode_mac.h
ayu/features/streamer_mode/streamer_mode.cpp
ayu/features/streamer_mode/streamer_mode.h
ayu/features/messageshot/message_shot.cpp
ayu/features/messageshot/message_shot.h
ayu/features/message_shot/message_shot.cpp
ayu/features/message_shot/message_shot.h
ayu/features/forward/ayu_forward.cpp
ayu/features/forward/ayu_forward.h
ayu/features/forward/ayu_sync.cpp
ayu/features/forward/ayu_sync.h
ayu/features/translator/ayu_translator.cpp
ayu/features/translator/ayu_translator.h
ayu/features/translator/html_parser.cpp
ayu/features/translator/html_parser.h
ayu/features/translator/implementations/google.cpp
ayu/features/translator/implementations/google.h
ayu/features/translator/implementations/yandex.cpp
ayu/features/translator/implementations/yandex.h
ayu/features/translator/implementations/telegram.cpp
ayu/features/translator/implementations/telegram.h
ayu/features/translator/implementations/base.cpp
ayu/features/translator/implementations/base.h
ayu/features/filters/filters_controller.cpp
ayu/features/filters/filters_controller.h
ayu/features/filters/filters_cache_controller.cpp
ayu/features/filters/filters_cache_controller.h
ayu/features/filters/filters_utils.cpp
ayu/features/filters/filters_utils.h
ayu/features/filters/shadow_ban_utils.cpp
ayu/features/filters/shadow_ban_utils.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
info/profile/info_profile_music_button.cpp
info/profile/info_profile_music_button.h
)
target_precompile_headers(Telegram PRIVATE $<$<COMPILE_LANGUAGE:CXX,OBJCXX>:${src_loc}/stdafx.h>)
@@ -209,6 +272,8 @@ PRIVATE
api/api_confirm_phone.h
api/api_credits.cpp
api/api_credits.h
api/api_credits_history_entry.cpp
api/api_credits_history_entry.h
api/api_earn.cpp
api/api_earn.h
api/api_editing.cpp
@@ -258,8 +323,12 @@ PRIVATE
api/api_statistics_data_deserialize.h
api/api_statistics_sender.cpp
api/api_statistics_sender.h
api/api_suggest_post.cpp
api/api_suggest_post.h
api/api_text_entities.cpp
api/api_text_entities.h
api/api_todo_lists.cpp
api/api_todo_lists.h
api/api_toggling_media.cpp
api/api_toggling_media.h
api/api_transcribes.cpp
@@ -363,6 +432,8 @@ PRIVATE
boxes/edit_caption_box.h
boxes/edit_privacy_box.cpp
boxes/edit_privacy_box.h
boxes/edit_todo_list_box.cpp
boxes/edit_todo_list_box.h
boxes/gift_credits_box.cpp
boxes/gift_credits_box.h
boxes/gift_premium_box.cpp
@@ -546,6 +617,7 @@ PRIVATE
core/crash_report_window.h
core/crash_reports.cpp
core/crash_reports.h
core/credits_amount.h
core/deadlock_detector.h
core/file_utilities.cpp
core/file_utilities.h
@@ -559,7 +631,6 @@ PRIVATE
core/sandbox.h
core/shortcuts.cpp
core/shortcuts.h
core/stars_amount.h
core/ui_integration.cpp
core/ui_integration.h
core/update_checker.cpp
@@ -587,6 +658,8 @@ PRIVATE
data/components/promo_suggestions.h
data/components/recent_peers.cpp
data/components/recent_peers.h
data/components/recent_shared_media_gifts.cpp
data/components/recent_shared_media_gifts.h
data/components/scheduled_messages.cpp
data/components/scheduled_messages.h
data/components/sponsored_messages.cpp
@@ -597,6 +670,8 @@ PRIVATE
data/notify/data_notify_settings.h
data/notify/data_peer_notify_settings.cpp
data/notify/data_peer_notify_settings.h
data/notify/data_peer_notify_volume.cpp
data/notify/data_peer_notify_volume.h
data/stickers/data_custom_emoji.cpp
data/stickers/data_custom_emoji.h
data/stickers/data_stickers_set.cpp
@@ -686,6 +761,7 @@ PRIVATE
data/data_peer_bot_command.h
data/data_peer_bot_commands.cpp
data/data_peer_bot_commands.h
data/data_peer_common.h
data/data_peer_id.cpp
data/data_peer_id.h
data/data_peer_values.cpp
@@ -707,6 +783,8 @@ PRIVATE
data/data_report.h
data/data_saved_messages.cpp
data/data_saved_messages.h
data/data_saved_music.cpp
data/data_saved_music.h
data/data_saved_sublist.cpp
data/data_saved_sublist.h
data/data_search_controller.cpp
@@ -719,6 +797,7 @@ PRIVATE
data/data_shared_media.h
data/data_sparse_ids.cpp
data/data_sparse_ids.h
data/data_star_gift.cpp
data/data_star_gift.h
data/data_statistics.h
data/data_stories.cpp
@@ -731,6 +810,8 @@ PRIVATE
data/data_streaming.h
data/data_thread.cpp
data/data_thread.h
data/data_todo_list.cpp
data/data_todo_list.h
data/data_types.cpp
data/data_types.h
data/data_unread_value.cpp
@@ -779,6 +860,8 @@ PRIVATE
dialogs/dialogs_search_from_controllers.h
dialogs/dialogs_search_tags.cpp
dialogs/dialogs_search_tags.h
dialogs/dialogs_search_posts.cpp
dialogs/dialogs_search_posts.h
dialogs/dialogs_top_bar_suggestion.cpp
dialogs/dialogs_top_bar_suggestion.h
dialogs/dialogs_widget.cpp
@@ -831,6 +914,8 @@ PRIVATE
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_suggest_options.cpp
history/view/controls/history_view_suggest_options.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
@@ -879,6 +964,8 @@ PRIVATE
history/view/media/history_view_poll.h
history/view/media/history_view_premium_gift.cpp
history/view/media/history_view_premium_gift.h
history/view/media/history_view_save_document_action.cpp
history/view/media/history_view_save_document_action.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
@@ -892,8 +979,12 @@ PRIVATE
history/view/media/history_view_sticker_player_abstract.h
history/view/media/history_view_story_mention.cpp
history/view/media/history_view_story_mention.h
history/view/media/history_view_suggest_decision.cpp
history/view/media/history_view_suggest_decision.h
history/view/media/history_view_theme_document.cpp
history/view/media/history_view_theme_document.h
history/view/media/history_view_todo_list.cpp
history/view/media/history_view_todo_list.h
history/view/media/history_view_unique_gift.cpp
history/view/media/history_view_unique_gift.h
history/view/media/history_view_userpic_suggestion.cpp
@@ -918,6 +1009,8 @@ PRIVATE
history/view/history_view_bottom_info.h
history/view/history_view_chat_preview.cpp
history/view/history_view_chat_preview.h
history/view/history_view_chat_section.cpp
history/view/history_view_chat_section.h
history/view/history_view_contact_status.cpp
history/view/history_view_contact_status.h
history/view/history_view_context_menu.cpp
@@ -936,6 +1029,8 @@ PRIVATE
history/view/history_view_fake_items.h
history/view/history_view_group_call_bar.cpp
history/view/history_view_group_call_bar.h
history/view/history_view_group_members_widget.cpp
history/view/history_view_group_members_widget.h
history/view/history_view_item_preview.h
history/view/history_view_list_widget.cpp
history/view/history_view_list_widget.h
@@ -952,8 +1047,6 @@ PRIVATE
history/view/history_view_pinned_tracker.h
history/view/history_view_quick_action.cpp
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
@@ -970,8 +1063,8 @@ PRIVATE
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_subsection_tabs.cpp
history/view/history_view_subsection_tabs.h
history/view/history_view_text_helper.cpp
history/view/history_view_text_helper.h
history/view/history_view_transcribe_button.cpp
@@ -1072,6 +1165,8 @@ PRIVATE
info/media/info_media_widget.h
info/members/info_members_widget.cpp
info/members/info_members_widget.h
info/peer_gifts/info_peer_gifts_collections.cpp
info/peer_gifts/info_peer_gifts_collections.h
info/peer_gifts/info_peer_gifts_common.cpp
info/peer_gifts/info_peer_gifts_common.h
info/peer_gifts/info_peer_gifts_widget.cpp
@@ -1106,6 +1201,11 @@ PRIVATE
info/reactions_list/info_reactions_list_widget.h
info/requests_list/info_requests_list_widget.cpp
info/requests_list/info_requests_list_widget.h
info/saved/info_saved_music_common.h
info/saved/info_saved_music_provider.cpp
info/saved/info_saved_music_provider.h
info/saved/info_saved_music_widget.cpp
info/saved/info_saved_music_widget.h
info/saved/info_saved_sublists_widget.cpp
info/saved/info_saved_sublists_widget.h
info/settings/info_settings_widget.cpp
@@ -1122,6 +1222,9 @@ PRIVATE
info/statistics/info_statistics_tag.h
info/statistics/info_statistics_widget.cpp
info/statistics/info_statistics_widget.h
info/stories/info_stories_albums.cpp
info/stories/info_stories_albums.h
info/stories/info_stories_common.h
info/stories/info_stories_inner_widget.cpp
info/stories/info_stories_inner_widget.h
info/stories/info_stories_provider.cpp
@@ -1176,6 +1279,8 @@ PRIVATE
inline_bots/inline_results_widget.h
intro/intro_code.cpp
intro/intro_code.h
intro/intro_email.cpp
intro/intro_email.h
intro/intro_password_check.cpp
intro/intro_password_check.h
intro/intro_phone.cpp
@@ -1321,12 +1426,16 @@ PRIVATE
media/view/media_view_playback_controls.h
media/view/media_view_playback_progress.cpp
media/view/media_view_playback_progress.h
media/view/media_view_playback_sponsored.cpp
media/view/media_view_playback_sponsored.h
media/system_media_controls_manager.h
media/system_media_controls_manager.cpp
menu/menu_antispam_validator.cpp
menu/menu_antispam_validator.h
menu/menu_item_download_files.cpp
menu/menu_item_download_files.h
menu/menu_item_rate_transcribe_session.cpp
menu/menu_item_rate_transcribe_session.h
menu/menu_mute.cpp
menu/menu_mute.h
menu/menu_send.cpp
@@ -1360,6 +1469,8 @@ PRIVATE
mtproto/special_config_request.cpp
mtproto/special_config_request.h
mtproto/type_utils.h
overview/overview_checkbox.cpp
overview/overview_checkbox.h
overview/overview_layout.cpp
overview/overview_layout.h
overview/overview_layout_delegate.h
@@ -1480,10 +1591,6 @@ PRIVATE
platform/platform_window_title.h
profile/profile_back_button.cpp
profile/profile_back_button.h
profile/profile_block_group_members.cpp
profile/profile_block_group_members.h
profile/profile_block_peer_list.cpp
profile/profile_block_peer_list.h
profile/profile_block_widget.cpp
profile/profile_block_widget.h
profile/profile_cover_drop_area.cpp
@@ -1526,6 +1633,8 @@ PRIVATE
settings/cloud_password/settings_cloud_password_start.h
settings/cloud_password/settings_cloud_password_step.cpp
settings/cloud_password/settings_cloud_password_step.h
settings/cloud_password/settings_cloud_password_validate_icon.cpp
settings/cloud_password/settings_cloud_password_validate_icon.h
settings/settings_active_sessions.cpp
settings/settings_active_sessions.h
settings/settings_advanced.cpp
@@ -1676,8 +1785,6 @@ PRIVATE
ui/text/format_song_document_name.h
ui/widgets/expandable_peer_list.cpp
ui/widgets/expandable_peer_list.h
ui/widgets/label_with_custom_emoji.cpp
ui/widgets/label_with_custom_emoji.h
ui/widgets/chat_filters_tabs_strip.cpp
ui/widgets/chat_filters_tabs_strip.h
ui/widgets/peer_bubble.cpp
@@ -1710,6 +1817,8 @@ PRIVATE
window/window_adaptive.h
window/window_chat_preview.cpp
window/window_chat_preview.h
window/window_chat_switch_process.cpp
window/window_chat_switch_process.h
window/window_connecting_widget.cpp
window/window_connecting_widget.h
window/window_controller.cpp
@@ -1946,11 +2055,7 @@ else()
set(bundle_identifier "one.ayugram.AyuGramDesktop")
endif()
set(bundle_entitlements "Telegram.entitlements")
if (LINUX AND DESKTOP_APP_USE_PACKAGED)
set(output_name "ayugram-desktop")
else()
set(output_name "AyuGram")
endif()
set(output_name "AyuGram")
endif()
if (CMAKE_GENERATOR STREQUAL Xcode)
@@ -1990,10 +2095,12 @@ PRIVATE
TDESKTOP_API_ID=${TDESKTOP_API_ID}
TDESKTOP_API_HASH=${TDESKTOP_API_HASH}
G_LOG_DOMAIN="Telegram"
U_STATIC_IMPLEMENTATION=1 # AyuGram: do not use __declspec(dllimport) when including icu headers
)
get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if (APPLE
OR "${CMAKE_GENERATOR}" STREQUAL "Ninja Multi-Config"
OR is_multi_config
OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL ""
OR NOT "${output_name}" STREQUAL "AyuGram")
set(output_folder ${CMAKE_BINARY_DIR})
@@ -2010,8 +2117,67 @@ if (MSVC)
)
target_link_options(Telegram
PRIVATE
/DELAYLOAD:secur32.dll
/DELAYLOAD:winmm.dll
/DELAYLOAD:ws2_32.dll
/DELAYLOAD:user32.dll
/DELAYLOAD:gdi32.dll
/DELAYLOAD:advapi32.dll
/DELAYLOAD:avrt.dll
/DELAYLOAD:shell32.dll
/DELAYLOAD:ole32.dll
/DELAYLOAD:oleaut32.dll
/DELAYLOAD:shlwapi.dll
/DELAYLOAD:iphlpapi.dll
/DELAYLOAD:gdiplus.dll
/DELAYLOAD:version.dll
/DELAYLOAD:dwmapi.dll
/DELAYLOAD:uxtheme.dll
/DELAYLOAD:crypt32.dll
/DELAYLOAD:bcrypt.dll
/DELAYLOAD:netapi32.dll
/DELAYLOAD:imm32.dll
/DELAYLOAD:userenv.dll
/DELAYLOAD:wtsapi32.dll
/DELAYLOAD:propsys.dll
)
if (QT_VERSION GREATER 6)
if (NOT build_winarm)
target_link_options(Telegram PRIVATE
/DELAYLOAD:API-MS-Win-EventLog-Legacy-l1-1-0.dll
)
endif()
target_link_options(Telegram
PRIVATE
/DELAYLOAD:API-MS-Win-Core-Console-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-Fibers-l2-1-0.dll
/DELAYLOAD:API-MS-Win-Core-Fibers-l2-1-1.dll
/DELAYLOAD:API-MS-Win-Core-File-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-LibraryLoader-l1-2-0.dll
/DELAYLOAD:API-MS-Win-Core-Localization-l1-2-0.dll
/DELAYLOAD:API-MS-Win-Core-Memory-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-Memory-l1-1-1.dll
/DELAYLOAD:API-MS-Win-Core-ProcessThreads-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-Synch-l1-2-0.dll # Synchronization.lib
/DELAYLOAD:API-MS-Win-Core-SysInfo-l1-1-0.dll
# /DELAYLOAD:API-MS-Win-Core-Timezone-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-WinRT-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-WinRT-Error-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Core-WinRT-String-l1-1-0.dll
/DELAYLOAD:API-MS-Win-Security-CryptoAPI-l1-1-0.dll
# /DELAYLOAD:API-MS-Win-Shcore-Scaling-l1-1-1.dll # We shadowed GetDpiForMonitor
/DELAYLOAD:authz.dll # Authz.lib
/DELAYLOAD:comdlg32.dll
/DELAYLOAD:dwrite.dll # DWrite.lib
/DELAYLOAD:dxgi.dll # DXGI.lib
/DELAYLOAD:d3d9.dll # D3D9.lib
/DELAYLOAD:d3d11.dll # D3D11.lib
/DELAYLOAD:d3d12.dll # D3D12.lib
/DELAYLOAD:setupapi.dll # SetupAPI.lib
/DELAYLOAD:winhttp.dll
)
endif()
endif()
target_prepare_qrc(Telegram)
@@ -2042,6 +2208,22 @@ if (NOT DESKTOP_APP_DISABLE_AUTOUPDATE AND NOT build_macstore AND NOT build_wins
base/platform/win/base_windows_safe_library.h
)
target_include_directories(Updater PRIVATE ${lib_base_loc})
if (MSVC)
target_link_libraries(Updater
PRIVATE
delayimp
)
target_link_options(Updater
PRIVATE
/DELAYLOAD:user32.dll
/DELAYLOAD:advapi32.dll
/DELAYLOAD:shell32.dll
/DELAYLOAD:ole32.dll
/DELAYLOAD:shlwapi.dll
)
else()
target_link_options(Updater PRIVATE -municode)
endif()
elseif (APPLE)
add_custom_command(TARGET Updater
PRE_LINK
@@ -2070,6 +2252,10 @@ if (NOT DESKTOP_APP_DISABLE_AUTOUPDATE AND NOT build_macstore AND NOT build_wins
desktop-app::external_openssl
)
if (DESKTOP_APP_USE_PACKAGED)
target_compile_definitions(Packer PRIVATE PACKER_USE_PACKAGED)
endif()
set_target_properties(Packer PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
endif()
elseif (build_winstore)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M65.0957 43.2571C61.089 59.3287 44.8111 69.1096 28.7376 65.1018C12.6708 61.0951 2.88998 44.8162 6.89846 28.7459C10.9034 12.6726 27.1813 2.89099 43.2498 6.8977C59.3222 10.9044 69.1024 27.1851 65.0953 43.2574L65.0956 43.2571H65.0957Z" fill="#F7931A"/>
<path d="M49.2257 31.7258C49.8228 27.7335 46.7833 25.5875 42.627 24.1558L43.9753 18.7479L40.6833 17.9276L39.3707 23.1932C38.5053 22.9773 37.6165 22.7739 36.7332 22.5723L38.0553 17.2719L34.7653 16.4517L33.4162 21.8579C32.7001 21.6948 31.9967 21.5337 31.3142 21.3639L31.318 21.3469L26.7783 20.2132L25.9026 23.7293C25.9026 23.7293 28.3449 24.2891 28.2935 24.3236C29.6266 24.6563 29.8676 25.5388 29.8276 26.2382L28.2917 32.3992C28.3835 32.4225 28.5026 32.4562 28.634 32.509C28.5241 32.4818 28.4073 32.452 28.286 32.423L26.1332 41.0536C25.9703 41.4586 25.5568 42.0664 24.6248 41.8356C24.6577 41.8834 22.2321 41.2385 22.2321 41.2385L20.5977 45.0068L24.8817 46.0747C25.6786 46.2746 26.4596 46.4837 27.2287 46.6803L25.8665 52.1504L29.1547 52.9706L30.5037 47.5587C31.402 47.8026 32.2738 48.0275 33.1272 48.2395L31.7827 53.626L35.0749 54.4463L36.437 48.9865C42.0505 50.0489 46.2715 49.6206 48.0482 44.5431C49.4798 40.4552 47.9769 38.0972 45.0236 36.5596C47.1746 36.0635 48.7948 34.6488 49.2268 31.7263L49.2258 31.7255L49.2257 31.7258ZM41.7042 42.2729C40.6868 46.3608 33.804 44.151 31.5724 43.5969L33.3802 36.35C35.6116 36.9071 42.7675 38.0095 41.7043 42.2729H41.7042ZM42.7223 31.6666C41.7942 35.385 36.0655 33.4959 34.2072 33.0327L35.8462 26.4602C37.7045 26.9235 43.6891 27.788 42.7226 31.6666H42.7223Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

@@ -0,0 +1,12 @@
<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.5796 41.8413L22.9288 6H38.8335L35.6272 17.1111C35.5954 17.1746 35.5637 17.2381 35.532 17.3016L27.0875 46.6349H34.9605C31.6589 54.8571 29.0875 61.3016 27.2462 65.9683C12.7066 65.8095 8.64307 55.3968 12.1986 43.0794M27.3097 66L46.4843 38.4127H38.3574L45.4367 20.7302C57.5637 22 63.278 31.5556 59.9129 43.1111C56.3256 55.5238 41.7859 66 27.6272 66C27.5002 66 27.405 66 27.3097 66Z" fill="url(#paint0_linear_1491_36)"/>
<defs>
<linearGradient id="paint0_linear_1491_36" x1="44.5725" y1="13.793" x2="24.0992" y2="83.6122" gradientUnits="userSpaceOnUse">
<stop stop-color="#EF7829"/>
<stop offset="0.0518954" stop-color="#F07529"/>
<stop offset="0.3551" stop-color="#F0672B"/>
<stop offset="0.6673" stop-color="#F15E2C"/>
<stop offset="1" stop-color="#F15A2C"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 898 B

@@ -0,0 +1,7 @@
<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M36.414 28.1822V6L18 36.5512L36.414 28.1822Z" fill="#8A92B2"/>
<path d="M36.414 47.4398V28.1822L18 36.5512L36.414 47.4398ZM36.414 28.1822L54.8279 36.5512L36.414 6V28.1822Z" fill="#62688F"/>
<path d="M36.4141 28.1824V47.44L54.828 36.5513L36.4141 28.1824Z" fill="#454A75"/>
<path d="M36.414 50.927L18 40.0496L36.414 66.0001V50.927Z" fill="#8A92B2"/>
<path d="M54.8393 40.0496L36.4141 50.927V66.0001L54.8393 40.0496Z" fill="#62688F"/>
</svg>

After

Width:  |  Height:  |  Size: 544 B

@@ -0,0 +1,19 @@
<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.7481 47.8879C16.1101 47.5259 16.608 47.3147 17.1359 47.3147H65.0164C65.8914 47.3147 66.3288 48.3707 65.7103 48.9892L56.2519 58.4476C55.8899 58.8096 55.3921 59.0208 54.8641 59.0208H6.98358C6.10864 59.0208 5.67117 57.9649 6.28966 57.3464L15.7481 47.8879Z" fill="url(#paint0_linear_1498_44)"/>
<path d="M15.7481 12.5732C16.1252 12.2112 16.623 12 17.1359 12H65.0164C65.8914 12 66.3288 13.056 65.7103 13.6745L56.2519 23.1329C55.8899 23.4949 55.3921 23.7061 54.8641 23.7061H6.98358C6.10864 23.7061 5.67117 22.6502 6.28966 22.0317L15.7481 12.5732Z" fill="url(#paint1_linear_1498_44)"/>
<path d="M56.2519 30.1174C55.8899 29.7554 55.3921 29.5442 54.8641 29.5442H6.98358C6.10864 29.5442 5.67117 30.6002 6.28966 31.2186L15.7481 40.6771C16.1101 41.0391 16.608 41.2503 17.1359 41.2503H65.0164C65.8914 41.2503 66.3288 40.1944 65.7103 39.5759L56.2519 30.1174Z" fill="url(#paint2_linear_1498_44)"/>
<defs>
<linearGradient id="paint0_linear_1498_44" x1="60.4424" y1="6.34998" x2="27.3053" y2="69.8209" gradientUnits="userSpaceOnUse">
<stop stop-color="#00FFA3"/>
<stop offset="1" stop-color="#DC1FFF"/>
</linearGradient>
<linearGradient id="paint1_linear_1498_44" x1="45.9531" y1="-1.21486" x2="12.816" y2="62.256" gradientUnits="userSpaceOnUse">
<stop stop-color="#00FFA3"/>
<stop offset="1" stop-color="#DC1FFF"/>
</linearGradient>
<linearGradient id="paint2_linear_1498_44" x1="53.1517" y1="2.54346" x2="20.0145" y2="66.0144" gradientUnits="userSpaceOnUse">
<stop stop-color="#00FFA3"/>
<stop offset="1" stop-color="#DC1FFF"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

@@ -0,0 +1,4 @@
<svg width="80" height="80" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="80" height="80" rx="40" fill="#E83030"/>
<path d="M39.999 27.5657C50.4546 16.7028 63.2343 24.7157 63.2344 36.0149C63.2344 47.3141 53.8952 53.3355 47.0586 58.7249C44.6462 60.6266 42.3226 62.4172 39.999 62.4172C37.6755 62.4172 35.3519 60.6266 32.9395 58.7249C26.1029 53.3355 16.7637 47.3141 16.7637 36.0149C16.7638 24.7157 29.5435 16.7028 39.999 27.5657ZM48.2627 35.677C48.7923 34.089 47.2803 32.5775 45.6924 33.1077L30.1621 38.2932C28.6596 38.7949 28.6067 41.0213 30.0391 41.6975C32.1559 42.6961 34.5207 44.0094 35.9287 45.4172C37.3438 46.8324 38.6704 49.2208 39.6777 51.3528C40.354 52.7834 42.5744 52.728 43.0752 51.2268L48.2627 35.677Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 769 B

@@ -0,0 +1,11 @@
<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1491_40)">
<path d="M36 66C52.5686 66 66 52.5686 66 36C66 19.4314 52.5686 6 36 6C19.4314 6 6 19.4314 6 36C6 52.5686 19.4314 66 36 66Z" fill="#0098EA"/>
<path d="M46.2396 22.7437H25.7521C21.9851 22.7437 19.5976 26.807 21.4927 30.0919L34.1369 52.0078C34.962 53.4388 37.0297 53.4388 37.8548 52.0078L50.5015 30.0919C52.3941 26.8123 50.0065 22.7437 46.2422 22.7437H46.2396ZM34.1266 45.4355L31.3729 40.1062L24.7285 28.2226C24.2902 27.462 24.8316 26.4873 25.7495 26.4873H34.124V45.4381L34.1266 45.4355ZM47.258 28.22L40.6162 40.1087L37.8625 45.4355V26.4848H46.237C47.1549 26.4848 47.6963 27.4594 47.258 28.22Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_1491_40">
<rect width="60" height="60" fill="white" transform="translate(6 6)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 879 B

@@ -0,0 +1,3 @@
<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M63.2493 24.0756C60.4368 21.4787 56.5462 17.5131 53.3775 14.7007L53.19 14.5694C52.878 14.3189 52.5263 14.1224 52.1494 13.9882C44.5089 12.5632 8.94997 5.91642 8.25623 6.0008C8.06184 6.02802 7.87604 6.0985 7.71249 6.20704L7.53437 6.34767C7.31504 6.57041 7.14845 6.83951 7.04687 7.13516L7 7.25703V7.92265V8.02577C11.0031 19.1725 26.8091 55.6876 29.9216 64.2563C30.1091 64.8375 30.4653 65.9438 31.1309 66H31.2809C31.6372 66 33.1559 63.9938 33.1559 63.9938C33.1559 63.9938 60.3055 31.0692 63.0524 27.563C63.4079 27.1311 63.7218 26.6666 63.9899 26.1755C64.0583 25.7913 64.026 25.396 63.8962 25.028C63.7664 24.66 63.5435 24.3318 63.2493 24.0756ZM40.1214 27.9099L51.7088 18.3006L58.5056 24.563L40.1214 27.9099ZM35.6215 27.2818L15.6718 10.932L47.9495 16.885L35.6215 27.2818ZM37.4215 31.5661L57.8399 28.2755L34.4965 56.4001L37.4215 31.5661ZM12.9624 12.5632L33.9528 30.3755L30.9153 56.4189L12.9624 12.5632Z" fill="#FF060A"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

+5
View File
@@ -0,0 +1,5 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="24" height="24" fill="white" fill-opacity="0.1"/>
<path d="M10.1312 12C10.1312 10.9679 10.9679 10.1312 12 10.1312C13.0321 10.1312 13.8687 10.9679 13.8687 12C13.8687 13.0321 13.0321 13.8687 12 13.8687C10.9679 13.8687 10.1312 13.0321 10.1312 12Z" fill="white" fill-opacity="0.3"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 17.75C15.1756 17.75 17.75 15.1756 17.75 12C17.75 8.82436 15.1756 6.25 12 6.25C8.82436 6.25 6.25 8.82436 6.25 12C6.25 15.1756 8.82436 17.75 12 17.75ZM12 9.26875C10.4916 9.26875 9.26875 10.4916 9.26875 12C9.26875 13.5084 10.4916 14.7312 12 14.7312C13.5084 14.7312 14.7312 13.5084 14.7312 12C14.7312 10.4916 13.5084 9.26875 12 9.26875Z" fill="white" fill-opacity="0.2"/>
</svg>

After

Width:  |  Height:  |  Size: 816 B

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Input / input_paid</title>
<g id="Icon-/-Input-/-input_paid" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M20,9.8 C25.6299826,9.8 30.2,14.2730045 30.2,19.7983329 C30.2,25.3236612 25.6299826,29.7966657 20,29.7966657 C18.7457032,29.7966657 17.522531,29.57429 16.3765194,29.1472418 L16.049,29.018 L15.8675895,29.1274403 L15.6273764,29.2612632 C14.545782,29.8404011 13.0955737,30.1473058 11.2731839,30.1996583 C10.8153842,30.2127839 10.4336239,29.8523042 10.4204985,29.3945045 C10.4177264,29.2978179 10.4318913,29.2013918 10.4663408,29.0979123 C10.9468917,27.7307176 11.2958938,26.5818971 11.5130707,25.6565167 L11.566,25.42 L11.5361505,25.3785138 C10.4824637,23.8473989 9.87852612,22.0565089 9.80714989,20.1756532 L9.8,19.7983329 C9.8,14.2730045 14.3700174,9.8 20,9.8 Z M20,11.2 C15.1365724,11.2 11.2,15.0530063 11.2,19.7983329 C11.2,21.6384229 11.7922255,23.3893508 12.8759186,24.8453165 L13.0610907,25.0940992 L13.001223,25.3983974 C12.8243697,26.2973155 12.5137714,27.4099145 12.0719423,28.73207 L12.064,28.754 L12.2244984,28.7405395 C13.2682683,28.6413859 14.1190062,28.4334572 14.7754263,28.1231964 L14.9665215,28.0270547 C15.164827,27.9208723 15.3780604,27.7932923 15.605736,27.6441968 L15.9287098,27.4326945 L16.2799121,27.5930136 C17.4341359,28.1199012 18.6962936,28.3966657 20,28.3966657 C24.8634276,28.3966657 28.8,24.5436594 28.8,19.7983329 C28.8,15.0530063 24.8634276,11.2 20,11.2 Z" id="Shape---" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M20.2258661,25.6815247 C20.5071894,25.6815247 20.874026,25.4574745 20.874026,25.0631159 L20.874026,24.4093038 C22.5557139,24.2186972 23.4454545,23.1802196 23.4454545,21.6685117 C23.4454545,20.3671283 22.7015108,19.5784112 21.1573587,19.2234884 L19.8882782,18.9211469 C19.0943214,18.7371128 18.7067205,18.3558996 18.7067205,17.7972249 C18.7067205,17.1268153 19.2568638,16.6404397 20.1195884,16.6404397 C20.8197708,16.6404397 21.3073978,16.8902001 21.8512894,17.5277465 C22.126361,17.8300881 22.3389164,17.941823 22.6264913,17.941823 C22.9765824,17.941823 23.2454024,17.68549 23.2454024,17.3042767 C23.2454024,16.9362087 23.0390987,16.5352774 22.6890076,16.1737821 C22.2263871,15.713697 21.7022327,15.4113555 20.9207792,15.3061932 L20.9207792,14.6509738 C20.9207792,14.2631879 20.5009377,13.9363049 20.2133629,13.9363049 C19.9320396,13.9363049 19.5493506,14.2566152 19.5493506,14.6509738 L19.5493506,15.2864752 C17.930179,15.4442187 17.0312842,16.4629784 17.0312842,17.9221051 C17.0312842,19.1971979 17.7752279,20.0450688 19.2005991,20.3802736 L20.4696796,20.6891878 C21.3949206,20.9192303 21.7762699,21.2610078 21.7762699,21.8394004 C21.7762699,22.5886817 21.219875,23.061912 20.2258661,23.061912 C19.4819224,23.061912 18.8630112,22.766143 18.3003647,22.1285967 C17.9815316,21.7933919 17.8064861,21.7210928 17.5689242,21.7210928 C17.1875749,21.7210928 16.9,21.9774259 16.9,22.417793 C16.9,22.8055789 17.1125554,23.2065101 17.4939047,23.5548602 C17.9940349,24.0346632 18.7115432,24.3238594 19.5805195,24.4093038 L19.5805195,25.0565432 C19.5805195,25.4509018 19.9382912,25.6815247 20.2258661,25.6815247 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Mini / mini_ton_bold</title>
<g id="Icon-/-Mini-/-mini_ton_bold" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M12.5980305,2.7875 C13.2201476,2.7875 13.7244732,3.29182558 13.7244732,3.9139427 C13.7244732,4.11165014 13.6724374,4.30587532 13.5735947,4.47710133 L9.21676388,12.0244744 C8.80179975,12.7433201 7.88266529,12.9896647 7.16381961,12.5747006 C6.92829269,12.4387393 6.73407151,12.2414175 6.60185728,12.0037668 L2.40584723,4.46158062 C2.10339516,3.91793325 2.29892259,3.23203413 2.84256996,2.92958206 C3.01005587,2.83640316 3.19854713,2.7875 3.39020787,2.7875 L12.5980305,2.7875 Z M7.24956057,4.2875 L4.025,4.2875 L7.24956057,10.0835 L7.24956057,4.2875 Z M11.95,4.2875 L8.74956057,4.2875 L8.74956057,9.8255 L11.95,4.2875 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Filled / paid_approve</title>
<g id="Icon-/-Filled-/-paid_approve" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M12,4.5 C16.14,4.5 19.5,7.86 19.5,12 C19.5,16.14 16.14,19.5 12,19.5 C7.86,19.5 4.5,16.14 4.5,12 C4.5,7.86 7.86,4.5 12,4.5 Z M15.7577636,9.89127556 C15.4992394,9.62810439 15.0763217,9.62433727 14.8131506,9.88286145 L10.7479688,13.8761719 L9.18684944,12.3424898 C8.92367827,12.0839656 8.50076063,12.0877327 8.24223645,12.3509039 C7.98371227,12.6140751 7.98747939,13.0369927 8.25065056,13.2955169 L10.204967,15.2153247 C10.5064723,15.5115061 10.9896874,15.5115061 11.2911927,15.2153247 L15.7493494,10.8358886 C16.0125206,10.5773644 16.0162877,10.1544467 15.7577636,9.89127556 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 999 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Filled / paid_decline</title>
<g id="Icon-/-Filled-/-paid_decline" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M12,4.5 C16.1421356,4.5 19.5,7.85786438 19.5,12 C19.5,16.1421356 16.1421356,19.5 12,19.5 C7.85786438,19.5 4.5,16.1421356 4.5,12 C4.5,7.85786438 7.85786438,4.5 12,4.5 Z M9.73375908,8.63964245 C9.43162712,8.33751049 8.94177442,8.33751049 8.63964245,8.63964245 L8.59853606,8.68404063 C8.33819559,8.98800138 8.35189772,9.44601435 8.63964245,9.73375908 L10.9059783,12 L8.63964245,14.2662409 C8.33751049,14.5683729 8.33751049,15.0582256 8.63964245,15.3603575 L8.68404063,15.4014639 C8.98800138,15.6618044 9.44601435,15.6481023 9.73375908,15.3603575 L12,13.0936701 L14.2662409,15.3603575 C14.5683729,15.6624895 15.0582256,15.6624895 15.3603575,15.3603575 L15.4014639,15.3159594 C15.6618044,15.0119986 15.6481023,14.5539856 15.3603575,14.2662409 L13.0936701,12 L15.3603575,9.73375908 C15.6624895,9.43162712 15.6624895,8.94177442 15.3603575,8.63964245 L15.3159594,8.59853606 C15.0119986,8.33819559 14.5539856,8.35189772 14.2662409,8.63964245 L12,10.9059783 L9.73375908,8.63964245 Z" id="Shape" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Filled / paid_edit</title>
<g id="Icon-/-Filled-/-paid_edit" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M13.5029106,7.64699152 C13.6056531,7.5472623 13.7697888,7.549705 13.869518,7.65244745 L16.2610253,10.1162122 C16.3593492,10.2175069 16.3585592,10.3788499 16.259248,10.4791768 L7.97687653,18.8462593 C7.87948817,18.9446437 7.74680196,19 7.6083679,19 L5.51851849,19 C5.23214864,19 5,18.7678513 5,18.4814815 L5,16.3683223 C5,16.2308422 5.05459809,16.0989896 5.15178971,16.0017551 L13.5029106,7.64699152 Z M16.0299869,5.19856593 C16.3408365,4.91998643 16.8161619,4.93645109 17.1069903,5.23587194 L18.7801411,6.95845528 C19.073802,7.26079221 19.0732123,7.74202152 18.7788114,8.04363789 L17.6449122,9.20518682 C17.5421105,9.3048549 17.3779763,9.30231456 17.2783082,9.19951281 L14.8031149,6.64621027 C14.707554,6.53957983 14.7165277,6.3756714 14.8231582,6.28011055 L16.0299869,5.19856593 Z" id="Shape" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level10_inner</title>
<g id="Badge-/-level10_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M23,15 L49,15 C53.418278,15 57,18.581722 57,23 L57,46.8429984 C57,48.7715399 55.8908719,50.5281562 54.1496679,51.357301 L37.2898007,59.3858092 C36.4738291,59.7743671 35.5261709,59.7743671 34.7101993,59.3858092 L17.8503321,51.357301 C16.1091281,50.5281562 15,48.7715399 15,46.8429984 L15,23 C15,18.581722 18.581722,15 23,15 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 714 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level1_inner</title>
<g id="Badge-/-level1_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M53,45 C54.6943359,39.9169922 55.1925159,32.4416725 54.49454,22.5740409 C54.2708931,19.4342396 51.6589867,17.0009114 48.5112305,17 L23.4887695,17 C20.3410133,17.0009114 17.7291069,19.4342396 17.50546,22.5740409 C16.8074841,32.4416725 17.3056641,39.9169922 19,45 C20.9999787,50.9999361 32.8055802,57.9438271 36.0181519,58.0000467 C39.2307237,58.0555136 50.70353,51.8894101 53,45 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 767 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level20_inner</title>
<g id="Badge-/-level20_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M17.5067188,13.1565216 L35.4932812,17.8672879 C35.8254913,17.9542953 36.1745087,17.9542953 36.5067188,17.8672879 L54.4932812,13.1565216 C55.5618111,12.8766685 56.6548914,13.5160174 56.9347444,14.5845472 C56.9780693,14.7499693 57,14.9202646 57,15.091266 L57,50 C57,53.8659932 53.8659932,57 50,57 L22,57 C18.1340068,57 15,53.8659932 15,50 L15,15.091266 C15,13.9866965 15.8954305,13.091266 17,13.091266 C17.1710014,13.091266 17.3412968,13.1131968 17.5067188,13.1565216 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 857 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level2_inner</title>
<g id="Badge-/-level2_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M28,15 L44,15 C51.1797017,15 57,20.8202983 57,28 L57,44 C57,51.1797017 51.1797017,57 44,57 L28,57 C20.8202983,57 15,51.1797017 15,44 L15,28 C15,20.8202983 20.8202983,15 28,15 Z" id="Rectangle" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 569 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level30_inner</title>
<g id="Badge-/-level30_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M17.5067188,13.1565216 L35.4932812,17.8672879 C35.8254913,17.9542953 36.1745087,17.9542953 36.5067188,17.8672879 L54.4932812,13.1565216 C55.5618111,12.8766685 56.6548914,13.5160174 56.9347444,14.5845472 C56.9780693,14.7499693 57,14.9202646 57,15.091266 L57,47.2740807 C57,49.2380496 55.850227,51.0201354 54.0608393,51.8296203 L37.2365036,59.4406293 C36.4505105,59.7961976 35.5494895,59.7961976 34.7634964,59.4406293 L17.9391607,51.8296203 C16.149773,51.0201354 15,49.2380496 15,47.2740807 L15,15.091266 C15,13.9866965 15.8954305,13.091266 17,13.091266 C17.1710014,13.091266 17.3412968,13.1131968 17.5067188,13.1565216 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1009 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level3_inner</title>
<g id="Badge-/-level3_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M35.8544323,16.5 C42.5603579,16.5 48.9772339,17.3142695 55.1127909,18.9403855 C57.8720367,19.6721748 59.5984053,22.4098874 59.0695564,25.2151096 L58.9161688,25.9952446 C57.6492744,32.2345248 55.3583898,38.2325914 52.0339947,44.0033008 C48.4623738,50.2031617 44.2319724,54.8983246 39.3449322,58.1412366 L38.808,58.49 L38.6366496,58.5935691 C37.0148548,59.5241021 35.0268922,59.5572143 33.3750071,58.6812087 L33.244,58.609 L33.1538672,58.5548802 C27.4610226,55.1837021 22.8566119,50.5438551 19.3062949,44.5841668 L18.9660053,44.0033008 C15.6094458,38.1767582 13.4677002,31.8512809 12.5350759,24.997545 C12.1766452,22.3675806 13.7646861,19.874921 16.2717218,19.0736995 L16.531,18.998 L17.3695077,18.774139 C22.9281007,17.3348182 28.7645985,16.5777965 34.8855941,16.5056926 L35.8544323,16.5 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level40_inner</title>
<g id="Badge-/-level40_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M13.8209245,17.0037365 L23.6412021,18.7573575 C24.5036156,18.9113599 25.3902576,18.6806984 26.0682874,18.1259467 L34.7335244,11.0362073 C35.4702562,10.4334268 36.5297438,10.4334268 37.2664756,11.0362073 L45.9317126,18.1259467 C46.6097424,18.6806984 47.4963844,18.9113599 48.3587979,18.7573575 L58.1790755,17.0037365 C59.2664441,16.8095635 60.3053389,17.5336417 60.4995119,18.6210104 C60.5408831,18.8526891 60.541039,19.0898514 60.4999724,19.3215843 L55.1703343,49.3959706 C54.4933325,53.2161951 51.17282,56 47.2930717,56 L24.7069283,56 C20.82718,56 17.5066675,53.2161951 16.8296657,49.3959706 L11.5000276,19.3215843 C11.3072843,18.2339613 12.0327276,17.1960193 13.1203506,17.003276 C13.3520835,16.9622094 13.5892458,16.9623653 13.8209245,17.0037365 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level4_inner</title>
<g id="Badge-/-level4_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M44.3705856,16.4672101 L55.5327899,27.6294144 C60.1557367,32.2523612 60.1557367,39.7476388 55.5327899,44.3705856 L44.3705856,55.5327899 C39.7476388,60.1557367 32.2523612,60.1557367 27.6294144,55.5327899 L16.4672101,44.3705856 C11.8442633,39.7476388 11.8442633,32.2523612 16.4672101,27.6294144 L27.6294144,16.4672101 C32.2523612,11.8442633 39.7476388,11.8442633 44.3705856,16.4672101 Z" id="Polygon" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 775 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level50_inner</title>
<g id="Badge-/-level50_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M13.8457992,17.0081784 L23.6412021,18.7573575 C24.5036156,18.9113599 25.3902576,18.6806984 26.0682874,18.1259467 L34.7335244,11.0362073 C35.4702562,10.4334268 36.5297438,10.4334268 37.2664756,11.0362073 L45.9317126,18.1259467 C46.6097424,18.6806984 47.4963844,18.9113599 48.3587979,18.7573575 L58.1542008,17.0081784 C59.2415694,16.8140055 60.2804642,17.5380836 60.4746372,18.6254523 C60.5169804,18.862574 60.516141,19.1053947 60.4721595,19.342218 L55.2572125,47.4227021 C54.7824054,49.9793556 53.0945991,52.1457247 50.731704,53.2313793 L37.6700007,59.2327024 C36.6099358,59.7197592 35.3900642,59.7197592 34.3299993,59.2327024 L21.268296,53.2313793 C18.9054009,52.1457247 17.2175946,49.9793556 16.7427875,47.4227021 L11.5278405,19.342218 C11.3261547,18.2562177 12.0430333,17.2123419 13.1290336,17.0106561 C13.3658569,16.9666746 13.6086775,16.9658353 13.8457992,17.0081784 Z" id="Path" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level5_inner</title>
<g id="Badge-/-level5_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M24.6347159,52.197233 L15.086894,45.3306104 C13.3626301,44.0905507 12.6070688,41.9044024 13.1995002,39.8696074 L16.4885503,28.5785206 L20.056184,18.2789734 C20.736028,16.3172234 22.5589494,14.9756983 24.6408724,14.9050076 L35.519949,14.536208 L46.4041369,14.5 C48.4875477,14.4932153 50.3596774,15.7663386 51.1123731,17.7018167 L55.0199245,27.7496763 C55.0516847,27.8313442 55.081291,27.9138273 55.1087132,27.9970407 L58.7486546,39.0425771 C59.4120036,41.0555339 58.7334828,43.2666211 57.0537084,44.5658775 L47.7086588,51.7944553 L39.3643082,58.4096688 C37.5845851,59.8205932 35.0761178,59.866608 33.245468,58.5219115 L24.6347159,52.197233 Z" id="Star-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level60_inner</title>
<g id="Badge-/-level60_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M25.1630277,52.850407 L17.8273486,50.8900353 C15.0747,50.1544232 13.4412291,47.3453418 14.1759196,44.6106697 L16.1338353,37.322897 C16.3667018,36.4561188 16.3667018,35.5438812 16.1338353,34.677103 L14.1759196,27.3893303 C13.4412291,24.6546582 15.0747,21.8455768 17.8273486,21.1099647 L25.1630277,19.149593 C26.0355037,18.9164343 26.8311982,18.4603155 27.4708076,17.826696 L32.848571,12.499295 C34.8665291,10.500235 38.1334709,10.500235 40.151429,12.499295 L45.5291924,17.826696 C46.1688018,18.4603155 46.9644963,18.9164343 47.8369723,19.149593 L55.1726514,21.1099647 C57.9253,21.8455768 59.5587709,24.6546582 58.8240804,27.3893303 L56.8661647,34.677103 C56.6332982,35.5438812 56.6332982,36.4561188 56.8661647,37.322897 L58.8240804,44.6106697 C59.5587709,47.3453418 57.9253,50.1544232 55.1726514,50.8900353 L47.8369723,52.850407 C46.9644963,53.0835657 46.1688018,53.5396845 45.5291924,54.173304 L40.151429,59.500705 C38.1334709,61.499765 34.8665291,61.499765 32.848571,59.500705 L27.4708076,54.173304 C26.8311982,53.5396845 26.0355037,53.0835657 25.1630277,52.850407 Z" id="Star-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level6_inner</title>
<g id="Badge-/-level6_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M56.5,27.2077494 L56.5,44.7922506 C56.5,46.727022 55.4750178,48.5148244 53.8111544,49.4822101 L38.6888456,58.2744607 C37.0249822,59.2418464 34.9750178,59.2418464 33.3111544,58.2744607 L18.1888456,49.4822101 C16.5249822,48.5148244 15.5,46.727022 15.5,44.7922506 L15.5,27.2077494 C15.5,25.272978 16.5249822,23.4851756 18.1888456,22.5177899 L33.3111544,13.7255393 C34.9750178,12.7581536 37.0249822,12.7581536 38.6888456,13.7255393 L53.8111544,22.5177899 C55.4750178,23.4851756 56.5,25.272978 56.5,27.2077494 Z" id="Polygon-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 902 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level70_inner</title>
<g id="Badge-/-level70_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M25.6231529,53.6849537 L20.2456512,53.1119864 C17.3639984,52.8049492 15.263688,50.1918606 15.5389909,47.256223 L16.0527382,41.7779796 C16.1648264,40.5827489 15.8804506,39.3837383 15.2449668,38.3721824 L12.332278,33.7357975 C10.7714495,31.2512883 11.4691887,27.9507327 13.8958667,26.3394648 L18.424332,23.3326503 C19.4123422,22.6766303 20.1560647,21.7027674 20.5368804,20.5663865 L22.2823186,15.3578763 C23.2176501,12.5667813 26.188027,11.0641444 28.9387422,11.9905637 L34.0718987,13.7193707 C35.1918391,14.0965579 36.4036217,14.0811813 37.5139749,13.6756934 L42.6031895,11.8171724 C45.3303573,10.821243 48.3366176,12.248041 49.3400252,15.0145349 L51.2125014,20.1771366 C51.621034,21.3035012 52.3883797,22.2581898 53.3921518,22.8889356 L57.9928604,25.779908 C60.4582516,27.3290994 61.2366199,30.6109243 59.7371336,33.1342664 L56.9389167,37.8431184 C56.3284081,38.870485 56.07349,40.0763388 56.2148201,41.2683538 L56.8625953,46.7318584 C57.20972,49.6595979 55.1740691,52.3251686 52.3008327,52.7052309 L46.9390371,53.4144716 C45.7692127,53.5692121 44.6839892,54.1181986 43.8564529,54.9738712 L40.0635069,58.8957776 C38.030973,60.9974176 34.7141896,61.0395051 32.6308086,58.9900928 L28.7429758,55.1656495 C27.8947373,54.3312412 26.7964039,53.8099624 25.6231529,53.6849537 Z" id="Star-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level7_inner</title>
<g id="Badge-/-level7_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M47.5119469,15.9725146 L56.9485165,28.1544765 C57.8703305,29.3444749 58.2101938,30.8974518 57.8718989,32.3737956 L54.4087892,47.487062 C54.0704943,48.9634057 53.0908608,50.2024337 51.7472,50.8534058 L37.9922031,57.5173789 C36.6485423,58.1683511 35.087096,58.1604167 33.7498732,57.4958219 L20.0607825,50.6923941 C18.7235597,50.0277993 17.7561016,48.7788774 17.4322729,47.2991691 L14.1172527,32.1514602 C13.793424,30.6717519 14.1484698,29.1223062 15.0818847,27.9417349 L24.637213,15.8562787 C25.570628,14.6757075 26.9808209,13.9925021 28.468599,14 L43.6989186,14.0774536 C45.1866968,14.0850136 46.5901329,14.7825162 47.5119469,15.9725146 Z" id="Polygon-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level80_inner</title>
<g id="Badge-/-level80_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M25.4075318,55.0983015 L20.6181753,54.4891523 C18.1878179,54.1800396 16.3367069,52.1599065 16.2405902,49.7118564 L16.0511788,44.887634 C16.0102196,43.84442 15.6446438,42.8400089 15.0054554,42.0145324 L12.0496025,38.1972124 C10.5496559,36.2601145 10.6691726,33.5227316 12.3322407,31.723734 L15.609547,28.1785595 C16.3182481,27.4119333 16.769973,26.4432062 16.9016985,25.4075318 L17.5108477,20.6181753 C17.8199604,18.1878179 19.8400935,16.3367069 22.2881436,16.2405902 L27.112366,16.0511788 C28.15558,16.0102196 29.1599911,15.6446438 29.9854676,15.0054554 L33.8027876,12.0496025 C35.7398855,10.5496559 38.4772684,10.6691726 40.276266,12.3322407 L43.8214405,15.609547 C44.5880667,16.3182481 45.5567938,16.769973 46.5924682,16.9016985 L51.3818247,17.5108477 C53.8121821,17.8199604 55.6632931,19.8400935 55.7594098,22.2881436 L55.9488212,27.112366 C55.9897804,28.15558 56.3553562,29.1599911 56.9945446,29.9854676 L59.9503975,33.8027876 C61.4503441,35.7398855 61.3308274,38.4772684 59.6677593,40.276266 L56.390453,43.8214405 C55.6817519,44.5880667 55.230027,45.5567938 55.0983015,46.5924682 L54.4891523,51.3818247 C54.1800396,53.8121821 52.1599065,55.6632931 49.7118564,55.7594098 L44.887634,55.9488212 C43.84442,55.9897804 42.8400089,56.3553562 42.0145324,56.9945446 L38.1972124,59.9503975 C36.2601145,61.4503441 33.5227316,61.3308274 31.723734,59.6677593 L28.1785595,56.390453 C27.4119333,55.6817519 26.4432062,55.230027 25.4075318,55.0983015 Z" id="Star" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level8_inner</title>
<g id="Badge-/-level8_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M27.9852814,15 L44.0147186,15 C45.6060176,15 47.132141,15.632141 48.2573593,16.7573593 L55.2426407,23.7426407 C56.367859,24.867859 57,26.3939824 57,27.9852814 L57,44.0147186 C57,45.6060176 56.367859,47.132141 55.2426407,48.2573593 L48.2573593,55.2426407 C47.132141,56.367859 45.6060176,57 44.0147186,57 L27.9852814,57 C26.3939824,57 24.867859,56.367859 23.7426407,55.2426407 L16.7573593,48.2573593 C15.632141,47.132141 15,45.6060176 15,44.0147186 L15,27.9852814 C15,26.3939824 15.632141,24.867859 16.7573593,23.7426407 L23.7426407,16.7573593 C24.867859,15.632141 26.3939824,15 27.9852814,15 Z" id="Rectangle" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 985 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level90_inner</title>
<g id="Badge-/-level90_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M15.8733536,45.5876663 L13.5374788,26.4767308 C13.2739231,24.3204523 14.4193524,22.2383675 16.3756386,21.3177141 L34.3082495,12.8783965 C35.3803169,12.3738678 36.6196831,12.3738678 37.6917505,12.8783965 L55.6243614,21.3177141 C57.5806476,22.2383675 58.7260769,24.3204523 58.4625212,26.4767308 L56.1266464,45.5876663 C55.9615284,46.9385772 55.2580965,48.1641245 54.1775745,48.9834175 L39.003776,60.4887707 C37.2255672,61.8370764 34.7744328,61.8370764 32.996224,60.4887707 L17.8224255,48.9834175 C16.7419035,48.1641245 16.0384716,46.9385772 15.8733536,45.5876663 Z" id="Diamond-Flat" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 960 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Badge / level9_inner</title>
<g id="Badge-/-level9_inner" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<circle id="Oval" fill="#FFFFFF" cx="36" cy="36" r="21"></circle>
</g>
</svg>

After

Width:  |  Height:  |  Size: 410 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Filled / Folder / filled_warning</title>
<g id="Icon-/-Filled-/-Folder-/-filled_warning" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M4.88979533,20 L19.1102047,20 C20.5643501,20 21.4708304,18.4289284 20.7437577,17.1777157 L13.633553,4.93840953 C12.9064803,3.68719682 11.0935197,3.68719682 10.366447,4.93840953 L3.25624234,17.1777157 C2.52916961,18.4289284 3.43564989,20 4.88979533,20 Z M12,9.51724138 C12.4659903,9.51724138 12.84375,9.89500112 12.84375,10.3609914 L12.84375,13.3631466 C12.84375,13.8291368 12.4659903,14.2068966 12,14.2068966 C11.5340097,14.2068966 11.15625,13.8291368 11.15625,13.3631466 L11.15625,10.3609914 C11.15625,9.89500112 11.5340097,9.51724138 12,9.51724138 Z M12.018319,17.1862069 L11.981681,17.1862069 C11.463676,17.1862069 11.04375,16.7662809 11.04375,16.2482759 C11.04375,15.7302709 11.463676,15.3103448 11.981681,15.3103448 L12.018319,15.3103448 C12.536324,15.3103448 12.95625,15.7302709 12.95625,16.2482759 C12.95625,16.7662809 12.536324,17.1862069 12.018319,17.1862069 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Filled / Folder / filled_rating_crown</title>
<g id="Icon-/-Filled-/-Folder-/-filled_rating_crown" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M12.006194,4 C12.2804747,4 12.5305167,4.06540388 12.7563199,4.19621163 C12.9821231,4.32701939 13.1625206,4.50276893 13.2975123,4.72346025 C13.4325041,4.94415157 13.5,5.18550018 13.5,5.44750606 C13.5,5.71705917 13.4325041,5.96227898 13.2975123,6.18316549 C13.1625206,6.404052 12.9821231,6.5799154 12.7563199,6.71075569 L15.4435899,11.5643277 C15.5815617,11.7639089 15.7563694,11.7899721 15.968013,11.6425174 L18.1781768,9.33989673 C18.0593923,9.13003568 18,8.89851056 18,8.64532138 C18,8.38325043 18.0675127,8.14188556 18.202538,7.92122677 C18.3375634,7.70056798 18.5179776,7.52481844 18.7437808,7.39397816 C18.969584,7.26313787 19.2198274,7.19771773 19.494511,7.19771773 C19.7726861,7.19771773 20.0256488,7.26313787 20.2533991,7.39397816 C20.4811495,7.52481844 20.6625206,7.69962458 20.7975123,7.91839656 C20.9325041,8.13716855 21,8.37947682 21,8.64532138 C21,8.91526486 20.9315305,9.16058227 20.7945916,9.38127359 C20.6576527,9.60196491 20.4753248,9.77771445 20.247608,9.90852221 C20.0847544,10.0020705 19.9099761,10.0621678 19.7232729,10.0888143 L18.6881679,14.8280591 L18.18147,17.2645439 C18.0360821,17.8406994 17.5858498,18.2705453 17.2433245,18.5609529 C16.9007991,18.8513606 16.024907,19 15.4030968,19 L8.60301533,19 C7.98112362,19 7.07922209,18.853651 6.73645226,18.5609529 C6.39368244,18.2682549 5.96970407,17.8361186 5.82537564,17.2645439 L5.33200224,14.8280591 L4.28780473,10.091804 C4.09296054,10.0668449 3.91161924,10.005751 3.74378084,9.90852221 C3.51797764,9.77771445 3.33756337,9.60196491 3.20253802,9.38127359 C3.06751267,9.16058227 3,8.91526486 3,8.64532138 C3,8.38325043 3.06751267,8.14188556 3.20253802,7.92122677 C3.33756337,7.70056798 3.51797764,7.52481844 3.74378084,7.39397816 C3.96958405,7.26313787 4.21982744,7.19771773 4.49451103,7.19771773 C4.77268607,7.19771773 5.02564877,7.26313787 5.25339913,7.39397816 C5.48114949,7.52481844 5.66252056,7.69962458 5.79751234,7.91839656 C5.93250411,8.13716855 6,8.37947682 6,8.64532138 C6,8.85527742 5.9585802,9.05033621 5.8757406,9.23049773 L5.8356,9.31024634 L8.05741354,11.6413327 C8.17558193,11.7218918 8.27307085,11.7527925 8.3498803,11.7340349 C8.42668976,11.7152773 8.49488107,11.6628546 8.55445424,11.576767 L11.2500459,6.70934707 C11.0234694,6.57865415 10.8419403,6.40326029 10.7054588,6.18316549 C10.5684863,5.96227898 10.5,5.71705917 10.5,5.44750606 C10.5,5.18172656 10.5675127,4.93943456 10.702538,4.72063004 C10.8375634,4.50182552 11.0189344,4.32701939 11.2466512,4.19621163 C11.474368,4.06540388 11.7275489,4 12.006194,4 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Filled / Folder / filled_understood</title>
<g id="Icon-/-Filled-/-Folder-/-filled_understood" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M12.8474094,2.35452236 C13.885383,1.47475174 14.8173541,2.39162557 15.6118925,3.37253311 L15.7012514,3.4837597 C16.5164257,4.50413739 16.896938,5.20519347 17.573079,6.45345067 C18.2023878,7.61607163 19,9.78891004 19,11.0676479 L18.9982623,11.4602681 C18.9876271,12.5429001 18.9217408,13.3886119 18.6297323,14.4132675 L18.4373147,15.0832437 C17.6686959,17.7193108 17.0159257,19.2763685 14.5216634,19.7807735 C13.10206,20.068163 10.6477559,20.1900858 9.65842399,19.3946847 C7.99649075,18.0581246 7.24548521,16.7868457 6.69332563,15.7108913 L6.48407363,15.2966137 C6.20747049,14.7436067 5.49035123,13.0903916 6.59969082,12.2935391 C7.07533115,11.9524455 7.88026093,12.0496935 8.21540442,12.3820783 C9.4579233,13.6143694 9.58232154,15.2464067 11.9078369,15.2464067 C13.3786631,15.2464067 13.9391869,14.2869904 13.9391869,12.58878 C13.9391869,11.3521345 12.1390712,10.1619357 9.97161486,11.0502304 C8.24621513,12.1140246 7.17909072,11.547078 6.86322591,10.7478144 L6.82781627,10.6508891 L6.79127892,10.5445502 C6.5448802,9.79724635 6.61229951,9.16312262 10.1911412,7.82363067 C10.6137438,7.6657143 11.3830789,7.698766 12.0161927,7.78792773 C12.8897042,8.04621996 13.6148836,8.35641256 14.1913276,8.71620571 C14.929645,9.17703372 15.7391454,9.82868756 16.6173642,10.6711738 C16.8017985,10.848104 17.0950516,10.8396614 17.2723632,10.6523169 C17.4496747,10.4649723 17.4439006,10.1696692 17.2594662,9.99273903 C16.7803672,9.5331334 16.3184045,9.12578598 15.8732309,8.77069768 L15.8624136,8.73672043 C15.3582916,7.35121785 14.8646161,6.25548747 14.3777651,5.44628421 C13.9445436,4.72621943 13.3206019,3.99276536 12.5068246,3.24305992 C12.4746432,2.90001775 12.5672164,2.59132364 12.8474094,2.35452236 Z M10.9668008,4.0469269 L11.0518595,3.98215031 C11.2745376,3.81947674 11.4718477,3.74284792 11.8308451,3.8850515 C12.6071746,4.59396408 13.1906226,5.27558261 13.5826599,5.9271944 C13.8835044,6.42723311 14.1925809,7.05721299 14.5092459,7.81609175 C13.7940229,7.39877614 12.9130339,7.05268239 11.8658275,6.77510676 L11.6720359,6.53222118 C11.6390059,6.49065589 11.6057339,6.44860798 11.5724054,6.40616676 L11.3960913,6.1777103 C10.8136406,5.40671311 10.3189783,4.5550951 10.9668008,4.0469269 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Mini / mini_gift_lock</title>
<g id="Mini-/-mini_gift_lock" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M34.6666667,26.3333333 C40.1895142,26.3333333 44.6666667,30.8104858 44.6666667,36.3333333 C44.6666667,41.8561808 40.1895142,46.3333333 34.6666667,46.3333333 C29.1438192,46.3333333 24.6666667,41.8561808 24.6666667,36.3333333 C24.6666667,30.8104858 29.1438192,26.3333333 34.6666667,26.3333333 Z M22,3.06666667 C27.8542183,3.06666667 32.6,7.81244832 32.6,13.6666667 L32.5999548,19.4672746 C34.7232323,19.9235567 36.4292218,21.5034006 37.0650949,23.5539779 C36.287246,23.4090943 35.4858038,23.3333333 34.6666667,23.3333333 C27.4869649,23.3333333 21.6666667,29.1536316 21.6666667,36.3333333 C21.6666667,38.3649522 22.1326999,40.2877232 22.9636948,42.0005746 L12.6666667,42 C9.35295817,42 6.66666667,39.3137085 6.66666667,36 L6.66666667,25.3333333 C6.66666667,22.454169 8.69461762,20.048658 11.4000452,19.4672746 L11.4,13.6666667 C11.4,7.81244832 16.1457817,3.06666667 22,3.06666667 Z M34.6666667,29.3061633 C33.7052821,29.3061633 32.9259259,30.0855195 32.9259259,31.0469041 L32.9259259,36.9308449 C32.9259259,37.7182476 33.2996271,38.4589206 33.9329602,38.9267797 L37.3333333,41.3922119 C38.1066056,41.9634476 39.1965447,41.7996646 39.7677804,41.0263923 L39.8381314,40.9238035 C40.323622,40.1593232 40.1416125,39.1383445 39.4019608,38.5919452 L36.4074074,36.4264726 L36.4074074,31.0469041 C36.4074074,30.0855195 35.6280512,29.3061633 34.6666667,29.3061633 Z M22,7.6 C18.6494725,7.6 15.9333333,10.3161392 15.9333333,13.6666667 L15.9326667,19.3326667 L28.0666667,19.3326667 L28.0666667,13.6666667 C28.0666667,10.3161392 25.3505275,7.6 22,7.6 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 470 B

After

Width:  |  Height:  |  Size: 470 B

Before

Width:  |  Height:  |  Size: 899 B

After

Width:  |  Height:  |  Size: 899 B

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Menu / rating_gifts</title>
<g id="Icon-/-Menu-/-rating_gifts" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M9.49180328,1 C11.2844653,1 12.6018066,2.18644541 12.6018066,3.65 C12.6018066,5.11355459 11.2844653,6.3 9.49180328,6.3 C7.6991413,6.3 6.24590164,5.11355459 6.24590164,3.65 C6.24590164,2.18644541 7.6991413,1 9.49180328,1 Z M9.49180328,2.2 C8.31430075,2.2 7.44590164,2.90897331 7.44590164,3.65 C7.44590164,4.39102669 8.31430075,5.1 9.49180328,5.1 C10.6309547,5.1 11.4018066,4.43203043 11.4018066,3.65 C11.4018066,2.86796957 10.6309547,2.2 9.49180328,2.2 Z" id="Oval" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M14.5081967,1 C16.3008587,1 17.7540984,2.18644541 17.7540984,3.65 C17.7540984,5.11355459 16.3008587,6.3 14.5081967,6.3 C12.7155347,6.3 11.4638672,5.11355459 11.4638672,3.65 C11.4638672,2.18644541 12.7155347,1 14.5081967,1 Z M14.5081967,2.2 C13.3883731,2.2 12.6638672,2.84700401 12.6638672,3.65 C12.6638672,4.45299599 13.3883731,5.1 14.5081967,5.1 C15.6856993,5.1 16.5540984,4.39102669 16.5540984,3.65 C16.5540984,2.90897331 15.6856993,2.2 14.5081967,2.2 Z" id="Oval" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M19.5245902,5.2245614 C20.6708074,5.2245614 21.6,6.15375404 21.6,7.29997124 L21.6,9.62036238 C21.6,10.2776718 21.0671455,10.8105263 20.4098361,10.8105263 L3.59016393,10.8105263 C2.93285454,10.8105263 2.4,10.2776718 2.4,9.62036238 L2.4,7.29997124 C2.4,6.15375404 3.32919263,5.2245614 4.47540984,5.2245614 L19.5245902,5.2245614 Z M19.5245902,6.4245614 L4.47540984,6.4245614 C3.99193433,6.4245614 3.6,6.81649574 3.6,7.29997124 L3.6,9.6095614 L20.4,9.6095614 L20.4,7.29997124 C20.4,6.85368616 20.0660441,6.48540066 19.6343997,6.43138209 L19.5245902,6.4245614 Z" id="Rectangle" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M5.07540984,10.7953216 L5.07540984,18.3761864 C5.07540984,19.3485697 5.86368226,20.1368421 6.83606557,20.1368421 L17.1639344,20.1368421 C18.1363177,20.1368421 18.9245902,19.3485697 18.9245902,18.3761864 L18.9245902,10.7953216 L20.1245902,10.7953216 L20.1245902,18.3761864 C20.1245902,20.0113114 18.7990594,21.3368421 17.1639344,21.3368421 L6.83606557,21.3368421 C5.20094056,21.3368421 3.87540984,20.0113114 3.87540984,18.3761864 L3.87540984,10.7953216 L5.07540984,10.7953216 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<polygon id="Path" fill="#FFFFFF" fill-rule="nonzero" points="11.4 6.11695906 11.4 21 12.6 21 12.6 6.11695906"></polygon>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Menu / rating_refund</title>
<g id="Icon-/-Menu-/-rating_refund" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M9.58495703,2.34314741 C14.845204,0.914046898 20.2520851,4.07916838 21.661564,9.41264412 C23.0710429,14.7461199 19.9493787,20.2282711 14.6891317,21.6573716 C9.70832403,23.0105542 4.55852362,20.241996 2.84766326,15.3548697 L2.79687536,15.2061286 C2.7724639,15.132795 2.65678419,14.7396157 2.52176727,14.2756688 L2.02361181,12.5403036 C1.92527607,12.1682007 2.1430666,11.785725 2.51006058,11.6860203 C2.87705455,11.5863156 3.25427881,11.807138 3.35261455,12.179241 L3.59432993,13.0275538 C3.80113943,13.7451404 4.06828557,14.6632038 4.10050903,14.760005 C5.52633258,19.0432668 10.0041242,21.485941 14.3330265,20.3098676 C18.8592855,19.0801764 21.5453687,14.3629766 20.3325613,9.77370673 C19.1197538,5.18443691 14.4673212,2.46096029 9.94106224,3.69065143 C7.52370963,4.34739623 5.56035445,6.02376558 4.49357103,8.2653952 C4.32845825,8.61234632 3.91721015,8.75789206 3.57502268,8.59048072 C3.23283521,8.42306937 3.08928781,8.00609621 3.25440059,7.65914509 C4.49336656,5.05570865 6.77676829,3.10607433 9.58495703,2.34314741 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M2.49794681,3.90217796 C2.49794681,3.51694863 2.80594913,3.20465855 3.18588925,3.20465855 C3.56582936,3.20465855 3.87383169,3.51694863 3.87383169,3.90217796 L3.87360558,7.52173176 L6.91980245,7.41555441 C7.2814361,7.4029357 7.58746725,7.67568116 7.62708143,8.03426422 L7.63099908,8.08867052 C7.64406681,8.47367193 7.34684021,8.79651819 6.96712488,8.80976784 L3.24117729,8.93977968 C2.86111038,8.95304159 2.53984537,8.66451926 2.50172057,8.28653895 L2.49800979,8.22097241 L2.49794681,3.90217796 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M12.3540269,17.3251877 C12.6431336,17.3251877 12.9561718,17.1659567 12.9561718,16.7838024 L12.9561718,16.1901404 C14.6843872,16.0054325 15.7076642,14.9990928 15.7076642,13.5341679 C15.7076642,12.2730587 14.9431377,11.50875 13.3562633,11.1648111 L12.0520711,10.8718262 C11.2361478,10.6934875 10.8378231,10.3240717 10.8378231,9.78268638 C10.8378231,9.13302405 11.4031872,8.66170039 12.289781,8.66170039 C13.0093353,8.66170039 13.5104536,8.90373146 14.0693931,9.5215476 C14.3520752,9.81453257 14.5705113,9.92280963 14.8660426,9.92280963 C15.2258197,9.92280963 15.5020772,9.67440933 15.5020772,9.30499349 C15.5020772,8.94831613 15.2900657,8.55979258 14.9302885,8.20948446 C14.4548686,7.76363776 13.7920916,7.47065278 12.9890176,7.36874497 L12.9890176,6.69989325 C12.9890176,6.32410818 12.6816811,6.16487722 12.3861499,6.16487722 C12.0970432,6.16487722 11.7838443,6.31773894 11.7838443,6.69989325 L11.7838443,7.34963725 C10.1198749,7.50249898 9.11603231,8.48973095 9.11603231,9.90370191 C9.11603231,11.1393342 9.88055881,11.960966 11.3453659,12.2857971 L12.6495582,12.5851513 C13.6003978,12.8080747 13.992298,13.1392751 13.992298,13.6997681 C13.992298,14.4258613 13.4205093,14.8844465 12.3989991,14.8844465 C11.6344726,14.8844465 10.9984379,14.5978307 10.4202246,13.9800146 C10.0925704,13.6551834 9.91268177,13.5851218 9.66854726,13.5851218 C9.27664712,13.5851218 8.98111587,13.8335221 8.98111587,14.2602611 C8.98111587,14.6360462 9.19955201,15.0245697 9.59145215,15.3621394 C10.1054195,15.8270938 10.852439,16.1137095 11.7454573,16.1965096 L11.7454573,16.7838024 C11.7454573,17.1659567 12.0584957,17.3251877 12.3540269,17.3251877 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Menu / users_stars</title>
<g id="Icon-/-Menu-/-users_stars" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M10.6647222,14.6083333 C13.1679529,14.6083333 15.1972222,16.6376027 15.1972222,19.1408333 L15.1972222,19.1805556 C15.1972222,19.5119264 14.9285931,19.7805556 14.5972222,19.7805556 C14.2658514,19.7805556 13.9972222,19.5119264 13.9972222,19.1805556 L13.9972222,19.1408333 C13.9972222,17.3003444 12.5052112,15.8083333 10.6647222,15.8083333 L5.47983871,15.8083333 C3.75894714,15.8083333 2.36388889,17.2033916 2.36388889,18.9242832 C2.36388889,19.255654 2.09525974,19.5242832 1.76388889,19.5242832 C1.43251804,19.5242832 1.16388889,19.255654 1.16388889,18.9242832 C1.16388889,16.5406499 3.09620544,14.6083333 5.47983871,14.6083333 L10.6647222,14.6083333 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M8.47745116,3.81325275 C8.84434853,3.9691957 9.13648401,4.26133118 9.29242697,4.62822855 L9.837,5.91011111 L11.2536218,6.01848992 C12.0546381,6.07958882 12.6656371,6.74303885 12.6765549,7.53105369 L12.6721689,7.67131095 C12.640454,8.08709799 12.4414977,8.47225506 12.1207729,8.73875142 L11.07,9.61111111 L11.3938701,10.9206432 C11.5864903,11.7005519 11.1475494,12.4884712 10.4025244,12.745423 L10.2679383,12.785146 C9.87396987,12.8824474 9.45751925,12.8203294 9.10909531,12.6122923 L7.874,11.8751111 L6.65149995,12.6059661 C5.96413876,13.016376 5.08613461,12.8292111 4.62167189,12.196898 L4.53957882,12.0731599 C4.32863667,11.7198706 4.26783432,11.2968624 4.3707302,10.8984627 L4.60871396,9.97701978 C4.63955115,9.85762211 4.67934978,9.74174595 4.72741862,9.63019415 L4.781,9.51711111 C4.72402035,9.48693702 4.66830927,9.45442225 4.61377597,9.41969742 L4.45384681,9.30892937 L3.75085061,8.78062735 C3.07086182,8.2696154 2.93387902,7.30411853 3.44489097,6.62412974 C3.71113573,6.26984554 4.11709183,6.04742064 4.55898263,6.01371466 L5.912,5.91011111 L6.45757303,4.62822855 C6.79029762,3.84540525 7.69462787,3.48052816 8.47745116,3.81325275 Z M8.00805289,4.91763731 C7.83516435,4.84415422 7.63544068,4.92473827 7.5619576,5.09762682 L6.81242023,6.8611133 C6.762712,6.97806516 6.65195707,7.05755523 6.52524782,7.06722019 L4.65024959,7.21023893 C4.55265687,7.21768299 4.46300042,7.2668061 4.40419957,7.34505068 C4.29134126,7.49522796 4.32159427,7.70846043 4.47177155,7.82131874 L5.17476775,8.34962077 C5.44651754,8.55384088 5.78694643,8.64456615 6.12428682,8.60267031 L7.57841053,8.42207605 C7.70002725,8.40697192 7.81692252,8.4743167 7.86485999,8.58710305 C7.92415906,8.72662077 7.85912899,8.88779362 7.71961127,8.94709269 L6.4517079,9.48598834 C6.11405341,9.62950127 5.8623347,9.92186941 5.77058814,10.2771004 L5.53260437,11.1985433 C5.50987955,11.2865309 5.52330791,11.3799534 5.56989503,11.4579782 C5.66620013,11.6192716 5.87502492,11.671955 6.03631826,11.5756499 L7.70062419,10.5819253 C7.80803032,10.5177952 7.94196968,10.5177952 8.04937581,10.5819253 L9.72427701,11.5819761 C9.80122733,11.6279216 9.89320153,11.6416405 9.98021047,11.6201513 C10.1625874,11.5751082 10.2739185,11.3907479 10.2288754,11.208371 L9.77632428,9.37601536 C9.74506588,9.24945178 9.78889505,9.11615638 9.88916433,9.03284072 L11.3538674,7.81579097 C11.4247003,7.75693456 11.4686403,7.67187163 11.4756446,7.58004398 C11.4899322,7.3927312 11.3496676,7.2293018 11.1623548,7.21501419 L9.22475218,7.06722019 C9.09804293,7.05755523 8.987288,6.97806516 8.93757977,6.8611133 L8.1880424,5.09762682 C8.153602,5.01659659 8.08908313,4.95207771 8.00805289,4.91763731 Z" id="Star" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M18.0174227,5.90931057 C18.3486503,6.04652517 18.611812,6.3096869 18.7490266,6.64091449 L19.1044444,7.5 L20.0337984,7.57332883 C20.7344012,7.62815795 21.2683217,8.20775826 21.2801433,8.89635992 L21.2761548,9.02664858 C21.2481303,9.38474356 21.0787573,9.71696686 20.805417,9.94999576 L20.0974444,10.552 L20.3154363,11.4563406 C20.4799024,12.1395692 20.0937745,12.8265284 19.4425658,13.0506693 L19.3174274,13.0871582 C18.9686126,13.1711245 18.6007266,13.1129982 18.2947908,12.9255805 L17.4994444,12.438 L16.7339799,12.9079554 C16.1370798,13.2736191 15.3682309,13.1207349 14.9530722,12.5755767 L14.8749121,12.4613522 C14.6783232,12.1404454 14.6243898,11.7521195 14.7260855,11.389785 L14.9136874,10.721373 C14.9302657,10.6623057 14.9495081,10.6043097 14.9712932,10.5475329 L14.9924444,10.496 L14.8586084,10.4042198 L14.3173233,9.99771597 C13.7202762,9.54933497 13.5997585,8.701848 14.0481395,8.10480086 C14.2812853,7.79435268 14.6366446,7.59911993 15.0237072,7.56882844 L15.8944444,7.5 L16.2509734,6.64091449 C16.536738,5.95109613 17.3276044,5.6235459 18.0174227,5.90931057 Z M17.59643,6.9255611 C17.4678713,6.87230428 17.3204807,6.93334851 17.2672239,7.0619072 L16.7120856,8.40197687 C16.6758104,8.48954314 16.5934614,8.54934298 16.4989677,8.55673805 L15.1095308,8.66547529 C15.0373954,8.6711206 14.9711685,8.70750534 14.9277181,8.76536233 C14.8441551,8.87663162 14.8666155,9.03457438 14.9778848,9.11813736 L15.5191699,9.52464117 C15.7230236,9.67773481 15.9788884,9.7445585 16.2315688,9.71069694 L17.183292,9.58315701 C17.2805543,9.57012294 17.375435,9.61996727 17.4198915,9.70745139 C17.4776834,9.82117784 17.4323395,9.96022092 17.318613,10.0180128 L16.4184593,10.4754402 C16.2004755,10.5862121 16.0388382,10.7832041 15.9727639,11.0186219 L15.7851621,11.6870339 C15.7662094,11.7545607 15.7762608,11.8269315 15.8128983,11.8867376 C15.8855887,12.0053956 16.0407073,12.0426597 16.1593653,11.9699692 L17.3683823,11.2293199 C17.449152,11.17984 17.550848,11.17984 17.6316177,11.2293199 L18.8694054,11.9875943 C18.9264214,12.0225226 18.9949829,12.0333554 19.0599901,12.0177069 C19.1952788,11.9851403 19.2785516,11.8490667 19.245985,11.7137779 L18.9067247,10.304416 C18.8845188,10.212168 18.9160198,10.1152669 18.988225,10.0537103 L20.0917784,9.1129056 C20.1427197,9.06947694 20.1742851,9.00756181 20.1795079,8.94082508 C20.1903648,8.80209601 20.086704,8.68083261 19.9479749,8.66997568 L18.5010323,8.55673805 C18.4065386,8.54934298 18.3241896,8.48954314 18.2879144,8.40197687 L17.7327761,7.0619072 C17.707204,7.00017764 17.6581596,6.95113324 17.59643,6.9255611 Z" id="Star-Copy" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M18.2638889,14.6083333 C20.7890575,14.6083333 22.8361111,16.6553869 22.8361111,19.1805556 C22.8361111,19.5119264 22.567482,19.7805556 22.2361111,19.7805556 C21.9047403,19.7805556 21.6361111,19.5119264 21.6361111,19.1805556 C21.6361111,17.3181286 20.1263158,15.8083333 18.2638889,15.8083333 L15.8789648,15.8077138 C15.6342075,15.3537143 15.2908888,14.9468235 14.8660915,14.6068359 L18.2638889,14.6083333 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.7 KiB

@@ -0,0 +1,15 @@
<svg width="72px" height="72px" viewBox="0 0 72 72">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(9.000000, 14.000000)" stroke-width="7.2" stroke="rgb(255,255,255)">
<path d="M2.96014341,0 L50.9898193,0 C51.9732032,-7.06402744e-15
52.7703933,0.797190129 52.7703933,1.78057399 C52.7703933,2.08038611
52.6946886,2.3753442 52.5502994,2.63809702 L29.699977,44.2200383
C28.7527832,45.9436969 26.5876295,46.5731461 24.8639708,45.6259523
C24.2556953,45.2916896 23.7583564,44.7869606 23.4331014,44.1738213
L1.38718565,2.61498853 C0.926351231,1.74626794 1.25700829,0.668450654
2.12572888,0.20761623 C2.38272962,0.0712838007 2.6692209,4.97530809e-16
2.96014341,0 Z"></path>
<line x1="27" y1="44.4532875" x2="27" y2="0"></line>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Filled / filled_verify_age</title>
<g id="Filled-/-filled_verify_age" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M36,34.9473684 C33.5842105,34.9473684 31.5592105,34.1302632 29.925,32.4960526 C28.2907895,30.8618421 27.4736842,28.8368421 27.4736842,26.4210526 C27.4736842,24.0526316 28.2907895,22.0394737 29.925,20.3815789 C31.5592105,18.7236842 33.5842105,17.8947368 36,17.8947368 C38.3684211,17.8947368 40.3815789,18.7236842 42.0394737,20.3815789 C43.6973684,22.0394737 44.5263158,24.0526316 44.5263158,26.4210526 C44.5263158,28.8368421 43.6973684,30.8618421 42.0394737,32.4960526 C40.3815789,34.1302632 38.3684211,34.9473684 36,34.9473684 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M18.9473684,49.6842105 L18.9473684,47.1263158 C18.9473684,46.1315789 19.1960526,45.1960526 19.6934211,44.3197368 C20.1907895,43.4434211 20.8657895,42.7447368 21.7184211,42.2236842 C23.8973684,40.9447368 26.1828947,39.9736842 28.575,39.3105263 C30.9671053,38.6473684 33.4421053,38.3157895 36,38.3157895 C38.5578947,38.3157895 41.0328947,38.6473684 43.425,39.3105263 C45.8171053,39.9736842 48.1026316,40.9447368 50.2815789,42.2236842 C51.1342105,42.7447368 51.8092105,43.4434211 52.3065789,44.3197368 C52.8039474,45.1960526 53.0526316,46.1315789 53.0526316,47.1263158 L53.0526316,49.6842105 C53.0526316,50.4894737 52.7802632,51.1644737 52.2355263,51.7092105 C51.6907895,52.2539474 51.0157895,52.5263158 50.2105263,52.5263158 L21.7894737,52.5263158 C20.9842105,52.5263158 20.3092105,52.2539474 19.7644737,51.7092105 C19.2197368,51.1644737 18.9473684,50.4894737 18.9473684,49.6842105 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M11.6842105,66 C10.1210526,66 8.78289474,65.4434211 7.66973684,64.3302632 C6.55657895,63.2171053 6,61.8789474 6,60.3157895 L6,51.7894737 C6,50.9842105 6.27236842,50.3092105 6.81710526,49.7644737 C7.36184211,49.2197368 8.03684211,48.9473684 8.84210526,48.9473684 C9.64736842,48.9473684 10.3223684,49.2197368 10.8671053,49.7644737 C11.4118421,50.3092105 11.6842105,50.9842105 11.6842105,51.7894737 L11.6842105,60.3157895 L20.2105263,60.3157895 C21.0157895,60.3157895 21.6907895,60.5881579 22.2355263,61.1328947 C22.7802632,61.6776316 23.0526316,62.3526316 23.0526316,63.1578947 C23.0526316,63.9631579 22.7802632,64.6381579 22.2355263,65.1828947 C21.6907895,65.7276316 21.0157895,66 20.2105263,66 L11.6842105,66 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M6,20.2105263 L6,11.6842105 C6,10.1210526 6.55657895,8.78289474 7.66973684,7.66973684 C8.78289474,6.55657895 10.1210526,6 11.6842105,6 L20.2105263,6 C21.0157895,6 21.6907895,6.27236842 22.2355263,6.81710526 C22.7802632,7.36184211 23.0526316,8.03684211 23.0526316,8.84210526 C23.0526316,9.64736842 22.7802632,10.3223684 22.2355263,10.8671053 C21.6907895,11.4118421 21.0157895,11.6842105 20.2105263,11.6842105 L11.6842105,11.6842105 L11.6842105,20.2105263 C11.6842105,21.0157895 11.4118421,21.6907895 10.8671053,22.2355263 C10.3223684,22.7802632 9.64736842,23.0526316 8.84210526,23.0526316 C8.03684211,23.0526316 7.36184211,22.7802632 6.81710526,22.2355263 C6.27236842,21.6907895 6,21.0157895 6,20.2105263 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M60.3157895,66 L51.7894737,66 C50.9842105,66 50.3092105,65.7276316 49.7644737,65.1828947 C49.2197368,64.6381579 48.9473684,63.9631579 48.9473684,63.1578947 C48.9473684,62.3526316 49.2197368,61.6776316 49.7644737,61.1328947 C50.3092105,60.5881579 50.9842105,60.3157895 51.7894737,60.3157895 L60.3157895,60.3157895 L60.3157895,51.7894737 C60.3157895,50.9842105 60.5881579,50.3092105 61.1328947,49.7644737 C61.6776316,49.2197368 62.3526316,48.9473684 63.1578947,48.9473684 C63.9631579,48.9473684 64.6381579,49.2197368 65.1828947,49.7644737 C65.7276316,50.3092105 66,50.9842105 66,51.7894737 L66,60.3157895 C66,61.8789474 65.4434211,63.2171053 64.3302632,64.3302632 C63.2171053,65.4434211 61.8789474,66 60.3157895,66 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M60.3157895,20.2105263 L60.3157895,11.6842105 L51.7894737,11.6842105 C50.9842105,11.6842105 50.3092105,11.4118421 49.7644737,10.8671053 C49.2197368,10.3223684 48.9473684,9.64736842 48.9473684,8.84210526 C48.9473684,8.03684211 49.2197368,7.36184211 49.7644737,6.81710526 C50.3092105,6.27236842 50.9842105,6 51.7894737,6 L60.3157895,6 C61.8789474,6 63.2171053,6.55657895 64.3302632,7.66973684 C65.4434211,8.78289474 66,10.1210526 66,11.6842105 L66,20.2105263 C66,21.0157895 65.7276316,21.6907895 65.1828947,22.2355263 C64.6381579,22.7802632 63.9631579,23.0526316 63.1578947,23.0526316 C62.3526316,23.0526316 61.6776316,22.7802632 61.1328947,22.2355263 C60.5881579,21.6907895 60.3157895,21.0157895 60.3157895,20.2105263 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1016 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon / Filled / checklist</title>
<g id="Icon-/-Filled-/-checklist" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M12,4 C16.416,4 20,7.584 20,12 C20,16.416 16.416,20 12,20 C7.584,20 4,16.416 4,12 C4,7.584 7.584,4 12,4 Z M16.4818432,9.54348643 C16.1872637,9.22288416 15.7053635,9.21829494 15.4054889,9.53323613 L10.7733532,14.3979954 L8.99451107,12.5296222 C8.69463652,12.2146811 8.21273632,12.2192703 7.91815685,12.5398725 C7.62357737,12.8604748 7.62786989,13.3756846 7.92774444,13.6906258 L10.1546212,16.0293878 C10.4981762,16.3902041 11.0487833,16.3902041 11.3923383,16.0293878 L16.4722556,10.6942397 C16.7721301,10.3792985 16.7764226,9.8640887 16.4818432,9.54348643 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 975 B

+5 -5
View File
@@ -1,10 +1,10 @@
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1067_20)">
<path d="M7.58588 9.73341C8.52939 10.6769 9.41338 12.269 10.085 13.6905C10.5357 14.6445 12.0164 14.6078 12.3503 13.6068L15.8086 3.23922C16.1618 2.1804 15.1541 1.17304 14.0954 1.52654L3.74092 4.98387C2.73902 5.3184 2.70382 6.80252 3.65913 7.2532C5.0706 7.91907 6.64716 8.79469 7.58588 9.73341Z" fill="white"/>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1362_52)">
<path d="M6.92088 9.06526C7.86439 10.0088 8.74838 11.6009 9.41997 13.0223C9.87073 13.9764 11.3514 13.9397 11.6853 12.9387L15.1436 2.57106C15.4968 1.51225 14.4891 0.504885 13.4304 0.858384L3.07592 4.31571C2.07402 4.65025 2.03882 6.13437 2.99412 6.58505C4.4056 7.25092 5.98216 8.12654 6.92088 9.06526Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_1067_20">
<rect width="16" height="16.0037" fill="white" transform="translate(0.665001 0.668152)"/>
<clipPath id="clip0_1362_52">
<rect width="16" height="16.0037" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 600 B

After

Width:  |  Height:  |  Size: 566 B

@@ -13,6 +13,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"cloud_lng_topup_purpose_subs" = "Buy **Stars** to keep your channel subscriptions.";
"cloud_lng_age_verify_about_gb#one" = "To access such content, you must confirm that you are at least **{count}** year old as required by UK law.";
"cloud_lng_age_verify_about_gb#other" = "To access such content, you must confirm that you are at least **{count}** years old as required by UK law.";
"cloud_lng_passport_in_ar" = "Arabic";
"cloud_lng_passport_in_az" = "Azerbaijani";
"cloud_lng_passport_in_bg" = "Bulgarian";
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -51,8 +51,8 @@ var LocationPicker = {
},
init: function (params) {
mapboxgl.accessToken = params.token;
if (params.protocol) {
mapboxgl.config.API_URL = params.protocol + '://domain/api.mapbox.com';
if (location.hostname != 'desktop-app-resource') {
mapboxgl.config.API_URL = location.protocol + '//' + location.host + '/api.mapbox.com';
}
var options = { container: 'map', config: {
+8
View File
@@ -52,5 +52,13 @@
<file alias="art/ayu/yaplus/app_preview.png">../../art/ayu/yaplus/app_preview.png</file>
<file alias="art/ayu/yaplus/app_macos.png">../../art/ayu/yaplus/app_macos.png</file>
<file alias="art/ayu/yaplus/app_icon.ico">../../art/ayu/yaplus/app_icon.ico</file>
<file alias="icons/ayu/nocover.svg">../../icons/ayu/nocover.svg</file>
<file alias="icons/ayu/donates/boosty.svg">../../icons/ayu/donates/boosty.svg</file>
<file alias="icons/ayu/donates/ton.svg">../../icons/ayu/donates/ton.svg</file>
<file alias="icons/ayu/donates/bitcoin.svg">../../icons/ayu/donates/bitcoin.svg</file>
<file alias="icons/ayu/donates/ethereum.svg">../../icons/ayu/donates/ethereum.svg</file>
<file alias="icons/ayu/donates/solana.svg">../../icons/ayu/donates/solana.svg</file>
<file alias="icons/ayu/donates/tron.svg">../../icons/ayu/donates/tron.svg</file>
<file alias="icons/ayu/donates/support_logo.svg">../../icons/ayu/donates/support_logo.svg</file>
</qresource>
</RCC>
@@ -9,6 +9,7 @@
<file alias="cloud_password/password_input.tgs">../../animations/cloud_password/password_input.tgs</file>
<file alias="cloud_password/hint.tgs">../../animations/cloud_password/hint.tgs</file>
<file alias="cloud_password/email.tgs">../../animations/cloud_password/email.tgs</file>
<file alias="cloud_password/validate.tgs">../../animations/cloud_password/validate.tgs</file>
<file alias="ttl.tgs">../../animations/ttl.tgs</file>
<file alias="discussion.tgs">../../animations/discussion.tgs</file>
<file alias="stats.tgs">../../animations/stats.tgs</file>
@@ -25,6 +26,7 @@
<file alias="hours.tgs">../../animations/hours.tgs</file>
<file alias="phone.tgs">../../animations/phone.tgs</file>
<file alias="chat_link.tgs">../../animations/chat_link.tgs</file>
<file alias="diamond.tgs">../../animations/diamond.tgs</file>
<file alias="collectible_username.tgs">../../animations/collectible_username.tgs</file>
<file alias="collectible_phone.tgs">../../animations/collectible_phone.tgs</file>
<file alias="search.tgs">../../animations/search.tgs</file>
@@ -32,6 +34,12 @@
<file alias="hello_status.tgs">../../animations/hello_status.tgs</file>
<file alias="starref_link.tgs">../../animations/starref_link.tgs</file>
<file alias="media_forbidden.tgs">../../animations/media_forbidden.tgs</file>
<file alias="topics.tgs">../../animations/edit_peers/topics.tgs</file>
<file alias="topics_tabs.tgs">../../animations/edit_peers/topics_tabs.tgs</file>
<file alias="topics_list.tgs">../../animations/edit_peers/topics_list.tgs</file>
<file alias="direct_messages.tgs">../../animations/edit_peers/direct_messages.tgs</file>
<file alias="no_chats.tgs">../../animations/no_chats.tgs</file>
<file alias="transcribe_loading.tgs">../../animations/transcribe_loading.tgs</file>
<file alias="dice_idle.tgs">../../animations/dice/dice_idle.tgs</file>
<file alias="dart_idle.tgs">../../animations/dice/dart_idle.tgs</file>
@@ -10,5 +10,6 @@
<file alias="group_call_connect.mp3">../../sounds/group_call_connect.mp3</file>
<file alias="group_call_end.mp3">../../sounds/group_call_end.mp3</file>
<file alias="group_call_allowed.mp3">../../sounds/group_call_allowed.mp3</file>
<file alias="group_call_recording_start.mp3">../../sounds/group_call_recording_start.mp3</file>
</qresource>
</RCC>
+1 -1
View File
@@ -10,7 +10,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
Version="5.14.3.0" />
Version="6.1.3.0" />
<Properties>
<DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
+4 -4
View File
@@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 5,14,3,0
PRODUCTVERSION 5,14,3,0
FILEVERSION 6,1,3,0
PRODUCTVERSION 6,1,3,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -62,10 +62,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Radolyn Labs"
VALUE "FileDescription", "AyuGram Desktop"
VALUE "FileVersion", "5.14.3.0"
VALUE "FileVersion", "6.1.3.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2025"
VALUE "ProductName", "AyuGram Desktop"
VALUE "ProductVersion", "5.14.3.0"
VALUE "ProductVersion", "6.1.3.0"
END
END
BLOCK "VarFileInfo"
+4 -4
View File
@@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 5,14,3,0
PRODUCTVERSION 5,14,3,0
FILEVERSION 6,1,3,0
PRODUCTVERSION 6,1,3,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -53,10 +53,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Radolyn Labs"
VALUE "FileDescription", "AyuGram Desktop Updater"
VALUE "FileVersion", "5.14.3.0"
VALUE "FileVersion", "6.1.3.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2025"
VALUE "ProductName", "AyuGram Desktop"
VALUE "ProductVersion", "5.14.3.0"
VALUE "ProductVersion", "6.1.3.0"
END
END
BLOCK "VarFileInfo"
+1 -1
View File
@@ -282,7 +282,7 @@ int main(int argc, char *argv[])
cout << "Compression start, size: " << resultSize << "\n";
QByteArray compressed, resultCheck;
#if defined Q_OS_WIN && !defined TDESKTOP_USE_PACKAGED // use Lzma SDK for win
#if defined Q_OS_WIN && !defined PACKER_USE_PACKAGED // use Lzma SDK for win
const int32 hSigLen = 128, hShaLen = 20, hPropsLen = LZMA_PROPS_SIZE, hOriginalSizeLen = sizeof(int32), hSize = hSigLen + hShaLen + hPropsLen + hOriginalSizeLen; // header
compressed.resize(hSize + resultSize + 1024 * 1024); // rsa signature + sha1 + lzma props + max compressed size
+1 -1
View File
@@ -27,7 +27,7 @@ extern "C" {
#include <openssl/evp.h>
} // extern "C"
#if defined Q_OS_WIN && !defined TDESKTOP_USE_PACKAGED // use Lzma SDK for win
#if defined Q_OS_WIN && !defined PACKER_USE_PACKAGED // use Lzma SDK for win
#include <LzmaLib.h>
#else
#include <lzma.h>
@@ -5,6 +5,7 @@ the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#define _GLIBCXX_USE_CXX11_ABI 0
#include <cstdio>
#include <sys/stat.h>
#include <sys/types.h>
+144 -7
View File
@@ -9,10 +9,13 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "apiwrap.h"
#include "base/unixtime.h"
#include "core/changelogs.h"
#include "core/application.h"
#include "core/changelogs.h"
#include "core/core_settings.h"
#include "lang/lang_keys.h"
#include "main/main_app_config.h"
#include "main/main_session_settings.h"
#include "main/main_session.h"
namespace Api {
namespace {
@@ -83,7 +86,19 @@ Authorizations::Entry ParseEntry(const MTPDauthorization &data) {
} // namespace
Authorizations::Authorizations(not_null<ApiWrap*> api)
: _api(&api->instance()) {
: _api(&api->instance())
, _autoconfirmPeriod([=] {
constexpr auto kFallbackCount = 604800;
return api->session().appConfig().get<int>(
u"authorization_autoconfirm_period"_q,
kFallbackCount);
})
, _saveUnreviewed([=] {
api->session().settings().setUnreviewed(_unreviewed);
api->session().saveSettingsDelayed();
}) {
_unreviewed = api->session().settings().unreviewed();
removeExpiredUnreviewed();
Core::App().settings().deviceModelChanges(
) | rpl::start_with_next([=](const QString &model) {
auto changed = false;
@@ -119,6 +134,7 @@ void Authorizations::reload() {
) | ranges::views::transform([](const MTPAuthorization &auth) {
return ParseEntry(auth.data());
}) | ranges::to<List>;
removeExpiredUnreviewed();
refreshCallsDisabledHereFromCloud();
_listChanges.fire({});
}).fail([=] {
@@ -217,11 +233,7 @@ void Authorizations::toggleCallsDisabled(uint64 hash, bool disabled) {
MTP_bool(disabled)
)).done([=] {
_toggleCallsDisabledRequests.remove(hash);
}).fail([=](const MTP::Error &error) {
LOG(("API Error: toggle calls %1. Hash: %2. %3.")
.arg(disabled ? u"disabled"_q : u"enabled"_q)
.arg(hash)
.arg(error.type()));
}).fail([=] {
_toggleCallsDisabledRequests.remove(hash);
}).send();
_toggleCallsDisabledRequests.emplace(hash, id);
@@ -265,4 +277,129 @@ crl::time Authorizations::lastReceivedTime() {
return _lastReceived;
}
const std::vector<Data::UnreviewedAuth> &Authorizations::unreviewed() {
removeExpiredUnreviewed();
return _unreviewed;
}
void Authorizations::removeExpiredUnreviewed() {
const auto now = base::unixtime::now();
const auto period = _autoconfirmPeriod();
const auto oldSize = _unreviewed.size();
_unreviewed.erase(
std::remove_if(_unreviewed.begin(), _unreviewed.end(),
[=](const auto &auth) {
return (now - auth.date) >= period;
}),
_unreviewed.end());
if (_unreviewed.size() != oldSize) {
_saveUnreviewed();
}
}
void Authorizations::review(const std::vector<uint64> &hashes, bool confirm) {
for (const auto hash : hashes) {
if (const auto sent = _reviewRequests.take(hash)) {
_api.request(*sent).cancel();
}
}
const auto checkComplete = [=] {
if (_reviewRequests.empty()) {
_saveUnreviewed();
_unreviewedChanges.fire({});
}
};
for (const auto hash : hashes) {
const auto removeFromUnreviewed = [=] {
_unreviewed.erase(
std::remove_if(_unreviewed.begin(), _unreviewed.end(),
[hash](const auto &auth) { return auth.hash == hash; }),
_unreviewed.end());
_reviewRequests.remove(hash);
checkComplete();
};
if (confirm) {
using Flag = MTPaccount_ChangeAuthorizationSettings::Flag;
const auto id = _api.request(MTPaccount_ChangeAuthorizationSettings(
MTP_flags(Flag::f_confirmed),
MTP_long(hash),
MTPBool(), // encrypted_requests_disabled
MTPBool() // call_requests_disabled
)).done([=] {
removeFromUnreviewed();
}).fail([=] {
removeFromUnreviewed();
}).send();
_reviewRequests.emplace(hash, id);
} else {
const auto id = _api.request(MTPaccount_ResetAuthorization(
MTP_long(hash)
)).done([=](const MTPBool &result) {
if (mtpIsTrue(result)) {
_list.erase(
ranges::remove(_list, hash, &Entry::hash),
end(_list));
_listChanges.fire({});
}
removeFromUnreviewed();
}).fail([=] {
removeFromUnreviewed();
}).send();
_reviewRequests.emplace(hash, id);
}
}
}
rpl::producer<> Authorizations::unreviewedChanges() const {
return _unreviewedChanges.events();
}
void Authorizations::apply(const MTPUpdate &update) {
removeExpiredUnreviewed();
update.match([&](const MTPDupdateNewAuthorization &data) {
auto unreviewed = Data::UnreviewedAuth{
.hash = data.vhash().v,
.unconfirmed = data.is_unconfirmed(),
.date = data.vdate().value_or_empty(),
.device = qs(data.vdevice().value_or_empty()),
.location = qs(data.vlocation().value_or_empty())
};
if (!unreviewed.unconfirmed) {
const auto hash = unreviewed.hash;
const auto was = _unreviewed.size();
_unreviewed.erase(
std::remove_if(
_unreviewed.begin(),
_unreviewed.end(),
[hash](const auto &auth) { return auth.hash == hash; }),
_unreviewed.end());
if (was != _unreviewed.size()) {
_saveUnreviewed();
_unreviewedChanges.fire({});
}
return;
}
for (auto &auth : _unreviewed) {
if (auth.hash == unreviewed.hash) {
auth = std::move(unreviewed);
_saveUnreviewed();
_unreviewedChanges.fire({});
return;
}
}
_unreviewed.push_back(std::move(unreviewed));
_saveUnreviewed();
_unreviewedChanges.fire({});
}, [](auto&&) {
Unexpected("Update in Authorizations::apply.");
});
}
} // namespace Api
@@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "data/data_authorization.h"
#include "mtproto/sender.h"
class ApiWrap;
@@ -35,6 +36,8 @@ public:
Fn<void(const MTP::Error &error)> &&fail,
std::optional<uint64> hash = std::nullopt);
void apply(const MTPUpdate &update);
[[nodiscard]] crl::time lastReceivedTime();
[[nodiscard]] List list() const;
@@ -42,6 +45,11 @@ public:
[[nodiscard]] int total() const;
[[nodiscard]] rpl::producer<int> totalValue() const;
[[nodiscard]] const std::vector<Data::UnreviewedAuth> &unreviewed();
[[nodiscard]] rpl::producer<> unreviewedChanges() const;
void review(const std::vector<uint64> &hashes, bool confirm);
void updateTTL(int days);
[[nodiscard]] rpl::producer<int> ttlDays() const;
@@ -57,6 +65,7 @@ public:
private:
void refreshCallsDisabledHereFromCloud();
void removeExpiredUnreviewed();
MTP::Sender _api;
mtpRequestId _requestId = 0;
@@ -64,10 +73,16 @@ private:
List _list;
rpl::event_stream<> _listChanges;
Fn<int()> _autoconfirmPeriod;
std::vector<Data::UnreviewedAuth> _unreviewed;
rpl::event_stream<> _unreviewedChanges;
Fn<void()> _saveUnreviewed;
mtpRequestId _ttlRequestId = 0;
rpl::variable<int> _ttlDays = 0;
base::flat_map<uint64, mtpRequestId> _toggleCallsDisabledRequests;
base::flat_map<uint64, mtpRequestId> _reviewRequests;
rpl::variable<bool> _callsDisabledHere;
crl::time _lastReceived = 0;
+25 -1
View File
@@ -10,6 +10,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "apiwrap.h"
#include "api/api_cloud_password.h"
#include "api/api_send_progress.h"
#include "api/api_suggest_post.h"
#include "boxes/share_box.h"
#include "boxes/passcode_box.h"
#include "boxes/url_auth_box.h"
@@ -244,7 +245,7 @@ void SendBotCallbackDataWithPassword(
fields.customSubmitButton = tr::lng_passcode_submit();
fields.customCheckCallback = [=](
const Core::CloudPasswordResult &result,
QPointer<PasscodeBox> box) {
base::weak_qptr<PasscodeBox> box) {
if (const auto button = getButton()) {
if (button->requestId) {
return;
@@ -399,10 +400,12 @@ void ActivateBotCommand(ClickHandlerContext context, int row, int column) {
}
}
const auto replyTo = FullReplyTo();
const auto suggest = SuggestPostOptions();
Window::PeerMenuCreatePoll(
controller,
item->history()->peer,
replyTo,
suggest,
chosen,
disabled);
} break;
@@ -519,6 +522,27 @@ void ActivateBotCommand(ClickHandlerContext context, int row, int column) {
controller->showToast(tr::lng_text_copied(tr::now));
}
} break;
case ButtonType::SuggestAccept: {
Api::AcceptClickHandler(item)->onClick(ClickContext{
Qt::LeftButton,
QVariant::fromValue(context),
});
} break;
case ButtonType::SuggestDecline: {
Api::DeclineClickHandler(item)->onClick(ClickContext{
Qt::LeftButton,
QVariant::fromValue(context),
});
} break;
case ButtonType::SuggestChange: {
Api::SuggestChangesClickHandler(item)->onClick(ClickContext{
Qt::LeftButton,
QVariant::fromValue(context),
});
} break;
}
}
@@ -57,7 +57,7 @@ void RemoveChatFilter(
RemoveComplexChatFilter::RemoveComplexChatFilter() = default;
void RemoveComplexChatFilter::request(
QPointer<Ui::RpWidget> widget,
base::weak_qptr<Ui::RpWidget> widget,
base::weak_ptr<Window::SessionController> weak,
FilterId id) {
const auto session = &weak->session();
@@ -22,7 +22,7 @@ public:
RemoveComplexChatFilter();
void request(
QPointer<Ui::RpWidget> widget,
base::weak_qptr<Ui::RpWidget> widget,
base::weak_ptr<Window::SessionController> weak,
FilterId id);
+45 -42
View File
@@ -142,13 +142,12 @@ void ConfirmSubscriptionBox(
const auto content = box->verticalLayout();
Ui::AddSkip(content, st::confirmInvitePhotoTop);
const auto userpicWrap = content->add(
object_ptr<Ui::CenterWrap<>>(
content,
object_ptr<Ui::RpWidget>(content)));
const auto userpic = userpicWrap->entity();
const auto userpic = content->add(
object_ptr<Ui::RpWidget>(content),
style::al_top);
const auto photoSize = st::confirmInvitePhotoSize;
userpic->resize(Size(photoSize));
userpic->setNaturalWidth(photoSize);
const auto creditsIconSize = photoSize / 3;
const auto creditsIconCallback =
Ui::PaintOutlinedColoredCreditsIconCallback(
@@ -188,8 +187,8 @@ void ConfirmSubscriptionBox(
}
auto p = QPainter(userpic);
p.drawImage(0, 0, state->frame);
}, userpicWrap->lifetime());
userpicWrap->setAttribute(Qt::WA_TransparentForMouseEvents);
}, userpic->lifetime());
userpic->setAttribute(Qt::WA_TransparentForMouseEvents);
if (photo) {
state->photoMedia = photo->createMediaView();
state->photoMedia->wanted(Data::PhotoSize::Small, Data::FileOrigin());
@@ -197,7 +196,7 @@ void ConfirmSubscriptionBox(
session->downloaderTaskFinished(
) | rpl::start_with_next([=] {
userpic->update();
}, userpicWrap->entity()->lifetime());
}, userpic->lifetime());
}
} else {
state->photoEmpty = std::make_unique<Ui::EmptyUserpic>(
@@ -215,47 +214,45 @@ void ConfirmSubscriptionBox(
2.);
box->addRow(
object_ptr<Ui::CenterWrap<Ui::FlatLabel>>(
object_ptr<Ui::FlatLabel>(
box,
object_ptr<Ui::FlatLabel>(
box,
tr::lng_channel_invite_subscription_title(),
st::inviteLinkSubscribeBoxTitle)));
tr::lng_channel_invite_subscription_title(),
st::inviteLinkSubscribeBoxTitle),
style::al_top);
box->addRow(
object_ptr<Ui::CenterWrap<Ui::FlatLabel>>(
object_ptr<Ui::FlatLabel>(
box,
object_ptr<Ui::FlatLabel>(
box,
tr::lng_channel_invite_subscription_about(
lt_channel,
rpl::single(Ui::Text::Bold(name)),
lt_price,
tr::lng_credits_summary_options_credits(
lt_count,
rpl::single(amount) | tr::to_count(),
Ui::Text::Bold),
Ui::Text::WithEntities),
st::inviteLinkSubscribeBoxAbout)));
tr::lng_channel_invite_subscription_about(
lt_channel,
rpl::single(Ui::Text::Bold(name)),
lt_price,
tr::lng_credits_summary_options_credits(
lt_count,
rpl::single(amount) | tr::to_count(),
Ui::Text::Bold),
Ui::Text::WithEntities),
st::inviteLinkSubscribeBoxAbout),
style::al_top);
Ui::AddSkip(content);
box->addRow(
object_ptr<Ui::CenterWrap<Ui::FlatLabel>>(
object_ptr<Ui::FlatLabel>(
box,
object_ptr<Ui::FlatLabel>(
box,
tr::lng_channel_invite_subscription_terms(
lt_link,
rpl::combine(
tr::lng_paid_react_agree_link(),
tr::lng_group_invite_subscription_about_url()
) | rpl::map([](const QString &text, const QString &url) {
return Ui::Text::Link(text, url);
}),
Ui::Text::RichLangValue),
st::inviteLinkSubscribeBoxTerms)));
tr::lng_channel_invite_subscription_terms(
lt_link,
rpl::combine(
tr::lng_paid_react_agree_link(),
tr::lng_group_invite_subscription_about_url()
) | rpl::map([](const QString &text, const QString &url) {
return Ui::Text::Link(text, url);
}),
Ui::Text::RichLangValue),
st::inviteLinkSubscribeBoxTerms),
style::al_top);
{
const auto balance = Settings::AddBalanceWidget(
content,
session,
session->credits().balanceValue(),
true);
session->credits().load(true);
@@ -271,7 +268,7 @@ void ConfirmSubscriptionBox(
}, balance->lifetime());
}
const auto sendCredits = [=, weak = Ui::MakeWeak(box)] {
const auto sendCredits = [=, weak = base::make_weak(box)] {
const auto show = box->uiShow();
const auto buttonWidth = state->saveButton
? state->saveButton->width()
@@ -279,7 +276,7 @@ void ConfirmSubscriptionBox(
const auto finish = [=] {
state->api = std::nullopt;
state->loading.force_assign(false);
if (const auto strong = weak.data()) {
if (const auto strong = weak.get()) {
strong->closeBox();
}
};
@@ -293,7 +290,7 @@ void ConfirmSubscriptionBox(
}, [](const MTPDpayments_paymentVerificationNeeded &data) {
});
const auto refill = session->data().activeCreditsSubsRebuilder();
const auto strong = weak.data();
const auto strong = weak.get();
if (!strong) {
return;
}
@@ -436,6 +433,12 @@ void CheckChatInvite(
}
});
}, [=](const MTP::Error &error) {
if (MTP::IsFloodError(error)) {
if (const auto strong = weak.get()) {
strong->show(Ui::MakeInformBox(tr::lng_flood_error()));
}
return;
}
if (error.code() != 400) {
return;
}
+1 -1
View File
@@ -14,7 +14,7 @@ class ChannelData;
namespace Info::Profile {
class Badge;
enum class BadgeType;
enum class BadgeType : ushort;
} // namespace Info::Profile
namespace Main {
@@ -494,8 +494,15 @@ void ChatParticipants::requestBots(not_null<ChannelData*> channel) {
LOG(("API Error: "
"channels.channelParticipantsNotModified received!"));
});
}).fail([=] {
}).fail([=](const MTP::Error &error) {
_botsRequests.remove(channel);
if (error.type() == u"CHANNEL_MONOFORUM_UNSUPPORTED"_q) {
channel->mgInfo->bots.clear();
channel->mgInfo->botStatus = -1;
channel->session().changes().peerUpdated(
channel,
Data::PeerUpdate::Flag::FullInfo);
}
}).send();
_botsRequests[channel] = requestId;
@@ -648,10 +655,7 @@ void ChatParticipants::Restrict(
channel->session().api().request(MTPchannels_EditBanned(
channel->inputChannel,
participant->input,
MTP_chatBannedRights(
MTP_flags(MTPDchatBannedRights::Flags::from_raw(
uint32(newRights.flags))),
MTP_int(newRights.until))
RestrictionsToMTP(newRights)
)).done([=](const MTPUpdates &result) {
channel->session().api().applyUpdates(result);
channel->applyEditBanned(participant, oldRights, newRights);
@@ -756,10 +760,7 @@ void ChatParticipants::kick(
const auto requestId = _api.request(MTPchannels_EditBanned(
channel->inputChannel,
participant->input,
MTP_chatBannedRights(
MTP_flags(
MTPDchatBannedRights::Flags::from_raw(uint32(rights.flags))),
MTP_int(rights.until))
RestrictionsToMTP(rights)
)).done([=](const MTPUpdates &result) {
channel->session().api().applyUpdates(result);
+11
View File
@@ -14,6 +14,17 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
namespace Api {
MTPSuggestedPost SuggestToMTP(SuggestPostOptions suggest) {
using Flag = MTPDsuggestedPost::Flag;
return suggest.exists
? MTP_suggestedPost(
MTP_flags((suggest.date ? Flag::f_schedule_date : Flag())
| (suggest.price().empty() ? Flag() : Flag::f_price)),
StarsAmountToTL(suggest.price()),
MTP_int(suggest.date))
: MTPSuggestedPost();
}
SendAction::SendAction(
not_null<Data::Thread*> thread,
SendOptions options)
+3
View File
@@ -19,6 +19,8 @@ namespace Api {
inline constexpr auto kScheduledUntilOnlineTimestamp = TimeId(0x7FFFFFFE);
[[nodiscard]] MTPSuggestedPost SuggestToMTP(SuggestPostOptions suggest);
struct SendOptions {
uint64 price = 0;
PeerData *sendAs = nullptr;
@@ -31,6 +33,7 @@ struct SendOptions {
bool invertCaption = false;
bool hideViaBot = false;
crl::time ttlSeconds = 0;
SuggestPostOptions suggest;
friend inline bool operator==(
const SendOptions &,
@@ -87,7 +87,7 @@ void ConfirmPhone::resolve(
sentCodeLength,
fragmentUrl,
timeout);
const auto boxWeak = Ui::MakeWeak(box.data());
const auto boxWeak = base::make_weak(box.data());
using LoginCode = rpl::event_stream<QString>;
const auto codeHandles = box->lifetime().make_state<LoginCode>();
controller->session().account().setHandleLoginCode([=](
+22 -151
View File
@@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "api/api_credits.h"
#include "api/api_credits_history_entry.h"
#include "api/api_premium.h"
#include "api/api_statistics_data_deserialize.h"
#include "api/api_updates.h"
@@ -27,146 +28,6 @@ namespace {
constexpr auto kTransactionsLimit = 100;
[[nodiscard]] Data::CreditsHistoryEntry HistoryFromTL(
const MTPStarsTransaction &tl,
not_null<PeerData*> peer) {
using HistoryPeerTL = MTPDstarsTransactionPeer;
using namespace Data;
const auto owner = &peer->owner();
const auto photo = tl.data().vphoto()
? owner->photoFromWeb(*tl.data().vphoto(), ImageLocation())
: nullptr;
auto extended = std::vector<CreditsHistoryMedia>();
if (const auto list = tl.data().vextended_media()) {
extended.reserve(list->v.size());
for (const auto &media : list->v) {
media.match([&](const MTPDmessageMediaPhoto &data) {
if (const auto inner = data.vphoto()) {
const auto photo = owner->processPhoto(*inner);
if (!photo->isNull()) {
extended.push_back(CreditsHistoryMedia{
.type = CreditsHistoryMediaType::Photo,
.id = photo->id,
});
}
}
}, [&](const MTPDmessageMediaDocument &data) {
if (const auto inner = data.vdocument()) {
const auto document = owner->processDocument(
*inner,
data.valt_documents());
if (document->isAnimation()
|| document->isVideoFile()
|| document->isGifv()) {
extended.push_back(CreditsHistoryMedia{
.type = CreditsHistoryMediaType::Video,
.id = document->id,
});
}
}
}, [&](const auto &) {});
}
}
const auto barePeerId = tl.data().vpeer().match([](
const HistoryPeerTL &p) {
return peerFromMTP(p.vpeer());
}, [](const auto &) {
return PeerId(0);
}).value;
const auto stargift = tl.data().vstargift();
const auto nonUniqueGift = stargift
? stargift->match([&](const MTPDstarGift &data) {
return &data;
}, [](const auto &) { return (const MTPDstarGift*)nullptr; })
: nullptr;
const auto reaction = tl.data().is_reaction();
const auto amount = Data::FromTL(tl.data().vstars());
const auto starrefAmount = tl.data().vstarref_amount()
? Data::FromTL(*tl.data().vstarref_amount())
: StarsAmount();
const auto starrefCommission
= tl.data().vstarref_commission_permille().value_or_empty();
const auto starrefBarePeerId = tl.data().vstarref_peer()
? peerFromMTP(*tl.data().vstarref_peer()).value
: 0;
const auto incoming = (amount >= StarsAmount());
const auto paidMessagesCount
= tl.data().vpaid_messages().value_or_empty();
const auto premiumMonthsForStars
= tl.data().vpremium_gift_months().value_or_empty();
const auto saveActorId = (reaction
|| !extended.empty()
|| paidMessagesCount) && incoming;
const auto parsedGift = stargift
? FromTL(&peer->session(), *stargift)
: std::optional<Data::StarGift>();
const auto giftStickerId = parsedGift ? parsedGift->document->id : 0;
return Data::CreditsHistoryEntry{
.id = qs(tl.data().vid()),
.title = qs(tl.data().vtitle().value_or_empty()),
.description = { qs(tl.data().vdescription().value_or_empty()) },
.date = base::unixtime::parse(tl.data().vdate().v),
.photoId = photo ? photo->id : 0,
.extended = std::move(extended),
.credits = Data::FromTL(tl.data().vstars()),
.bareMsgId = uint64(tl.data().vmsg_id().value_or_empty()),
.barePeerId = saveActorId ? peer->id.value : barePeerId,
.bareGiveawayMsgId = uint64(
tl.data().vgiveaway_post_id().value_or_empty()),
.bareGiftStickerId = giftStickerId,
.bareActorId = saveActorId ? barePeerId : uint64(0),
.uniqueGift = parsedGift ? parsedGift->unique : nullptr,
.starrefAmount = paidMessagesCount ? StarsAmount() : starrefAmount,
.starrefCommission = paidMessagesCount ? 0 : starrefCommission,
.starrefRecipientId = paidMessagesCount ? 0 : starrefBarePeerId,
.peerType = tl.data().vpeer().match([](const HistoryPeerTL &) {
return Data::CreditsHistoryEntry::PeerType::Peer;
}, [](const MTPDstarsTransactionPeerPlayMarket &) {
return Data::CreditsHistoryEntry::PeerType::PlayMarket;
}, [](const MTPDstarsTransactionPeerFragment &) {
return Data::CreditsHistoryEntry::PeerType::Fragment;
}, [](const MTPDstarsTransactionPeerAppStore &) {
return Data::CreditsHistoryEntry::PeerType::AppStore;
}, [](const MTPDstarsTransactionPeerUnsupported &) {
return Data::CreditsHistoryEntry::PeerType::Unsupported;
}, [](const MTPDstarsTransactionPeerPremiumBot &) {
return Data::CreditsHistoryEntry::PeerType::PremiumBot;
}, [](const MTPDstarsTransactionPeerAds &) {
return Data::CreditsHistoryEntry::PeerType::Ads;
}, [](const MTPDstarsTransactionPeerAPI &) {
return Data::CreditsHistoryEntry::PeerType::API;
}),
.subscriptionUntil = tl.data().vsubscription_period()
? base::unixtime::parse(base::unixtime::now()
+ tl.data().vsubscription_period()->v)
: QDateTime(),
.successDate = tl.data().vtransaction_date()
? base::unixtime::parse(tl.data().vtransaction_date()->v)
: QDateTime(),
.successLink = qs(tl.data().vtransaction_url().value_or_empty()),
.paidMessagesCount = paidMessagesCount,
.paidMessagesAmount = (paidMessagesCount
? starrefAmount
: StarsAmount()),
.paidMessagesCommission = paidMessagesCount ? starrefCommission : 0,
.starsConverted = int(nonUniqueGift
? nonUniqueGift->vconvert_stars().v
: 0),
.premiumMonthsForStars = premiumMonthsForStars,
.floodSkip = int(tl.data().vfloodskip_number().value_or(0)),
.converted = stargift && incoming,
.stargift = stargift.has_value(),
.giftUpgraded = tl.data().is_stargift_upgrade(),
.giftResale = tl.data().is_stargift_resale(),
.reaction = tl.data().is_reaction(),
.refunded = tl.data().is_refund(),
.pending = tl.data().is_pending(),
.failed = tl.data().is_failed(),
.in = incoming,
.gift = tl.data().is_gift() || stargift.has_value(),
};
}
[[nodiscard]] Data::SubscriptionEntry SubscriptionFromTL(
const MTPStarsSubscription &tl,
not_null<PeerData*> peer) {
@@ -203,7 +64,7 @@ constexpr auto kTransactionsLimit = 100;
if (const auto history = data.vhistory()) {
entries.reserve(history->v.size());
for (const auto &tl : history->v) {
entries.push_back(HistoryFromTL(tl, peer));
entries.push_back(CreditsHistoryEntryFromTL(tl, peer));
}
}
auto subscriptions = std::vector<Data::SubscriptionEntry>();
@@ -216,7 +77,7 @@ constexpr auto kTransactionsLimit = 100;
return Data::CreditsStatusSlice{
.list = std::move(entries),
.subscriptions = std::move(subscriptions),
.balance = Data::FromTL(status.data().vbalance()),
.balance = CreditsAmountFromTL(status.data().vbalance()),
.subscriptionsMissingBalance
= status.data().vsubscriptions_missing_balance().value_or_empty(),
.allLoaded = !status.data().vnext_offset().has_value()
@@ -300,11 +161,14 @@ void CreditsStatus::request(
using TLResult = MTPpayments_StarsStatus;
_requestId = _api.request(MTPpayments_GetStarsStatus(
MTP_flags(0),
_peer->isSelf() ? MTP_inputPeerSelf() : _peer->input
)).done([=](const TLResult &result) {
_requestId = 0;
const auto &balance = result.data().vbalance();
_peer->session().credits().apply(_peer->id, Data::FromTL(balance));
_peer->session().credits().apply(
_peer->id,
CreditsAmountFromTL(balance));
if (const auto onstack = done) {
onstack(StatusFromTL(result, _peer));
}
@@ -316,13 +180,18 @@ void CreditsStatus::request(
}).send();
}
CreditsHistory::CreditsHistory(not_null<PeerData*> peer, bool in, bool out)
CreditsHistory::CreditsHistory(
not_null<PeerData*> peer,
bool in,
bool out,
bool currency)
: _peer(peer)
, _flags((in == out)
, _flags(((in == out)
? HistoryTL::Flags(0)
: HistoryTL::Flags(0)
| (in ? HistoryTL::Flag::f_inbound : HistoryTL::Flags(0))
| (out ? HistoryTL::Flag::f_outbound : HistoryTL::Flags(0)))
| (currency ? HistoryTL::Flag::f_ton : HistoryTL::Flags(0)))
, _api(&peer->session().api().instance()) {
}
@@ -414,19 +283,21 @@ rpl::producer<rpl::no_value, QString> CreditsEarnStatistics::request() {
auto lifetime = rpl::lifetime();
const auto finish = [=](const QString &url) {
makeRequest(MTPpayments_GetStarsRevenueStats(
api().request(MTPpayments_GetStarsRevenueStats(
MTP_flags(0),
(_isUser ? user()->input : channel()->input)
)).done([=](const MTPpayments_StarsRevenueStats &result) {
const auto &data = result.data();
const auto &status = data.vstatus().data();
using Data::FromTL;
_data = Data::CreditsEarnStatistics{
.revenueGraph = StatisticalGraphFromTL(
data.vrevenue_graph()),
.currentBalance = FromTL(status.vcurrent_balance()),
.availableBalance = FromTL(status.vavailable_balance()),
.overallRevenue = FromTL(status.voverall_revenue()),
.currentBalance = CreditsAmountFromTL(
status.vcurrent_balance()),
.availableBalance = CreditsAmountFromTL(
status.vavailable_balance()),
.overallRevenue = CreditsAmountFromTL(
status.voverall_revenue()),
.usdRate = data.vusd_rate().v,
.isWithdrawalEnabled = status.is_withdrawal_enabled(),
.nextWithdrawalAt = status.vnext_withdrawal_at()
@@ -442,7 +313,7 @@ rpl::producer<rpl::no_value, QString> CreditsEarnStatistics::request() {
}).send();
};
makeRequest(
api().request(
MTPpayments_GetStarsRevenueAdsAccountUrl(
(_isUser ? user()->input : channel()->input))
).done([=](const MTPpayments_StarsRevenueAdsAccountUrl &result) {
+5 -1
View File
@@ -75,7 +75,11 @@ private:
class CreditsHistory final {
public:
CreditsHistory(not_null<PeerData*> peer, bool in, bool out);
CreditsHistory(
not_null<PeerData*> peer,
bool in,
bool out,
bool currency = false);
void request(
const Data::CreditsStatusSlice::OffsetToken &token,

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