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
47bdeeef9a
Poll data and updates handling added.
2018-12-21 17:09:31 +04:00
John Preston
0b619e50ba
HistoryHider moved to Window namespace.
2018-11-28 15:48:35 +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
b3ffbeb63e
Improve code for Shortcuts handling.
2018-11-20 19:38:40 +04:00
John Preston
4960e08a24
Display occupied chats using drafts for support.
2018-11-20 19:38:39 +04:00
John Preston
60103f7ad6
Use upstream range-v3 on MSVC.
...
The build works using MSVS 15.9 and latest range-v3 code.
2018-11-20 19:38:39 +04:00
John Preston
ef38572d5a
Detect and send supports_streaming bit for videos.
2018-11-07 18:10:00 +04:00
John Preston
da358615e0
Generate high quality video thumbnail when loaded.
2018-11-04 15:51:38 +04:00
John Preston
f8eef7c9a6
Forget least used images gradually.
2018-11-04 15:51:37 +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
2812d2911f
Remove media_volume icon, use volume slider.
2018-10-15 11:06:27 +03:00
John Preston
ccaec28d0b
Read and autocomplete templates (support).
2018-10-09 19:27:16 +03:00
John Preston
25cefc6eab
Allow fix chats order and auto switch (support).
2018-10-09 19:27:16 +03:00
John Preston
7ee1af5348
Move advanced notifications settings from box.
2018-09-28 00:18:30 +03:00
John Preston
04dd4e30a8
Rename General->Advanced in Settings.
2018-09-20 21:26:10 +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
50b0b61118
Accept typing codes in settings.
2018-09-19 19:22:13 +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
64b8adb3d0
Isolate lib_base library. Use crl::time in getms.
2018-09-01 18:56:08 +03:00
John Preston
cb371f09ac
Clear old versions of Storage::Cache::Database.
2018-09-01 18:56:08 +03:00
John Preston
557d363d02
Refresh file references when downloading files.
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
550c159ca8
Update API scheme to layer 83.
2018-08-04 23:11:04 +03:00
John Preston
13e6b91ac7
Remove old done widget in Export.
2018-06-20 17:45:52 +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
5f01751660
Display errors in export UI.
...
All errors are now fatal errors :(
2018-06-19 13:35:21 +01:00
John Preston
83786ddeaf
Export chat messages photos and documents.
...
Also rename .visit() with .match() in MTP types.
Also add base::match_method() and base::match() for base::variant.
Also add base::match() and .match() for base::optional_variant.
2018-06-14 01:09:48 +03: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
c587c011d2
Start data export in lib_export.
2018-06-12 01:02:04 +03:00
John Preston
9ebeddbed8
Request, show and require accept for updated ToS.
2018-06-06 21:37:01 +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
a29e8f9a06
Moved Passport panel code to Ui::SeparatePanel.
2018-06-03 23:16:38 +03:00
John Preston
f1519b76f6
Allow to enter phone and email in the passport.
2018-06-03 23:16:34 +03:00
John Preston
94bfd59b76
Fill all required fields in identity and address.
2018-06-03 23:16:34 +03:00
John Preston
2790919733
Move scans upload to a separate module.
2018-06-03 23:16:34 +03:00
John Preston
f0b7ff24b1
Update API scheme.
2018-06-03 23:16:34 +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
f633ead3ab
First version of IdentityBox with encrypted data.
2018-06-03 23:16:33 +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
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
d2048f3c25
New connecting status design.
2018-05-08 20:31:33 +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
027db285bc
Add Info::Channels section + feed channels search.
2018-02-22 20:38:00 +03:00
John Preston
99c686e3e1
Display feed channels list in feed info.
2018-02-08 12:20:55 +03:00
John Preston
11671e85da
Add scroll-to-down button to Feed.
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
fe1a90bd39
Move message context menu to a separate module.
2018-02-08 12:20:52 +03:00
John Preston
a47981054f
Feed info profile placeholder.
2018-02-08 12:20:51 +03:00
John Preston
861ab85ca1
Fix voice/video messages in chats/feed.
2018-02-08 12:20:50 +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
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
bee474f6e9
Remove history_item and layout from pch.
...
Also move some code to separate modules.
Also create history item views by Window::Controller.
2018-02-08 12:20:47 +03:00
John Preston
8060cb7426
Start HistoryView::Message class for item view.
2018-02-08 12:20:47 +03:00
John Preston
794e31505b
First version of feed section view.
2018-02-08 12:20:46 +03:00
John Preston
782e70b171
Support basic feed display in chats list.
2018-02-08 12:20:46 +03:00
John Preston
9d2239291d
Add support for pinned feeds management.
2018-02-08 12:20:46 +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
724fe65d72
Start feeds support.
2018-02-08 12:20:45 +03:00
John Preston
6796ac688a
Apply web page media updates.
2017-12-31 12:55:08 +03:00
John Preston
af552fb4c0
Replace base/task_queue with crl.
2017-12-31 00:28:38 +03:00
John Preston
2df4d19474
Move changelogs from ApiWrap to a separate module.
2017-12-29 21:17:07 +03:00
John Preston
5b4694a4eb
Move text options constant to a separate module.
...
Also start MediaView group thumbs code.
2017-12-28 16:06:06 +03:00
John Preston
44014e62ba
Move EditCaptionBox to a separate module.
2017-12-26 19:20:06 +03:00
John Preston
3b3a705a67
First working code for sending albums.
2017-12-26 19:20:06 +03:00
John Preston
92333e982c
Move message components to history_item_components.
...
Also fix channel signatures rendering.
2017-12-18 19:52:36 +04:00
John Preston
b8204a317d
Testing crl (concurrency runtime library).
2017-12-17 23:05:00 +04:00
John Preston
656e4869e6
Move UnreadBadge to ui/unread_badge.
2017-12-17 15:04:47 +04:00
John Preston
4c9931ab02
Support grouped media rendering.
2017-12-16 20:50:42 +04:00
John Preston
97c15865a5
Move some code around.
...
Move logs:SignalHandlers to core/crash_reports:CrashReports.
Move all pre-launch windows to core/crash_report_window module.
Move some global code to core/launcher:Launcher.
It should replace settings / platform_specific module in some way.
2017-12-12 16:47:32 +04:00
John Preston
9bbcbd4bb3
Remove all legacy media overview code.
2017-12-08 22:34:26 +04:00
John Preston
5bc47e5203
Move shareContact and readServerHistory to ApiWrap.
...
Also allow non-confirming contact info sharing to Saved Messages.
2017-12-07 17:43:05 +04:00
John Preston
5eeb8143b6
Move EmptyUserpic from data_peer to empty_userpic.
2017-12-05 12:44:27 +04:00
John Preston
62568daffe
Refactor NotifySettings in PeerData.
2017-12-04 21:48:45 +04:00
John Preston
301aa9572f
Apply channel admin edition changes.
2017-12-02 15:07:27 +04:00
John Preston
2432845df2
Optimize and rename base::weak_unique_ptr.
...
Rename base::enable_weak_from_this -> base::has_weak_ptr.
Rename base::weak_unique_ptr -> base::weak_ptr.
Rename base::make_weak_unique -> base::make_weak.
Rename base/weak_unique_ptr.h -> base/weak_ptr.h
2017-11-30 21:33:27 +04:00
John Preston
d014b47958
Move Info::TopBarOverride to Info::TopBar.
...
This allows to improve animations in shared media items selection.
2017-11-27 15:43:57 +04:00
John Preston
837dac50fa
Fix build for the original range-v3.
2017-11-26 18:20:22 +04:00
John Preston
0ced28f991
Nice animations when selecting shared media items.
2017-11-24 19:47:09 +04:00
John Preston
b337d54623
Use custom base::overload() helper.
2017-11-21 18:27:48 +04:00
John Preston
d93c1ccbaa
Improve compile time.
2017-11-21 14:20:52 +04:00
John Preston
6ca105a290
Minimal layer 72 support.
2017-11-20 23:54:05 +04:00
John Preston
bef87c6dff
Allow showing chat members in a special section.
2017-11-17 17:23:36 +04:00
John Preston
8dfccf55d1
Add shared media empty placeholders.
2017-11-16 07:59:12 +04:00
John Preston
3deea14559
Remove old shared media overview section.
...
Also move window/top_bar_widget to history/history_top_bar_widget.
2017-11-16 07:59:11 +04:00
John Preston
bca9b3ca3f
Extract a reusable Ui::ResizeArea class.
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
3998fad7ef
Add manage supergroup / channel box.
2017-11-16 07:59:10 +04:00
John Preston
fcf2b9d1a7
Add some more actions to info profile.
2017-11-16 07:59:10 +04:00
John Preston
8191ebfc49
Improve peer context menu for info.
2017-11-16 07:59:09 +04:00
John Preston
47a52b0587
Moved several modules from history/ to data/.
2017-11-16 07:59:09 +04:00