Commit Graph

3999 Commits

Author SHA1 Message Date
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
Oleksii Lymarenko f1b457677c
new test added: user can send/read messages in public chat
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-22 15:28:37 +02:00
Oleksii Lymarenko ad922f4c60
new test added: check currency fiat value is correct
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-22 15:26:12 +02: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 c5d069e8a3
fix naming of download status-go archives to avoid re-downloads
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-21 14:38:27 +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
Oleksii Lymarenko 58dc06267c
fix faq element locator on help view
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-20 17:26:52 +02: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
Pedro Pombeiro a31d10f6dc
Add support for generating Windows install program instead of zip file. Part of #6304
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-20 15:11:24 +01:00
Pedro Pombeiro bf123f308a
Add missing configuration for Windows desktop notifications. Part of #6728 2018-11-20 15:11:01 +01:00
Pedro Pombeiro 5f2958ba9d
Lock down conan.cmake file version to avoid having upstream break our builds 2018-11-20 14:07:34 +01:00
Anton Danchenko 1e241b5a90
removed sign in after the network switch
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-20 14:48:08 +02:00
Pedro Pombeiro f15b41b9d8
Reduce number of days required to consider a PR stale to 14
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-20 11:21:15 +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
Oleksii Lymarenko 9b198e4352
new test added: user can see own assets after account recovering
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-20 09:11:47 +02: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
Oleksii Lymarenko bc44df32cb
new test added: check that system replaces capital letters when typing passphrase
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-19 19:02:00 +02:00
yenda b119facb2a
[fix] query-chat-contacts subscription params
Signed-off-by: yenda <eric@status.im>
2018-11-19 15:59:44 +01:00
Anton Danchenko cf15789e2a
skip tests in order not to false fail in PR
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-19 16:45:03 +02: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
Lukasz Fryc eed610c46e
Allow to measure battery and network consumption on real device 2018-11-19 14:16:10 +01:00
Pedro Pombeiro 50200404ce
Ensure no ubuntu-server process is running at startup. Fixes #6584
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-19 13:26:37 +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