2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-27 12:57:09 +00:00

59 Commits

Author SHA1 Message Date
RadRussianRus
c499cfb267 Updated TDesktop sources to 2.4.3 2020-11-09 03:26:49 +03:00
Ilya Fedin
f128665f6b Fix -debug argument
processArguments is called before ComputeDebugMode gets called, Logs::DebugEnabled gets overriden that way.
Fix that by setting gDebugMode variable and checking it in ComputeDebugMode.
2020-09-20 16:51:01 +03:00
RadRussianRus
d3935259d7 Option to set API ID and hash from start parameter 2020-07-23 17:52:26 +03:00
ilya-fedin
866f83aa17
Add possibility to set api id and api hash at runtime (#92) 2020-07-23 15:51:25 +03:00
RadRussianRus
f633857744 Updated TDesktop sources to 2.1.17 beta 2020-07-03 04:39:44 +03:00
Ilya Fedin
2b5df331bd Install Qt log handler 2020-07-02 11:31:51 +04:00
RadRussianRus
9953c875f3 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-07-01 05:43:07 +03:00
RadRussianRus
13ef0513fa
Separate /etc external updater 2020-06-27 02:46:51 +03:00
RadRussianRus
0943d58ea7 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-06-26 07:25:00 +03:00
John Preston
83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston
357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
Ilya Fedin
dbad9fa73a Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-17 20:33:23 +04:00
RadRussianRus
d0fd79001d Merge remote-tracking branch 'tdesktop/dev' into dev 2020-05-25 11:49:04 +03:00
Ilya Fedin
b19dcf0653 Add possibility to control external upater flag with a config in /etc 2020-05-25 10:27:48 +04:00
Ilya Fedin
77d1f64e0e Disable fallback session management 2020-05-25 09:31:52 +04:00
RadRussianRus
9e0e5b8f66 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-05-13 00:49:52 +03:00
Ilya Fedin
7409d615a3 Add a cheat code to enable freetype on Windows and macOS 2020-05-10 17:09:59 +04:00
RadRussianRus
b119ce78fd Merge remote-tracking branch 'tdesktop/dev' into dev 2020-03-17 23:41:32 +03:00
John Preston
4bd55605d9 Revert "Set application display name"
This reverts commit fda8a38bfc16aecd8721b5e560ef60c8447b157b.

Fixes #7380.
2020-03-16 17:41:47 +04:00
RadRussianRus
9c7d8cc1e1 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-03-14 18:17:17 +03:00
Ilya Fedin
fda8a38bfc Set application display name 2020-03-13 11:25:43 +04:00
RadRussianRus
af09efeeb2 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-02-06 10:58:45 +03:00
Ilya Fedin
a831c1703a Split launcher filename detection to a function 2020-01-31 15:46:39 +03:00
RadRussianRus
a7f2922f01 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-01-23 21:24:57 +03:00
John Preston
48b24d12b2 Always ask for TDESKTOP_LAUNCHER_BASENAME on Linux. 2020-01-21 18:47:36 +03:00
RadRussianRus
2b77ec69f0 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-01-18 18:26:29 +03:00
John Preston
afe34121af Use MACRO_TO_STRING from lib_base. 2020-01-17 14:15:40 +03:00
RadRussianRus
5407d411df Merge remote-tracking branch 'tdesktop/dev' into dev 2019-11-06 15:13:32 +03:00
John Preston
d63e50944a Update submodules to the latest spellcheck. 2019-11-05 13:23:56 +03:00
John Preston
85acdbc7ed Disable custom scaling by envvar. 2019-10-19 12:27:56 +04:00
John Preston
246c45ce0e Use lib_ui from submodule. 2019-10-19 12:27:28 +04:00
RadRussianRus
a45d80b8d7 Removed font start option 2019-10-19 01:20:07 +03:00
RadRussianRus
1c0f75bbf7 Updated TD to 1.8.11 2019-10-02 00:50:59 +03:00
John Preston
3b0bf7cb1e Move some more widgets and effects. 2019-10-01 23:59:46 +03:00
John Preston
849deb57e2 Move many widget classes to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston
e2f54eb3e9 Move some style code to lib_ui. 2019-10-01 23:59:46 +03:00
RadRussianRus
c473b1400a Better versioning and naming to separate from original app 2019-09-27 03:04:15 +03:00
RadRussianRus
37c7b0af13 First Kotatogram version 2019-09-21 19:10:46 +03:00
John Preston
c5df4db621 Fix possible race conditions in msgid(). 2019-07-15 16:00:30 +02:00
John Preston
9c613fe2f7 Move system versions to platform/platform_info. 2019-06-04 14:23:14 +03: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
Vitaly Zaitsev
ddb9c84a1d Allow GNU/Linux maintainers to forward launcher name.
Use optional compiler directive -DTDESKTOP_LAUNCHER_FILENAME to forward
required XDG desktop file name.

If not specified, fallback to default value will be used.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-05-10 12:08:58 +03:00
John Preston
69960a47da Apply telegram-wayland-icon.patch from Flatpak version. 2019-05-10 09:22:21 +03:00
John Preston
a0e2a925ee Filter command line arguments passed to Qt.
See https://www.bleepingcomputer.com/news/security/
qt5-based-gui-apps-susceptible-to-remote-code-execution/

This RCE exploit doesn't affect Telegram Desktop directly, because
Telegram Desktop uses statically linked Qt and does not load any
plugins from external shared libraries. But in any case it's better
to control how command line arguments can affect the app behaviour.

For now pass only the first command line part, the executable path.
2019-05-06 12:40:04 +02:00
John Zimmermann
c2a10f9c56 Linux: manually set desktop file name
resolves #5180
2019-04-25 13:41:19 +04:00
John Preston
a70e72f75d Application->Sandbox, Messenger->Application. 2019-01-23 12:51:58 +04:00
John Preston
cfac261516 Create Application before ConcurrentTimerEnvironment.
Fixes #5498.
2018-12-26 13:02:43 +04:00
John Preston
2e7f4c2f21 Use Storage::Cache::Database for file caching. 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
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