544 Commits

Author SHA1 Message Date
Andrea Maria Piana
334b15961c
Refactor add-contacts & add-pending-contact
We wanted to move towards having multiple functions
manipulating the data rather than relying on a chain of
dispatched events.

I have refactored ui.screens.contacts.events so that now the
functions mainly manipulate fx, passed as a first parameter.

Their responsability is to make sure their fx are merged in, so
that they can be composed more easily.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-24 18:13:52 +01:00
Andrea Maria Piana
3a65dcd3c2
Start chat when user adds a pending contact from the "new contact" view
When a contact is removed it is set to pending?.

If the same contact is added again we now dispatch a :start-chat event
which initiate a 1-1 chat with them.
2018-01-24 18:13:36 +01:00
Roman Volosovskyi
54e83c584d
set useNativeDriver to true in request-button animation 2018-01-19 17:08:04 +02:00
Julien Eluard
07fecc4e28
[BUG #3083] Added extra delete options to current menu 2018-01-18 15:21:47 +01:00
janherich
dff107f669
Add react key metadata to messages list 2018-01-17 21:11:53 +01:00
Dmitry Novotochinov
17e886da11
[experiment #3038] Add buffer to process incoming messages asynchronously 2018-01-17 16:31:02 +01:00
janherich
8396442847
Change messages subscription 2018-01-17 15:57:34 +01:00
Julien Eluard
fc92dafca6 Fixed android build script.
Upgraded to latest dependencies and removed useless plugins.
2018-01-17 14:56:52 +01:00
janherich
24d0b68c1f
Async audit 2018-01-13 01:26:11 +09:00
Oskar Thoren
87dc4ead85
Revert "Async audit"
This reverts commit e379168452328bdc10e98a65b53cf0cce78037fa.
2018-01-13 00:09:41 +09:00
Alexander Pantyukhov
a40f9bc8c1
[fix #1604]: Commands send, request, location are sent several times if quickly tap on send button 2018-01-12 23:12:50 +09:00
Eric Dvorsak
65f2f51632
[fix #2426] prevent sending same command multiple times 2018-01-12 23:11:06 +09:00
janherich
e379168452
Async audit 2018-01-12 12:47:46 +01:00
janherich
2b405d4d6c
Fix chat list rendering 2018-01-12 11:37:00 +01:00
Andrey Shovkoplyas
a3cffebb23 code review, renamed chats-list to home 2018-01-12 12:10:15 +03:00
Andrey Shovkoplyas
d582e6e366 reworked main tabs, removed swiper and drawer npm libs 2018-01-12 12:10:15 +03:00
Dmitry Novotochinov
350fc7aa03
[fix #2870] Mark 1-1 chat as inactive when user removes it 2018-01-11 19:17:19 +03:00
janherich
d98f3846fd
Fix group commands 2018-01-09 17:00:13 +01:00
janherich
201484f37f
Faster msg status updates 2018-01-09 15:00:06 +01:00
janherich
1ec7053aee
Remove status message from messages stream 2018-01-09 12:54:27 +01:00
Oskar Thoren
751998e980
Intercept received messages and queue them
- Exposes behavior under QUEUE_MESSAGE_ENABLED flag that is turned off in
production.

- Delays messages to allow for reordering of latecoming messages up to 500ms
2018-01-05 17:25:27 +09:00
Taylor Dawson
db293e7ad5
Removed NOTIFICATIONS_WIP_ENABLED flag
fixes #2813

status: ready
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-05 15:54:44 +09:00
janherich
52ddccca96
Refactored statuses 2018-01-04 13:49:21 +01:00
Julien Eluard
7c8aa75724 [ISSUE #1840] Migrated to FlatList 2018-01-03 16:20:28 +01:00
m'hammed
01d993c32e
[bug] fix #1379 change "Unknown contact" message to "Anonymous contact"
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-02 20:37:11 +09:00
janherich
77b966c864 Send message refactoring 2017-12-28 15:06:15 +03:00
janherich
1c85797121
Generate :short-preview when msg received 2017-12-25 20:28:27 +01:00
alwx
a813ff9e9f Chat refactoring: updated console (former sign-up) namespace 2017-12-25 22:16:01 +03:00
janherich
f3519b975c
Fix stale subscriptions 2017-12-24 01:46:29 +01:00
Foo Pang
1657f189ba Refactor: replace global platform-specific styles with local styles 2017-12-21 16:11:35 +01:00
janherich
eb8d0a8a79
Refactored message data-model and view 2017-12-19 12:50:36 +01:00
janherich
d9a6a627d3
Avoid compiler warnings 2017-12-15 20:35:55 +01:00
Eric Dvorsak
56c59c741f update react-native and project dependencies
[#bug] fix realm version
2017-12-15 16:06:13 +01:00
Audrius
cdfe134466 [FIX #1393] Line breaks properly when contact is selected for send command (#2601) 2017-12-14 15:04:16 +01:00
Julien Eluard
2256628c97 Added assets icons and allow to filter tokens 2017-12-08 16:36:38 +01:00
janherich
25d3940d49 More efficient subscriptions 2017-12-04 17:52:39 +01:00
Alexander Pantyuhov
3795cd9888 Chat WebView bridge refactoring (#2535) 2017-12-04 13:22:41 +01:00
Julien Eluard
7f2085fb14 Fixed regression when sending transaction
Remove obsolete realm
2017-11-30 11:04:33 +01:00
Julien Eluard
3df4a7f1e4 Added ERC20 listing support 2017-11-29 09:56:01 +01:00
Julien Eluard
0730420017 [BUG #2228] Implemented wallet filtering screen 2017-11-28 09:14:08 +01:00
Eric Dvorsak
9bf5facb63 [bug] fix error when receiving message from unknown contact 2017-11-22 17:45:50 +01:00
Eric Dvorsak
945ccecf64 [feature] log faucet error 2017-11-21 11:39:47 +01:00
janherich
e50d56a4d0 Refactored jail loading + commands/responses 2017-11-21 10:51:15 +01:00
janherich
16fcef909f Fix broken group chats 2017-11-20 14:20:29 +01:00
Julien Eluard
7e6507be7c [ISSUE #2391] Added support for ERC681 2017-11-16 13:07:33 +01:00
Alexander McCormmach
80f9d018f2 chat: hide emoji keyboard when tapping inside chat 2017-11-13 15:22:33 +01:00
Julien Eluard
0d4cbd98e5 [ISSUE #2177] Moved component into ui 2017-11-10 10:49:21 +01:00
janherich
d39357996b Proceed with move from side-effect to functional 2017-11-07 13:35:12 +01:00
janherich
40e006ef00 Fix some typos in develop 2017-11-07 11:53:25 +01:00
janherich
55164b8eac Refactor adding subscriptions + basic tests 2017-11-06 08:14:10 +01:00