John Preston
736789a9ed
Closed beta version 1.3.14.1: Fix for OS X old.
2018-09-01 18:56:08 +03:00
John Preston
8210a51fdc
Fix build for Xcode.
...
Also guard database compactor so that it won't work after closing.
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
a58c082cfa
Fix base::binary_guard.
2018-09-01 18:56:08 +03:00
John Preston
2f9d65b4eb
Add a generic BinlogReader.
2018-09-01 18:56:08 +03:00
John Preston
b9af3c7f34
Add base::ConcurrentTimer.
...
Write removes from cache database once an hour.
2018-09-01 18:56:08 +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
9147c12687
Add basic implementation of Storage::Cache DB.
2018-09-01 18:56:08 +03:00
John Preston
62a396b661
Fix Storage::File lock with killing and add tests.
2018-09-01 18:56:08 +03:00
John Preston
8a371b9c1b
New storage encrypted file.
2018-09-01 18:56:08 +03:00
John Preston
46946c7323
Use correct SHA1_ functions.
...
Fixes #5103 .
2018-08-27 14:36:26 +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
90f4187ca9
Don't accept tg:// links in passport callbacks.
...
Fixes #5021 .
2018-07-31 22:51:06 +03:00
Sven-Hendrik Haase
947204bb9d
Add missing include to <gsl/gsl> ( #4886 )
2018-07-03 20:23:14 +03:00
Sven-Hendrik Haase
f37f097dec
Add include to <memory> ( #4887 )
2018-07-03 20:22:52 +03:00
John Preston
52f2f96f36
Closed beta 1.3.7.1: Fix Release build.
2018-06-22 01:01:45 +01:00
John Preston
2dc3ec955a
Add downloaded files cache in export.
...
Also write downloaded photo paths.
2018-06-17 13:47:47 +01:00
John Preston
9d02e539c8
Update scheme for special export methods.
...
Export all saved contacts.
2018-06-16 20:48:38 +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
cec8114b99
Add simple files and contacts export.
...
Also move all API calls in export to Export::ApiWrap.
2018-06-12 01:02:05 +03:00
John Preston
c587c011d2
Start data export in lib_export.
2018-06-12 01:02:04 +03:00
John Preston
c2fa149ffd
Replace InvokeQueued with on_main for has_weak_ptr.
2018-06-12 01:02:04 +03:00
John Preston
35659536c5
Fix first passcode unlock.
...
Fixes #4811 .
2018-06-07 10:44:38 +03:00
John Preston
866c5e9b7b
Request common notify settings when needed.
...
If user / group has default notify settings we need common user
or common group notify settings to display the badge properly.
2018-06-06 22:56:35 +03:00
John Preston
c85fd368fe
Possible fix of travis build.
2018-06-06 15:16:21 +03:00
John Preston
20b67ee000
Fix build for GCC.
2018-06-06 13:59:53 +03:00
John Preston
d03d699331
Improve base::optional, add emplace().
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
5c0cc8a947
Append param to query or hash of callback_url.
2018-06-03 23:16:38 +03:00
John Preston
ead31757d7
Submit passport results.
2018-06-03 23:16:36 +03:00
John Preston
1392e05ab1
Move all gsl::byte helpers to base/bytes module.
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
a053384618
Fix mtproto-proxy working with domain names.
...
Also refactor a bit TcpConnection and HttpConnection classes.
2018-05-17 13:27:49 +03:00
John Preston
93f6d4b6e7
Support many config endpoints for one dc+params.
2018-05-05 21:55:37 +03:00
John Preston
7482025c10
Support work with different dcs on a single IP.
2018-05-05 21:55:37 +03:00
Marco Trevisan
9dc03c4f0f
Linux ARM compile fixes ( #4399 )
...
This fixes errors when compiling in ARM
2018-03-09 23:48:47 +03:00
John Preston
ebd4651ac2
Manage unread bar using HistoryView::Element-s.
2018-02-08 12:20:50 +03:00
John Preston
7425e80f05
Use HistoryMedia as view, add Data::Media.
2018-02-08 12:20:48 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
af552fb4c0
Replace base/task_queue with crl.
2017-12-31 00:28:38 +03:00
John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +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
007ab3b7b8
Fix crash in RSA public key wrapper.
2017-12-07 09:34:11 +04:00
Nicholas Guriev
93809ec404
Fix build against OpenSSL 1.1
...
Closes : #3196
2017-12-07 09:15:10 +04:00
John Preston
85b3d3f64d
Display admin badges in supergroups.
...
Also prefer std containers to Qt and OrderedSet in data_peer.
2017-12-01 22:38:44 +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