Commit Graph

282 Commits

Author SHA1 Message Date
0e2062128b client: plugins: refactor example plugin
- Dynamically construct instance
  * Platform and tag should not be hard-coded
- Add note regarding construction
- Refactor main()
2024-08-15 23:23:37 -07:00
88a608d3b1 Merge pull request #119 into master
87e6b27 README: add `dev-tools` to installation (Aaron Fiore)
fe41df4 README: update to reflect latest impl (Aaron Fiore)
2024-08-15 22:19:38 -07:00
87e6b27213 README: add dev-tools to installation 2024-08-15 22:17:59 -07:00
fe41df47af README: update to reflect latest impl 2024-08-15 22:17:46 -07:00
20cc6bd685 Merge pull request #118 into master
5e59087 client: docker.bash: add Tor plugin to usage help (Aaron Fiore)
c475dbd client: manifest: add `proxychains-ng` package (Aaron Fiore)
77a8b21 container: lib_fetch: implement Tor support (Aaron Fiore)
5b4bf6f client: plugins: implement Tor plugin (tor.bash) (Aaron Fiore)
59d11b4 client: Dockerfiles: add `proxychains-ng` package (Aaron Fiore)
2024-08-15 21:34:21 -07:00
5e59087390 client: docker.bash: add Tor plugin to usage help 2024-08-15 21:31:54 -07:00
c475dbdbc7 client: manifest: add proxychains-ng package 2024-08-15 21:31:54 -07:00
77a8b21893 container: lib_fetch: implement Tor support
- Adds 'tor' option
- Uses `proxychains-ng`
- Expects docker-finance's Tor plugin
2024-08-15 21:31:54 -07:00
5b4bf6fbd0 client: plugins: implement Tor plugin (tor.bash)
- Creates, prepares and manages containerized Tor instance
- Prepares a running docker-finance container to proxy
  (`proxychains-ng`) through the containerized Tor instance
2024-08-15 21:31:53 -07:00
59d11b47d3 client: Dockerfiles: add proxychains-ng package
Needed for Tor support (and any potential future proxy support).
2024-08-14 21:35:25 -07:00
747f39f316 Merge pull request #117 into master
d7caec1 client/container: disable shellcheck warning for DOCKER_FINANCE_DEBUG (Aaron Fiore)
563ca66 container: finance.bash: fix typo for ledger-ui (Aaron Fiore)
2024-08-14 20:06:53 -07:00
d7caec13e4 client/container: disable shellcheck warning for DOCKER_FINANCE_DEBUG
If it's not set or set to false, then it's expected to be not true.
2024-08-14 20:03:03 -07:00
563ca66d2d container: finance.bash: fix typo for ledger-ui 2024-08-14 19:53:31 -07:00
ea8985d9fe Merge pull request #116 into master
7441817 container: completion.bash: set xtrace if debug enabled (Aaron Fiore)
e9e2ed6 container: finance.bash: set xtrace if debug enabled (Aaron Fiore)
5684d94 client: completion.bash: set xtrace if debug enabled (Aaron Fiore)
4302ac2 client: docker.bash: set xtrace if debug enabled (Aaron Fiore)
2024-08-14 19:42:51 -07:00
744181776f container: completion.bash: set xtrace if debug enabled 2024-08-14 19:40:55 -07:00
e9e2ed6d88 container: finance.bash: set xtrace if debug enabled 2024-08-14 19:40:55 -07:00
5684d94d63 client: completion.bash: set xtrace if debug enabled 2024-08-14 19:40:55 -07:00
4302ac2bb5 client: docker.bash: set xtrace if debug enabled 2024-08-14 19:40:55 -07:00
36d83025a4 Merge pull request #115 into master
bf1d9dd container: completion: add `hledger-vui` (Aaron Fiore)
550110f container: finance.bash: add `hledger-vui` to usage help (Aaron Fiore)
fcc0b95 client: docker-finance.d: subprofile: clarify `hledger` (Aaron Fiore)
7e75bb5 container: completion: add `hledger` family (Aaron Fiore)
d06c894 container: finance.bash: clarify `hledger` (not `ledger`) (Aaron Fiore)
2024-08-14 19:38:41 -07:00
bf1d9dd212 container: completion: add hledger-vui
The custom visidata UI (not `hledger-ui`).
2024-08-14 19:36:53 -07:00
550110ffd1 container: finance.bash: add hledger-vui to usage help
The custom visidata UI (not `hledger-ui`).
2024-08-14 19:36:53 -07:00
fcc0b95061 client: docker-finance.d: subprofile: clarify hledger
Since inception, the intent was to abstract the "interface" to allow for
a general-purpose CLI accounting ledger. However, there appears to be
confusion about whether the underlying implementation is `ledger`
accounting software or `hledger` accounting software.

