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
John Preston
8c1cc51c2e
Move peer photo update from Messenger to ApiWrap.
2018-09-19 19:22:13 +03:00
John Preston
3f543347b8
Add language and scale settings.
2018-09-19 19:22:12 +03:00
John Preston
069232ec1b
Allow changing limits for cache in Settings.
2018-09-01 18:56:08 +03:00
John Preston
08ff324b1b
Work with Cache::Database in LocalStorageBox.
2018-09-01 18:56:08 +03:00
John Preston
2e7f4c2f21
Use Storage::Cache::Database for file caching.
2018-09-01 18:56:08 +03:00
John Preston
c913c77fef
Refresh file references when sending stickers.
2018-08-20 17:26:28 +03:00
John Preston
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
bdab477040
Update API scheme to layer 84.
2018-08-11 22:03:34 +03:00
John Preston
550c159ca8
Update API scheme to layer 83.
2018-08-04 23:11:04 +03:00
John Preston
90f6642d33
Use always the same sizes for group layout.
...
For the floating point precision to matter less in the album layout
decisions use always full image sizes for layout
when sending an album and when displaying it.
Fixes #5049 .
2018-08-04 16:48:15 +03:00
John Preston
1c5e91c9a8
Refresh EditCaptionBox thumbnail when loaded.
2018-08-02 17:46:49 +03:00
John Preston
6c7c442ad2
Remove excess RGB -> HSV -> RGB transformation.
...
Fixes #5043 .
2018-08-02 17:46:49 +03:00
John Preston
c846a14118
Fix suggest export box layout.
2018-08-01 16:15:51 +03:00
John Preston
be043a4437
Remove BypassWindowManagerHint in MediaView / Passport.
...
It makes all kinds of usages buggy, including choose file dialog.
Fixes #4936 .
I hope fixes #4950 , I hope fixes #4955 , I hope fixes #3553 .
2018-07-31 22:55:30 +03:00
John Preston
e3e8d083ea
Remember passport credentials for 30 minutes.
2018-07-11 17:56:07 +03:00
John Preston
b697824540
When following a post link push reply-return.
...
Fixes #4856 .
2018-07-11 17:56:06 +03:00
John Preston
22441ef80c
Handle improved protocol secrets.
2018-06-25 20:22:03 +01:00
John Preston
ae18ece549
Ask export path with other export options.
2018-06-23 00:56:53 +01:00
John Preston
156c3d288c
Allow selecting export folder.
2018-06-20 19:12:47 +01:00
John Preston
0e9793b845
Move MimeType from utils to core/mime_type.
...
Also move to Core namespace.
2018-06-14 01:08:47 +03:00
John Preston
427ceb9a9a
Submit MuteSettingsBox by Enter.
2018-06-08 22:26:23 +03:00
John Preston
9ebeddbed8
Request, show and require accept for updated ToS.
2018-06-06 21:37:01 +03:00
John Preston
16f3ca87f5
Allow boxes that don't hide by escape / click.
2018-06-06 14:54:00 +03:00
John Preston
5ed15cd0b3
Fix EditColorBox.
...
Regression was introduced in bfc748cd31
.
Fixes #4803 .
2018-06-06 13:04:37 +03:00
John Preston
72f95b984f
Replace cDebug() with Logs::DebugEnabled().
2018-06-05 21:51:05 +03:00
John Preston
4559888113
Fix layout glitches in sessions list.
...
Fixes #4794 .
2018-06-04 23:25:21 +03:00
John Preston
a2d4b9260e
Add AUTH_KEY_DROP_ service notification support.
...
Also move logout code to Messenger.
2018-06-04 21:18:52 +03:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
8d1cdea31a
Update passport phrases.
2018-06-04 14:43:49 +03:00
John Preston
ab5f35e952
Warn user about passport reset.
...
Also suggest country by phone number in passport.
2018-06-03 23:16:38 +03:00
John Preston
67e698a374
Add support for requesting deep link info.
...
Also update API scheme.
Also remove auth.checkPhone requests.
2018-06-03 23:16:37 +03:00
John Preston
67ea175fc6
Show choose file box over the passport panel.
2018-06-03 23:16:37 +03:00
John Preston
6c2a39f1fc
Re-encrypt secure secret with password change.
2018-06-03 23:16:37 +03:00
John Preston
9f6130cd20
Allow 2sv password setup in passport.
2018-06-03 23:16:37 +03:00
John Preston
4e2a109a46
Passport phone/email verification added.
2018-06-03 23:16:35 +03:00
John Preston
d0e854e9d8
Allow showing boxes in passport panel.
2018-06-03 23:16:35 +03:00
John Preston
5cfead762d
New design of the passport in a separate window.
2018-06-03 23:16:34 +03:00
John Preston
a2dabfde56
Separate form controller from view controller.
2018-06-03 23:16:34 +03:00
John Preston
083b520eee
Update API scheme.
2018-06-03 23:16:34 +03:00
John Preston
1392e05ab1
Move all gsl::byte helpers to base/bytes module.
2018-06-03 23:16:34 +03:00
John Preston
07e8a2bd85
Initial layout of the passport authorization form.
2018-06-03 23:16:33 +03:00
John Preston
ddb4527159
Start passport support: handle link, receive form.
2018-06-03 23:16:33 +03:00
John Preston
e122353bfb
Show better information in sessions list.
2018-06-03 23:14:44 +03:00
John Preston
2bd8737410
Fix sticker inline bot results.
...
Fixes #3317 .
2018-06-03 20:48:02 +03:00
John Preston
fdfdd0acce
Fix long names in sending files preview.
2018-06-01 23:05:19 +03:00
John Preston
2878e46d2b
Attempt to fix a strange crash on Linux.
2018-06-01 21:04:52 +03:00
John Preston
43d19920e0
Apply markdown only when sending the message.
2018-05-31 21:30:28 +03:00
John Preston
bfc748cd31
Pass modifiers inside InputField submitted signal.
...
Also use non-MOC connections for all InputFields.
Also use Ctrl/Cmd + Enter to submit fast share box.
Fixes #4769 .
2018-05-31 15:20:28 +03:00
John Preston
5c5438c12e
Add terms of service to the Intro.
2018-05-31 13:22:58 +03:00
John Preston
734c410879
New notifications API, defaults for users/chats.
2018-05-30 18:44:46 +03:00
John Preston
07d8dafa5e
Allow inserting links with custom text.
...
Fixes #4737 .
2018-05-26 18:07:51 +03:00
John Preston
10fa6f0c13
Ignore 'Replace emoji' setting in markdown.
...
Partially fixes #4727 . Fixes #4731 .
2018-05-25 20:50:26 +03:00
John Preston
250718e766
Fix build for Xcode.
2018-05-24 20:25:04 +03:00
John Preston
3ac50cf77f
Move message text to send media box caption field.
2018-05-24 17:57:41 +03:00
John Preston
f35bf41d26
Enable instant replaces in title edit fields.
2018-05-24 17:57:35 +03:00
John Preston
5e7642b42a
Support markdown and replaces in media captions.
2018-05-24 16:03:21 +03:00
John Preston
017ec87d60
Replace FlatTextarea with InputField.
2018-05-22 13:45:22 +03:00
John Preston
30dd8fe070
Unite InputField and InputArea.
...
Also support and use instant replaces in InputField-s.
2018-05-20 23:37:59 +03:00
John Preston
425e56b3ea
Apply proxy settings in mtproto-key-destroyer.
2018-05-18 15:20:28 +03:00
John Preston
4478c0a143
Resolve domain names for proxy servers.
...
Also use dc_id-checked auth key creation.
Fixes #4695 .
2018-05-18 10:57:11 +03:00
John Preston
5f063c0151
Display information about proxy sponsor.
2018-05-15 20:22:28 +03:00
John Preston
d3f85b4c4e
Display channels promoted by proxy on top.
2018-05-13 21:26:35 +03:00
John Preston
7d8ba15252
Allow to report messages in supergroups.
2018-05-10 17:15:16 +03:00
John Preston
48c1576d7f
Add 'Use proxy for calls' option.
2018-05-07 00:29:53 +03:00
John Preston
d2fa8ef0b0
Alpha version 1.2.18: Fix OS X old build.
2018-05-05 22:30:42 +03:00
John Preston
678d2a58c5
Improve proxy row design.
2018-05-05 21:55:39 +03:00
John Preston
7797e5a3b7
Improve proxies box design.
2018-05-05 21:55:39 +03:00
John Preston
d15b0cdb08
Improve infinite radial animation.
2018-05-05 21:55:39 +03:00
John Preston
e6906b84f3
Closed beta 1.2.17.3: Fix layout.
2018-05-05 21:55:39 +03:00
John Preston
f9ff676e57
Improve proxies box design and progress animation.
2018-05-05 21:55:38 +03:00
John Preston
ad1f089802
Read autoupdate prefix from config.
2018-05-05 21:55:38 +03:00
John Preston
95fee543ec
Try all available endpoints from config.
2018-05-05 21:55:38 +03:00
John Preston
df4daca15b
Display connecting/online proxy state.
2018-05-05 21:55:38 +03:00
John Preston
f794d8dbd8
Check proxy availability in ProxiesBox.
2018-05-05 21:55:38 +03:00
John Preston
9935a36c3d
Create and edit proxy box.
2018-05-05 21:55:38 +03:00
John Preston
a7c77682d7
Apply, delete and restore proxies in the box.
2018-05-05 21:55:38 +03:00
John Preston
8bbea976ea
Display proxies list in a box.
2018-05-05 21:55:38 +03:00
John Preston
900d1ddb36
Support multiple proxies in local storage.
2018-05-05 21:55:38 +03:00
John Preston
8e99135f37
Support tg://proxy links.
2018-05-05 21:55:37 +03:00
John Preston
993cb987a6
Improve autoupdate code, move it from Application.
2018-05-05 21:55:37 +03:00
John Preston
93f6d4b6e7
Support many config endpoints for one dc+params.
2018-05-05 21:55:37 +03:00
John Preston
4a9db99082
Use application level proxy settings.
2018-05-05 21:55:37 +03:00
John Preston
87d6081408
Version 1.2.16: Fix build in Xcode 9.3.
2018-04-07 12:47:08 +04:00
John Preston
b1cc7b25ba
Add group/channel info limit in EditPeerInfoBox.
2018-03-11 23:22:43 +03:00
John Preston
bfe7bf2c11
Paste image to SendFilesBox even if it has an url.
...
Fixes #4483 .
2018-03-10 00:55:58 +03:00
John Preston
33fe1b6389
Show no results message in share box search.
2018-03-09 21:22:31 +03:00
John Preston
b007fcb537
Add sticker sets search.
2018-03-03 14:21:32 +03:00
John Preston
fe262701c0
Add notification toggle in feed channels.
2018-02-12 18:52:55 +03:00
John Preston
8bacc74d8b
Request dialog list entries when needed.
...
Also save the original server-side int32 date in HistoryItems.
2018-02-08 12:20:54 +03:00
John Preston
a7f67c4bc9
Better chats list entries management.
...
Make unread counts and last message base::optional<>.
Remove ChannelHistory.
2018-02-08 12:20:54 +03:00
John Preston
63c1212ef1
Allow multiple items selection in HistoryView.
2018-02-08 12:20:52 +03:00
John Preston
9515520088
Update API scheme.
2018-02-08 12:20:52 +03:00
John Preston
840b42934b
Use server-side my_results in contacts.search.
2018-02-08 12:20:51 +03:00
John Preston
4527c03c0d
Use "Feed" name for chats list index and search.
2018-02-08 12:20:51 +03:00
John Preston
b91ebad8be
Improve items resize in history and feed.
2018-02-08 12:20:50 +03:00
John Preston
950126865e
Handle item view refresh, fix groups.
2018-02-08 12:20:49 +03:00
John Preston
d1a9d3992b
API scheme updated to layer 76.
2018-02-08 12:20:49 +03:00
John Preston
04c8c95634
Use notify* instead of mark* in Data::Session.
2018-02-08 12:20:49 +03:00
John Preston
8a56ede187
Move all (item/view/media) maps to Data::Session.
2018-02-08 12:20:49 +03:00
John Preston
7425e80f05
Use HistoryMedia as view, add Data::Media.
2018-02-08 12:20:48 +03:00