Commit Graph

4722 Commits

Author SHA1 Message Date
Stefan Thomas
ac2155752e Change from ws.on('message') to ws.onmessage for browser compat. 2013-04-26 08:59:00 +02:00
Stefan Thomas
b33d12ab35 Store secrets on the remote object, rather than accessing the config directly. 2013-04-26 08:59:00 +02:00
Arthur Britto
9b01b0a60a Rework config.js to not be add to web pack. 2013-04-26 08:59:00 +02:00
Stefan Thomas
c67fed248e Custom events.js not actually needed anymore. 2013-04-26 08:59:00 +02:00
Stefan Thomas
1bc51c175a Added JS build script. 2013-04-26 08:59:00 +02:00
Stefan Thomas
bd781bcf3f Moved cpp code to src/cpp and js code to src/js. 2013-04-26 08:59:00 +02:00
Arthur Britto
209b70db77 JS: Hide some variables. 2013-04-26 08:59:00 +02:00
Andrey Fedorov
9a285bdd0a removing newcoind from .gitignore 2013-04-26 08:58:59 +02:00
Andrey Fedorov
50c13a1633 updated .gitignore 2013-04-26 08:58:59 +02:00
Andrey Fedorov
ac19541f10 removing util from remote.js 2013-04-26 08:58:59 +02:00
Arthur Britto
820d40209c UT: More fixes for API changes, remote-test.js works. 2013-04-26 08:58:59 +02:00
Arthur Britto
5cb4bed4b2 JS: Fixes to remote.js for API change. 2013-04-26 08:58:59 +02:00
Stefan Thomas
0fdafc2746 Ignore database files in working directory.
Just for convenience for anyone who runs rippled in-place.
2013-04-26 08:58:59 +02:00
Arthur Britto
ae21eff712 Fixes and clean up for API change. 2013-04-26 08:58:59 +02:00
Andrey Fedorov
69c5caa0c7 events lib update 2013-04-26 08:58:59 +02:00
Arthur Britto
2702ec906b JS: Add is_native() to Amount. 2013-04-26 08:58:59 +02:00
Andrey Fedorov
47b6d39eea . 2013-04-26 08:58:59 +02:00
Andrey Fedorov
59f87b7ea9 added local events library 2013-04-26 08:58:59 +02:00
Arthur Britto
5db1dafc98 JS: Add is_native() to Amount. 2013-04-26 08:58:59 +02:00
Arthur Britto
252a81f3e2 UT: Add payments helper. 2013-04-26 08:58:59 +02:00
Arthur Britto
f4946ab6a9 UT: Add credit_limits helper. 2013-04-26 08:58:59 +02:00
Arthur Britto
cbc244c1cb JS: Fix account sequence caching. 2013-04-26 08:58:59 +02:00
Arthur Britto
aac7f698ee UT: remove mapOr. 2013-04-26 08:58:59 +02:00
Arthur Britto
9e36297c0e UT: Add helper for setting transfer rate. 2013-04-26 08:58:59 +02:00
Arthur Britto
f5988fd66e JS: Add support for setting transfer fee. 2013-04-26 08:58:59 +02:00
Arthur Britto
8fbc2cf883 UT: Add utility to verify multiple balances. 2013-04-26 08:58:59 +02:00
Arthur Britto
5e083eb32f JS: Improve error handling. 2013-04-26 08:58:59 +02:00
Arthur Britto
d7dffc2041 JS: Add support for paths to payments. 2013-04-26 08:58:59 +02:00
Arthur Britto
1a1f4db2c2 JS: Add Currency.json_rewrite(). 2013-04-26 08:58:59 +02:00
Arthur Britto
1db7da9f63 UT: Adjust fees for unit tests. 2013-04-26 08:58:59 +02:00
Arthur Britto
8fa4224bb5 Add tests for ripple partial sends. 2013-04-26 08:58:59 +02:00
Arthur Britto
2f4dd47963 UT: Fix build_teardown merge error. 2013-04-26 08:58:59 +02:00
Arthur Britto
40b5622016 Work on testing indirect ripple.
- WS: Make ripple_state more strict.
- UT: Add an indirect ripple test.
- UT: Add more testutils functions.
2013-04-26 08:58:59 +02:00
Stefan Thomas
e8e7ce04b4 UT: Fixed host configurations and having multiple instances of test suite. 2013-04-26 08:58:59 +02:00
Stefan Thomas
82c357ac26 UT: Added verbosity and no_server options to setUp routine. 2013-04-26 08:58:59 +02:00
Arthur Britto
f6d1e2d40b JS: Optimize base58 decoding. 2013-04-26 08:58:59 +02:00
Arthur Britto
e128938179 UT: Quiet tests. 2013-04-26 08:58:59 +02:00
Arthur Britto
215b373087 UT: Add a verbose setup short cut. 2013-04-26 08:58:59 +02:00
Arthur Britto
4917a01c69 UT: Add another Amount test. 2013-04-26 08:58:59 +02:00
Arthur Britto
d4fad4fcf9 JS: Fix Remote.request_ripple_balnce(). 2013-04-26 08:58:59 +02:00
Arthur Britto
bbfc348b85 JS: Fix Amount.copyTo(). 2013-04-26 08:58:59 +02:00
Arthur Britto
45c54b6484 JS: Fix UInt160 comparison. 2013-04-26 08:58:59 +02:00
Arthur Britto
c0eec780de JS: Add support for parsing and encoding base58. 2013-04-26 08:58:59 +02:00
Arthur Britto
114ec072c4 JS: Add arraySet() and stringToArray() to utils.js 2013-04-26 08:58:58 +02:00
Arthur Britto
02805651cf JS: More fixes and tests for Amount.negate(). 2013-04-26 08:58:58 +02:00
Arthur Britto
1aac962116 UT: Lots of improvements and fixes.
- Parse negative amounts.
- Make Amount.negate() return a new value.
- Add Amount.equals().
- Rename Remote.trace() to set_trace().
- Fix request_ripple_balnce.
- Add more tests to send-test.js.
- Add more tests to amount-test.js.
- Add helper functions create_accounts and credit_limits to
  testutils.js.
2013-04-26 08:58:58 +02:00
Arthur Britto
0beab03255 UT: Share setUp and tearDown code. 2013-04-26 08:58:58 +02:00
Arthur Britto
b4fbf076b4 JS: Add support for more types of transactions to remote.js. 2013-04-26 08:58:58 +02:00
Arthur Britto
a5eed197d2 JS: Add Date support to offer_create. 2013-04-26 08:58:58 +02:00
Arthur Britto
a6a8b0b29a UT: Rework server.js and clean up test output. 2013-04-26 08:58:58 +02:00