Commit Graph

39 Commits

Author SHA1 Message Date
Sebastian
32f6409ac3
all the browser related code move into one place, making it easy for specific platform code or mocking for testing 2022-03-23 10:58:57 -03:00
5d23eb3635
wallet: improve error handling and error codes 2022-03-22 21:16:38 +01:00
Sebastian
88bb943672
fix #7164: firefox back button after a 402 redirect 2022-03-21 09:40:15 -03:00
Sebastian
e84cb95887
chrome.tabs.update does not work on async request interception, so using a delay 2022-03-15 17:46:46 -03:00
Sebastian
984cbb7ab7
save tos etag after forced refresh 2022-03-15 00:24:39 -03:00
Sebastian
3e92c24968
settings new design 2022-02-16 15:16:21 -03:00
5844a3065c
DB reset must be async 2022-02-03 14:36:37 +01:00
Sebastian
0aa26448d4
fix: cta header, fix: do not reset ToS ETAG when getting the exchange ToS 2022-01-24 09:46:20 -03:00
Sebastian
2a417881bb
fix permission api, grouping all cta into same path 2022-01-24 09:46:20 -03:00
Sebastian
bc817a638d
#7120 manifest v3: first iteration working
new permission needed: scripting
chrome.browserAction -> chrome.action
webRequestBlocking is not possible anymore
chrome.extension.getUrl -> chrome.runtime.getUrl
new serviceWorkerHttpLib: using fetch
new serviceWorkerCryptoWorkerFactory: using syncCryptoImpl
few other minor changes

still missing some other changes like migrating setTimeout to chrome.alarms api
2022-01-16 17:55:01 -03:00
a5f81b1c87
-fix FTBFS due to inability of TypeScript to identify complex recursive types 2022-01-05 17:28:56 +01:00
dc040ba41c
update dependencies to fix rollup issue 2022-01-05 16:48:22 +01:00
Sebastian
a35604fd56
some changes:
- simplify design to reuse more components (from wallet instead of popup)
 - simplify hooks (useAsyncAsHook)
 - updateNotification from backend now filter events by type
 - new balance design proposed by Belen
 - more information when the withdrawal is in process
 - manual withdrawal implementation
 - some bugs killed
2021-11-19 14:51:35 -03:00
c0e6b6d0f6
run pending operations at least once, style fixes 2021-08-19 15:12:33 +02:00
3ce740d87d
store 'list issue date' of denoms, cleanup 2021-08-19 13:48:45 +02:00
Sebastian
e9bb85a212
new wallet UI and more tests 2021-08-13 18:04:30 -03:00
Sebastian
abbf899b97
add ex handling on wallet init 2021-08-09 10:43:02 -03:00
Sebastian
2ec3f4a5d5
initialization for webextension 2021-08-09 10:41:02 -03:00
Christian Grothoff
f30705623b
-fix typo 2021-07-14 14:34:58 +02:00
e35c2f581b
simplify task loop, test coin suspension 2021-06-22 13:52:28 +02:00
99550b0011
hide internal wallet state, keep it internal to package 2021-06-17 21:06:54 +02:00
Sebastian
86636142a2
split wallet,popup .html 2021-06-16 17:17:18 -03:00
Sebastian
562b2cf8d2
fix: ReferenceError: state is not defined 2021-06-16 17:17:17 -03:00
d41ae5eb97
separate wallet state from wallet client 2021-06-15 18:52:43 +02:00
5c26461247
database access refactor 2021-06-09 15:24:19 +02:00
Sebastian
e1b363c7dd
delete database when pressing reset-db 2021-06-04 12:42:35 -03:00
Sebastian
e223c01275
handle reset click, still need to delete database but the funcionality is missing for firefox 2021-06-04 12:42:34 -03:00
Sebastian
4ed4535bc0
preact routing on the wallet 2021-05-07 18:16:30 -03:00
Sebastian
30f86f8748
migrate to preact 2021-05-07 10:39:49 -03:00
d44740b787
fix build issues 2021-03-27 14:36:08 +01:00
Sebastian
4845ebddf6
0006728: set up wallet CI pipeline for WebExtension build
This commit split in three main things:
 * added deploy-webext to upload the extension zipfile
 * put scope into the npm packages to be able to deploy them
 * added deploy-npm to deploy related npm packages

Also, fixing bug on `make clean`. Some packages where not
being deleting tsconfig.tsbuildinfo and making subsequent
`make` fail
2021-02-01 17:07:22 -03:00
050999a910
implement infrastructure for future DB migrations via backup 2021-01-13 00:50:56 +01:00
Florian Dold
71abddec5e
make withdrawal, pay and refunds work in the WebExtension 2020-09-09 12:45:49 +05:30
Florian Dold
1548086f50
make diagnostics, welcome page and permissions work again 2020-08-21 20:56:25 +05:30
Florian Dold
e3850158c2
re-implement integration test functionalty that will be used by the exchange for testing 2020-08-14 13:06:42 +05:30
Florian Dold
cbe325cb0f
web extension WIP 2020-08-14 00:13:51 +05:30
Florian Dold
f180d05804
remove excessive namespacing, format 2020-08-12 12:41:00 +05:30
Florian Dold
172a51a43a
towards webextension working again 2020-08-10 22:19:23 +05:30
Florian Dold
ffd2a62c3f
modularize repo, use pnpm, improve typechecking 2020-08-03 13:01:05 +05:30