Commit Graph

8 Commits

Author SHA1 Message Date
tomFlowee 9f29e72041 Fix sometimes a transaction being missorted.
The mobile clients shows our transactions sorted by timespan, now we
correctly prefer showing 'yesterday' in more cases.
2026-01-27 23:05:05 +01:00
tomFlowee 8c86f18a33 Fix test after model change. 2026-01-14 20:04:27 +01:00
tomFlowee 45ab9b23bb Wrap Wallet in shared_ptr
The Wallet object used to have a guarenteed lifetime longer than the App
singleton, but then we started allowing people to delete their wallet
(argh!).
Also "external" modules, especially living outside of the main tree,
would be much more stable if they can avoid using raw pointers for core
concepts like the Wallet.
2025-10-08 22:54:27 +02:00
tomFlowee 0bb6bb0bf5 Fix includes
Avoid the includes of whole modules, which is expensive and
unpredictable.
2025-03-07 23:27:08 +01:00
tomFlowee 1220a3839c Start a setup for modules.
This sets up a basic system for creating modules on top of the flowee
pay static lib in a way that is ensured to be isolated (modules can't
accidentally use each other's classes)

The setup is made such that the buildsystem does the hard work on
plugging in a new module, making it so that all you need to do is create
a new dir and a "{something}ModuleInfo.h" file and it will get compiled
in.
The point there is to make it not have any merge conflicts and just make
it dead easy to get started.
2023-06-13 15:59:37 +02:00
tomFlowee 5125ecc222 Upgrade tests for 'earlier-this-month' model.
This fixes some cornercases and makes the test
a) properly data-driven (don't use 'today').
b) much more extensive.

This also removes some duplicate code and fixes some bugs in the actual
model it tests.
2023-05-08 10:29:15 +02:00
tomFlowee d5d5c74cb4 Fixlet in unit test. 2023-02-02 12:46:30 +01:00
tomFlowee 702735e17a Fix the grouping of transactions.
This adds a unit test as well, which is a bit tricky as this is date
specific.
2022-12-13 20:53:58 +01:00