Skip to content
Open
Show file tree
Hide file tree
Changes from 91 commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
e2b1c4a
imp: web: preserve sidebar position during navigation
acinader Jun 6, 2026
2c076c2
Merge branch 'codex/hledger-web-sidebar-state' of ../hledgerOther
AidenTHu Jun 23, 2026
195254c
Fixed bugs caused by the R4.1-R4.7 implementation.
AidenTHu Jun 24, 2026
c57b701
Fix add transaction keyboard shortcut - invalid CSS selector
AidenTHu Jun 24, 2026
8f1bd37
Fix utf8textdecoder redeclaration error in AJAX navigation
AidenTHu Jun 25, 2026
06e9fd9
Fix hide empty accounts toggle - add specific CSS rule for table rows
AidenTHu Jun 25, 2026
7c02195
Removed JQuery, pushed .vscode files, and made progress of a show/hid…
AidenTHu Jun 25, 2026
e35df57
Removed Jquery, pushed .vscode files, and made progress of a show/hid…
AidenTHu Jun 25, 2026
5da601c
Added a checkbox for show/hide empty accounts and a close/open sideba…
AidenTHu Jun 25, 2026
347570f
Changes .gitignore to not include .vscode. Changed hledger.js ternary…
AidenTHu Jun 25, 2026
079e80e
Changed tasks.json to be inclusive of multiple OS
AidenTHu Jun 25, 2026
fb4abb1
Added a check to see if stack is installed before building, and if no…
AidenTHu Jun 25, 2026
bf04fce
Fixed bugs in launch.json and tasks.json
AidenTHu Jun 25, 2026
8a34d6c
Added mobile support, added a go to journal(home) button, fixed bugs
AidenTHu Jun 26, 2026
ec5cb9d
Removed the account column and moved its data to be under the data co…
AidenTHu Jun 27, 2026
941f99f
Fixed a few redundancies and bugs concerning tasks.json
AidenTHu Jun 27, 2026
16f8be4
Fixed a bug with problemMatcher in tasks.json that causes an error on…
AidenTHu Jun 27, 2026
53a43b9
Changed ampty-accounts-checkbox to be checked by default, and reworke…
AidenTHu Jun 27, 2026
7041217
Remove keybindings.json as it was useless. Updated launch.json to be …
AidenTHu Jun 27, 2026
2071d26
Updated hover documentation for the sidebar arrows
AidenTHu Jun 27, 2026
36e4137
Removed some fouc with the empty account checkbox, made journal home …
AidenTHu Jun 27, 2026
4898b83
Fixed add a transaction form, and resized help and add form buttons
AidenTHu Jun 30, 2026
8f1bb2e
Added coloured titles in the sidebar
AidenTHu Jun 30, 2026
ca07a4c
Reverted to unbroken version and added a resizable sidebar
AidenTHu Jul 8, 2026
37ece61
Fixed UI issues, added a reziable sidebar, and fixed a bug with scrol…
AidenTHu Jul 9, 2026
a61e588
Stylized searchbar buttons
AidenTHu Jul 10, 2026
63e5863
Charts don't render, but added grey header and made the sidebar resiz…
AidenTHu Jul 10, 2026
4d664f1
Fixed mobile ui (sidebar buttons not appearing and empty account chec…
AidenTHu Jul 10, 2026
e3602f0
Fixed the help and add a transaction modals
AidenTHu Jul 22, 2026
882dcfa
Reinplemented working charts with jquery
AidenTHu Jul 22, 2026
cb38ce7
Working chart version using flot and jquery and corrent numbers
AidenTHu Jul 23, 2026
45a138c
Fixed up some chart formattion and adjusted title positioning for the…
AidenTHu Jul 23, 2026
f9146c7
Fixed some visual issues
AidenTHu Jul 24, 2026
d91e27d
Removed unused console.log statements
AidenTHu Jul 24, 2026
4e4390f
Improve UI styling: move header elements and open sidebar button to t…
AidenTHu Jul 24, 2026
df0015c
Improve accessibility: add aria-labels to icon-only buttons and aria-…
AidenTHu Jul 24, 2026
cb8c2f5
Fixed accesibility issues
AidenTHu Jul 24, 2026
159b304
Added clientside input validation from https://github.com/validatorjs…
AidenTHu Jul 24, 2026
92ad93a
Disabled chart animations and adjusted home button position
AidenTHu Jul 24, 2026
981b286
Fix mobile layout: adjust sidebar buttons, chart padding, and icon po…
AidenTHu Jul 25, 2026
d1c648d
Add mobile layout fixes and styling adjustments
AidenTHu Jul 25, 2026
5f0ab2f
Aligned the final transaction sum
AidenTHu Jul 25, 2026
96779c5
Cleaned up some code and fixed a screen sizing recognition bug
AidenTHu Jul 25, 2026
5912cc4
Removed an unessecary statement in the css
AidenTHu Jul 25, 2026
eb68a13
imp: web: preserve sidebar position during navigation
acinader Jun 6, 2026
21cd607
Fixed bugs caused by the R4.1-R4.7 implementation.
AidenTHu Jun 24, 2026
3c18d34
Fix add transaction keyboard shortcut - invalid CSS selector
AidenTHu Jun 24, 2026
0b5cf43
Fix utf8textdecoder redeclaration error in AJAX navigation
AidenTHu Jun 25, 2026
0d1d8a2
Fix hide empty accounts toggle - add specific CSS rule for table rows
AidenTHu Jun 25, 2026
fb2afe9
Removed JQuery, pushed .vscode files, and made progress of a show/hid…
AidenTHu Jun 25, 2026
2f21f87
Removed Jquery, pushed .vscode files, and made progress of a show/hid…
AidenTHu Jun 25, 2026
3e8302a
Added a checkbox for show/hide empty accounts and a close/open sideba…
AidenTHu Jun 25, 2026
ad94db9
Changes .gitignore to not include .vscode. Changed hledger.js ternary…
AidenTHu Jun 25, 2026
5ec4f0b
Changed tasks.json to be inclusive of multiple OS
AidenTHu Jun 25, 2026
f405fb6
Added a check to see if stack is installed before building, and if no…
AidenTHu Jun 25, 2026
6ab0d0f
Fixed bugs in launch.json and tasks.json
AidenTHu Jun 25, 2026
877c7bf
Added mobile support, added a go to journal(home) button, fixed bugs
AidenTHu Jun 26, 2026
3fe4508
Removed the account column and moved its data to be under the data co…
AidenTHu Jun 27, 2026
b686271
Fixed a few redundancies and bugs concerning tasks.json
AidenTHu Jun 27, 2026
cb75129
Fixed a bug with problemMatcher in tasks.json that causes an error on…
AidenTHu Jun 27, 2026
eddb89c
Changed ampty-accounts-checkbox to be checked by default, and reworke…
AidenTHu Jun 27, 2026
6ee26ee
Remove keybindings.json as it was useless. Updated launch.json to be …
AidenTHu Jun 27, 2026
c7ba9a7
Updated hover documentation for the sidebar arrows
AidenTHu Jun 27, 2026
8ca64ca
Removed some fouc with the empty account checkbox, made journal home …
AidenTHu Jun 27, 2026
c2970d0
Fixed add a transaction form, and resized help and add form buttons
AidenTHu Jun 30, 2026
0d1cdf8
Added coloured titles in the sidebar
AidenTHu Jun 30, 2026
a95ebf9
Reverted to unbroken version and added a resizable sidebar
AidenTHu Jul 8, 2026
471f9e7
Fixed UI issues, added a reziable sidebar, and fixed a bug with scrol…
AidenTHu Jul 9, 2026
05226b2
Stylized searchbar buttons
AidenTHu Jul 10, 2026
1d9471b
Charts don't render, but added grey header and made the sidebar resiz…
AidenTHu Jul 10, 2026
99e2fd5
Fixed mobile ui (sidebar buttons not appearing and empty account chec…
AidenTHu Jul 10, 2026
837f3f2
Rebase: merge staged changes
AidenTHu Jul 26, 2026
7f7bf29
Reinplemented working charts with jquery
AidenTHu Jul 22, 2026
a03c2cf
Rebase merge
AidenTHu Jul 23, 2026
84bd5fa
Fixed up some chart formattion and adjusted title positioning for the…
AidenTHu Jul 23, 2026
d5932f5
Fixed some visual issues
AidenTHu Jul 24, 2026
9f104ab
Removed unused console.log statements
AidenTHu Jul 24, 2026
dcdf066
Improve UI styling: move header elements and open sidebar button to t…
AidenTHu Jul 24, 2026
6fb5b3e
Improve accessibility: add aria-labels to icon-only buttons and aria-…
AidenTHu Jul 24, 2026
3bc3328
Fixed accesibility issues
AidenTHu Jul 24, 2026
32073e8
Added clientside input validation from https://github.com/validatorjs…
AidenTHu Jul 24, 2026
c7e7252
Disabled chart animations and adjusted home button position
AidenTHu Jul 24, 2026
5922e74
Fix mobile layout: adjust sidebar buttons, chart padding, and icon po…
AidenTHu Jul 25, 2026
48ba2de
Add mobile layout fixes and styling adjustments
AidenTHu Jul 25, 2026
aaf98e1
Aligned the final transaction sum
AidenTHu Jul 25, 2026
bf4580d
Cleaned up some code and fixed a screen sizing recognition bug
AidenTHu Jul 25, 2026
50c67e9
Removed an unessecary statement in the css
AidenTHu Jul 25, 2026
d218e02
Changed hover documentation of help button ad cursor style when hover…
AidenTHu Jul 26, 2026
0be4193
Resolve merge conflicts from rebase
AidenTHu Jul 26, 2026
7da5fb7
Fixed Issues #2-3:
AidenTHu Aug 21, 2026
ff1e279
Fixed chart aspect ratio
AidenTHu Aug 27, 2026
dfe27f0
Merge upstream/main into main
AidenTHu Aug 28, 2026
578d938
Cleaned up and move onClick handlers for buttons to the js for securi…
AidenTHu Aug 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ _*
.shake
.stack*
.tmp
.vscode
tags
TAGS
.obsidian
Expand Down
24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you meant to delete these from the repository, but they are still here. If you now have .vscode in your .gitignore you will need to turn that off, and then make a commit to delete all of this from the repo. Once that's done, you can add vscode back into your ignore.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was accidentally removed from the gitignore for a time. For users who use Visual Studio Code, it is useful to keep. For those who don't, it's easily ignorable and poses no harm.

@acinader acinader Aug 28, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I disagree.

hledger is pushing twenty years old. It has 178 contributors who have opened almost 1,000 pull requests over 60 releases.

Developer tooling has changed alot in that time, and the various contributors probably use a pretty good mix of environments. If even a small percent checked in their own developer tooling, there'd be alot of it in the repo. There's no documentation or test coverage, so really no guarantee it'll even work for any one other than you.

"version": "0.2.0",
"configurations": [
{
"name": "Build hledger-web",
"type": "node",
"request": "launch",
"runtimeExecutable": "stack",
"runtimeArgs": ["install", "hledger-web"],
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**"],
"internalConsoleOptions": "neverOpen"
},
{
"name": "Run hledger-web",
"type": "node",
"request": "launch",
"runtimeExecutable": "hledger-web",
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**"],
"internalConsoleOptions": "neverOpen"
}
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"terminal.integrated.enableansi": true,
"haskell.debug.auto": false
}
28 changes: 28 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build hledger-web",
"type": "shell",
"command": "stack",
"args": ["install", "hledger-web"],
"group": "build",
"problemMatcher": []
},
{
"label": "Run hledger-web",
"type": "shell",
"command": "hledger-web",
"group": "build",
"problemMatcher": []
},
{
"label": "Check Stack Installation",
"type": "shell",
"command": "stack",
"args": ["--version"],
"group": "build",
"problemMatcher": []
}
]
}
Binary file added chart_working.hamlet
Binary file not shown.
20 changes: 20 additions & 0 deletions hledger-web.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@echo off
setlocal enabledelayedexpansion
set "LOCAL_IP="

