Commit Graph

7995 Commits

Author SHA1 Message Date
levlam
e8c3792776 Don't try to increase hash table if no new element inserted. 2022-04-18 21:27:38 +03:00
levlam
a91bed2996 Add notification sound size and duration checks. 2022-04-18 19:08:32 +03:00
levlam
a506382e4b Use '= {}' instead of '= Auto()'. 2022-04-18 18:21:41 +03:00
levlam
782670c7db Fix anonymous administrator right. 2022-04-17 23:36:37 +03:00
levlam
1a2efed26d Remove NetQuery::set_chain_ids. 2022-04-17 23:21:56 +03:00
levlam
402f75153b Improve get_sticker_set_short_name usages. 2022-04-17 23:07:00 +03:00
levlam
9b19e88c2a Use file name instead of notification sound title if there is none. 2022-04-17 19:01:01 +03:00
levlam
d2535835e5 Fix typo. 2022-04-17 15:05:50 +03:00
levlam
ab13550525 Remove trailing spaces. 2022-04-17 14:53:36 +03:00
Mammad
6f08d65279
Further improvements and fixes for build instructions generator (#1901)
* Improve focus visuals in build.html

* Fix build.html appearance for mobile devices

* Add custom focus visuals for links in build.html

* Fix incorrect CSS selectors in build.html

* Fix checkbox and radio alignment in build.html
2022-04-17 14:50:42 +03:00
levlam
b9036dda3e Don't call get_history_from_the_end for bots. 2022-04-17 14:33:34 +03:00
levlam
054a823c1a Update version to 1.8.3. 2022-04-16 06:02:10 +03:00
levlam
9c3675d61b Minor fixes. 2022-04-16 06:01:05 +03:00
levlam
da4282a6d9 Add optional administrator_rights to internalLinkTypeBotStartInGroup. 2022-04-16 05:30:23 +03:00
levlam
eef401cea0 Save and load saved notification sounds. 2022-04-16 04:20:36 +03:00
levlam
6b23333ff4 Fix removal of saved ringtone. 2022-04-15 22:08:57 +03:00
levlam
147697fdf5 Add updateSavedNotificationSounds. 2022-04-15 21:54:47 +03:00
levlam
a59201f913 Reload all notification sounds if list is changed unpredictably. 2022-04-15 21:19:15 +03:00
levlam
1c266d65b1 Update notification sound option names. 2022-04-15 21:03:13 +03:00
levlam
104ebaaacb Support sound_id in push notifications. 2022-04-15 18:49:21 +03:00
levlam
3215bb0242 Replace is_silent with sound_id in notifications. 2022-04-15 18:36:24 +03:00
levlam
b17a05f3fc Increase MessageUnsupported version to reload web_app buttons. 2022-04-15 16:32:12 +03:00
levlam
77532d67f8 Support file reference repair for notification sounds. 2022-04-15 16:27:30 +03:00
levlam
ff50eec3ee Add notificationSound.date. 2022-04-15 15:30:51 +03:00
levlam
497bc9006a Support setting files from secret chats as ringtones. 2022-04-15 14:37:01 +03:00
levlam
a16a5ec5e3 Support ringtone uploading. 2022-04-15 14:07:54 +03:00
levlam
ff6f165551 Fix "attachment menu" spelling. 2022-04-14 22:56:27 +03:00
levlam
42c6280321 Add addSavedNotificationSound. 2022-04-14 22:39:25 +03:00
levlam
178d6414dd Add td_api::removeSavedNotificationSound. 2022-04-14 14:31:18 +03:00
levlam
f849131873 Add getSavedNotificationSound. 2022-04-14 13:23:43 +03:00
levlam
dfa38e059d Improve NetQuery debug. 2022-04-14 12:53:16 +03:00
levlam
c72ad76b31 Clear used promise just in case. 2022-04-14 10:55:22 +03:00
levlam
1f18008cc6 Add td_api::getSavedNotificationSounds. 2022-04-13 22:14:40 +03:00
levlam
7fff2d2e40 Reload ringtones after receiving updateSavedRingtones. 2022-04-13 20:36:57 +03:00
levlam
163e739302 Add set_promises/fail_promises helper functions. 2022-04-13 17:40:12 +03:00
levlam
4612910a14 Rename notification tones to notification sounds in API, 2022-04-12 23:27:20 +03:00
levlam
3378131467 Add fileTypeNotificationSound. 2022-04-12 22:50:20 +03:00
levlam
c359710cf6 Move default options initialization to OptionManager. 2022-04-12 18:33:46 +03:00
levlam
7aa5a0e348 Add notification tone options. 2022-04-12 18:15:45 +03:00
levlam
7dc3966f18 Avoid key name duplication in get_json_value_* calls. 2022-04-12 18:01:18 +03:00
levlam
1db6fb389c Rename ringtones to notification tones in API, 2022-04-12 17:48:24 +03:00
levlam
2696a4abbb Restore failed to delete messages. 2022-04-12 17:34:08 +03:00
levlam
295412ed5e Avoid some getChannelFull requests. 2022-04-12 16:59:54 +03:00
levlam
879f8da67a Respect flood waits in reregister_device. 2022-04-12 16:21:42 +03:00
levlam
877452f6ce Add Global::get_retry_after. 2022-04-12 16:12:22 +03:00
levlam
7a2b3abe18 Support new NotificationSound. 2022-04-11 20:01:44 +03:00
levlam
bb8c4ca42c Fix updating of Dialog.available_reactions_generation. 2022-04-11 16:01:30 +03:00
levlam
80d57a493f Move get_input_notify_peer to NotificationSettingsManager. 2022-04-11 13:06:16 +03:00
levlam
32ed470417 Fix attach menu icons initialization. 2022-04-11 12:55:43 +03:00
levlam
9fd72e86d0 Move scope notification settings tp NotificationSettingsManager. 2022-04-11 12:45:52 +03:00