Commit Graph

400 Commits

Author SHA1 Message Date
Florian Dold
f4d39c10e5
Swedish translation, i18n fixes 2018-02-22 08:58:48 +01:00
Florian Dold
a4e6966241
i18n fixes 2018-02-20 17:17:36 +01:00
Florian Dold
23f4998dfe
Firefox on Android compatibility 2018-02-20 16:17:05 +01:00
Florian Dold
6aa929f2a7
Fix redirect for Firefox on Android 2018-02-20 15:12:45 +01:00
Florian Dold
65228afb87
render both string and JSON amounts correctly to HTML 2018-02-20 09:33:17 +01:00
Florian Dold
f1bef0473b
prevent embedding wallet pages in other web pages 2018-02-07 16:15:40 +01:00
Florian Dold
d088c7503c
count coins being spent properly 2018-02-05 13:26:06 +01:00
Florian Dold
4e30e1e0e9
manifest version 2018-02-05 13:14:20 +01:00
Florian Dold
d9683861f9
fix performance and UI issues with tipping 2018-02-01 07:19:03 +01:00
Florian Dold
97f6e68ce3
change protocol to string amount network format 2018-01-29 22:58:47 +01:00
Florian Dold
9fe6dc5965
better error handling 2018-01-29 18:59:45 +01:00
Florian Dold
83674bd7a9
cosmetics 2018-01-29 18:40:29 +01:00
Florian Dold
1a66e232a5
implement aborting and getting refunds from failed payments 2018-01-29 16:41:17 +01:00
Florian Dold
c8c03e381e
better types 2018-01-23 17:05:58 +01:00
Florian Dold
aec2c1301e
refactor submitPay 2018-01-23 16:19:03 +01:00
Florian Dold
b517163ece
compat module 2018-01-22 14:21:03 +01:00
Florian Dold
2aa61c9fc7
fix refund fast path 2018-01-22 01:30:02 +01:00
Florian Dold
3325d1d050
don't animate badge for Firefox 2018-01-22 01:28:07 +01:00
Florian Dold
ae177549a5
implement flicker-free refunds 2018-01-22 01:12:08 +01:00
Florian Dold
1671d9a508
refactor tipping, adjust to new redirect-based API 2018-01-19 01:27:27 +01:00
Florian Dold
2f68e9e50e
fix handling of resource_url 2018-01-18 02:50:18 +01:00
Florian Dold
82d9c2a7cd
access refunds correctly 2018-01-18 01:37:30 +01:00
Florian Dold
d4c2f6f6f9
use full amount with wire fees when creating deposit permission 2018-01-17 05:33:06 +01:00
Florian Dold
c62ba4986f
implement new mobile-compatible payment logic 2018-01-17 03:49:54 +01:00
Florian Dold
894a09a51c
rename data -> contract_terms 2018-01-16 17:57:29 +01:00
Florian Dold
09c7be80fd
fix /pay API 2018-01-04 13:22:23 +01:00
Florian Dold
202d51c6a2
refactor / put some types where they belong 2018-01-04 11:35:04 +01:00
Florian Dold
02b4a2ad62
store sender wire info in separate store 2018-01-04 11:08:39 +01:00
Florian Dold
fd2cd9c383
fix lint issues and separate message types into multiple files 2018-01-03 14:42:06 +01:00
Florian Dold
0b1c78b586
rename 'f' to 'contribution' in deposit permission 2018-01-01 18:56:22 +01:00
Marcello Stanisci
ceda0da31a
stick to bank API change 2017-12-14 15:37:37 +01:00
Florian Dold
ddec9cf2fa
only run crypto worker on half of available threads 2017-12-12 23:06:13 +01:00
Florian Dold
5a8d880ebd
measure time for the operation only while not in queue 2017-12-12 22:49:04 +01:00
Florian Dold
ca2a46a857
precompute speculative signature for payment 2017-12-12 21:54:14 +01:00
Florian Dold
6594355704
only warn when actually necessary 2017-12-12 17:37:06 +01:00
Florian Dold
9b18c87deb
typos 2017-12-12 16:51:13 +01:00
Florian Dold
b5a4bcb247
show notification dot when balance changes (#5214) 2017-12-12 16:39:55 +01:00
Florian Dold
1bcc5022c2
show tip in history 2017-12-12 15:38:03 +01:00
Florian Dold
c87a0d5514
show next url to go after tipping 2017-12-11 17:46:06 +01:00
Florian Dold
3c882c44b5
fix problems found by newer TypeScript compiler 2017-12-10 23:02:00 +01:00
Florian Dold
6947e79bbc
implement db garbage collection (fixes #4526, #4188) 2017-12-10 21:34:56 +01:00
Florian Dold
b855c547fb
make tables scrollable when they would overflow, make long keys expandable 2017-12-10 18:25:44 +01:00
Florian Dold
5e837207a1
fix German po bug 2017-12-10 18:03:05 +01:00
Florian Dold
ee9adea89a
fix tipping 2017-12-09 15:56:05 +01:00
Florian Dold
3e6bd6351f
implement new, optimized refresh protocol 2017-12-09 03:37:21 +01:00
Florian Dold
2e48d83b2b
nicely show version if there is a mismatch 2017-12-08 16:51:44 +01:00
Florian Dold
289d2cb572
do not interfere with page visibility 2017-12-01 03:20:57 +01:00
Florian Dold
df8ddcb5a5
Revert "only hide page when doing payment"
This reverts commit f438305b6e.
2017-12-01 03:18:15 +01:00
Florian Dold
f438305b6e
only hide page when doing payment 2017-12-01 03:17:32 +01:00
Florian Dold
b8ccc7c990
partial implementation of tipping 2017-12-01 03:00:09 +01:00
Marcello Stanisci
1c2e73e193
fix page title 2017-10-17 13:40:11 +02:00
Florian Dold
f7585780bf
remove broken link 2017-10-17 12:11:54 +02:00
Florian Dold
4955454440
fix history rendering issue caused by i18n 2017-10-17 12:06:47 +02:00
Florian Dold
1eec95e840
remove incomplete memory IDB implementation for now
Currently lives in its own branch, will be re-added to master once
complete to avoid linting issues.
2017-10-15 20:31:50 +02:00
Florian Dold
8b2f53e3ed
fix tslint warnings 2017-10-15 20:30:33 +02:00
Florian Dold
353eeca339
add missing typeof, makes unit tests pass 2017-10-15 18:55:34 +02:00
Florian Dold
03782f8aea
derive history from db instead of storing it 2017-10-15 18:30:02 +02:00
Florian Dold
9df98e65f8
update dependencies 2017-10-14 18:40:54 +02:00
Florian Dold
008926b184
compute full fees for refresh and spending 2017-08-30 17:08:54 +02:00
Florian Dold
24e021fef3
don't stop injection early 2017-08-30 15:36:24 +02:00
Florian Dold
43575b5919
show error in create reserve dialog 2017-08-27 06:47:13 +02:00
Florian Dold
b47522c11b
proper rounding for amount operations 2017-08-27 05:57:39 +02:00
Florian Dold
63914ab53b
make sure that refreshing works after refund 2017-08-27 05:42:46 +02:00
Florian Dold
ccc6d82242
canonicalize account info JSON when collecting them 2017-08-27 04:35:24 +02:00
Florian Dold
24181bdf20
better error report / retry prompt for failed payments 2017-08-27 04:19:11 +02:00
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