2570 Commits

Author SHA1 Message Date
Jonathan Rainville
32b0e185db
feat: add channel list context menu 2020-08-06 15:49:54 +02:00
emizzle
9374be5857
feat: Send transaction component -- Account selector
Fixes #670.

Component spec based on https://www.notion.so/emizzle/Wallet-transaction-components-2003b78a8d0d41c4ab3d21eb2496fb20.

Changes the current Select shared component to a model databound component. This means we can bind directly to `QAbstractListModel`'s coming from Nim instead of needing manipulating the data in to javascript objects. The changes to the Select component will be used for the upcoming Asset selector shared component.
2020-08-05 16:38:49 +10:00
Richard Ramos
cb92c1dc14
fix: incorrect mentions behavior when text contains emojies 2020-08-04 10:19:42 -04:00
Richard Ramos
459de8cd1c
fix: display emojis on input textarea 2020-08-04 10:14:57 -04:00
Richard Ramos
d066b59f81
feat: load transaction history async 2020-07-31 11:48:41 -04:00
Richard Ramos
5ab1088f7c
feat: play audio messages 2020-07-30 13:49:50 -04:00
Richard Ramos
484c647f39
fix: get collectibles failure when using testnet 2020-07-30 12:24:01 -04:00
Richard Ramos
6e62df9109
feat: Load collectibles async 2020-07-29 17:43:10 -04:00
Richard Ramos
087bd1d20d
fix: generate wallet addresses 2020-07-29 17:29:24 -04:00
Jonathan Rainville
edda9dba6e
fix: fix Windows not showing username because of missing cstring
(cherry picked from commit 52ab82f667ae5f003ab8da964f364e6aae3cebdc)
2020-07-29 16:41:52 -04:00
Richard Ramos
b4a70d6aa4
fix: create copy of signal data 2020-07-29 16:13:33 -04:00
Richard Ramos
7fd1f9c468 fix: send emoji contentType 2020-07-28 15:35:06 -05:00
Richard Ramos
e91cd9e610 fix: validate mnemonic format when importing a existing key 2020-07-28 22:22:50 +02:00
Richard Ramos
b3fcd394de fix: show disconnected/connected banner on load 2020-07-24 11:42:58 -04:00
Richard Ramos
83d2e274ff fix: show disconnected/connected banner on load 2020-07-24 11:04:47 -04:00
Pascal Precht
e18188514a feat(profile): implement contact management
This introduces the ability to:

- list search existing contacts
- block contacts
- unblock contacts
- list blocked contacts
- remove contacts
- search and add contacts

Closes #608
2020-07-24 09:37:32 -04:00
Jonathan Rainville
9604faff08 feat: add New messages box in chat when scrolling up 2020-07-23 17:01:04 -04:00
Jonathan Rainville
c73da6accf fix: fix chat list scrolling down when user was looking up the chats 2020-07-23 17:00:41 -04:00
Richard Ramos
90236e89e9 fix: set initial disconnected status 2020-07-23 15:59:55 -04:00
Jonathan Rainville
145519719b fix: fix MyProfile not having the right data 2020-07-23 15:59:18 -04:00
Richard Ramos
e8d08e08cc fix: mark messages as read only if there are unviewed messages 2020-07-23 15:55:26 -04:00
Richard Ramos
9151cbe849 fix: avoid moving the channel to top when switching a channel or marking it as read 2020-07-23 15:55:26 -04:00
Richard Ramos
4b558c8c72 feat: show unread messages badge 2020-07-23 15:55:26 -04:00
Jonathan Rainville
e176443ceb fix: fix chat not scrolling to bottom on load 2020-07-23 15:44:59 -04:00
Richard Ramos
7ca512661b fix: load messages on scroll up, scroll down when sending messages and hide sending status for expired messages 2020-07-22 15:58:31 -04:00
emizzle
d4d532691e feat: get current network details
Adds settings API for getting current network details.

