Commit Graph

1815 Commits

Author SHA1 Message Date
Eric Dvorsak 69a84c8315 Costmetic refactoring according to refactoring guidelines 2017-08-16 11:00:25 +03:00
Oskar Thorén 6dafd137dc docs: FAQ document
Question on nature of async/sync calls in different environments
2017-08-15 14:14:50 +03:00
Roman Volosovskyi a93cb0b1d1 show testfairy warning on startup (#1569) 2017-08-14 21:44:48 +03:00
Andrey Shovkoplyas 1fe17305af removed an unnecessary character 2017-08-14 14:27:27 +03:00
Andrey Shovkoplyas e158ba5d4f fixed wallet screens 2017-08-14 14:15:48 +03:00
Andrey Shovkoplyas 883b702fcb Introduced new hierarchy ,refactored core 2017-08-14 13:42:20 +03:00
Roman Volosovskyi 6a56b60085 deploay apk to diawi 2017-08-11 13:22:03 +03:00
Oskar Thorén 8d040aee11 wallet (WIP): Hook up handlers to minimal send-transaction screen 2017-08-11 12:14:17 +03:00
Roman Volosovskyi dabaa0ae1c init Instabug & fix TestFairy check [iOS] 2017-08-11 10:12:01 +03:00
Roman Volosovskyi 13dcf9dafe fix main_screen dir 2017-08-10 17:32:38 +03:00
Roman Volosovskyi 2102740a69 add react-native-config 2017-08-10 12:57:37 +03:00
Gustavo Nunes dc42a9a719 Created Wallet main screen 2017-08-10 11:42:29 +03:00
Andrey Shovkoplyas a91a945bfa tests for group module 2017-08-10 10:05:29 +03:00
Roman Volosovskyi 0ada614d62 utilise CallRPC in react-native-status module 2017-08-09 19:38:48 +03:00
Andrey Shovkoplyas 6d62a21af7 tests for contacts events 2017-08-09 16:43:40 +03:00
Julien Eluard c378098d3b Fixed multidex configuration for android 4.4 2017-08-09 16:02:32 +03:00
Eric Dvorsak d999927352 Refactoring guidelines draft 2017-08-09 14:23:41 +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
Julien Eluard 646f61a406 Give all components a :display-name.
Make sure components use :reagent-render.
2017-08-08 21:42:26 +03:00
Eric Dvorsak 9e73097446 Remove externs and add them to gitignore
lein generate-externs need externs directory to be present

Create an externs directory with a gitignore file that only allows itself to
be commited

We are using simple optimizations for prod builds so this file is not used.

We have much more useful output with :simple optimizations if an error
happens, not just something like a.b.adsfas is undefined.

The difference in size between advanced and simple optimizations is only
about 300KB, and the RN packager also makes some magic with js after cljs
compiler anyway.
2017-08-07 16:43:37 +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
Julien Eluard 6b0f09faf8 Added alert when exception are thrown Java side.
Report max memory available on current platform
2017-08-07 10:21:09 +03:00
Roman Volosovskyi f91c480ad8 remove sensitive data from debug output 2017-08-04 20:45:24 +03:00
Andrey Shovkoplyas b429076cad refactored new-group events using fx and cofx
reorganized modules structure, renamed files, improved requirements
2017-08-04 06:36:16 +03:00
Herich d9800fe9a7 fix #1469 chat: location is shown as plaintext 2017-08-03 17:05:39 +03:00
alwx abafa3308a Unit tests for input model 2017-08-02 17:03:11 +03:00
Oskar Thorén fc59f8d7f1 fix #1050 transaction view: app crash
Transactions with 15 significant digits crashes the app due to something weird
going on in the Clojurescript -> web3 -> BigNumber chain. This fix converts the
number into a BigNumber before converting it into Ether.
2017-08-01 15:41:12 +03:00
Herich 4521020ce5 fix #1486 chat: removable console chat 2017-07-31 14:58:42 +03:00
Herich 7a3e9a1f96 fix #1467 console: confirmation code preview 2017-07-29 13:41:26 +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
Danny Wilson 68fe57b016 fix #1171: hide remove option from profile menu for unremovable contacts 2017-07-28 15:40:00 +03:00
Basile Beldame 5b4f15659d Fix french translation
"Address" in english is "Adresse" in French + Everything in the page is in Zero infinitive exect this "Entrez Addresse", which sounded weird.
2017-07-28 15:39:33 +03:00
Herich 9f35e0c983 fix #1488 new_group: once-only handler for save 2017-07-28 14:07:49 +03:00
Oskar Thorén 7eb5cdb9ab chat: fix #1390, selection OOB
When the input field includes an unmatched " in the input-text, there's a
mismatch between the parsed command-args and the length of the text field,
causing text selection to be out of bounds. By bounding the new selection to a
maximum of the input text, this is avoided.
2017-07-28 12:45:58 +03:00
Herich d90dab8711 fix #1501 wallet: display right fee amount 2017-07-27 13:59:48 +03:00
Roman Volosovskyi f185fa4190 add package-lock.json file 2017-07-27 11:16:16 +03:00
Julien Eluard 614a2d89cb Added basic exception handler. 2017-07-26 21:40:38 +03:00
Herich 63d9301a27 fix #1499 chat: don't persist null properties 2017-07-26 18:27:47 +03:00
Oskar Thorén 389e79d683 console: amend fix of #1207 (bad suggestions)
A single unbalanced ')' shouldn't count as nesting, so ')' and 'a)' etc don't make the form ''.

console: add ad-hoc test script for suggestions
This creates a quicker feedback loop for testing console suggestions, as well as making sure we don't introduce suggestions regressions.

chat, parameter-box: hide parameter-box when {markup: null} is returned
2017-07-26 16:16:59 +03:00
jaimeagudo be503447ee Add comment to guide Android newbies builds, fix README typos 2017-07-26 15:54:02 +03:00
Herich f5b0c0c368 chat, data, utils: add implementation of simple preview caching 2017-07-26 15:00:14 +03:00
Herich 59edcb37ef wallet: always displays fee with fixed precision 2017-07-26 14:51:33 +03:00
Julien Eluard 98b58c9036 Removed useless natal-shell dependency 2017-07-26 08:37:59 +03:00
Roman Volosovskyi 0a76262953 fix ArgumentError - invalid byte sequence in US-ASCII at pod install 2017-07-26 08:34:03 +03:00
alwx fe78e7d786 Can use requesting message to send ether if recipient name contains double quotes (#1411) 2017-07-25 13:56:07 +03:00
alwx 32b64dcdb9 App no longer crashes if start deleting url while browsing (#1468) 2017-07-25 11:15:49 +03:00
Julien Eluard cdbabca9fe Multiple hit on save should not create multiple groups 2017-07-25 10:24:02 +03:00
Julien Eluard 20550b42c6 Upgraded translations to reflect changes to :debug-enabled 2017-07-21 12:55:27 +02:00
Julien Eluard eed74d8af0 Fixed incorrect message keys 2017-07-21 12:53:57 +02:00
nulldash 76e3068220 Update Bahasa Malaysia translation
Translated the new added/fixed strings on the tracked en.cljs following commit 5051d1ce9e and 41ee6bfa89 plus properly translated the word `Wallet`.
2017-07-21 12:52:46 +02:00