Commit graph

67 commits

Author SHA1 Message Date
Neurotoxin001
3bbb9daa34
feat: disable reactions in channels and groups 2025-07-06 17:22:26 +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
69420f5750 chore: refactor & reformat settings 2025-06-08 11:00:04 +03:00
AlexeyZavar
409165dec6 chore: refactor settings 2025-05-05 20:36:16 +03:00
Grigory
314a90995a
feat: add option to show only added emojis & stickers 2025-04-25 00:54:29 +03:00
AlexeyZavar
a4a3b4e9d1 chore: update copyright 2025-01-16 13:08:58 +03:00
AlexeyZavar
ab26e3d4fa feat: replace "edited" & "deleted" with icons 2025-01-15 15:49:21 +03:00
AlexeyZavar
d6ba3ae332 feat: wide messages 2024-11-23 12:34:26 +03:00
AlexeyZavar
45461836e1 fix: don't use scheduled messages if not in a full ghost mode 2024-10-05 03:14:24 +03:00
AlexeyZavar
b073810bab feat: ability to disable save deleted messages in bot dialogs 2024-09-27 20:36:34 +03:00
AlexeyZavar
392f2e633c feat: message field configuration 2024-09-12 16:10:03 +03:00
AlexeyZavar
66b7a48352 feat: send without sound 2024-09-11 22:41:03 +03:00
AlexeyZavar
ba979c29dc fix: hide from blocked 2024-08-10 07:54:20 +03:00
AlexeyZavar
c4e1e8415c feat: hide notification badge on windows 2024-07-02 18:05:10 +03:00
AlexeyZavar
257b8552f7 feat: channel bottom button configuration
Co-authored-by: Eric Kotato <radrussianrus@gmail.com>
2024-07-02 05:37:39 +03:00
AlexeyZavar
27d3721646 feat: webview settings 2024-07-01 22:47:39 +03:00
AlexeyZavar
cc16922673 feat: copy username for channels too
fix: purge useless
2024-06-04 03:21:44 +03:00
AlexeyZavar
166020723f chore: remove application font setting 2024-05-05 16:56:04 +03:00
AlexeyZavar
1c85a81f1f feat: hide messages from blocked users
Co-authored-by: Ilya Fedin <fedin-ilja2010@ya.ru>
2024-04-19 00:05:00 +03:00
AlexeyZavar
7cc14bda52 chore: remove upload boost
Increasing chunks size, `kMaxUploadPerSession`, etc. don't change the speed, only if slows down.
Maybe changing `kAcceptAsFastIfTotalAtLeast` could give a boost. Didn't check.

In some circumstances, speed could be worse than on the AyuGram `v4.16` with boost, but it's rare.
But the upload speed is good, so upload boost removed.
2024-04-17 04:06:49 +03:00
AlexeyZavar
6fd0fb9704 feat: simplify markReadAfterAction 2024-04-02 16:37:16 +03:00
AlexeyZavar
039795cab8 feat: disable custom backgrounds 2024-02-22 22:46:46 +03:00
ZavaruKitsu
a96f8d8ac3 chore: update copyright
fix: don't display date for big emoji
2024-02-04 21:19:42 +03:00
ZavaruKitsu
adb5abf4fb chore: reformat & refactor & remove as not planned for now 2024-02-04 18:36:11 +03:00
ZavaruKitsu
4a6ae07409 feat: allow hiding message shot 2024-02-04 17:05:26 +03:00
ZavaruKitsu
58e38c487a feat: use Sentry for crash reporting 2024-01-28 22:44:48 +03:00
ZavaruKitsu
fba53e1ec8 feat: refactor a bit 2024-01-03 16:56:32 +03:00
ZavaruKitsu
74196732ac feat: upload speed boost
Co-authored-by: RadRussianRus <radrussianrus@gmail.com>
2024-01-03 16:23:42 +03:00
ZavaruKitsu
115517fae1 feat: hide folder notification counters 2024-01-02 03:09:55 +03:00
ZavaruKitsu
040794586b fix: various message improvements 2024-01-02 01:54:39 +03:00
ZavaruKitsu
8d93b21947 feat: message details
feat: rework `Hide`
feat: context menu configuration
2024-01-01 19:28:48 +03:00
ZavaruKitsu
29dd896c83 feat: disable similar channels 2023-12-01 19:21:03 +03:00
ZavaruKitsu
d6457ebcc7 fix: add β note to anti-recall and disable by default 2023-12-01 17:35:30 +03:00
ZavaruKitsu
95f18f2120 fix: tray and serialization 2023-11-10 18:36:47 +03:00
ZavaruKitsu
ae3dfacdf9 feat: add toggles to customization 2023-11-10 17:36:37 +03:00
ZavaruKitsu
aa0d733cde feat: simple quotes & replies
Just like in 64Gram, but with ripples

Co-authored-by: c0re100 <corehusky@gmail.com>
2023-11-10 15:54:23 +03:00
ZavaruKitsu
0c50d6d7e7 fix: set default 2023-09-30 19:36:28 +03:00
ZavaruKitsu
4090064561 feat: implement read after actions 2023-09-30 15:04:54 +03:00
ZavaruKitsu
474de0cc46 feat: disable notifications delay
Telegram built-in function that delays notifications on the current client instance if you're online from another client
2023-09-29 14:22:56 +03:00
ZavaruKitsu
e144d5cb10 feat: add new app icons
fix: refactor font picker
2023-09-28 00:30:59 +03:00
MaxPlays35
eb8331c957 feat: add font picker 2023-09-27 20:27:52 +03:00
ZavaruKitsu
3a1f8459e2 feat: add settings for ReadAfterAction
feat: write formatted config
fix: don't reset config on missing field

the last one is for convenient migrating between versions
2023-09-21 22:06:17 +03:00
ZavaruKitsu
e1babcf69a feat: new message history viewer initial
fix: use Qt formatting

kanged from `admin_log` and cleaned up a bit
2023-09-14 17:36:14 +03:00
ZavaruKitsu
649e0b0412 feat: icon picker
Inspired by Forkgram's icon changer
Need to refactor a bit later
2023-09-01 17:17:16 +03:00
ZavaruKitsu
ae16aa3099 feat: local premium 2023-08-09 23:15:26 +00:00
ZavaruKitsu
2ef9724fa2 feat: add hide "All chats" folder (thx 64Gram) 2023-08-01 15:47:46 +00:00
ZavaruKitsu
efcdeaa13d fix: enableAds -> disableAds 2023-08-01 13:34:35 +00:00
ZavaruKitsu
5a0a93d8d4 feat: hide stories (thx 64Gram) 2023-08-01 13:28:30 +00:00
ZavaruKitsu
576671e222 feat: don't read stories
feat: show message ID in tooltip
feat: update strings
fix: invert strings
2023-08-01 12:45:59 +00:00
Nikolay
c0898e1662
feat: copy username as @username 2023-07-12 15:55:46 +03:00