Commit Graph

24 Commits

Author SHA1 Message Date
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