REM Filter for IPv4 Address lines
for /f "tokens=2 delims=:" %%i in ('ipconfig ^| findstr "IPv4"') do (
set "IP=%%i"
REM Trim spaces
set "IP=!IP: =!"

echo %IP%
REM Check if the IP starts with 192.168
if "!IP:~0,8!"=="192.168." (
set "LOCAL_IP=!IP!"
goto :Found
)
)
:Found

hledger-web.exe -f "C:/Users/Aiden Hu/.hledger.journal" --host %IP% --port=5000
3 changes: 1 addition & 2 deletions hledger-web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module.exports = {
"extends": "eslint:recommended",
"root": true,
"env": {
"browser": true,
"jquery": true
Comment thread
AidenTHu marked this conversation as resolved.
Outdated
"browser": true
}
};
2 changes: 1 addition & 1 deletion hledger-web/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.99
2.0

@acinader acinader Aug 27, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my assumption is that incrementing the version bump would be outside of a pull request and part of the release process, but I haven't looked into .

2 changes: 1 addition & 1 deletion hledger-web/.version.m4
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m4_dnl Version number to show in manuals. Updated by "Shake setversion"
m4_define({{_version_}}, {{1.99}})m4_dnl
m4_define({{_version_}}, {{2.0}})m4_dnl
3 changes: 3 additions & 0 deletions hledger-web/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ Improvements

