238 Commits

Author SHA1 Message Date
Lukáš Tinkl
9add7e4a4d fix(QClipboardProxy): return imageBase64 as a QString
for better interop with NIM/status-go
2022-11-25 14:36:03 +01:00
Pascal Precht
4dfe2d941b QClipboardProxy: add support for images, html and urls 2022-11-25 10:56:26 +01:00
Patryk Osmaczko
d9a8ecd67c fix: use QClipboard properly in QClipboardProxy
- constructor with connection was never called
- `textChanged` was never emitted
- `clipboard` member was uninitialized
2022-11-24 17:10:40 +01:00
Jonathan Rainville
47ca4bb6ea chore: hook into QT logs with qInstallMessageHandler
Fixes #8296

This makes the QML logs finally show on Windows
2022-11-17 15:15:21 -05:00
Lukáš Tinkl
14499ccf9b feat: add RXValidator
a QRegularExpression validator with Unicode support

Needed for status-im/status-desktop#8115
2022-11-15 11:39:23 +01:00
Lukáš Tinkl
328c56cee2 feat: implement OS notifications on Linux
using "notify-send" wrapper

Related: status-im/status-desktop#2520
2022-10-13 09:46:56 +02:00
Lukáš Tinkl
9feb81883c fix: abort startup on QML errors
exit() the app immediately after encountering QML errors on startup

task: status-im/status-desktop#7013
2022-08-15 17:56:02 +02:00
Patryk Osmaczko
0ae5a55d97 feat: add qml debugging
task: status-im/status-desktop#6973
2022-08-11 12:24:07 +02:00
Patryk Osmaczko
a5645e4b34 feat: register SortFilterProxyModel types
- it allows to `import SortFilterProxyModel 0.2`

relates: status-im/status-desktop#6510
2022-07-21 13:24:41 +02:00
Alexandra Betouni
7e8b91f510 fix(StatusSyntaxHighlighter): Updated regex and text formatting
Closes https://github.com/status-im/status-desktop/issues/6030
2022-06-14 16:20:46 -04:00
Michal Iskierko
51a56e88c3 feature(desktop/general): Showing number of all notifications on tray icon badge
Functionality added to OSNotification.
MacOS version.

Issue #4922
2022-05-26 14:12:59 +02:00
Sale Djenic
d66f310147 feat: url scheme event added 2022-05-13 11:18:05 +02:00
Sale Djenic
8b9fe82625 feat: get text from the clipboard 2022-03-30 18:30:01 +02:00
Khushboo Mehta
7c9d386121 feat: add support for download and copy image by url 2022-03-29 22:48:11 +02:00
Alexandra Betouni
676b1d9bc8 fix(chatinput/mentions) added clipboard proxy to prevent paste text missbehavior 2022-03-03 14:56:57 -05:00
Richard Ramos
ea578a6ae6 fix: add system certificates 2022-02-23 15:18:48 -04:00
Richard Ramos
e750cb76e8 feat: dos_add_self_signed_certificate 2022-02-21 17:01:26 -04:00
Sale Djenic
5509d6f963 feat: function to check if the app is active and make the app active are added 2022-02-21 21:26:58 +01:00
Sale Djenic
671fb1adc4 feat: sound manager added 2022-02-21 21:26:58 +01:00
Sale Djenic
379e803d94 chore: registering types is done after QGuiApplication instantiation 2022-01-31 21:41:42 +01:00
Iuri Matias
d86befc4cd fix rebase slipup 2021-09-20 11:35:30 -04:00
Andrei Smirnov
5fb8a012a3 QGuiApplication to not mess with QCoreApplication and QApplication 2021-09-20 11:35:30 -04:00
Sale Djenic
e79a3e179f feat(@desktop/general): (macos) Keychain manager added
LocalAuthentication class - used to authenticate OS' logged user (using Touch Id)
Keychain class - able to store/read/remove item from the Keychain
KeychainManager class - manages the flow of storing/reading/removing an item from
the Keychain using own sync/async methods

This change is required as part of the feature issue-2675
2021-09-17 12:46:45 -04:00
Sale Djenic
f5bcf6ee5f feat(@desktop/general): QSettings class exposed to nim 2021-09-17 12:46:45 -04:00
Sale Djenic
57312bafa5 refactor(@desktop/general): status custom events and os notification moved to the status namespace
- DockShowAppEvent
- OSThemeEvent
- OSNotification
are now part of our `Status` namespace

