Commit Graph

855 Commits

Author SHA1 Message Date
Vitaliy Vlasov b0b4226680 [FIX #2565] data-store: escape leading tildes in message content 2017-12-25 16:19:32 +02:00
janherich eb8d0a8a79
Refactored message data-model and view 2017-12-19 12:50:36 +01:00
Dmitry Novotochinov 6d966b4648
[fixes #2546] Add chat-preview-text component to status.js
Apply default styling for message commands preview in chat
2017-12-15 18:15:03 +03:00
Eric Dvorsak 56c59c741f update react-native and project dependencies
[#bug] fix realm version
2017-12-15 16:06:13 +01:00
Foo Pang 460f6a38e8 [Fix #2640] Cleanup react-native source folder 2017-12-14 16:57:09 +02:00
Anton Danchenko 10da67a63f added 'request transaction from wallet' test 2017-12-13 14:19:00 +01:00
Julien Eluard 2256628c97 Added assets icons and allow to filter tokens 2017-12-08 16:36:38 +01:00
Anton Danchenko f227962a89 fixed an issue with rounded sum in request command, added test 'send funds via request in group chat', added new users for wallet tests 2017-12-07 15:16:14 +01:00
janherich 25d3940d49 More efficient subscriptions 2017-12-04 17:52:39 +01:00
pablodip 2dbefb706e supported languages and trans ids
rename test

fix test `supported-locales-are-actually-supported` and improve failing message

fix some coding standards

rename old `str` namespace alias to `string`

fixing cs

rename translation id to label and explain checkpoints

remove non-existent labels in translations

add some comments

add status 0.9.12 as first checkpoint in translations, plus current supported locales

remove non-existent label from base checkpoint and fix locale->checkpoint and supported locales

format checkpoint-0-9-12-labels in several lines

add fn labels-that-are-not-in-current-checkpoint
2017-11-29 17:13:38 +01:00
Julien Eluard b2daaa2159 Hook require to prevent tests failures when loading images 2017-11-29 16:50:28 +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
m'hammed 319a770872 [bug] fix #2329 Generate username as Unknown for nil and 0 public key 2017-11-23 11:59:10 +03:00
Oskar Thorén 8fe9306caf Integration tests: use fixtures and abort indeterminate 2017-11-21 17:19:00 +01:00
janherich e50d56a4d0 Refactored jail loading + commands/responses 2017-11-21 10:51:15 +01:00
Oskar Thorén 91a0d40ceb Integration tests: Basic Whisper version test and disable old 2017-11-20 23:55:26 +01:00
janherich 16fcef909f Fix broken group chats 2017-11-20 14:20:29 +01:00
Anton Danchenko c9b785cead added native android keys to send_as_keyevent method 2017-11-17 13:48:07 +02:00
Julien Eluard 7e6507be7c [ISSUE #2391] Added support for ERC681 2017-11-16 13:07:33 +01:00
yevh-berdnyk 63848efc20 [ISSUE #166] Added test for sending ETH after request command 2017-11-16 10:25:48 +02:00
Anton Danchenko af97424146 tests updated in order to reflect changes in back button behavior 2017-11-15 14:59:57 +01:00
Eric Dvorsak 2ff2bfacf0 [bug] fix #1784 db fields passed from one account to the other 2017-11-13 15:25:00 +01:00
Anton Danchenko 190e841f32 added an ability to run Jenkins job manually against any apk 2017-11-13 13:48:16 +02:00
Julien Eluard 0d4cbd98e5 [ISSUE #2177] Moved component into ui 2017-11-10 10:49:21 +01:00
Anton Danchenko a95d118959 added verification of user data absence in logcat 2017-11-09 17:36:15 +02:00
Goran Jovic edd4df85f9 bug #2381 - updated statuses are broadcast 2017-11-08 14:55:16 +01:00
Roman Volosovskyi dfe68a2ded fix accounts-events test 2017-11-06 13:27:24 +01:00
janherich 55164b8eac Refactor adding subscriptions + basic tests 2017-11-06 08:14:10 +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
Anton Danchenko bd8d967743 added 'test_new_profile_name_and_status_on_discover' and 'test_change_profile_name_and_status'
fixed verification of user status on drawer menu
2017-10-30 13:36:49 +02:00
janherich bf71df17b5 Finish jail-call deduplication 2017-10-27 09:41:17 +02:00
yevh-berdnyk 7256ddafa9 [ISSUE #2225] Added rate test and transactions history verification 2017-10-26 13:50:42 +03:00
Anton Danchenko c8267106bc added 'recover user from console view' flow, modified info captions. 2017-10-23 12:32:45 +02:00
Anton Danchenko cdc75d6238 added transaction from wallet tests: 'sign now' and 'sign_later', also added 'insufficient funds' test 2017-10-19 15:56:55 +02:00
Anton Danchenko 6c7ca9648f tests refactored for faster runs, updated scenarios for transactions in one-to-one chats 2017-10-18 15:43:24 +03:00
Julien Eluard eea4eeb549 [BUG #2189] Do not clear user set amount when scanning QR code 2017-10-17 17:31:31 +02:00
Julien Eluard 43dab5b174 Fixed warnings when compiling tests 2017-10-17 10:12:10 +02:00
alwx cb72190a18 API commands scopes, changes for API semantics (#1546) 2017-10-16 09:51:52 +02:00
Andrey Shovkoplyas c2ef0e4547 pending wallet in default contacts 2017-10-13 17:49:25 +02:00
Andrey Shovkoplyas 8269d6d9a9 hide old wallet Dapp #2021 2017-10-13 17:49:25 +02:00
Julien Eluard 3b6b5e2da1 [BUG #2025] Ensure QR code data is properly parsed 2017-10-13 13:01:16 +02:00
Julien Eluard 0a94d10559 Fixed amount validation regression 2017-10-13 11:50:27 +02:00
Anton Danchenko 030ceecc21 added 'one-to-one chat between different networks' and 'switch network' tests, also added marks for local runs 2017-10-12 09:55:34 +03:00
Eric Dvorsak c7893ebd17 [feature] update react-native-swiper
rework current use of swiper to make it reusable
2017-10-11 12:17:37 +02:00
Julien Eluard fb10b580d4 Fixed incorrect wallet buttons styles
Make wallet list show correct amount
Wallet name should be cut if too long
2017-10-11 12:07:27 +02:00
Anton Danchenko 98beef138f added 'send transaction initiated from the DApp' and 'send transaction with invalid password' tests, basetestcase reworked for smooth local runs
added 'send transaction initiated from the DApp' and 'send transaction with invalid password' tests, basetestcase reworked for smooth local runs
2017-10-10 18:41:18 +03:00
Eric Dvorsak e66ae8b388 [bug] fix order of transactions in sections of transactions history
order should be latest transaction first
2017-10-05 20:14:44 +02:00
Herich d9db548e57 Refactoring chat events to shorten event chains 2017-10-03 09:28:38 +02:00
Roman Volosovskyi cf7a9845c6 data_store and network_settings from #1115
missed default networks
fix :load-default-networks
network settings screen
fix network details screen
networks in account
fix network property saving
update startNode and stopNode on iOS
test RPC proxy on iOS
StopNode and StartNode on androd
pass UpstreamConfig to status-go
upgrade status-go
added default network on login
fixed UI, added vector icons
added network name in drawer
migrated accounts
workaround for account v4 migration
2017-10-02 14:13:10 +02:00
Anton Danchenko 698e90a62c added 'recover access' and 'send transaction in group chat' tests 2017-09-26 13:59:43 +03:00
Anton Danchenko e1af9144cf added tests: transaction and sign in 2017-09-22 11:16:46 +03:00
Oskar Thorén b5c0b24f30 Push notifications: end to end v1
- Send notification when sending message in 1on1 chat
- Add notify FFI with binds for ObjC and Java
- Add fcm-token to contacts in spec and realm
- Add notifications to db
- Include fcm-token in contact request
- Update fcm-token when it arrives and put it in DB
- Disable copy-paste hijacking and popup
- Turn on notifications flag in Jenkins build
2017-09-18 16:28:04 +03:00
Anton Danchenko debd51bfce test_remove_user_from_group_chat added as a part of test_group_chat_send_receive_messages_and_remove_user 2017-09-13 21:41:00 +03:00
Anton Danchenko eaf9d8dce4 added additional verifications to group/one-to-one chat tests, added accessibility ids
Revert "added checkout step to Jenkinsfile"

This reverts commit 22cd1fd021.

checkout to jenkinsfile
2017-09-11 15:26:08 +03:00
Eric Dvorsak ab98de0be5 moving drawer local state to db and fixing bug 2017-09-09 07:36:05 +03:00
Eric Dvorsak c1cac1eb7c wallet UX error fixes and more frequent refreshes
fix wallet errors that were sticking when refresh occured
add separate errors for transaction history fetching with visual feedback
update wallet when going on wallet tab
update transaction list when opening transaction modal
2017-09-08 11:53:49 +03:00
Andrey Shovkoplyas f88c3feaf6 reworked main tabs using svg icons [#1748 2017-09-06 17:05:56 +03:00
Anton Danchenko d3d59f535e added checkout step to Jenkinsfile 2017-09-06 13:54:46 +03:00
Anton Danchenko 3afae8a42b changed key in Jenkinsfile 2017-09-06 12:33:32 +03:00
Anton Danchenko a02ef4af0f Jenkinsfile updated for jenkins setup 2017-09-06 12:24:09 +03:00
Julien Eluard 36d1568a76 Fixed main wallet discrepancies 2017-09-05 17:38:19 +03:00
Julien Eluard 38bf64ae2e Removed now useless appium tests 2017-09-03 18:07:57 +03:00
angusiguess bc37283cb7 Add wallet error message.
- Add wallet key to db
- Add sub for wallet error messages
- Add event handlers to set wallet values
- Cover the above with tests

Oh and add the tests

Add error view

Add exclamation mark, style error message, add message to view

Remove commented styling

Localise wallet error

Add translation

- Add an english translation for the error message
- Change error representation in db to a keyword
- Update handlers to set and clear keywords

Constrain spec, make view conditional

- The spec for error messages now takes a predefined set.
- Error message only pops on error

Fix test

Align maps

Reduce event chain size, move logging to timbre
2017-09-01 19:01:12 +02:00
Anton Danchenko fb53417295 added group chat test and auto retrieving of latest apk 2017-08-31 16:39:45 +03:00
Goran Jovic d2530517c4 feature #1585 generate signing phrase, show it to the user during on-boarding, store in the account; account schema updated, added migration, generating a new signing phrase on recovery 2017-08-31 15:41:15 +03:00
Andrey Shovkoplyas be57d85147 implemented svg icons 2017-08-30 11:09:27 +02:00
Anton Danchenko e69d998071 e2e-tests, android: added infrastructure for running e2e tests, added test send/receive in chat, added request password tests, updated gitignore to exclude python related files. 2017-08-28 15:27:02 +02:00
angusiguess 6fa9040def [FIX #1668] Prevent UI keys from propagating to account model.
The ```:account-update``` event was being passed the key
```update-status?``` which has nothing to do with an account as
represented in the db. This resulted in a spec failure when this
key was detected on an attempt to save changes.

I've sanitized this event by pulling out the three account keys,
```[:name :photo-path :status]```
that are relevant to ```profile``` and ensuring that only they get
passed to ```:account-update```.

Profile updates now work as expected.

Add tests covering profile events

Fix the runner
2017-08-25 13:10:18 +03:00
Julien Eluard 2585a32c7a Enable main wallet screen. WIP features are hidden behind flag 2017-08-23 12:28:42 +03:00
Andrey Shovkoplyas 2ff20eb830 accounts tests 2017-08-22 07:39:07 +03:00
Andrey Shovkoplyas bab4e33ec2 Accounts refactoring #1610 2017-08-21 10:19:03 +03:00
Goran Jovic 1ca35db17c fix #1518 and #1573 - removed potentially offensive words, made username generation deterministic, updated unit tests 2017-08-17 18:43:15 +03:00
Oskar Thorén 8e22ce9466 utils: Support ERC20 balance-of in order to get token balance
This is necessary in order to display token balance in Wallet.
2017-08-17 17:19:49 +03:00
Julien Eluard 9bacc65c8d Implement wallet/transactions basic skeleton 2017-08-16 12:09:01 +03:00
Roman Volosovskyi a93cb0b1d1 show testfairy warning on startup (#1569) 2017-08-14 21:44:48 +03:00
Andrey Shovkoplyas 883b702fcb Introduced new hierarchy ,refactored core 2017-08-14 13:42:20 +03:00
Andrey Shovkoplyas a91a945bfa tests for group module 2017-08-10 10:05:29 +03:00
Andrey Shovkoplyas 6d62a21af7 tests for contacts events 2017-08-09 16:43:40 +03:00
Oskar Thorén db6b80d529 chat, protocol: Introduce Lamport clock semantics for message order
This commit ensures messages are ordered correctly when participants join and
leave a group chat. Specifically, the last received message will appear last.
Previously the user and chat clock was queried and updated in an ad hoc manner.
With this change there are only two clock changes to keep track of:

Sending messages:
time = time+1;
time_stamp = time;
send(message, time_stamp);

Receiving messages:
(message, time_stamp) = receive();
time = max(time_stamp, time)+1;

(See https://en.wikipedia.org/wiki/Lamport_timestamps)

Note that this means we can get rid of all the non-message clock queries and
updates.
2017-08-09 12:34:36 +03:00
Oskar Thorén b510488f11 fix #1050
Introduce a money namespace that solves a bunch of issues related to significant
numbers being preserved and converted correctly.
2017-08-07 13:55:22 +03:00
alwx abafa3308a Unit tests for input model 2017-08-02 17:03:11 +03:00
Andrey Shovkoplyas 3d05f99bd4 implemented fx handler, rewrite handlers using fx and cfx, optimized subscriptions, reorganized structure and renamed files, implemented re-frame-test and wrote some tests 2017-07-28 17:25:55 +03:00
Herich f5b0c0c368 chat, data, utils: add implementation of simple preview caching 2017-07-26 15:00:14 +03:00
Julien Eluard cdbabca9fe Multiple hit on save should not create multiple groups 2017-07-25 10:24:02 +03:00
Roman Volosovskyi be463e0947 messaging test 2017-07-18 08:41:03 +03:00
Roman Volosovskyi 23399c63e1 extract React Native dependencies 2017-07-17 11:38:48 +03:00
Julien Eluard 90d8b5c23c Fixes #1212 (#1249)
* Make sure suggestions properly popsup when command starts with space

* Added basic tests for splt-command-args

* Properly handle white spaces

* Added tests for commands with whitespaces
2017-06-26 13:45:49 +03:00
Jarrad Hope 7e7920358f java appium tests and jenkins test 2017-04-14 22:17:45 +02:00
Gustavo Nunes a8a588bb70 Onboarding tests: fixed existing and added new 2017-02-08 17:01:14 +02:00
Roman Volosovskyi 64a9847b21 fix #452 2016-11-18 16:49:51 +02:00
Roman Volosovskyi 8439407520 show connectivity issues & retry sending of phone/confirmation code to server if application is offline
Former-commit-id: 2580b0a9d9
2016-10-23 12:49:36 +03:00
Roman Volosovskyi e9e3dc3896 on boarding tests
Former-commit-id: a0912230d4
2016-07-27 16:08:53 +03:00
Roman Volosovskyi b9973cee6d cleanup
Former-commit-id: 62e68fc3da
2016-06-14 15:56:03 +03:00
Roman Volosovskyi 75649d46aa tests
Former-commit-id: 8474729695
2016-06-09 16:06:39 +03:00
Roman Volosovskyi eedf38895d doc for appium-test
Former-commit-id: c8d0f590c2
2016-05-30 10:22:29 +03:00
Roman Volosovskyi 3ea8b2cb82 first unit test
Former-commit-id: 1766b1af12
2016-05-30 08:58:38 +03:00
Roman Volosovskyi e8256f34e9 implicitly wait 25s
Former-commit-id: 0e3c1d10ba
2016-05-26 18:13:37 +03:00
Roman Volosovskyi 23b646c213 appium-test macro
Former-commit-id: 54ae25dc67
2016-05-26 17:00:42 +03:00
Roman Volosovskyi 6823acd171 :accessibility-label
Former-commit-id: 63dd0d4a4a
2016-05-26 16:46:14 +03:00
Roman Volosovskyi c10abb17bb first attempt
Former-commit-id: dc2839e086
2016-05-26 15:31:11 +03:00
Jarrad 83dcdf85c7 whoops
Former-commit-id: 225e6bbaa8
2016-05-19 18:34:52 +02:00
Jarrad b5763bb8ad syng to status
Former-commit-id: 6a5250247c
2016-05-19 18:31:56 +02:00
michaelr d54d6555a4 moved re-frame app to root folder
Former-commit-id: 5a3b923b0c
2016-04-04 19:21:10 +03:00
virvar 7c6e7c644a Initial 2016-02-23 01:04:42 +03:00