Commit Graph

931 Commits

Author SHA1 Message Date
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
Goran Jovic 2423d7c244
bug #4963 - removed balance from asset suggestion box to prevent text overlap
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-02 16:53:29 +02:00
Andrea Maria Piana 6359b3a834
Dont use denormalized name anymore
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-29 22:34:58 +02:00
janherich 03472b6a8e
Remove old code which is not used anymore 2018-06-28 17:00:56 +02:00
Andrea Maria Piana a7fc05fcd3
Add support for browse dapps
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-28 14:18:07 +02:00
Andrea Maria Piana b17d9bab37
Add universal links for android
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-27 22:45:57 +02:00
Goran Jovic 3030c10c5f
bug #4890 - reverts the quickfix for vertical alignment of chat command param placeholder
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-21 16:45:09 +02:00
Igor Mandrigin 424d7cc6ae
Revert "Input text styling" (6a9c8de0e4).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-21 11:47:37 +02:00
Roman Volosovskyi 6028cca377
[#4821] send /send command before after sending transaction (befor pressing "Got it") 2018-06-20 19:05:41 +03:00
Goran Jovic 32bbf4e533
feature #3233 #4095 and #3234 - send and request tokens in chat and wallet 2018-06-20 19:04:55 +03:00
Dmitry Novotochinov 00c5c630f4
Prevent send button spamming in public chats 2018-06-19 11:35:02 +03:00
Eric Dvorsak 8848b37433
[fix 4417] update toolbar style 2018-06-15 18:29:08 +03:00
pacamara 71867a9674
Fixes #4309: Do not allow empty command to be sent 2018-06-15 18:27:46 +03:00
Dmitry Novotochinov 750b95afd6
Update chat messages styles
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-15 15:08:14 +02:00
janherich be113ab8a4
Unit tests for mark seen functionality 2018-06-15 13:57:59 +02:00
Dmitry Novotochinov 221e6fd2b7
New design for /send and /receive commands
Move markup generation from js side to cljs
Add tx-hash to /send command to display a confirmation
and send user to transaction details screen on icon press

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-06-15 13:56:47 +02:00
Goran Jovic cdf356bb4f
bug #4737 - fixed duplicate payment message on android back button
bug #4736 - amount from the previous transaction in message

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-13 21:49:30 +02:00
janherich c9774dbfe8
Mark seen when loading more 2018-06-13 16:33:57 +03:00
janherich 535ae6b481
Fix messages from multiple chats problem 2018-06-11 18:30:10 +02:00
janherich 0ad15a79d6
Ensure valid timestamp for all messages 2018-06-11 17:44:01 +02:00
janherich 4ba78de407
Faster seen marking
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-11 12:16:42 +02:00
Andrea Maria Piana 6a9c8de0e4
Input text styling
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-11 11:32:59 +02:00
Andrea Maria Piana 00cd7c8578
Dont show add-to-contacts if dapp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-08 15:07:02 +02:00
Andrea Maria Piana fc5cd95b9c
Add border to profile picture & style chat icon
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-07 13:50:35 +02:00
Andrea Maria Piana 19b0cf4052
Text for empty chat
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-06 12:15:50 +02:00
Roman Volosovskyi 2e62e945ff
[#4550] fix delete group chat label 2018-06-06 09:12:20 +03:00
janherich cd5542f648
Persist unseen messages 2018-06-05 15:24:55 +02:00
Dmitry Novotochinov af318822da
Enable long tap on long messages
Allows to copy and share text
2018-06-01 12:09:52 +03:00
Dmitry Novotochinov f8981ab6cb
Update chat messages styling
* Change background color of outgoing messages
* Add more space between public chat messages
2018-06-01 07:18:49 +03:00
Andrey Shovkoplyas 83afbd515a
show onboarding for transaction from chat [#4456] 2018-06-01 07:17:49 +03:00
Eric Dvorsak 68eb36f7b1
[fix] support offline contact request, confirmation and update
- fix a bug in profile where app would was returning directly to profile
screen after photo capture, showing updating to user but not actually saving
and broadcasting it
- adds support for offline contact request, confirmation and updates by
leveraging the :sent and :not-sent signal from status-go. Each chat
in the protocol layer uses a `resend?` field to keep track of the current
state of the contact, between `nil`, `contact-request`,
`contact-request-confirmation` and `contact-update`. There is no case
were it can be more than one case because if `contact-request` or
`contact-request-confirmation` was not sent yet `contact-update` is not
necessary as the latest contact infos will be sent with the request/confirmation

Signed-off-by: Eric Dvorsak <eric@status.im>
2018-05-31 17:43:37 +02:00
janherich e59ffc905d
Protect against duplicate messages
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-30 18:22:52 +02:00
Andrea Maria Piana 92289f452e
Dont open chat on contact request
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 14:59:51 +02:00
janherich 874e88fc38
Fix seen statuses
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-29 14:48:27 +02:00
janherich 5ee356fe4f
Fix console responses
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-29 14:24:55 +03:00
Andrea Maria Piana 9cfb591068
Remove chat / clear history
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-28 16:28:16 +02:00
Dmitry Novotochinov 686d64888d
Add expand/collapse button to long chat messages
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-28 12:07:24 +03:00
Andrey Shovkoplyas 7b8950870f
Webview is still active after unmount [#4353]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-28 12:03:24 +03:00
Goran Jovic 5e33c98008
bug #4123 - fixes incorrect number of decimals for tokens, fixes incorrect network id lookup for token send, fixes token amount formatting where needed 2018-05-25 07:17:01 +03:00
Julien Eluard 09c11e9061
[#4320] Do not inject jQuery in DApps browser
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-24 15:17:06 +02:00
Julien Eluard 25bb59aec6
[#4310] Added headers to DApps list
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:41:27 +02:00
janherich e1da12d8a2
Fast message grouping/sorting
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:38:40 +02:00
Goran Jovic f16bd200e8
feature #3231 and #4012 - unified chat and wallet workflow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-23 15:01:20 +02:00
Roman Volosovskyi dcefb0795d
Activate whisper envelope deduplication (performance).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-22 16:55:20 +02:00
Dmitry Novotochinov 9dc689db67
Handle cross-network /send and /receive commands
If network mismatch:
* Disable on-press action for /receive
* Show warning message with network name command originated from

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-05-22 16:39:12 +03:00
Roman Volosovskyi 579bfe7cf5
remove message appearing animation
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-22 12:32:54 +02:00
Andrey Shovkoplyas 3f3684cddf
removed contacts groups and debug console
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 15:17:51 +03:00
Roman Volosovskyi 9b5058d632
handle multiple incoming messages at once 2018-05-18 14:12:46 +03:00
janherich ae109c6e99
Second stage of realm transactions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-16 11:26:44 +02:00
Andrea Maria Piana c27418cd2f
Remove username from 1-to-1 chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-15 16:38:24 +02:00
Daniel Regeci a57b0e6136
[FIX #3921] Align avatar, name and status in top toolbar to the left (1x1, group and public)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 10:43:41 +02:00
Eric Dvorsak e5aae3fafb
[fix 3346] remove unknown status subtitle from 1-1 chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 10:55:07 +02:00
janherich 62a9f26e30
First stage of realm transactions 2018-05-10 17:21:23 +02:00
Eric Dvorsak cdb95616ac
fix defnstyle usage
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-10 17:19:45 +02:00
Dmitry Novotochinov 428f1d47ee
Request offline message when app returns from background
* Add "connecting" mailserver status
* Send push notification when "envelope.sent" signal received

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-05-09 15:29:27 +03:00
kwingram25 8effc5974f
[FIX #3852] Back button refinements 2018-05-09 12:58:50 +03:00
Roman Volosovskyi 34ae92ac9f
reformat status-im.chat.* namespaces 2018-05-07 17:04:52 +03:00
Andrea Maria Piana 733f2b193f
dont send seen for public messages and remove checkmark 2018-05-04 21:31:54 +02:00
pacamara d430d74781
Fixes #3847: Half of the line is cut in the input field if focus is on the next line [Android] 2018-05-04 21:21:23 +02:00
Roman Volosovskyi e830183011
track sent/received events;
force sent/received ratio tracking;
send mixpanel events when state is changed to online;
2018-05-01 19:25:25 +02:00
Roman Volosovskyi 8cd77653f4
fix cyclic deps related to status-im.transport.message.v1.* namespaces;
move account-update to sparate ns;
fix a few more cyclic deps;
2018-05-01 19:25:24 +02:00
psdp ef0024c5dc
Replace accounts/accounts by account/account in app-db [#3907]
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-01 16:40:36 +02:00
Dmitry Novotochinov 505c546fca
Display correct status for console messages
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-30 18:25:47 +03:00
Andrea Maria Piana 4aaecf792b
Show timestamp inside bubble for text messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-30 13:04:33 +01:00
janherich 3b4d7a6a62
Remove obsolete code 2018-04-30 08:35:09 +02:00
Dmitry Novotochinov a8a03067a1
Add resend and delete message actions
* Set message status based on signal from Go
* Set status as "not-sent" on app start if no signal received

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-04-27 11:03:42 +03:00
Roman Volosovskyi 6b073fe350
move merge-fx to separate ns 2018-04-25 11:33:48 +02:00
Andrea Maria Piana baf211e1f3
Send signed transaction to deleted chats 2018-04-25 08:55:39 +02:00
janherich 1a9aada018
Fix emoji check
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-04-18 14:10:19 +03:00
Stepan Lusnikov d0c471eef2
Use simple-toolbar in console chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-18 11:56:59 +03:00
Stepan Lusnikov ab084068d3
Add emoji content type for messages 2018-04-17 09:01:55 +01:00
Andrea Maria Piana 3c43a622e1
Add timestamps to each message
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-16 16:24:20 +01:00
janherich 69b6fb40b4
Fix deleted chats behavior 2018-04-16 12:44:08 +02:00
janherich a82c087a0f
Refactor subs + fix group chat issues 2018-04-16 10:58:26 +02:00
kwingram25 5297100c53
[FIX #3641] Modify chat input to retain text, parameter box on blur
chat: adds messages-focused chat prop to fine tune command interactions
2018-04-11 19:41:10 +01:00
janherich f406feacc7
Contact refactoring 2018-04-11 14:57:51 +02:00
Andrea Maria Piana 3256d67c2e
Add clock values for public group/chats
I have extended and modified the current algorithm for message ordering
so that it applies for group and public chats alike.

We use Lamport timestamps but we prefix the unix timestamp, which should
maximize the chances of the message being seen on the top of the chat.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-10 12:19:42 +01:00
Andrea Maria Piana f8e73f8538
Add docker integration tests
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-10 09:44:22 +01:00
kwingram25 66bcf6562a
chat, ui: allow non-deletable home items, fix console chat ui 2018-04-09 22:07:15 +01:00
Andrey Shovkoplyas 71ed35b480
hide command button if there are no commands
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-06 16:19:10 +03:00
Eric Dvorsak df17c50612
Add new protocol
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-05 15:40:30 +01:00
Andrey Shovkoplyas 66f90cfdbc
fixed error in photo path
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-05 17:11:10 +03:00
Eric Dvorsak b3ef1ed53a
Clean up last utils/handlers
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 18:58:57 +03:00
Foo Pang e85823056c
[Fix #3479] Add accessibility labels for Chat screens
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 18:57:54 +03:00
Marco Süß 3ba9bdef7b
[ISSUE #3651] change console to look like a dev tool
- rename "Console" to "Status Console"
- hide console dapp badge in home screen
- change icon to something terminal-y
- change empty screen text for console chat

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 18:56:07 +03:00
Goran Jovic c9b9cf74b3
bug #3735 - fixed broken send and request commands in chat (again)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-04-02 16:30:41 +02:00
Goran Jovic 7c93ac58f5
bug #3735 - fixed broken send and request commands in chat
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-03-30 14:16:04 +02:00
Andrea Maria Piana e77504c26f
Revert "Fix message ordering for 1-1 chats"
This reverts commit 7efcdcb150.

We decided to revert this commit as it introduced a couple of issues in
message ordering. In order to release we revert back to the old
behaviour.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-28 17:04:49 +02:00
Julien Eluard 49a53645fb
Make Andy happy again (by fixing debug mode)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-27 17:05:24 +02:00
Andrey Shovkoplyas c1c5854cb1
removed unused npm modules, screens, components
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-26 20:45:43 +03:00
Guenter Kickinger d692ddc7d9
[FIX #3591] always show full link
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-22 17:11:50 +01:00
Julien Eluard f1e41cc7ab
[ISSUE #3537] Added mixpanel support
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-22 10:44:18 +01:00
Andrea Maria Piana e8c954ddc6
Use whisper-id when in profile to navigate to chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-20 17:08:48 +01:00
Foo Pang 9484a01196
[Fix #3588] "There are no messages in this chat yet" is left-aligned instead of centred as in design
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-20 17:02:00 +01:00
alwxndr 2864b6b4c6
Fixes for chat input; animations leftovers removed
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-20 10:14:27 +01:00
Itoh, Masaru 1b86179a81
Replace default keyExtractor with individual key-fns
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-19 19:04:19 +01:00
Andrey Shovkoplyas 946a44d257
implemented profile onboarding
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-19 19:01:15 +03:00
Andrea Maria Piana 9533d158f7
Display contact bar for user not in contacts
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-16 18:47:31 +01:00
Andrea Maria Piana 8bcd635451
Pull username from message or generate when not in contacts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-03-16 12:46:08 +00:00
Goran Jovic 86df18d764
feature #3009 - restyled chat screen
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 16:11:01 +01:00
Foo Pang c3449a3a65
[Fix #3572] regx parse string bug in formatted texts
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 16:09:07 +01:00
Andrea Maria Piana 8c6dde8e06
[ISSUE #3520] Allow adding/chatting with contacts from public chats
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 14:16:48 +01:00
Itoh, Masaru 98a0c2081f
Refactor timestamp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-03-15 11:53:23 +00:00
janherich 7efcdcb150
Fix message ordering for 1-1 chats 2018-03-04 19:26:08 +01:00
Eric Dvorsak 54546204ae
[fix 3424] visually indicated when mailserver or all peers are disconnected
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-03-04 17:43:15 +01:00
Itoh, Masaru 35e8278e8c
Upgrade react native to 0.53.3
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-02 12:21:21 +03:00
Julien Eluard 2dee50e790
[ISSUE #3224] Click on user picture open profile
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-01 15:06:58 +01:00
Andrey Shovkoplyas eb8557dde8
Introduced onboarding sign in
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-01 12:16:03 +03:00
Foo Pang c1900a24ec
[Fix #3252] Remove dependency on react-native-autolink
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 10:57:58 +01:00
Julien Eluard 50ac9125fe
[ISSUE #3386] Improved group chat details action label 2018-02-27 15:34:38 +01:00
alwxndr 80b1edfff6
[#3350]: 2 send commands are shown if chat contains 1 or more request messages
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-26 20:35:49 +01:00
alwxndr 64b248268d
[#3366, #3349]: Fixes for expandable, better animations for parameter boxes
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-26 14:59:39 +01:00
Julien Eluard 8d9675154c
Increased chat icon tapping area
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 16:40:20 +01:00
Rob Culliton 2d6d7d1327
kebab-case re-agent attributes that were formerly camelCased
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 16:39:06 +01:00
Julien Eluard 33f1d8d26b
[ISSUE #3313] Migrated public chat creation flow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 12:22:08 +01:00
Julien Eluard cc6414c204
[ISSUE #3396] Fixed incorrect atom access
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 12:06:52 +01:00
Dmitry Novotochinov d799396851
[refs #3210] remove unnecessary reads from Realm for messages
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 18:24:16 +03:00
Dmitry Novotochinov 8abdd77fb4
[refs #3210] Replace realm reads for chats with app-db reads
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 18:22:35 +03:00
janherich 15f4c90caa
Simplify input handling
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 18:19:58 +03:00
Pedro Pombeiro a4bc752e77
[ISSUE #2287] Push Notifications: Use status-go NotifyUsers
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 11:10:36 +03:00
Eric Dvorsak 3c3c347123
Fix wrong derefs
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-21 02:43:56 +01:00
Ihor Kysylevych 0a17d75ff4
[FIX #3351] chat: fix extra new lines adding in the text input on enter (ios)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-20 22:40:21 +03:00
alwxndr 44b10850ed
fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-20 22:38:31 +03:00
alwxndr 5280f3d9a0
Returning expandable animations back, removing :get-max-container-area-height 2018-02-20 22:38:19 +03:00
Julien Eluard 63b1dbdb76
[ISSUE #3321] Migrated group chat creation flow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-19 20:21:41 +01:00
alwxndr 2aa6c1992f
[#3014]: Updated chat input
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-16 20:58:44 +03:00
Julien Eluard 058e6c5412
ISSUE #3083] Adapted chat menu to latest mockups
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-16 16:04:27 +01:00
janherich 86aea8a623
Effects should be dumb, without any logic 2018-02-14 14:19:34 +01:00
janherich 0b8356a96e
Fetch short preview during sending 2018-02-13 17:11:55 +01:00
Foo Pang eba8df6703
[Fix #2719] App does not fit on iPhone X screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-12 20:57:07 +03:00
alwxndr ce524507da
[#3006]: No more search features
Signed-off-by: alwxndr <alwxndr@gmail.com>
2018-02-12 11:42:48 +01:00
Julien Eluard 748b0fcf09
[ISSUE #2883] Migrate wallet/request to latest mockups
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 16:22:33 +01:00
janherich c7e34ed122
Use blocking puts 2018-02-07 16:07:29 +01:00
Eric Dvorsak 0b0405d9a5
[fix #3163] remove phone command
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 15:48:53 +01:00
janherich 3c406b24bb
Remove obsolete `:on-send` checking 2018-02-06 16:08:12 +01:00
Andrey Shovkoplyas 2e669ef525
introduced new, new chat, open dapp screens
Signed-off-by: Andy Tudhope <tuddy0525@gmail.com>
2018-02-06 15:18:19 +02:00
Foo Pang cd90e59325
[Fix #2408] Alternative setTimeout for long timers
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:44:42 +08:00
Julien Eluard d958c96d67
[ISSUE #2881] Updated wallet / send transaction to latest design
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:14:42 +08:00
janherich 80fb8dde8b
Read at startup & write through async queues 2018-02-05 12:28:08 +01:00
Eric Dvorsak dc646b2ad3
[fix #3127] fix wrong branch order in conditional statement
Fix bug where user could not go back to account selection after
tapping create new account

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-05 09:20:14 +01:00
Audrius Molis cf83725ef1
Replaced incorrect aget access FIX #3067
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-02 20:27:34 +03:00
Foo Pang ae04dde8ba
[Fix #3076] Separate figwheel from dev lein profile
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-02 17:02:45 +03:00
alwxndr 03e62548a6 [#3007] Removed location command 2018-02-01 22:25:50 +01:00
Alexander Pantyukhov 74f9ea32a3
[fix #1604]: Commands send, request, location are sent several times if quickly tap on send button
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-01 19:16:53 +03:00
Andrey Shovkoplyas 7e78acc0cc
implemented browser , removed browse command 2018-01-30 16:19:59 +03:00
Roman Volosovskyi 1ba7c33868
improve navigation duration 2018-01-30 13:52:38 +02:00
Roman Volosovskyi f65e200fca
integrate rn-snoopy https://github.com/status-im/rn-snoopy
add warnings on suspicious activity in RN bridge communication
2018-01-29 21:45:51 +02:00
Roman Volosovskyi c4151534fb
send correct username in public group chat message and show it 2018-01-26 13:42:51 +02:00
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 e379168452.
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
Eric Dvorsak df83cbb987 update realm version 2017-11-04 11:00:14 +01:00
Julien Eluard e334512a01 Migrated toolbar_new/toolbar to toolbar_new/toolbar2 2017-11-02 22:17:51 +01:00
alwx 20e76c21ee Phone number is not updated in profile and shows 'Not Specified' value if use /phone command (#2256) 2017-11-02 11:43:49 +01:00
alwx 0656a3a093 debug -> status-im.commands.handlers.debug (#2285); restructuring of the namespace 2017-11-02 09:37:01 +01:00
Roman Volosovskyi 18ca23accc remove logging of command's parameters 2017-10-29 17:20:33 +01:00
Roman Volosovskyi 5dd2f899ad remove password from db
fix incorrect :bot field in commands and requests
2017-10-27 18:09:00 +02:00
janherich 429ec89c62 Remove phone asking message 2017-10-24 13:04:10 +02:00
Andrey Shovkoplyas 38db60eabe request from wallet 2017-10-23 14:53:56 +02:00
janherich 0ccfefa6c3 Fix bot subscriptions 2017-10-23 14:06:35 +02:00
Andrey Shovkoplyas 29030db2b6 browse from message bug 2017-10-23 11:55:06 +02:00
Oskar Thorén 0f97f16a38 [BUG #2242]: Quickfix to make phone command reanswerable again 2017-10-20 18:40:12 +02:00
Oskar Thorén eaa63c265e [BUG #2241] Fullscreen webview don't overlap topbar 2017-10-20 13:18:23 +02:00
Roman Volosovskyi 4c4cf7a5e4 fix /request preview
fix duplication of /send command in suggestions
2017-10-20 13:13:51 +02:00