Commit Graph

29 Commits

Author SHA1 Message Date
renovate[bot]
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
Pаramtamtām
c15991458c
Add env variable ADD_TEMPLATE (#295) 2024-07-06 14:01:17 +04:00
Pаramtamtām
141c18cf29
feat: Add HTML/CSS/JS minification on the fly (#293) 2024-07-05 18:59:07 +04:00
Pаramtamtām
6b3be0d550
v3.0.0 (#287) 2024-07-03 18:12:13 +04:00
alphanoob1337
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
Nico
308467006b
Add CatchAll functionality (#217)
* Add CatchAll functionality

* Added link to PR to changelog
2023-09-01 10:17:11 +04:00
Pаramtamtаm
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
Pаramtamtаm
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
Paramtamtam
48313685ec
chore: Module name changed, deps updated 2023-02-23 21:49:45 +04:00
Paramtamtam
1ec17caa1d
feat: Possibility to use custom env variables in templates (#165) 2023-01-29 15:25:38 +04:00
Paramtamtam
252618a975
chore: Better CLI (#163) 2023-01-29 14:54:56 +04:00
Paramtamtam
cf7c526d4f
golangci-lint issues fixed 2022-11-02 01:13:03 +04:00
renovate[bot]
48bd1a44e6
Configure Renovate (#116)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
2022-06-12 12:55:49 +05:00
Paramtamtam
d21a6f2797
Added possibility to disable error pages auto-localization (#94) 2022-04-12 15:34:35 +05:00
Paramtamtam
a2ee92acc4
v2.8.1 2022-03-21 13:23:21 +05:00
Paramtamtam
e857c0309b
proxy headers (#67) 2022-02-23 11:09:54 +05:00
Paramtamtam
375272b561
Change themes in random order once a day/hour (#62) 2022-02-01 19:39:50 +05:00
Paramtamtam
32b92611a7
small fixes 2022-01-31 13:45:22 +05:00
Paramtamtam
cc6cbc7d47
Template rendering performance issue has been fixed (#60) 2022-01-31 13:43:40 +05:00
Paramtamtam
f72c2b85fd
Changes after merging 2022-01-31 10:46:51 +05:00
Florian Michel
42523ae9d9
Adds "Host" and "X-Forwarded-For" header options (#61) 2022-01-31 10:40:58 +05:00
Paramtamtam
88278d37a7
Prometheus metrics implemented (#54) 2022-01-28 20:42:08 +05:00
Paramtamtam
13e7a72790
Fix for the X-Format header (#51) 2022-01-28 12:53:35 +05:00
Paramtamtam
0efbccbb18
Content-type added into the logs 2022-01-27 19:28:11 +05:00
Paramtamtam
bed576f26c
Go templates support, XML, JSON, Ingress (#49) 2022-01-27 17:29:49 +05:00
Paramtamtam
79bbf3d71e
Flag --default-http-code for the serve subcommand added (#44) 2022-01-03 21:51:30 +05:00
Paramtamtam
891d491cdb
Index page codes now sorted 2021-10-15 11:06:10 +05:00
Paramtamtam
bb17027cc9
Allow to set default error page (#30) 2021-10-06 22:38:00 +05:00
Paramtamtam
29f024ebcc
v2: App rewritten in Go (#25) 2021-09-29 20:38:50 +05:00