John Preston
2f408cd773
Remove old settings.
2018-09-19 19:22:14 +03:00
John Preston
7d8ba66211
Core::UpdateApplication using new 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
34665cd6da
Save self to local storage map.
2018-09-19 19:22:13 +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
165511fb14
Add warning for unsaved Bio section closing.
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
cfce189201
Improve main menu > settings transition animation.
...
Remove full window cache in case of settings shown as a section.
2018-09-19 19:22:13 +03:00
John Preston
482ecf12ff
Fix settings show animation.
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
8c1cc51c2e
Move peer photo update from Messenger to ApiWrap.
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
Magnus Groß
689aed7258
Show Emoji replacement tooltip on hover
...
When using the mouse, hovering over a emoji causes the corresponding
replacement text to appear in a tooltip. This feature is disabled, if
the option "Suggest emoji replacements" is disabled.
This closes #3739 , closes #743 and closes #4211 .
2018-09-19 13:54:46 +03:00
23rd
e966213ff8
Added shortcut to open dialog for attachements.
2018-09-19 12:25:16 +03:00
John Preston
eacc6b7b6e
Alpha version 1.3.16.
...
- Update libtgvoip, fix crash in calls.
- Fix crash in local cache database.
- Clear old local cache asynchronously.
2018-09-04 22:37:22 +03:00
John Preston
4b87363a20
Check value size before putting to cache db.
2018-09-04 22:37:22 +03:00
John Preston
9ba331693f
Async clear of legacy local storage.
...
Sync call to QDir::entryList is a bad idea for the user data folder.
Some users reported hanging on startup with 1.25M legacy cache files.
Now we enumerate up to 10000 files at once asynchronously and clear.
2018-09-04 22:37:22 +03:00
John Preston
4e80d54be1
Alpha version 1.3.15.
...
- Improved local caching for images and GIF animations.
- Control how much disk space is used by the cache
and for how long the cached files are stored.
2018-09-01 18:56:09 +03:00
John Preston
2096007ed9
Fix clearing leaked files with a passcode.
2018-09-01 18:56:09 +03:00
John Preston
80cd74edc8
Closed beta version 1.3.14.2: Fix fallthrough.
2018-09-01 18:56:08 +03:00
John Preston
55583c2237
Closed beta version 1.3.14.2.
2018-09-01 18:56:08 +03:00
John Preston
069232ec1b
Allow changing limits for cache in Settings.
2018-09-01 18:56:08 +03:00
John Preston
5733f4079f
Allow updating some database settings.
2018-09-01 18:56:08 +03:00
John Preston
55fe977d54
Add some tests for Database.
2018-09-01 18:56:08 +03:00
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
7150811aef
Closed beta version 1.3.14.1.
2018-09-01 18:56:08 +03:00
John Preston
63103ede81
Update libtgvoip.
2018-09-01 18:56:08 +03:00
John Preston
c86252777b
Remove leaked (unknown) files in user data folder.
2018-09-01 18:56:08 +03:00
John Preston
2bcdf27b03
Workaround GCC bug.
2018-09-01 18:56:08 +03:00
John Preston
2001d3c617
Allow cleaner to work after database is closed.
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
55f60866cb
Set correct cache tags for different file types.
2018-09-01 18:56:08 +03:00
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
a58c082cfa
Fix base::binary_guard.
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
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
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
51092fb6a9
Fix file references for faved stickers.
2018-09-01 18:56:08 +03:00
John Preston
018abd6aad
Merge remote-tracking branch 'origin/dev'
2018-09-01 18:55:29 +03:00
Henning Schild
5292d75617
Linux: disable RegisterCustomScheme when internal updater is disabled
...
Closes: https://github.com/telegramdesktop/tdesktop/issues/5118
Signed-off-by: Henning Schild <henning@hennsch.de>
2018-09-01 10:12:09 +03:00
Nicholas Guriev
401e1166f9
Workaround internal compiler error in GCC
...
Closes : #5111
2018-09-01 10:10:14 +03:00
John Preston
45c1427f91
Version 1.3.14.
...
- Fix a crash in calls.
2018-08-27 19:07:59 +03:00
John Preston
46946c7323
Use correct SHA1_ functions.
...
Fixes #5103 .
2018-08-27 14:36:26 +03:00
John Preston
d98bbca353
Version 1.3.13.
...
- Export data from individual chats using the '...' menu.
- Added a new night theme.
- You can now assign custom themes as night and day themes
to quickly switch between them.
- Support for Telegram Passport 1.1 and improved password hashing
algorithm to better protect Telegram Passport data.
2018-08-25 13:50:51 +03:00
John Preston
83fcb8e8ed
Fix native names handling in passport.
2018-08-22 17:02:06 +03:00
John Preston
ec61aa0080
Edit last non-service message on KeyUp.
2018-08-22 09:50:36 +03:00
John Preston
4211501acf
Improve media viewer window decorations.
2018-08-22 09:50:35 +03:00
John Preston
ae6afad885
Closed beta version 1.3.13.4.
2018-08-20 17:34:26 +03:00
John Preston
3b8cee64b8
Closed beta version 1.3.13.3.
2018-08-20 17:26:28 +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
dac0471157
Closed beta version 1.3.13.2.
2018-08-20 17:26:28 +03:00
John Preston
07007ee5a5
Closed beta version 1.3.13.1.
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
5a487bc30c
Refresh file references in saveGif/faveSticker.
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
b8b5ab6378
Improve native name phrases in passport.
...
Also auto-save *_name to *_name_latin for english countries.
2018-08-20 17:25:33 +03:00
John Preston
5b88f4d3d2
Update API scheme.
2018-08-20 17:25:06 +03:00
John Preston
82a3cd9bdb
Use most-filled document from OneOf list.
2018-08-17 19:31:24 +03:00
John Preston
e25ecce887
Ask native names after all other fields are done.
2018-08-17 16:42:07 +03:00
John Preston
9f6d683415
Improve passport rows phrasing.
...
Also fix translations validation on value save.
2018-08-17 15:07:41 +03:00
John Preston
dc114d62c5
Handle APP_VERSION_OUTDATED in saving/accepting.
2018-08-17 14:11:09 +03:00
John Preston
6bf3006eb9
Rename payload->nonce in new passport scopes.
2018-08-17 14:01:23 +03:00
John Preston
fddc3d6ad9
Workaround MSVC 15.8 regressions.
2018-08-17 14:01:16 +03:00
John Preston
f76a2bc224
Add translations support to passport.
2018-08-14 20:48:23 +03:00
John Preston
6558a32794
Add [first|middle|last]_name_native support.
2018-08-14 15:51:12 +03:00
John Preston
b935d54fe7
Support common error for the whole value.
...
It is removed (considered fixed) if anything changes in the data.
2018-08-14 14:37:03 +03:00
John Preston
cb827406ca
Don't open passport links from inside the app.
...
They contain secret payload that should not be known to Telegram.
2018-08-14 09:49:14 +03:00
John Preston
36fcf2c60e
Add middle_name support to passport.
...
Also allow editing document without its details.
2018-08-14 09:42:06 +03:00