Commit Graph

535 Commits

Author SHA1 Message Date
Florian Dold
8697efd2c8
implement refunds 2017-08-27 03:56:19 +02:00
Florian Dold
21c176a69e
add rudimentary error reporting in a new tab 2017-08-25 18:08:37 +02:00
Florian Dold
5634e77ad9
fix build system / types 2017-08-14 04:59:43 +02:00
Florian Dold
d5bba630a3
implement returning coins to user's account 2017-08-14 04:16:12 +02:00
Florian Dold
419a05e801
fix errors in injection
Sometimes chrome reports a different URL for a tab than what it is
internally displaying (e.g. for error pages).  Previously this lead to a
"scary" error message being logged.
2017-08-09 16:51:25 +02:00
Florian Dold
a8bd05298e
Store bank account information for reserve.
Fixes #4852.
2017-07-20 02:17:55 +02:00
Christian Grothoff
76d2def563
consider client age in commpatibility check 2017-07-01 14:08:16 +02:00
Florian Dold
21ea13250f
fix timer typo 2017-06-06 13:12:24 +02:00
Florian Dold
d283331285
wallet db version belongs with wallet, not webex 2017-06-05 03:36:33 +02:00
Florian Dold
2904591332
pretty reset page 2017-06-05 03:20:28 +02:00
Florian Dold
e95027f377
properly implement db resetting 2017-06-05 02:00:03 +02:00
Florian Dold
49949de808
don't also open history links in popup 2017-06-05 00:52:22 +02:00
Florian Dold
d18d220557
fix db dump page 2017-06-05 00:24:00 +02:00
Florian Dold
00b25fa66a
check trust by key, not by URL 2017-06-04 20:25:28 +02:00
Florian Dold
2cf33705c8
warn about incompatible versions on withdraw 2017-06-04 20:16:09 +02:00
Florian Dold
2b1e88737f
v0.2.7 2017-06-04 19:41:43 +02:00
Florian Dold
55a1b25ea2
Add libtool version comparison module and tests 2017-06-04 19:27:50 +02:00
Florian Dold
8edbf426f7
nicer auditor display on withdraw 2017-06-04 18:46:32 +02:00
Florian Dold
c88bcce998
some UI fixes 2017-06-04 17:56:55 +02:00
Florian Dold
e0e496b878
memidb work in progress 2017-06-04 17:42:30 +02:00
Florian Dold
84c2a0ee93
missing property 2017-06-03 21:06:23 +02:00
Florian Dold
8c215a19d7
remove unnecessary/broken flatmap 2017-06-03 21:00:15 +02:00
Florian Dold
07a84844db
remove obsolete header 2017-06-03 20:33:22 +02:00
Florian Dold
a425f289a4
fix display of contract terms rendering when already paid 2017-06-02 02:51:17 +02:00
Florian Dold
a6035dd4c7
do presence announcement only after complete page load 2017-06-02 02:14:40 +02:00
Florian Dold
29b107f937
fix terminology, better types 2017-06-01 18:46:07 +02:00
Florian Dold
8a2642a51c
version, apply updates ASAP 2017-05-31 22:55:03 +02:00
Florian Dold
f5da3fcd19
v0.2.3 2017-05-31 17:10:12 +02:00
Florian Dold
613a14c14f
fix messaging, small issues and safer types 2017-05-31 16:04:23 +02:00
Florian Dold
87f981d91c
improve backend / content script messaging 2017-05-31 11:57:09 +02:00
Florian Dold
4698768459
memidb skeleton 2017-05-31 11:11:52 +02:00
Florian Dold
8bb67c0c5f
have type for both request and response 2017-05-30 19:00:51 +02:00
Florian Dold
e5b88ee003
skeleton for better RPC types 2017-05-30 18:33:28 +02:00
Florian Dold
29908d5ef6
paths, multi env and webpack config 2017-05-30 14:38:29 +02:00
Florian Dold
b1f0d6ac52
correct stylesheet path 2017-05-29 20:03:11 +02:00
Florian Dold
94d111a945
lint for unused variables, fix query bug detected by this 2017-05-29 18:27:50 +02:00
Florian Dold
b5c90d1221
fix remaining lint warnings 2017-05-29 16:58:03 +02:00
Florian Dold
1c3346cd53
less ad-hoc messaging, fix some lint warnings 2017-05-29 16:27:53 +02:00
Florian Dold
d0e0c6baf2
fix linter errors 2017-05-29 15:18:48 +02:00
Florian Dold
9950c62579
fix strings.ts generation 2017-05-29 12:37:35 +02:00
Florian Dold
3f01c9490b
adjust webpack config to exclude node modules 2017-05-29 02:44:28 +02:00
Florian Dold
5b90311bef
pofiles 2017-05-29 01:52:01 +02:00
Florian Dold
5755f7a814
fix paths previously missed during restructuring 2017-05-29 01:48:46 +02:00
Florian Dold
f5a20cc822
missing file 2017-05-29 01:31:41 +02:00
Florian Dold
b6e774585d
move webex specific things in their own directory 2017-05-28 23:15:41 +02:00
Florian Dold
38a74188d7
gulpfile / translations 2017-05-28 22:58:54 +02:00
Florian Dold
8ac71597ec
remove usage of old lang.css 2017-05-28 22:56:09 +02:00
Florian Dold
a418875877
docs 2017-05-28 22:31:54 +02:00
Florian Dold
e7fa87bcc0
documentation and tslint settings to check for docs 2017-05-28 21:55:16 +02:00
Florian Dold
08bd3dc0e8
add linting rules and fix them 2017-05-28 13:46:36 +02:00
Florian Dold
7fff4499fd
add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00
Florian Dold
489b8cb45e
correct and simplify test cases 2017-05-28 00:00:26 +02:00
Florian Dold
bd17ead09a
missing files 2017-05-27 22:56:35 +02:00
Florian Dold
478a089e52
fix module loading for node under fake web workers 2017-05-27 22:55:52 +02:00
Florian Dold
9a1b2c8ccc
convert tests to ava tests 2017-05-27 19:20:27 +02:00
Florian Dold
592fd62402
fix emscripten module loading in node 2017-05-27 19:04:07 +02:00
Florian Dold
d381226f21
Simplify loading of the emscripten lib.
This removes an ugly hack and makes it possible to access the emscripten
compiled library from within nodejs test cases more easily.
2017-05-27 18:43:34 +02:00
Florian Dold
01c58e812e
be always very strict (recently added to typescript) 2017-05-27 16:31:11 +02:00
Florian Dold
41f152b80a
simplify Checkable.Class annotation and allow extra fields in /keys response 2017-05-27 15:05:41 +02:00
Florian Dold
f9e1ad0624
comments 2017-05-24 16:56:46 +02:00
Florian Dold
96ef591fb9
comments 2017-05-24 16:52:00 +02:00
Florian Dold
8f35362dad
style, deduplication and doc comments 2017-05-24 16:45:57 +02:00
Florian Dold
39cca9f8f6
imports and comments; expose wallet for debugging 2017-05-24 16:33:10 +02:00
Florian Dold
1c8206f8c0
remove dead code and add comments 2017-05-24 16:14:23 +02:00
Florian Dold
fc53a08bb0
add some more docs 2017-05-24 15:46:49 +02:00
Florian Dold
7a3df06eb5
fix build issues and add typedoc 2017-05-24 15:11:17 +02:00
Florian Dold
aca1143cb9
simplify translations build system 2017-05-24 14:54:45 +02:00
Florian Dold
08a646a00c
eh, actually remove logging 2017-05-23 14:30:30 +02:00
Florian Dold
46776d0c30
remove debug logging, add comments 2017-05-23 14:29:34 +02:00
Florian Dold
039ab7baef
fix callBackend when response is null/undefined 2017-05-23 13:41:52 +02:00
Florian Dold
e0c9d480a7
show log when log page is loaded 2017-05-03 15:32:48 +02:00
Florian Dold
062535770e
actually POST to /payback instead of just GETting it 2017-05-01 23:00:47 +02:00
Florian Dold
10efd87a8e
store reservePub/blindingKey directly in coin 2017-05-01 04:33:47 +02:00
Florian Dold
41ed276f3a
update /keys every 15 minutes 2017-05-01 04:09:52 +02:00
Florian Dold
4c03a1200e
implement payback (with rudimentary UI) 2017-05-01 04:05:16 +02:00
Florian Dold
bb6d8317a5
revert layout changes 2017-04-29 00:05:39 +02:00
Florian Dold
89067a16dd
show earliest deposit expiration when withdrawing 2017-04-28 23:42:14 +02:00
Florian Dold
d6bf24902a
implement new reserve creation dialog and auditor management 2017-04-28 23:28:27 +02:00
Florian Dold
ce97b1076b
fix signature checks, add wire fee 2017-04-27 04:06:48 +02:00
Florian Dold
82b5754e15
download, store and check signatures for wire fees 2017-04-27 03:09:29 +02:00
Florian Dold
68e44e0e80
fix style initialization 2017-04-27 02:31:32 +02:00
Florian Dold
3c563c78d4
consider auditors when selecting exchange for payment 2017-04-26 14:11:35 +02:00
Florian Dold
a787cf2f6c
only add styles if the page requested it 2017-04-26 03:14:31 +02:00
Florian Dold
79a2eed558
remove dependency in taler-wallet-lib, implement pay signature check/storage 2017-04-26 03:10:52 +02:00
Florian Dold
cee7786b00
fix another firefox incompatibility 2017-04-24 17:50:13 +02:00
Florian Dold
b60f5cf77b
some fixes for firefox 2017-04-24 16:45:40 +02:00
Florian Dold
290677b98a
charset as first thing in head 2017-04-24 16:23:21 +02:00
Florian Dold
e57cc0560e
adapt auditor page to new module loading strategy 2017-04-24 16:22:21 +02:00
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