792 Commits

Author SHA1 Message Date
5e45f307ad client: Dockerfiles: local: root: package updates
- Prevents system upgrades from using Arch's `root` package
  * Currently, their package does not build with C++20 support

- Updates remote image package artifact location
  * Remote image's build artifact moved from /home/builder to /root

- Uses wildcard for local `root` package version
  * Reduces maintenance since any remote bump should rebuild this module
2025-12-01 14:59:11 -08:00
70be50b0d4 client: Dockerfiles: remote: root: use multi-stage
A single development stage ended up not being needed.

NOTE: `dfi` will still only pull the package artifact from the final image.
2025-12-01 14:58:58 -08:00
8816d5fd17 client: Dockerfiles: remote: root: bump to 6.38.00 2025-12-01 09:24:30 -08:00
34b200d46f Merge pull request #246 into master
221a5f70 client: docker: add `exec` wrapper, update completion (Aaron Fiore)
2025-11-26 10:48:49 -08:00
221a5f7049 client: docker: add exec wrapper, update completion 2025-11-25 15:51:05 -08:00
a75f8add47 Merge pull request #245 into master
8eb03f6d container: root: rootlogon: update the help process (Aaron Fiore)
9fec1b42 container: root: change base path, related refactor (Aaron Fiore)
273f2cef container: root: internal: update TODO re: c++23 (Aaron Fiore)
2025-11-24 10:58:51 -08:00
8eb03f6d95 container: root: rootlogon: update the help process
- Less noisy, less intrusive, more helpful
- Will allow for isolating usage help on a per-namespace level
2025-11-21 17:32:38 -08:00
9fec1b427c container: root: change base path, related refactor
The base path is now *outside* of the macro directory; allowing for a
more integrated view of `dfi`'s entire `root` system. This is more
apparent once running an interactive session where the expectation is
(more intuitively) that any path should be relative to 'src/root' and
not 'src/root/macro'.

The rationale for why this was in 'src/root/macro' to begin with stems
from how `root` (by default) will automatically load rootlogon.C in the
directory that `root` is started. This is causing more confusion than
not because `dfi`'s usage of `root` is not limited to macros.

These changes skirt the line between needing a major API bump and not
but, so far, appears to be on the side of *not*. However, the TODOs
noted for macro loading should be addressed prior to any API changes.
2025-11-21 17:32:25 -08:00
273f2cef49 container: root: internal: update TODO re: c++23 2025-11-21 11:28:14 -08:00
4780f79716 Merge pull request #244 into master
9faebb6c container: plugins: root: fix example3()'s usage of throw handler (Aaron Fiore)
ca591691 container: root: rewrite throw handler, refactor using common types (Aaron Fiore)
fa91fd02 container: root: factor out internal types to common (Aaron Fiore)
2025-11-21 11:22:14 -08:00
9faebb6cea container: plugins: root: fix example3()'s usage of throw handler
The old macros should *not* have been used in any example; as they
were intended for internal use only.

This was noted in Doxygen ...by not noting them as publicly consumable.
2025-11-21 11:15:58 -08:00
ca59169116 container: root: rewrite throw handler, refactor using common types
- Refactor using common types that were once internal
- Removes ancient macro approaches to C++20 solutions
- Changes `Exception` message type to use std::string
  * std::string_view isn't worthwhile in this context
2025-11-21 11:15:58 -08:00
fa91fd02e8 container: root: factor out internal types to common
These types and handlers are too generic to be kept internal only.

They can now be used across all root macros, plugins and overall API.
2025-11-20 17:44:32 -08:00
fa417f5d01 Merge pull request #243 into master
cf68f02d container: root: test: utility: add tests for common (Aaron Fiore)
0d4b293b client/container: root: refactor common namespace (Aaron Fiore)
2025-11-19 13:42:20 -08:00
cf68f02d2f container: root: test: utility: add tests for common 2025-11-19 13:23:52 -08:00
0d4b293b2d client/container: root: refactor common namespace
- Factor out respective common from macro and apply to all scopes
  * `dfi::common`
  * `dfi::macro::common`
  * `dfi::plugin::common`

- Add deprecation warnings in `dfi::macro::common`
  * Common functionality (not macro specific) is now in `dfi::common`

- Add convenience wrappers to inner common impl, where appropriate
  * Allows for backwards compatibility

- Add/update/clarify code docs and Doxygen definitions

- Related refactoring

NOTE: all changes are backward compatible (no need to bump major).
2025-11-19 13:23:52 -08:00
5bcc17380b Merge pull request #242 into master
31cc3202 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50.3 (Aaron Fiore)
2025-11-18 19:20:34 -08:00
31cc320298 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50.3 2025-11-18 19:13:44 -08:00
e8e3aa11fa Merge pull request #241 into master
8c76e7cc container: root: macro: common: throw if invalid loading path (Aaron Fiore)
2025-11-14 13:24:10 -08:00
8c76e7cc11 container: root: macro: common: throw if invalid loading path
- Fixes silent failure when attempting to load non-existent/invalid path
- Applies to any macro, plugin or path that's loaded through this class
2025-11-14 13:19:09 -08:00
1c352f278b Merge pull request #240 into master
8bd51fed client: Dockerfiles: remote: root: add PACKAGER to makepkg (Aaron Fiore)
cf3eccd5 client: Dockerfiles: remote: root: remove more GUI opts (Aaron Fiore)
2025-11-14 13:17:21 -08:00
8bd51fed65 client: Dockerfiles: remote: root: add PACKAGER to makepkg
When querying with pacman, provides clearer information instead of
"Unknown Packager".
2025-11-13 14:07:53 -08:00
cf3eccd52b client: Dockerfiles: remote: root: remove more GUI opts
These are currently not needed. Improves build time and package size.
2025-11-13 13:52:13 -08:00
dcc165f0b3 Merge pull request #238 into master
8b59cee8 client/container: root: migrate to Botan3 (Aaron Fiore)
2025-11-11 14:42:28 -08:00
8b59cee84c client/container: root: migrate to Botan3
- This is possible now that `dfi`'s ROOT build supports C++20
- No internal `dfi` API or impl changes are necessary
  * This includes any Botan signatures