- Allow yesod-static 1.6.1.1 and later again.

- In hledger-web, account/register/journal links now preserve the sidebar
scroll position when JavaScript is available.

- Uses hledger 1.99.2.


Expand Down
18 changes: 5 additions & 13 deletions hledger-web/Hledger/Web/App.hs
Original file line number Diff line number Diff line change
Expand Up @@ -159,30 +159,22 @@ instance Yesod App where
sideShowsm = if showSidebar then "col-sm-4" else "" :: Text
mainShowmd = if showSidebar then "col-md-8" else "col-md-12" :: Text
mainShowsm = if showSidebar then "col-sm-8" else "col-sm-12" :: Text
isJournalPage = here == JournalR

-- We break up the default layout into two components:
-- default-layout is the contents of the body tag, and
-- default-layout-wrapper is the entire page. Since the final
-- value passed to hamletToRepHtml cannot be a widget, this allows
-- you to use normal widget features in default-layout.
pc <- widgetToPageContent $ do
-- Bootstrap 5 CSS
addStylesheet $ StaticR css_bootstrap_min_css
addStylesheet $ StaticR css_bootstrap_datepicker_standalone_min_css
addStylesheet $ StaticR css_bootstrap_icons_css
-- load these things early, in HEAD:
toWidgetHead [hamlet|
<script type="text/javascript" src="@{StaticR js_jquery_min_js}">
<script type="text/javascript" src="@{StaticR js_typeahead_bundle_min_js}">
<script type="text/javascript" src="@{StaticR js_bootstrap_bundle_min_js}">
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/typeahead.js@0.11.1/dist/typeahead.bundle.min.js">

@acinader acinader Aug 27, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're in conflict here. I propose replacing typeahead with a native <datalist>. I give details in the pr body. #2702. But in either case, I do not think we should depend on an external cdn and we should package everything with hledger-web. I opened an issue that requests the addition of Content-Security-Policy-Report-Only which is an http header that would report on potentially unsafe external javascript. The end goal is to evently deny all external javascript and only run inline script with a nonce. See #2703.

I welcome your feedback.

|]
addScript $ StaticR js_bootstrap_min_js
addScript $ StaticR js_bootstrap_datepicker_min_js
addScript $ StaticR js_jquery_url_js
addScript $ StaticR js_jquery_cookie_js
addScript $ StaticR js_jquery_hotkeys_js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we may be in conflict here. Could merge? In any event, I'll look into it.