So, making it clearer that it's `hledger` accounting software (although,
will continue to keep the `ledger` command for backwards-compatibility).
2024-08-14 19:36:53 -07:00
7e75bb542b container: completion: add hledger family
Since inception, the intent was to abstract the "interface" to allow for
a general-purpose CLI accounting ledger. However, there appears to be
confusion about whether the underlying implementation is `ledger`
accounting software or `hledger` accounting software.

So, making it clearer that it's `hledger` accounting software (although,
will continue to keep the `ledger` command for backwards-compatibility).
2024-08-14 19:36:53 -07:00
d06c894acb container: finance.bash: clarify hledger (not ledger)
Since inception, the intent was to abstract the "interface" to allow for
a general-purpose CLI accounting ledger. However, there appears to be
confusion about whether the underlying implementation is `ledger`
accounting software or `hledger` accounting software.

So, making it clearer that it's `hledger` accounting software (although,
will continue to keep the `ledger` command for backwards-compatibility).
2024-08-14 19:36:52 -07:00
255d95227f Merge pull request #114 into master
5da89e1 client: docker-finance.d: env: change default $DOCKER_FINANCE_*_FLOW (Aaron Fiore)
2024-08-14 19:35:01 -07:00
5da89e19fb client: docker-finance.d: env: change default $DOCKER_FINANCE_*_FLOW
The previous 'hledger-flow' directory was originally dedicated to
hledger-flow data. The directory has now expanded into a full-fledged
bind-mounted volume for all end-user flow / `finance`-generated data.

Ergo, 'finance-flow' is now more appropriate.
2024-08-14 19:31:31 -07:00
f24d23731d Merge pull request #113 into master
ed68a87 client: Doxygen: change 'modules' to 'topics' (Aaron Fiore)
03d7234 client: Doxygen: bump Doxyfile to 1.9.8 (Aaron Fiore)
2024-08-14 19:29:57 -07:00
ed68a87283 client: Doxygen: change 'modules' to 'topics'
Renamed to 'topics' in light of Doxygen 1.9.8's C++20 modules support.
2024-08-14 19:28:05 -07:00
03d7234fd4 client: Doxygen: bump Doxyfile to 1.9.8 2024-08-14 19:28:05 -07:00
290c32e515 Merge pull request #112 into master
83e5622 client: completion: complete docker images by $USER (Aaron Fiore)
e7725b7 client: completion: fix/optimize docker images (Aaron Fiore)
2024-08-14 19:26:12 -07:00
83e5622451 client: completion: complete docker images by $USER
Simplifies completion on multi-user systems.
2024-08-12 19:58:13 -07:00
e7725b72fd client: completion: fix/optimize docker images
- Reduces overhead, catches all docker-finance images
- Previously wouldn't catch all space between image name and tag
2024-08-12 19:58:06 -07:00
0c7aaf8cc5 Merge pull request #111 into master
673e585 README: add `plugins` documentation (Aaron Fiore)
eb2e17f client: lib_linter: add more C++ extensions (Aaron Fiore)
f14adfe container: root: move clang-format to container base path (Aaron Fiore)
7cf129f client: Doxygen: add cpp_plugins group (Aaron Fiore)
6e250c7 container: root: add plugins support (Aaron Fiore)
f967fae container: plugins: root: add examples (Aaron Fiore)
082b946 client: docker-finance.d: add `plugins` support (Aaron Fiore)
682fbe2 client: completion: add `plugins` support (Aaron Fiore)
52c958b client: lib_docker: refactor for library support (`plugins`) (Aaron Fiore)
9c181b7 client: add `plugins` feature (Aaron Fiore)
720eec8 client: add lib_plugins (Aaron Fiore)
bbb5d7c client: Dockerfiles: add `plugins` env to docker-compose (Aaron Fiore)
59272e8 container: completion: add `plugins` arg type support (Aaron Fiore)
a1d0201 container: lib_plugins: add `plugins` type support (Aaron Fiore)
8a6ea47 client: plugins: docker: add example (Aaron Fiore)
01737d3 client: lib_gen: new custom plugin layout, update example plugin (Aaron Fiore)
2024-08-12 19:11:48 -07:00
673e585cda README: add plugins documentation 2024-08-12 18:59:51 -07:00
eb2e17fe2d client: lib_linter: add more C++ extensions
Needed for linting `root` C++ plugins.
2024-08-12 18:59:51 -07:00
f14adfea35 container: root: move clang-format to container base path
File needs to be in parent directory of all C++ source files.
2024-08-12 18:59:51 -07:00
7cf129f607 client: Doxygen: add cpp_plugins group 2024-08-12 18:59:51 -07:00
6e250c7282 container: root: add plugins support
- Implements support for docker-finance C++ plugins
- Adds shell command execution wrapper
- Refactors previous loader path
  * A './' path is unnecessary and will break calls to '/' path
