Commit graph

227 commits

Author SHA1 Message Date
AlexeyZavar
e5ca216c99 fix: make it build
Some checks are pending
Docker. / Ubuntu (push) Waiting to run
2025-07-07 02:56:10 +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
91224d8a1c fix: use tgdatabase bot again 2025-07-06 18:50:10 +03:00
Neurotoxin001
3bbb9daa34
feat: disable reactions in channels and groups 2025-07-06 17:22:26 +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
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
3be793032f fix: use usinfobot for username resolving & update README 2025-06-02 15:52:31 +03:00
AlexeyZavar
353e9adec1 fix: make it build 2025-05-19 00:32:36 +03:00
AlexeyZavar
409165dec6 chore: refactor settings 2025-05-05 20:36:16 +03:00
AlexeyZavar
4870d59a43 fix: check if a message is modified 2025-05-05 19:35:09 +03:00
AlexeyZavar
518ae8044d chore: update strings & move option 2025-04-25 01:18:24 +03:00
Grigory
314a90995a
feat: add option to show only added emojis & stickers 2025-04-25 00:54:29 +03:00
AlexeyZavar
b6e25a353d feat: speed-up ayudata queries 2025-04-25 00:42:53 +03:00
AlexeyZavar
9502120ee3 chore: update sqlite_orm 2025-03-13 13:26:43 +03:00
AlexeyZavar
7f1a3320dd chore: update sqlite3 2025-03-13 13:23:40 +03:00
AlexeyZavar
66d54ccd54 feat: open channel in discussion group 2025-03-09 02:59:45 +03:00
AlexeyZavar
ccf8d91f01 feat: burn ttl message & display expired status 2025-03-09 02:33:22 +03:00
AlexeyZavar
9ca0c3c41d fix: more checks for disposal 2025-03-09 00:30:18 +03:00
AlexeyZavar
7dda5461ad chore: enable replaceBottomInfoWithIcons by default 2025-02-14 03:14:17 +03:00
AlexeyZavar
4327fd4c58 fix: reduce CPU usage for TTL messages & refactor 2025-02-05 22:49:33 +03:00
AlexeyZavar
53392d6e5d feat: bypass client-side restrictions & minor adjustments 2025-02-04 16:20:37 +03:00
AlexeyZavar
292de83c35 fix: messageshot on macOS
Co-authored-by: Vladislav Gorodkov <fuccsoc@gmail.com>
2025-01-31 03:07:17 +03:00
AlexeyZavar
e3ebb30518 chore: remove β from option 2025-01-31 00:27:19 +03:00
AlexeyZavar
51122ab3ba feat: show badges in dialogs list 2025-01-30 23:04:03 +03:00
AlexeyZavar
5d96eab7b4 fix: badges 2025-01-30 20:29:29 +03:00
AlexeyZavar
d4ca58574a feat: extera icon 2025-01-17 19:20:46 +03:00
AlexeyZavar
e796011deb feat: show toast 2025-01-17 18:56:20 +03:00
AlexeyZavar
ddf74e5f78 fix: don't crash if smth wrong when fetching devs and channels 2025-01-16 17:43:15 +03:00
AlexeyZavar
7dfc27f3c9 fix: paddings & mark as β 2025-01-16 17:43:15 +03:00
AlexeyZavar
62c4b1f30b fix: process more shortcuts 2025-01-16 16:40:43 +03:00
AlexeyZavar
07f1f9c1d8 chore: update sqlite3 2025-01-16 13:18:11 +03:00
AlexeyZavar
a4a3b4e9d1 chore: update copyright 2025-01-16 13:08:58 +03:00
AlexeyZavar
576822b1ff feat: fetch devs and supporters 2025-01-16 13:06:26 +03:00
AlexeyZavar
ab26e3d4fa feat: replace "edited" & "deleted" with icons 2025-01-15 15:49:21 +03:00
AlexeyZavar
4926735ae1 fix: copy ID from main settings 2025-01-15 13:14:43 +03:00
AlexeyZavar
2804cc2d1e feat: improve stickerpack author
Co-authored-by: kotecat <davidshaldunov@gmail.com>
2025-01-15 11:51:45 +03:00
AlexeyZavar
38b5cab006 feat: new badges 2025-01-15 11:16:32 +03:00
AlexeyZavar
96c10be293 fix: make it build 2025-01-15 11:15:30 +03:00
AlexeyZavar
d6ba3ae332 feat: wide messages 2024-11-23 12:34:26 +03:00
AlexeyZavar
d6145f383d fix: smth 2024-11-23 08:54:20 +03:00
AlexeyZavar
e02a8a7fdb fix: make it build 2024-11-20 16:49:11 +03:00
AlexeyZavar
7631722e99 fix: crashes 2024-11-20 16:07:27 +03:00
AlexeyZavar
4e0ffc1e28 fix: build for macOS 2024-10-22 03:45:31 +03:00
AlexeyZavar
27f4f73690 fix: make it build 2024-10-16 16:23:07 +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
e778aab8b7 fix: read media 2024-09-27 22:04:04 +03:00