addScript $ StaticR js_jquery_flot_min_js
addScript $ StaticR js_jquery_flot_selection_min_js
addScript $ StaticR js_jquery_flot_time_min_js
addScript $ StaticR js_jquery_flot_tooltip_min_js
toWidget [hamlet| \<!--[if lte IE 8]> <script type="text/javascript" src="@{StaticR js_excanvas_min_js}"></script> <![endif]--> |]
addStylesheet $ StaticR hledger_css
addScript $ StaticR hledger_js
$(widgetFile "default-layout")
Expand Down
14 changes: 10 additions & 4 deletions hledger-web/Hledger/Web/Handler/RegisterR.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module Hledger.Web.Handler.RegisterR where
import Data.List (intersperse, nub, partition)
import Data.Text qualified as T
import Safe (tailSafe)
import Text.Hamlet (hamletFile)

import Hledger
import Hledger.Cli.CliOptions
Expand Down Expand Up @@ -49,6 +48,7 @@ getRegisterR = do
items =
styleAmounts (journalCommodityStylesWith HardRounding j) $
accountTransactionsReport rspec{_rsQuery=q} j acctQuery
balancelabel :: String
balancelabel
| isJust (inAccount qopts), balanceaccum_ (_rsReportOpts rspec) == Historical = "Historical Total"
| isJust (inAccount qopts) = "Period Total"
Expand Down Expand Up @@ -99,10 +99,10 @@ decorateLinks :: [(acct, ([char], [char]))] -> [(Maybe acct, char)]
decorateLinks = concatMap $ \(acct, (name, comma)) ->
map (Just acct,) name ++ map (Nothing,) comma

