View Issue Details

IDProjectCategoryView StatusLast Update
0005036Talerwallet (WebExtension)public2019-12-20 18:11
ReporterFlorian Dold Assigned ToFlorian Dold Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.6Fixed in Version0.6 
Summary0005036: create an implementation for IndexedDB to be used outside of the browser
DescriptionExisting node implementations are terrible. We should have at least a simple in-memory implementation for test cases, implementing the subset of IndexedDB that our query abstraction uses.

Later we can implement it for sqlite3.

The IndexedDB API is pretty reasonable, this shouldn't be too much work (famous last words ...).
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2017-05-28 20:51

manager   ~0012175

Is this for testing, for apps or for both?

Florian Dold

2017-05-28 20:55

manager   ~0012176

For both. As of today, we can run tests that use WebWorkers (and thus test the crypto thread) in NodeJs. This uses a small module to translate WebWorkers to NodeJS subprocesses. I also want to be able to run tests that use the database outside the browser, for performance reasons.

Note that the database will still be very small, so this implementation doesn't need to be optimized initially.

Another nice use case might be end-to-end tests without using the browser, where we do a withdraw and spend using a command line version of the TypeScript wallet. This allows us to cheaply run test cases, right now the selenium test cases basically kill taler.net because they hog so much memory (due to Chrome/Selenium).

Christian Grothoff

2017-05-28 20:58

manager   ~0012177

Ok, then let's schedule this for 0.6 (obviously could be done earlier, but 0.6 is where we want to have really good testing).

Florian Dold

2019-08-17 12:49

manager   ~0014788

IndexedDB with file-backed and memory-backed storage is now implemented in the idb-bridge package inside the wallet repo.

Issue History

Date ModifiedUsernameFieldChange
2017-05-28 20:45Florian DoldNew Issue
2017-05-28 20:45Florian DoldStatusnew => assigned
2017-05-28 20:45Florian DoldAssigned To => Florian Dold
2017-05-28 20:51Christian GrothoffNote Added: 0012175
2017-05-28 20:51Christian GrothoffSeverityminor => feature
2017-05-28 20:51Christian GrothoffProduct Version => git (master)
2017-05-28 20:55Florian DoldNote Added: 0012176
2017-05-28 20:58Christian GrothoffTarget Version => 0.6
2017-05-28 20:58Christian GrothoffNote Added: 0012177
2017-12-12 22:23Florian DoldSummarycreate an implementation for IndexedDB to used outside of the browser => create an implementation for IndexedDB to be used outside of the browser
2019-08-17 12:49Florian DoldStatusassigned => informing
2019-08-17 12:49Florian DoldResolutionopen => fixed
2019-08-17 12:49Florian DoldNote Added: 0014788
2019-12-20 18:11Christian GrothoffFixed in Version => 0.6
2019-12-20 18:11Christian GrothoffStatusinforming => closed
2023-04-13 18:37Florian DoldCategorywallet (WebExtensions) => wallet (WebExtension)