John Preston
e2f08d4161
Write uint8 tags to Database and count stats.
...
Also pass rvalues to Database where copies are required anyway.
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
5824afa941
Add copy() and move() to Cache::Database.
2018-09-01 18:56:08 +03:00
John Preston
adcc11c474
Ignore database actions after IO error.
2018-09-01 18:56:08 +03:00
John Preston
4769a1a49f
Added 100k test for storage cache.
2018-09-01 18:56:08 +03:00
John Preston
f6a6a39d3b
Fix compactor and add simple tests for it.
2018-09-01 18:56:08 +03:00
John Preston
2940023cb0
Simplify db tests.
2018-09-01 18:56:08 +03:00
John Preston
d426f7242a
Implement Storage::Cache::Compactor for database.
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
a4c1d5fe9d
Move cache database to a separate module.
...
Also start compactor code.
2018-09-01 18:56:08 +03:00
John Preston
13c7c99965
Ignore put queries that don't change anything.
2018-09-01 18:56:08 +03:00
John Preston
fbfa7e7be3
Write date/time inside Store cache record.
2018-09-01 18:56:08 +03:00
John Preston
e5dda6dd49
Write removes/touches in bundles. Apply limits.
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
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
81731139e9
Add tests for storage encrypted file.
...
Also fix some bugs found by the 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
a8da0c18ee
Closed beta version: 1.3.13.2: Fix broken beta.
2018-08-20 17:26:28 +03:00
John Preston
b78c08a30a
Bump version to 1.3.13.
2018-08-20 17:26:28 +03:00
John Preston
c913c77fef
Refresh file references when sending stickers.
2018-08-20 17:26:28 +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
ee16070abe
Update API scheme to layer 86.
2018-08-20 17:26:27 +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
a99ae76ad4
Allow single chat history export.
2018-07-31 22:56:03 +03:00
John Preston
6429e8b532
Improve theme applying.
2018-07-31 22:56:03 +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
33095966af
Move sendMessage and sendInlineResult to ApiWrap.
2018-06-27 22:58:32 +01:00
John Preston
ff53404d5b
Update API scheme to layer 82.
2018-06-27 22:58:32 +01:00
John Preston
8c2f11de7d
Send correct paddings in improved TCP protocol.
2018-06-25 19:55:52 +01:00
John Preston
0143fd28af
Suggest start export when time comes.
2018-06-23 00:56:53 +01:00
John Preston
844d030332
Save export settings to local storage.
2018-06-23 00:56:53 +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
c85fd368fe
Possible fix of travis build.
2018-06-06 15:16:21 +03:00
John Preston
5ed15cd0b3
Fix EditColorBox.
...
Regression was introduced in bfc748cd31
.
Fixes #4803 .
2018-06-06 13:04:37 +03:00
John Preston
2bc60fa54f
Save secure files to local storage.
2018-06-03 23:16:34 +03:00
John Preston
c2aa9c571c
Follow secure file upload/download progress.
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
b2014f403e
Secure files upload / download support.
2018-06-03 23:16:34 +03:00
John Preston
0eb3d20250
Use https in default auto-update prefix.
...
Fixes #4674 .
2018-05-27 14:26:45 +03:00
John Preston
5e7642b42a
Support markdown and replaces in media captions.
2018-05-24 16:03:21 +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
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
168a7ce2e5
Add "Suggest emoji replacements" checkbox.
...
Also emoji suggestions insert an instant emoji replacement.
2018-05-13 18:56:08 +03:00
John Preston
bb6ab5314c
Fix recent stickers saving and possible crash.
...
Regression was introduced in 97c15865a5
.
2018-05-10 15:03:02 +03:00
John Preston
cc2c13d018
Fix build with TDESKTOP_DISABLE_AUTOUPDATE.
...
Fixes #4655 .
2018-05-07 00:34:58 +03:00
John Preston
48c1576d7f
Add 'Use proxy for calls' option.
2018-05-07 00:29:53 +03:00