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

394 Commits

Author SHA1 Message Date
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
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
Tom
1976358338
📦 Change default configuration and add test for custom store 2020-10-10 15:34:45 +01:00
kiyon
d446a32b30 🩹 Avoid panic when updating statistics
fix #903
2020-10-10 10:39:12 +08:00
Tom
8500fd1289
I promise this is the last commit like this 2020-10-08 21:16:10 +01:00
Tom
3043033f0a
I am stupid 2020-10-08 21:14:04 +01:00
Tom
fc11562191
Fix gosec and tests 2020-10-08 21:12:27 +01:00
Tom
d6a435d024
📝 Update docs/comments for limiter middleware 2020-10-08 20:48:54 +01:00
Tom
27dbd393ad
📦 Implement storage method switching 2020-10-08 20:48:08 +01:00
Tom
ef3cc9eb9b
Update limiter middleware tests 2020-10-08 19:54:54 +01:00
Tom
99c9ba9425
📦 Add storage interface to limiter middleware 2020-10-08 19:54:39 +01: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