Humaid AlQassimi
10dbb5417e
ctx: do not use normalized path
2020-06-19 01:25:25 +04:00
kiyon
a82da6bef7
Check index to avoid slice bounds out of range panic
2020-06-17 11:04:20 +08:00
Fenny
f50c33debf
Add Views test
2020-06-12 12:37:24 +02:00
Fenny
fbea5211d0
goreportcard fix
2020-06-08 02:55:19 +02:00
Fenny
fd6dc6f571
Add template engine test
2020-06-07 22:41:06 +02:00
Fenny
fb2863ce9a
Fix buffer reset
2020-06-07 22:34:29 +02:00
Fenny
d48583619a
Add Render test
2020-06-07 22:23:10 +02:00
Fenny
d7dd49f01a
Merge remote-tracking branch 'upstream/master'
2020-06-07 22:17:31 +02:00
Fenny
b4244de892
Update test
2020-06-07 22:17:10 +02:00
fenny
748935aace
Merge pull request #451 from otaku/master
...
🩹 fix ctx.Render when using Go Templates
2020-06-07 22:16:48 +02:00
Alexander Do
6e22a75e91
fix ctx.Render when using Go Templates
2020-06-07 10:40:35 -07:00
wernerr
ee3b44f9d1
repair some tests and add new tests for logger and server error handler
2020-06-07 14:43:25 +02:00
Fenny
6fd165e05a
Update ctx_test.go
2020-06-06 21:19:53 +02:00
Fenny
0f890b6f9d
🔎 Add more test coverage
2020-06-06 07:27:01 +02:00
Fenny
8cfadbde29
Add io.Reader comments
...
Co-Authored-By: Roman Kredentser <shareed2k@gmail.com>
2020-06-01 15:00:42 +02:00
Fenny
69596c03b9
Add io.Reader support
...
Co-Authored-By: Roman Kredentser <shareed2k@gmail.com>
2020-06-01 14:53:45 +02:00
fenny
f2c027e715
Small changes ( #415 )
...
* Update template examples
* Update fasthttp to v1.13.1
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
* Cookie SameSite defaults to Lax
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-Authored-By: Queru <pascal@queru.net>
* Fix router bug
Co-Authored-By: RW <renewerner87@googlemail.com>
* Remove unused code
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-authored-by: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-authored-by: Queru <pascal@queru.net>
Co-authored-by: RW <renewerner87@googlemail.com>
2020-05-27 10:22:01 +02:00
Fenny
2b2fe3edcf
utils.AssertEqual
...
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:26:52 +02:00
Fenny
a6adc3a299
Add t.Parallel() to tests
2020-05-16 05:12:29 +02:00
Fenny
e0b13d9ca4
Update test & benchmark ( #374 )
...
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add nosec for WriteByte
* test persistens for benchmark results
* Add tests & benchmark
* Update app_test.go
* Update benchmark.yml
2020-05-13 20:21:49 +02:00
Fenny
16ac0e5ef1
Add benchmark charts
2020-05-13 00:54:24 +02:00
Fenny
47bd9f572d
Add benchmark charts ( #366 )
...
* Initial Commit
* Create data.js
* add Benchmark (go) benchmark result for 991344f0329336ee320fb17c7b8f9ee2af9eaaae
* add Benchmark (go) benchmark result for a08dbd5c5bb1e621deb8e7deb621d846f3473913
Co-authored-by: github-action-benchmark <github@users.noreply.github.com>
2020-05-13 00:52:06 +02:00
Fenny
e719fa00bf
Use param support + optimizations ( #361 )
...
* Benchmark workflow
* Update router.go
* Clean root
* Add mutex
* Benchmark workflow
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>
* Benchmark Workflow
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>
* Update security workflow
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>
* Make Ctx pool accessible
- Add ctx benchmarks
* v1.9.6
* v1.9.6
Co-Authored-By: ReneWerner87 <renewerner87@googlemail.com>
* Improve context functions
* Add utils benchmarks
* Update benchmarks & tests
* Add utils tests
* New tests
* update test
* Move fastpath tests
* offer negotiation
* Cleanup
* Update Vary
Co-Authored-By: RW <renewerner87@googlemail.com>
* Optimize Append
Co-Authored-By: RW <renewerner87@googlemail.com>
* Optimize more methods
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* Add param support to Use
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* Add use_params tests
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* v1.9.7
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* Tests
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* v1.9.7
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
Co-Authored-By: József Sallai <jozsef@sallai.me>
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
* Update app_test.go
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
Co-Authored-By: József Sallai <jozsef@sallai.me>
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-Authored-By: Nifty255 <nifty255@users.noreply.github.com>
* Rename argument
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add nosec for WriteByte
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add media article
* Update media articles
* Fix typo
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
* Fix typo
Co-authored-by: ReneWerner87 <renewerner87@users.noreply.github.com>
Co-authored-by: ReneWerner87 <renewerner87@googlemail.com>
Co-authored-by: Vic Shóstak <vikkyshostak@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-authored-by: Nifty255 <nifty255@users.noreply.github.com>
2020-05-12 19:24:04 +02:00
Fenny
6e58bfcde3
Make ctx pool accessible + ctx benchmarks ( #355 )
...
**🚀 Fiber `v1.9.6`**
The Ctx pool is now accessible for third-party packages
🔥 New
- `func AcquireCtx(fctx *fasthttp.RequestCtx) *Ctx`
- `func ReleaseCtx(ctx *Ctx)`
🩹 Fixes
- Some `Ctx` methods didn't work correctly when called without an `*App` pointer.
- `ctx.Vary` sometimes added duplicates to the response header
🧹 Updates
- Add context benchmarks
- Remove some unnecessary functions from `utils`
🧬 Middleware
- [gofiber/adaptor](https://github.com/gofiber/adaptor ) `v0.0.1` Converter for net/http handlers to/from Fiber handlers
2020-05-11 04:30:31 +02:00
Fenny
5594ba5fdc
Cleanup test files
2020-05-07 22:49:26 +02:00
Fenny
30870fc255
Remove t.Log from test
2020-05-07 20:59:52 +02:00
Fenny
9f5a22af35
🤖 v1.9.5
2020-05-07 20:15:27 +02:00
Fenny
c34e9e03cd
Merge branch 'master' of https://github.com/Fenny/fiber
2020-05-06 15:59:43 +02:00
Fenny
39d142ee09
New params parser
2020-05-06 15:59:40 +02:00
TianhongWu
b36e09cc45
ctx_test: impl Test_Download ( #337 )
2020-05-04 15:03:40 +02:00
Fenny
0419d089e9
🧹 PR for 1.9.3 ( #321 )
...
* Add crowdin
* Update media links
* Update README_de.md
* Update README_de.md
* Update README_de.md
* Add crowdin link
* Print addr when listening
* Print addr on listening
* Add DisableStartupMessage
* Fix typo
* Update Test_BodyParser
* Support ETags
* v1.9.3
2020-04-28 21:34:34 +02:00
Fenny
1015ef530d
Update Test_BodyParser
2020-04-28 14:20:24 +02:00
TianhongWu
029e3a9a56
Add Test_SaveFile ( #318 )
...
* ctx_test: impl Test_SaveFile
* fixup! ctx_test: impl Test_SaveFile
2020-04-28 14:05:39 +02:00
Fenny
4d14679a87
Add DisableStartupMessage ( #314 )
...
* Add crowdin
* Update media links
* Update README_de.md
* Update README_de.md
* Update README_de.md
* Add crowdin link
* Print addr when listening
* Print addr on listening
* Add DisableStartupMessage
* Fix typo
2020-04-27 23:34:35 +02:00
TianhongWu
7b59c5bf78
Add Test_FormFile ( #315 )
2020-04-27 23:32:38 +02:00
Fenny
4242901c92
v1.9.2
2020-04-23 00:33:36 +02:00
Fenny
673bd61fa1
BodyParser supports Query params
2020-04-13 09:01:27 +02:00
Fenny
8ad8d6eb23
Hi Ctx
2020-03-24 05:59:56 +01:00