Commit Graph

317 Commits

Author SHA1 Message Date
emizzle 69ba3c4468 feat: add support for purchased sticker packs 2020-07-15 15:53:48 -04:00
emizzle 0a2ea90117 feat: Sticker decoding handles more hash cases
Some content hashes on ropsten did not have a normalised encoding metadata (first 4 bytes). These updates handle those cases correctly.
2020-07-15 15:53:48 -04:00
emizzle ac7deb3af0 feat: Un/install free sticker packs in sticker market
Sticker pack details retreived from contract:
 - pack data decoded from contract response
 - data contains contentHash which, once decoded, contains an IPFS identifier
 - futher pack data in EDN format is downloaded from IPFS
 - the EDN info is decoded in to a StickerPack

List of available packs from contract are obtained separately from list of installed contracts (stored as a setting in Status-go).

Sticker market contains dynamic list of sticker packs. The sticker button shown for each pack has all states defined (in the design) for all UI states (ie bought, free, installed, pending, etc)

Add modal popup showing sticker pack details and list of stickers to be un/installed. Contains a "larger" version of the sticker pack button with many differnt UI states defined.

Uninstallation of a sticker pack removes those sticker pack's stickers from the recent sticker list and persists the list

Simplify the view model by including stickers, instead of setting an "activeStickerPackId" property. This allowed for display of sticker pack stickers to be displayed in the modal popup separately from the sticker packs shown in the market.
2020-07-15 15:53:48 -04:00
Iuri Matias c3e632253a add leading zeros to display correct balance 2020-07-14 17:04:18 -04:00
Iuri Matias 7d7bac5fb6 add notifications support
first attempt

attempt 2

working notifications

add notification sound

cleanup

remove unneeded imports

remove unneded imports
2020-07-14 14:23:40 -04:00
Richard Ramos 19f358ef9c fix: md format 2020-07-14 13:30:40 -04:00
Richard Ramos ceb5873272 show date headers, and fix sending replies only when they are enabled 2020-07-14 13:10:14 -04:00
decanus 10918acb5c adds ens in header 2020-07-14 16:04:57 +02:00
Richard Ramos a342192f43 fix: code review 2020-07-10 20:09:15 -04:00
Richard Ramos 649023bacf feat: support message replies 2020-07-10 20:09:15 -04:00
Michael Bradley, Jr b22b500d4f refactor: store data folder in OS appropriate location
If the environment variable `NIM_STATUS_CLIENT_DEV` is not empty then the
`./data` dir is created/used relative to the current working directory, as was
always the case prior to the changes introduced in this commit.

`NIM_STATUS_CLIENT_DEV` is set to `t` when doing `make run`. To get the
production behavior in development do:

```
$ NIM_STATUS_CLIENT_DEV="" make run
```
or on Windows in a Bash shell:
```
$ NIM_STATUS_CLIENT_DEV="" mingw32-make run
```

