John Preston
a465117689
Allow choosing accent colors from palette.
2019-08-27 19:10:37 +03:00
John Preston
c2117e7722
Save embedded themes accent colors.
2019-08-27 19:10:37 +03:00
John Preston
7de28fc4bd
Apply saturation and value in colorizer.
2019-08-27 19:10:37 +03:00
John Preston
9cb5423d40
Allow changing accent color in default themes.
2019-08-27 19:10:37 +03:00
John Preston
549789bfb7
Update API scheme to layer 105.
2019-08-27 19:10:37 +03:00
John Preston
02b65a42f7
Move message client flags to a separate field.
2019-08-09 20:19:23 +01:00
John Preston
fb00d523c3
Add theme names to langpack.
2019-08-09 11:51:35 +01:00
John Preston
4bad642190
Remove some more Auth() calls.
2019-08-09 11:50:49 +01:00
John Preston
93a52bb66e
Move some settings from global to Session.
2019-08-09 11:50:49 +01:00
John Preston
708b1d7ad4
Add 'Loop animated stickers' setting.
2019-08-09 11:50:49 +01:00
John Preston
bacaf805b5
Pass SessionNavigation to some boxes.
2019-07-25 20:55:11 +02:00
John Preston
137fa0378c
Remove some more Auth() calls.
2019-07-24 16:00:30 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
06982fdf04
Remove some calls to Auth().
2019-07-24 13:13:51 +02:00
John Preston
9cf4cf6dca
Move MTP::Instance to Main::Account.
2019-07-24 10:46:23 +02:00
John Preston
873b77cf40
Use UserData::isBot where applicable.
2019-07-24 08:02:20 +02:00
John Preston
c5df4db621
Fix possible race conditions in msgid().
2019-07-15 16:00:30 +02:00
John Preston
77b8d56c03
Show 'None' if no users are blocked.
2019-07-15 14:12:27 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
9d09cee1cc
Unblock bots without restarting from Settings.
2019-07-04 16:26:53 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
52e40cbc6e
Improve non-authed language switch.
2019-06-21 11:06:50 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
d1d98c3bb1
Use tr:: instead of langFactory in box titles.
2019-06-21 11:06:50 +02:00
John Preston
8ed433cc01
Use tr:: instead of langFactory in input fields.
2019-06-21 11:06:49 +02:00
John Preston
7af0dd105e
Use tr:: instead of Lang::Viewer.
2019-06-21 11:06:49 +02:00
John Preston
faa42110ac
Remove Info::Profile::ToUpperValue.
2019-06-21 11:06:48 +02:00
John Preston
a68a53d768
Prepare PasscodeBox for generic 2sv checking.
2019-06-21 11:06:47 +02:00
John Preston
0dddb7694f
Show transfer community button, set 2sv password.
2019-06-21 11:06:47 +02:00
John Preston
ca7c50fbcd
Remove pseudo-HTML from langpacks and Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
5e3734d7bf
ReportSpamPanel -> HistoryView::ContactStatus.
2019-06-21 11:06:45 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
23rd
ed7a88ca17
Fixed display of update checking when autoupdate is toggled.
2019-06-05 01:09:31 +03:00
John Preston
9c613fe2f7
Move system versions to platform/platform_info.
2019-06-04 14:23:14 +03:00
John Preston
af85aec33b
Allow disabling pinned messages notifications.
...
Fixes #1864 .
2019-05-28 16:59:35 +02:00
John Preston
371f1a51c3
Preload blocked users slice in Settings.
2019-05-27 15:09:47 +02:00
John Preston
8660f976a9
Add phone number privacy.
...
Also move calls peer-to-peer privacy inside calls privacy.
2019-05-27 15:09:15 +02:00
John Preston
6b80ff4bcc
Support groups in privacy settings.
2019-05-27 15:09:12 +02:00
John Preston
c4aac5fa0e
Update API scheme to layer 100.
2019-05-27 15:09:06 +02:00
John Preston
7ee16ba45c
Clear hidden animated stickers.
2019-05-27 14:11:26 +02:00
23rd
47910b2ae1
Added '-scale' command-line argument for custom scale.
...
- Fixed #5272 .
- Fixed #5365 .
- Fixed #6055 .
2019-05-27 14:10:36 +02:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
854870683b
Add ability to archive/unarchive the chats.
2019-05-01 16:11:35 +04:00
John Preston
b5be6df5e2
Copy text with expanded links only to external.
...
Paste valid custom links in message field if copied from messages.
2019-04-08 19:10:06 +04:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
a6e96f9a28
Use new animations engine in all Basic-s.
2019-04-02 14:33:53 +04:00
John Preston
8c6e72b21a
Hide Nobody option from profile photo privacy.
2019-03-25 11:57:04 +04:00
John Preston
b972da059a
Show explaining preview of forwards privacy.
2019-03-24 12:12:42 +04:00
John Preston
81862215b4
Add forwards and profile photo privacy settings.
2019-03-24 12:12:42 +04:00
John Preston
399aed4087
Remove setting for Mac App Store version.
2019-03-20 14:31:32 +04:00
John Preston
be53cb027c
Possibly fix a crash in microphone testing.
2019-03-20 13:00:38 +04:00
John Preston
0df628dc7a
Fix notifications hiding on Linux.
...
Regression was introduced in 3372dfcd3e
.
Only when platform-specific code can give us the global time of the
last user input event we rely on idle time for notifications hiding.
Fixes #5791 .
2019-03-14 21:59:10 +04:00
John Preston
13a9b967e9
Use user phrases for support accounts.
2019-03-12 14:38:59 +04:00
John Preston
e631d98230
Implement media cache management.
2019-03-11 12:08:09 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
032694ad9e
Move files to media/audio and media/clip.
2019-02-13 15:41:33 +03:00
John Preston
890aacaeee
Allow to blur wallpapers from file.
2019-02-08 16:55:02 +03:00
John Preston
fd8e9dad92
Fix pattern wallpapers with themes.
2019-01-29 14:52:33 +03:00
John Preston
b6edf4561d
Add support for pattern wallpapers.
2019-01-29 14:52:33 +03:00
John Preston
f506a5ea6c
Save wallpaper settings locally.
2019-01-29 14:52:33 +03:00
John Preston
a1baa23a52
Use both thumbnails in photos and documents.
...
Fixes #5602 .
2019-01-28 13:10:45 +03:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +04:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
61b9a32504
Add 'Contact joined' notifications setting.
2019-01-18 16:41:08 +04:00
John Preston
1894b8fcf7
Handle t.me/bg links with wallpapers / colors.
2019-01-18 16:41:07 +04:00
John Preston
466c6da5e3
Save wallpaper information.
2019-01-17 12:21:31 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +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
bb8defeb42
Improve change emoji set box design.
2019-01-11 17:30:57 +04:00
John Preston
de00e0e15c
Add simple switch emoji set box.
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
a0c6104fae
Redesign auto download box.
2018-12-25 22:15:22 +04:00
John Preston
9c579e0d5b
Fix crash in wrong confirm email button.
2018-12-25 14:53:47 +04:00
John Preston
8bd3051224
Fix crop photo box title.
2018-12-23 21:23:36 +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
61add763ae
Restart instead of Unblock for bots.
2018-12-04 15:46:07 +04:00
John Preston
6562a1f6af
Add 'Count unread messages' option.
2018-12-04 14:32:48 +04:00
John Preston
9f5b09c263
Add emoji autocomplete to all fields.
2018-11-21 14:09:46 +04:00
John Preston
123523ef62
Separate some lang phrases.
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
e992702783
Load chats in chunks in support mode.
2018-11-09 17:54:34 +04:00
John Preston
e482f041a8
Allow disabling even system proxy settings.
...
Fixes #4944 .
2018-11-05 18:52:01 +04:00
John Preston
3447aac940
Prefix client-side lang_code-s with #.
2018-11-04 15:51:39 +04:00
John Preston
711b8cfa36
Fix auto interface scale by primary screen dpi.
2018-11-04 15:51:39 +04:00
John Preston
595134cab5
Move image-related modules to ui/image/.
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
5b4abe69aa
Add interface scale (100%..150%) for Retina.
...
Fixes #69 , fixes #3126 , fixes #3789 .
2018-10-16 23:00:55 +03:00
John Preston
19a9a990b6
Allow using any interface scale between 100%-300%.
2018-10-16 11:38:09 +03:00
John Preston
e896971fa4
Allow instant template selection (support).
2018-10-11 19:07:37 +03:00
John Preston
81a9554caa
Move some settings to the main menu (support).
2018-10-09 19:27:18 +03:00
John Preston
3f1f070d3f
Move sessions list up in Settings.
2018-10-09 19:27:18 +03:00
John Preston
9d4d3cc5e3
Show toast when reloading templates (support).
2018-10-09 19:27:17 +03:00
John Preston
6ba0755e15
Move support to the main settings (support).
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
25cefc6eab
Allow fix chats order and auto switch (support).
2018-10-09 19:27:16 +03:00
John Preston
29432d5d6a
Remove some unused themes code.
2018-10-09 19:27:16 +03:00
John Preston
d485a05935
Reorder chat settings sections.
2018-09-28 14:20:36 +03:00
John Preston
7ee1af5348
Move advanced notifications settings from box.
2018-09-28 00:18:30 +03:00
John Preston
a70613d929
Fix client side generated changelogs display.
...
Also use message date if available in MediaView.
2018-09-27 23:31:48 +03:00
John Preston
fdfc767930
Allow custom lang loading using Alt+Shift+Click.
2018-09-27 17:27:31 +03:00
John Preston
1cf4d3b4d2
Rename default themes.
2018-09-26 21:23:08 +03:00
John Preston
131f7ec5bb
Add install beta toggle to Settings > Advanced.
2018-09-26 21:23:08 +03:00
John Preston
9b85dd27ca
Allow to choose one of four default themes.
2018-09-26 14:36:55 +03:00
John Preston
e451dec70c
Fix update button in new settings.
2018-09-20 23:05:28 +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
04dd4e30a8
Rename General->Advanced in Settings.
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
00e4cfc345
Move data and storage to advanced settings.
2018-09-19 19:22:15 +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
3ba2a7931e
Autosave bio in settings edit section.
2018-09-19 19:22:14 +03:00
John Preston
fe9f02e485
Improve self-destruct setting edit.
2018-09-19 19:22:14 +03:00
John Preston
130aa67ba0
Some settings reordered in sections.
2018-09-19 19:22:14 +03:00
John Preston
5c7155c3a5
Improve privacy and security settings subsections.
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
a5f407a458
Closed beta version 1.3.16.1: Fix build for Xcode.
2018-09-19 19:22:14 +03:00
John Preston
2f408cd773
Remove old settings.
2018-09-19 19:22:14 +03:00
John Preston
c1ae9e9680
Implement intro wrap for new 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
fbf3c005ff
Implement new settings design with icons etc.
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
633ff4b60e
Implement privacy and security 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
38f788f545
Implement general settings section.
2018-09-19 19:22:13 +03:00
John Preston
9af70551f3
Implement notifications settings section.
2018-09-19 19:22:13 +03:00
John Preston
316d015d23
Add three dot menu to settings. Edit + logout.
2018-09-19 19:22:13 +03:00
John Preston
50b0b61118
Accept typing codes in settings.
2018-09-19 19:22:13 +03:00
John Preston
a7b1d83a3c
Add upload new profile photo button to settings.
2018-09-19 19:22:13 +03:00
John Preston
e2207e33ef
Add FAQ and support buttons to settings.
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
a7725f03bb
Add cover to settings main section.
2018-09-19 19:22:12 +03:00
John Preston
f0d092f126
Section dummies for new Settings.
2018-09-19 19:22:12 +03:00
John Preston
4f16ad6757
Move old settings to old_settings.
2018-09-19 19:22:12 +03:00
John Preston
08ff324b1b
Work with Cache::Database in LocalStorageBox.
2018-09-01 18:56:08 +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
cb338e330f
Allow independently change default / night themes.
2018-07-31 22:56:03 +03:00
John Preston
52e7ddf079
Add '-externalupdater' command-line argument.
...
Now no-autoupdater mode can be switched on in runtime.
Also TDESKTOP_DISABLE_AUTOUPDATE build is disabled in CI (trivial).
Fixes #4895 .
2018-07-12 18:35:59 +03:00
John Preston
e3e8d083ea
Remember passport credentials for 30 minutes.
2018-07-11 17:56:07 +03:00
John Preston
a200771868
Don't suggest export if one is running.
2018-06-24 15:44:53 +01:00
John Preston
ae18ece549
Ask export path with other export options.
2018-06-23 00:56:53 +01:00
John Preston
a89ad5d0fb
Add export my data button in Settings.
2018-06-20 17:41:59 +01:00
John Preston
329db0d8e9
Export panel minimizes to a top bar, like a Call.
2018-06-20 01:02:36 +01:00
John Preston
c587c011d2
Start data export in lib_export.
2018-06-12 01:02:04 +03:00
John Preston
72f95b984f
Replace cDebug() with Logs::DebugEnabled().
2018-06-05 21:51:05 +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
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
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
ddb4527159
Start passport support: handle link, receive form.
2018-06-03 23:16:33 +03:00
John Preston
168a7ce2e5
Add "Suggest emoji replacements" checkbox.
...
Also emoji suggestions insert an instant emoji replacement.
2018-05-13 18:56:08 +03:00
John Preston
d2048f3c25
New connecting status design.
2018-05-08 20:31:33 +03:00
John Preston
cc2c13d018
Fix build with TDESKTOP_DISABLE_AUTOUPDATE.
...
Fixes #4655 .
2018-05-07 00:34:58 +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
48e913bf2c
Use static version map for autoupdates.
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
87d6081408
Version 1.2.16: Fix build in Xcode 9.3.
2018-04-07 12:47:08 +04:00
John Preston
4a32b00068
Setting for cloud stickers suggestions.
2018-03-20 01:09:03 +04:00
John Preston
8a56ede187
Move all (item/view/media) maps to Data::Session.
2018-02-08 12:20:49 +03:00
John Preston
97a9089ebf
Move draw / getState code to HistoryView::Message.
...
Item dimensions broken for now.
Also remove history.h from pch.
2018-02-08 12:20:48 +03:00
John Preston
6a9556d42c
Move non-settings session data to Data::Session.
...
Rename AuthSessionData to AuthSessionSettings, move data away.
2018-02-08 12:20:46 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
8e45b09083
Use different indentation for rpl operators.
...
It works better with Visual Studio IDE.
2017-12-26 19:20:07 +03:00
John Preston
3f751bfbb0
Activate window on dropEvent.
2017-12-18 20:25:24 +04:00
John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +04:00
John Preston
537400d8b2
Enable distinct selecting of grouped media.
2017-12-16 20:50:42 +04:00
John Preston
68009b6fba
Refactor userpic storage and access in PeerData.
2017-12-05 11:58:18 +04:00
John Preston
8391d43057
Use EditPeerInfoBox for editing groups.
...
This allows to edit group invite links.
Rename EditNameTitleBox to EditNameBox, used only from Settings.
2017-12-02 16:04:22 +04:00
John Preston
0bf854bf18
Fix edit name button in Settings.
...
Regression was introduced in 703b944839
.
2017-11-30 18:01:01 +04:00
John Preston
eb8800f2d4
Replace $ with _ in rpl::mappers.
2017-11-20 16:32:55 +04:00
John Preston
8dd3f24285
Replace Profile::UserpicButton with one from Ui::
2017-11-16 07:59:11 +04:00
John Preston
3d37ac9235
Replace NewAvatarButton with UserpicButton.
...
This new control should also replace PeerAvatarButton and
Profile::UserpicButton and deliver all the best of those three.
2017-11-16 07:59:11 +04:00
John Preston
8ff0120642
Add EditPeerInfoBox without saving.
2017-11-16 07:59:10 +04:00
John Preston
d67a8a4708
Fix edit bio in Settings.
2017-11-16 07:59:09 +04:00
John Preston
93c15e5ee6
Use internal section stack in Info::WrapWidget.
2017-11-16 07:59:06 +04:00
John Preston
f0ad78d808
Change *[Fast|Animated] to anim::type in SlideWrap.
2017-11-16 07:59:06 +04:00
John Preston
83850d9b86
Change *[Fast|Animated] to anim::type in FadeWrap.
2017-11-16 07:59:06 +04:00
John Preston
0c4bda71fd
Remove some unused / rare phrases.
2017-11-16 07:59:05 +04:00
John Preston
d1687ab963
Improve info wrapping in section / layer.
...
Also move layerwidget to window/layer_widget.
Also replace ui/effects/widget_fade_wrap with ui/wrap/fade_wrap.
2017-11-16 07:59:05 +04:00
John Preston
5cc7cb1d85
Allow empty arg list in rpl next/error handlers.
2017-11-16 07:59:05 +04:00
John Preston
086e46c162
Add and use only rpl::start_with_*() methods.
2017-11-16 07:59:05 +04:00
John Preston
ffc20e4492
Divide structs into several data/ modules.
2017-11-16 07:59:04 +04:00
John Preston
703b944839
Return FlatLabel.margins in getMargins().
2017-11-16 07:59:04 +04:00
John Preston
766e7dadb1
Use improved rpl::start().
2017-11-16 07:59:03 +04:00
John Preston
f162462111
Move info between Layer and Narrow wrap.
2017-11-16 07:59:03 +04:00
John Preston
c302219f9e
Use rpl in some widgets and effects.
2017-11-16 07:59:02 +04:00
John Preston
d46a5f693f
Remove unused lang phrases and some code.
2017-09-28 19:18:27 +03:00
John Preston
df64c972d8
Replace QFlags with base::flags.
2017-09-03 15:45:47 +03:00
John Preston
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +03:00
John Preston
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00
John Preston
f7359093b4
Replace ContactsBox with PeerListBox in two cases.
...
- View contacts list in PeerListBox.
- Add participants when creating group / channel in PeerListBox.
2017-08-30 19:15:27 +03:00
John Preston
17cef93ac0
Use gsl::finally() instead of base::scope_guard().
2017-08-30 19:15:26 +03:00
John Preston
012d59ab42
Use nullptr instead of std::unique_ptr<Type>().
2017-08-30 19:15:25 +03:00
John Preston
0bea2620b5
Replace BoxContent::closeHook() with boxClosing.
2017-08-30 19:15:24 +03:00
John Preston
b08732cf28
Move MediaView from MainWindow to Messenger.
2017-08-25 14:39:27 +03:00
John Preston
ab35829358
Remove App::app(), App::uploader(), App::api().
...
Also use Auth() instead of AuthSession::Current*().
2017-08-25 14:39:18 +03:00
John Preston
fdcb28f1a0
Version 1.1.16: Hide emoji replaces list for now.
2017-07-26 17:59:08 +03:00
John Preston
216692cd9b
Remove the Link row in Settings.
...
Anyway it duplicates the Username row.
2017-07-26 14:56:58 +03:00
John Preston
2e5930eb58
Update full peer in profile and settings.
...
Not more than once in five seconds get the full info to update bio.
2017-07-26 14:53:49 +03:00
John Preston
f283aa033b
Fix a couple of layout bugs for username edit.
2017-07-23 12:34:44 +03:00
John Preston
34d2e78308
Allow to edit Bio in Settings.
2017-07-23 12:34:43 +03:00
John Preston
d5c5549c1a
Make Checkbox text position relative to the View.
2017-07-07 14:27:13 +03:00
John Preston
21d2f6a44f
Generalize Checkbox layout.
...
Now any Checkbox can have Check, Radio or Toggle layout.
Radiobutton is now a subclass of Checkbox with default Radio layout.
2017-07-07 14:16:37 +03:00
John Preston
61659244b7
Add night mode switch to the main menu.
...
Also fix a bug with the default background applying.
2017-06-30 09:21:46 +03:00
John Preston
adcecaa195
Make search in restricted/blocked box paginated.
2017-06-29 11:40:17 +03:00
John Preston
7fdac9cd94
Add restricted users box like kicked users box.
...
Also allow server-side search inside restricted users list.
Also allow server-side search inside kicked users list.
Also allow PeerListController to work not only in PeerListBox.
2017-06-29 11:40:14 +03:00
John Preston
5d0e89db5d
Switch to the server side changelogs.
2017-06-29 11:40:00 +03:00
John Preston
85e6f55536
Support new plural keys format.
...
All the old plural phrases were changed to work with the new format.
2017-06-29 11:39:56 +03:00
John Preston
665a1acfd8
Apply language with app restart if logged in.
...
Confirm and restart if logged in, just quickly apply if not.
2017-06-29 11:39:54 +03:00
John Preston
b94099e25b
Realtime UI translation in all fields and buttons.
2017-06-29 11:39:51 +03:00
John Preston
5fc4f4ed36
Realtime UI translation in Intro.
...
Also support realtime translation testing by F7-F6-F7-F8 keys.
2017-06-29 11:39:49 +03:00
John Preston
6fb980ca79
Improve custom language loading.
...
Apply custom language without relaunching the app.
2017-06-29 11:39:46 +03:00
John Preston
3f0b57ec11
Retranslate Settings when language is changed.
...
Also suggest user to change language from 'en' to his for one time.
2017-06-29 11:39:45 +03:00
John Preston
f5dfeb0c50
Support cloud languages list and switching.
...
Add Lang::Current().updated() observable for retranslating the UI.
2017-06-29 11:39:43 +03:00
John Preston
139d4e72b5
Start cloud langpack support.
...
Change the way langpacks are stored.
Support custom langpacks in the new storage.
2017-06-29 11:39:42 +03:00
John Preston
2334ba1fe1
Use QString + Lang::Tag() instead of Lang::String.
2017-06-29 11:39:40 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
25587d7e8e
Replace different side enums with RectPart.
...
Including Ui::Shadow::Side, App::RectPart and ImportantTooltip::Side.
2017-05-24 16:25:20 +03:00
John Preston
530a385d4e
Add sound override support by codes in Settings.
2017-05-09 23:46:40 +03:00
John Preston
a3252c13d7
Edit phone calls privacy in Settings.
2017-05-09 23:46:23 +03:00
John Preston
06b081f509
Add calls log box.
...
PeerListBox can have many rows with the same PeerData.
PeerListBox::Row can have arbitrary action on the right side.
2017-05-09 23:46:18 +03:00
John Preston
5444b8166c
Finalize rename / move of files.
2017-04-07 18:13:18 +03:00
John Preston
5bb68cfd8f
Support reading me_url_prefix from config.
...
The default value 'https://t.me ' can be overriden from server config.
2017-03-30 12:49:16 +03:00
John Preston
d41372dccd
Allow MTP_flags(0) and MTP_flags(single_flag).
2017-03-25 18:42:01 +03:00
John Preston
e9ec09b91a
Add MTP::Sender to replace RPCSender some day.
...
Also use c++1z language standard in Xcode build.
Also treat warnings as errors.
2017-03-23 14:37:38 +03:00
John Preston
bd121752f1
Change your account phone number in Settings.
2017-03-21 20:13:34 +03:00
John Preston
facc729234
Edit account self destruct time in Settings.
...
Also accept lambda_once in rpcDone() and rpcFail() lambda wrappers.
2017-03-20 23:05:38 +03:00
John Preston
a5df46f381
Improve EditPrivacyBox layout.
...
Also fix incorrect killTimer() calls in DiscreteSlider.
2017-03-19 11:32:24 +03:00
John Preston
12cbf78191
Refactor Ui::Radiobutton. Add Ui::Radioenum<Enum>.
...
Now group of Ui::Radiobutton instances share Ui::RadiobuttonGroup.
All value management is done through the group instance, not through
separate radio buttons. Also a template for groups over enums added.
2017-03-19 00:06:10 +03:00
John Preston
0a40bf2071
WIP radiobuttons refactoring.
2017-03-18 14:55:04 +03:00
John Preston
7546245213
Show warning when user edits last seen first time.
2017-03-18 12:49:48 +03:00
John Preston
fc77b0a51c
Save privacy in ApiWrap. Handle privacy updates.
2017-03-18 12:49:47 +03:00
John Preston
346daee421
Edit groups and channels invite privacy.
2017-03-18 12:49:46 +03:00
John Preston
61c5b45d7a
Select exception users in EditPrivacyBox.
2017-03-18 12:49:46 +03:00
John Preston
85fd117675
Add EditPrivacyBox. Edit last seen privacy.
...
Selecting exception users is not supported yet.
2017-03-18 12:49:45 +03:00
John Preston
a563cf553c
Rename / move settings_blocked_box_controller.
...
Next commit fixes the build.
2017-03-18 12:49:44 +03:00
John Preston
d91a2403b0
Use refs in AuthSession part getters.
...
Also use only AuthSession data for Contacts/Dialogs loaded state.
2017-03-15 19:24:06 +03:00
John Preston
1027bd431a
Add some helper methods to effect wrappers.
...
Add and use similar methods to WidgetSlideWrap and WidgetFadeWrap:
[show|hide|toggle]Fast() and [show|hide|toggle]Animated().
2017-03-15 18:10:18 +03:00
John Preston
8c06b08f30
Alpha 1.0.23: Add blocked users list box in settings.
...
Also fixed build for Xcode.
2017-03-15 13:45:56 +03:00
John Preston
2ce2a14228
Add global search by username in block user box.
2017-03-14 21:38:50 +03:00
John Preston
46dab1a6b4
Add local search (filter) in block user box.
2017-03-14 20:10:28 +03:00
John Preston
805be84bff
Add block user box. Search isn't working yet.
...
Add a box containing all chats and contacts for blocking users.
Contacts and dialogs loaded state can be accessed in AuthSession.
2017-03-14 17:16:03 +03:00
John Preston
b1ee91b06b
Add blocked users box to Settings.
...
Start a general PeerListBox, it should replace both ContactsBox
and MembersBox in the future. Show blocked users list in it.
2017-03-14 13:58:36 +03:00
John Preston
81790b2271
Notifications management moved to AuthSession.
...
Also implemented Global::WorkMode() as an base::Variable.
2017-03-06 18:38:15 +03:00
John Preston
83720d8789
Finalizing file renaming.
2017-03-04 13:23:56 +03:00
John Preston
08167a6a91
Removed #include "stdafx.h" from all files.
...
Currently the build without implicitly included precompiled header
is not supported anyway (because Qt MOC source files do not include
stdafx.h, they include plain headers).
So when we decide to support building without implicitly included
precompiled headers we'll have to fix all the headers anyway.
2017-03-04 12:27:52 +03:00
John Preston
bc76f5ee1e
Debug feature added for overriding dc options.
...
Now you can type "endpoints" in Settings and choose a file with
a complete set of dc_options that will be used instead of built-in
or received through mtproto config till the end of current session.
2017-03-01 20:22:37 +03:00
John Preston
12705c9065
Removed legacy FileDialog::query* methods.
...
Everything is done easier and better through the FileDialog::Get*.
2017-02-28 19:04:52 +03:00
John Preston
f8318177b9
Platform-dependent file methods called async.
...
Some major platform-dependent file operations refactoring.
All methods like "open file", "open file with", "show in folder"
were moved to core/file_utilities module with platform-dependent
backends. All methods interacting with DesktopServices made async.
2017-02-28 18:03:38 +03:00
John Preston
6f0cf30b12
Some platform-dependent modules refactoring.
...
Now each platform-dependent module declares its interface in
platform/platform_module.h file and after that includes platform-
specific headers like platform/win/module_win.h with implementation.
Also removed the legacy WinRT platform-dependent implementations.
2017-02-28 13:51:00 +03:00
John Preston
a5eb5a6ea2
Crash fix when setting a background image by URL. #3077
...
When we choose a file from URL we don't get the filename.
In background image apply method we test for a theme / palette
file extensions. Now we don't crash there, but we still can't set
a .tdesktop-theme or .tdesktop-palette file from URL. Who cares :)
2017-02-28 10:26:27 +03:00
John Preston
c207743338
Made base::lambda a copyable value type.
...
Now base::lambda can be copied and can wrap any immutable lambda.
For mutable lambdas there is base::lambda_once (which you're
supposed to call only once to pass data through lambda captures,
for example by using std::unique_ptr). Generally base::lambda is
passed by value and base::lambda_once is passed by rvalue reference.
2017-02-26 21:01:23 +03:00
John Preston
c3b3819d9f
Moved AppClass to messenger.cpp:Messenger.
2017-02-25 19:48:20 +03:00
John Preston
ffc557a0f9
Using standard library instead of std_ namespace.
...
Currently tested only in VS2015.
2017-02-21 16:45:56 +03:00
John Preston
36fc7d1991
Merge branch 'master' into temp
...
Conflicts:
Telegram/SourceFiles/settings/settings_widget.cpp
2017-02-18 14:37:57 +03:00
Behnam Emamian
54c409d967
Use external video player by hidden setting ( #3021 )
...
Signed-off-by: Behnam Emamian <emamian@persianprocess.com> (github: BehnamEmamian)
2017-02-17 13:50:27 +01:00
John Preston
27a4d0f029
Alpha 1.0.7: Theme editor added to Settings.
2017-02-07 20:39:47 +03:00
John Preston
b842761ea3
Closed beta 1000006001: Built in theme and color palette editor.
2017-02-07 17:56:33 +03:00
John Preston
60f45ab9b3
Improved location coords precision when converting them to string.
...
Also disabled some options for a packaged build.
2017-02-03 13:17:40 +03:00
John Preston
4424dbf64a
Allow to resize chats list. One more mode added (narrow chats list).
2017-01-16 12:55:03 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00
John Preston
2d185cf66e
Some colors split for the palette. Theme preview applying improved.
...
Also attempting to fix travis build.
2017-01-11 12:16:44 +04:00
John Preston
143181095f
Alpha 0.10.26: t.me links, latest OpenAL code used.
...
Also inline results should be displayed above the message field.
2017-01-07 15:55:05 +04:00
John Preston
c65a280b9d
Alpha 0.10.23: small tiled background performance improved.
...
Also some error texts improved. Also Ctrl+W closes MediaView now.
2017-01-01 20:59:33 +04:00
John Preston
218f991547
Alpha version 0.10.22: critical bug fixes.
2016-12-31 17:34:41 +04:00
John Preston
38e6a0ae7e
Closed beta 10020005: Added several buttons animations.
2016-12-30 17:53:06 +04:00
John Preston
ef927c8465
Theme preview ready.
...
Also style::color is now copyable, constructed only inside a palette.
Also macOS setup new background ready.
2016-12-30 17:53:05 +04:00
John Preston
eb4d2a38b6
Closed beta 10020003: All colors moved to palette, some bug fixes.
2016-12-30 17:53:02 +04:00
John Preston
b030824ef5
Use default color theme link in non-authed Advanced settings section.
2016-12-30 17:53:00 +04:00
John Preston
177078b0af
Closed beta 10020002: Use default color theme link in Settings.
2016-12-30 17:53:00 +04:00
John Preston
2436ad74bd
Boxes redesigned. Common groups moved to Shared Media.
...
Also transparent images sending fixed.
2016-12-30 17:52:56 +04:00
John Preston
85b434bee4
Scheme updated. Pinned dialogs support added.
2016-12-30 17:52:53 +04:00
John Preston
90234cb7a0
Closed beta 10019014: New input fields design and animations.
2016-12-30 17:52:52 +04:00
John Preston
47977009b8
Moved FloatAnimation->Animation, Animation->BasicAnimation.
2016-12-30 17:52:48 +04:00
John Preston
b0f14d1856
Closed beta 10019011: various style improvements.
2016-12-30 17:52:39 +04:00
John Preston
2796c53542
Some more ripple animations.
2016-12-30 17:52:37 +04:00
John Preston
8958ae0377
Typing animations from android.
2016-12-30 17:52:36 +04:00
John Preston
3cff50009c
Closed beta 10019010: unified attach button, new intro, new stickers.
...
Now all files sending is confirmed before preparing for sending.
You can paste from clipboard and drag many files at once.
2016-12-30 17:52:32 +04:00
John Preston
3da0533339
Intro redesign done.
2016-12-30 17:52:30 +04:00
John Preston
6e0394dd42
Stickers box redesigned.
2016-12-30 17:52:28 +04:00
John Preston
e880c4876e
Strict alignment request for base::lambda. Various improvements.
2016-12-30 17:52:21 +04:00
John Preston
31a66d66e2
Layers show/hide rewritten, animated show over mainmenu and settings.
2016-12-30 17:52:15 +04:00
John Preston
d0f7c6c210
Qt render bug fixed by patch. Design improvements and fixes.
2016-12-30 17:52:14 +04:00
John Preston
07689476a6
Closed beta 10019008: Some more ripple animations added.
2016-12-30 17:52:13 +04:00
John Preston
7fa274a68e
Improved ripple animation colors and styles for different buttons.
...
Also moved FlatLabel and LabelSimple to ui/widgets/labels module.
Also moved ScrollArea to ui/widgets/scroll_area module.
2016-12-30 17:52:10 +04:00
John Preston
807bebb3cf
Buttons moved to ui/widgets/buttons module, BoxButton removed.
2016-12-30 17:52:04 +04:00
John Preston
1310b156dc
Closed beta 10019004: new add contact button, various improvements.
2016-12-30 17:51:57 +04:00
John Preston
494254496e
10019003: Some compose area icons improved. Box headers redesigned.
2016-12-30 17:51:52 +04:00
John Preston
19f4e50e33
New compose area icons.
2016-12-30 17:51:50 +04:00