76 Commits

Author SHA1 Message Date
Andrey Shovkoplyas
a644075310
No browsing history kept on iOS [#5078]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-12 15:04:31 +03:00
pacamara
5e3f65eac8
Fixes #3639 Persist browser history
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-06 13:23:53 +03: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
Andrea Maria Piana
5a08383bde
Check minimum amount
Use string for inputs

validate gas is not 0

Handle signed/unsigned transactions
2018-06-15 18:32:26 +03:00
Andrea Maria Piana
2d54c3e2cc
Select random ms until users explicitictly choose one
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-14 15:02:15 +02:00
Andrea Maria Piana
34174cd539
Validate rpc-url when creating a custom network
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 13:42:00 +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
608c64e88d
Dont run receive-whisper-messages if the user is logged out
This handles a bug whereby we'd run receive-whisper-messages
when the user is logged out.

I could not replicate locally, but a few issues are apparent from
just inspecting the code:

1) there are some race-conditions on logout as we don't wait for all
the filters to be removed. Changing this behaviour is non trivial and
not sure if we can actually handle this completely
(status-go-has-a-message->remove-filter->logout->status-go-deliver-message).
2) no error handling is made in receive-whisper-messages.

This PR defensively handles both cases.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-07 14:16:35 +02:00
Andrea Maria Piana
75d1c04412
Allow for different password on different mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-04 14:28:43 +02:00
Andrea Maria Piana
49592f3a50
Allow editing/deleting custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 18:28:10 +02:00
Andrea Maria Piana
9058c54933
Allow scanning qr codes for custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 13:57:21 +02:00
Andrea Maria Piana
7ef3a5a5da
Delete mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 11:23:05 +02:00
Andrea Maria Piana
1e4311d4cb
Allow editing existing mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-30 21:42:54 +02:00
alwx
cb72190a18 API commands scopes, changes for API semantics (#1546) 2017-10-16 09:51:52 +02:00
Julien Eluard
6e5e6200ab Upgraded to re-frame 0.9.4
Simplify handlers chaining
Moved to reg-sub usage
Use reg-sub 3-arity to remove subscribe calls
2017-07-11 11:03:28 +03:00
Roman Volosovskyi
3607032a4e hide mailman contact
inject mailman's commands

ensure that mailman's commands are injected after loading
prevent loading of default contacts at account creation
2017-05-03 17:07:56 +03:00
alwx
a15fb7e2a8 New chat input & suggestions area; new handlers to work with the improved logic (#880) 2017-04-13 18:17:56 +03:00
Roman Volosovskyi
9f4fd79586 kibit suggestion (in progress) 2017-01-16 08:25:45 +02:00
Roman Volosovskyi
aad122a724 fix #573 & remove staged-commands 2016-12-27 11:15:30 +02:00
Roman Volosovskyi
80be20666b send command styling 2016-11-18 17:13:38 +02:00
Adrian Tiberius
a0b37c4211 prefill response parameters with request data
Former-commit-id: 648a46029429ce7656d3f2cc3c2e9630862f5a1e
2016-11-14 21:23:13 +02:00
Adrian Tiberius
083ade766e implement new wallet flow 2016-11-08 19:38:59 +02:00
Alexander Pantyuhov
edc5530d0c Various !browse command issues on open (#349)
Former-commit-id: 312a3d994c5cfe235b35397a3b2a8d34ba13cb80
2016-10-18 14:14:18 +03:00
Roman Volosovskyi
90ace73995 Console chat: password request (fixes #286)
Former-commit-id: 9624bd6d0f8c0625346e6ba423274fe764449edf
2016-10-07 15:31:12 +03:00
Adrian Tiberius
2c3eec3c43 added database migration functionality
Former-commit-id: a6f63a5b5f2ec8fbecd07f975694d2fbb94f1137
2016-10-04 18:29:41 +03:00
Roman Volosovskyi
87824f4697 Console chat cosmetic changes. Fixes #281, #284, #285, #287
Former-commit-id: 6effc91d3c496053e41d457c16b828d7f525b5d6
2016-10-04 11:35:32 +03:00
Roman Volosovskyi
3e95b85408 Group chat: stop watching of group's topic & handle new participant (fixes #265 #263)
Former-commit-id: 828010849bf5fcf73d516af30f5f11771a7a783d
2016-09-29 09:28:41 +03:00
Roman Volosovskyi
be66439f53 Fixes delivery status issues:
use :ack-of-message instead of :message-id
check if message was already set to :seen


Former-commit-id: cfc16ee008226ab5d72bf438ac6f7934a272ddb7
2016-09-21 10:28:12 +03:00
Roman Volosovskyi
8b77fa8870 fix delivery bugs
Former-commit-id: 20fda59dd92c1c275b67a42aa39d6d088bfb6214
2016-09-19 12:11:34 +03:00
Roman Volosovskyi
816281bf7f Cleanup after protocol's refactoring
Former-commit-id: b6977dc0b77d89220d8c3f4e38c671841edd87b5
2016-09-18 09:29:35 +03:00
Roman Volosovskyi
3a6f4008f2 protocol rework
Former-commit-id: 27ab637e94d52ee0db07db78001053ef0a7339c7
2016-09-16 19:27:58 +03:00
alwxndr
c489c72635 group chat statuses (#205)
Former-commit-id: ea9ff21174bc31e93fd03bac490168751f8d1526
2016-09-16 14:37:53 +03:00
alwxndr
9a1593f0ef checking pending messages when user appears online (#210)
Former-commit-id: 7f21ab2d3cbf9704e52c91d185fbaba3adec5403
2016-09-11 13:26:04 +03:00
alwxndr
f3d0f3765d improved contact request (#122)
Former-commit-id: b260e7ba6b93fc1da406236531938d89bbdf19f8
2016-09-08 09:26:35 +03:00
alwxndr
91fdff9429 improved messages delivery (#191)
Former-commit-id: fb06c9161a70eeed2d75ef5127bfe27a479edde7
2016-08-29 12:51:54 +03:00
Roman Volosovskyi
a4e928aeb7 Merge pull request #202 from status-im/feature/group-chat
Group chat: basic features

Former-commit-id: dc65163da0ff47a6a03c238360b82407faa8b18f
2016-08-26 16:01:06 +03:00
Roman Volosovskyi
34f62d3865 Group chat: basic features
Former-commit-id: e73de0a86dd856cefbac0833645c68752ddc8271
2016-08-26 15:53:45 +03:00
Roman Volosovskyi
dacc9a5446 fix #144 add-new-contact
Former-commit-id: 8a39ac2718fa0dc96187b1673a86099f0e3d708b
2016-08-26 12:16:20 +03:00
Roman Volosovskyi
5940af50ad send-transaction in commands.js
Former-commit-id: 871f8036516fd0fab72c2f17c7c0218c31ca022e
2016-08-19 11:52:44 +03:00
alwxndr
a598200ace discovery rework
Former-commit-id: 92073f3d679d09b01ddf827442e2face6b0c2dc9
2016-08-18 19:16:07 +03:00
alwxndr
1b480a1a58 * new my-profile screen
* ability to edit profile data
* ability to update status (we save it internally for now)
* ability to change profile picture (from camera or gallery)
* enhanced way of storing profile-related data in realm and internal state db


Former-commit-id: 91d8ecc4bdf8407bc95b2fe703113bebccbbd885
2016-08-06 11:58:04 +03:00
Roman Volosovskyi
e9e3dc3896 on boarding tests
Former-commit-id: a0912230d4a293aa62c5105693babc5918b92fd0
2016-07-27 16:08:53 +03:00
Adrian Tiberius
a479ae3e15 merge develop
Former-commit-id: 04440181b2d27c09c6a8af79b85ef6c6834ab741
2016-07-18 21:33:41 +03:00
Adrian Tiberius
338deb9cc5 cleanup
Former-commit-id: cff3349c7d55bb372c4b5fb71a7f3ad008b9262b
2016-07-18 19:50:13 +03:00
Adrian Tiberius
68b6be2f31 fix account database separation
Former-commit-id: fac008b0875b81045b1dcdfa5077f18a35775bbe
2016-07-18 19:29:51 +03:00
Adrian Tiberius
d3b8840893 account database separation try
Former-commit-id: d19b595b9faa7e77b6af8f70840dff7dd75d8e96
2016-07-18 15:42:48 +03:00
Roman Volosovskyi
79f3ed036e Merge branch 'develop' into feature/commands-validation
Former-commit-id: 68c1e99d83ad294cb085c3fa3a8127db575883d9
2016-07-08 12:40:02 +03:00
Roman Volosovskyi
f5ff014b9d validation handlers & views
Former-commit-id: 7c3c3d80086acf86cb851371af676090b696e566
2016-07-07 19:09:16 +03:00
Roman Volosovskyi
aa89c0f85d fix protocol's initialization on js reloading
Former-commit-id: 55a5b96ad7de96708ed1e1bac09f61a87e1ecd6e
2016-07-07 11:08:22 +03:00
Roman Volosovskyi
6af6d5cedd unviewed messages counter
Former-commit-id: 2e790fb00603fe6beda5c73f75afa431ed996e5a
2016-07-06 20:17:52 +03:00