Commit Graph

671 Commits

Author SHA1 Message Date
d83d9835da container: root: macro: Hash: change output to CSV format
The output can now be used with container's CSV tools.
2025-09-19 10:48:01 -07:00
c604ca8e39 container: root: macro: Random: change output to CSV format
The output can now be used with container's CSV tools.
2025-09-19 10:18:36 -07:00
a396701548 Merge pull request #216 into master
f28a148 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50.1 (Aaron Fiore)
6c1b7a0 client: Dockerfiles: remote: hledger-suite: bump hledger-iadd to v1.3.22 (Aaron Fiore)
4c0474e client: Dockerfiles: remote: hledger-suite: bump hledger-flow to v0.16.0 (Aaron Fiore)
cc0ec7a client: Dockerfiles: remote: hledger-suite: use hledger-flow master tip (Aaron Fiore)
a7289bd client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50 (Aaron Fiore)
2025-09-19 10:16:29 -07:00
f28a148f5c client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50.1
Also update build process for a successful build and better caching.
2025-09-18 20:52:45 -07:00
6c1b7a0fb1 client: Dockerfiles: remote: hledger-suite: bump hledger-iadd to v1.3.22
Also update build process for a successful build and better caching.

Despite recent releases, hledger-iadd's stack configuration is not
regularly maintained (very out of date). The install documentation is
also very out of date. The maintainer appears to be using cabal for
building.
2025-09-18 20:50:43 -07:00
4c0474ea9f client: Dockerfiles: remote: hledger-suite: bump hledger-flow to v0.16.0
Also update build process for a successful build and better caching.
2025-09-18 20:50:00 -07:00
cc0ec7a112 client: Dockerfiles: remote: hledger-suite: use hledger-flow master tip
As discussed in #216, hledger-flow breaks with the latest hledger
release (1.50).

Until hledger-flow has another release, current master tip appears to be
as stable as v0.15.0 and includes fixes that work with hledger 1.50.
2025-09-05 16:36:50 -07:00
a7289bde16 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50 2025-09-04 15:14:54 -07:00
3c38f73e21 Merge pull request #215 into master
c68a668 container: finance: completion: add 'help' to `plugins` (Aaron Fiore)
c336451 container: finance: lib_plugins: update usage help (Aaron Fiore)
745a16e container: finance: completion: add `root` (Aaron Fiore)
3348666 container: root: rootlogon.C: remove default help() (Aaron Fiore)
ed16344 container: finance: add lib_root impl (macro/plugin support) (Aaron Fiore)
2025-09-04 15:11:03 -07:00
c68a6680ef container: finance: completion: add 'help' to plugins 2025-09-04 15:08:20 -07:00
c3364511b0 container: finance: lib_plugins: update usage help
- Clarify usage, add examples, note plugin support type
  * finance's `plugins` only supports shell-based plugins
    - To use `root` plugins, use `root` command (see `root help`)
2025-09-04 15:08:20 -07:00
745a16e086 container: finance: completion: add root 2025-09-04 15:08:20 -07:00
33486665a9 container: root: rootlogon.C: remove default help()
Help will automatically load when starting an interactive instance.
2025-09-04 15:08:19 -07:00
ed163448f9 container: finance: add lib_root impl (macro/plugin support)
- dfi's `root` now supports shell loading (and running) of
  macros/plugins:

  * An interactive ROOT.cern instance is no longer *always* needed:

    - For macros (non-server); a 'one-off' instance will start, load the
      given macro, run the macro and then the instance will exit.

      * Server(s) will maintain an interactive instance.

    - For plugins; an interactive instance will start, load the given
      plugin, and then leave the user to make their calls manually.

  * All repo macros and repo/custom plugins are available.

- By default, an interactive instance will start when no dfi `root`
  arguments are given.

