Ilya Fedin
0eec470387
Hide default download folder option if it's not available
2022-12-29 14:18:08 +04:00
Ilya Fedin
66093f0cb5
cTimeFormat/cDateFormat -> QLocale::ShortFormat
...
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
John Preston
e878ccccb4
Fix crash in sending media with spoilers.
2022-12-27 11:48:54 +04:00
23rd
f8a17bd9c9
Moved tmp string for temporary folder to single place.
2022-11-30 17:17:16 +03:00
23rd
4fabb3f2a2
Replaced some qsl with u""_q literal.
2022-11-30 17:17:14 +03:00
John Preston
ad3f8e72a0
Remove namespace App.
2022-11-30 17:28:09 +04:00
John Preston
01139e1b04
Remove facades module.
2022-11-30 16:55:51 +04:00
John Preston
5d8a2bc7b7
Implement simple sub-column for topics list.
2022-11-30 13:03:42 +04:00
23rd
2acedca6b7
Replaced some qstr with u""_q literal.
2022-11-29 14:12:50 +03:00
Ilya Fedin
54a0f443b4
Better check for download path availability in sandbox
2022-11-28 12:16:57 +01:00
Ilya Fedin
b383dad6ac
Install launcher before registering URL scheme
2022-11-28 12:12:09 +01:00
Ilya Fedin
2f0d14bd35
Use customWorkingDir() outside of Core::Launcher
...
This allows to add -workdir to shortcuts only if the process was launched with -workdir
2022-11-21 21:30:17 +00:00
John Preston
644ec1f599
Remove base::Observable / base::Variable.
2022-11-11 11:43:24 +04:00
John Preston
092923fe6e
Don't autodownload files if sandbox prevents it.
...
Partially fixes #25308 .
2022-11-08 18:26:02 +04:00
John Preston
7cdf20a7c5
Allow topic deletion.
2022-11-01 19:25:40 +04:00
John Preston
df5602d203
Support topic icon display in topic profile.
2022-11-01 19:25:40 +04:00
John Preston
ead427793b
Handle forum / topic links.
2022-11-01 19:25:38 +04:00
John Preston
6695eda1be
Handle forum-non_forum changes in realtime.
2022-11-01 19:25:37 +04:00
Ilya Fedin
7b5781b845
Use default-constructed QLocale for date/time/whatever else formatting
...
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide
Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
John Preston
aa674a0ea5
Fix UB in closing chat across all windows.
2022-09-23 23:32:21 +04:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
a919978a37
Use spoiler animation for ExtendedMedia.
2022-09-12 09:06:26 +04:00
Ilya Fedin
5fc7caeec9
Provide old version to Platform::NewVersionLaunched
2022-09-01 13:53:53 +04:00
John Preston
aa484ac015
Fix crash on launch with passcode.
2022-06-15 14:49:06 +04:00
23rd
fe7cffc509
Improved management of online status from non-primary windows.
...
– The online status of the user should be checked and updated only
when the previous active window and the current active window both have
different sessions.
– Removed MainWindow::activeChangedHook since windows should not
change online status on their own on activating.
– Renamed Application::maybeActiveSession
to Application::maybePrimarySession.
– Added updating of online status on changing of the current account
since this seems to have been missed.
2022-06-12 16:07:41 +03:00
23rd
1d475ee727
Slightly optimized includes in application.h.
2022-06-12 16:07:41 +03:00
23rd
948ce77a8f
Improved deleting peer from non-primary windows.
2022-06-09 04:20:13 +03:00
23rd
873301e7df
Fixed handling of requests to open media from non-primary windows.
2022-06-08 11:59:30 +03:00
23rd
16e61ae2b2
Fixed lock by local passcode for non-primary windows.
2022-06-08 11:59:30 +03:00
John Preston
a780fbd09b
Add "ctrl-click-chat-new-window" option.
2022-06-07 22:05:37 +04:00
23rd
1d7e901b7a
Improved processing of premium accounts limits.
2022-06-02 13:56:01 +03:00
23rd
c47140c62d
Fixed window activation by clicking on tray icon for macOS.
2022-05-05 16:52:09 +03:00
23rd
0e16a50bbc
Completely removed common and platform code for tray from main window.
2022-05-03 04:25:36 +03:00
23rd
56fdc7d39a
Added common and macOS tray implementations.
2022-05-03 04:25:36 +03:00
23rd
de194c4aa2
Initialized empty files for tray implementations.
2022-05-03 04:25:35 +03:00
23rd
511805199f
Added ability to check are windows active for tray menu.
2022-05-03 04:25:35 +03:00
John Preston
273f2f7ce9
Prolong bot attach webview.
2022-03-30 12:23:06 +04:00
John Preston
602e7a7164
Warn on quit if downloading files.
2022-03-09 15:36:14 +04:00
23rd
5718789d53
Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox.
2022-02-28 09:08:01 +03:00
23rd
06d5d8859a
Added extracting of session controller from context for custom urls.
2022-02-25 19:41:16 +03:00
John Preston
280d79fecc
Add observing Data::DownloadManager.
2022-02-25 14:14:43 +03:00
John Preston
28f2c213f7
Remove app module. Support delayed quit by Cmd+Q on macOS.
2022-01-27 15:54:20 +03:00
John Preston
6a3ad52aef
Add upload cancel confirmation on Quit and Log Out.
2022-01-26 13:15:28 +03:00
23rd
0143d22a21
Split qt_adapters to separated files.
2022-01-26 10:33:28 +03:00
John Preston
07f72c20eb
Change application icon only in support mode.
...
Fixes #23895 .
2022-01-22 16:40:57 +03:00
John Preston
18e6e2da9e
Open specific chat only in one window.
2022-01-04 19:36:33 +03:00
John Preston
54247cd11b
Create dialogs widget only in the primary window.
2022-01-04 16:44:53 +03:00
John Preston
8b0725650d
Move global event filter to Platform::Integration on Windows.
2022-01-04 15:29:40 +03:00
John Preston
20411be9bd
Allow creating separate windows for peers.
2022-01-04 14:18:13 +03:00
John Preston
6925bf6a8e
Refresh global proxy after settings being read.
...
Fixes #16600 , fixes #17249 .
2021-11-16 12:39:24 +04:00