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

292 Commits

Author SHA1 Message Date
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
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
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
kiyon
f0a4e6ad36 👷 Improve performance and test coverage 2020-10-15 16:36:39 +08:00
kiyon
dfb4aa26d9 👷 Add benchmark for etag middleware 2020-10-15 12:55:17 +08:00
kiyon
2275fe8ce6 👷 Improve etag middleware 2020-10-15 12:32:54 +08:00
kiyon
fb4cf7e887 👷 Add etag middleware 2020-10-14 17:01:13 +08:00
hi019
db1eedb5b7
💚 Fix CI: remove localhost from target.Listen 2020-10-13 19:23:05 -04:00
Konstantinos Lypitkas
3d59648b7d Refactor proxy middleware and increase coverage 2020-10-14 00:48:09 +03:00
Fenny
d4e604f1a3
Merge pull request #921 from klipitkas/minor-requestid-change
Minor requestid middleware change
2020-10-13 11:48:49 +02:00
Konstantinos Lypitkas
8c49028a39 Refactor basicauth middleware 2020-10-12 19:22:05 +03:00
Konstantinos Lypitkas
67a45db8e2 Add test assertion to requestid 2020-10-12 19:05:48 +03:00
Konstantinos Lypitkas
9d4a83a55b Minor refactor for clarity 2020-10-12 19:05:27 +03:00
kiyon
d446a32b30 🩹 Avoid panic when updating statistics
fix #903
2020-10-10 10:39:12 +08:00
Fenny
d4750fbf2b
Merge pull request #897 from klipitkas/custom-type-compress-middleware
Add custom types to compress middleware
2020-10-08 18:13:49 +02:00
Fenny
68e8684add
Merge pull request #898 from Fenny/master
📦 add cache benchmark + 1 min default
2020-10-08 18:13:18 +02:00
Fenny
33e91e8111 📦 add benchmark 2020-10-08 18:11:26 +02:00
Konstantinos Lypitkas
550d3a3549 Fix grammatical issues 2020-10-08 10:56:25 +03:00
Konstantinos Lypitkas
60cebf2506 Add custom types to compress middleware 2020-10-08 00:05:34 +03:00
Fenny
47f866fc80
Merge pull request #893 from r-52/r-compress-dont-use-magic-numbers
♻️ compression: avoid magic numbers in compression level check
2020-10-07 15:34:11 +02:00
Fenny
7b16c8439c
Merge pull request #895 from Fenny/master
🧪 add benchmark to basicauth
2020-10-07 15:27:58 +02:00
Fenny
e30d9dad39 🧪 add benchmark to basicauth 2020-10-07 13:51:18 +02:00
Roman
6e72025b6c ♻️ compression: avoid magic numbers in compression level check
Avoid the magic numbers to make it easier to read
2020-10-07 09:56:27 +02:00
Fenny
e090f5278a
Merge pull request #888 from Fenny/master
🧨 add public to max age header
2020-10-06 20:18:43 +02:00