-- | Generate javascript/html for a register balance line chart based on
--- | Generate javascript/html for a register balance line chart based on

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this intentional?

-- the provided "AccountTransactionsReportItem"s.
registerChartHtml :: Text -> String -> [(CommoditySymbol, [AccountTransactionsReportItem])] -> HtmlUrl AppRoute
registerChartHtml q title percommoditytxnreports = $(hamletFile "templates/chart.hamlet")
registerChartHtml :: Text -> String -> [(CommoditySymbol, [AccountTransactionsReportItem])] -> Widget

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that it is formatting for the chart, can you help me understand why you decided to change it? I think we want to think about the chart. It presents a number of problems: jquery, its old, ugly, and presents a large surface area :).

My thinking is that we should just touch it as little as possible and instead weigh some modern alternatives. My medium term hope is that once we have cleaned up the status quo, we will be able to add some charts and graphs that would take advantage of hledger's current investment reporting as well as the 2.0 lot reporting potential. It's worth thinking about and getting right.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried removing jQuery completely from the code base, but the charts required me to put it back in. I even tried upgrading to the latest version of chart.js, but couldn't get it to work and so backed out. I made the minimum number of changes to get the existing charts working. Fixing the charts properly as you say should be a different issue and PR. I for one would like a checkbox to allow the user to hide the charts if they don't want to see it, but again, that's a different issue and PR.

registerChartHtml q title percommoditytxnreports = $(whamletFile "templates/chart.hamlet")

@acinader acinader Aug 27, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't follow. Why the change here? what does the w represent?

Image
          ☝️me

