Commit graph

729 commits

Author SHA1 Message Date
Serdar Dogruyol
8bfc3313e9 0.25.0 2018-11-05 02:27:44 +03:00
Serdar Dogruyol
7358994e91
Fix multipart upload and back params.files (#499) 2018-11-05 02:20:21 +03:00
Serdar Dogruyol
207f38251a Remove Kemal::OverrideMethodHandler 2018-11-05 02:18:52 +03:00
Julien Reichardt
21ab64511a Add allocation optimizations (#487) 2018-11-01 14:29:05 +03:00
Serdar Dogruyol
afd17fc774
Merge pull request #500 from kemalcr/override-method-handler
Add Kemal::OverrideMethodHandler to support _method magic param
2018-10-27 20:50:12 +03:00
Serdar Dogruyol
a60168d039 Add docs to Kemal::OverrideMethodHandler 2018-10-26 18:45:04 +03:00
Serdar Dogruyol
3f7c8b4577 Add Kemal::OverrideMethodHandler 2018-10-26 15:00:24 +03:00
Brian Douglas Smith
b389022b35 Remove deprecated alias HTTP::Server#bind_ssl (#495) 2018-09-20 11:15:05 +03:00
Serdar Dogruyol
cd5f83f013
Merge pull request #493 from kemalcr/cache-routes
Cache HTTP routes
2018-09-17 19:05:20 +03:00
Serdar Dogruyol
4bb56d2376 Only clear cached_routes if there's a route 2018-09-17 09:51:56 +03:00
Serdar Dogruyol
1a8a3c5b1d Add cache size limit check to caching routes 2018-09-16 15:43:53 +03:00
Serdar Dogruyol
8fb028149b Cache http routes 2018-09-16 13:22:45 +03:00
Serdar Dogruyol
e59cd646cd
Merge pull request #490 from straight-shoota/jm/fix/tempfile
Remove unused require "tempfile"
2018-09-12 14:38:06 +03:00
Johannes Müller
1e894a39bc
Remove unused require "tempfile" 2018-09-06 11:17:30 +02:00
Serdar Dogruyol
9448360eac 0.24.0 2018-08-14 14:17:26 +03:00
Serdar Dogruyol
e468e2e340 route_defined? -> route_found? 2018-08-13 19:21:18 +03:00
Serdar Dogruyol
2b3ae85c34 Move response under ext 2018-08-13 16:29:32 +03:00
Serdar Dogruyol
423998e287
Modification of #471 (#476) 2018-08-13 15:47:20 +03:00
Johannes Müller
b39c974a90 Update to use HTTP::Server#bind_ssl (#477) 2018-08-09 00:13:45 +03:00
Lewis E. Bogan
7684aeaf33
Merge branch 'master' into master 2018-08-06 11:34:55 -07:00
Serdar Dogruyol
64fbe406d5
Merge pull request #465 from kemalcr/rework-param-parser
Rework param parser
2018-08-06 20:03:12 +03:00
lebogan
320660aad4 remove tests with embedded version literal 2018-07-24 09:55:59 -07:00
Lewis E. Bogan
09bb1fcd40 add a VERSION constant (#471) 2018-07-16 05:55:53 +03:00
Rafał Wojsznis
1e18389f5f Remove etag logic as it's not implemented in Crystal 0.25.1 (#470) 2018-07-16 05:54:36 +03:00
lebogan
047cff93d3 remove pending from config_spec 2018-07-15 15:36:06 -07:00
lebogan
d0f46ec8d9 add version constant 2018-07-15 15:22:50 -07:00
Serdar Dogruyol
ffaf6ff1f9 Update CHANGELOG 2018-07-04 22:04:22 +03:00
Serdar Dogruyol
4a58bc9690 Remove env.params.files and FileUpload 2018-07-04 21:42:58 +03:00
Serdar Dogruyol
d2ef57a128 Improve param parsing and remove url_params from HTTP::Request 2018-07-03 20:29:06 +03:00
Serdar Dogruyol
ad5dc053c4 Remove _method override 2018-07-03 20:29:06 +03:00
Anton Maminov
b8ec6ee328 set response status code before creating exception template (#468) 2018-07-02 10:28:00 +03:00
Serdar Dogruyol
ced34b7651 Move exceptions and exception_page under helpers dir 2018-07-01 17:47:14 +03:00
Anton Maminov
a13fe95201 Added new exception page (#466) 2018-07-01 16:43:04 +03:00
Serdar Dogruyol
d0b4c0d609 Embed 404 image as SVG 2018-06-30 14:49:39 +03:00
Serdar Dogruyol
621342170a Tidy up Kemal.run 2018-06-30 14:34:41 +03:00
Johannes Müller
bc661d58ae Refactor Kemal.run to allow custom port binding (#463) 2018-06-30 14:16:55 +03:00
Serdar Dogruyol
eed97877a7
Simplify file upload parsing and support multiple uploads with same name (#458) 2018-06-27 23:33:28 +03:00
Hirofumi Shibata
f916bad095 reset values to test with default value (#453) 2018-06-18 15:07:54 +03:00
Serdar Dogruyol
58bf05b8b1 Update CHANGELOG 2018-06-17 19:19:01 +03:00
Serdar Dogruyol
d4280cc889 0.23.0 2018-06-17 19:17:19 +03:00
Serdar Dogruyol
a5870e7d24
Crystal 0.25.0 (#452) 2018-06-16 18:03:00 +03:00
V. Elenhaupt
c2236acf3a Code fixes reported by static code analysis (#450) 2018-05-17 11:07:40 +03:00
Blacksmoke16
f3f7e319ae Ability to optionally disable powered-by header (#449) 2018-05-09 10:19:59 +03:00
Ryuya Takahashi
73045bb138 Improve Installation in README (#445)
[Getting Started](http://kemalcr.com/guide/) in Kemal's official document is clear. Commands from installation of Crsytal-lang to application creation are not omitted. I added a link to Getting Started into Installation.
2018-04-24 16:25:04 +03:00
Serdar Dogruyol
88b4737500 Don't serve 404 image dynamically 2018-03-19 22:44:24 +03:00
Serdar Dogruyol
6fbad555d0 Remove unused stuff 2018-03-17 17:58:19 +03:00
Serdar Dogruyol
536108c71b Refactor and fix some docs 2018-03-17 15:35:33 +03:00
Serdar Dogruyol
11295f0584 Revert "Don't use JSON::Type, use JSON::Any instead"
This reverts commit 34475b986a486730d696ddf52250c38d7e0cfe4a.
2018-03-10 11:11:42 +03:00
Serdar Dogruyol
db00ecba1d
Don't use JSON::Type, use JSON::Any instead (#435) 2018-03-10 11:05:34 +03:00
Serdar Dogruyol
50f82f5187 Use be_nil in specs instead of eq nil 2018-01-26 18:35:34 +03:00