1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-24 10:03:46 +00:00

421 Commits

Author SHA1 Message Date
Fenny
67eed4c721 🚀 restore benchmark
Co-Authored-By: Rafael Cossovan <navossoc@gmail.com>
2020-10-28 03:56:54 +01:00
Fenny
17b6597ec8 💼 add locals to logger
Co-Authored-By: Rafael Cossovan <navossoc@gmail.com>
2020-10-28 03:54:40 +01:00
Fenny
a90ebb7098 ✏ add msgp tags
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-28 02:35:49 +01:00
Fenny
c863519f54 ✏ refactor unit test
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-28 02:31:30 +01:00
Fenny
ecdda95e15 💼 implement Storage 2020-10-28 02:29:47 +01:00
Joey
0d53f94385
Merge pull request #973 from Fenny/master
🧽 update limiter & filesystem
2020-10-27 03:01:50 -07:00
Fenny
32fdbf0ddf ✏ rename variable 2020-10-27 10:58:51 +01:00
Fenny
d5dbad6476 🧹 remove unused key 2020-10-27 08:14:58 +01:00
Fenny
8334eb1f9e 🏬 clean storage in limiter 2020-10-27 08:12:53 +01:00
Fenny
726600f577 🧳 add maxAge to filesystem mw 2020-10-27 08:12:37 +01:00
kiyon
d8e763e366 🩹 Keep csrf token per session 2020-10-27 12:15:51 +08:00
Joey B
0c721db068
Merge pull request #900 from codemicro/limiter-custom-store
Add custom store to limiter middleware
2020-10-26 19:30:47 -07:00
Tom
c4dfe9a500
📦 Remove unused imports 2020-10-26 21:28:51 +00:00
Tom
847a7b5518
Merge remote-tracking branch 'origin/limiter-custom-store' into limiter-custom-store 2020-10-26 21:26:33 +00:00
Tom
66d2e7deda
📦 Switch to fiber.Storage and msgp 2020-10-26 21:25:30 +00:00
Tom
43e100f36c
📦 Make expiry of set keys cfg.Duration 2020-10-26 11:11:55 +00:00
Tom
3308a32a3a
📦 Change default configuration and add test for custom store 2020-10-26 11:11:55 +00:00
Tom
23bddfd23f
I promise this is the last commit like this 2020-10-26 11:11:55 +00:00
Tom
59f2497b48
I am stupid 2020-10-26 11:11:55 +00:00
Tom
bc3b69ccca
Fix gosec and tests 2020-10-26 11:11:54 +00:00
Tom
9269513917
📝 Update docs/comments for limiter middleware 2020-10-26 11:11:54 +00:00
Tom
5c9f8a52fd
📦 Implement storage method switching 2020-10-26 11:11:54 +00:00
Tom
87419a26d7
Update limiter middleware tests 2020-10-26 11:11:53 +00:00
Tom
e8e706c2b8
📦 Add storage interface to limiter middleware 2020-10-26 11:11:40 +00:00
G2G2G2G
8c0bd56ef3
Update README.md 2020-10-25 21:51:11 -05:00
Joey B
4dd33f158e
Merge pull request #962 from sbielenica/adjust-compression-test
🚨 Add missing header and compression result assertion in different compression levels test
2020-10-25 16:26:55 -07:00
Joey B
e619451d9e
Merge pull request #959 from kiyonlin/improve-csrf
👷 Improve csrf middleware
2020-10-25 16:26:40 -07:00
Szymon Bielenica
56283b8afd 🎨 Adjust multiple comments to comply with the linter 2020-10-25 12:23:10 +01:00
Szymon Bielenica
552f5a99cc 🚨 Add missing header and compression result assertion in different compression levels test 2020-10-25 12:04:53 +01:00
kiyon
5ea5bbfd44 👷 Improve csrf middleware
- Skip non GET/POST http method
- Delete token if matched
- Use cfg.Expiration instead of cfg.CookieExpires
2020-10-24 10:19:40 +08:00
Joey B
b1d19f4a21
Merge pull request #958 from Fenny/master
🩹 add memory storage for csrf
2020-10-23 16:01:28 -07:00
Fenny
9f2c0691b0 🩹 fix test cases 2020-10-24 01:00:09 +02:00
Fenny
3f7b80e9a6 ✏ fix typo 2020-10-24 00:19:38 +02:00
Fenny
d3cf0e55e7 🩹 add memory storage for csrf 2020-10-24 00:18:25 +02:00
hi019
25db10b220 📝Correct CSRF comment 2020-10-23 17:20:25 -04:00
Fenny
619f802fc6
Merge pull request #951 from Fenny/master
✏ fix example
2020-10-22 03:17:52 -07:00
Fenny
d6ee49dce5 🩹 fix workflow 2020-10-22 12:16:04 +02:00
Fenny
0a12962a6d
Merge pull request #948 from codemicro/requestid-locals
🔥 Add request ID to locals
2020-10-22 03:10:31 -07:00
Fenny
4e895a0f61 ✏ fix example 2020-10-22 12:09:40 +02:00
Fenny
7f0f6f656c
Merge pull request #950 from jney/feature/fix-doc
Feature/fix doc
2020-10-22 03:07:58 -07:00
Jean-Sébastien Ney
34e6274ab5 fix update request 2020-10-22 11:28:35 +02:00
Tom
7eaf3c07b1
📦 Change requestId -> requestid 2020-10-22 10:00:06 +01:00
Fenny
773968abf0 ✏ update test case 2020-10-21 23:42:03 +02:00
Tom
c5792a3953
📦 Add the request ID to locals 2020-10-21 20:14:12 +01:00
Tom
90663b23b8
📦 Make expiry of set keys cfg.Duration 2020-10-21 19:57:24 +01:00
Konstantinos Lypitkas
b5e85346ac Replace localhost with IP 2020-10-15 16:23:13 +03:00
Fenny
e3c2dfae23 🧪 update proxy unit test 2020-10-15 13:03:06 +02:00
Fenny
0db09d9f0b 📦 don't allow empty servers on proxy mw 2020-10-15 12:54:17 +02:00
Fenny
3c40cb7de3
Merge pull request #924 from klipitkas/refactor-proxy-middleware
Refactor proxy middleware and increase coverage
2020-10-15 12:53:11 +02:00
Konstantinos Lypitkas
483931fdcc Remove extra slashes from comments 2020-10-15 13:15:59 +03:00