-- have to make sure plot is not called when our container (maincontent)
-- is hidden, eg with add form toggled
where
Expand All @@ -113,6 +113,12 @@ registerChartHtml q title percommoditytxnreports = $(hamletFile "templates/chart
showZeroCommodity = wbUnpack . showMixedAmountB oneLineNoCostFmt{displayCost=False,displayZeroCommodity=True}
shownull c = if null c then " " else c
nodatelink = (RegisterR, [("q", T.unwords $ removeDates q)])
triDate (_,tacct,_,_,_,_) = tdate tacct
triAmount (_,_,_,_,a,_) = a
triBalance (_,_,_,_,_,a) = a
triOrigTransaction (torig,_,_,_,_,_) = torig
triCommodityAmount c = filterMixedAmountByCommodity c . triAmount
triCommodityBalance c = filterMixedAmountByCommodity c . triBalance

-- | Makes a unix timestamp (milliseconds since epoch) corresponding to noon on the given date in UTC.
dayToUtcNoonTimestamp :: Day -> Integer
Expand Down
2 changes: 2 additions & 0 deletions hledger-web/Hledger/Web/Settings/StaticFiles.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ staticSite =
-- putStrLn "Using built-in web files" >> hFlush stdout
return $(embed staticDir))

-- In development mode, staticDevel serves all files from static dir including subdirectories

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you help me understand this change? If you had to dig here and leave a comment, I'm curious.

-- tmp directory is created at runtime for Julius-generated JS files
$(publicFiles staticDir)
4 changes: 2 additions & 2 deletions hledger-web/Hledger/Web/Widget/AddForm.hs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ addModal addR j today = do
<div .modal-dialog .modal-lg>
<div .modal-content>
<div .modal-header>
<button type="button" .close data-dismiss="modal" aria-hidden="true">&times;
<h3 .modal-title #addLabel>Add a transaction
<button type="button" .btn-close data-bs-dismiss="modal" aria-label="Close">
<h3 .modal-title #addLabel style="float:right;">Add a transaction
<div .modal-body>
<form#addform.form action=@{addR} method=POST enctype=#{addEnctype}>
^{addView}
Expand Down
5 changes: 2 additions & 3 deletions hledger-web/hledger-web.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

.TH "HLEDGER\-WEB" "1" "June 2026" "hledger-web-1.99 " "hledger User Manuals"
.TH "HLEDGER\-WEB" "1" "June 2026" "hledger-web-2.0 " "hledger User Manuals"