See `root help` for details.
2025-09-04 15:08:19 -07:00
ae32cfa229 Merge pull request #214 into master
2ec14fa container: hledger-flow: paypal-business: add expenses description subaccount (Aaron Fiore)
ef3b255 container: hledger-flow: paypal: add expenses description subaccount (Aaron Fiore)
2025-09-04 12:12:22 -07:00
2ec14fa1e1 container: hledger-flow: paypal-business: add expenses description subaccount
- If expense description exists, add description as subaccount
  * This is consistent with all other legacy finance rules
    - Typically, legacy institutions provide a column for category type.
      Since PayPal doesn't provide that data, using the description will
      provide the needed information for granular (full view) reporting.

- Removes old TODO that is no longer applicable
  * End-user will need to use custom rules, if needed
2025-09-02 13:23:35 -07:00
ef3b255bac container: hledger-flow: paypal: add expenses description subaccount
- If expense description exists, add description as subaccount
  * This is consistent with all other legacy finance rules
    - Typically, legacy institutions provide a column for category type.
      Since PayPal doesn't provide that data, using the description will
      provide the needed information for granular (full view) reporting.
2025-09-02 13:22:56 -07:00
7daa325a89 Merge pull request #213 into master
b1ed20a container: hledger-flow: finish uniform fiat subaccounts (Aaron Fiore)
2025-08-29 13:15:37 -07:00
b1ed20a4c8 container: hledger-flow: finish uniform fiat subaccounts
- For consistency across *all* hledger-flow accounts/rules.
- For future-proofing legacy finance (as related to #163).
2025-08-29 13:09:54 -07:00
8172a7a6b7 Merge pull request #212 into master
178c197 container: lib_fetch: fix wording to reflect impl (Aaron Fiore)
2025-08-26 14:59:36 -07:00
178c197320 container: lib_fetch: fix wording to reflect impl 2025-08-26 14:06:46 -07:00
d63b92ba34 Merge pull request #211 into master
5e7453d client: lib_linter: specify .clang-format location (Aaron Fiore)
abac2a3 container: c++: run linter (Aaron Fiore)
2025-08-21 12:53:26 -07:00
5e7453d468 client: lib_linter: specify .clang-format location
This commit allows *custom* C++ plugins to be linted/formatted in the
same way as their repo counterparts (using the same repo rulesets).

Previously, when runing the linter, only *repo* C++ plugins would be
formatted. Since custom plugin formatting for both Bash and PHP are
already in place, this simply extends the feature to C++.
2025-08-19 14:17:42 -07:00
abac2a37d6 container: c++: run linter 2025-08-19 13:57:31 -07:00
cc7ecf27a6 Merge pull request #210 into master
1ce0802 container: c++: `dfi` namespace refactor (Aaron Fiore)
491d775 container: php: `dfi` namespace refactor (Aaron Fiore)
2025-08-19 13:55:32 -07:00
1ce08021f8 container: c++: dfi namespace refactor
Align with project alias, save the eyes and hands.
2025-08-19 13:54:18 -07:00
491d77553f container: php: dfi namespace refactor
Align with project alias, save the eyes and hands.
2025-08-19 13:53:50 -07:00
dbf9cbf6c9 Merge pull request #209 into master
903560c container: php: refactor for linter (Aaron Fiore)
2025-08-19 13:39:48 -07:00
903560ccc3 container: php: refactor for linter
- Removes deprecations (since PHP 8.4)
- Resolves linter errors
2025-08-19 11:09:05 -07:00
3adcb008d2 Merge pull request #208 into master
07b7105 container: fetch: refactor for php (Aaron Fiore)
2025-08-19 10:38:09 -07:00
07b710567d container: fetch: refactor for php
- Refactors locations for internal `fetch` impl and deps (composer)
  * A softer hardcoding without the need for a new autoloader
  * A restructured solution to silence the linter (phpstan)

NOTE: variables are prepended with *_PHP_* as to not bring confusion
with any other `dfi` dependencies or the `dfi` `root` module (C++).
2025-08-18 14:37:29 -07:00
c9406636c5 Merge pull request #206 into master
5c79419 CHANGELOG: add 1.0.0-rc.3 (Aaron Fiore)
21bb545 client: manifest: bump version to v1.0.0-rc.3 (Aaron Fiore)
v1.0.0-rc.3
2025-08-12 12:22:42 -07:00
5c7941944c CHANGELOG: add 1.0.0-rc.3 2025-08-12 12:18:29 -07:00
21bb54588c client: manifest: bump version to v1.0.0-rc.3 2025-08-12 12:05:56 -07:00
18e1993468 Merge pull request #207 into master
8fed7f8 client: lib_docker: make fatal if user not given (Aaron Fiore)
c2789f5 client: docker: don't make fatal for empty/invalid command (Aaron Fiore)
38391e0 client: lib_env: fix handling of global command (Aaron Fiore)
fd338b6 client: docker/lib_docker: make fatal for unsupported platform (Aaron Fiore)
2025-08-12 12:04:52 -07:00
8fed7f8c54 client: lib_docker: make fatal if user not given 2025-08-12 11:03:40 -07:00
c2789f54db client: docker: don't make fatal for empty/invalid command 2025-08-12 11:02:10 -07:00
38391e03c7 client: lib_env: fix handling of global command 2025-08-12 11:02:07 -07:00
fd338b60f6 client: docker/lib_docker: make fatal for unsupported platform 2025-08-12 11:02:04 -07:00
07d1cd13f1 Merge pull request #205 into master
5a06087 client: docker-finance.d: fetch: price: allow non-alpha character (Aaron Fiore)
671362b container: finance: fetch: prices: format non-alpha currencies (Aaron Fiore)
2025-08-11 12:44:35 -07:00
5a0608751a client: docker-finance.d: fetch: price: allow non-alpha character
Now supported in impl.
2025-08-08 14:29:59 -07:00
671362b445 container: finance: fetch: prices: format non-alpha currencies
Formats non-alpha character currencies for hledger's prices journal
(e.g., "1INCH", "USDC.e", etc.)
2025-08-08 13:58:38 -07:00
618109594d Merge pull request #204 into master
812d9cc container: hledger-flow: remove potential % interpretation (printf) (Aaron Fiore)
2025-08-08 12:59:01 -07:00
812d9cc7ce container: hledger-flow: remove potential % interpretation (printf)
Removes potential interpretation of percent signs in various types of
descriptions/notes/labels (otherwise, import may break).

Resolves "fatal: not enough arguments to satisfy format string" under
certain conditions.
2025-08-08 12:56:14 -07:00
fee4e00fe3 Merge pull request #203 into master
cc2e4a7 container: hledger-flow: btcpayserver: update mockups (Aaron Fiore)
5920d87 container: hledger-flow: btcpayserver: support "Legacy Invoice Export" plugin, update "Wallets" impl (Aaron Fiore)
2025-08-08 12:42:44 -07:00
cc2e4a736f container: hledger-flow: btcpayserver: update mockups
Reflects latest "Legacy Invoice Export" and "Wallets" exports.
2025-08-08 12:33:24 -07:00
5920d87f86 container: hledger-flow: btcpayserver: support "Legacy Invoice Export" plugin, update "Wallets" impl
BTCPay Server v2.2.0 has a new "Invoices" export format that is more
complex than the prior "Legacy Invoice Export" format.

To help facilitate the transition to the new format, upstream has
provided a plugin for backwards compatibility. However, this plugin
happens to provide additional columns that must be supported.

Additionaly, the "Wallets" format also has new columns with fee
information, so the impl now supports tx fees (prior, fees required
manual input).

The "Wallets" impl also now defaults to a refund expense account for
outgoing txs and adds tax rules & documentation for rationale.
2025-08-08 12:33:24 -07:00
f0d20ffe26 Merge pull request #202 into master
731f920 container: lib_taxes: remove non-alpha char (currency) hack (Aaron Fiore)
facde4f container: fetch: gemini: remove non-alpha char (currency) hack (Aaron Fiore)
b51b94d container: hledger-flow: support non-alpha chars (currency) (Aaron Fiore)
2025-08-08 12:31:00 -07:00
731f9206f8 container: lib_taxes: remove non-alpha char (currency) hack
Now supported within flow impl.
2025-08-08 12:25:18 -07:00
facde4f533 container: fetch: gemini: remove non-alpha char (currency) hack
Now supported within flow impl.
2025-08-08 12:25:18 -07:00