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

2596 Commits

Author SHA1 Message Date
Fenny
b6e8e7cca8
Merge pull request #885 from Fenny/master
📦 prepare v2.0.6
v2.0.6
2020-10-05 21:54:02 +02:00
Fenny
c6a08d9550 ✏ restore feature list 2020-10-05 21:51:35 +02:00
Fenny
251a2e46e2 ⚠ add warning message 2020-10-05 20:06:36 +02:00
Fenny
2d301ed7ce 📦 update version to v2.0.6 2020-10-05 20:05:16 +02:00
Fenny
898d210ea2 Merge remote-tracking branch 'upstream/master' 2020-10-05 20:04:40 +02:00
Fenny
748001b8d6
Merge pull request #883 from r-52/r-favicon-cache-control
🔥add the option to set a custom Cache-Control value for a favicon response
2020-10-05 20:02:59 +02:00
Roman
5a3edb9011 🔥add the option to set a custom Cache-Control value for a favicon response
Right now, each favicon response sets the `Cache-Control` header to
`public, max-age=31536000` (1 year). In some cases this could be a
little bit high if you are changing it etc. and the header is not
replaced by a reverse proxy.

With this change, the favicon middleware allows the configuration of the
`Cache-Control` header. The default behavior is to keep the setting of
`max-age=31536000 `, but you could fine-tune it.
2020-10-05 08:35:29 +02:00
Fenny
5ccc7d4321
Merge pull request #880 from klipitkas/add-coverage-cache
Increase coverage in cache middleware
2020-10-04 19:10:42 +02:00
Konstantinos Lypitkas
9df61e925c Increase coverage in cache middleware 2020-10-04 10:41:54 +03:00
Fenny
9d57e235ed Update README.md 2020-10-04 05:43:27 +02:00
Fenny
16732c183e update features 2020-10-04 05:41:01 +02:00
Fenny
52ed4d1b88
Merge pull request #879 from DavidMazary/fix-lint-warnings
🎨 Fix gosimple and deadcode lint warnings
2020-10-04 00:26:29 +02:00
Fenny
b32e75e130
Merge pull request #878 from r-52/r-readme-third-party
🩹fix the duplicated third party license links in the readme
2020-10-04 00:01:14 +02:00
Roman
dcea4d5ddb 🩹fix the duplicated third party license links in the readme
right now the readme links to different third party licenses. The
last part has some of the doubled. This PR removes them
2020-10-03 23:33:57 +02:00
David Mazary
71d3e16be4 🚨 Remove unused isIPv6 func 2020-10-03 13:31:33 -04:00
David Mazary
618b753230 🚨 Fix gosimple lint warnings 2020-10-03 13:20:54 -04:00
Fenny
b4bec8df6c
Merge pull request #877 from kiyonlin/fix-app-group
👷 fix group.Mount
2020-10-03 18:47:56 +02:00
Fenny
dffe3660c8
Merge pull request #876 from kiyonlin/improve-ctx-test
👷 add ctx test case to improve coverage
2020-10-03 18:47:03 +02:00
Fenny
733e3e803b
Merge pull request #875 from kiyonlin/improve-app-test
👷 add app test case to improve coverage
2020-10-03 18:46:56 +02:00
Fenny
ce7006a438
Merge pull request #874 from kiyonlin/ignore-error
👷 handle error of fmt.Fprintf
2020-10-03 18:46:47 +02:00
kiyon
839c8f1447 👷 fix group.Mount 2020-10-04 00:36:11 +08:00
kiyon
ea79c4ef45 👷 add ctx test case to improve coverage 2020-10-04 00:25:46 +08:00
kiyon
407cdfaf7a 👷 add app test case to improve coverage 2020-10-04 00:05:28 +08:00
kiyon
102d167b9f 👷 handle error of fmt.Fprintf 2020-10-03 23:59:41 +08:00
Fenny
b425a6b25f
Merge pull request #872 from hi019/master
🐛 Fix passing partial cookie to csrf.New
2020-10-03 17:15:53 +02:00
hi019
1fe6d3b25d Use default values for cookie fields 2020-10-03 10:52:06 -04:00
hi019
4898778e28 🐛 Move cookie expires outside of if 2020-10-03 10:50:29 -04:00
hi019
867f2fc0a8 🐛 Fix passing partial cookie to csrf.New 2020-10-03 10:41:14 -04:00
Fenny
57f2b851cb
Merge pull request #868 from LdDl/master
Added long-polling
2020-10-02 18:16:22 +02:00
Dimitrii Lopanov
9e4ce64f28 long-polling 2020-10-02 11:46:43 +03:00
Fenny
6812c32eff
Merge pull request #867 from Fenny/master
📦 v2.0.5
v2.0.5
2020-10-01 23:31:13 +02:00
Fenny
8555f0bf7c 🧹 remove comment 2020-10-01 23:30:02 +02:00
Fenny
33b7905da6 📦 v2.0.5 2020-10-01 23:29:10 +02:00
Fenny
2750bcb541
Merge pull request #865 from Fenny/master
📦 add cache-control option
2020-10-01 19:50:58 +02:00
Fenny
81208a6d6a 📦fix tests
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-01 19:49:49 +02:00
Fenny
2321582d6a 📦 add cache-control option
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-01 19:38:37 +02:00
Fenny
55960e86c3 📦 add cache-control option
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-01 19:37:34 +02:00
Fenny
b5536e069f
Merge pull request #864 from Fenny/master
📦 fix race condition in cache mw
2020-10-01 16:55:14 +02:00
Fenny
7bb6081371 📦 fix race condition in cache mw
Co-Authored-By: Konstantinos Lypitkas <3259834+klipitkas@users.noreply.github.com>
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-10-01 16:53:27 +02:00
Fenny
e66f28c023
Merge pull request #863 from klipitkas/master
Fix minor issue on cache middleware and add tests
2020-10-01 16:52:01 +02:00
Konstantinos Lypitkas
9a650b8d2a Fix issue with expiration, increase coverage 2020-10-01 00:21:30 +03:00
Konstantinos Lypitkas
616a821cb6 Fix spelling and grammatical errors 2020-10-01 00:20:49 +03:00
Konstantinos Lypitkas
f921efe05a Add basic test for cache middleware 2020-09-30 23:34:31 +03:00
Konstantinos Lypitkas
a430c5aa77 Fix magic number on cache middleware 2020-09-30 23:34:18 +03:00
Fenny
939a65c9d7
Merge pull request #860 from Fenny/master
🍪 add max-age to cookie
2020-09-30 21:45:07 +02:00
Fenny
05d57887fe
Merge pull request #862 from juan55860/development
fix name prop in doc
2020-09-30 21:44:47 +02:00
Juan Camilo Varela López
dfc141660d
fix name prop in doc
the prop Generetor doesn't exists, is Generator
2020-09-30 13:42:02 -05:00
Fenny
4ed6fff7b3 🍪 fix typo 2020-09-30 15:55:21 +02:00
Fenny
ba3d08ef6d 🍪 csrf default to Strict if left empty in config 2020-09-30 15:55:01 +02:00
Fenny
e5e9cf9201 🍪 add max-age to cookie 2020-09-30 15:31:46 +02:00