353 Commits

Author SHA1 Message Date
Fenny
2a541b021c ✏ update csrf readme 2020-11-11 15:33:19 +01:00
Fenny
053dfd383d 🩹 fix crsf middleware 2020-11-11 15:25:35 +01:00
Fenny
687717f113 🛠 separate config 2020-11-11 14:03:16 +01:00
Fenny
8bd50de610 🧹 housekeeping 2020-11-11 13:54:27 +01:00
Fenny
015de85e30 💼 update session 2020-11-06 19:43:57 +01:00
Fenny
8dd663175e 💼 introduce sessions 2020-11-06 19:32:56 +01:00
Fenny
a9d628641e 🍌 increase sleep for workflow 2020-11-06 02:29:31 +01:00
Fenny
f02b8d8317 Merge remote-tracking branch 'upstream/master' 2020-11-06 02:28:39 +01:00
Fenny
ea1fed9cbb ⏲ increase delay for workflow 2020-11-06 02:02:02 +01:00
Fenny
f4e40a7224 🩹 remove invalid test 2020-11-06 02:00:06 +01:00
Fenny
0d3d6d9fe8 📦 update fasthttp and storage interface 2020-11-06 01:52:05 +01:00
Jay Chung
0146b92ba6 refactor: clean up 2020-11-04 23:17:00 +08:00
Fenny
7b9991005f 📦 add TimeInterval 2020-11-03 15:37:50 +01:00
Fenny
39e3fedb69 Merge remote-tracking branch 'upstream/master' 2020-11-01 10:51:08 +01:00
Fenny
1ebdf49faf ✏ add logger comments
Co-Authored-By: nickland03 <52105217+nickland03@users.noreply.github.com>
2020-11-01 10:50:23 +01:00
LeoZhan
00750b8989 refactor: format the code 2020-11-01 00:32:01 +08:00
Joey
5d6e62b7c1
Merge pull request #984 from Fenny/master
✏ update Storage behaviour
2020-10-30 23:55:56 -07:00
Fenny
7892ab62bf 📦 update Storage behaviour 2020-10-31 07:51:44 +01:00
Tom
1ad625704d
📦 Add Key option to Cache config (#983) 2020-10-31 01:19:33 +00:00
Joey
eea842dc39
Merge pull request #978 from Fenny/master
🧹 remove unused code
2020-10-28 23:01:15 -07:00
Fenny
7ca70fcb17 🔍 verify body length
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-10-29 06:54:41 +01:00
Fenny
f5314b66b9 📈 update benchmark
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-10-29 06:50:09 +01:00
Fenny
cee3c759e3 🦺 copy cType in cache mw
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-10-29 06:43:59 +01:00
Fenny
5bc5f96324 🦺 make copy of body 2020-10-29 06:41:05 +01:00
Fenny
70d7c53557 🩹 fix race condition 2020-10-29 06:38:41 +01:00
Fenny
79c151c238 🚀 improve Store in cache mw 2020-10-29 06:32:09 +01:00
Fenny
7f3d31c4a3 🧹 remove unused code 2020-10-29 06:14:02 +01:00
renanbastos93
8ad1d16f3a 💉 test: using sendfile method 2020-10-28 11:44:14 -03:00
Fenny
c78a5013c0 update sendfile
Co-Authored-By: Renan Bastos <renanbastos.tec@gmail.com>
2020-10-28 05:37:07 +01:00
renanbastos93
1b4c0432c0 🔪 change signature method 2020-10-28 01:25:08 -03:00
renanbastos93
e41bf7f08f 🚀 start poc 2020-10-28 01:11:49 -03:00
Joey
58cd7a9245
Merge pull request #976 from Fenny/master
💼 implement Storage in cache
2020-10-27 19:59:03 -07:00
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