Commit graph

20314 commits

Author SHA1 Message Date
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
Neurotoxin001
a8fb7cd225
fix: hide messages group 2025-06-29 22:28:41 +03: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
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
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
kuro neko
c91f41e988
fix: upstream docker build
Same as 88ce676c46
2025-05-26 04:55:51 +03:00
AlexeyZavar
3c7f3e8740 chore: change links 2025-05-20 22:59:22 +03:00
AlexeyZavar
3a9899529a fix: reordering crashes 2025-05-20 22:56:30 +03:00
AlexeyZavar
5a015888d4 chore: remove workflows 2025-05-20 17:35:57 +03:00
AlexeyZavar
be378eaacb feat: simple files reordering in send box 2025-05-19 15:44:02 +03:00
AlexeyZavar
631f5a1043 feat: restore caption from send files box 2025-05-19 00:59:34 +03:00
AlexeyZavar
353e9adec1 fix: make it build 2025-05-19 00:32:36 +03:00
AlexeyZavar
e572da4927 Merge tag 'v5.14.3' into dev 2025-05-18 22:30:24 +03:00
John Preston
d22afa36c3 Version 5.14.3.
- Fix stale birthday suggestions removing.
- Fix notification click opening a new window.
2025-05-18 20:32:39 +04:00
John Preston
a7296f15ac Suggest to reset gifts filter. 2025-05-18 20:32:39 +04:00
John Preston
b20caee548 Check if the resale gift price changed. 2025-05-18 14:12:18 +04:00
John Preston
519832edd7 Show warnings for dangerous business bot rights. 2025-05-18 14:12:17 +04:00
John Preston
a2cea1e5bc More robust business bot editing. 2025-05-18 14:12:16 +04:00
John Preston
b3c198f0d2 Improve layout of media albums with likes. 2025-05-18 14:12:15 +04:00
23rd
b45a696b5d Fixed build of macOS on Github CI. 2025-05-17 09:22:12 +03:00
Mehran
a2b3fe6411 Add and slightly improve cloud languages 2025-05-16 12:38:04 +04:00
Ilya Fedin
13d4f37726 Use CMAKE_MSVC_DEBUG_INFORMATION_FORMAT in Windows action 2025-05-16 11:36:16 +04:00
23rd
71f34f4e31 Added ability to jump from code to phone input in intro with Space. 2025-05-15 18:19:49 +03:00
23rd
018f147de6 Slightly improved position of code input in intro step. 2025-05-15 17:58:14 +03:00
23rd
da012cbf8b Added lottie emoji to box for validate phone number in settings. 2025-05-15 17:58:14 +03:00
John Preston
3907a103fc Fix possible notification click problem.
Fixes #29293.
2025-05-15 15:34:23 +04:00
John Preston
efb566bcc7 Don't show resale gifts as "sold out". 2025-05-15 14:50:27 +04:00
John Preston
53e8df3542 Sort resale gifts by Price by default. 2025-05-15 14:50:22 +04:00
23rd
a00d262773 Added support of suggestion to validate phone number to settings. 2025-05-15 13:22:54 +03:00
23rd
b64db54793 Fixed possible incorrect display of low credits balance in top bar. 2025-05-15 10:09:24 +03:00
23rd
97c0e3d4a9 Added support of custom emoji to top bar suggestion. 2025-05-15 10:09:01 +03:00
23rd
ba31bbace8 Added refresh of top bar suggestion on day changed for birthdays. 2025-05-15 10:08:44 +03:00
23rd
606dfd29d3 Moved out data of contact birthdays to promo suggestions class. 2025-05-15 10:08:22 +03:00
23rd
9411d0781b Removed birthday suggestions for self, blocked and deleted accounts. 2025-05-15 09:22:22 +03:00
23rd
7aea200860 Fixed padding reset in top bar suggestion on suggestion changed. 2025-05-15 09:21:54 +03:00
Ilya Fedin
5d8ac95d07 Prepend PkgConfig variables with TDESKTOP_
To avoid clashes with cache variables set by third party cmake modules
2025-05-14 11:13:50 +04:00
Ilya Fedin
cd0ebb41aa Use CMAKE_COMPILE_WARNING_AS_ERROR in actions
Instead of specifying the compiler flag manually
2025-05-14 10:43:50 +04:00
Ilya Fedin
eb028b0dad Ensure clangd cache is out of build directory
It's annoying to rebuild index after cleaning the build directory
2025-05-13 10:41:42 +04:00
Ilya Fedin
61803f7516 Update submodules 2025-05-13 08:07:02 +04:00
Ilya Fedin
50bfed79be Update protobuf in snap 2025-05-13 07:48:03 +04:00
Ilya Fedin
1c77ae818e Update cmake_helpers 2025-05-12 09:41:26 +04:00
Ilya Fedin
66ede6037d Add t2e2e to snap 2025-05-12 09:41:26 +04:00
Ilya Fedin
01452b7309 Add tde2e to macOS Packaged action 2025-05-12 09:41:26 +04:00