76ffaca466
This commit introduces IPv6 support (and thus closes #1145). It also allows using local hostnames as a parameter for --host. For this, multiple things needed to be changed: - checkWebOpts is dropped, as the supplied parameter is checked later by Network.Socket.getAddrInfo - defbaseurl needs to check if : is used in the host, as this indicates the usage of an IPv6 address. In this case, the host needs to be wrapped in [] for the base URL - To allow opening such a modified base URL, runHostPortFullUrl is used instead of runhostPortUrl, as it allows opening arbitrary URLs instead of a path prefixed with http://127.0.0.1 As checking the host for validity is postponed until the webserver tries to start, an invalid hostname leads to an exception caused by Network.Socket.getAddrInfo. This is still fine, as hledger-web won't start in an undefined state, but will terminate with a nonzero exit code. |
||
---|---|---|
.github | ||
.sandstorm | ||
bin | ||
checks | ||
doc | ||
docker | ||
examples | ||
hledger | ||
hledger-install | ||
hledger-lib | ||
hledger-ui | ||
hledger-web | ||
old/hledger-api | ||
shell-completion | ||
tests | ||
tools | ||
.appveyor.yml | ||
.ci | ||
.ctags | ||
.dockerignore | ||
.editorconfig | ||
.ghci | ||
.gitignore | ||
.hlint.yaml | ||
.mailmap | ||
.travis-maybe-skip.sh | ||
.travis.yml | ||
.version | ||
azure-pipelines.yml | ||
bench.sh | ||
cabal-install.sh | ||
cabal.project | ||
CHANGES.md | ||
CONTRIBUTING.md | ||
dev.hs | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
Makefile.helpsys | ||
README.md | ||
ROADMAP.md | ||
Shake.hs | ||
stack-ghc7.10.yaml.disabled | ||
stack-ghc8.0.yaml | ||
stack-ghc8.2.yaml | ||
stack-ghc8.4.yaml | ||
stack-ghc8.6.yaml | ||
stack-ghc8.10.yaml | ||
stack.yaml |
hledger
lightweight, portable, dependable accounting tools
hledger is a computer program for easily tracking money, time, or other commodities, on unix, mac and windows (and web-capable mobile devices, to some extent).
It is first a command-line tool, but there are also terminal and web interfaces, and a Haskell library (http://hackage.haskell.org/package/hledger-lib) for building your own programs and scripts (hledger is written in Haskell). hledger was inspired by and is largely compatible with Ledger. hledger is free software available under the GNU General Public License v3+.
hledger aims to help both computer experts and regular folks to gain clarity and control in their finances and time management, but currently it is a bit more suited to techies. I use it every day to:
- track spending and income
- see time reports by day/week/month/project
- get accurate numbers for client billing and tax filing
- track invoices
Though limited in features, hledger is lightweight, usable and reliable. For some, it is a simpler, less distracting, more future-proof alternative to Quicken or GnuCash.
For more, see http://hledger.org.
Support
Backers
Support us with a monthly donation and help us continue our activities. [Become a backer]
Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]