Uses the current network details to display the correct etherscan link in QML (etherscan URL is a setting in the current network settings).
2020-07-21 15:12:48 -04:00
Michael Bradley, Jr
e334e80774 fix: add missing comma in src/app/chat/views/message_list.nim 2020-07-21 14:38:33 -04:00
Richard Ramos
6829a24986 fix: create images in a tmp dir 2020-07-21 14:26:20 -04:00
Richard Ramos
7115a1bed6 feat: resize images and remove EXIF data - UNSAFE 2020-07-21 14:26:20 -04:00
Richard Ramos
a32a156651 feat: send images - UNSAFE -
Sends images but does not clean metadata nor limits file size
2020-07-21 14:26:20 -04:00
Richard Ramos
1b71e36b48 fix: code review 2020-07-21 14:26:20 -04:00
Richard Ramos
60e9846902 feat: display messages with an image contenttype 2020-07-21 14:26:20 -04:00
Richard Ramos
a31610742c fix: code review 2020-07-21 13:15:22 -04:00
Richard Ramos
5351fb62dc feat: display messages with an image contenttype 2020-07-21 13:15:22 -04:00
Jonathan Rainville
a9cddde37e fix: fix text selection by putting mouseArea under text
And put link click handling by the TextField itself
2020-07-21 12:00:24 -04:00
Richard Ramos
8dc7f1dd62 fix: log invalid signals received 2020-07-21 11:12:28 -04:00
Jonathan Rainville
9612f890b4 chore: clean up translation function 2020-07-21 11:09:00 -04:00
Jonathan Rainville
489ad7052f feat: add changeTranslation function 2020-07-21 11:09:00 -04:00
Richard Ramos
9c9abe8ef9 fix: add and handle RpcExceptions for wallet functions that would not allow login when offline 2020-07-21 10:47:10 -04:00
Richard Ramos
0278379495 fix: allow resending older expired messages 2020-07-21 10:19:12 -04:00
Richard Ramos
f9335c0969 feat: retry sending messages 2020-07-21 10:19:12 -04:00
Michael Bradley, Jr
29e74b6b3f build: implement packaging steps for the Windows build
Implement a `pkg-windows` target that ultimately results in `Status.zip` being
written to `pkg/`.

Note: this commit does not introduce code signing for the Windows build since
that piece is still a work in progress.

`pkg-windows` creates a portable folder in `tmp/windows/dist` with the help of
[`windeployqt`][windeployqt], which copies the needed portions of Qt into the
folder.

Since DLL resolution is relatively inflexible, a launcher `Status.exe` is
created at the top-level of the folder; the launcher opens `bin/Status.exe`
while adding the portable folder's `bin/` to the `PATH`, allowing
`bin/Status.exe` to resolve the DLLs in that folder.

A few additional tools need to be installed (e.g. with [scoop][scoop]) and
availble in `PATH`:
* 7-zip
* dos2unix (provides unix2dos)
* findutils
* go
* rcedit
* wget

The above list builds on the tools list in PR #521, and the other requirements
and instructions in that PR's description still apply.

**Why not build an installer?**

When starting work on packaging for the Windows build, my initial plan was to
build an installer, and for that purpose I researched the [WiX Toolset][wix],
the [Qt Installer Framework][qtif], and some other options.

I found that building an installer is a bit complex. I then recalled, from
personal experience, that [Cmder][cmder]'s [Mini download][mini] is
installer-less. You simply unzip the download and place the `cmder_mini` folder
wherever you prefer. Such an approach was also recommended to me in one of the
Nim language's community chats.

In addition to being simpler, the installer-less approach also gives
installation of Status Desktop a lower profile than an installer-application
would since nothing is written to the Windows registry, added to the *Add or
remove programs* list, etc. I think that's a benefit given the privacy-security
focus of Status, but others may feel differently so please provide feedback on
this point!

[windeployqt]: https://doc.qt.io/qt-5/windows-deployment.html
[scoop]: https://scoop.sh/
[wix]: https://wixtoolset.org/
[qtif]: https://doc.qt.io/qtinstallerframework/index.html
[cmder]: https://cmder.net/
[mini]: https://github.com/cmderdev/cmder/releases/download/v1.3.15/cmder_mini.zip
2020-07-17 13:57:32 -05:00
Richard Ramos
449b8c0454 fix: open first chat on load 2020-07-17 13:23:18 -04:00
Richard Ramos
4fae0eb100 fix: capture RpcExceptions generated by stickers that would not allow login 2020-07-17 13:22:48 -04:00
Richard Ramos
74a38c671d feat: use nim-status instead of libstatus 2020-07-17 12:59:20 -04:00
Pascal Precht
1e39cf4821 feat(chat): implement mention auto complete
Closes #515
2020-07-17 12:31:20 -04:00
Richard Ramos
fd88fd19d0 feat: display connected/disconnected status in the chat module 2020-07-16 11:38:00 -04:00
Richard Ramos
0af1c0c2f5 feat: enable opengl before creating qt app 2020-07-16 11:22:32 -04:00
emizzle
15a860b2bb feat: Enable switching to testnet
Allow switching to Ropsten by flipping a toggle switch in Profile > Advanced settings.

When switching networks, note that installed stickers will be uninstalled, and recent stickers will be removed. Sticker packs can be reinstalled after login. Purchased sticker packs will not need to be re-purchased, but will need to be re-installed.

Mailserver fleet information will **not** be updated. This can be controlled by a separate (undeveloped yet) setting.
2020-07-16 10:59:31 -04:00
Iuri Matias
0aed036fa1 Update src/app/chat/view.nim
Co-authored-by: Eric Mastro <eric.mastro@gmail.com>
2020-07-16 10:55:42 -04:00