Expand All @@ -17,7 +16,7 @@ or
.PD
\f[CR]hledger web [OPTS] [QUERY]\f[R]
.SH DESCRIPTION
This manual is for hledger\(aqs web interface, version 1.99.
This manual is for hledger\(aqs web interface, version 2.0.
See also the hledger manual for common concepts and file formats.
.PP
hledger is a robust, user\-friendly, cross\-platform set of programs for
Expand Down
52 changes: 8 additions & 44 deletions hledger-web/hledger-web.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 2.2
-- see: https://github.com/sol/hpack

name: hledger-web
version: 1.99
version: 2.0
synopsis: Web user interface for the hledger accounting system
description: A simple web user interface for the hledger accounting system,
providing a more modern UI than the command-line or terminal interfaces.
Expand Down Expand Up @@ -38,7 +38,7 @@ extra-source-files:
config/robots.txt
config/routes
config/settings.yml
static/css/bootstrap-datepicker.standalone.min.css
static/css/bootstrap-icons.css
static/css/bootstrap-theme.css
static/css/bootstrap-theme.min.css
static/css/bootstrap.css
Expand All @@ -51,50 +51,14 @@ extra-source-files:
static/fonts/glyphicons-halflings-regular.woff
static/hledger.css
static/hledger.js
static/js/bootstrap-datepicker.min.js
static/js/bootstrap.js
static/js/bootstrap.min.js
static/js/excanvas.js
static/js/excanvas.min.js
static/js/jquery.cookie.js
static/js/jquery.flot.canvas.js
static/js/jquery.flot.canvas.min.js
static/js/jquery.flot.categories.js
static/js/jquery.flot.categories.min.js
static/js/jquery.flot.crosshair.js
static/js/jquery.flot.crosshair.min.js
static/js/jquery.flot.errorbars.js
static/js/jquery.flot.errorbars.min.js
static/js/jquery.flot.fillbetween.js
static/js/jquery.flot.fillbetween.min.js
static/js/jquery.flot.image.js
static/js/jquery.flot.image.min.js
static/js/jquery.flot.js
static/js/bootstrap.bundle.min.js
static/js/chart.umd.min.js
static/js/chartjs-adapter-date-fns.bundle.min.js
static/js/jquery.flot.min.js
static/js/jquery.flot.navigate.js
static/js/jquery.flot.navigate.min.js
static/js/jquery.flot.pie.js
static/js/jquery.flot.pie.min.js
static/js/jquery.flot.resize.js
static/js/jquery.flot.resize.min.js
static/js/jquery.flot.selection.js
static/js/jquery.flot.selection.min.js
static/js/jquery.flot.stack.js
static/js/jquery.flot.stack.min.js
static/js/jquery.flot.symbol.js
static/js/jquery.flot.symbol.min.js
static/js/jquery.flot.threshold.js
static/js/jquery.flot.threshold.min.js
static/js/jquery.flot.time.js
static/js/jquery.flot.time.min.js
static/js/jquery.flot.tooltip.js
static/js/jquery.flot.tooltip.min.js
static/js/jquery.hotkeys.js
static/js/jquery.js
static/js/jquery.min.js
static/js/jquery.url.js
static/js/typeahead.bundle.js
static/js/typeahead.bundle.min.js
templates/add-form.hamlet
templates/balance-report.hamlet
templates/chart.hamlet
Expand Down Expand Up @@ -154,7 +118,7 @@ library
hs-source-dirs:
./
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -threaded
cpp-options: -DVERSION="1.99"
cpp-options: -DVERSION="2.0"
build-depends:
Decimal >=0.5.1
, aeson ==2.3.*
Expand Down Expand Up @@ -222,7 +186,7 @@ executable hledger-web
hs-source-dirs:
app
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -threaded
cpp-options: -DVERSION="1.99"
cpp-options: -DVERSION="2.0"
build-depends:
base >=4.18 && <4.23
, hledger-web
Expand All @@ -242,7 +206,7 @@ test-suite apptest
hs-source-dirs:
test
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -threaded
cpp-options: -DVERSION="1.99"
cpp-options: -DVERSION="2.0"
build-depends:
base >=4.18 && <4.23
, hledger-web
Expand Down
2 changes: 1 addition & 1 deletion hledger-web/hledger-web.info
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ plain text accounting app.
or
'hledger web [OPTS] [QUERY]'

This manual is for hledger's web interface, version 1.99. See also
This manual is for hledger's web interface, version 2.0. See also
the hledger manual for common concepts and file formats.

hledger is a robust, user-friendly, cross-platform set of programs
Expand Down
4 changes: 2 additions & 2 deletions hledger-web/hledger-web.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SYNOPSIS
hledger web [OPTS] [QUERY]

DESCRIPTION
This manual is for hledger's web interface, version 1.99. See also the
This manual is for hledger's web interface, version 2.0. See also the
hledger manual for common concepts and file formats.

hledger is a robust, user-friendly, cross-platform set of programs for
Expand Down Expand Up @@ -483,4 +483,4 @@ LICENSE
SEE ALSO
hledger(1), hledger-ui(1), hledger-web(1), ledger(1)

hledger-web-1.99 June 2026 HLEDGER-WEB(1)
hledger-web-2.0 June 2026 HLEDGER-WEB(1)
4 changes: 2 additions & 2 deletions hledger-web/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: hledger-web
version: 1.99
version: 2.0
license: GPL-3.0-or-later
maintainer: Simon Michael <simon@joyful.com>
author: Simon Michael <simon@joyful.com>
Expand Down Expand Up @@ -67,7 +67,7 @@ flags:
dependencies:
- base >=4.18 && <4.23

cpp-options: -DVERSION="1.99"
cpp-options: -DVERSION="2.0"

language: GHC2021

Expand Down

This file was deleted.

Loading