numerus/pkg
jordi fita mas 18b38f593c Add the application’s version on the footer
This is mostly to reassure people that we are running the same version
as published on numerus.cat.  Or at least, try.

Go 1.18 adds the info from git if the package is build from a git
repository, but this is not the case in OBS, so i instead relay on a
constant for the version number.  This constant is “updated” by Debian’s
rules, mostly due to the discussion in [0].

[0]: https://github.com/golang/go/issues/22706
2024-01-19 20:03:04 +01:00
..
build.go Add the application’s version on the footer 2024-01-19 20:03:04 +01:00
company.go Add option to switch to another company 2023-11-06 13:52:34 +01:00
contacts.go Return HTTP 404 instead of 500 for invalid UUID values in URL 2023-07-17 12:07:23 +02:00
dashboard.go Compute the total amount, base plus taxes, of all expenses 2023-07-13 20:50:26 +02:00
db.go Allow importing contacts from Holded 2023-07-03 00:05:47 +02:00
expenses.go Avoid panic error when there is no expense to compute the sum of 2023-11-06 13:18:02 +01:00
form.go Add option to export the list of quotes, invoices, and expenses to ODS 2023-07-18 13:29:36 +02:00
htmx.go Use HTMx to add product rows “inline” in the invoice form 2023-04-24 02:00:38 +02:00
invoices.go Do not give “false ID” to invoice products that come from quotations 2023-08-11 19:47:10 +02:00
locale.go Add currency_pattern to language relation 2023-02-23 12:12:33 +01:00
logger.go Reduce the amount of useless data in request’s log 2023-06-13 16:05:40 +02:00
login.go Log the remote address, and only trust localhost proxies 2023-06-13 14:21:54 +02:00
ods.go Add option to export the list of quotes, invoices, and expenses to ODS 2023-07-18 13:29:36 +02:00
pgtypes.go Add a cache of OID in database to register types 2023-10-27 12:44:24 +02:00
products.go Return HTTP 404 instead of 500 for invalid UUID values in URL 2023-07-17 12:07:23 +02:00
profile.go Create constants for the HTMX request and response headers used 2023-04-06 12:07:20 +02:00
quote.go Add option to export the list of quotes, invoices, and expenses to ODS 2023-07-18 13:29:36 +02:00
recover.go Gofmt recover.go 2023-01-22 20:37:34 +01:00
router.go Add option to switch to another company 2023-11-06 13:52:34 +01:00
slug.go Add the customer name to the invoice’s PDF file name 2023-07-07 11:34:34 +02:00
template.go Add the application’s version on the footer 2024-01-19 20:03:04 +01:00
uuid.go Return HTTP 404 instead of 500 for invalid UUID values in URL 2023-07-17 12:07:23 +02:00
uuid_test.go Return HTTP 404 instead of 500 for invalid UUID values in URL 2023-07-17 12:07:23 +02:00