Corresponding files are renamed and moved to appropriate Status folder.
2021-09-17 12:46:45 -04:00
Andrei Smirnov
0bebd4cc2a fix(@desktop/systemtrayicon): using proper QApplication class 2021-09-16 16:52:58 -04:00
Michael Bradley, Jr
10af6b3074 feat: expose from local file
And revise some naming re: "to local file".
2021-09-16 16:31:27 -04:00
Anthony Laibe
631b2d1f3f feat: expose to local file 2021-09-16 16:31:27 -04:00
B.Melnik
9da380cf96 feat(Spellchecking): Update Spellchecker
Closes: #3443
2021-09-15 14:32:05 -04:00
B.Melnik
0071238cdc feat(Spellchecker): Add spellchecker class 2021-09-15 14:32:05 -04:00
Andrei Smirnov
96d1ad594a Passing custom events over single instance IPC 2021-09-15 14:24:42 -04:00
Andrei Smirnov
8e5de9d401 Fixing SingleInstance for *nix 2021-09-15 14:24:42 -04:00
Andrei Smirnov
44ef468f01 fix(@desktop/chat): proper font style for code blocks 2021-09-07 14:26:21 -04:00
Sale Djenic
5ff11d3eb3 fix(@desktop/general): (windows) clicking push notification does expand the app but does not open correct channel/chat
Windows notifications added in a native way.
This change is required as part of the fix for ticket 2996.

Fixes: #2996
2021-09-06 15:09:04 -04:00
Sale Djenic
cafe9c6742 fix(@desktop/general): (macos) clicking push notification does expand the app but does not open correct channel/chat
MacOS notifications handled in a native way.
This change is required as part of the fix for ticket 2996.

Fixes: #2996
2021-09-06 15:09:04 -04:00
Sale Djenic
78319b9e58 chore(@desktop/general): CMake include files optimization 2021-09-06 15:09:04 -04:00
Andrei Smirnov
caafbf9430 Added UI scale factor logic. 2021-09-02 15:50:27 -04:00
Khushboo Mehta
c18777749a feat: Adding API's for copying/downloading an image 2021-08-19 10:02:53 -04:00
Alexandra Betouni
37254b04de fix(desktop/chatinput) Adding custom syntax highligher for text formatting in chat input
Closes #39
2021-08-17 12:17:32 -04:00
Sale Djenic
11adba2283 fix(@desktop/general): Changing System Appearance on the fly is not working
This is corresponding dotherside part of the issue 1725.

So far we had kind of a memory leak, cause objects added to the filter were not
deleted ever. When the app is closing, it just removes filters, but doesn't
delete them.

I faced a logical issue, that we were sending qmlengine pointer to the
installEventFilter method, instead object which may or may not rely on the
qqmlengine instance, that is fixed also.

Fixes: #1725
2021-08-16 15:54:02 -04:00
Andrei Smirnov
209ceb8826 Introduced SingleInstance class 2021-08-05 15:47:18 -04:00
Andrei Smirnov
adfdae4971 feat: single instance check for StatusWindow 2021-08-05 15:47:18 -04:00
Richard Ramos
2bffa67581 feat: add parameter to make the translation dynamic or not 2021-08-05 15:07:19 -04:00
B.Melnik
a838753904 fix: show status window in center 2021-07-23 13:20:02 -04:00
Andrei Smirnov
9cea54c029 Removed cmdline args passing to Qt 2021-07-23 13:18:46 -04:00
Andrei Smirnov
b9d7250e80 Passing argc, argv to QGuiApplication 2021-07-23 13:18:46 -04:00
Andrei Smirnov
3c75aa052e feat: QGuiApplication supporting icon() and installEventFilter() methods 2021-07-23 13:18:46 -04:00
B.Melnik
eaa394d711 feat: Add cutsom window without titlebar for osx 2021-06-01 09:42:29 -04:00
Michael Bradley, Jr
3c5eeedb6e fix: ..types.h -> ..Types.h
Some OS filesystems are case-sensitive.
2021-05-27 17:29:44 -05:00
B.Melnik
7c65031ec4 fix: move dock clicker too other files 2021-05-21 07:06:57 -04:00