John Preston
f4d52b82b4
Allow reusing permissions edit controls.
2019-01-17 12:21:29 +04:00
John Preston
61419b57c8
Prepare legacy group restrictions checking.
2019-01-17 12:21:29 +04:00
John Preston
441989a8e1
Remove EditChannelBox.
2019-01-17 12:21:29 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
d2d6b319b6
Update API scheme to layer 93. Broken.
2019-01-17 12:21:28 +04:00
John Preston
1f8626b383
Move App::histories to Data::Session.
2019-01-17 12:21:28 +04:00
John Preston
09d85e25c1
Fix possible crash in SendFilesBox.
2019-01-17 12:20:50 +04:00
John Preston
65430d92ea
Refactor calls settings panel.
2019-01-11 17:30:57 +04:00
John Preston
8711830f66
Move calls settings to Settings > Advanced.
...
Also add calls settings button to the calls list box.
2019-01-11 17:30:57 +04:00
John Preston
9bbdccc111
Postpone sticker send from StickerSetBox.
...
Fixes #5539 .
2019-01-11 17:30:57 +04:00
John Preston
bb8defeb42
Improve change emoji set box design.
2019-01-11 17:30:57 +04:00
John Preston
219b824338
Refresh filtered results on more dialogs.
2019-01-11 17:30:00 +04:00
Gregory K
11b991cddc
Add call settings ( #5540 )
2019-01-05 15:08:02 +04:00
John Preston
8306e58b75
Fix build in Xcode / GCC.
2018-12-28 19:41:06 +04:00
John Preston
4002739682
Suggest adding bots to channels as admins.
2018-12-28 15:42:58 +04:00
John Preston
7b5e5c2587
Move caption to the next album item on cancel.
...
After #4869 albums are sent with captions in the first media.
In case we cancel the first media leaving the rest of the album
the caption will be lost unless we move it to the new "first" media.
2018-12-26 11:24:12 +04:00
John Preston
096c310e0e
Display consistent caption/comment placeholder.
...
After latest PRs regarding sticker sending with comment (#5500 )
and album sending with caption (#4869 ) the input field placeholder
in SendFilesBox was inconsistent with the sending behaviour. Fix it.
2018-12-26 10:53:21 +04:00
John Preston
71cf4a4885
Change default autodownload settings.
2018-12-26 09:58:27 +04:00
John Preston
a0c6104fae
Redesign auto download box.
2018-12-25 22:15:22 +04:00
John Preston
8e54ac4dcf
Rename autolock_box module to auto_lock_box.
2018-12-25 22:15:22 +04:00
John Preston
e3cc8652e4
New structs for media autodownload settings.
2018-12-25 22:15:22 +04:00
John Preston
8708a001c7
Always display nice percent values.
...
Sum of percent values should never exceed 100%. If any two answers
received same amount of votes, they should show same percent values.
This way sum could be less than 100% (three answers, one vote each),
but this looks better than giving extra vote to some random answer.
2018-12-25 22:12:35 +04:00
John Preston
e5536880fb
Improve mouse/keyboard selection interactions.
...
Fixes #5458 .
2018-12-25 16:41:40 +04:00
John Preston
a65afdac95
Fix crash in RevokePublicLinkBox.
2018-12-25 12:48:12 +04:00
John Preston
f291e365e5
Add slide animations in CreatePollBox.
2018-12-25 11:41:22 +04:00
John Preston
b6a3bb4080
Allow closing CreatePollBox by escape.
2018-12-24 17:13:44 +04:00
John Preston
12905f0dcb
Version 1.5.4: Fix build in Xcode.
2018-12-24 12:16:05 +04:00
John Preston
152115bf2e
Disable multiline poll options.
2018-12-23 21:28:12 +04:00
John Preston
8bd3051224
Fix crop photo box title.
2018-12-23 21:23:36 +04:00
John Preston
363f6cb329
Add question / options length warnings.
2018-12-22 10:29:03 +04:00
John Preston
b6f7832745
Add create poll box from groups three-dot menu.
2018-12-22 10:29:03 +04:00
John Preston
4bb5dcf50c
Simplest poll layout.
2018-12-21 17:09:32 +04:00
John Preston
6d08394adc
Divide history_media_types to several modules.
2018-12-21 17:09:31 +04:00
John Preston
6d9f40db30
Update API scheme to layer 91.
2018-12-21 17:09:30 +04:00
John Preston
89e8f0ccc3
Fix pt-br FAQ link.
2018-12-17 10:12:44 +04:00
John Preston
6637e5b8e3
Revert "Disable custom languages for now."
...
This reverts commit 679347309e
.
2018-12-07 20:25:18 +04:00
John Preston
77058b84cd
Fix scroll style in local storage box.
2018-12-06 12:56:13 +04:00
John Preston
efe3dfad5c
Fix crash in radiobutton destruction.
...
It crashed if the button was destroyed from group _changedCallback.
2018-12-05 13:55:59 +04:00
John Preston
b10ccce44a
Warn before running executable files.
2018-12-05 12:30:05 +04:00
John Preston
679347309e
Disable custom languages for now.
2018-12-04 14:32:47 +04:00
John Preston
1b19e870c0
Fix crash in channel setup box.
2018-12-04 14:32:46 +04:00
John Preston
03b0c0cff4
Fix crash in forwarding box.
2018-11-30 09:45:22 +04:00
John Preston
59ecf375b0
Move tg:// handlers to a separate module.
...
Also move joinGroupByHash and stickerSetBox from MainWidget.
2018-11-26 17:31:13 +04:00
John Preston
338129faea
Destroy boxes in Ui::hideLayer().
2018-11-26 15:00:31 +04:00
John Preston
0a754b8982
Adding emoji in SendFilesBox and EditCaptionBox.
2018-11-22 16:48:50 +04:00
John Preston
ef4f0168f8
Remove Qt MOC dependency for tabbed selector.
2018-11-22 10:50:41 +04:00
John Preston
9f5b09c263
Add emoji autocomplete to all fields.
2018-11-21 14:09:46 +04:00
John Preston
a1c61daea6
Add contact opens chat in support mode.
2018-11-21 10:51:49 +04:00
John Preston
9a8ab84ecb
Add edit / view of user information for support.
2018-11-20 19:50:36 +04:00
John Preston
21fab77c4b
Add support for incomplete login attempts.
2018-11-20 19:50:36 +04:00
John Preston
770f4a78aa
Allow '-' character in code inputs.
2018-11-20 19:38:40 +04:00
John Preston
8a3615281c
Support structured bindings in base::flat_map.
2018-11-20 19:38:40 +04:00
John Preston
123523ef62
Separate some lang phrases.
2018-11-20 19:38:39 +04:00
John Preston
ecce1edded
Unify version format in MainMenu / About.
2018-11-20 19:38:39 +04:00
John Preston
be3e43e6cb
Confirm 2sv recovery email by code.
2018-11-20 19:38:39 +04:00
John Preston
8d27d8efcf
Use cloud-based settings for p2p in calls.
2018-11-16 20:17:58 +04:00
John Preston
26b8515cb5
Improve languages box and language local storing.
...
Use current language native name instead of lng_language_name value.
2018-11-16 20:17:58 +04:00
John Preston
d485287a59
Close languages box by Escape key.
2018-11-16 20:17:58 +04:00
John Preston
5163905954
Add a Delete/Share menu for unofficial languages.
2018-11-16 20:17:58 +04:00
John Preston
78da810114
Extend pinned messages support.
...
Support them in saved messages and normal groups.
2018-11-16 20:17:58 +04:00
John Preston
6d65cf2382
Redesign languages box with a search filter.
2018-11-16 20:17:58 +04:00
John Preston
162da089ec
Handle t.me/setlanguage links.
...
Also support custom langpacks with base langpacks.
2018-11-16 20:17:58 +04:00
John Preston
9101d64b20
Show unavailable admin options as unchecked.
2018-11-16 20:17:58 +04:00
John Preston
8b64c96381
Separate some lang keys.
...
Fixes #5146 .
2018-11-12 14:39:22 +04:00
John Preston
8b6e24e83d
Build alphas only for official targets.
2018-11-08 10:33:44 +04:00
John Preston
e482f041a8
Allow disabling even system proxy settings.
...
Fixes #4944 .
2018-11-05 18:52:01 +04:00
John Preston
5f665b8ecb
Add a comment field to ShareBox.
2018-11-04 15:58:32 +04:00
John Preston
8eb0f3b60a
Remove some unneeded Q_OBJECTs.
2018-11-04 15:51:39 +04:00
John Preston
3447aac940
Prefix client-side lang_code-s with #.
2018-11-04 15:51:39 +04:00
John Preston
eb099c70e6
Fix removing members from search results.
...
Fixes #5236 .
2018-11-04 15:51:38 +04:00
John Preston
8f387891e2
Show group / channel in ConfirmInviteBox.
2018-11-04 15:51:38 +04:00
John Preston
a961615076
Clear unused emoji cache with DB.
2018-11-04 15:51:38 +04:00
John Preston
595134cab5
Move image-related modules to ui/image/.
2018-11-04 15:51:37 +04:00
John Preston
8b76428c7e
Create ImagePtr-s using a factory method.
2018-11-04 15:51:37 +04:00
John Preston
113f665295
Move Image and derived to ui/image.
2018-11-04 15:51:36 +04:00
John Preston
c5d20a21f7
Beta version 1.4.4: Correct caption limit.
2018-10-17 14:43:18 +03:00
John Preston
19a9a990b6
Allow using any interface scale between 100%-300%.
2018-10-16 11:38:09 +03:00
John Preston
b847c8424a
Use single emoji sprite and scale + cache it.
2018-10-15 09:03:29 +03:00
John Preston
06629e8cd9
Improved calendar layout for export.
2018-10-09 19:27:17 +03:00
John Preston
f362702856
Add UI to specify export time range.
2018-10-09 19:27:17 +03:00
John Preston
1411dfb711
Add autoupdating for templates (support).
2018-10-09 19:27:17 +03:00
John Preston
7ee1af5348
Move advanced notifications settings from box.
2018-09-28 00:18:30 +03:00
John Preston
a7772b922c
Improve sticker file reference refreshing.
2018-09-26 21:23:08 +03:00
John Preston
971d0efda9
Support toggling installs of beta versions.
2018-09-26 21:23:08 +03:00
John Preston
6e566e0165
Swap 'alpha' and 'beta'. Happy debugging!
2018-09-26 21:23:08 +03:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
d601b60903
Fix disabled animations dialogs repaint.
2018-09-21 10:12:53 +03:00
John Preston
1c4f374e3c
Improve automatic media download box design.
2018-09-20 21:26:10 +03:00
John Preston
fd0719db6d
Add animations enable/disable setting.
...
Open chats / users on mouse press if animations are disabled.
2018-09-20 21:26:10 +03:00
John Preston
1ffbec0215
Finish animations disabling.
...
Replace some infinite animations with static layouts.
2018-09-20 21:26:10 +03:00
John Preston
9388e154cf
Improve edit privacy box design.
...
Also move calls peer-to-peer settings to EditPrivacyBox.
2018-09-19 19:22:15 +03:00
John Preston
fe9f02e485
Improve self-destruct setting edit.
2018-09-19 19:22:14 +03:00
John Preston
f582fbf010
Update icons in AddContactBox.
2018-09-19 19:22:14 +03:00
John Preston
c2039da600
Improve new settings design.
2018-09-19 19:22:14 +03:00
John Preston
c4ca180745
Add call peer-to-peer setting in Privacy&Security.
2018-09-19 19:22:14 +03:00
John Preston
2f408cd773
Remove old settings.
2018-09-19 19:22:14 +03:00
John Preston
0c8709ca5f
Replace App::self() with Auth().user().
...
Always have self Auth().user() when AuthSession exists.
2018-09-19 19:22:13 +03:00
John Preston
12ebae01b0
Show current privacy values in settings section.
2018-09-19 19:22:13 +03:00
John Preston
bbe6d2d13b
Implement information settings section.
2018-09-19 19:22:13 +03:00
John Preston
b8c2c3991f
Implement chat settings section.
2018-09-19 19:22:13 +03:00