Commit Graph

538 Commits

Author SHA1 Message Date
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
RichΛrd ed38a4b8e7
Removing unneeded file 2021-06-01 09:41:57 -04:00
RichΛrd f3fd42e2a5
Removing unneeded file 2021-06-01 09:41:51 -04:00
RichΛrd 2e25844623
Removing unneeded file 2021-06-01 09:41:43 -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
Boris Melnik f043f4b6d3
Update README.md 2021-05-19 16:13:34 +03:00
Eric Mastro 4e39640998 feat: add DockClicker event filter
Add an event filter to `qApp` that can detect a dock icon click (in macos) when the main window is hidden or closed.

Co-authored-by: Boris Melnik <82511785+borismelnik@users.noreply.github.com>
2021-05-04 15:44:56 -04:00
Michael Bradley, Jr 25e70373f8 fix: improve defensive cstring copying
Intended to prevent Nim from inopportunely garbage collecting cstrings passed
through signal_handler/dos_signal as they make their way back to the main
thread
2021-04-19 19:19:52 +10:00
Jacek Sieka 81ea295cc2
long long support
to correctly handle `int` vs `cint` in nim
2021-02-09 09:43:01 +01:00
emizzle 7bf0febfda feat: Add QNetworkAccessManager and clearConnectionCache 2021-01-19 13:12:53 +11:00
Richard Ramos 5012620a2f Creating a cache for network requests 2020-12-21 18:27:27 -04:00
Richard Ramos 1d57c85694 Make the scheme and path prefix optional 2020-10-21 08:46:59 -04:00
Richard Ramos 57fe3c34cd feat: get host, and update url 2020-10-21 08:46:59 -04:00
Richard Ramos f268697b25 feat: obtain url from user input 2020-10-21 08:46:59 -04:00
Richard Ramos d663d22df6 Add function to escape html 2020-09-02 15:54:39 -04:00
Richard Ramos 7d8edc6db2
Add function to strip html tags 2020-07-31 17:26:58 -04:00
Richard Ramos b758bf3025 fix: creating a copy of signalstring 2020-07-29 16:11:58 -04:00
Richard Ramos e3baf29683 feat: specify tmp dir for images 2020-07-21 12:00:09 -04:00
Richard Ramos f338b1e8ad feat: resize images 2020-07-21 11:46:59 -04:00
Jonathan Rainville bdd3292573 feat: add translation function on the engine 2020-07-21 10:59:59 -04:00
Richard Ramos 1515197c8a Enable OpenGL 2020-07-16 11:07:04 -04:00
Richard Ramos 552b840409 print connection types 2020-07-16 11:06:24 -04:00
Richard Ramos 301dac6392 feat: create networkconfigurationamanager 2020-07-16 11:06:24 -04:00
Pascal Precht 2aadc3b8f8 feat: add clipboard support 2020-06-30 11:41:32 -04:00