Commit Graph

2593 Commits

Author SHA1 Message Date
Andrea Maria Piana a52f3d4d08
Limit number of participants in group chat to 10 2019-01-08 13:58:38 +01:00
Pedro Pombeiro 9d21cf143e
Add Send Logs command. Closes #6710
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-08 09:48:56 +01:00
Roman Volosovskyi cdf8dc043a
[#7192] fix autologin switch behaviour on wrong password
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-07 17:35:18 +01:00
tbenr 469556a04b
Fixes #6594
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-07 14:33:38 +01:00
Vitaliy Vlasov c8e5fd6a9c
Add desktop keyboard shortcuts
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-01-04 00:30:19 +02:00
Andrey Shovkoplyas fc94abbef0
[#7113] Enable EIP1102 by default 2019-01-03 11:20:33 +01:00
Roman Volosovskyi de5463532b
[#7189] Proper handle of restoring existing account with wrong password
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-28 14:23:02 +01:00
Roman Volosovskyi 15747558fa
[#7179] Fix command message preview in the list of chats
The bug was introduced in #7055.

`message-type` was stored and used instead of `content-type` which
caused incorrect displaying of the last message preview if the one was a
command.
2018-12-27 16:35:45 +02:00
Roman Volosovskyi 768da1a5f0
[slow sign in] Fetch generic password only once
Previously it was fetched each time when any realm db was opened,
but it should happen only once. Saves up to 300ms on sign in.
2018-12-27 12:37:29 +02:00
Roman Volosovskyi e3cc50c7d7
[slow sign in] Adding symkeys and filters in batch
This commit changes the way how keys are restored:
1. batch of `ssh.addSymKey` requests for all sym keys is sent at once
2. `:status-im.transport.core/sym-keys-added` event is dispatched with
   results of all successful `ssh.addSymKey` calls
3. filter is created via `ssh.newMessageFilter`
4. `:shh.callback/filters-added` event is dispatched with all added
   filters as a parameter
5. profit

In ideal case only 2 `re-frame` events are dispatched.
2018-12-27 11:49:50 +02:00
Vitaliy Vlasov 8f7159aff9
Fix connection stats display
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-26 13:37:03 +02:00
Roman Volosovskyi 8e7526e68d
[#7155] Clear last message preview on deleting chat history 2018-12-25 11:07:46 +02:00
Andrea Maria Piana dfdbe1ccbc
Paginate using clock-value & message-id instead of skip/limit
Paginating using the count of loaded messages might result in some
messages being skipped and not being loaded in the database, in case of
out-of-order messages received.

This commit changes the behavior to sort by `clock-value` and
`message-id`, which gives a consistent sorting.

The initial idea was to use a cursor `clock-value-message-id` and
iterate on that, but realm does not support filtering on string (</>),
so instead we keep track of messages with identical clock-value and
exclude those in the next page query.

The change might result in pages that have duplicates (so messages needs
to be deduped), but won't result in skipped messages.
2018-12-24 18:12:50 +01:00
Vitaliy Vlasov fb9c278bd0
Fix logging_enabled param initial loading on Linux
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-24 18:54:11 +02:00
Roman Volosovskyi 8f48dc8df6
Safe deserialization of the last message's content
The issue was fixed in #7085 but reintroduced in #7055.
2018-12-24 18:09:59 +02:00
Dmitry Novotochinov 7fa46065a7
[#7005] add installation progress bar
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-12-24 18:02:38 +03:00
Andrea Maria Piana 5f910a0bec
Sync public chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-24 14:35:17 +01:00
Andrea Maria Piana 87e6c6cdee
Show popup on new device detected 2018-12-24 14:34:00 +01:00
Roman Volosovskyi 9a9cd0d8d0
[slow sign in] Denormalize last-clock-value
In order to get `:last-clock-value` one extra query was executed for
each chat during initialization.

Implementation:
- `:last-clock-value` field was added to `chat` entity
- this field is updated when the message is sent/received
- extra query was removed
2018-12-24 14:18:42 +02:00
Andrey Shovkoplyas 902dc3806c
[#7131] Add titles + favicons in browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-24 12:50:07 +01:00
Julien Eluard 5db9aa9ac7
Reintroduced broken PR #7092 with fix
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-21 14:55:32 +01:00
Vitaliy Vlasov dfbc0eb435
Add desktop msg limit
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-21 15:28:38 +02:00
Igor Mandrigin 794313dbee
Revert "[Fixes #7052 and #7037] Improved extensions ethereum support"
This reverts commit 6a8c9bf14f.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-21 13:50:42 +01:00
Julien Eluard 6a8c9bf14f
[Fixes #7052 and #7037] Improved extensions ethereum support
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-21 13:11:00 +01:00
Vitaliy Vlasov 4b74344f4b
Add desktop chunks hack
R

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-20 21:38:26 +02:00
Roman Volosovskyi dd2ff11216
[#7139] Fix crash on logout
The crash was caused by RPC calls which happened after `StopNode` call.

Implementation:
- The first suggestion was to `StopNode` only after all `.stopWatching`
  calls are done, but this only lowered probability of the crash,
  but did not fix the issue.
- Another suggestion was to prevent RPC calls after `StopNode` call,
  but it also only lowered probability of the crash.
- So the last resort was a fix on `status-go` side
  https://github.com/status-im/status-go/pull/1329,
  and it actually worked.
- Advanced settings are hidden until `Statusgo.Login` is finished
2018-12-20 21:35:09 +02:00
Vitaliy Vlasov b81cb82fc6
Truncate long chat messages
Fix render-recipes and replies rendering

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-20 18:12:01 +02:00
Volodymyr Kozieiev 112fe367cc
Fixed desktop release warning messagebox
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-20 15:51:54 +02:00
Dmitry Novotochinov 962c49e345
add keycard installation
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-12-20 15:43:37 +03:00
Vitaliy Vlasov e40e495e11
Use QSettings in AppConfig
Some more changes

Changes

Fix review items

Rename init-settings to restore-native-settings

Restore application name (thanks @churik !)

Remove org name/domain setting for desktop

Change organization name to include domain

Re-use default values in :desktop/desktop

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-19 19:53:54 +02:00
Roman Volosovskyi e122ebdb84
[#7135] Fix wrong password handling
Leftover after #7032. The node hasn't been started if the user entered a
wrong password, that's why `Statusgo.Verify` call has failed (it works
properly only with running node atm).

Implementation:
- the node is started with "dummy" configs if it's necessary to call
  `Statusgo.Verify` method
- on `Statusgo.Verify` callback node is stopped so that it can be
  started with proper configs on the next sign in attempt.
- signing in is disabled while the node is running

disable sign in while node is running

_

_
2018-12-19 18:17:43 +02:00
Andrey Shovkoplyas b4e2654b74
[#5650] Blank page when accessing .pdf files from Android app browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-19 13:05:12 +01:00
Andrey Shovkoplyas 3098ff024f
updated airswap dapp url
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-19 10:06:00 +01:00
yenda 7934bfb2d7
[#5452][desktop] Add help center in profile menu
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-18 20:09:58 +02:00
Vitaliy Vlasov 9bc98405a0
Add react-native-desktop-config
Add section separator for logging-display

Refactor user-login-callback

Add comment to AppConfig class definition

Fix mobile compilation error

Use reference in AppConfig singleton; remove obsolete CMake directives

Styling changes

Disable status-go logs by default on desktop

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-18 14:31:40 +02:00
Vitaliy Vlasov 51a7c537f8
Fix desktop msg loading and signin
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-18 03:08:51 +02:00
Andrea Maria Piana 8be8f0b5c8
Adjust from value to accomodate for late-comers
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-17 14:57:49 +01:00
Roman Volosovskyi c440b7a3a7
[slow sign in] Denorlmalize last message
The last messages of the chats are necessary to properly show the chat
list, which is shown right after signing in. Before this commit, the
last message was retrieved as one of 20 last messages fetched for each
chat.

Implementation:
- `:last-message-content` and `:last-message-type` fields were added to
  `chat` entity
- both fields are updated when messages are received/sent
- loading of the last 20 messages for each chat was removed as
  initialization step
2018-12-17 13:29:10 +02:00
Roman Volosovskyi 07e8f6908d
[#6952] Fix odd app behavior after quick logout
This commit changes the way how/when the node is started/stopped:
1. `node` is not started on the app startup
2. When the user presses "Sign in" button the node is started
   with user specific configs (`InstallationID`, custom bootnodes, etc),
   and only after that `Login` call is performed.
3. When the user creates a new account, at first the node is started
   with default params (the same as would be used when user signs into
   the app after account creation whithout changing any setting), then
   `CreateAccount` call happens, then `Login`.
4. When the user restores their account, the flow is the same as `3`
   but with `RecoverAccount` instead of `CreateAccount`
5. When the user logs out the node is stopped. That's it.
2018-12-17 13:27:17 +02:00
tbenr 52b7bcd291
fixes #6788
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-17 09:29:28 +01:00
Andrea Maria Piana 54b9ba5a2e
Dont choke on wrongly serialized messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-14 16:59:34 +01:00
Andrea Maria Piana 05b70b0974
Use cursor and update status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-14 13:11:31 +01:00
Andrea Maria Piana 6e5d54b5aa
Fetch history action 2018-12-14 13:10:37 +01:00
Andrey Shovkoplyas 50e0f26864
[#6760] Add DApps for 0.9.33
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-14 10:58:37 +01:00
Andrey Shovkoplyas b80230a95f
[#6688] Update ENS resolving implementation to match what is defined in EIP-1577
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-13 16:21:11 +01:00
Rob Culliton a04952b60c
new json-rpc call for debug_metrics on advanced settings desktop tab;
include verify() bridge for desktop

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-13 16:27:26 +02:00
Andrey Shovkoplyas f56a500f64
[#6997] Remove desktop download nightly release feature
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-13 11:33:11 +01:00
Andrea Maria Piana 13b5c14b78
Remove println statement
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-13 10:16:35 +01:00
Andrea Maria Piana 090b4a1282
Add re-send popup to desktop 2018-12-12 19:56:50 +01:00
Andrea Maria Piana 7921729910
Dont show wallet offline on desktop 2018-12-12 19:56:48 +01:00
Andrea Maria Piana d760f1696c
Add mailservers confirmations & use peer count for online status
We now check that we are only connected to some `peers` instead of using `NetInfo` from `react-native`.

This is because it has been reported to be quite flaky at times, not reporting online status after sleeping, and for privacy concerns (on ios it pings `apple.com`, on desktop `google.com`).

Adds a new banner `Wallet Offline` and change `Connecting to peers` to  `Chat offline`.

A message will be marked as `Sent` only if it made it to the mailserver you are connected to, which will increase the guarantees that we can make about a message (if you see it as sent, it has reached at least a mailserver), this has the consequence that:

- If you are not connected to any mailserver or the mailserver is non responsive/down, and you send a message, it will be marked as `Not sent`, although it might have been actually made it in the network.

Probably this is something that we would like to communicate to the user through UX (i.e. tick if made it to at least a peer, double tick if it made to a mailserver )

Currently I have only enabled this feature in nightlies & devs, I would give it a run and see how we feel about it.
2018-12-12 19:53:01 +01:00
yenda 9110a64dcc
[fix] handle errorMessage in mailserver.request.completed signal
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-12 18:24:55 +01:00
Roman Volosovskyi 4aa562f6a8
[slow sign in] Unlock account's DB before starting node
There is no need to wait for `Statusgo.Login` callback in order to start
unlocking realm db: currently it is encrypted via a key which is derived
from user’s password, so we can try to unlock that DB before starting
node. That’s how password will be checked. Right after that `:home`
screen is shown, the node is started, then `Statusgo.Login` executed.

The difference in sign in duration is more noticeable on Android
devices, where `Statusgo.Login` is much slower because of PFS database
encryption.
2018-12-12 17:46:52 +02:00
Rob Culliton 88d3e78454
change 9+ to actual count of unread messages
unread-messages-count fn, based off Maciej's comment on #6749

adding test, some difficulty running the test suite locally via clj

actually use the new functionality for displaying on desktop

first pass at updated styling for unread count chat icons

styling pass 2: finer attention to detail for the purple/blue icons

a bit more padding bloat to accomodate for the number 1, which occurs
frequently :)

remove counter from "home" icon on desktop

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-12 15:55:13 +02:00
Andrey Shovkoplyas 8374a7d532
fixed extensions installation issues
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-12 13:21:01 +01:00
Zach Zundel 1a46355c61
Add ethereum/poll-logs event, fixes #6855
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-12 12:36:03 +01:00
Julien Eluard 6c3f44438c
Allow input to trigger event after a delay
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-11 16:32:30 +01:00
Igor Mandrigin afc368b1b0
Upgrade status-go to 0.17.6-beta (Constantinople).
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-10 12:59:44 +01:00
Roman Volosovskyi 83a8d9db27
Show schema version details on migrations failure
Simplifies debugging of migration failures, specifically in cases when
more than one migration is applied.
2018-12-10 10:12:27 +02:00
Roman Volosovskyi e20af4d206
Do not update :mailserver/connection-checks` if the user is logged out.
Connection check should be skipped if the user has logged out, otherwise
`app-db` may end up in an invalid state which causes an error and red screen
in dev mode.
2018-12-08 20:56:41 +02:00
Tom Nash c810e0f2c3
Fix arithmetic function in extensions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-08 18:04:16 +01:00
tbenr 5ffeacadbf
fixes #6866
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-08 18:02:46 +01:00
Andrey Shovkoplyas d6d852a9be
[#7002] Add a JS API allowing to install an extension
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-07 13:24:45 +01:00
Andrey Shovkoplyas fb6d632780
kyber ui (image source support and placeholder color)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-07 12:42:05 +01:00
Andrey Shovkoplyas f8978ca0aa
[#6851] Fix loading indicator in browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-06 11:32:19 +01:00
Roman Volosovskyi 4aaaf58e99
[#6956] delete duplicates after iteration over messages/statuses 2018-12-06 11:22:00 +02:00
Roman Volosovskyi c15a57571d
[#6956] fix possible `message` and `user-status` duplicates
There is a tiny chance that without this fix some users which had message
duplicates because of issues with `message-id` calculation **BEFORE** `0.9.31`
still have duplicates in their DB and migrations will not pass without
this change. It only checks if the message with a new `message-id` has been
added and removes duplicate. The same way it removes duplicates from
`user-status` entity.
2018-12-06 10:25:36 +02:00
Roman Volosovskyi 50a70f6e57
[#6956] store :raw-payload-hash in message (upgradable message-ids)
Currently, we calculate `message-id` as `sha3(from + raw_payload)`,
but we do not store `raw_payload` and it might be problematic
to restore it from DB because:
1) `content` field might be changed and so `Message` record
   will differ from the original one
2) it is even more problematic for `GroupMembershipUpdate`
   message because we don't save it in DB

In order to handle this, we can store `sha3(raw_payload)` as `raw-payload-hash`
prop of `message` entity and use it in case of emergency :)

`message-id` will be calculated as `sha3(from + sha3(raw_payload))`
2018-12-05 13:29:01 +02:00
Roman Volosovskyi b6e515618b
[#6956] upgradable `message-id`
Implementation:
1. `transport.utils/message-id` function is called only in three places now
   and accepts `from` and  `raw_payload` as parameters.
   ID is calculated as `sha3(from + raw_payload)`.
2. This means that for wrapped private group chat message
   the raw payload of `GroupMembershipUpdate` is used.
2018-12-05 11:22:43 +02:00
Roman Volosovskyi e7d0312d25
[#6903] fix replies compatibility
Issue was caused by https://github.com/status-im/status-react/pull/6722

Implementation:
1. `old-message-id` field (indexed) was introduced in `message` entity
   and is calculated as `message-id` was calculated in `0.9.31`
```clojure
(defn old-message-id
  [message]
  (sha3 (pr-str message)))
```
2. When a reply message is sent from the PR version of app both `response-to`
   and `response-to-v2` fields are sent as a part of `message`'s `content`
   field, so that it can be recognized by `0.9.31`.
3. When PR version of app receives reply from `0.9.31` we check whether
   message's `content` contains `response-to` but doesn't contain
   `response-to-v2`, and if so we check whether DB contains message with
   `old-message-id=response-to`. If such message has been found we assoc
   `response-to-v2` to content.
4. If message from DB contains only `response-to` but not `response-to-v2`
   attempt to fetch the message by `old-message-id` is done.
2018-12-05 07:22:40 +02:00
Dmitry 17c6b28486
Envelope is marked sent even when it is expired
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-04 17:05:11 +01:00
Vitaliy Vlasov e4ec6a6d19
Message context menu for Copy and Reply functionality
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-04 17:23:49 +02:00
Andrey Shovkoplyas 92e31be50d
[#6931] Introduce selection list component for extensions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-04 16:08:26 +01:00
Maxim Tolochko ba8a620cd7
Add Dragonereum to Status
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-04 13:15:04 +01:00
jeluard c072a65e11
Added Decentraland DApp
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-04 12:04:17 +01:00
Andrea Maria Piana dfbc27c5d7
Allow admin to leave chat
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-04 10:17:50 +01:00
Andrey Shovkoplyas 2a828007fb
[#6957] Wallet shouldn't allows redirect to Home after a transaction completion
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-04 10:10:29 +01:00
Andrea Maria Piana 9adffeb55f
Dont try to show current chat if nil
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-04 08:50:57 +01:00
Andrey Shovkoplyas 22167db7a2
desktop popup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-03 14:54:42 +01:00
Andrey Shovkoplyas 0ead731239
[#6958] Only render command message when relevant
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-03 09:55:35 +01:00
Andrey Shovkoplyas fcd5a16409
fixed styles for generated names on desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-01 11:44:09 +01:00
Vitaliy Vlasov dc4841f041
Add react-native-desktop-menu native module
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-01 02:03:06 +02:00
tbenr 1152ad4afd
fixes #6856
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-30 11:38:04 +01:00
Andrea Maria Piana 5795ca8d1a
Enable group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-30 11:12:34 +01:00
Andrea Maria Piana 9c67aab2c9
Use whole message to calculate message-id
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-30 10:12:25 +01:00
Julien Eluard e3e75e0498
[Fixes #6874] Added transaction-receipt, schedule and balance events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-29 23:09:45 +01:00
Andrey Shovkoplyas 582c2960ec
[#6644] Chat command recipients should be able to install an extension
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-29 16:43:15 +01:00
Rob Culliton 91e5ac3ccd
Connection status info (#6865)
* display mailserver state and peers count under advanced settings on
the desktop profile tab
2018-11-29 10:16:41 -05:00
tbenr 3070e1f8a6
fixes #6789
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-29 15:01:38 +01:00
Andrea Maria Piana 08291a8396
Keep username/photo-path synced across devices
We add syncing of account fields in pairing messages (only photo-path &
name for now). Also a sync message is sent each time we send a
contact-update, to keep other devices in sync. The change is compatible
with previous clients as it's just an accretion of transit.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-29 11:37:14 +01:00
Andrey Shovkoplyas 89f66eab0e
fixed Download latest button for Mac
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-29 10:25:42 +01:00
Vitaliy Vlasov 92d00f4250
Use multiple app instances simultaneously
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-11-28 19:10:12 +02:00
Roman Volosovskyi c506521778
[slow sign in] Better handling of migration failures and db encryption problems.
Migration failures are handled separately from other errors which might appear
during opening account's realm DB. In case if user chooses to erase
the account's database, only this database will be removed and other accounts
will not be touched.
2018-11-28 14:13:30 +02:00
Andrey Shovkoplyas 028ab522b9
[#6867] Add on-send-sync to chat.command extension
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-27 21:23:20 +01:00
Igor Mandrigin 0547bfec0c
Don't show the LES debug label if the network wasn't initialized just yet.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-27 17:32:51 +01:00
Andrea Maria Piana 1e5b686027
Disable send button when no peers are connected.
Previously we were only checking whether `network-status` is equal to
`:offline`, therefore allowing the user to send messages even when no
peers are connected (i.e. the app is displaying Connecting to peers..).

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-27 13:15:57 +01:00
Julien Eluard a20f3ec546
[Fixes #6800] Introduce picker componenet (and expose activity-loading,
list)

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-26 15:04:07 +01:00
Andrey Shovkoplyas ac7c20ac45
[#6802] Expose a query allowing to access supported ERC20 tokens
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-26 12:42:59 +01:00
Frederik Bolding 3c04982616
Fixed an issue with uninstalling non-active extensions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-26 10:51:30 +01:00
tbenr 2d5c4e3892
fixes #6601
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-25 21:02:58 +01:00
yenda 60d85b4a2e
[fix 6841] wrongs subscription in group chat 2018-11-23 18:12:23 +01:00
Roman Volosovskyi 5d5847e4b9
[slow sign in] Add unviewed messages counter to chat entity.
Before we fetched ALL user-statuses with `status=received` (which means that
a message hasn't been seen), iterated them, grouped by chat and then stored
`message-ids` of these `user-statuses` in chat's `:unviewed-messages` key.

This commit introduces :unviewed-messages-count field in chat entity.
That means that there is no need to iterate `user-statuses` in order to count
a total number of unviewed messages, it is always stored along with chat.
In the rest of it, the difference is only that chat's db record should be
updated each time when unviewed messages are seen.
2018-11-23 17:08:48 +02:00
Julien Eluard 6f08a9fe7f
Fixed broken extensions HTTP events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-23 14:00:25 +01:00
Roman Volosovskyi 6ca3933b71
fix user-statuses after migration from #6722 2018-11-23 13:50:52 +02:00
Andrey Shovkoplyas 719b9f199c
[#6642] Allow adding extra key/value pair to chat command
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-23 09:34:05 +01:00
Dmitry 43be2d3614
Add LES nodes back into list of static nodes
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-23 09:12:18 +01:00
Bruce Hauman 880d1da3d1
[#6815] restyle sent-transaction screen
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-23 08:33:54 +01:00
Bruce Hauman f7c9f8631d
[#6786] restyle main wallet screen
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-22 18:26:46 +01:00
Andrey Shovkoplyas 5dd345fe49
[#6643] Allow chat command suggestions to select parameter
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-22 15:57:39 +01:00
Dmitry 7a0fc763a4
Rendezvous should be false if list of nodes is empty
We can disable this validation in status-go. I am not sure why we have it.
But it will take longer.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-22 11:51:20 +01:00
Bruce Hauman a5c5e1831f
better protect transaction history polling from errors
Go blocks parse try catch blocks and turn them into event
dispatches. This captures the original intent of the code to catch
errors and terminate the current async worker execution.

Signed-off-by: yenda <eric@status.im>
2018-11-21 17:25:36 +01:00
Roman Volosovskyi d66198a420
[slow sign in]
fix iterating over all messages from realm db (was done for deduplication)
async loading of chats (:init-chats event)
2018-11-21 18:21:52 +02:00
Julien Eluard 205c9aaecc
[Fixes #6825] Do not open settings as a modal
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-21 16:36:06 +01:00
Jakub Sokołowski 01c8d9b25b
stop using build-* git tags for counting build numbers
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-21 13:43:12 +01:00
yenda 20bd65c0c0
[refactor] differentiate private and public chat and contact subs
- aliased namespace keywords are used for local subs used for caching
- synthetic :chat namespace is used for subs used elsewhere

Signed-off-by: yenda <eric@status.im>
2018-11-21 12:08:51 +01:00
Julien Eluard ee4cafbbe3
[Fixes #6784] Fixed some ABI codec issues
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-21 11:12:19 +01:00
Julien Eluard f78f98ff6f
Renamed hook name
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-21 11:11:03 +01:00
Roman Volosovskyi 1dcc7727f1
[slow sign in] faster :get-referenced-messages 2018-11-21 10:50:45 +02:00
yenda 79c149af7d
[fix] usernames in bold on Linux
Signed-off-by: yenda <eric@status.im>
2018-11-21 08:40:35 +01:00
Roman Volosovskyi b792ab5cf3
[slow sign in] faster get-unviewed-messages 2018-11-21 08:04:33 +02:00
Julien Eluard 605f8d2590
[Fixes #6793] Improved hook name
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-20 18:20:28 +01:00
Julien Eluard 529eabb1f4
[Fixes #6739] Introduced wallet.settings hook
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-20 18:04:25 +01:00
Dmitry 09fba00492
Add rendezvous nodes to configuration
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:25:59 +01:00
Goran Jovic 28c6d46c49
bug #6768 - updating enabled tokens before navigation to wallet
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:22:36 +01:00
Bruce Hauman d5dde69af9
[#6718] restyle wallet onboarding flow
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:21:26 +01:00
Goran Jovic 72e7ae2fff
feature #6509 - validating token config against their contracts; moved token info from compile time list to app-db; fixed any discrepancies in existing info
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:18:08 +01:00
Frederik Bolding 5d549fec12
Changed to popups for installing and uninstalling extensions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-20 15:19:57 +01:00
yenda c48dd4597f
[fix] current chat in bold on Linux
Signed-off-by: yenda <eric@status.im>
2018-11-20 10:40:04 +01:00
Andrey Shovkoplyas 624130e440
[#6736] support multi-extensions store
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-19 22:54:25 +01:00
yenda b119facb2a
[fix] query-chat-contacts subscription params
Signed-off-by: yenda <eric@status.im>
2018-11-19 15:59:44 +01:00
yenda 1ba7feb439
[refactor] move contact.subs and utils.contacts to contact.db
functions defined in subs need to be reusable and testable independently
from re-frame framework. they are moved into db namespace for that purpose

Signed-off-by: yenda <eric@status.im>
2018-11-19 14:30:25 +01:00
yenda 73ccb44663
introduce priority map
- in future PRs we want to reduce the expensive sort operations
on list of messages while keeping the possibility to get a message
by its ID
- priority map allow to keep a map sorted by it's value which
is what we want to do here. we want to keep the messages ordered
by clock-value

Signed-off-by: yenda <eric@status.im>
2018-11-19 12:32:01 +01:00
yenda 77e9aea755
[refactor] move chat.subs fns to chat.db
Signed-off-by: yenda <eric@status.im>
2018-11-19 12:30:58 +01:00
yenda 2ccc8fef0d
[fix] align min input container height with tab menu
Signed-off-by: yenda <eric@status.im>
2018-11-16 22:43:30 +01:00
Oleksii Lymarenko 360ee565f2
recovery view: added accessibility labels for passphrase and password
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-16 14:56:34 +02:00
yenda b41df3b3c2
updating cljs compiler
Signed-off-by: yenda <eric@status.im>
2018-11-16 13:10:31 +01:00
Pedro Pombeiro 9f350765e9
Show chat name, source contact and time in PN body. Part of #6621
- Add higher priority for 1:1 messages

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-16 11:17:24 +01:00
Andy Tudhope 43357e1708
Update links
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-16 10:17:51 +01:00
Bruce Hauman 1716643c46
[#5749] transaction history fixes
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-16 10:03:54 +01:00
Igor Mandrigin 83ef7746d4
Show debug information when LES is selected (in the titlebar).
To simplify testing and debugging, there is a very simple sync indicator
(debug) for LES. This UI is not even close to being production and will
be reworked in the future.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-15 10:34:31 +01:00
Andrey Shovkoplyas 1f2e2728cb
use ens name for granting permissions
Signed-off-by: yenda <eric@status.im>
2018-11-14 16:34:29 +01:00
janherich f5ab49a4a4
Make bold work on desktop again
Signed-off-by: yenda <eric@status.im>
2018-11-14 16:33:19 +01:00
Andrea Maria Piana 1104becfba
Enable syncing of contacts & style pairing section
Everytime a contact request is sent/confirmed a sync message is also
sent to other devices so the contact is kept in sync.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-14 13:21:14 +01:00
Julien Eluard e8d3e39063
Adding SNT voting DApp
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-14 10:55:54 +01:00
tbenr c363c06a17
fixes #5699
gas estimation sets original-gas when nil

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-12 11:04:05 +01:00
Aleksandr Pantiukhov 17f74ff2f6
[#6455]: Updated extension management
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-11-12 10:28:48 +01:00
Martin Schenck 8592b25093
Add ST to assets list
Adds ST token to list of available assets.

- Open Status
- Go to Manage Assets, add ST.
- You'll see that you can now add ST.

status: ready

Fixes #6624

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-12 10:00:30 +01:00
yenda 014d564e72
[fix] error when switching chats
- a subscription name change was missed during rebase

Signed-off-by: yenda <eric@status.im>
2018-11-10 13:41:44 +01:00
Andrey Shovkoplyas 44aef6788f
open chat for ens names
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-09 17:47:35 +01:00
Andrey Shovkoplyas 88b43e7dc2
introduced browser privacy mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-09 13:22:42 +01:00
Julien Eluard 6730a48da4
Added some new DApps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-09 11:54:19 +01:00
Julien Eluard 2f8414b982
[Fixes #6665] Wrap view child elements when needed
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-09 11:34:35 +01:00
Eric Dvorsak 26ec3f8cd7
[refactor] remove unused functions in handlers
Signed-off-by: yenda <eric@status.im>
2018-11-09 11:16:46 +01:00
Eric Dvorsak 548162f733
[refactor] remove current-public-key 2018-11-09 11:16:27 +01:00
Eric Dvorsak f8f499d9b0
[refactor] rename whisper-id and whisper-identity to public-key 2018-11-09 11:16:27 +01:00
Eric Dvorsak a6da75f8e9
[refactor] remove email field in account 2018-11-09 11:16:27 +01:00
Eric Dvorsak 38ec77b97b
[refactor] remove default contacts
transactor and demo-bot are not used anymore and related code can therefore
be deleted
2018-11-09 11:16:26 +01:00
Eric Dvorsak b7b7806ed1
[refactor] remove allowed-keys macro
The initial purpose of the allowed keys macro was to only accept maps
with a defined set of keys so that the maps can be serialized into the db.
The way maps are serialized has been changed so that only the existing keys
in the db are cherry picked so passing maps with extra keys is no longer a
problem
2018-11-09 11:16:26 +01:00
Eric Dvorsak 4804d11b0f
[refactor] remove jail-loaded? and jail-loaded-events 2018-11-09 11:16:23 +01:00
Julien Eluard 009d974d83
Improved extensions error handling. Various fixes.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-09 09:42:23 +01:00
yenda 93db31d867
[6628] don't block message sending when mailserver disconnected
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-08 19:37:13 +03:00
yenda 5594fb6c60
[fix 6508] user own picture should be unclickable in chats
Signed-off-by: yenda <eric@status.im>
2018-11-08 16:02:05 +01:00
Andrey Shovkoplyas e9bf1d7864
[#6169] Display .eth or other domain rather than IPFS redirect
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-08 15:53:38 +01:00
Roman Volosovskyi 7264ae2a14
prevent logging of re-frame events parameters
mask password received from keychain
2018-11-08 12:39:50 +01:00
Dmitry Novotochinov ae3029c2d9
[#6294] add desktop alpha release warning
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-07 22:10:39 +03:00
Andrey Shovkoplyas 36ef541037
fixed CK
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-07 17:14:01 +01:00
yenda a3b2bc1b87
[fix #3913] do not logout when changing mailserver
- do not logout and remove previous mailserver
from peers when changing mailserver
- rename wnode mailserver
- move transport.inbox to mailserver.core
- fix all subs and db keys

Signed-off-by: yenda <eric@status.im>
2018-11-07 17:10:18 +01:00
Aleksandr Pantiukhov 358b447b67
React Native HTTP Bridge 0.6.1 update: ability to handle simultaneous HTTP requests properly
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-11-07 16:24:51 +01:00
Dmitry Novotochinov 737d44931f
[#4433] update mac os dock badge label on new messages
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-07 18:18:35 +03:00
Andrea Maria Piana 693eae9cf9
Send your own messages
Adds a `chat-id` field in `content` map.

The reason it has been added to the map instead of augmenting transit is
that it would simplify the calculation of `message-id`, which in this
case is consistent for both old & new clients.

`chat-id` also represents the `chat-id` with respect of the sender, as
in 1-to-1 chats that is asymmetric.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-06 21:19:50 +01:00
janherich ff97345f07
Plug-in new text parsing engine 2018-11-06 19:59:24 +01:00
Goran Jovic 8d168bf3cd
bug #5899 - restored missing transaction error messages
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-06 17:46:09 +01:00
karol 18b4bf590c
[#2884] added name lookup for recipient after qr code scanning, moved address comparision function to utils.ethereum namespace, address= will now expect address to be passed (instead of contact)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-06 17:44:55 +01:00
Andrey Shovkoplyas e09476f5d3
added Inter UI font and made some cleanup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-06 16:46:58 +01:00
Julien Eluard fceaa0981f
Fixed some extensions issues (smallish)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-06 15:56:37 +01:00
Julien Eluard 747bac2738
Updated Kudos address to reflect latest contract
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-06 15:05:20 +01:00
Andrea Maria Piana 7aa597517e
Add system messages to group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-05 14:54:43 +01:00
Dmitry Novotochinov 7a62b4b48b
[#6415] mark button as inactive when no internet or mailserver connection
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-01 13:32:28 +01:00
Vitaliy Vlasov 66e7815bcc
Force node restart during initialization on desktop
Remove log

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-01 13:29:27 +01:00
Andrey Shovkoplyas f53c4c275e
make designers happy again
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-29 15:07:40 +01:00
Aleksandr Pantiukhov 654950dcaa
GET /networks endpoint for development server
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-28 16:49:12 +01:00
Eric Dvorsak b293fb11e3
[fix] fix ens name resolution
the app was previously letting the user create a chat with a contact
if a name typed in the input returned a valid public key at some point
because the field wasn't cleaned up with latter typing

Signed-off-by: Eric Dvorsak <eric@status.im>
2018-10-28 16:29:13 +01:00
yenda bbf91468e7
[fix] add missing account schema in base schemas
Signed-off-by: Eric Dvorsak <eric@status.im>
2018-10-28 12:07:05 +01:00
Andrea Maria Piana 073dddcee0
Add pairing
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-27 20:43:53 +02:00
Vitaliy Vlasov ca8a3037d8
Use ReactText for links
Add custom rn-desktop repo path

Fix url in package-lock.json

Fix regex

Add comments

Fix errors

More

Remove package-lock change

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-10-26 18:09:45 +02:00
Aleksandr Pantiukhov 0ee07ca72c
Changes in how we update extensions: don't check for URL to be different
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-25 11:09:12 +02:00
Volodymyr Kozieiev 0bc9fb6d9d
Adjusted chat input to send text on on-submit-editing
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-10-25 11:02:39 +03:00
Andrey Shovkoplyas f8ef431373
[extensions] ethereum call decode params
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-25 09:22:29 +02:00
Julien Eluard 3eda5e3bfc
Added extra extensions primitives
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-25 09:03:37 +02:00
yenda a4461089fc
[fix 6501] sort chats by timestamps of last incoming message
Signed-off-by: yenda <eric@status.im>
2018-10-24 18:19:29 +02:00
yenda e020f19da0
[fix 6500] search doesn't find name for contact that added user
- chat name is not updated with contact name
- when a contact adds the user and is added back by user, the name
of the chat is still the random name of the contact
- in active-chats subscriptions, replace the name of the chat by the current
name of the contact
2018-10-24 18:18:50 +02:00
Goran Jovic 3da2cd9b9e
feature #6250 - added xdai and poa sidechains
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-24 10:00:04 +02:00
janherich 76165cc7cb
[#6460] [#6438] Deduplication-ids 2018-10-24 09:43:52 +02:00
yenda 82c3997f07
[desktop] Add search feature for chat list
Signed-off-by: yenda <eric@status.im>
2018-10-23 17:27:27 +02:00
Julien Eluard 56e3aaebe0
Fixed incorrect on-send / on-receive handling
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-23 09:46:16 +02:00
yenda 6b1c6c7d0a
[fix 6410] error when fetching history on certain accounts
- 1-1 chats don't have a topic anymore because they only use the
discovery topic so topic is nil for these chat
- this was causing an error when initializing whisper because the app
was trying to start a filter for each of the chat including the 1-1 with
no topic
- we now filter the transport/chats to only recover sym-key and start filter
for those with a topic
2018-10-22 19:10:34 +02:00
Aleksandr Pantiukhov 5f06ebc27d
Temporary that makes it possible to install only one extension at a time (required for the hackathon)
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-22 15:01:39 +02:00
Dmitry Novotochinov 83a92aa4b0
[#5839] fix logo on welcome screen on desktop
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-19 21:29:16 +03:00
Max Risuhin 5986761210
Push notifications support #4432; Rename app to Status globally.
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-10-19 18:52:04 +03:00
Aleksandr Pantiukhov 2c65077270
[#6382]: Makes extensions dev-mode aware
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-19 16:37:46 +02:00
Julien Eluard c857eb5357
Added disclaimer for extensions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-19 16:35:12 +02:00
Andrey Shovkoplyas 5ba5395d57
[extensions] ethereum events
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-19 15:38:45 +02:00
Aleksandr Pantiukhov d7b4e04efd
[#6402]: "div() not a number: null" error after connecting to Ropsten and opening Wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-19 14:00:29 +02:00
Andrey Shovkoplyas e2533e9964
http kudos token image
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-19 13:58:47 +02:00
Julien Eluard bfccd03ba8
Added Kickback
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-19 11:07:20 +02:00
Aleksandr Pantiukhov ae1a5bd52b
Fixes set-extension-url-from-qr: updates it for the new manage object
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-19 10:36:39 +02:00
Andrea Maria Piana 9629983f7f
Remove instabug 2018-10-19 09:18:22 +03:00
yenda 720a65e3ab
[fix 6009] do not allow public chat named with valid contact key
Signed-off-by: yenda <eric@status.im>
2018-10-18 22:24:24 +02:00
janherich 13eff1fb7e
Fix migrations 2018-10-18 17:31:15 +02:00
Julien Eluard ec69938529
Added new extension primitives
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-18 17:09:20 +02:00
Aleksandr Pantiukhov 76a724a2e7
[#6228]: API: requesting to connect to a node that is not available crashes the application
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-18 16:43:42 +02:00
Dmitry Novotochinov 248e60e1d3
[#5038] desktop deep links
Add support for status-im://chat/public/status type of links

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-18 16:02:14 +03:00
Goran Jovic 24068fe0e9
feature #6239 - showing native currency symbol differently for non-mainnet chains
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-18 11:54:14 +02:00
yenda f98e013cff
fix login after logout when opening app from a notification
moves most of the fx that are suppose to happen only at app startup
to an init/start-app fn so that init/initialize-app which is also
called after logout doesn't repeat unecessary fxs
2018-10-17 17:24:34 +03:00
Julien Eluard c36a0657e6
Added http/get event
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-17 16:08:26 +02:00
Roman Volosovskyi 382640d72c
[#6347] fix profile qr code 2018-10-17 17:04:41 +03:00
Andrea Maria Piana 22c8999eca
Send seen with pubkey
Signed-off-by: yenda <eric@status.im>
2018-10-17 15:25:47 +02:00
Andrey Shovkoplyas 62db799d60
rename kUDOS key to KDO, and fixed tokens list item alignment
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-17 14:15:36 +02:00
Aleksandr Pantiukhov 23503dc996
[#6094]: Persist extensions
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-17 14:08:45 +02:00
Roman Volosovskyi 99162fa971
[#6307] fix each message sent before upgrade is shown twice after upgrade from 0.9.29 2018-10-17 15:00:14 +03:00
janherich 2a292e96e5
Validate even on submit press 2018-10-17 10:56:54 +02:00
janherich acd05e2687
Implementation of text content parsing 2018-10-16 23:13:11 +02:00
Roman Volosovskyi c338896018
[#6330] remove testfairy 2018-10-16 20:46:43 +03:00
yenda 69fe9dc582
[fix 6334] request multiple topics at once
- group requests by last-request to request multiple topic at once
- fix bug where fetching popup was shown when the app was actually in error
state

Signed-off-by: yenda <eric@status.im>
2018-10-16 17:13:47 +02:00
Goran Jovic d823bfd71c
bug #6135 - made place for recovery phrase error tooltip on desktop
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-16 15:37:46 +02:00
Roman Volosovskyi 7bab525202
request only one day history from mailserver 2018-10-16 14:33:51 +03:00
Andrey Shovkoplyas 31fdb39683
[#6149] Add support for KudosTokens
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-16 13:32:11 +02:00
Andrea Maria Piana 09ca7d887c
Log db error
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-16 13:25:07 +02:00
Roman Volosovskyi bac5839dd0
[#6156] fix Share link button in user's profile does not contain profile universal link 2018-10-16 13:07:26 +03:00
Roman Volosovskyi 9d1debbf28
[#6283] fix unknown chat after transaction 2018-10-16 08:11:55 +03:00
yenda d09a2956c3
increase request timeout
- give more time for requests to complete
- change mailserver everytime a request time out

Signed-off-by: yenda <eric@status.im>
2018-10-16 01:16:48 +02:00
yenda 647db6d698
hotfix realm migration
Signed-off-by: yenda <eric@status.im>
2018-10-15 21:53:40 +02:00
yenda 1c99df5343
don't check new version on Linux to prevent network error
Signed-off-by: yenda <eric@status.im>
2018-10-15 18:17:01 +02:00
yenda 547f8b0713
[fix 6322] Invalid prop `fontWeight`
Signed-off-by: yenda <eric@status.im>
2018-10-15 18:09:10 +02:00
lokalise-bot e5d3f3a827
Lokalise: update of es, fa, ko, ms, ne, pl, ru, zh_Hans_CN translations.
Enable Farsi.
2018-10-15 19:06:31 +03:00
yenda 660bd2d1bd
request 7 days of history
- fetch 7 days of history when joining a chat
- make 7 24h requests to request 7 days because mailservers
ignores requests for a timespan > 24h
- make requests sequentially to avoid timeouts
- change mailserver after 3 timeouts on a request

Signed-off-by: yenda <eric@status.im>
2018-10-15 17:18:59 +02:00
Igor Mandrigin 1c4cca1004
Don't start a node while the node is already being started.
Restart it instead, so that we are sure which config is there.

Signed-off-by: yenda <eric@status.im>
2018-10-15 16:43:30 +02:00
janherich b8fa4f5cbd
Hide unknown referenced messages 2018-10-15 17:38:10 +03:00
Julien Eluard 5eeda7aa0b
Fixes #6275
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-15 15:34:47 +02:00
Andrey Shovkoplyas a6de279660
desktop no bubbles
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-15 14:59:22 +02:00
Aleksandr Pantiukhov 4c7339f978
[#6198]: Add QR code scanner support in extensions panel
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-15 12:03:03 +02:00
yenda 1a2fcdfe3a
refactor contact models
- move models.contact and models.contacts to contact.core
- add tags field to contact and chat

Signed-off-by: yenda <eric@status.im>
2018-10-15 11:57:48 +02:00
Andrey Shovkoplyas aaa8530f5a
download latest nightly in desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-15 11:04:17 +02:00
yenda 8ccb4ddfea
fix remove public chat bug
Signed-off-by: yenda <eric@status.im>
2018-10-12 18:35:18 +02:00
yenda 211e39bb5f
support for all .eth username resolution
- resolve all eth usernames
- resolve stateofus.eth without domain

Signed-off-by: yenda <eric@status.im>
2018-10-12 14:45:15 +02:00
Goran Jovic 364b08e3b2
bug #6261 - removed blue dot from outgoing payment messages
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-12 12:34:30 +02:00
Mariano Conti 0838867a6f
Add MKR
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-12 12:33:01 +02:00
Julien Eluard 00ed5bc883
Moved to newer pluto
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-12 10:17:27 +02:00
Max Risuhin 02cb5dc8d4
Apply scroll-view rendering optimization for list of chats
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-10-11 17:16:22 +03:00
yenda efdd76b364
refactor inbox
Signed-off-by: yenda <eric@status.im>
2018-10-11 14:47:04 +02:00