mprakhov
36dc3e4c53
fix(@desktop/chats): Scroll chat to the bottom or last unread msg when chat is first time opening
2023-02-09 13:54:08 +02:00
Michał Cieślak
940d8cd2c0
chore(general): Move RXValidator to StatusQ
2023-02-09 12:48:11 +01:00
Michał Cieślak
f43c3e2f2b
chore(general): Move StatusSyntaxHighlighter to StatusQ, remove mock from Storybook
2023-02-09 12:48:11 +01:00
Michał Cieślak
8f25b93f96
chore(general): Move QClipboardProxy to StatusQ
2023-02-09 12:48:11 +01:00
Michał Cieślak
ad34694826
chore(general): Deduplicate and move StatusWindow to StatusQ
2023-02-09 12:48:11 +01:00
Michał Cieślak
3a07651dd8
chore(DOtherSide): Use SortFilterProxyModel from StatusQ
...
Previously DOtherSide was an external, standalone library with own
submodule for SortFilterProxyModel. After merging DOtherSide directly
to status-desktop it should be treated as a build tool or part of build
configuration. Instead of owning c++ files by itselft, DOtherSide should
refer to all needed c++ sources in order to compile them and build
status-desktop properly.
Removing SortFilterProxyModel submodule from original DOtherSide and
changing config after merge to status-desktop was needed to be done
along with merge itself because otherwise there would be a conflict -
both DOtherSide and status-desktop had the same submodule
(SortFilterProxyModel).
Closes : #9410
2023-02-09 12:48:11 +01:00
Michał Cieślak
c0a1cd58ab
Removing SortFilterProxyModel submodule to avoid conflict when merging with status-desktop
2023-02-09 12:48:11 +01:00
Lukáš Tinkl
3a52e5e593
fix: correctly parse the destination folder
...
when saving an image to file
NIM already pre-processes the path for us in `utils.formatImagePath`
2023-02-09 12:48:11 +01:00
Lukáš Tinkl
e9bf6cdbde
fix: download image is saving to wrong folder
...
this seems to only happen on some linux platform QPAs where the native
file/folder dialog is returning bogus target directory URL; anyways
manipulating the URL using a QRegExp is fragile, better use builtin QUrl
methods for that
Needed for fixing https://github.com/status-im/status-desktop/issues/9307
2023-02-09 12:48:11 +01:00
Alex Jbanca
4119528eb2
fix(macosCmake): Prepend .mm files in order to override cpp implementation
2023-02-09 12:48:11 +01:00
Michał Cieślak
0525490619
feat: Add additional utilities for real-time app inspection
...
- context properties names exposed as a model
- checking if object is a model
- exposing human-readable type name
- exposing role names for models
Closes: https://github.com/status-im/status-desktop/issues/8787
2023-02-09 12:48:11 +01:00
Michał Cieślak
ce5561d3be
feat: add basic tools for app real-time monitoring
...
Required by: https://github.com/status-im/status-desktop/issues/8786
2023-02-09 12:48:11 +01:00
Lukáš Tinkl
4977b7aa2c
chore: fix build with Qt 5.14
2023-02-09 12:48:11 +01:00
Lukáš Tinkl
210552b927
fix(StatusSyntaxHighlighter): code block fixes
...
- make the code bg/fg color configurable
- simplify the code, no need for an extra helper class
- fix code(block) regexes
Needed for https://github.com/status-im/status-desktop/issues/8649
2023-02-09 12:48:11 +01:00
mprakhov
dda5e100f6
chore: add QSettings beginGroup and endGroup
2023-02-09 12:48:11 +01:00
Lukáš Tinkl
68096fe9ab
fix(SoundManager): use logarithmic sound volume scale
...
Needed for status-im/status-desktop#8426
2023-02-09 12:48:11 +01:00
Boris Melnik
555192427e
fix(hunspell): Remove hunspell cos we not use it
...
Fixes: https://github.com/status-im/status-desktop/issues/8424
2023-02-09 12:48:11 +01:00
Michał Cieślak
2307356a54
fix: reuse QNetworkAccessManagers and pass cstr to lambda safely
2023-02-09 12:48:11 +01:00
Lukáš Tinkl
a7e82bfec7
fix: stop leaking QNetworkAccessManager and its replies
...
this was a memleak and fd leak bomb resulting in the app not starting at
all:
```
(nim_status_client:342629): GLib-ERROR **: 11:16:11.873: Creating pipes for GWakeup: Too many open files
/home/jakubgs/bin/StatusIm: line 2: 342627 Trace/breakpoint trap (core dumped) appimage-run
~/Downloads/Status/StatusIm-Desktop-221206-082906-5ee51a.AppImage
```
2023-02-09 12:48:11 +01:00
Michal Iskierko
b8fc19d38f
chore(@desktop): Expose QTimer functions
...
Issue #6179
2023-02-09 12:48:11 +01:00
Pascal Precht
b1823f12e5
refactor: default clipboard image base64 to JPG instead of PNG
...
Hardcoding this is already far from ideal. We should at least use the
same type that's later used in desktop before sending images to
status-go, **before** this gets fixed properly.
The next step will be to detect codecs and use them them dynamically.
2023-02-09 12:48:11 +01:00
Lukáš Tinkl
f8767e0c5d
fix(QClipboardProxy): return imageBase64 as a QString
...
for better interop with NIM/status-go
2023-02-09 12:48:11 +01:00
Pascal Precht
be3baf4bca
QClipboardProxy: add support for images, html and urls
2023-02-09 12:48:11 +01:00
Patryk Osmaczko
496cdd0645
fix: use QClipboard properly in QClipboardProxy
...
- constructor with connection was never called
- `textChanged` was never emitted
- `clipboard` member was uninitialized
2023-02-09 12:48:11 +01:00
Jonathan Rainville
23c13fd738
chore: hook into QT logs with qInstallMessageHandler
...
Fixes #8296
This makes the QML logs finally show on Windows
2023-02-09 12:48:11 +01:00
Lukáš Tinkl
39cce22001
feat: add RXValidator
...
a QRegularExpression validator with Unicode support
Needed for status-im/status-desktop#8115
2023-02-09 12:48:11 +01:00
Lukáš Tinkl
c96e2601d0
feat: implement OS notifications on Linux
...
using "notify-send" wrapper
Related: status-im/status-desktop#2520
2023-02-09 12:48:11 +01:00
Lukáš Tinkl
ec90b2107d
fix: abort startup on QML errors
...
exit() the app immediately after encountering QML errors on startup
task: status-im/status-desktop#7013
2023-02-09 12:48:11 +01:00
Patryk Osmaczko
eac67137c0
feat: add qml debugging
...
task: status-im/status-desktop#6973
2023-02-09 12:48:11 +01:00
Patryk Osmaczko
109e45966b
feat: register SortFilterProxyModel types
...
- it allows to `import SortFilterProxyModel 0.2`
relates: status-im/status-desktop#6510
2023-02-09 12:48:11 +01:00
Patryk Osmaczko
e5f0387ef6
chore(git): add vendor/SortFilterProxyModel
...
relates: status-im/status-desktop#6510
2023-02-09 12:48:11 +01:00
Alexandra Betouni
63b6e8c885
fix(StatusSyntaxHighlighter): Updated regex and text formatting
...
Closes https://github.com/status-im/status-desktop/issues/6030
2023-02-09 12:48:11 +01:00
Michal Iskierko
e666ccf1ad
feature(desktop/general): Showing number of all notifications on tray icon badge
...
Functionality added to OSNotification.
MacOS version.
Issue #4922
2023-02-09 12:48:11 +01:00
Sale Djenic
3487862d27
feat: url scheme event added
2023-02-09 12:48:11 +01:00
Sale Djenic
fd4971b91d
feat: get text from the clipboard
2023-02-09 12:48:11 +01:00
Khushboo Mehta
b84216490c
feat: add support for download and copy image by url
2023-02-09 12:48:11 +01:00
Alexandra Betouni
1008ea78b0
fix(chatinput/mentions) added clipboard proxy to prevent paste text missbehavior
2023-02-09 12:48:11 +01:00
Richard Ramos
18b87996eb
fix: add system certificates
2023-02-09 12:48:11 +01:00
Richard Ramos
3c0761196d
feat: dos_add_self_signed_certificate
2023-02-09 12:48:11 +01:00
Sale Djenic
84de33af4b
feat: function to check if the app is active and make the app active are added
2023-02-09 12:48:11 +01:00
Sale Djenic
3d08d2536e
feat: sound manager added
2023-02-09 12:48:11 +01:00
Sale Djenic
36167739e9
chore: registering types is done after `QGuiApplication` instantiation
2023-02-09 12:48:11 +01:00
Iuri Matias
e2eaca42f8
fix rebase slipup
2023-02-09 12:48:11 +01:00
Andrei Smirnov
a22f60222f
QGuiApplication to not mess with QCoreApplication and QApplication
2023-02-09 12:48:11 +01:00
Sale Djenic
5dc926f665
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
2023-02-09 12:48:11 +01:00
Sale Djenic
4d10692572
feat(@desktop/general): QSettings class exposed to nim
2023-02-09 12:48:11 +01:00
Sale Djenic
ca536cf714
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.
2023-02-09 12:48:11 +01:00
Andrei Smirnov
15b44e7b8f
fix(@desktop/systemtrayicon): using proper QApplication class
2023-02-09 12:48:11 +01:00
Michael Bradley, Jr
e7ba842662
feat: expose from local file
...
And revise some naming re: "to local file".
2023-02-09 12:48:11 +01:00
Anthony Laibe
79681fccdb
feat: expose to local file
2023-02-09 12:48:11 +01:00