2025-11-07 13:13:53 -08:00
2d58c9ef29 Merge pull request #237 into master
78ee492c client: Dockerfiles: local: root: use evergreencrypto/root image (Aaron Fiore)
7b67bcf1 client: Dockerfiles: remote: root: add evergreencrypto/root image (Aaron Fiore)
2025-11-07 12:58:13 -08:00
78ee492c46 client: Dockerfiles: local: root: use evergreencrypto/root image
- Provides C++20 support and a slimmer package (~18% smaller)
- Required for issue #23 (bitcoin-core lib support)
2025-11-06 16:22:40 -08:00
7b67bcf115 client: Dockerfiles: remote: root: add evergreencrypto/root image
Provides C++20 support and a slimmer package (~18% smaller).
2025-11-06 16:22:40 -08:00
9bcdc6d786 Merge pull request #235 into master
12e6d139 CHANGELOG: add 1.0.0 (Aaron Fiore)
3215d324 client: manifest: bump version to v1.0.0 (Aaron Fiore)
v1.0.0
2025-10-31 13:52:04 -07:00
12e6d13939 CHANGELOG: add 1.0.0 2025-10-30 16:46:18 -07:00
3215d3242c client: manifest: bump version to v1.0.0 2025-10-30 16:28:57 -07:00
e5caa39deb Merge pull request #234 into master
32ac0e0e repo: gitea: template: update bug template (Aaron Fiore)
2025-10-29 17:06:08 -07:00
32ac0e0e42 repo: gitea: template: update bug template
- Clarifies language, reflects latest impl
- Removes unncessary hurdles and maintenance
2025-10-29 17:01:57 -07:00
2482ed1a50 Merge pull request #232 into master
6950feda Migrate all docs and related assets to 'dfi-docs' repository (Aaron Fiore)
2025-10-29 16:36:42 -07:00
6950fedae5 Migrate all docs and related assets to 'dfi-docs' repository
and also redesign/update 'docker-finance' README
2025-10-29 16:23:32 -07:00
9b322d78f7 Merge pull request #227 into master
249e2ca7 container: hledger-flow: electrum: add mockup w/ lightning (Aaron Fiore)
d684f370 container: hledger-flow: electrum: add lightning, backwards compat (Aaron Fiore)
2025-10-29 16:19:32 -07:00
249e2ca77a container: hledger-flow: electrum: add mockup w/ lightning 2025-10-29 15:54:44 -07:00
d684f370ff container: hledger-flow: electrum: add lightning, backwards compat
*WARNING*: lightning support is a WIP due to an unresolved electrum
lightning history bug (see docker-finance #227).

This commit is needed for backwards compatibility, as the new electrum
format will break import - even if lightning is never used.
2025-10-29 15:54:44 -07:00
ccaab13534 Merge pull request #231 into master
0266157a client/container: usage help updates (Aaron Fiore)
2025-10-28 12:15:10 -07:00
0266157abe client/container: usage help updates 2025-10-28 12:13:10 -07:00
9bc6be3a49 Merge pull request #230 into master
da40a93a container: lib_taxes: don't attempt to patch non-existent taxable events (Aaron Fiore)
960e51fe container: lib_taxes: fix printing for 'all' years (Aaron Fiore)
e9960461 container: lib_taxes: fix arg parsing for 'all' years (Aaron Fiore)
2025-10-28 12:10:43 -07:00
da40a93ae1 container: lib_taxes: don't attempt to patch non-existent taxable events
An optimization and printing cleanup (attempts to patch won't break)
2025-10-28 12:09:57 -07:00
960e51fe0a container: lib_taxes: fix printing for 'all' years 2025-10-28 12:09:57 -07:00
e9960461b7 container: lib_taxes: fix arg parsing for 'all' years
Impl was not able to process 'all' years because global_arg_year was set
2025-10-28 12:09:57 -07:00
7588f703dc Merge pull request #229 into master
9735317a container: plugins: root: fix example3()'s shell (Aaron Fiore)
2025-10-28 12:07:07 -07:00
9735317ae8 container: plugins: root: fix example3()'s shell
The spawned shell needs its sourced environment and aliases.

Resolves:

  sh: line 1: dfi: command not found
  Error in <TRint::HandleTermInput()>: std::runtime_error caught:
          FILE = "/home/business/docker-finance/plugins/root/example.cc"
          LINE = 125
          WHAT = "command failed"
2025-10-22 16:01:05 -07:00
a8a9d915c3 Merge pull request #228 into master
aaf3c21b container: hledger-flow: ethereum-based: compound: add internal swapping (Aaron Fiore)
2025-10-16 14:28:41 -07:00
aaf3c21b7d container: hledger-flow: ethereum-based: compound: add internal swapping
when supplying/withdrawing.
2025-10-15 10:32:32 -07:00
70e9f3be68 Merge pull request #226 into master
e3f50ddb container: hledger-flow: vultr: add credits support (Aaron Fiore)
2025-10-10 14:25:24 -07:00
e3f50ddb72 container: hledger-flow: vultr: add credits support
- Fixes direction to allow for credits issued by Vultr for N instances
- Updates documentation, adds where to put invoices to catch Sales Tax
2025-10-09 12:41:31 -07:00