Commit Graph

447 Commits

Author SHA1 Message Date
Florian Dold
82f2b76e25
Reorganize module loading.
We now use webpack instead of SystemJS, effectively bundling modules
into one file (plus commons chunks) for every entry point.  This results
in a much smaller extension size (almost half).  Furthermore we use
yarn/npm even for extension run-time dependencies.  This relieves us
from manually vendoring and building dependencies.  It's also easier to
understand for new developers familiar with node.
2017-04-24 16:14:29 +02:00
Florian Dold
e6e0cbc387
don't fail hard when getImageData is not allowed 2017-04-19 01:12:16 +02:00
Florian Dold
8d8f48fb14
payback field 2017-04-13 16:14:47 +02:00
Florian Dold
75cf7ac3c3
simplify coin status, don't show refreshed coins in balance 2017-04-13 16:08:41 +02:00
Florian Dold
ace1a1be34
download/import db from dump page 2017-04-13 15:05:38 +02:00
Florian Dold
0ef5140e33
add exchanges to currency info 2017-04-12 17:47:14 +02:00
Florian Dold
e8bec33231
add auditor editing 2017-03-28 09:47:43 +02:00
Florian Dold
4178dcadc6
add auditor editing 2017-03-24 17:54:22 +01:00
Florian Dold
df87dc0242
add currencies and currency defaults to DB 2017-03-24 16:59:23 +01:00
Florian Dold
76ef679688
fix transaction issue and add safeguards 2017-03-24 16:49:45 +01:00
Florian Dold
970230da06
Add support for conditionals in DB queries 2017-03-24 16:20:31 +01:00
Florian Dold
98de0acd6f
minor version 2017-03-10 16:06:58 +01:00
Florian Dold
28e3e4640f
comment 2017-03-10 15:27:36 +01:00
Florian Dold
007df45ef9
only count pending refreshes 2017-03-10 15:25:54 +01:00
Florian Dold
8b62698729
add test for amount arithmetic 2017-03-09 21:34:55 +01:00
Florian Dold
e6aed62973
add withdraw signature test 2017-03-09 18:47:04 +01:00
Florian Dold
7d1ef658c5
rsa encode/decode test 2017-03-09 18:24:44 +01:00
Florian Dold
0466ed0e3b
also test public key 2017-03-09 18:05:09 +01:00
Florian Dold
f16f20cabd
test with fixed data to diagnose emscripten problem 2017-03-09 17:34:16 +01:00
Florian Dold
5cbe41cf60
update submodules 2017-03-08 17:14:20 +01:00
Florian Dold
1637127658
have from contract, remove extended contract query 2017-03-03 15:37:17 +01:00
Florian Dold
93e3d52735
remove repurchase correlation id 2017-02-16 23:21:55 +01:00
Florian Dold
3a074443b7
use EdDSA public key as nonce, store private key in DB 2017-02-13 09:53:34 +01:00
Florian Dold
e2738c5823
don't process contract if stale 2017-02-13 03:29:20 +01:00
Florian Dold
d143ba9500
check for contract freshness 2017-02-13 03:28:36 +01:00
Florian Dold
08d4a5b625
implement new protocol / naming 2017-02-13 00:44:44 +01:00
Florian Dold
dd5b679791
remove deprecated contract fields and add 'extra' field for merchant data 2017-02-12 19:31:46 +01:00
Florian Dold
cce3f589dc
remove transaction_id 2017-02-12 19:29:47 +01:00
Florian Dold
bd02776f86
make summary optional 2017-02-12 19:23:29 +01:00
Florian Dold
f8edc4f430
fix superfluous field 2017-02-12 04:59:28 +01:00
Florian Dold
04aad590fb
accept exchange URL suggestion from bank 2017-02-12 04:40:28 +01:00
Florian Dold
e61aae74d7
prettyier amount rendering 2016-11-28 08:19:06 +01:00
Florian Dold
58a339cf51
gitignore 2016-11-27 22:16:58 +01:00
Florian Dold
d57b6a4bcc
modularize i18n 2016-11-27 22:13:24 +01:00
Florian Dold
b7f4ecc76a
remove i18n.parts and switch fully to JSX syntax 2016-11-26 17:27:33 +01:00
Florian Dold
5c17f4b61e force initial update 2016-11-23 16:50:30 +01:00
Florian Dold
b65f8d83c2 expand exchange selection on error 2016-11-23 16:47:20 +01:00
Florian Dold
8c5a794cc8 update configure/makefile 2016-11-23 01:33:39 +01:00
Florian Dold
7731ddd098 translations 2016-11-23 01:14:45 +01:00
Florian Dold
c43e24bb13 add ability to wrap translated elements 2016-11-23 00:33:34 +01:00
Florian Dold
0f98d411d5 more reproducible build (fixed time stamp, sort files) 2016-11-23 00:13:35 +01:00
Florian Dold
0949bead04 re-add string prelude 2016-11-20 23:23:58 +01:00
Florian Dold
75e62251fc simplification / async 2016-11-20 08:58:04 +01:00
Florian Dold
c54a900cdd prevent injecting wallet detection on unwanted pages 2016-11-20 08:47:22 +01:00
Florian Dold
ac498b28fb better presence detection 2016-11-20 04:26:30 +01:00
Florian Dold
7356d4257e fix feeDeposit/max_fee corner case 2016-11-20 04:15:49 +01:00
Florian Dold
9197bda90a missing files / bump manifest 2016-11-19 23:50:50 +01:00
Florian Dold
9846d02097 only inject in http(s) 2016-11-19 23:50:50 +01:00
Florian Dold
7b1511a243 circumvent chrome bug for JS-less wallet detection 2016-11-19 23:03:58 +01:00
Florian Dold
65bbbf53ee write to db if coins are not offered anymore 2016-11-19 21:31:36 +01:00
Florian Dold
4f7a130ebc remove debug log 2016-11-19 21:24:39 +01:00
Florian Dold
1357271717 missing files 2016-11-19 17:37:39 +01:00
Florian Dold
2cd4a85ed4 better error reporting 2016-11-19 16:33:29 +01:00
Florian Dold
50090b5fb4 precoin -> planchet 2016-11-19 15:59:17 +01:00
Florian Dold
d4dcfd6f0c fix pogen issue 2016-11-19 00:52:50 +01:00
Florian Dold
9b7526c2db fix makefile 2016-11-18 22:08:59 +01:00
Florian Dold
7838cdc901 fix logging 2016-11-18 17:15:12 +01:00
Florian Dold
863dbe1d7b change fractional base to 1e6 2016-11-18 14:57:07 +01:00
Florian Dold
813bfed1e1 show all LogEntry fields 2016-11-18 14:56:15 +01:00
Florian Dold
9a908c105f document barrier 2016-11-18 04:39:31 +01:00
Florian Dold
eb9677c374 sequence logging 2016-11-18 04:37:10 +01:00
Florian Dold
356ebd2137 persistent logging 2016-11-18 04:09:04 +01:00
Florian Dold
2986afb3d4 improve error message 2016-11-18 01:42:40 +01:00
Florian Dold
8db3e73606 fix coin selection issue 2016-11-18 00:09:43 +01:00
Florian Dold
834b89547b remove debug log 2016-11-17 23:57:53 +01:00
Florian Dold
87a8cd0a13 document emscriptif.ts and fix mixin oddities 2016-11-17 23:12:44 +01:00
Florian Dold
54e3bd2773 implement bank http api 2016-11-17 21:21:05 +01:00
Florian Dold
790e266ff3 revert fractional base to 1e6 2016-11-17 21:01:44 +01:00
Florian Dold
b90d1c0318 truncate back-off 2016-11-17 15:59:06 +01:00
Florian Dold
c8576b433d per-exchange throttling 2016-11-17 15:32:08 +01:00
Florian Dold
d64861acec remove early return intended for debugging 2016-11-17 15:10:46 +01:00
Florian Dold
4f6327930a revert fractional base 2016-11-17 14:32:20 +01:00
Florian Dold
b078844c7f do not truncate amounts 2016-11-17 14:29:16 +01:00
Florian Dold
2cb642aac0 revert fractional base / bump version 2016-11-17 03:23:26 +01:00
Florian Dold
08b537f047 fix help link 2016-11-17 03:16:10 +01:00
Florian Dold
4d7d1a1008 implement / fix i18n for JSX 2016-11-17 02:58:27 +01:00
Florian Dold
86fb71f563 rate-limit concurrent processPreCoin 2016-11-17 01:23:53 +01:00
Florian Dold
d088aec009 do not change fractional base yet 2016-11-16 23:54:22 +01:00
Florian Dold
58b44ff135 fix syntax 2016-11-16 23:34:25 +01:00
Florian Dold
db0d204a3c fix translation stub 2016-11-16 22:28:15 +01:00
Florian Dold
9cb9d2d3b0 add missing file 2016-11-16 15:55:48 +01:00
Florian Dold
82e401a773 make fractional base a constant 2016-11-16 10:29:07 +01:00
Florian Dold
665c1d8072 add JSX classes for translation 2016-11-16 10:23:42 +01:00
Florian Dold
af11f34fb5 perf logging for crypto rpc 2016-11-16 02:10:12 +01:00
Florian Dold
bd65bb67e2 incrementally verify denoms
The denominations are not stored in a separate object store.
2016-11-16 02:00:31 +01:00
Florian Dold
f91466595b re-add vendor / fix gitignore 2016-11-15 22:45:01 +01:00
Florian Dold
ded02bf11f renaming / dce 2016-11-15 15:07:17 +01:00
Florian Dold
a92b7dc0df dce 2016-11-15 13:03:31 +01:00
Florian Dold
ded250e6a5 fix insufficient funds message (#4768)
We now distinguish the case where the wallet knows the exchange already
and the case where we don't have anything in common.
2016-11-14 03:54:51 +01:00
Florian Dold
ce33432036 add test cases for coin selection 2016-11-14 03:37:47 +01:00
Florian Dold
8fdbfeea59 factor out helper function 2016-11-14 03:01:42 +01:00
Florian Dold
fdf4b1408f simplify coin selection and fix #4784 2016-11-14 02:52:29 +01:00
Florian Dold
4df35bdcd9 add test for base url canonicalization and fix canonicalization bug 2016-11-14 01:29:08 +01:00
Florian Dold
8ab5db6255 add contract validation test 2016-11-14 01:05:51 +01:00
Florian Dold
dca6d303c1 add validators to checkable classes 2016-11-14 00:57:29 +01:00
Florian Dold
48bac7d4a9 link to advanced tree view 2016-11-14 00:33:15 +01:00
Florian Dold
f3fb8be7db restructuring 2016-11-13 23:31:17 +01:00