791 Commits

Author SHA1 Message Date
Roman Volosovskyi
9791c183a8
fix :command-sending label 2018-09-25 15:45:42 +02:00
yenda
4bd5d986b0
remove merge-fx macro
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:18:44 +02:00
Andrey Shovkoplyas
18b9ba0aac
[#5365] Open chat from browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-24 16:50:25 +02:00
yenda
b71005d2fa
replace all register-event-db by fx and remove trim-v interceptor
Signed-off-by: yenda <eric@status.im>
2018-09-20 13:37:31 +02:00
janherich
8913dee762
Chat refactoring
Move chat views to ui.screens
2018-09-20 13:27:43 +02:00
Roman Volosovskyi
6438a1387b
[#4866] intagrate react-navigation 2018-09-18 14:21:32 +03:00
lokalise-bot
7c7717d101
Lokalise: update of translations/en.json
[#5829] chat commands translations
2018-09-17 12:34:29 +03:00
Chad
40c23cc166
fix zero plural localisation issue
fix zero case for :t/members-active key
2018-09-17 09:02:58 +03:00
Vitaliy Vlasov
ca2e7795d3
Merge pull request #5318 from status-im/fix/system-warnings-notifications
Add system warnings, delivery notifications, general unread messages
2018-09-13 17:33:06 +03:00
janherich
988a1ca2e2
Prices handling in commands impl 2018-09-12 17:39:02 +02:00
Vitaliy Vlasov
7bde1ef1f9
Disable 'Tap for options' on Desktop 2018-09-12 16:20:33 +03:00
Vitaliy Vlasov
3e43d85215
Fix message delivery status alignment on desktop 2018-09-12 16:18:53 +03:00
Eric Dvorsak
8dc9af8917
refactoring of events into status-im.events
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-11 15:09:54 +02:00
Dmitry Novotochinov
eb4f34da22
[fix #5063] calculate fiat amount on recipient side
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-07 18:01:47 +03:00
janherich
252d09ee05
Fix the bug and remove requests 2018-09-06 18:24:17 +03:00
janherich
9ad29bfc56
Enhanced receive params 2018-09-06 14:51:18 +02:00
Dmitry Novotochinov
19590c8e54
[fix #5303] Improve amount validation for /send and /request commands
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-04 12:53:49 +03:00
janherich
bf068f7909
View & preview implemented
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-09-03 13:45:56 +02:00
Goran Jovic
c35a651f15
bug #5542 - fixed errors when no currency selected - using usd as default throughout the app
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-03 11:48:48 +03:00
Julien Eluard
ae976e205f
Added extensions loading panel
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-31 16:41:58 +02:00
Eric Dvorsak
728831c9c2
remove unused flags
reorganize config flags
remove offline-inbox-enabled? flag
remove universal-links-enabled flag
remove add-custom-mailservers-enabled? flag
remove spam-button-detection-enabled? flag
remove flags from config files

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-29 16:30:05 +02:00
Eric Dvorsak
dacfe97a58
refactor events and fns to dedicated namespaces
- move init events and fns to dedicated namespace
- move web3 events and fns to dedicated namespaces
- move signal events and fns to dedicated namespace
- move notifications events and fns to dedicated namespace
- cosmetic fixes
- remove print statements
- fix formating
- remove unused imports
2018-08-28 14:44:55 +02:00
Eric Dvorsak
002f3e73d1
refactor :initialize-account into single event
fix tests for :initialize-account refactoring
fix destructuring typo
2018-08-28 14:44:55 +02:00
Andrey Shovkoplyas
a0e7dc65c4
moved wallet transactions ns
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-21 17:35:13 +03:00
Vitaliy Vlasov
1186b73be8
Set current-chat-id to nil once chat is deleted (desktop only) 2018-08-20 13:42:08 +03:00
Dmitry Novotochinov
4c16abcfa6
[#5440] Add dismiss button to "Add to contacts" badge
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-13 11:47:56 +03:00
Dmitry Novotochinov
a4541c8af3
[#3352] Improve new message notifications
* Set custom sound
* Tap on notification opens chat
* Show message notifications when app in foreground

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-10 13:48:37 +03:00
yevh-berdnyk
746d580e34
Wallet modal tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-02 20:54:52 +02:00
Andrey Shovkoplyas
9a02bca975
experiment modal wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-26 16:38:10 +03:00
deme
4757b06dfb
[#5031] Remove additional # to chat title when it is a public chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-25 12:20:48 +03:00
janherich
76a509ed22
Cljs commands 2018-07-23 12:23:10 +02:00
Dmitry Novotochinov
2d6fdc0ecc
[#5138 #4851 #4865] automatic periodic tx state updates
Fetch transactions state from etherscan every 15 seconds
if there are any unconfirmed transactions

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-20 12:14:21 +03:00
Dmitry Novotochinov
edc7ab480f
[#5023] Subscribe to window dimensions change event
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-16 18:59:10 +03:00
janherich
6a342fd3a0
Full implementation of the /reauest command + tests 2018-07-16 15:10:21 +02:00
janherich
03598d47c2
Complete implementation of the /send command + tests 2018-07-16 08:53:24 +02:00
Cheuk Yin Ng
11bb009787
Introduces label component
Label component located inside `status-im.ui.components.react`
namespace, called i18n-text. It replaces the need for the standard way
of creating labels using both `react/text` and `i18n/label`.

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-13 17:03:55 +02:00
Goran Jovic
e9fcba001a
bug #5155 - fixed the bug where every token is unknown in send command
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-13 10:24:00 +02:00
Dmitry Novotochinov
bf9a291a09
[#4073] Fix parse-url regexp
To not identify string like "test...test..." as an URL

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:50:23 +03:00
Dmitry Novotochinov
867488ae3c
[#4301] Move message timestamp to the left for right-to-left languages
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:39:30 +03:00
Andrea Maria Piana
f36d5d64cc
[Fixes #4944] Enable universal/deep links
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-12 11:33:23 +02:00
Dmitry Novotochinov
44f1ca474b
Use correct chain name if custom network added
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-11 18:14:19 +02:00
Dmitry Novotochinov
30a79c88bb
[#4857] Update transactions when navigate to tx details from /send message
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-11 18:12:24 +02:00
janherich
b6a68e79c7
Cljs commands proposal 2018-07-11 09:43:45 +02:00
janherich
be0143a575
Fix clearing unread counter 2018-07-10 10:05:37 +02:00
janherich
a7a7543c53
Revert to old submit behaviour 2018-07-10 10:00:36 +02:00
janherich
30830fd76d
Remove obsolete input handling
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-09 08:17:49 +02:00
Goran Jovic
21595eede7
bug #4926 and #4806 - showing correct fiat value in /send and /request messages
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-05 15:32:18 +02:00
Andrea Maria Piana
b34744133b
[fixes #4745] Don't query mailserver on restored account
When creating a new account / recovery we don't poll the mailserver anymore for historic messages, which solves the immediate issue of fetching only received messages

Handle messages sent from a different device in public chat / restore history. The message will be added, shown correctly as sent by the user, and the status will be set as sent ( need to check for seen race condition, as messages will now be added twice). This means that multidevice should now work for public chats.

Move contact updates to discovery topic. This is necessary as there is a pre-existing bug whereby contact updates would not work anymore after wallet recovery, as the code relies on the initial contact request being stored on the mailserver, which we cannot guarantee (we only pull 7 days of data). Not pulling history anymore exacerbate the problems but does not introduce it.
To make sure that contact updates will work after wallet recovery, we also need to consider a ContactUpdate in the same way we consider a ContactRequest (the other peer has no idea that the user has recovered the wallet). This does not change any behaviour in terms of obscurity/security as ContactRequest are automatically processed (in both case the contact will be set as pending?, not as accepted)
At this stage ContactRequest, ContactRequestConfirmed, ContactUpdate have all the same logic, i.e. update the contact information, leave the pending flag alone.

Only 1 day of history is fetched for newly joined chats, if catching up 7 days is the cap as before.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-03 17:21:59 +02:00
Goran Jovic
e27d38e5ca
feature #2696 - chat message after wallet send
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-03 12:38:23 +02:00
Dmitry Novotochinov
d724a12d51
Chat messages layout fixes
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-02 16:54:21 +02:00