Closes #391
2020-07-10 16:15:37 -04:00
Jonathan Rainville 25ac69b37c fix: fix message width by using the plainText 2020-07-10 15:54:48 -04:00
Jonathan Rainville 29b2bbf13e fix: show a channel by default if there is at least one 2020-07-10 15:39:56 -04:00
Jonathan Rainville 3d19e9ed74 feat: add profile popup for the empty chat view 2020-07-10 15:39:56 -04:00
decanus 2221f1c8e3 fiox 2020-07-09 18:22:00 +02:00
decanus d45e78b3e0 fixed 2020-07-09 18:22:00 +02:00
Richard Ramos 7b82f52fac fix: show replies and do not trigger an activeChannelChanged event on init 2020-07-09 12:01:32 -04:00
Pascal Precht 17db2f4056 feat(chat): show "@" when logged in user has been mentioned in channel
Closes #516
2020-07-09 11:12:26 -04:00
Richard Ramos abb9a25f53 fix: display mentions in channel list 2020-07-09 10:42:32 -04:00
Richard Ramos c404b239df fix: handle failure when no mailservers are available 2020-07-09 10:39:24 -04:00
Richard Ramos 2183cabad5 fix: remove messages when leaving a channel to avoid duplication when rejoining a chat 2020-07-09 10:36:23 -04:00
Richard Ramos 2bd3932cec fix: only load mailserver messages for active channels 2020-07-09 10:34:58 -04:00
Richard Ramos fb894880bb
fix: undeclared identifier - setDeviceName 2020-07-08 14:01:10 -04:00
Richard Ramos 4ee0d78cb6 feat: using threads for resolving ENS usernames 2020-07-08 13:53:21 -04:00
Richard Ramos 93d420758f feat: device pairing 2020-07-08 13:53:04 -04:00
Richard Ramos 1caad96fde fix: mailserver hang 2020-07-08 13:26:20 -04:00
Pascal Precht 75e3e10f58 feat(chat): open user profile from mentions
Closes #455
2020-07-08 13:12:31 -04:00
Richard Ramos f16ee322e1 fix: code review 2020-07-06 14:17:19 -04:00
Richard Ramos 5ee3c6938f feat: Advertise device 2020-07-06 14:17:19 -04:00
Richard Ramos a4b9eedd5e feat: set device name 2020-07-06 14:17:19 -04:00
Iuri Matias 6ddd95fe5a change default port on client so it can run side by side with other clients 2020-07-06 13:22:01 -04:00
Iuri Matias dc225d50b8 change identifier for status desktop 2020-07-03 10:50:44 -04:00
Jonathan Rainville 0f9a79e214 feat: save and get appearance from the settings 2020-07-03 09:59:14 -04:00
Richard Ramos 5b3f077fa9 feat: bundle resources
- Update linux build to package resources
- Refactor macOS packaging re: resources.rcc
2020-07-03 09:59:00 -04:00
Richard Ramos 64452e71b9 feat: Determine if a message was sent 2020-07-02 11:57:48 -04:00
Jonathan Rainville 81e7dffaa2 feat: make token send and eth send work 2020-07-02 11:41:11 -04:00
Jonathan Rainville 70fdcb85c6 feat: add asset selector in send modal 2020-07-02 11:41:11 -04:00
Richard Ramos f191f7fe8b feat: Support status-tag to join a public channel if mentioned in the message list 2020-07-02 10:33:33 -04:00
Pascal Precht 63d9ee7201 refactor: remove unused imports 2020-07-02 11:04:41 +02:00
Richard Ramos 961139e778 feat: start chats with ENS usernames 2020-06-30 16:21:21 -04:00
Iuri Matias 4fe19e8130 use username or ens name instead of old hardcoded value
use username or ens name instead of old hardcoded value

return false
2020-06-30 14:35:32 -04:00
Iuri Matias 716258156e feat(Chat): display clickable links, sanitize them and XSS protect
Closes #458
2020-06-30 12:30:40 -04:00
Richard Ramos 6d6f67476b fix: double "login" event being emitted by login / onboarding 2020-06-30 12:20:22 -04:00
Pascal Precht 0bb08fc852 feat(ProfilePopup): implement copy-to-clipboard button
Closes #282
2020-06-30 12:13:44 -04:00
emizzle f54d66bf24 fix: order of recent stickers incorrect on app start
Order of recent stickers was being loaded in reverse order.
2020-06-30 11:24:56 -04:00
emizzle 8e6eb65509 feat: cache settings so only retreived when clean 2020-06-30 11:24:56 -04:00
emizzle 88e5f1a46d feat: Add recent stickers to stickers popup 2020-06-30 11:24:56 -04:00
Jonathan Rainville 0bbb72a994 feat: enable changing the values of a select and add account to send 2020-06-29 13:39:22 -04:00
Iuri Matias 7489a2ae00 fix mailserver call which can cause client to hang after login 2020-06-26 13:52:23 -04:00
Iuri Matias 6e9ce3b250 disable browser, wallet, node tabs by default; add warning checkbox to intro screen 2020-06-26 11:37:59 -04:00