2024-08-12 18:59:51 -07:00
f967faeb8a container: plugins: root: add examples 2024-08-12 18:59:51 -07:00
082b946956 client: docker-finance.d: add plugins support 2024-08-12 18:36:27 -07:00
682fbe2f03 client: completion: add plugins support 2024-08-12 18:36:27 -07:00
52c958b927 client: lib_docker: refactor for library support (plugins)
- Exports globals to caller for "library" support (export to `plugins`, etc.)

- Removes enforcement of initializing "constructor" with 2nd arg (`command`)
  * Arg not needed since external/internal checks already in place
  * Context specific: if needed, caller should always check if set
  * Removal needed so library can be used within a library context

- `basename` fix to allow for bash completion
2024-08-12 18:36:26 -07:00
9c181b75a1 client: add plugins feature 2024-08-12 18:36:26 -07:00
720eec8a14 client: add lib_plugins
- Allows client-side execution of repo/custom client plugins
- A client-side equivalent of container's lib_plugins
2024-08-12 18:36:26 -07:00
bbb5d7c238 client: Dockerfiles: add plugins env to docker-compose 2024-08-12 18:36:26 -07:00
59272e8df7 container: completion: add plugins arg type support 2024-08-12 18:36:26 -07:00
a1d02016f3 container: lib_plugins: add plugins type support
- Adds plugin type support
  * Adds pseudo-paths to help usage
  * Adds arg parsing of given plugin name
    - Prepended pseudo-paths will use repo or custom plugin
2024-08-12 18:36:26 -07:00
8a6ea479e2 client: plugins: docker: add example 2024-08-12 18:36:26 -07:00
01737d37bf client: lib_gen: new custom plugin layout, update example plugin
- Generates new custom plugin directory layout upon `gen`
  * Allows for drop-in client-side/container-side custom plugins

- Moved container plugin example into container's plugins
  * Plugin is no longer generated upon `gen` (it's available in-repo)

- Updates plugin example
    - Provides requisite lib_finance initialization
    - Refactored, added more checks
    - Expand example case
    - Linter fixes
2024-08-12 18:30:45 -07:00
acbe690de3 Merge pull request #110 into master
5ef5d24 container: bash: completion: add `times` (Aaron Fiore)
5eac855 container: bash: add `times` / lib_times (Aaron Fiore)
923a9ee client: lib_gen: generate 'times' (Aaron Fiore)
6da9b71 client: manifest: add timew package (Aaron Fiore)
e50f4b6 client: Dockerfiles: add timew package (Aaron Fiore)
2024-08-09 18:17:54 -07:00