Commit Graph

741 Commits

Author SHA1 Message Date
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
b51b94d8a3 container: hledger-flow: support non-alpha chars (currency)
Removes old hack for currencies with non-alpha characters.
2025-08-08 12:25:18 -07:00
5847ace601 Merge pull request #201 into master
418ed80 container: hledger-flow: ethereum-based: support non-alpha chars (currency) (Aaron Fiore)
0ce9302 container: hledger-flow: ethereum-based: rules (spam): add arbitrum/base/optimism, update polygon (Aaron Fiore)
cc024b8 container: hledger-flow: metamask: mockups: add arbitrum/base/optimism, update polygon (Aaron Fiore)
d270d56 client/container: ethereum-based: support Etherscan V2, add more L2 chains (Aaron Fiore)
2025-08-05 10:14:01 -07:00
418ed80a8c container: hledger-flow: ethereum-based: support non-alpha chars (currency)
- Fixes broken import of any tx that contains non-alpha character(s) in
  its currency (digits, etc.)
  * Currencies may now contain any character(s) supported by hledger
2025-08-04 15:27:33 -07:00
0ce9302e50 container: hledger-flow: ethereum-based: rules (spam): add arbitrum/base/optimism, update polygon 2025-08-04 15:07:42 -07:00
cc024b838e container: hledger-flow: metamask: mockups: add arbitrum/base/optimism, update polygon 2025-08-04 15:07:10 -07:00
d270d56366 client/container: ethereum-based: support Etherscan V2, add more L2 chains
- Implements support for unified API via Etherscan V2 (ethereum-based)
  * All ethereum-based L2s are now accessed via single API endpoint
    - Chains are now available via chain ID
  * Updates API key requirement for `fetch` ethereum-based subaccounts
    - The API key's value must now be prepended with "etherscan"
      * Previously was prepended per-chain ("ethereum" or "polygon")
    - The API key is now *required* (can be generated at etherscan.io)
      * Resolves fatal error in Etherscan::parse_response()
      * Impl will now handle if:
        - Config's API key/value is malformed
        - Etherscan API key was not given
        - Etherscan response is fatal

- Adds support for more L2s
  * Arbitrum (One)
  * Optimism
  * Base

- Adds more L2s to existing accounts
  * Coinbase Wallet
  * Ledger Live
  * MetaMask

- Updates documentation
  * Update default generated `fetch` config
  * Update `fetch` usage help
  * Update README
2025-08-04 15:07:10 -07:00
183806da6d Merge pull request #200 into master
f8226cd container: hledger-flow: paypal-business: update mockup (Aaron Fiore)
2025-07-03 14:28:38 -07:00
f8226cdccb container: hledger-flow: paypal-business: update mockup
Use generic business name to avoid possibility of infringement.
2025-07-03 14:21:11 -07:00
09e2fa7df6 Merge pull request #199 into master
4718fcd container: hledger-flow: paypal: update fiat mockup (Aaron Fiore)
6fc4a15 container: hledger-flow: paypal: support latest fiat header (Aaron Fiore)
2025-07-03 14:17:41 -07:00
4718fcd0c4 container: hledger-flow: paypal: update fiat mockup
Reflects latest header and impl changes.
2025-07-03 14:13:31 -07:00
6fc4a1527d container: hledger-flow: paypal: support latest fiat header
- Breaking changes due to additional columns (not backwards-compatible).
- Adds 'fees' subaccount and new tags from the additional columns.
2025-07-03 14:09:23 -07:00
db8f5154b5 Merge pull request #198 into master
84ec085 container: src: finance: change visidata default dir (Aaron Fiore)
2025-06-25 12:24:50 -07:00
84ec085b8a container: src: finance: change visidata default dir
The container environment's $DOCKER_FINANCE_CONTAINER_CONF is
bind-mounted and, by default, points to ~/.config/docker-finance.d

The parent dir (~/.config) is subsequently owned by root (Docker-ism).
Ergo, with visidata v3.2, visidata cannot create its default dir:

    "PermissionError: [Errno 13] Permission denied: for visidata config"

This commit fixes that by setting visidata's default dir to use the
calling profile's docker-finance.d (where profile customization occurs).

Also included is some related refactoring.
2025-06-25 12:07:51 -07:00
b80978a026 Merge pull request #197 into master
5baf335 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.43.2 (Aaron Fiore)
2025-06-16 17:07:45 -07:00
5baf3359e6 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.43.2 2025-06-16 16:10:07 -07:00
9fa8e24ee6 Merge pull request #196 into master
8a969c9 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.43.1 (Aaron Fiore)
2025-06-05 19:26:16 -07:00
8a969c9877 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.43.1 2025-06-05 18:35:16 -07:00
145f3f4cfc Merge pull request #195 into master
0cb63af client: Dockerfiles: remote: hledger-suite: bump hledger to 1.43 (Aaron Fiore)
2025-06-03 20:24:10 -07:00
0cb63afe60 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.43 2025-06-03 19:12:36 -07:00
b0f78fff15 Merge pull request #194 into master
88d254d container: src: completion: add more hledger commands (Aaron Fiore)
2025-05-28 18:23:53 -07:00
88d254d752 container: src: completion: add more hledger commands 2025-05-27 15:16:43 -07:00
f0408fcd2e Merge pull request #193 into master
ed76b51 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.42.2 (Aaron Fiore)
2025-05-27 14:10:09 -07:00
ed76b516c4 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.42.2 2025-05-27 13:10:50 -07:00
dc2946a83c Merge pull request #192 into master
051f8fc client: src: completion: fix for when Docker is not found (Aaron Fiore)
2025-05-14 14:00:25 -07:00
051f8fc4f7 client: src: completion: fix for when Docker is not found
Per current default install instructions; as this is appended to either
the per-interactive-shell startup file or aliases file, if Docker is not
installed or is not found, without this fix, the end-user will either be
effectively locked out of their session (after logging out) or they will
not be able to start a new shell within their current session...
2025-05-14 12:49:48 -07:00
5d5089307c Merge pull request #190 into master
8cb0511 CHANGELOG: add 1.0.0-rc.2 (Aaron Fiore)
5925738 client: manifest: bump version to v1.0.0-rc.2 (Aaron Fiore)
v1.0.0-rc.2
2025-04-08 16:24:25 -07:00
8cb0511c8d CHANGELOG: add 1.0.0-rc.2 2025-04-08 15:04:59 -07:00
5925738d5e client: manifest: bump version to v1.0.0-rc.2 2025-04-08 13:04:44 -07:00
42518a012e Merge pull request #189 into master
b30eb98 repo: branding: add prelim `dfi` logo (Aaron Fiore)
2025-04-04 16:45:35 -07:00
b30eb98a0c repo: branding: add prelim dfi logo 2025-04-03 19:00:46 -07:00