28 Commits

Author SHA1 Message Date
0e4dc96cfd build(deps): bump the gomod group with 3 updates (#342) 2025-05-07 09:49:24 +00:00
d66551fc30 chore(deps): update dependency golangci/golangci-lint to v1.63.2 (#321)
* chore(deps): update dependency golangci/golangci-lint to v1.63.2

* wip: 🔕 temporary commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
2025-01-02 23:26:24 +04:00
439900940e build(deps): bump github.com/urfave/cli/v3 from 3.0.0-alpha9.2 to 3.0.0-beta1 in the gomod group (#320) 2024-12-09 08:21:57 +00:00
4490954943 build(deps): bump library/golang from 1.22-bookworm to 1.23-bookworm in the docker group (#309)
* build(deps): bump library/golang in the docker group

Bumps the docker group with 1 update: library/golang.


Updates `library/golang` from 1.22-bookworm to 1.23-bookworm

---
updated-dependencies:
- dependency-name: library/golang
  dependency-type: direct:production
  dependency-group: docker
...

Signed-off-by: dependabot[bot] <support@github.com>

* update go version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
2024-09-19 16:49:27 +04:00
85b4cdca0a chore(deps): update dependency golangci/golangci-lint to v1.61.0 (#310)
* chore(deps): update dependency golangci/golangci-lint to v1.61.0

* wip: 🔕 temporary commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
2024-09-11 11:24:01 +04:00
4892822343 chore(deps): update dependency golangci/golangci-lint to v1.60.2 (#305)
* chore(deps): update dependency golangci/golangci-lint to v1.60.2

* linter fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
2024-08-21 12:31:28 +04:00
c15991458c Add env variable ADD_TEMPLATE (#295) 2024-07-06 14:01:17 +04:00
141c18cf29 feat: Add HTML/CSS/JS minification on the fly (#293) 2024-07-05 18:59:07 +04:00
6b3be0d550 v3.0.0 (#287) 2024-07-03 18:12:13 +04:00
8e7570eee3 fix: "Too big request header" (#244)
* Added environment variable and CLI parameter for adjusting the read buffer size

* Changed readBufferSize to int and some bugfixing

* Small fixes

* ci: 👷 CI system updated

* ci: 👷 CI system updated

---------

Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
2023-11-20 12:27:40 +04:00
308467006b Add CatchAll functionality (#217)
* Add CatchAll functionality

* Added link to PR to changelog
2023-09-01 10:17:11 +04:00
36c5472987 feat: IPv6 support (#192)
* 🐛 fix(server.go): validate IP address before starting server
 feat(server.go): add support for IPv6 addresses

*  feat(cli): add support for IPv6 addresses in the `--listen` flag

* 🐛 fix(server.go): add nolint comment to ignore magic number warning in ipv6 check

* 🐛 fix(server.go): use fmt.Sprintf to format IP and port instead of strconv.Itoa and string concatenation
2023-04-21 16:33:33 +04:00
d40e8879d1 feat: Non-existing pages now return styled 404 status page (with 404 status code) (#189)
* 🎨 style(CHANGELOG.md): add UNRELEASED section
🔧 chore(notfound/handler.go): refactor to use core.RespondWithErrorPage
🔧 chore(http/server.go): pass config, templatePicker, renderer and options to notfoundHandler
🔧 chore(hurl/404.hurl): update test to expect HTML response instead of plain text

* 📝 docs(CHANGELOG.md): fix typo in changed section

* 🔥 chore(CHANGELOG.md): release version 2.22.0
🔥 chore(flags.go): remove unused code for serve command
2023-04-07 14:42:00 +04:00
48313685ec chore: Module name changed, deps updated 2023-02-23 21:49:45 +04:00
252618a975 chore: Better CLI (#163) 2023-01-29 14:54:56 +04:00
cf7c526d4f golangci-lint issues fixed 2022-11-02 01:13:03 +04:00
d21a6f2797 Added possibility to disable error pages auto-localization (#94) 2022-04-12 15:34:35 +05:00
a2ee92acc4 v2.8.1 2022-03-21 13:23:21 +05:00
e857c0309b proxy headers (#67) 2022-02-23 11:09:54 +05:00
375272b561 Change themes in random order once a day/hour (#62) 2022-02-01 19:39:50 +05:00
cc6cbc7d47 Template rendering performance issue has been fixed (#60) 2022-01-31 13:43:40 +05:00
88278d37a7 Prometheus metrics implemented (#54) 2022-01-28 20:42:08 +05:00
13e7a72790 Fix for the X-Format header (#51) 2022-01-28 12:53:35 +05:00
bed576f26c Go templates support, XML, JSON, Ingress (#49) 2022-01-27 17:29:49 +05:00
79bbf3d71e Flag --default-http-code for the serve subcommand added (#44) 2022-01-03 21:51:30 +05:00
891d491cdb Index page codes now sorted 2021-10-15 11:06:10 +05:00
bb17027cc9 Allow to set default error page (#30) 2021-10-06 22:38:00 +05:00
29f024ebcc v2: App rewritten in Go (#25) 2021-09-29 20:38:50 +05:00